diff --git a/pilot/server/static/404.html b/pilot/server/static/404.html index 8c3b96827..16ecff8a1 100644 --- a/pilot/server/static/404.html +++ b/pilot/server/static/404.html @@ -1 +1 @@ -404: This page could not be found

404

This page could not be found.

\ No newline at end of file +404: This page could not be found

404

This page could not be found.

\ No newline at end of file diff --git a/pilot/server/static/404/index.html b/pilot/server/static/404/index.html index 8c3b96827..16ecff8a1 100644 --- a/pilot/server/static/404/index.html +++ b/pilot/server/static/404/index.html @@ -1 +1 @@ -404: This page could not be found

404

This page could not be found.

\ No newline at end of file +404: This page could not be found

404

This page could not be found.

\ No newline at end of file diff --git a/pilot/server/static/_next/static/JPbuEmHD8ANs5hbs6PVCC/_buildManifest.js b/pilot/server/static/_next/static/4ef3Zj0tsK1FEAj-0Rw_K/_buildManifest.js similarity index 100% rename from pilot/server/static/_next/static/JPbuEmHD8ANs5hbs6PVCC/_buildManifest.js rename to pilot/server/static/_next/static/4ef3Zj0tsK1FEAj-0Rw_K/_buildManifest.js diff --git a/pilot/server/static/_next/static/JPbuEmHD8ANs5hbs6PVCC/_ssgManifest.js b/pilot/server/static/_next/static/4ef3Zj0tsK1FEAj-0Rw_K/_ssgManifest.js similarity index 100% rename from pilot/server/static/_next/static/JPbuEmHD8ANs5hbs6PVCC/_ssgManifest.js rename to pilot/server/static/_next/static/4ef3Zj0tsK1FEAj-0Rw_K/_ssgManifest.js diff --git a/pilot/server/static/_next/static/chunks/752-023c1974f6aa5ee4.js b/pilot/server/static/_next/static/chunks/106-a778485a4c5bcb5b.js similarity index 96% rename from pilot/server/static/_next/static/chunks/752-023c1974f6aa5ee4.js rename to pilot/server/static/_next/static/chunks/106-a778485a4c5bcb5b.js index cd6c6a382..8c19dfc88 100644 --- a/pilot/server/static/_next/static/chunks/752-023c1974f6aa5ee4.js +++ b/pilot/server/static/_next/static/chunks/106-a778485a4c5bcb5b.js @@ -1,21 +1,21 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[752],{70333:function(e,t,r){"use strict";r.d(t,{iN:function(){return g},R_:function(){return f},ez:function(){return d}});var n=r(32675),o=r(79185),i=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function a(e){var t=e.r,r=e.g,o=e.b,i=(0,n.py)(t,r,o);return{h:360*i.h,s:i.s,v:i.v}}function l(e){var t=e.r,r=e.g,o=e.b;return"#".concat((0,n.vq)(t,r,o,!1))}function s(e,t,r){var n;return(n=Math.round(e.h)>=60&&240>=Math.round(e.h)?r?Math.round(e.h)-2*t:Math.round(e.h)+2*t:r?Math.round(e.h)+2*t:Math.round(e.h)-2*t)<0?n+=360:n>=360&&(n-=360),n}function c(e,t,r){var n;return 0===e.h&&0===e.s?e.s:((n=r?e.s-.16*t:4===t?e.s+.16:e.s+.05*t)>1&&(n=1),r&&5===t&&n>.1&&(n=.1),n<.06&&(n=.06),Number(n.toFixed(2)))}function u(e,t,r){var n;return(n=r?e.v+.05*t:e.v-.15*t)>1&&(n=1),Number(n.toFixed(2))}function f(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=[],n=(0,o.uA)(e),f=5;f>0;f-=1){var d=a(n),p=l((0,o.uA)({h:s(d,f,!0),s:c(d,f,!0),v:u(d,f,!0)}));r.push(p)}r.push(l(n));for(var h=1;h<=4;h+=1){var g=a(n),m=l((0,o.uA)({h:s(g,h),s:c(g,h),v:u(g,h)}));r.push(m)}return"dark"===t.theme?i.map(function(e){var n,i,a,s=e.index,c=e.opacity;return l((n=(0,o.uA)(t.backgroundColor||"#141414"),i=(0,o.uA)(r[s]),a=100*c/100,{r:(i.r-n.r)*a+n.r,g:(i.g-n.g)*a+n.g,b:(i.b-n.b)*a+n.b}))}):r}var d={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1677FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},p={},h={};Object.keys(d).forEach(function(e){p[e]=f(d[e]),p[e].primary=p[e][5],h[e]=f(d[e],{theme:"dark",backgroundColor:"#141414"}),h[e].primary=h[e][5]}),p.red,p.volcano,p.gold,p.orange,p.yellow,p.lime,p.green,p.cyan;var g=p.blue;p.geekblue,p.purple,p.magenta,p.grey,p.grey},11717:function(e,t,r){"use strict";r.d(t,{E4:function(){return H},jG:function(){return U},t2:function(){return k},fp:function(){return O},xy:function(){return N}});var n=r(90151),o=r(88684),i=function(e){for(var t,r=0,n=0,o=e.length;o>=4;++n,o-=4)t=(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))*1540483477+((t>>>16)*59797<<16),t^=t>>>24,r=(65535&t)*1540483477+((t>>>16)*59797<<16)^(65535&r)*1540483477+((r>>>16)*59797<<16);switch(o){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r^=255&e.charCodeAt(n),r=(65535&r)*1540483477+((r>>>16)*59797<<16)}return r^=r>>>13,(((r=(65535&r)*1540483477+((r>>>16)*59797<<16))^r>>>15)>>>0).toString(36)},a=r(86006);r(55567),r(81027);var l=r(18050),s=r(49449),c=r(65877),u=function(){function e(t){(0,l.Z)(this,e),(0,c.Z)(this,"instanceId",void 0),(0,c.Z)(this,"cache",new Map),this.instanceId=t}return(0,s.Z)(e,[{key:"get",value:function(e){return this.cache.get(e.join("%"))||null}},{key:"update",value:function(e,t){var r=e.join("%"),n=t(this.cache.get(r));null===n?this.cache.delete(r):this.cache.set(r,n)}}]),e}(),f="data-token-hash",d="data-css-hash",p="__cssinjs_instance__",h=a.createContext({hashPriority:"low",cache:function(){var e=Math.random().toString(12).slice(2);if("undefined"!=typeof document&&document.head&&document.body){var t=document.body.querySelectorAll("style[".concat(d,"]"))||[],r=document.head.firstChild;Array.from(t).forEach(function(t){t[p]=t[p]||e,t[p]===e&&document.head.insertBefore(t,r)});var n={};Array.from(document.querySelectorAll("style[".concat(d,"]"))).forEach(function(t){var r,o=t.getAttribute(d);n[o]?t[p]===e&&(null===(r=t.parentNode)||void 0===r||r.removeChild(t)):n[o]=!0})}return new u(e)}(),defaultCache:!0}),g=r(965),m=r(71693),v=r(52160);function y(e){var t="";return Object.keys(e).forEach(function(r){var n=e[r];t+=r,n&&"object"===(0,g.Z)(n)?t+=y(n):t+=n}),t}var b="layer-".concat(Date.now(),"-").concat(Math.random()).replace(/\./g,""),x="903px",C=void 0,w=r(60456);function S(e,t,r,o){var i=a.useContext(h).cache,l=[e].concat((0,n.Z)(t));return a.useMemo(function(){i.update(l,function(e){var t=(0,w.Z)(e||[],2),n=t[0];return[(void 0===n?0:n)+1,t[1]||r()]})},[l.join("_")]),a.useEffect(function(){return function(){i.update(l,function(e){var t=(0,w.Z)(e||[],2),r=t[0],n=void 0===r?0:r,i=t[1];return 0==n-1?(null==o||o(i,!1),null):[n-1,i]})}},l),i.get(l)[1]}var E={},A=new Map,k=function(e,t,r,n){var i=r.getDerivativeToken(e),a=(0,o.Z)((0,o.Z)({},i),t);return n&&(a=n(a)),a};function O(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=(0,a.useContext)(h).cache.instanceId,l=r.salt,s=void 0===l?"":l,c=r.override,u=void 0===c?E:c,d=r.formatToken,g=a.useMemo(function(){return Object.assign.apply(Object,[{}].concat((0,n.Z)(t)))},[t]),m=a.useMemo(function(){return y(g)},[g]),v=a.useMemo(function(){return y(u)},[u]);return S("token",[s,e.id,m,v],function(){var t=k(g,u,e,d),r=i("".concat(s,"_").concat(y(t)));t._tokenKey=r,A.set(r,(A.get(r)||0)+1);var n="".concat("css","-").concat(i(r));return t._hashId=n,[t,n]},function(e){var t,r,n;t=e[0]._tokenKey,A.set(t,(A.get(t)||0)-1),(n=(r=Array.from(A.keys())).filter(function(e){return 0>=(A.get(e)||0)})).length1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{root:!0,parentSelectors:[]},a=i.root,l=i.injectHash,s=i.parentSelectors,c=r.hashId,u=r.layer,f=(r.path,r.hashPriority),d=r.transformers,p=void 0===d?[]:d;r.linters;var h="",y={};function S(t){var n=t.getName(c);if(!y[n]){var o=e(t.style,r,{root:!1,parentSelectors:s}),i=(0,w.Z)(o,1)[0];y[n]="@keyframes ".concat(t.getName(c)).concat(i)}}if((function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return t.forEach(function(t){Array.isArray(t)?e(t,r):t&&r.push(t)}),r})(Array.isArray(t)?t:[t]).forEach(function(t){var i="string"!=typeof t||a?t:{};if("string"==typeof i)h+="".concat(i,"\n");else if(i._keyframe)S(i);else{var u=p.reduce(function(e,t){var r;return(null==t?void 0:null===(r=t.visit)||void 0===r?void 0:r.call(t,e))||e},i);Object.keys(u).forEach(function(t){var i=u[t];if("object"!==(0,g.Z)(i)||!i||"animationName"===t&&i._keyframe||"object"===(0,g.Z)(i)&&i&&("_skip_check_"in i||T in i)){function d(e,t){var r=e.replace(/[A-Z]/g,function(e){return"-".concat(e.toLowerCase())}),n=t;Z[e]||"number"!=typeof n||0===n||(n="".concat(n,"px")),"animationName"===e&&null!=t&&t._keyframe&&(S(t),n=t.getName(c)),h+="".concat(r,":").concat(n,";")}var p,m=null!==(p=null==i?void 0:i.value)&&void 0!==p?p:i;"object"===(0,g.Z)(i)&&null!=i&&i[T]&&Array.isArray(m)?m.forEach(function(e){d(t,e)}):d(t,m)}else{var v=!1,b=t.trim(),x=!1;(a||l)&&c?b.startsWith("@")?v=!0:b=function(e,t,r){if(!t)return e;var o=".".concat(t),i="low"===r?":where(".concat(o,")"):o;return e.split(",").map(function(e){var t,r=e.trim().split(/\s+/),o=r[0]||"",a=(null===(t=o.match(/^\w+/))||void 0===t?void 0:t[0])||"";return[o="".concat(a).concat(i).concat(o.slice(a.length))].concat((0,n.Z)(r.slice(1))).join(" ")}).join(",")}(t,c,f):a&&!c&&("&"===b||""===b)&&(b="",x=!0);var C=e(i,r,{root:x,injectHash:v,parentSelectors:[].concat((0,n.Z)(s),[b])}),E=(0,w.Z)(C,2),A=E[0],k=E[1];y=(0,o.Z)((0,o.Z)({},y),k),h+="".concat(b).concat(A)}})}}),a){if(u&&(void 0===C&&(C=function(e,t){if((0,m.Z)()){(0,v.hq)(e,b);var r,n=document.createElement("div");n.style.position="fixed",n.style.left="0",n.style.top="0",null==t||t(n),document.body.appendChild(n);var o=getComputedStyle(n).width===x;return null===(r=n.parentNode)||void 0===r||r.removeChild(n),(0,v.jL)(b),o}return!1}("@layer ".concat(b," { .").concat(b," { width: ").concat(x,"!important; } }"),function(e){e.className=b})),C)){var E=u.split(","),A=E[E.length-1].trim();h="@layer ".concat(A," {").concat(h,"}"),E.length>1&&(h="@layer ".concat(u,"{%%%:%}").concat(h))}}else h="{".concat(h,"}");return[h,y]};function _(){return null}function N(e,t){var r=e.token,o=e.path,l=e.hashId,s=e.layer,u=e.nonce,g=a.useContext(h),m=g.autoClear,y=(g.mock,g.defaultCache),b=g.hashPriority,x=g.container,C=g.ssrInline,E=g.transformers,A=g.linters,k=g.cache,O=r._tokenKey,Z=[O].concat((0,n.Z)(o)),B=S("style",Z,function(){var e=F(t(),{hashId:l,hashPriority:b,layer:s,path:o.join("-"),transformers:E,linters:A}),r=(0,w.Z)(e,2),n=r[0],a=r[1],c=M(n),h=i("".concat(Z.join("%")).concat(c));if(j){var g={mark:d,prepend:"queue",attachTo:x},m="function"==typeof u?u():u;m&&(g.csp={nonce:m});var y=(0,v.hq)(c,h,g);y[p]=k.instanceId,y.setAttribute(f,O),Object.keys(a).forEach(function(e){(0,v.hq)(M(a[e]),"_effect-".concat(e),g)})}return[c,O,h]},function(e,t){var r=(0,w.Z)(e,3)[2];(t||m)&&j&&(0,v.jL)(r,{mark:d})}),P=(0,w.Z)(B,3),R=P[0],T=P[1],N=P[2];return function(e){var t,r;return t=C&&!j&&y?a.createElement("style",(0,$.Z)({},(r={},(0,c.Z)(r,f,T),(0,c.Z)(r,d,N),r),{dangerouslySetInnerHTML:{__html:R}})):a.createElement(_,null),a.createElement(a.Fragment,null,t,e)}}var H=function(){function e(t,r){(0,l.Z)(this,e),(0,c.Z)(this,"name",void 0),(0,c.Z)(this,"style",void 0),(0,c.Z)(this,"_keyframe",!0),this.name=t,this.style=r}return(0,s.Z)(e,[{key:"getName",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e?"".concat(e,"-").concat(this.name):this.name}}]),e}(),D=function(){function e(){(0,l.Z)(this,e),(0,c.Z)(this,"cache",void 0),(0,c.Z)(this,"keys",void 0),(0,c.Z)(this,"cacheCallTimes",void 0),this.cache=new Map,this.keys=[],this.cacheCallTimes=0}return(0,s.Z)(e,[{key:"size",value:function(){return this.keys.length}},{key:"internalGet",value:function(e){var t,r,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o={map:this.cache};return e.forEach(function(e){if(o){var t,r;o=null===(t=o)||void 0===t?void 0:null===(r=t.map)||void 0===r?void 0:r.get(e)}else o=void 0}),null!==(t=o)&&void 0!==t&&t.value&&n&&(o.value[1]=this.cacheCallTimes++),null===(r=o)||void 0===r?void 0:r.value}},{key:"get",value:function(e){var t;return null===(t=this.internalGet(e,!0))||void 0===t?void 0:t[0]}},{key:"has",value:function(e){return!!this.internalGet(e)}},{key:"set",value:function(t,r){var n=this;if(!this.has(t)){if(this.size()+1>e.MAX_CACHE_SIZE+e.MAX_CACHE_OFFSET){var o=this.keys.reduce(function(e,t){var r=(0,w.Z)(e,2)[1];return n.internalGet(t)[1]0,"[Ant Design CSS-in-JS] Theme should have at least one derivative function."),L+=1}return(0,s.Z)(e,[{key:"getDerivativeToken",value:function(e){return this.derivatives.reduce(function(t,r){return r(e,t)},void 0)}}]),e}(),z=new D;function U(e){var t=Array.isArray(e)?e:[e];return z.has(t)||z.set(t,new I(t)),z.get(t)}function W(e){return e.notSplit=!0,e}W(["borderTop","borderBottom"]),W(["borderTop"]),W(["borderBottom"]),W(["borderLeft","borderRight"]),W(["borderLeft"]),W(["borderRight"])},1240:function(e,t,r){"use strict";r.d(t,{Z:function(){return $}});var n=r(40431),o=r(60456),i=r(65877),a=r(89301),l=r(86006),s=r(8683),c=r.n(s),u=r(70333),f=r(83346),d=r(88684),p=r(965),h=r(5004),g=r(52160),m=r(60618);function v(e){return"object"===(0,p.Z)(e)&&"string"==typeof e.name&&"string"==typeof e.theme&&("object"===(0,p.Z)(e.icon)||"function"==typeof e.icon)}function y(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(e).reduce(function(t,r){var n=e[r];return"class"===r?(t.className=n,delete t.class):t[r]=n,t},{})}function b(e){return(0,u.R_)(e)[0]}function x(e){return e?Array.isArray(e)?e:[e]:[]}var C=function(e){var t=(0,l.useContext)(f.Z),r=t.csp,n=t.prefixCls,o="\n.anticon {\n display: inline-block;\n color: inherit;\n font-style: normal;\n line-height: 0;\n text-align: center;\n text-transform: none;\n vertical-align: -0.125em;\n text-rendering: optimizeLegibility;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.anticon > * {\n line-height: 1;\n}\n\n.anticon svg {\n display: inline-block;\n}\n\n.anticon::before {\n display: none;\n}\n\n.anticon .anticon-icon {\n display: block;\n}\n\n.anticon[tabindex] {\n cursor: pointer;\n}\n\n.anticon-spin::before,\n.anticon-spin {\n display: inline-block;\n -webkit-animation: loadingCircle 1s infinite linear;\n animation: loadingCircle 1s infinite linear;\n}\n\n@-webkit-keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n";n&&(o=o.replace(/anticon/g,n)),(0,l.useEffect)(function(){var t=e.current,n=(0,m.A)(t);(0,g.hq)(o,"@ant-design-icons",{prepend:!0,csp:r,attachTo:n})},[])},w=["icon","className","onClick","style","primaryColor","secondaryColor"],S={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1},E=function(e){var t,r,n=e.icon,o=e.className,i=e.onClick,s=e.style,c=e.primaryColor,u=e.secondaryColor,f=(0,a.Z)(e,w),p=l.useRef(),g=S;if(c&&(g={primaryColor:c,secondaryColor:u||b(c)}),C(p),t=v(n),r="icon should be icon definiton, but got ".concat(n),(0,h.ZP)(t,"[@ant-design/icons] ".concat(r)),!v(n))return null;var m=n;return m&&"function"==typeof m.icon&&(m=(0,d.Z)((0,d.Z)({},m),{},{icon:m.icon(g.primaryColor,g.secondaryColor)})),function e(t,r,n){return n?l.createElement(t.tag,(0,d.Z)((0,d.Z)({key:r},y(t.attrs)),n),(t.children||[]).map(function(n,o){return e(n,"".concat(r,"-").concat(t.tag,"-").concat(o))})):l.createElement(t.tag,(0,d.Z)({key:r},y(t.attrs)),(t.children||[]).map(function(n,o){return e(n,"".concat(r,"-").concat(t.tag,"-").concat(o))}))}(m.icon,"svg-".concat(m.name),(0,d.Z)((0,d.Z)({className:o,onClick:i,style:s,"data-icon":m.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},f),{},{ref:p}))};function A(e){var t=x(e),r=(0,o.Z)(t,2),n=r[0],i=r[1];return E.setTwoToneColors({primaryColor:n,secondaryColor:i})}E.displayName="IconReact",E.getTwoToneColors=function(){return(0,d.Z)({},S)},E.setTwoToneColors=function(e){var t=e.primaryColor,r=e.secondaryColor;S.primaryColor=t,S.secondaryColor=r||b(t),S.calculated=!!r};var k=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];A(u.iN.primary);var O=l.forwardRef(function(e,t){var r,s=e.className,u=e.icon,d=e.spin,p=e.rotate,h=e.tabIndex,g=e.onClick,m=e.twoToneColor,v=(0,a.Z)(e,k),y=l.useContext(f.Z),b=y.prefixCls,C=void 0===b?"anticon":b,w=y.rootClassName,S=c()(w,C,(r={},(0,i.Z)(r,"".concat(C,"-").concat(u.name),!!u.name),(0,i.Z)(r,"".concat(C,"-spin"),!!d||"loading"===u.name),r),s),A=h;void 0===A&&g&&(A=-1);var O=x(m),$=(0,o.Z)(O,2),Z=$[0],B=$[1];return l.createElement("span",(0,n.Z)({role:"img","aria-label":u.name},v,{ref:t,tabIndex:A,onClick:g,className:S}),l.createElement(E,{icon:u,primaryColor:Z,secondaryColor:B,style:p?{msTransform:"rotate(".concat(p,"deg)"),transform:"rotate(".concat(p,"deg)")}:void 0}))});O.displayName="AntdIcon",O.getTwoToneColor=function(){var e=E.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor},O.setTwoToneColor=A;var $=O},83346:function(e,t,r){"use strict";var n=(0,r(86006).createContext)({});t.Z=n},34777:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var n=r(40431),o=r(86006),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"check-circle",theme:"filled"},a=r(1240),l=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:i}))})},56222:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var n=r(40431),o=r(86006),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm165.4 618.2l-66-.3L512 563.4l-99.3 118.4-66.1.3c-4.4 0-8-3.5-8-8 0-1.9.7-3.7 1.9-5.2l130.1-155L340.5 359a8.32 8.32 0 01-1.9-5.2c0-4.4 3.6-8 8-8l66.1.3L512 464.6l99.3-118.4 66-.3c4.4 0 8 3.5 8 8 0 1.9-.7 3.7-1.9 5.2L553.5 514l130 155c1.2 1.5 1.9 3.3 1.9 5.2 0 4.4-3.6 8-8 8z"}}]},name:"close-circle",theme:"filled"},a=r(1240),l=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:i}))})},31533:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var n=r(40431),o=r(86006),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M563.8 512l262.5-312.9c4.4-5.2.7-13.1-6.1-13.1h-79.8c-4.7 0-9.2 2.1-12.3 5.7L511.6 449.8 295.1 191.7c-3-3.6-7.5-5.7-12.3-5.7H203c-6.8 0-10.5 7.9-6.1 13.1L459.4 512 196.9 824.9A7.95 7.95 0 00203 838h79.8c4.7 0 9.2-2.1 12.3-5.7l216.5-258.1 216.5 258.1c3 3.6 7.5 5.7 12.3 5.7h79.8c6.8 0 10.5-7.9 6.1-13.1L563.8 512z"}}]},name:"close",theme:"outlined"},a=r(1240),l=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:i}))})},27977:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var n=r(40431),o=r(86006),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"exclamation-circle",theme:"filled"},a=r(1240),l=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:i}))})},49132:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var n=r(40431),o=r(86006),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"info-circle",theme:"filled"},a=r(1240),l=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:i}))})},75710:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var n=r(40431),o=r(86006),i={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"},a=r(1240),l=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:i}))})},32675:function(e,t,r){"use strict";r.d(t,{T6:function(){return d},VD:function(){return p},WE:function(){return c},Yt:function(){return h},lC:function(){return i},py:function(){return s},rW:function(){return o},s:function(){return f},ve:function(){return l},vq:function(){return u}});var n=r(25752);function o(e,t,r){return{r:255*(0,n.sh)(e,255),g:255*(0,n.sh)(t,255),b:255*(0,n.sh)(r,255)}}function i(e,t,r){var o=Math.max(e=(0,n.sh)(e,255),t=(0,n.sh)(t,255),r=(0,n.sh)(r,255)),i=Math.min(e,t,r),a=0,l=0,s=(o+i)/2;if(o===i)l=0,a=0;else{var c=o-i;switch(l=s>.5?c/(2-o-i):c/(o+i),o){case e:a=(t-r)/c+(t1&&(r-=1),r<1/6)?e+(t-e)*(6*r):r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function l(e,t,r){if(e=(0,n.sh)(e,360),t=(0,n.sh)(t,100),r=(0,n.sh)(r,100),0===t)i=r,l=r,o=r;else{var o,i,l,s=r<.5?r*(1+t):r+t-r*t,c=2*r-s;o=a(c,s,e+1/3),i=a(c,s,e),l=a(c,s,e-1/3)}return{r:255*o,g:255*i,b:255*l}}function s(e,t,r){var o=Math.max(e=(0,n.sh)(e,255),t=(0,n.sh)(t,255),r=(0,n.sh)(r,255)),i=Math.min(e,t,r),a=0,l=o-i;if(o===i)a=0;else{switch(o){case e:a=(t-r)/l+(t>16,g:(65280&e)>>8,b:255&e}}},29888:function(e,t,r){"use strict";r.d(t,{R:function(){return n}});var n={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"}},79185:function(e,t,r){"use strict";r.d(t,{uA:function(){return a}});var n=r(32675),o=r(29888),i=r(25752);function a(e){var t={r:0,g:0,b:0},r=1,a=null,l=null,s=null,c=!1,d=!1;return"string"==typeof e&&(e=function(e){if(0===(e=e.trim().toLowerCase()).length)return!1;var t=!1;if(o.R[e])e=o.R[e],t=!0;else if("transparent"===e)return{r:0,g:0,b:0,a:0,format:"name"};var r=u.rgb.exec(e);return r?{r:r[1],g:r[2],b:r[3]}:(r=u.rgba.exec(e))?{r:r[1],g:r[2],b:r[3],a:r[4]}:(r=u.hsl.exec(e))?{h:r[1],s:r[2],l:r[3]}:(r=u.hsla.exec(e))?{h:r[1],s:r[2],l:r[3],a:r[4]}:(r=u.hsv.exec(e))?{h:r[1],s:r[2],v:r[3]}:(r=u.hsva.exec(e))?{h:r[1],s:r[2],v:r[3],a:r[4]}:(r=u.hex8.exec(e))?{r:(0,n.VD)(r[1]),g:(0,n.VD)(r[2]),b:(0,n.VD)(r[3]),a:(0,n.T6)(r[4]),format:t?"name":"hex8"}:(r=u.hex6.exec(e))?{r:(0,n.VD)(r[1]),g:(0,n.VD)(r[2]),b:(0,n.VD)(r[3]),format:t?"name":"hex"}:(r=u.hex4.exec(e))?{r:(0,n.VD)(r[1]+r[1]),g:(0,n.VD)(r[2]+r[2]),b:(0,n.VD)(r[3]+r[3]),a:(0,n.T6)(r[4]+r[4]),format:t?"name":"hex8"}:!!(r=u.hex3.exec(e))&&{r:(0,n.VD)(r[1]+r[1]),g:(0,n.VD)(r[2]+r[2]),b:(0,n.VD)(r[3]+r[3]),format:t?"name":"hex"}}(e)),"object"==typeof e&&(f(e.r)&&f(e.g)&&f(e.b)?(t=(0,n.rW)(e.r,e.g,e.b),c=!0,d="%"===String(e.r).substr(-1)?"prgb":"rgb"):f(e.h)&&f(e.s)&&f(e.v)?(a=(0,i.JX)(e.s),l=(0,i.JX)(e.v),t=(0,n.WE)(e.h,a,l),c=!0,d="hsv"):f(e.h)&&f(e.s)&&f(e.l)&&(a=(0,i.JX)(e.s),s=(0,i.JX)(e.l),t=(0,n.ve)(e.h,a,s),c=!0,d="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(r=e.a)),r=(0,i.Yq)(r),{ok:c,format:e.format||d,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:r}}var l="(?:".concat("[-\\+]?\\d*\\.\\d+%?",")|(?:").concat("[-\\+]?\\d+%?",")"),s="[\\s|\\(]+(".concat(l,")[,|\\s]+(").concat(l,")[,|\\s]+(").concat(l,")\\s*\\)?"),c="[\\s|\\(]+(".concat(l,")[,|\\s]+(").concat(l,")[,|\\s]+(").concat(l,")[,|\\s]+(").concat(l,")\\s*\\)?"),u={CSS_UNIT:new RegExp(l),rgb:RegExp("rgb"+s),rgba:RegExp("rgba"+c),hsl:RegExp("hsl"+s),hsla:RegExp("hsla"+c),hsv:RegExp("hsv"+s),hsva:RegExp("hsva"+c),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function f(e){return!!u.CSS_UNIT.exec(String(e))}},57389:function(e,t,r){"use strict";r.d(t,{C:function(){return l}});var n=r(32675),o=r(29888),i=r(79185),a=r(25752),l=function(){function e(t,r){if(void 0===t&&(t=""),void 0===r&&(r={}),t instanceof e)return t;"number"==typeof t&&(t=(0,n.Yt)(t)),this.originalInput=t;var o,a=(0,i.uA)(t);this.originalInput=t,this.r=a.r,this.g=a.g,this.b=a.b,this.a=a.a,this.roundA=Math.round(100*this.a)/100,this.format=null!==(o=r.format)&&void 0!==o?o:a.format,this.gradientType=r.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=a.ok}return e.prototype.isDark=function(){return 128>this.getBrightness()},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},e.prototype.getLuminance=function(){var e=this.toRgb(),t=e.r/255,r=e.g/255,n=e.b/255;return .2126*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.7152*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(e){return this.a=(0,a.Yq)(e),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){return 0===this.toHsl().s},e.prototype.toHsv=function(){var e=(0,n.py)(this.r,this.g,this.b);return{h:360*e.h,s:e.s,v:e.v,a:this.a}},e.prototype.toHsvString=function(){var e=(0,n.py)(this.r,this.g,this.b),t=Math.round(360*e.h),r=Math.round(100*e.s),o=Math.round(100*e.v);return 1===this.a?"hsv(".concat(t,", ").concat(r,"%, ").concat(o,"%)"):"hsva(".concat(t,", ").concat(r,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var e=(0,n.lC)(this.r,this.g,this.b);return{h:360*e.h,s:e.s,l:e.l,a:this.a}},e.prototype.toHslString=function(){var e=(0,n.lC)(this.r,this.g,this.b),t=Math.round(360*e.h),r=Math.round(100*e.s),o=Math.round(100*e.l);return 1===this.a?"hsl(".concat(t,", ").concat(r,"%, ").concat(o,"%)"):"hsla(".concat(t,", ").concat(r,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(e){return void 0===e&&(e=!1),(0,n.vq)(this.r,this.g,this.b,e)},e.prototype.toHexString=function(e){return void 0===e&&(e=!1),"#"+this.toHex(e)},e.prototype.toHex8=function(e){return void 0===e&&(e=!1),(0,n.s)(this.r,this.g,this.b,this.a,e)},e.prototype.toHex8String=function(e){return void 0===e&&(e=!1),"#"+this.toHex8(e)},e.prototype.toHexShortString=function(e){return void 0===e&&(e=!1),1===this.a?this.toHexString(e):this.toHex8String(e)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var e=Math.round(this.r),t=Math.round(this.g),r=Math.round(this.b);return 1===this.a?"rgb(".concat(e,", ").concat(t,", ").concat(r,")"):"rgba(".concat(e,", ").concat(t,", ").concat(r,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var e=function(e){return"".concat(Math.round(100*(0,a.sh)(e,255)),"%")};return{r:e(this.r),g:e(this.g),b:e(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var e=function(e){return Math.round(100*(0,a.sh)(e,255))};return 1===this.a?"rgb(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%)"):"rgba(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(0===this.a)return"transparent";if(this.a<1)return!1;for(var e="#"+(0,n.vq)(this.r,this.g,this.b,!1),t=0,r=Object.entries(o.R);t=0;return!t&&n&&(e.startsWith("hex")||"name"===e)?"name"===e&&0===this.a?this.toName():this.toRgbString():("rgb"===e&&(r=this.toRgbString()),"prgb"===e&&(r=this.toPercentageRgbString()),("hex"===e||"hex6"===e)&&(r=this.toHexString()),"hex3"===e&&(r=this.toHexString(!0)),"hex4"===e&&(r=this.toHex8String(!0)),"hex8"===e&&(r=this.toHex8String()),"name"===e&&(r=this.toName()),"hsl"===e&&(r=this.toHslString()),"hsv"===e&&(r=this.toHsvString()),r||this.toHexString())},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){void 0===t&&(t=10);var r=this.toHsl();return r.l+=t/100,r.l=(0,a.V2)(r.l),new e(r)},e.prototype.brighten=function(t){void 0===t&&(t=10);var r=this.toRgb();return r.r=Math.max(0,Math.min(255,r.r-Math.round(-(255*(t/100))))),r.g=Math.max(0,Math.min(255,r.g-Math.round(-(255*(t/100))))),r.b=Math.max(0,Math.min(255,r.b-Math.round(-(255*(t/100))))),new e(r)},e.prototype.darken=function(t){void 0===t&&(t=10);var r=this.toHsl();return r.l-=t/100,r.l=(0,a.V2)(r.l),new e(r)},e.prototype.tint=function(e){return void 0===e&&(e=10),this.mix("white",e)},e.prototype.shade=function(e){return void 0===e&&(e=10),this.mix("black",e)},e.prototype.desaturate=function(t){void 0===t&&(t=10);var r=this.toHsl();return r.s-=t/100,r.s=(0,a.V2)(r.s),new e(r)},e.prototype.saturate=function(t){void 0===t&&(t=10);var r=this.toHsl();return r.s+=t/100,r.s=(0,a.V2)(r.s),new e(r)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var r=this.toHsl(),n=(r.h+t)%360;return r.h=n<0?360+n:n,new e(r)},e.prototype.mix=function(t,r){void 0===r&&(r=50);var n=this.toRgb(),o=new e(t).toRgb(),i=r/100,a={r:(o.r-n.r)*i+n.r,g:(o.g-n.g)*i+n.g,b:(o.b-n.b)*i+n.b,a:(o.a-n.a)*i+n.a};return new e(a)},e.prototype.analogous=function(t,r){void 0===t&&(t=6),void 0===r&&(r=30);var n=this.toHsl(),o=360/r,i=[this];for(n.h=(n.h-(o*t>>1)+720)%360;--t;)n.h=(n.h+o)%360,i.push(new e(n));return i},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){void 0===t&&(t=6);for(var r=this.toHsv(),n=r.h,o=r.s,i=r.v,a=[],l=1/t;t--;)a.push(new e({h:n,s:o,v:i})),i=(i+l)%1;return a},e.prototype.splitcomplement=function(){var t=this.toHsl(),r=t.h;return[this,new e({h:(r+72)%360,s:t.s,l:t.l}),new e({h:(r+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var r=this.toRgb(),n=new e(t).toRgb(),o=r.a+n.a*(1-r.a);return new e({r:(r.r*r.a+n.r*n.a*(1-r.a))/o,g:(r.g*r.a+n.g*n.a*(1-r.a))/o,b:(r.b*r.a+n.b*n.a*(1-r.a))/o,a:o})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var r=this.toHsl(),n=r.h,o=[this],i=360/t,a=1;aMath.abs(e-t))?1:e=360===t?(e<0?e%t+t:e%t)/parseFloat(String(t)):e%t/parseFloat(String(t))}function o(e){return Math.min(1,Math.max(0,e))}function i(e){return(isNaN(e=parseFloat(e))||e<0||e>1)&&(e=1),e}function a(e){return e<=1?"".concat(100*Number(e),"%"):e}function l(e){return 1===e.length?"0"+e:String(e)}r.d(t,{FZ:function(){return l},JX:function(){return a},V2:function(){return o},Yq:function(){return i},sh:function(){return n}})},43709:function(e,t,r){"use strict";r.d(t,{Z:function(){return g}});var n=function(){function e(e){var t=this;this._insertTag=function(e){var r;r=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,r),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){if(this.ctr%(this.isSpeedy?65e3:1)==0){var t;this._insertTag(((t=document.createElement("style")).setAttribute("data-emotion",this.key),void 0!==this.nonce&&t.setAttribute("nonce",this.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t))}var r=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t-1&&!e.return)switch(e.type){case a.h5:e.return=function e(t,r){switch((0,i.vp)(t,r)){case 5103:return a.G$+"print-"+t+t;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 a.G$+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return a.G$+t+a.uj+t+a.MS+t+t;case 6828:case 4268:return a.G$+t+a.MS+t+t;case 6165:return a.G$+t+a.MS+"flex-"+t+t;case 5187:return a.G$+t+(0,i.gx)(t,/(\w+).+(:[^]+)/,a.G$+"box-$1$2"+a.MS+"flex-$1$2")+t;case 5443:return a.G$+t+a.MS+"flex-item-"+(0,i.gx)(t,/flex-|-self/,"")+t;case 4675:return a.G$+t+a.MS+"flex-line-pack"+(0,i.gx)(t,/align-content|flex-|-self/,"")+t;case 5548:return a.G$+t+a.MS+(0,i.gx)(t,"shrink","negative")+t;case 5292:return a.G$+t+a.MS+(0,i.gx)(t,"basis","preferred-size")+t;case 6060:return a.G$+"box-"+(0,i.gx)(t,"-grow","")+a.G$+t+a.MS+(0,i.gx)(t,"grow","positive")+t;case 4554:return a.G$+(0,i.gx)(t,/([^-])(transform)/g,"$1"+a.G$+"$2")+t;case 6187:return(0,i.gx)((0,i.gx)((0,i.gx)(t,/(zoom-|grab)/,a.G$+"$1"),/(image-set)/,a.G$+"$1"),t,"")+t;case 5495:case 3959:return(0,i.gx)(t,/(image-set\([^]*)/,a.G$+"$1$`$1");case 4968:return(0,i.gx)((0,i.gx)(t,/(.+:)(flex-)?(.*)/,a.G$+"box-pack:$3"+a.MS+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+a.G$+t+t;case 4095:case 3583:case 4068:case 2532:return(0,i.gx)(t,/(.+)-inline(.+)/,a.G$+"$1$2")+t;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((0,i.to)(t)-1-r>6)switch((0,i.uO)(t,r+1)){case 109:if(45!==(0,i.uO)(t,r+4))break;case 102:return(0,i.gx)(t,/(.+:)(.+)-([^]+)/,"$1"+a.G$+"$2-$3$1"+a.uj+(108==(0,i.uO)(t,r+3)?"$3":"$2-$3"))+t;case 115:return~(0,i.Cw)(t,"stretch")?e((0,i.gx)(t,"stretch","fill-available"),r)+t:t}break;case 4949:if(115!==(0,i.uO)(t,r+1))break;case 6444:switch((0,i.uO)(t,(0,i.to)(t)-3-(~(0,i.Cw)(t,"!important")&&10))){case 107:return(0,i.gx)(t,":",":"+a.G$)+t;case 101:return(0,i.gx)(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+a.G$+(45===(0,i.uO)(t,14)?"inline-":"")+"box$3$1"+a.G$+"$2$3$1"+a.MS+"$2box$3")+t}break;case 5936:switch((0,i.uO)(t,r+11)){case 114:return a.G$+t+a.MS+(0,i.gx)(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return a.G$+t+a.MS+(0,i.gx)(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return a.G$+t+a.MS+(0,i.gx)(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return a.G$+t+a.MS+t+t}return t}(e.value,e.length);break;case a.lK:return(0,l.q)([(0,o.JG)(e,{value:(0,i.gx)(e.value,"@","@"+a.G$)})],n);case a.Fr:if(e.length)return(0,i.$e)(e.props,function(t){switch((0,i.EQ)(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return(0,l.q)([(0,o.JG)(e,{props:[(0,i.gx)(t,/:(read-\w+)/,":"+a.uj+"$1")]})],n);case"::placeholder":return(0,l.q)([(0,o.JG)(e,{props:[(0,i.gx)(t,/:(plac\w+)/,":"+a.G$+"input-$1")]}),(0,o.JG)(e,{props:[(0,i.gx)(t,/:(plac\w+)/,":"+a.uj+"$1")]}),(0,o.JG)(e,{props:[(0,i.gx)(t,/:(plac\w+)/,a.MS+"input-$1")]})],n)}return""})}}],g=function(e){var t,r,o,a,c,u=e.key;if("css"===u){var f=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(f,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var g=e.stylisPlugins||h,m={},v=[];r=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+u+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),r=1;r=4;++n,o-=4)t=(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))*1540483477+((t>>>16)*59797<<16),t^=t>>>24,r=(65535&t)*1540483477+((t>>>16)*59797<<16)^(65535&r)*1540483477+((r>>>16)*59797<<16);switch(o){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r^=255&e.charCodeAt(n),r=(65535&r)*1540483477+((r>>>16)*59797<<16)}return r^=r>>>13,(((r=(65535&r)*1540483477+((r>>>16)*59797<<16))^r>>>15)>>>0).toString(36)}(a)+c,styles:a,next:n}}},85124:function(e,t,r){"use strict";r.d(t,{L:function(){return a},j:function(){return l}});var n,o=r(86006),i=!!(n||(n=r.t(o,2))).useInsertionEffect&&(n||(n=r.t(o,2))).useInsertionEffect,a=i||function(e){return e()},l=i||o.useLayoutEffect},75941:function(e,t,r){"use strict";function n(e,t,r){var n="";return r.split(" ").forEach(function(r){void 0!==e[r]?t.push(e[r]+";"):n+=r+" "}),n}r.d(t,{My:function(){return i},fp:function(){return n},hC:function(){return o}});var o=function(e,t,r){var n=e.key+"-"+t.name;!1===r&&void 0===e.registered[n]&&(e.registered[n]=t.styles)},i=function(e,t,r){o(e,t,r);var n=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var i=t;do e.insert(t===i?"."+n:"",i,e.sheet,!0),i=i.next;while(void 0!==i)}}},18587:function(e,t,r){"use strict";r.d(t,{d6:function(){return i},sI:function(){return a}});var n=r(13809),o=r(88539);let i=(e,t)=>(0,n.Z)(e,t,"Joy"),a=(e,t)=>(0,o.Z)(e,t,"Joy")},38230:function(e,t){"use strict";t.Z={grey:{50:"#F7F7F8",100:"#EBEBEF",200:"#D8D8DF",300:"#B9B9C6",400:"#8F8FA3",500:"#73738C",600:"#5A5A72",700:"#434356",800:"#25252D",900:"#131318"},blue:{50:"#F4FAFF",100:"#DDF1FF",200:"#ADDBFF",300:"#6FB6FF",400:"#3990FF",500:"#096BDE",600:"#054DA7",700:"#02367D",800:"#072859",900:"#00153C"},yellow:{50:"#FFF8C5",100:"#FAE17D",200:"#EAC54F",300:"#D4A72C",400:"#BF8700",500:"#9A6700",600:"#7D4E00",700:"#633C01",800:"#4D2D00",900:"#3B2300"},red:{50:"#FFF8F6",100:"#FFE9E8",200:"#FFC7C5",300:"#FF9192",400:"#FA5255",500:"#D3232F",600:"#A10E25",700:"#77061B",800:"#580013",900:"#39000D"},green:{50:"#F3FEF5",100:"#D7F5DD",200:"#77EC95",300:"#4CC76E",400:"#2CA24D",500:"#1A7D36",600:"#0F5D26",700:"#034318",800:"#002F0F",900:"#001D09"},purple:{50:"#FDF7FF",100:"#F4EAFF",200:"#E1CBFF",300:"#C69EFF",400:"#A374F9",500:"#814DDE",600:"#5F35AE",700:"#452382",800:"#301761",900:"#1D0A42"}}},31227:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var n=r(40431);function o(e,t,r){return void 0===e||"string"==typeof e?t:(0,n.Z)({},t,{ownerState:(0,n.Z)({},t.ownerState,r)})}},87862:function(e,t,r){"use strict";function n(e,t=[]){if(void 0===e)return{};let r={};return Object.keys(e).filter(r=>r.match(/^on[A-Z]/)&&"function"==typeof e[r]&&!t.includes(r)).forEach(t=>{r[t]=e[t]}),r}r.d(t,{Z:function(){return n}})},85059:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var n=r(40431),o=r(89791),i=r(87862);function a(e){if(void 0===e)return{};let t={};return Object.keys(e).filter(t=>!(t.match(/^on[A-Z]/)&&"function"==typeof e[t])).forEach(r=>{t[r]=e[r]}),t}function l(e){let{getSlotProps:t,additionalProps:r,externalSlotProps:l,externalForwardedProps:s,className:c}=e;if(!t){let e=(0,o.Z)(null==s?void 0:s.className,null==l?void 0:l.className,c,null==r?void 0:r.className),t=(0,n.Z)({},null==r?void 0:r.style,null==s?void 0:s.style,null==l?void 0:l.style),i=(0,n.Z)({},r,s,l);return e.length>0&&(i.className=e),Object.keys(t).length>0&&(i.style=t),{props:i,internalRef:void 0}}let u=(0,i.Z)((0,n.Z)({},s,l)),f=a(l),d=a(s),p=t(u),h=(0,o.Z)(null==p?void 0:p.className,null==r?void 0:r.className,c,null==s?void 0:s.className,null==l?void 0:l.className),g=(0,n.Z)({},null==p?void 0:p.style,null==r?void 0:r.style,null==s?void 0:s.style,null==l?void 0:l.style),m=(0,n.Z)({},p,r,d,f);return h.length>0&&(m.className=h),Object.keys(g).length>0&&(m.style=g),{props:m,internalRef:p.ref}}},95596:function(e,t,r){"use strict";function n(e,t){return"function"==typeof e?e(t):e}r.d(t,{Z:function(){return n}})},47093:function(e,t,r){"use strict";r.d(t,{VT:function(){return s},do:function(){return c}});var n=r(86006),o=r(95887),i=r(98918),a=r(9268);let l=n.createContext(void 0),s=e=>{let t=n.useContext(l);return{getColor:(r,n)=>t&&e&&t.includes(e)?r||"context":r||n}};function c({children:e,variant:t}){var r;let n=(0,o.Z)(i.Z);return(0,a.jsx)(l.Provider,{value:t?(null!=(r=n.colorInversionConfig)?r:i.Z.colorInversionConfig)[t]:void 0,children:e})}t.ZP=l},98918:function(e,t,r){"use strict";var n=r(41287);let o=(0,n.Z)();t.Z=o},41287:function(e,t,r){"use strict";r.d(t,{Z:function(){return O}});var n=r(40431),o=r(46750),i=r(95135),a=r(82190),l=r(23343),s=r(57716),c=r(93815);let u=(e,t,r,n=[])=>{let o=e;t.forEach((e,i)=>{i===t.length-1?Array.isArray(o)?o[Number(e)]=r:o&&"object"==typeof o&&(o[e]=r):o&&"object"==typeof o&&(o[e]||(o[e]=n.includes(e)?[]:{}),o=o[e])})},f=(e,t,r)=>{!function e(n,o=[],i=[]){Object.entries(n).forEach(([n,a])=>{r&&(!r||r([...o,n]))||null==a||("object"==typeof a&&Object.keys(a).length>0?e(a,[...o,n],Array.isArray(a)?[...i,n]:i):t([...o,n],a,i))})}(e)},d=(e,t)=>{if("number"==typeof t){if(["lineHeight","fontWeight","opacity","zIndex"].some(t=>e.includes(t)))return t;let r=e[e.length-1];return r.toLowerCase().indexOf("opacity")>=0?t:`${t}px`}return t};function p(e,t){let{prefix:r,shouldSkipGeneratingVar:n}=t||{},o={},i={},a={};return f(e,(e,t,l)=>{if(("string"==typeof t||"number"==typeof t)&&(!n||!n(e,t))){let n=`--${r?`${r}-`:""}${e.join("-")}`;Object.assign(o,{[n]:d(e,t)}),u(i,e,`var(${n})`,l),u(a,e,`var(${n}, ${t})`,l)}},e=>"vars"===e[0]),{css:o,vars:i,varsWithDefaults:a}}let h=["colorSchemes","components"],g=["light"];var m=function(e,t){let{colorSchemes:r={}}=e,a=(0,o.Z)(e,h),{vars:l,css:s,varsWithDefaults:c}=p(a,t),u=c,f={},{light:d}=r,m=(0,o.Z)(r,g);if(Object.entries(m||{}).forEach(([e,r])=>{let{vars:n,css:o,varsWithDefaults:a}=p(r,t);u=(0,i.Z)(u,a),f[e]={css:o,vars:n}}),d){let{css:e,vars:r,varsWithDefaults:n}=p(d,t);u=(0,i.Z)(u,n),f.light={css:e,vars:r}}return{vars:u,generateCssVars:e=>e?{css:(0,n.Z)({},f[e].css),vars:f[e].vars}:{css:(0,n.Z)({},s),vars:l}}},v=r(51579),y=r(2272);let b=(0,n.Z)({},y.Z,{borderRadius:{themeKey:"radius"},boxShadow:{themeKey:"shadow"},fontFamily:{themeKey:"fontFamily"},fontSize:{themeKey:"fontSize"},fontWeight:{themeKey:"fontWeight"},letterSpacing:{themeKey:"letterSpacing"},lineHeight:{themeKey:"lineHeight"}});var x=r(38230);function C(e){var t;return!!e[0].match(/^(typography|variants|breakpoints|colorInversion|colorInversionConfig)$/)||!!e[0].match(/sxConfig$/)||"palette"===e[0]&&!!(null!=(t=e[1])&&t.match(/^(mode)$/))||"focus"===e[0]&&"thickness"!==e[1]}var w=r(18587),S=r(52428);let E=["cssVarPrefix","breakpoints","spacing","components","variants","colorInversion","shouldSkipGeneratingVar"],A=["colorSchemes"],k=(e="joy")=>(0,a.Z)(e);function O(e){var t,r,a,u,f,d,p,h,g,y,O,$,Z,B,P,R,j,T,M,F,_,N,H,D,L,I,z,U,W,G,K,q,V,X,Y,J,Q,ee,et,er,en,eo,ei,ea,el,es,ec,eu,ef,ed,ep,eh,eg,em,ev,ey,eb,ex,eC,ew,eS,eE,eA,ek,eO,e$,eZ,eB,eP,eR,ej,eT,eM,eF,e_,eN,eH,eD,eL,eI,ez,eU;let eW=e||{},{cssVarPrefix:eG="joy",breakpoints:eK,spacing:eq,components:eV,variants:eX,colorInversion:eY,shouldSkipGeneratingVar:eJ=C}=eW,eQ=(0,o.Z)(eW,E),e0=k(eG),e1={primary:x.Z.blue,neutral:x.Z.grey,danger:x.Z.red,info:x.Z.purple,success:x.Z.green,warning:x.Z.yellow,common:{white:"#FFF",black:"#09090D"}},e2=e=>{var t;let r=e.split("-"),n=r[1],o=r[2];return e0(e,null==(t=e1[n])?void 0:t[o])},e5=e=>({plainColor:e2(`palette-${e}-600`),plainHoverBg:e2(`palette-${e}-100`),plainActiveBg:e2(`palette-${e}-200`),plainDisabledColor:e2(`palette-${e}-200`),outlinedColor:e2(`palette-${e}-500`),outlinedBorder:e2(`palette-${e}-200`),outlinedHoverBg:e2(`palette-${e}-100`),outlinedHoverBorder:e2(`palette-${e}-300`),outlinedActiveBg:e2(`palette-${e}-200`),outlinedDisabledColor:e2(`palette-${e}-100`),outlinedDisabledBorder:e2(`palette-${e}-100`),softColor:e2(`palette-${e}-600`),softBg:e2(`palette-${e}-100`),softHoverBg:e2(`palette-${e}-200`),softActiveBg:e2(`palette-${e}-300`),softDisabledColor:e2(`palette-${e}-300`),softDisabledBg:e2(`palette-${e}-50`),solidColor:"#fff",solidBg:e2(`palette-${e}-500`),solidHoverBg:e2(`palette-${e}-600`),solidActiveBg:e2(`palette-${e}-700`),solidDisabledColor:"#fff",solidDisabledBg:e2(`palette-${e}-200`)}),e6=e=>({plainColor:e2(`palette-${e}-300`),plainHoverBg:e2(`palette-${e}-800`),plainActiveBg:e2(`palette-${e}-700`),plainDisabledColor:e2(`palette-${e}-800`),outlinedColor:e2(`palette-${e}-200`),outlinedBorder:e2(`palette-${e}-700`),outlinedHoverBg:e2(`palette-${e}-800`),outlinedHoverBorder:e2(`palette-${e}-600`),outlinedActiveBg:e2(`palette-${e}-900`),outlinedDisabledColor:e2(`palette-${e}-800`),outlinedDisabledBorder:e2(`palette-${e}-800`),softColor:e2(`palette-${e}-200`),softBg:e2(`palette-${e}-900`),softHoverBg:e2(`palette-${e}-800`),softActiveBg:e2(`palette-${e}-700`),softDisabledColor:e2(`palette-${e}-800`),softDisabledBg:e2(`palette-${e}-900`),solidColor:"#fff",solidBg:e2(`palette-${e}-600`),solidHoverBg:e2(`palette-${e}-700`),solidActiveBg:e2(`palette-${e}-800`),solidDisabledColor:e2(`palette-${e}-700`),solidDisabledBg:e2(`palette-${e}-900`)}),e4={palette:{mode:"light",primary:(0,n.Z)({},e1.primary,e5("primary")),neutral:(0,n.Z)({},e1.neutral,{plainColor:e2("palette-neutral-800"),plainHoverColor:e2("palette-neutral-900"),plainHoverBg:e2("palette-neutral-100"),plainActiveBg:e2("palette-neutral-200"),plainDisabledColor:e2("palette-neutral-300"),outlinedColor:e2("palette-neutral-800"),outlinedBorder:e2("palette-neutral-200"),outlinedHoverColor:e2("palette-neutral-900"),outlinedHoverBg:e2("palette-neutral-100"),outlinedHoverBorder:e2("palette-neutral-300"),outlinedActiveBg:e2("palette-neutral-200"),outlinedDisabledColor:e2("palette-neutral-300"),outlinedDisabledBorder:e2("palette-neutral-100"),softColor:e2("palette-neutral-800"),softBg:e2("palette-neutral-100"),softHoverColor:e2("palette-neutral-900"),softHoverBg:e2("palette-neutral-200"),softActiveBg:e2("palette-neutral-300"),softDisabledColor:e2("palette-neutral-300"),softDisabledBg:e2("palette-neutral-50"),solidColor:e2("palette-common-white"),solidBg:e2("palette-neutral-600"),solidHoverBg:e2("palette-neutral-700"),solidActiveBg:e2("palette-neutral-800"),solidDisabledColor:e2("palette-neutral-300"),solidDisabledBg:e2("palette-neutral-50")}),danger:(0,n.Z)({},e1.danger,e5("danger")),info:(0,n.Z)({},e1.info,e5("info")),success:(0,n.Z)({},e1.success,e5("success")),warning:(0,n.Z)({},e1.warning,e5("warning"),{solidColor:e2("palette-warning-800"),solidBg:e2("palette-warning-200"),solidHoverBg:e2("palette-warning-300"),solidActiveBg:e2("palette-warning-400"),solidDisabledColor:e2("palette-warning-200"),solidDisabledBg:e2("palette-warning-50"),softColor:e2("palette-warning-800"),softBg:e2("palette-warning-50"),softHoverBg:e2("palette-warning-100"),softActiveBg:e2("palette-warning-200"),softDisabledColor:e2("palette-warning-200"),softDisabledBg:e2("palette-warning-50"),outlinedColor:e2("palette-warning-800"),outlinedHoverBg:e2("palette-warning-50"),plainColor:e2("palette-warning-800"),plainHoverBg:e2("palette-warning-50")}),common:{white:"#FFF",black:"#09090D"},text:{primary:e2("palette-neutral-800"),secondary:e2("palette-neutral-600"),tertiary:e2("palette-neutral-500")},background:{body:e2("palette-common-white"),surface:e2("palette-common-white"),popup:e2("palette-common-white"),level1:e2("palette-neutral-50"),level2:e2("palette-neutral-100"),level3:e2("palette-neutral-200"),tooltip:e2("palette-neutral-800"),backdrop:"rgba(255 255 255 / 0.5)"},divider:`rgba(${e0("palette-neutral-mainChannel",(0,l.n8)(e1.neutral[500]))} / 0.28)`,focusVisible:e2("palette-primary-500")},shadowRing:"0 0 #000",shadowChannel:"187 187 187"},e3={palette:{mode:"dark",primary:(0,n.Z)({},e1.primary,e6("primary")),neutral:(0,n.Z)({},e1.neutral,{plainColor:e2("palette-neutral-200"),plainHoverColor:e2("palette-neutral-50"),plainHoverBg:e2("palette-neutral-800"),plainActiveBg:e2("palette-neutral-700"),plainDisabledColor:e2("palette-neutral-700"),outlinedColor:e2("palette-neutral-200"),outlinedBorder:e2("palette-neutral-800"),outlinedHoverColor:e2("palette-neutral-50"),outlinedHoverBg:e2("palette-neutral-800"),outlinedHoverBorder:e2("palette-neutral-700"),outlinedActiveBg:e2("palette-neutral-800"),outlinedDisabledColor:e2("palette-neutral-800"),outlinedDisabledBorder:e2("palette-neutral-800"),softColor:e2("palette-neutral-200"),softBg:e2("palette-neutral-800"),softHoverColor:e2("palette-neutral-50"),softHoverBg:e2("palette-neutral-700"),softActiveBg:e2("palette-neutral-600"),softDisabledColor:e2("palette-neutral-700"),softDisabledBg:e2("palette-neutral-900"),solidColor:e2("palette-common-white"),solidBg:e2("palette-neutral-600"),solidHoverBg:e2("palette-neutral-700"),solidActiveBg:e2("palette-neutral-800"),solidDisabledColor:e2("palette-neutral-700"),solidDisabledBg:e2("palette-neutral-900")}),danger:(0,n.Z)({},e1.danger,e6("danger")),info:(0,n.Z)({},e1.info,e6("info")),success:(0,n.Z)({},e1.success,e6("success"),{solidColor:"#fff",solidBg:e2("palette-success-600"),solidHoverBg:e2("palette-success-700"),solidActiveBg:e2("palette-success-800")}),warning:(0,n.Z)({},e1.warning,e6("warning"),{solidColor:e2("palette-common-black"),solidBg:e2("palette-warning-300"),solidHoverBg:e2("palette-warning-400"),solidActiveBg:e2("palette-warning-500")}),common:{white:"#FFF",black:"#09090D"},text:{primary:e2("palette-neutral-100"),secondary:e2("palette-neutral-300"),tertiary:e2("palette-neutral-400")},background:{body:e2("palette-neutral-900"),surface:e2("palette-common-black"),popup:e2("palette-neutral-800"),level1:e2("palette-neutral-800"),level2:e2("palette-neutral-700"),level3:e2("palette-neutral-600"),tooltip:e2("palette-neutral-600"),backdrop:`rgba(${e0("palette-neutral-darkChannel",(0,l.n8)(e1.neutral[800]))} / 0.5)`},divider:`rgba(${e0("palette-neutral-mainChannel",(0,l.n8)(e1.neutral[500]))} / 0.24)`,focusVisible:e2("palette-primary-500")},shadowRing:"0 0 #000",shadowChannel:"0 0 0"},e8='-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',e9=(0,n.Z)({body:`"Public Sans", ${e0("fontFamily-fallback",e8)}`,display:`"Public Sans", ${e0("fontFamily-fallback",e8)}`,code:"Source Code Pro,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace",fallback:e8},eQ.fontFamily),e7=(0,n.Z)({xs:200,sm:300,md:500,lg:600,xl:700,xl2:800,xl3:900},eQ.fontWeight),te=(0,n.Z)({xs3:"0.5rem",xs2:"0.625rem",xs:"0.75rem",sm:"0.875rem",md:"1rem",lg:"1.125rem",xl:"1.25rem",xl2:"1.5rem",xl3:"1.875rem",xl4:"2.25rem",xl5:"3rem",xl6:"3.75rem",xl7:"4.5rem"},eQ.fontSize),tt=(0,n.Z)({sm:1.25,md:1.5,lg:1.7},eQ.lineHeight),tr=(0,n.Z)({sm:"-0.01em",md:"0.083em",lg:"0.125em"},eQ.letterSpacing),tn={colorSchemes:{light:e4,dark:e3},fontSize:te,fontFamily:e9,fontWeight:e7,focus:{thickness:"2px",selector:`&.${(0,w.d6)("","focusVisible")}, &:focus-visible`,default:{outlineOffset:`var(--focus-outline-offset, ${e0("focus-thickness",null!=(t=null==(r=eQ.focus)?void 0:r.thickness)?t:"2px")})`,outline:`${e0("focus-thickness",null!=(a=null==(u=eQ.focus)?void 0:u.thickness)?a:"2px")} solid ${e0("palette-focusVisible",e1.primary[500])}`}},lineHeight:tt,letterSpacing:tr,radius:{xs:"4px",sm:"8px",md:"12px",lg:"16px",xl:"20px"},shadow:{xs:`${e0("shadowRing",null!=(f=null==(d=eQ.colorSchemes)?void 0:null==(p=d.light)?void 0:p.shadowRing)?f:e4.shadowRing)}, 0 1px 2px 0 rgba(${e0("shadowChannel",null!=(h=null==(g=eQ.colorSchemes)?void 0:null==(y=g.light)?void 0:y.shadowChannel)?h:e4.shadowChannel)} / 0.12)`,sm:`${e0("shadowRing",null!=(O=null==($=eQ.colorSchemes)?void 0:null==(Z=$.light)?void 0:Z.shadowRing)?O:e4.shadowRing)}, 0.3px 0.8px 1.1px rgba(${e0("shadowChannel",null!=(B=null==(P=eQ.colorSchemes)?void 0:null==(R=P.light)?void 0:R.shadowChannel)?B:e4.shadowChannel)} / 0.11), 0.5px 1.3px 1.8px -0.6px rgba(${e0("shadowChannel",null!=(j=null==(T=eQ.colorSchemes)?void 0:null==(M=T.light)?void 0:M.shadowChannel)?j:e4.shadowChannel)} / 0.18), 1.1px 2.7px 3.8px -1.2px rgba(${e0("shadowChannel",null!=(F=null==(_=eQ.colorSchemes)?void 0:null==(N=_.light)?void 0:N.shadowChannel)?F:e4.shadowChannel)} / 0.26)`,md:`${e0("shadowRing",null!=(H=null==(D=eQ.colorSchemes)?void 0:null==(L=D.light)?void 0:L.shadowRing)?H:e4.shadowRing)}, 0.3px 0.8px 1.1px rgba(${e0("shadowChannel",null!=(I=null==(z=eQ.colorSchemes)?void 0:null==(U=z.light)?void 0:U.shadowChannel)?I:e4.shadowChannel)} / 0.12), 1.1px 2.8px 3.9px -0.4px rgba(${e0("shadowChannel",null!=(W=null==(G=eQ.colorSchemes)?void 0:null==(K=G.light)?void 0:K.shadowChannel)?W:e4.shadowChannel)} / 0.17), 2.4px 6.1px 8.6px -0.8px rgba(${e0("shadowChannel",null!=(q=null==(V=eQ.colorSchemes)?void 0:null==(X=V.light)?void 0:X.shadowChannel)?q:e4.shadowChannel)} / 0.23), 5.3px 13.3px 18.8px -1.2px rgba(${e0("shadowChannel",null!=(Y=null==(J=eQ.colorSchemes)?void 0:null==(Q=J.light)?void 0:Q.shadowChannel)?Y:e4.shadowChannel)} / 0.29)`,lg:`${e0("shadowRing",null!=(ee=null==(et=eQ.colorSchemes)?void 0:null==(er=et.light)?void 0:er.shadowRing)?ee:e4.shadowRing)}, 0.3px 0.8px 1.1px rgba(${e0("shadowChannel",null!=(en=null==(eo=eQ.colorSchemes)?void 0:null==(ei=eo.light)?void 0:ei.shadowChannel)?en:e4.shadowChannel)} / 0.11), 1.8px 4.5px 6.4px -0.2px rgba(${e0("shadowChannel",null!=(ea=null==(el=eQ.colorSchemes)?void 0:null==(es=el.light)?void 0:es.shadowChannel)?ea:e4.shadowChannel)} / 0.13), 3.2px 7.9px 11.2px -0.4px rgba(${e0("shadowChannel",null!=(ec=null==(eu=eQ.colorSchemes)?void 0:null==(ef=eu.light)?void 0:ef.shadowChannel)?ec:e4.shadowChannel)} / 0.16), 4.8px 12px 17px -0.5px rgba(${e0("shadowChannel",null!=(ed=null==(ep=eQ.colorSchemes)?void 0:null==(eh=ep.light)?void 0:eh.shadowChannel)?ed:e4.shadowChannel)} / 0.19), 7px 17.5px 24.7px -0.7px rgba(${e0("shadowChannel",null!=(eg=null==(em=eQ.colorSchemes)?void 0:null==(ev=em.light)?void 0:ev.shadowChannel)?eg:e4.shadowChannel)} / 0.21)`,xl:`${e0("shadowRing",null!=(ey=null==(eb=eQ.colorSchemes)?void 0:null==(ex=eb.light)?void 0:ex.shadowRing)?ey:e4.shadowRing)}, 0.3px 0.8px 1.1px rgba(${e0("shadowChannel",null!=(eC=null==(ew=eQ.colorSchemes)?void 0:null==(eS=ew.light)?void 0:eS.shadowChannel)?eC:e4.shadowChannel)} / 0.11), 1.8px 4.5px 6.4px -0.2px rgba(${e0("shadowChannel",null!=(eE=null==(eA=eQ.colorSchemes)?void 0:null==(ek=eA.light)?void 0:ek.shadowChannel)?eE:e4.shadowChannel)} / 0.13), 3.2px 7.9px 11.2px -0.4px rgba(${e0("shadowChannel",null!=(eO=null==(e$=eQ.colorSchemes)?void 0:null==(eZ=e$.light)?void 0:eZ.shadowChannel)?eO:e4.shadowChannel)} / 0.16), 4.8px 12px 17px -0.5px rgba(${e0("shadowChannel",null!=(eB=null==(eP=eQ.colorSchemes)?void 0:null==(eR=eP.light)?void 0:eR.shadowChannel)?eB:e4.shadowChannel)} / 0.19), 7px 17.5px 24.7px -0.7px rgba(${e0("shadowChannel",null!=(ej=null==(eT=eQ.colorSchemes)?void 0:null==(eM=eT.light)?void 0:eM.shadowChannel)?ej:e4.shadowChannel)} / 0.21), 10.2px 25.5px 36px -0.9px rgba(${e0("shadowChannel",null!=(eF=null==(e_=eQ.colorSchemes)?void 0:null==(eN=e_.light)?void 0:eN.shadowChannel)?eF:e4.shadowChannel)} / 0.24), 14.8px 36.8px 52.1px -1.1px rgba(${e0("shadowChannel",null!=(eH=null==(eD=eQ.colorSchemes)?void 0:null==(eL=eD.light)?void 0:eL.shadowChannel)?eH:e4.shadowChannel)} / 0.27), 21px 52.3px 74px -1.2px rgba(${e0("shadowChannel",null!=(eI=null==(ez=eQ.colorSchemes)?void 0:null==(eU=ez.light)?void 0:eU.shadowChannel)?eI:e4.shadowChannel)} / 0.29)`},zIndex:{badge:1,table:10,popup:1e3,modal:1300,tooltip:1500},typography:{display1:{fontFamily:e0("fontFamily-display",e9.display),fontWeight:e0("fontWeight-xl",e7.xl.toString()),fontSize:e0("fontSize-xl7",te.xl7),lineHeight:e0("lineHeight-sm",tt.sm.toString()),letterSpacing:e0("letterSpacing-sm",tr.sm),color:e0("palette-text-primary",e4.palette.text.primary)},display2:{fontFamily:e0("fontFamily-display",e9.display),fontWeight:e0("fontWeight-xl",e7.xl.toString()),fontSize:e0("fontSize-xl6",te.xl6),lineHeight:e0("lineHeight-sm",tt.sm.toString()),letterSpacing:e0("letterSpacing-sm",tr.sm),color:e0("palette-text-primary",e4.palette.text.primary)},h1:{fontFamily:e0("fontFamily-display",e9.display),fontWeight:e0("fontWeight-lg",e7.lg.toString()),fontSize:e0("fontSize-xl5",te.xl5),lineHeight:e0("lineHeight-sm",tt.sm.toString()),letterSpacing:e0("letterSpacing-sm",tr.sm),color:e0("palette-text-primary",e4.palette.text.primary)},h2:{fontFamily:e0("fontFamily-display",e9.display),fontWeight:e0("fontWeight-lg",e7.lg.toString()),fontSize:e0("fontSize-xl4",te.xl4),lineHeight:e0("lineHeight-sm",tt.sm.toString()),letterSpacing:e0("letterSpacing-sm",tr.sm),color:e0("palette-text-primary",e4.palette.text.primary)},h3:{fontFamily:e0("fontFamily-body",e9.body),fontWeight:e0("fontWeight-md",e7.md.toString()),fontSize:e0("fontSize-xl3",te.xl3),lineHeight:e0("lineHeight-sm",tt.sm.toString()),color:e0("palette-text-primary",e4.palette.text.primary)},h4:{fontFamily:e0("fontFamily-body",e9.body),fontWeight:e0("fontWeight-md",e7.md.toString()),fontSize:e0("fontSize-xl2",te.xl2),lineHeight:e0("lineHeight-md",tt.md.toString()),color:e0("palette-text-primary",e4.palette.text.primary)},h5:{fontFamily:e0("fontFamily-body",e9.body),fontWeight:e0("fontWeight-md",e7.md.toString()),fontSize:e0("fontSize-xl",te.xl),lineHeight:e0("lineHeight-md",tt.md.toString()),color:e0("palette-text-primary",e4.palette.text.primary)},h6:{fontFamily:e0("fontFamily-body",e9.body),fontWeight:e0("fontWeight-md",e7.md.toString()),fontSize:e0("fontSize-lg",te.lg),lineHeight:e0("lineHeight-md",tt.md.toString()),color:e0("palette-text-primary",e4.palette.text.primary)},body1:{fontFamily:e0("fontFamily-body",e9.body),fontSize:e0("fontSize-md",te.md),lineHeight:e0("lineHeight-md",tt.md.toString()),color:e0("palette-text-primary",e4.palette.text.primary)},body2:{fontFamily:e0("fontFamily-body",e9.body),fontSize:e0("fontSize-sm",te.sm),lineHeight:e0("lineHeight-md",tt.md.toString()),color:e0("palette-text-secondary",e4.palette.text.secondary)},body3:{fontFamily:e0("fontFamily-body",e9.body),fontSize:e0("fontSize-xs",te.xs),lineHeight:e0("lineHeight-md",tt.md.toString()),color:e0("palette-text-tertiary",e4.palette.text.tertiary)},body4:{fontFamily:e0("fontFamily-body",e9.body),fontSize:e0("fontSize-xs2",te.xs2),lineHeight:e0("lineHeight-md",tt.md.toString()),color:e0("palette-text-tertiary",e4.palette.text.tertiary)},body5:{fontFamily:e0("fontFamily-body",e9.body),fontSize:e0("fontSize-xs3",te.xs3),lineHeight:e0("lineHeight-md",tt.md.toString()),color:e0("palette-text-tertiary",e4.palette.text.tertiary)}}},to=eQ?(0,i.Z)(tn,eQ):tn,{colorSchemes:ti}=to,ta=(0,o.Z)(to,A),tl=(0,n.Z)({colorSchemes:ti},ta,{breakpoints:(0,s.Z)(null!=eK?eK:{}),components:(0,i.Z)({MuiSvgIcon:{defaultProps:{fontSize:"xl"},styleOverrides:{root:({ownerState:e,theme:t})=>{var r;let o=e.instanceFontSize;return(0,n.Z)({color:"var(--Icon-color)",margin:"var(--Icon-margin)"},e.fontSize&&"inherit"!==e.fontSize&&{fontSize:`var(--Icon-fontSize, ${t.vars.fontSize[e.fontSize]})`},e.color&&"inherit"!==e.color&&"context"!==e.color&&t.vars.palette[e.color]&&{color:`rgba(${null==(r=t.vars.palette[e.color])?void 0:r.mainChannel} / 1)`},"context"===e.color&&{color:t.vars.palette.text.secondary},o&&"inherit"!==o&&{"--Icon-fontSize":t.vars.fontSize[o]})}}}},eV),cssVarPrefix:eG,getCssVar:e0,spacing:(0,c.Z)(eq),colorInversionConfig:{soft:["plain","outlined","soft","solid"],solid:["plain","outlined","soft","solid"]}});Object.entries(tl.colorSchemes).forEach(([e,t])=>{!function(e,t){Object.keys(t).forEach(r=>{let n={main:"500",light:"200",dark:"800"};"dark"===e&&(n.main=400),!t[r].mainChannel&&t[r][n.main]&&(t[r].mainChannel=(0,l.n8)(t[r][n.main])),!t[r].lightChannel&&t[r][n.light]&&(t[r].lightChannel=(0,l.n8)(t[r][n.light])),!t[r].darkChannel&&t[r][n.dark]&&(t[r].darkChannel=(0,l.n8)(t[r][n.dark]))})}(e,t.palette)});let{vars:ts,generateCssVars:tc}=m((0,n.Z)({colorSchemes:ti},ta),{prefix:eG,shouldSkipGeneratingVar:eJ});tl.vars=ts,tl.generateCssVars=tc,tl.unstable_sxConfig=(0,n.Z)({},b,null==e?void 0:e.unstable_sxConfig),tl.unstable_sx=function(e){return(0,v.Z)({sx:e,theme:this})},tl.getColorSchemeSelector=e=>"light"===e?"&":`&[data-joy-color-scheme="${e}"], [data-joy-color-scheme="${e}"] &`;let tu={getCssVar:e0,palette:tl.colorSchemes.light.palette};return tl.variants=(0,i.Z)({plain:(0,S.Zm)("plain",tu),plainHover:(0,S.Zm)("plainHover",tu),plainActive:(0,S.Zm)("plainActive",tu),plainDisabled:(0,S.Zm)("plainDisabled",tu),outlined:(0,S.Zm)("outlined",tu),outlinedHover:(0,S.Zm)("outlinedHover",tu),outlinedActive:(0,S.Zm)("outlinedActive",tu),outlinedDisabled:(0,S.Zm)("outlinedDisabled",tu),soft:(0,S.Zm)("soft",tu),softHover:(0,S.Zm)("softHover",tu),softActive:(0,S.Zm)("softActive",tu),softDisabled:(0,S.Zm)("softDisabled",tu),solid:(0,S.Zm)("solid",tu),solidHover:(0,S.Zm)("solidHover",tu),solidActive:(0,S.Zm)("solidActive",tu),solidDisabled:(0,S.Zm)("solidDisabled",tu)},eX),tl.palette=(0,n.Z)({},tl.colorSchemes.light.palette,{colorScheme:"light"}),tl.shouldSkipGeneratingVar=eJ,tl.colorInversion="function"==typeof eY?eY:(0,i.Z)({soft:(0,S.pP)(tl,!0),solid:(0,S.Lo)(tl,!0)},eY||{},{clone:!1}),tl}},50645:function(e,t,r){"use strict";var n=r(9312),o=r(98918);let i=(0,n.ZP)({defaultTheme:o.Z});t.Z=i},88930:function(e,t,r){"use strict";r.d(t,{Z:function(){return a}});var n=r(40431),o=r(38295),i=r(98918);function a({props:e,name:t}){return(0,o.Z)({props:e,name:t,defaultTheme:(0,n.Z)({},i.Z,{components:{}})})}},52428:function(e,t,r){"use strict";r.d(t,{Lo:function(){return f},Zm:function(){return c},pP:function(){return u}});var n=r(40431),o=r(82190);let i=e=>e&&"object"==typeof e&&Object.keys(e).some(e=>{var t;return null==(t=e.match)?void 0:t.call(e,/^(plain(Hover|Active|Disabled)?(Color|Bg)|outlined(Hover|Active|Disabled)?(Color|Border|Bg)|soft(Hover|Active|Disabled)?(Color|Bg)|solid(Hover|Active|Disabled)?(Color|Bg))$/)}),a=(e,t,r)=>{t.includes("Color")&&(e.color=r),t.includes("Bg")&&(e.backgroundColor=r),t.includes("Border")&&(e.borderColor=r)},l=(e,t,r)=>{let n={};return Object.entries(t||{}).forEach(([t,o])=>{if(t.match(RegExp(`${e}(color|bg|border)`,"i"))&&o){let e=r?r(t):o;t.includes("Disabled")&&(n.pointerEvents="none",n.cursor="default"),t.match(/(Hover|Active|Disabled)/)||(n["--variant-borderWidth"]||(n["--variant-borderWidth"]="0px"),t.includes("Border")&&(n["--variant-borderWidth"]="1px",n.border="var(--variant-borderWidth) solid")),a(n,t,e)}}),n},s=e=>t=>`--${e?`${e}-`:""}${t.replace(/^--/,"")}`,c=(e,t)=>{let r={};if(t){let{getCssVar:o,palette:a}=t;Object.entries(a).forEach(t=>{let[s,c]=t;i(c)&&"object"==typeof c&&(r=(0,n.Z)({},r,{[s]:l(e,c,e=>o(`palette-${s}-${e}`,a[s][e]))}))})}return r.context=l(e,{plainColor:"var(--variant-plainColor)",plainHoverColor:"var(--variant-plainHoverColor)",plainHoverBg:"var(--variant-plainHoverBg)",plainActiveBg:"var(--variant-plainActiveBg)",plainDisabledColor:"var(--variant-plainDisabledColor)",outlinedColor:"var(--variant-outlinedColor)",outlinedBorder:"var(--variant-outlinedBorder)",outlinedHoverColor:"var(--variant-outlinedHoverColor)",outlinedHoverBorder:"var(--variant-outlinedHoverBorder)",outlinedHoverBg:"var(--variant-outlinedHoverBg)",outlinedActiveBg:"var(--variant-outlinedActiveBg)",outlinedDisabledColor:"var(--variant-outlinedDisabledColor)",outlinedDisabledBorder:"var(--variant-outlinedDisabledBorder)",softColor:"var(--variant-softColor)",softBg:"var(--variant-softBg)",softHoverColor:"var(--variant-softHoverColor)",softHoverBg:"var(--variant-softHoverBg)",softActiveBg:"var(--variant-softActiveBg)",softDisabledColor:"var(--variant-softDisabledColor)",softDisabledBg:"var(--variant-softDisabledBg)",solidColor:"var(--variant-solidColor)",solidBg:"var(--variant-solidBg)",solidHoverColor:"var(--variant-solidHoverColor)",solidHoverBg:"var(--variant-solidHoverBg)",solidActiveBg:"var(--variant-solidActiveBg)",solidDisabledColor:"var(--variant-solidDisabledColor)",solidDisabledBg:"var(--variant-solidDisabledBg)"}),r},u=(e,t)=>{let r=(0,o.Z)(e.cssVarPrefix),n=s(e.cssVarPrefix),a={},l=t?t=>{var n,o;let i=t.split("-"),a=i[1],l=i[2];return r(t,null==(n=e.palette)?void 0:null==(o=n[a])?void 0:o[l])}:r;return Object.entries(e.palette).forEach(t=>{let[r,o]=t;i(o)&&(a[r]={"--Badge-ringColor":l(`palette-${r}-softBg`),[n("--shadowChannel")]:l(`palette-${r}-darkChannel`),[e.getColorSchemeSelector("dark")]:{[n("--palette-focusVisible")]:l(`palette-${r}-300`),[n("--palette-background-body")]:`rgba(${l(`palette-${r}-mainChannel`)} / 0.1)`,[n("--palette-background-surface")]:`rgba(${l(`palette-${r}-mainChannel`)} / 0.08)`,[n("--palette-background-level1")]:`rgba(${l(`palette-${r}-mainChannel`)} / 0.2)`,[n("--palette-background-level2")]:`rgba(${l(`palette-${r}-mainChannel`)} / 0.4)`,[n("--palette-background-level3")]:`rgba(${l(`palette-${r}-mainChannel`)} / 0.6)`,[n("--palette-text-primary")]:l(`palette-${r}-100`),[n("--palette-text-secondary")]:`rgba(${l(`palette-${r}-lightChannel`)} / 0.72)`,[n("--palette-text-tertiary")]:`rgba(${l(`palette-${r}-lightChannel`)} / 0.6)`,[n("--palette-divider")]:`rgba(${l(`palette-${r}-lightChannel`)} / 0.2)`,"--variant-plainColor":`rgba(${l(`palette-${r}-lightChannel`)} / 1)`,"--variant-plainHoverColor":l(`palette-${r}-50`),"--variant-plainHoverBg":`rgba(${l(`palette-${r}-mainChannel`)} / 0.16)`,"--variant-plainActiveBg":`rgba(${l(`palette-${r}-mainChannel`)} / 0.32)`,"--variant-plainDisabledColor":`rgba(${l(`palette-${r}-mainChannel`)} / 0.72)`,"--variant-outlinedColor":`rgba(${l(`palette-${r}-lightChannel`)} / 1)`,"--variant-outlinedHoverColor":l(`palette-${r}-50`),"--variant-outlinedBg":"initial","--variant-outlinedBorder":`rgba(${l(`palette-${r}-mainChannel`)} / 0.4)`,"--variant-outlinedHoverBorder":l(`palette-${r}-600`),"--variant-outlinedHoverBg":`rgba(${l(`palette-${r}-mainChannel`)} / 0.16)`,"--variant-outlinedActiveBg":`rgba(${l(`palette-${r}-mainChannel`)} / 0.32)`,"--variant-outlinedDisabledColor":`rgba(${l(`palette-${r}-mainChannel`)} / 0.72)`,"--variant-outlinedDisabledBorder":`rgba(${l(`palette-${r}-mainChannel`)} / 0.2)`,"--variant-softColor":l(`palette-${r}-100`),"--variant-softBg":`rgba(${l(`palette-${r}-mainChannel`)} / 0.24)`,"--variant-softHoverColor":"#fff","--variant-softHoverBg":`rgba(${l(`palette-${r}-mainChannel`)} / 0.32)`,"--variant-softActiveBg":`rgba(${l(`palette-${r}-mainChannel`)} / 0.48)`,"--variant-softDisabledColor":`rgba(${l(`palette-${r}-mainChannel`)} / 0.72)`,"--variant-softDisabledBg":`rgba(${l(`palette-${r}-mainChannel`)} / 0.12)`,"--variant-solidColor":"#fff","--variant-solidBg":l(`palette-${r}-500`),"--variant-solidHoverColor":"#fff","--variant-solidHoverBg":l(`palette-${r}-400`),"--variant-solidActiveBg":l(`palette-${r}-400`),"--variant-solidDisabledColor":`rgba(${l(`palette-${r}-mainChannel`)} / 0.72)`,"--variant-solidDisabledBg":`rgba(${l(`palette-${r}-mainChannel`)} / 0.12)`},[e.getColorSchemeSelector("light")]:{[n("--palette-focusVisible")]:l(`palette-${r}-500`),[n("--palette-background-body")]:`rgba(${l(`palette-${r}-mainChannel`)} / 0.1)`,[n("--palette-background-surface")]:`rgba(${l(`palette-${r}-mainChannel`)} / 0.08)`,[n("--palette-background-level1")]:`rgba(${l(`palette-${r}-mainChannel`)} / 0.2)`,[n("--palette-background-level2")]:`rgba(${l(`palette-${r}-mainChannel`)} / 0.32)`,[n("--palette-background-level3")]:`rgba(${l(`palette-${r}-mainChannel`)} / 0.48)`,[n("--palette-text-primary")]:l(`palette-${r}-700`),[n("--palette-text-secondary")]:`rgba(${l(`palette-${r}-darkChannel`)} / 0.8)`,[n("--palette-text-tertiary")]:`rgba(${l(`palette-${r}-darkChannel`)} / 0.68)`,[n("--palette-divider")]:`rgba(${l(`palette-${r}-mainChannel`)} / 0.32)`,"--variant-plainColor":`rgba(${l(`palette-${r}-mainChannel`)} / 1)`,"--variant-plainHoverColor":l(`palette-${r}-600`),"--variant-plainHoverBg":`rgba(${l(`palette-${r}-mainChannel`)} / 0.12)`,"--variant-plainActiveBg":`rgba(${l(`palette-${r}-mainChannel`)} / 0.24)`,"--variant-plainDisabledColor":`rgba(${l(`palette-${r}-mainChannel`)} / 0.6)`,"--variant-outlinedColor":`rgba(${l(`palette-${r}-mainChannel`)} / 1)`,"--variant-outlinedBorder":`rgba(${l(`palette-${r}-mainChannel`)} / 0.4)`,"--variant-outlinedHoverColor":l(`palette-${r}-600`),"--variant-outlinedHoverBorder":l(`palette-${r}-300`),"--variant-outlinedHoverBg":`rgba(${l(`palette-${r}-mainChannel`)} / 0.12)`,"--variant-outlinedActiveBg":`rgba(${l(`palette-${r}-mainChannel`)} / 0.24)`,"--variant-outlinedDisabledColor":`rgba(${l(`palette-${r}-mainChannel`)} / 0.6)`,"--variant-outlinedDisabledBorder":`rgba(${l(`palette-${r}-mainChannel`)} / 0.12)`,"--variant-softColor":l(`palette-${r}-600`),"--variant-softBg":`rgba(${l(`palette-${r}-lightChannel`)} / 0.72)`,"--variant-softHoverColor":l(`palette-${r}-700`),"--variant-softHoverBg":l(`palette-${r}-200`),"--variant-softActiveBg":l(`palette-${r}-300`),"--variant-softDisabledColor":`rgba(${l(`palette-${r}-mainChannel`)} / 0.6)`,"--variant-softDisabledBg":`rgba(${l(`palette-${r}-mainChannel`)} / 0.08)`,"--variant-solidColor":l("palette-common-white"),"--variant-solidBg":l(`palette-${r}-600`),"--variant-solidHoverColor":l("palette-common-white"),"--variant-solidHoverBg":l(`palette-${r}-500`),"--variant-solidActiveBg":l(`palette-${r}-500`),"--variant-solidDisabledColor":`rgba(${l(`palette-${r}-mainChannel`)} / 0.6)`,"--variant-solidDisabledBg":`rgba(${l(`palette-${r}-mainChannel`)} / 0.08)`}})}),a},f=(e,t)=>{let r=(0,o.Z)(e.cssVarPrefix),n=s(e.cssVarPrefix),a={},l=t?t=>{let n=t.split("-"),o=n[1],i=n[2];return r(t,e.palette[o][i])}:r;return Object.entries(e.palette).forEach(e=>{let[t,r]=e;i(r)&&("warning"===t?a.warning={"--Badge-ringColor":l(`palette-${t}-solidBg`),[n("--shadowChannel")]:l(`palette-${t}-darkChannel`),[n("--palette-focusVisible")]:l(`palette-${t}-700`),[n("--palette-background-body")]:`rgba(${l(`palette-${t}-darkChannel`)} / 0.16)`,[n("--palette-background-surface")]:`rgba(${l(`palette-${t}-darkChannel`)} / 0.1)`,[n("--palette-background-popup")]:l(`palette-${t}-100`),[n("--palette-background-level1")]:`rgba(${l(`palette-${t}-darkChannel`)} / 0.2)`,[n("--palette-background-level2")]:`rgba(${l(`palette-${t}-darkChannel`)} / 0.36)`,[n("--palette-background-level3")]:`rgba(${l(`palette-${t}-darkChannel`)} / 0.6)`,[n("--palette-text-primary")]:l(`palette-${t}-900`),[n("--palette-text-secondary")]:l(`palette-${t}-700`),[n("--palette-text-tertiary")]:l(`palette-${t}-500`),[n("--palette-divider")]:`rgba(${l(`palette-${t}-darkChannel`)} / 0.2)`,"--variant-plainColor":l(`palette-${t}-700`),"--variant-plainHoverColor":l(`palette-${t}-800`),"--variant-plainHoverBg":`rgba(${l(`palette-${t}-mainChannel`)} / 0.12)`,"--variant-plainActiveBg":`rgba(${l(`palette-${t}-mainChannel`)} / 0.32)`,"--variant-plainDisabledColor":`rgba(${l(`palette-${t}-mainChannel`)} / 0.72)`,"--variant-outlinedColor":l(`palette-${t}-700`),"--variant-outlinedBorder":`rgba(${l(`palette-${t}-mainChannel`)} / 0.5)`,"--variant-outlinedHoverColor":l(`palette-${t}-800`),"--variant-outlinedHoverBorder":`rgba(${l(`palette-${t}-mainChannel`)} / 0.6)`,"--variant-outlinedHoverBg":`rgba(${l(`palette-${t}-mainChannel`)} / 0.12)`,"--variant-outlinedActiveBg":`rgba(${l(`palette-${t}-mainChannel`)} / 0.32)`,"--variant-outlinedDisabledColor":`rgba(${l(`palette-${t}-mainChannel`)} / 0.72)`,"--variant-outlinedDisabledBorder":`rgba(${l(`palette-${t}-mainChannel`)} / 0.2)`,"--variant-softColor":l(`palette-${t}-800`),"--variant-softHoverColor":l(`palette-${t}-900`),"--variant-softBg":`rgba(${l(`palette-${t}-mainChannel`)} / 0.2)`,"--variant-softHoverBg":`rgba(${l(`palette-${t}-mainChannel`)} / 0.28)`,"--variant-softActiveBg":`rgba(${l(`palette-${t}-mainChannel`)} / 0.12)`,"--variant-softDisabledColor":`rgba(${l(`palette-${t}-mainChannel`)} / 0.72)`,"--variant-softDisabledBg":`rgba(${l(`palette-${t}-mainChannel`)} / 0.08)`,"--variant-solidColor":"#fff","--variant-solidBg":l(`palette-${t}-600`),"--variant-solidHoverColor":"#fff","--variant-solidHoverBg":l(`palette-${t}-700`),"--variant-solidActiveBg":l(`palette-${t}-800`),"--variant-solidDisabledColor":`rgba(${l(`palette-${t}-mainChannel`)} / 0.72)`,"--variant-solidDisabledBg":`rgba(${l(`palette-${t}-mainChannel`)} / 0.08)`}:a[t]={colorScheme:"dark","--Badge-ringColor":l(`palette-${t}-solidBg`),[n("--shadowChannel")]:l(`palette-${t}-darkChannel`),[n("--palette-focusVisible")]:l(`palette-${t}-200`),[n("--palette-background-body")]:"rgba(0 0 0 / 0.1)",[n("--palette-background-surface")]:"rgba(0 0 0 / 0.06)",[n("--palette-background-popup")]:l(`palette-${t}-700`),[n("--palette-background-level1")]:`rgba(${l(`palette-${t}-darkChannel`)} / 0.2)`,[n("--palette-background-level2")]:`rgba(${l(`palette-${t}-darkChannel`)} / 0.36)`,[n("--palette-background-level3")]:`rgba(${l(`palette-${t}-darkChannel`)} / 0.6)`,[n("--palette-text-primary")]:l("palette-common-white"),[n("--palette-text-secondary")]:l(`palette-${t}-100`),[n("--palette-text-tertiary")]:l(`palette-${t}-200`),[n("--palette-divider")]:`rgba(${l(`palette-${t}-lightChannel`)} / 0.32)`,"--variant-plainColor":l(`palette-${t}-50`),"--variant-plainHoverColor":"#fff","--variant-plainHoverBg":`rgba(${l(`palette-${t}-lightChannel`)} / 0.12)`,"--variant-plainActiveBg":`rgba(${l(`palette-${t}-lightChannel`)} / 0.32)`,"--variant-plainDisabledColor":`rgba(${l(`palette-${t}-lightChannel`)} / 0.72)`,"--variant-outlinedColor":l(`palette-${t}-50`),"--variant-outlinedBorder":`rgba(${l(`palette-${t}-lightChannel`)} / 0.5)`,"--variant-outlinedHoverColor":"#fff","--variant-outlinedHoverBorder":l(`palette-${t}-300`),"--variant-outlinedHoverBg":`rgba(${l(`palette-${t}-lightChannel`)} / 0.12)`,"--variant-outlinedActiveBg":`rgba(${l(`palette-${t}-lightChannel`)} / 0.32)`,"--variant-outlinedDisabledColor":`rgba(${l(`palette-${t}-lightChannel`)} / 0.72)`,"--variant-outlinedDisabledBorder":"rgba(255 255 255 / 0.2)","--variant-softColor":l("palette-common-white"),"--variant-softHoverColor":l("palette-common-white"),"--variant-softBg":`rgba(${l(`palette-${t}-lightChannel`)} / 0.24)`,"--variant-softHoverBg":`rgba(${l(`palette-${t}-lightChannel`)} / 0.36)`,"--variant-softActiveBg":`rgba(${l(`palette-${t}-lightChannel`)} / 0.16)`,"--variant-softDisabledColor":`rgba(${l(`palette-${t}-lightChannel`)} / 0.72)`,"--variant-softDisabledBg":`rgba(${l(`palette-${t}-lightChannel`)} / 0.1)`,"--variant-solidColor":l(`palette-${t}-${"neutral"===t?"600":"500"}`),"--variant-solidBg":l("palette-common-white"),"--variant-solidHoverColor":l(`palette-${t}-700`),"--variant-solidHoverBg":l("palette-common-white"),"--variant-solidActiveBg":l(`palette-${t}-200`),"--variant-solidDisabledColor":`rgba(${l(`palette-${t}-lightChannel`)} / 0.72)`,"--variant-solidDisabledBg":`rgba(${l(`palette-${t}-lightChannel`)} / 0.1)`})}),a}},326:function(e,t,r){"use strict";r.d(t,{Z:function(){return h}});var n=r(40431),o=r(46750),i=r(99179),a=r(95596),l=r(85059),s=r(31227),c=r(47093);let u=["className","elementType","ownerState","externalForwardedProps","getSlotOwnerState","internalForwardedProps"],f=["component","slots","slotProps"],d=["component"],p=["disableColorInversion"];function h(e,t){let{className:r,elementType:h,ownerState:g,externalForwardedProps:m,getSlotOwnerState:v,internalForwardedProps:y}=t,b=(0,o.Z)(t,u),{component:x,slots:C={[e]:void 0},slotProps:w={[e]:void 0}}=m,S=(0,o.Z)(m,f),E=C[e]||h,A=(0,a.Z)(w[e],g),k=(0,l.Z)((0,n.Z)({className:r},b,{externalForwardedProps:"root"===e?S:void 0,externalSlotProps:A})),{props:{component:O},internalRef:$}=k,Z=(0,o.Z)(k.props,d),B=(0,i.Z)($,null==A?void 0:A.ref,t.ref),P=v?v(Z):{},{disableColorInversion:R=!1}=P,j=(0,o.Z)(P,p),T=(0,n.Z)({},g,j),{getColor:M}=(0,c.VT)(T.variant);if("root"===e){var F;T.color=null!=(F=Z.color)?F:g.color}else R||(T.color=M(Z.color,T.color));let _="root"===e?O||x:O,N=(0,s.Z)(E,(0,n.Z)({},"root"===e&&!x&&!C[e]&&y,"root"!==e&&!C[e]&&y,Z,_&&{as:_},{ref:B}),T);return Object.keys(j).forEach(e=>{delete N[e]}),[E,N]}},4323:function(e,t,r){"use strict";r.d(t,{ZP:function(){return v},Co:function(){return y}});var n=r(40431),o=r(86006),i=r(83596),a=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,l=(0,i.Z)(function(e){return a.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&91>e.charCodeAt(2)}),s=r(17464),c=r(75941),u=r(5013),f=r(85124),d=function(e){return"theme"!==e},p=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?l:d},h=function(e,t,r){var n;if(t){var o=t.shouldForwardProp;n=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof n&&r&&(n=e.__emotion_forwardProp),n},g=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return(0,c.hC)(t,r,n),(0,f.L)(function(){return(0,c.My)(t,r,n)}),null},m=(function e(t,r){var i,a,l=t.__emotion_real===t,f=l&&t.__emotion_base||t;void 0!==r&&(i=r.label,a=r.target);var d=h(t,r,l),m=d||p(f),v=!m("as");return function(){var y=arguments,b=l&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==i&&b.push("label:"+i+";"),null==y[0]||void 0===y[0].raw)b.push.apply(b,y);else{b.push(y[0][0]);for(var x=y.length,C=1;C=60&&240>=Math.round(e.h)?r?Math.round(e.h)-2*t:Math.round(e.h)+2*t:r?Math.round(e.h)+2*t:Math.round(e.h)-2*t)<0?n+=360:n>=360&&(n-=360),n}function c(e,t,r){var n;return 0===e.h&&0===e.s?e.s:((n=r?e.s-.16*t:4===t?e.s+.16:e.s+.05*t)>1&&(n=1),r&&5===t&&n>.1&&(n=.1),n<.06&&(n=.06),Number(n.toFixed(2)))}function u(e,t,r){var n;return(n=r?e.v+.05*t:e.v-.15*t)>1&&(n=1),Number(n.toFixed(2))}function f(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=[],n=(0,o.uA)(e),f=5;f>0;f-=1){var d=a(n),p=l((0,o.uA)({h:s(d,f,!0),s:c(d,f,!0),v:u(d,f,!0)}));r.push(p)}r.push(l(n));for(var h=1;h<=4;h+=1){var g=a(n),m=l((0,o.uA)({h:s(g,h),s:c(g,h),v:u(g,h)}));r.push(m)}return"dark"===t.theme?i.map(function(e){var n,i,a,s=e.index,c=e.opacity;return l((n=(0,o.uA)(t.backgroundColor||"#141414"),i=(0,o.uA)(r[s]),a=100*c/100,{r:(i.r-n.r)*a+n.r,g:(i.g-n.g)*a+n.g,b:(i.b-n.b)*a+n.b}))}):r}var d={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1677FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},p={},h={};Object.keys(d).forEach(function(e){p[e]=f(d[e]),p[e].primary=p[e][5],h[e]=f(d[e],{theme:"dark",backgroundColor:"#141414"}),h[e].primary=h[e][5]}),p.red,p.volcano,p.gold,p.orange,p.yellow,p.lime,p.green,p.cyan;var g=p.blue;p.geekblue,p.purple,p.magenta,p.grey,p.grey},11717:function(e,t,r){"use strict";r.d(t,{E4:function(){return H},jG:function(){return U},t2:function(){return k},fp:function(){return O},xy:function(){return N}});var n=r(90151),o=r(88684),i=function(e){for(var t,r=0,n=0,o=e.length;o>=4;++n,o-=4)t=(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))*1540483477+((t>>>16)*59797<<16),t^=t>>>24,r=(65535&t)*1540483477+((t>>>16)*59797<<16)^(65535&r)*1540483477+((r>>>16)*59797<<16);switch(o){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r^=255&e.charCodeAt(n),r=(65535&r)*1540483477+((r>>>16)*59797<<16)}return r^=r>>>13,(((r=(65535&r)*1540483477+((r>>>16)*59797<<16))^r>>>15)>>>0).toString(36)},a=r(86006);r(55567),r(81027);var l=r(18050),s=r(49449),c=r(65877),u=function(){function e(t){(0,l.Z)(this,e),(0,c.Z)(this,"instanceId",void 0),(0,c.Z)(this,"cache",new Map),this.instanceId=t}return(0,s.Z)(e,[{key:"get",value:function(e){return this.cache.get(e.join("%"))||null}},{key:"update",value:function(e,t){var r=e.join("%"),n=t(this.cache.get(r));null===n?this.cache.delete(r):this.cache.set(r,n)}}]),e}(),f="data-token-hash",d="data-css-hash",p="__cssinjs_instance__",h=a.createContext({hashPriority:"low",cache:function(){var e=Math.random().toString(12).slice(2);if("undefined"!=typeof document&&document.head&&document.body){var t=document.body.querySelectorAll("style[".concat(d,"]"))||[],r=document.head.firstChild;Array.from(t).forEach(function(t){t[p]=t[p]||e,t[p]===e&&document.head.insertBefore(t,r)});var n={};Array.from(document.querySelectorAll("style[".concat(d,"]"))).forEach(function(t){var r,o=t.getAttribute(d);n[o]?t[p]===e&&(null===(r=t.parentNode)||void 0===r||r.removeChild(t)):n[o]=!0})}return new u(e)}(),defaultCache:!0}),g=r(965),m=r(71693),v=r(52160);function y(e){var t="";return Object.keys(e).forEach(function(r){var n=e[r];t+=r,n&&"object"===(0,g.Z)(n)?t+=y(n):t+=n}),t}var b="layer-".concat(Date.now(),"-").concat(Math.random()).replace(/\./g,""),x="903px",C=void 0,w=r(60456);function S(e,t,r,o){var i=a.useContext(h).cache,l=[e].concat((0,n.Z)(t));return a.useMemo(function(){i.update(l,function(e){var t=(0,w.Z)(e||[],2),n=t[0];return[(void 0===n?0:n)+1,t[1]||r()]})},[l.join("_")]),a.useEffect(function(){return function(){i.update(l,function(e){var t=(0,w.Z)(e||[],2),r=t[0],n=void 0===r?0:r,i=t[1];return 0==n-1?(null==o||o(i,!1),null):[n-1,i]})}},l),i.get(l)[1]}var E={},A=new Map,k=function(e,t,r,n){var i=r.getDerivativeToken(e),a=(0,o.Z)((0,o.Z)({},i),t);return n&&(a=n(a)),a};function O(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=(0,a.useContext)(h).cache.instanceId,l=r.salt,s=void 0===l?"":l,c=r.override,u=void 0===c?E:c,d=r.formatToken,g=a.useMemo(function(){return Object.assign.apply(Object,[{}].concat((0,n.Z)(t)))},[t]),m=a.useMemo(function(){return y(g)},[g]),v=a.useMemo(function(){return y(u)},[u]);return S("token",[s,e.id,m,v],function(){var t=k(g,u,e,d),r=i("".concat(s,"_").concat(y(t)));t._tokenKey=r,A.set(r,(A.get(r)||0)+1);var n="".concat("css","-").concat(i(r));return t._hashId=n,[t,n]},function(e){var t,r,n;t=e[0]._tokenKey,A.set(t,(A.get(t)||0)-1),(n=(r=Array.from(A.keys())).filter(function(e){return 0>=(A.get(e)||0)})).length1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{root:!0,parentSelectors:[]},a=i.root,l=i.injectHash,s=i.parentSelectors,c=r.hashId,u=r.layer,f=(r.path,r.hashPriority),d=r.transformers,p=void 0===d?[]:d;r.linters;var h="",y={};function S(t){var n=t.getName(c);if(!y[n]){var o=e(t.style,r,{root:!1,parentSelectors:s}),i=(0,w.Z)(o,1)[0];y[n]="@keyframes ".concat(t.getName(c)).concat(i)}}if((function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return t.forEach(function(t){Array.isArray(t)?e(t,r):t&&r.push(t)}),r})(Array.isArray(t)?t:[t]).forEach(function(t){var i="string"!=typeof t||a?t:{};if("string"==typeof i)h+="".concat(i,"\n");else if(i._keyframe)S(i);else{var u=p.reduce(function(e,t){var r;return(null==t?void 0:null===(r=t.visit)||void 0===r?void 0:r.call(t,e))||e},i);Object.keys(u).forEach(function(t){var i=u[t];if("object"!==(0,g.Z)(i)||!i||"animationName"===t&&i._keyframe||"object"===(0,g.Z)(i)&&i&&("_skip_check_"in i||j in i)){function d(e,t){var r=e.replace(/[A-Z]/g,function(e){return"-".concat(e.toLowerCase())}),n=t;Z[e]||"number"!=typeof n||0===n||(n="".concat(n,"px")),"animationName"===e&&null!=t&&t._keyframe&&(S(t),n=t.getName(c)),h+="".concat(r,":").concat(n,";")}var p,m=null!==(p=null==i?void 0:i.value)&&void 0!==p?p:i;"object"===(0,g.Z)(i)&&null!=i&&i[j]&&Array.isArray(m)?m.forEach(function(e){d(t,e)}):d(t,m)}else{var v=!1,b=t.trim(),x=!1;(a||l)&&c?b.startsWith("@")?v=!0:b=function(e,t,r){if(!t)return e;var o=".".concat(t),i="low"===r?":where(".concat(o,")"):o;return e.split(",").map(function(e){var t,r=e.trim().split(/\s+/),o=r[0]||"",a=(null===(t=o.match(/^\w+/))||void 0===t?void 0:t[0])||"";return[o="".concat(a).concat(i).concat(o.slice(a.length))].concat((0,n.Z)(r.slice(1))).join(" ")}).join(",")}(t,c,f):a&&!c&&("&"===b||""===b)&&(b="",x=!0);var C=e(i,r,{root:x,injectHash:v,parentSelectors:[].concat((0,n.Z)(s),[b])}),E=(0,w.Z)(C,2),A=E[0],k=E[1];y=(0,o.Z)((0,o.Z)({},y),k),h+="".concat(b).concat(A)}})}}),a){if(u&&(void 0===C&&(C=function(e,t){if((0,m.Z)()){(0,v.hq)(e,b);var r,n=document.createElement("div");n.style.position="fixed",n.style.left="0",n.style.top="0",null==t||t(n),document.body.appendChild(n);var o=getComputedStyle(n).width===x;return null===(r=n.parentNode)||void 0===r||r.removeChild(n),(0,v.jL)(b),o}return!1}("@layer ".concat(b," { .").concat(b," { width: ").concat(x,"!important; } }"),function(e){e.className=b})),C)){var E=u.split(","),A=E[E.length-1].trim();h="@layer ".concat(A," {").concat(h,"}"),E.length>1&&(h="@layer ".concat(u,"{%%%:%}").concat(h))}}else h="{".concat(h,"}");return[h,y]};function _(){return null}function N(e,t){var r=e.token,o=e.path,l=e.hashId,s=e.layer,u=e.nonce,g=a.useContext(h),m=g.autoClear,y=(g.mock,g.defaultCache),b=g.hashPriority,x=g.container,C=g.ssrInline,E=g.transformers,A=g.linters,k=g.cache,O=r._tokenKey,Z=[O].concat((0,n.Z)(o)),B=S("style",Z,function(){var e=F(t(),{hashId:l,hashPriority:b,layer:s,path:o.join("-"),transformers:E,linters:A}),r=(0,w.Z)(e,2),n=r[0],a=r[1],c=M(n),h=i("".concat(Z.join("%")).concat(c));if(R){var g={mark:d,prepend:"queue",attachTo:x},m="function"==typeof u?u():u;m&&(g.csp={nonce:m});var y=(0,v.hq)(c,h,g);y[p]=k.instanceId,y.setAttribute(f,O),Object.keys(a).forEach(function(e){(0,v.hq)(M(a[e]),"_effect-".concat(e),g)})}return[c,O,h]},function(e,t){var r=(0,w.Z)(e,3)[2];(t||m)&&R&&(0,v.jL)(r,{mark:d})}),P=(0,w.Z)(B,3),T=P[0],j=P[1],N=P[2];return function(e){var t,r;return t=C&&!R&&y?a.createElement("style",(0,$.Z)({},(r={},(0,c.Z)(r,f,j),(0,c.Z)(r,d,N),r),{dangerouslySetInnerHTML:{__html:T}})):a.createElement(_,null),a.createElement(a.Fragment,null,t,e)}}var H=function(){function e(t,r){(0,l.Z)(this,e),(0,c.Z)(this,"name",void 0),(0,c.Z)(this,"style",void 0),(0,c.Z)(this,"_keyframe",!0),this.name=t,this.style=r}return(0,s.Z)(e,[{key:"getName",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e?"".concat(e,"-").concat(this.name):this.name}}]),e}(),D=function(){function e(){(0,l.Z)(this,e),(0,c.Z)(this,"cache",void 0),(0,c.Z)(this,"keys",void 0),(0,c.Z)(this,"cacheCallTimes",void 0),this.cache=new Map,this.keys=[],this.cacheCallTimes=0}return(0,s.Z)(e,[{key:"size",value:function(){return this.keys.length}},{key:"internalGet",value:function(e){var t,r,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o={map:this.cache};return e.forEach(function(e){if(o){var t,r;o=null===(t=o)||void 0===t?void 0:null===(r=t.map)||void 0===r?void 0:r.get(e)}else o=void 0}),null!==(t=o)&&void 0!==t&&t.value&&n&&(o.value[1]=this.cacheCallTimes++),null===(r=o)||void 0===r?void 0:r.value}},{key:"get",value:function(e){var t;return null===(t=this.internalGet(e,!0))||void 0===t?void 0:t[0]}},{key:"has",value:function(e){return!!this.internalGet(e)}},{key:"set",value:function(t,r){var n=this;if(!this.has(t)){if(this.size()+1>e.MAX_CACHE_SIZE+e.MAX_CACHE_OFFSET){var o=this.keys.reduce(function(e,t){var r=(0,w.Z)(e,2)[1];return n.internalGet(t)[1]0,"[Ant Design CSS-in-JS] Theme should have at least one derivative function."),L+=1}return(0,s.Z)(e,[{key:"getDerivativeToken",value:function(e){return this.derivatives.reduce(function(t,r){return r(e,t)},void 0)}}]),e}(),z=new D;function U(e){var t=Array.isArray(e)?e:[e];return z.has(t)||z.set(t,new I(t)),z.get(t)}function W(e){return e.notSplit=!0,e}W(["borderTop","borderBottom"]),W(["borderTop"]),W(["borderBottom"]),W(["borderLeft","borderRight"]),W(["borderLeft"]),W(["borderRight"])},1240:function(e,t,r){"use strict";r.d(t,{Z:function(){return $}});var n=r(40431),o=r(60456),i=r(65877),a=r(89301),l=r(86006),s=r(8683),c=r.n(s),u=r(70333),f=r(83346),d=r(88684),p=r(965),h=r(5004),g=r(52160),m=r(60618);function v(e){return"object"===(0,p.Z)(e)&&"string"==typeof e.name&&"string"==typeof e.theme&&("object"===(0,p.Z)(e.icon)||"function"==typeof e.icon)}function y(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(e).reduce(function(t,r){var n=e[r];return"class"===r?(t.className=n,delete t.class):t[r]=n,t},{})}function b(e){return(0,u.R_)(e)[0]}function x(e){return e?Array.isArray(e)?e:[e]:[]}var C=function(e){var t=(0,l.useContext)(f.Z),r=t.csp,n=t.prefixCls,o="\n.anticon {\n display: inline-block;\n color: inherit;\n font-style: normal;\n line-height: 0;\n text-align: center;\n text-transform: none;\n vertical-align: -0.125em;\n text-rendering: optimizeLegibility;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.anticon > * {\n line-height: 1;\n}\n\n.anticon svg {\n display: inline-block;\n}\n\n.anticon::before {\n display: none;\n}\n\n.anticon .anticon-icon {\n display: block;\n}\n\n.anticon[tabindex] {\n cursor: pointer;\n}\n\n.anticon-spin::before,\n.anticon-spin {\n display: inline-block;\n -webkit-animation: loadingCircle 1s infinite linear;\n animation: loadingCircle 1s infinite linear;\n}\n\n@-webkit-keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n";n&&(o=o.replace(/anticon/g,n)),(0,l.useEffect)(function(){var t=e.current,n=(0,m.A)(t);(0,g.hq)(o,"@ant-design-icons",{prepend:!0,csp:r,attachTo:n})},[])},w=["icon","className","onClick","style","primaryColor","secondaryColor"],S={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1},E=function(e){var t,r,n=e.icon,o=e.className,i=e.onClick,s=e.style,c=e.primaryColor,u=e.secondaryColor,f=(0,a.Z)(e,w),p=l.useRef(),g=S;if(c&&(g={primaryColor:c,secondaryColor:u||b(c)}),C(p),t=v(n),r="icon should be icon definiton, but got ".concat(n),(0,h.ZP)(t,"[@ant-design/icons] ".concat(r)),!v(n))return null;var m=n;return m&&"function"==typeof m.icon&&(m=(0,d.Z)((0,d.Z)({},m),{},{icon:m.icon(g.primaryColor,g.secondaryColor)})),function e(t,r,n){return n?l.createElement(t.tag,(0,d.Z)((0,d.Z)({key:r},y(t.attrs)),n),(t.children||[]).map(function(n,o){return e(n,"".concat(r,"-").concat(t.tag,"-").concat(o))})):l.createElement(t.tag,(0,d.Z)({key:r},y(t.attrs)),(t.children||[]).map(function(n,o){return e(n,"".concat(r,"-").concat(t.tag,"-").concat(o))}))}(m.icon,"svg-".concat(m.name),(0,d.Z)((0,d.Z)({className:o,onClick:i,style:s,"data-icon":m.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},f),{},{ref:p}))};function A(e){var t=x(e),r=(0,o.Z)(t,2),n=r[0],i=r[1];return E.setTwoToneColors({primaryColor:n,secondaryColor:i})}E.displayName="IconReact",E.getTwoToneColors=function(){return(0,d.Z)({},S)},E.setTwoToneColors=function(e){var t=e.primaryColor,r=e.secondaryColor;S.primaryColor=t,S.secondaryColor=r||b(t),S.calculated=!!r};var k=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];A(u.iN.primary);var O=l.forwardRef(function(e,t){var r,s=e.className,u=e.icon,d=e.spin,p=e.rotate,h=e.tabIndex,g=e.onClick,m=e.twoToneColor,v=(0,a.Z)(e,k),y=l.useContext(f.Z),b=y.prefixCls,C=void 0===b?"anticon":b,w=y.rootClassName,S=c()(w,C,(r={},(0,i.Z)(r,"".concat(C,"-").concat(u.name),!!u.name),(0,i.Z)(r,"".concat(C,"-spin"),!!d||"loading"===u.name),r),s),A=h;void 0===A&&g&&(A=-1);var O=x(m),$=(0,o.Z)(O,2),Z=$[0],B=$[1];return l.createElement("span",(0,n.Z)({role:"img","aria-label":u.name},v,{ref:t,tabIndex:A,onClick:g,className:S}),l.createElement(E,{icon:u,primaryColor:Z,secondaryColor:B,style:p?{msTransform:"rotate(".concat(p,"deg)"),transform:"rotate(".concat(p,"deg)")}:void 0}))});O.displayName="AntdIcon",O.getTwoToneColor=function(){var e=E.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor},O.setTwoToneColor=A;var $=O},83346:function(e,t,r){"use strict";var n=(0,r(86006).createContext)({});t.Z=n},34777:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var n=r(40431),o=r(86006),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"check-circle",theme:"filled"},a=r(1240),l=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:i}))})},56222:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var n=r(40431),o=r(86006),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm165.4 618.2l-66-.3L512 563.4l-99.3 118.4-66.1.3c-4.4 0-8-3.5-8-8 0-1.9.7-3.7 1.9-5.2l130.1-155L340.5 359a8.32 8.32 0 01-1.9-5.2c0-4.4 3.6-8 8-8l66.1.3L512 464.6l99.3-118.4 66-.3c4.4 0 8 3.5 8 8 0 1.9-.7 3.7-1.9 5.2L553.5 514l130 155c1.2 1.5 1.9 3.3 1.9 5.2 0 4.4-3.6 8-8 8z"}}]},name:"close-circle",theme:"filled"},a=r(1240),l=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:i}))})},31533:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var n=r(40431),o=r(86006),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M563.8 512l262.5-312.9c4.4-5.2.7-13.1-6.1-13.1h-79.8c-4.7 0-9.2 2.1-12.3 5.7L511.6 449.8 295.1 191.7c-3-3.6-7.5-5.7-12.3-5.7H203c-6.8 0-10.5 7.9-6.1 13.1L459.4 512 196.9 824.9A7.95 7.95 0 00203 838h79.8c4.7 0 9.2-2.1 12.3-5.7l216.5-258.1 216.5 258.1c3 3.6 7.5 5.7 12.3 5.7h79.8c6.8 0 10.5-7.9 6.1-13.1L563.8 512z"}}]},name:"close",theme:"outlined"},a=r(1240),l=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:i}))})},27977:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var n=r(40431),o=r(86006),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"exclamation-circle",theme:"filled"},a=r(1240),l=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:i}))})},49132:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var n=r(40431),o=r(86006),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"info-circle",theme:"filled"},a=r(1240),l=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:i}))})},75710:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var n=r(40431),o=r(86006),i={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"},a=r(1240),l=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,n.Z)({},e,{ref:t,icon:i}))})},32675:function(e,t,r){"use strict";r.d(t,{T6:function(){return d},VD:function(){return p},WE:function(){return c},Yt:function(){return h},lC:function(){return i},py:function(){return s},rW:function(){return o},s:function(){return f},ve:function(){return l},vq:function(){return u}});var n=r(25752);function o(e,t,r){return{r:255*(0,n.sh)(e,255),g:255*(0,n.sh)(t,255),b:255*(0,n.sh)(r,255)}}function i(e,t,r){var o=Math.max(e=(0,n.sh)(e,255),t=(0,n.sh)(t,255),r=(0,n.sh)(r,255)),i=Math.min(e,t,r),a=0,l=0,s=(o+i)/2;if(o===i)l=0,a=0;else{var c=o-i;switch(l=s>.5?c/(2-o-i):c/(o+i),o){case e:a=(t-r)/c+(t1&&(r-=1),r<1/6)?e+(t-e)*(6*r):r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function l(e,t,r){if(e=(0,n.sh)(e,360),t=(0,n.sh)(t,100),r=(0,n.sh)(r,100),0===t)i=r,l=r,o=r;else{var o,i,l,s=r<.5?r*(1+t):r+t-r*t,c=2*r-s;o=a(c,s,e+1/3),i=a(c,s,e),l=a(c,s,e-1/3)}return{r:255*o,g:255*i,b:255*l}}function s(e,t,r){var o=Math.max(e=(0,n.sh)(e,255),t=(0,n.sh)(t,255),r=(0,n.sh)(r,255)),i=Math.min(e,t,r),a=0,l=o-i;if(o===i)a=0;else{switch(o){case e:a=(t-r)/l+(t>16,g:(65280&e)>>8,b:255&e}}},29888:function(e,t,r){"use strict";r.d(t,{R:function(){return n}});var n={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"}},79185:function(e,t,r){"use strict";r.d(t,{uA:function(){return a}});var n=r(32675),o=r(29888),i=r(25752);function a(e){var t={r:0,g:0,b:0},r=1,a=null,l=null,s=null,c=!1,d=!1;return"string"==typeof e&&(e=function(e){if(0===(e=e.trim().toLowerCase()).length)return!1;var t=!1;if(o.R[e])e=o.R[e],t=!0;else if("transparent"===e)return{r:0,g:0,b:0,a:0,format:"name"};var r=u.rgb.exec(e);return r?{r:r[1],g:r[2],b:r[3]}:(r=u.rgba.exec(e))?{r:r[1],g:r[2],b:r[3],a:r[4]}:(r=u.hsl.exec(e))?{h:r[1],s:r[2],l:r[3]}:(r=u.hsla.exec(e))?{h:r[1],s:r[2],l:r[3],a:r[4]}:(r=u.hsv.exec(e))?{h:r[1],s:r[2],v:r[3]}:(r=u.hsva.exec(e))?{h:r[1],s:r[2],v:r[3],a:r[4]}:(r=u.hex8.exec(e))?{r:(0,n.VD)(r[1]),g:(0,n.VD)(r[2]),b:(0,n.VD)(r[3]),a:(0,n.T6)(r[4]),format:t?"name":"hex8"}:(r=u.hex6.exec(e))?{r:(0,n.VD)(r[1]),g:(0,n.VD)(r[2]),b:(0,n.VD)(r[3]),format:t?"name":"hex"}:(r=u.hex4.exec(e))?{r:(0,n.VD)(r[1]+r[1]),g:(0,n.VD)(r[2]+r[2]),b:(0,n.VD)(r[3]+r[3]),a:(0,n.T6)(r[4]+r[4]),format:t?"name":"hex8"}:!!(r=u.hex3.exec(e))&&{r:(0,n.VD)(r[1]+r[1]),g:(0,n.VD)(r[2]+r[2]),b:(0,n.VD)(r[3]+r[3]),format:t?"name":"hex"}}(e)),"object"==typeof e&&(f(e.r)&&f(e.g)&&f(e.b)?(t=(0,n.rW)(e.r,e.g,e.b),c=!0,d="%"===String(e.r).substr(-1)?"prgb":"rgb"):f(e.h)&&f(e.s)&&f(e.v)?(a=(0,i.JX)(e.s),l=(0,i.JX)(e.v),t=(0,n.WE)(e.h,a,l),c=!0,d="hsv"):f(e.h)&&f(e.s)&&f(e.l)&&(a=(0,i.JX)(e.s),s=(0,i.JX)(e.l),t=(0,n.ve)(e.h,a,s),c=!0,d="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(r=e.a)),r=(0,i.Yq)(r),{ok:c,format:e.format||d,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:r}}var l="(?:".concat("[-\\+]?\\d*\\.\\d+%?",")|(?:").concat("[-\\+]?\\d+%?",")"),s="[\\s|\\(]+(".concat(l,")[,|\\s]+(").concat(l,")[,|\\s]+(").concat(l,")\\s*\\)?"),c="[\\s|\\(]+(".concat(l,")[,|\\s]+(").concat(l,")[,|\\s]+(").concat(l,")[,|\\s]+(").concat(l,")\\s*\\)?"),u={CSS_UNIT:new RegExp(l),rgb:RegExp("rgb"+s),rgba:RegExp("rgba"+c),hsl:RegExp("hsl"+s),hsla:RegExp("hsla"+c),hsv:RegExp("hsv"+s),hsva:RegExp("hsva"+c),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function f(e){return!!u.CSS_UNIT.exec(String(e))}},57389:function(e,t,r){"use strict";r.d(t,{C:function(){return l}});var n=r(32675),o=r(29888),i=r(79185),a=r(25752),l=function(){function e(t,r){if(void 0===t&&(t=""),void 0===r&&(r={}),t instanceof e)return t;"number"==typeof t&&(t=(0,n.Yt)(t)),this.originalInput=t;var o,a=(0,i.uA)(t);this.originalInput=t,this.r=a.r,this.g=a.g,this.b=a.b,this.a=a.a,this.roundA=Math.round(100*this.a)/100,this.format=null!==(o=r.format)&&void 0!==o?o:a.format,this.gradientType=r.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=a.ok}return e.prototype.isDark=function(){return 128>this.getBrightness()},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},e.prototype.getLuminance=function(){var e=this.toRgb(),t=e.r/255,r=e.g/255,n=e.b/255;return .2126*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.7152*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(e){return this.a=(0,a.Yq)(e),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){return 0===this.toHsl().s},e.prototype.toHsv=function(){var e=(0,n.py)(this.r,this.g,this.b);return{h:360*e.h,s:e.s,v:e.v,a:this.a}},e.prototype.toHsvString=function(){var e=(0,n.py)(this.r,this.g,this.b),t=Math.round(360*e.h),r=Math.round(100*e.s),o=Math.round(100*e.v);return 1===this.a?"hsv(".concat(t,", ").concat(r,"%, ").concat(o,"%)"):"hsva(".concat(t,", ").concat(r,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var e=(0,n.lC)(this.r,this.g,this.b);return{h:360*e.h,s:e.s,l:e.l,a:this.a}},e.prototype.toHslString=function(){var e=(0,n.lC)(this.r,this.g,this.b),t=Math.round(360*e.h),r=Math.round(100*e.s),o=Math.round(100*e.l);return 1===this.a?"hsl(".concat(t,", ").concat(r,"%, ").concat(o,"%)"):"hsla(".concat(t,", ").concat(r,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(e){return void 0===e&&(e=!1),(0,n.vq)(this.r,this.g,this.b,e)},e.prototype.toHexString=function(e){return void 0===e&&(e=!1),"#"+this.toHex(e)},e.prototype.toHex8=function(e){return void 0===e&&(e=!1),(0,n.s)(this.r,this.g,this.b,this.a,e)},e.prototype.toHex8String=function(e){return void 0===e&&(e=!1),"#"+this.toHex8(e)},e.prototype.toHexShortString=function(e){return void 0===e&&(e=!1),1===this.a?this.toHexString(e):this.toHex8String(e)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var e=Math.round(this.r),t=Math.round(this.g),r=Math.round(this.b);return 1===this.a?"rgb(".concat(e,", ").concat(t,", ").concat(r,")"):"rgba(".concat(e,", ").concat(t,", ").concat(r,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var e=function(e){return"".concat(Math.round(100*(0,a.sh)(e,255)),"%")};return{r:e(this.r),g:e(this.g),b:e(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var e=function(e){return Math.round(100*(0,a.sh)(e,255))};return 1===this.a?"rgb(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%)"):"rgba(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(0===this.a)return"transparent";if(this.a<1)return!1;for(var e="#"+(0,n.vq)(this.r,this.g,this.b,!1),t=0,r=Object.entries(o.R);t=0;return!t&&n&&(e.startsWith("hex")||"name"===e)?"name"===e&&0===this.a?this.toName():this.toRgbString():("rgb"===e&&(r=this.toRgbString()),"prgb"===e&&(r=this.toPercentageRgbString()),("hex"===e||"hex6"===e)&&(r=this.toHexString()),"hex3"===e&&(r=this.toHexString(!0)),"hex4"===e&&(r=this.toHex8String(!0)),"hex8"===e&&(r=this.toHex8String()),"name"===e&&(r=this.toName()),"hsl"===e&&(r=this.toHslString()),"hsv"===e&&(r=this.toHsvString()),r||this.toHexString())},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){void 0===t&&(t=10);var r=this.toHsl();return r.l+=t/100,r.l=(0,a.V2)(r.l),new e(r)},e.prototype.brighten=function(t){void 0===t&&(t=10);var r=this.toRgb();return r.r=Math.max(0,Math.min(255,r.r-Math.round(-(255*(t/100))))),r.g=Math.max(0,Math.min(255,r.g-Math.round(-(255*(t/100))))),r.b=Math.max(0,Math.min(255,r.b-Math.round(-(255*(t/100))))),new e(r)},e.prototype.darken=function(t){void 0===t&&(t=10);var r=this.toHsl();return r.l-=t/100,r.l=(0,a.V2)(r.l),new e(r)},e.prototype.tint=function(e){return void 0===e&&(e=10),this.mix("white",e)},e.prototype.shade=function(e){return void 0===e&&(e=10),this.mix("black",e)},e.prototype.desaturate=function(t){void 0===t&&(t=10);var r=this.toHsl();return r.s-=t/100,r.s=(0,a.V2)(r.s),new e(r)},e.prototype.saturate=function(t){void 0===t&&(t=10);var r=this.toHsl();return r.s+=t/100,r.s=(0,a.V2)(r.s),new e(r)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var r=this.toHsl(),n=(r.h+t)%360;return r.h=n<0?360+n:n,new e(r)},e.prototype.mix=function(t,r){void 0===r&&(r=50);var n=this.toRgb(),o=new e(t).toRgb(),i=r/100,a={r:(o.r-n.r)*i+n.r,g:(o.g-n.g)*i+n.g,b:(o.b-n.b)*i+n.b,a:(o.a-n.a)*i+n.a};return new e(a)},e.prototype.analogous=function(t,r){void 0===t&&(t=6),void 0===r&&(r=30);var n=this.toHsl(),o=360/r,i=[this];for(n.h=(n.h-(o*t>>1)+720)%360;--t;)n.h=(n.h+o)%360,i.push(new e(n));return i},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){void 0===t&&(t=6);for(var r=this.toHsv(),n=r.h,o=r.s,i=r.v,a=[],l=1/t;t--;)a.push(new e({h:n,s:o,v:i})),i=(i+l)%1;return a},e.prototype.splitcomplement=function(){var t=this.toHsl(),r=t.h;return[this,new e({h:(r+72)%360,s:t.s,l:t.l}),new e({h:(r+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var r=this.toRgb(),n=new e(t).toRgb(),o=r.a+n.a*(1-r.a);return new e({r:(r.r*r.a+n.r*n.a*(1-r.a))/o,g:(r.g*r.a+n.g*n.a*(1-r.a))/o,b:(r.b*r.a+n.b*n.a*(1-r.a))/o,a:o})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var r=this.toHsl(),n=r.h,o=[this],i=360/t,a=1;aMath.abs(e-t))?1:e=360===t?(e<0?e%t+t:e%t)/parseFloat(String(t)):e%t/parseFloat(String(t))}function o(e){return Math.min(1,Math.max(0,e))}function i(e){return(isNaN(e=parseFloat(e))||e<0||e>1)&&(e=1),e}function a(e){return e<=1?"".concat(100*Number(e),"%"):e}function l(e){return 1===e.length?"0"+e:String(e)}r.d(t,{FZ:function(){return l},JX:function(){return a},V2:function(){return o},Yq:function(){return i},sh:function(){return n}})},43709:function(e,t,r){"use strict";r.d(t,{Z:function(){return g}});var n=function(){function e(e){var t=this;this._insertTag=function(e){var r;r=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,r),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){if(this.ctr%(this.isSpeedy?65e3:1)==0){var t;this._insertTag(((t=document.createElement("style")).setAttribute("data-emotion",this.key),void 0!==this.nonce&&t.setAttribute("nonce",this.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t))}var r=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t-1&&!e.return)switch(e.type){case a.h5:e.return=function e(t,r){switch((0,i.vp)(t,r)){case 5103:return a.G$+"print-"+t+t;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 a.G$+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return a.G$+t+a.uj+t+a.MS+t+t;case 6828:case 4268:return a.G$+t+a.MS+t+t;case 6165:return a.G$+t+a.MS+"flex-"+t+t;case 5187:return a.G$+t+(0,i.gx)(t,/(\w+).+(:[^]+)/,a.G$+"box-$1$2"+a.MS+"flex-$1$2")+t;case 5443:return a.G$+t+a.MS+"flex-item-"+(0,i.gx)(t,/flex-|-self/,"")+t;case 4675:return a.G$+t+a.MS+"flex-line-pack"+(0,i.gx)(t,/align-content|flex-|-self/,"")+t;case 5548:return a.G$+t+a.MS+(0,i.gx)(t,"shrink","negative")+t;case 5292:return a.G$+t+a.MS+(0,i.gx)(t,"basis","preferred-size")+t;case 6060:return a.G$+"box-"+(0,i.gx)(t,"-grow","")+a.G$+t+a.MS+(0,i.gx)(t,"grow","positive")+t;case 4554:return a.G$+(0,i.gx)(t,/([^-])(transform)/g,"$1"+a.G$+"$2")+t;case 6187:return(0,i.gx)((0,i.gx)((0,i.gx)(t,/(zoom-|grab)/,a.G$+"$1"),/(image-set)/,a.G$+"$1"),t,"")+t;case 5495:case 3959:return(0,i.gx)(t,/(image-set\([^]*)/,a.G$+"$1$`$1");case 4968:return(0,i.gx)((0,i.gx)(t,/(.+:)(flex-)?(.*)/,a.G$+"box-pack:$3"+a.MS+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+a.G$+t+t;case 4095:case 3583:case 4068:case 2532:return(0,i.gx)(t,/(.+)-inline(.+)/,a.G$+"$1$2")+t;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((0,i.to)(t)-1-r>6)switch((0,i.uO)(t,r+1)){case 109:if(45!==(0,i.uO)(t,r+4))break;case 102:return(0,i.gx)(t,/(.+:)(.+)-([^]+)/,"$1"+a.G$+"$2-$3$1"+a.uj+(108==(0,i.uO)(t,r+3)?"$3":"$2-$3"))+t;case 115:return~(0,i.Cw)(t,"stretch")?e((0,i.gx)(t,"stretch","fill-available"),r)+t:t}break;case 4949:if(115!==(0,i.uO)(t,r+1))break;case 6444:switch((0,i.uO)(t,(0,i.to)(t)-3-(~(0,i.Cw)(t,"!important")&&10))){case 107:return(0,i.gx)(t,":",":"+a.G$)+t;case 101:return(0,i.gx)(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+a.G$+(45===(0,i.uO)(t,14)?"inline-":"")+"box$3$1"+a.G$+"$2$3$1"+a.MS+"$2box$3")+t}break;case 5936:switch((0,i.uO)(t,r+11)){case 114:return a.G$+t+a.MS+(0,i.gx)(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return a.G$+t+a.MS+(0,i.gx)(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return a.G$+t+a.MS+(0,i.gx)(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return a.G$+t+a.MS+t+t}return t}(e.value,e.length);break;case a.lK:return(0,l.q)([(0,o.JG)(e,{value:(0,i.gx)(e.value,"@","@"+a.G$)})],n);case a.Fr:if(e.length)return(0,i.$e)(e.props,function(t){switch((0,i.EQ)(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return(0,l.q)([(0,o.JG)(e,{props:[(0,i.gx)(t,/:(read-\w+)/,":"+a.uj+"$1")]})],n);case"::placeholder":return(0,l.q)([(0,o.JG)(e,{props:[(0,i.gx)(t,/:(plac\w+)/,":"+a.G$+"input-$1")]}),(0,o.JG)(e,{props:[(0,i.gx)(t,/:(plac\w+)/,":"+a.uj+"$1")]}),(0,o.JG)(e,{props:[(0,i.gx)(t,/:(plac\w+)/,a.MS+"input-$1")]})],n)}return""})}}],g=function(e){var t,r,o,a,c,u=e.key;if("css"===u){var f=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(f,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var g=e.stylisPlugins||h,m={},v=[];r=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+u+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),r=1;r=4;++n,o-=4)t=(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))*1540483477+((t>>>16)*59797<<16),t^=t>>>24,r=(65535&t)*1540483477+((t>>>16)*59797<<16)^(65535&r)*1540483477+((r>>>16)*59797<<16);switch(o){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r^=255&e.charCodeAt(n),r=(65535&r)*1540483477+((r>>>16)*59797<<16)}return r^=r>>>13,(((r=(65535&r)*1540483477+((r>>>16)*59797<<16))^r>>>15)>>>0).toString(36)}(a)+c,styles:a,next:n}}},85124:function(e,t,r){"use strict";r.d(t,{L:function(){return a},j:function(){return l}});var n,o=r(86006),i=!!(n||(n=r.t(o,2))).useInsertionEffect&&(n||(n=r.t(o,2))).useInsertionEffect,a=i||function(e){return e()},l=i||o.useLayoutEffect},75941:function(e,t,r){"use strict";function n(e,t,r){var n="";return r.split(" ").forEach(function(r){void 0!==e[r]?t.push(e[r]+";"):n+=r+" "}),n}r.d(t,{My:function(){return i},fp:function(){return n},hC:function(){return o}});var o=function(e,t,r){var n=e.key+"-"+t.name;!1===r&&void 0===e.registered[n]&&(e.registered[n]=t.styles)},i=function(e,t,r){o(e,t,r);var n=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var i=t;do e.insert(t===i?"."+n:"",i,e.sheet,!0),i=i.next;while(void 0!==i)}}},18587:function(e,t,r){"use strict";r.d(t,{d6:function(){return i},sI:function(){return a}});var n=r(13809),o=r(88539);let i=(e,t)=>(0,n.Z)(e,t,"Joy"),a=(e,t)=>(0,o.Z)(e,t,"Joy")},38230:function(e,t){"use strict";t.Z={grey:{50:"#F7F7F8",100:"#EBEBEF",200:"#D8D8DF",300:"#B9B9C6",400:"#8F8FA3",500:"#73738C",600:"#5A5A72",700:"#434356",800:"#25252D",900:"#131318"},blue:{50:"#F4FAFF",100:"#DDF1FF",200:"#ADDBFF",300:"#6FB6FF",400:"#3990FF",500:"#096BDE",600:"#054DA7",700:"#02367D",800:"#072859",900:"#00153C"},yellow:{50:"#FFF8C5",100:"#FAE17D",200:"#EAC54F",300:"#D4A72C",400:"#BF8700",500:"#9A6700",600:"#7D4E00",700:"#633C01",800:"#4D2D00",900:"#3B2300"},red:{50:"#FFF8F6",100:"#FFE9E8",200:"#FFC7C5",300:"#FF9192",400:"#FA5255",500:"#D3232F",600:"#A10E25",700:"#77061B",800:"#580013",900:"#39000D"},green:{50:"#F3FEF5",100:"#D7F5DD",200:"#77EC95",300:"#4CC76E",400:"#2CA24D",500:"#1A7D36",600:"#0F5D26",700:"#034318",800:"#002F0F",900:"#001D09"},purple:{50:"#FDF7FF",100:"#F4EAFF",200:"#E1CBFF",300:"#C69EFF",400:"#A374F9",500:"#814DDE",600:"#5F35AE",700:"#452382",800:"#301761",900:"#1D0A42"}}},31227:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var n=r(40431);function o(e,t,r){return void 0===e||"string"==typeof e?t:(0,n.Z)({},t,{ownerState:(0,n.Z)({},t.ownerState,r)})}},87862:function(e,t,r){"use strict";function n(e,t=[]){if(void 0===e)return{};let r={};return Object.keys(e).filter(r=>r.match(/^on[A-Z]/)&&"function"==typeof e[r]&&!t.includes(r)).forEach(t=>{r[t]=e[t]}),r}r.d(t,{Z:function(){return n}})},85059:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var n=r(40431),o=r(89791),i=r(87862);function a(e){if(void 0===e)return{};let t={};return Object.keys(e).filter(t=>!(t.match(/^on[A-Z]/)&&"function"==typeof e[t])).forEach(r=>{t[r]=e[r]}),t}function l(e){let{getSlotProps:t,additionalProps:r,externalSlotProps:l,externalForwardedProps:s,className:c}=e;if(!t){let e=(0,o.Z)(null==s?void 0:s.className,null==l?void 0:l.className,c,null==r?void 0:r.className),t=(0,n.Z)({},null==r?void 0:r.style,null==s?void 0:s.style,null==l?void 0:l.style),i=(0,n.Z)({},r,s,l);return e.length>0&&(i.className=e),Object.keys(t).length>0&&(i.style=t),{props:i,internalRef:void 0}}let u=(0,i.Z)((0,n.Z)({},s,l)),f=a(l),d=a(s),p=t(u),h=(0,o.Z)(null==p?void 0:p.className,null==r?void 0:r.className,c,null==s?void 0:s.className,null==l?void 0:l.className),g=(0,n.Z)({},null==p?void 0:p.style,null==r?void 0:r.style,null==s?void 0:s.style,null==l?void 0:l.style),m=(0,n.Z)({},p,r,d,f);return h.length>0&&(m.className=h),Object.keys(g).length>0&&(m.style=g),{props:m,internalRef:p.ref}}},95596:function(e,t,r){"use strict";function n(e,t){return"function"==typeof e?e(t):e}r.d(t,{Z:function(){return n}})},47093:function(e,t,r){"use strict";r.d(t,{VT:function(){return s},do:function(){return c}});var n=r(86006),o=r(95887),i=r(98918),a=r(9268);let l=n.createContext(void 0),s=e=>{let t=n.useContext(l);return{getColor:(r,n)=>t&&e&&t.includes(e)?r||"context":r||n}};function c({children:e,variant:t}){var r;let n=(0,o.Z)(i.Z);return(0,a.jsx)(l.Provider,{value:t?(null!=(r=n.colorInversionConfig)?r:i.Z.colorInversionConfig)[t]:void 0,children:e})}t.ZP=l},98918:function(e,t,r){"use strict";var n=r(41287);let o=(0,n.Z)();t.Z=o},41287:function(e,t,r){"use strict";r.d(t,{Z:function(){return O}});var n=r(40431),o=r(46750),i=r(95135),a=r(82190),l=r(23343),s=r(57716),c=r(93815);let u=(e,t,r,n=[])=>{let o=e;t.forEach((e,i)=>{i===t.length-1?Array.isArray(o)?o[Number(e)]=r:o&&"object"==typeof o&&(o[e]=r):o&&"object"==typeof o&&(o[e]||(o[e]=n.includes(e)?[]:{}),o=o[e])})},f=(e,t,r)=>{!function e(n,o=[],i=[]){Object.entries(n).forEach(([n,a])=>{r&&(!r||r([...o,n]))||null==a||("object"==typeof a&&Object.keys(a).length>0?e(a,[...o,n],Array.isArray(a)?[...i,n]:i):t([...o,n],a,i))})}(e)},d=(e,t)=>{if("number"==typeof t){if(["lineHeight","fontWeight","opacity","zIndex"].some(t=>e.includes(t)))return t;let r=e[e.length-1];return r.toLowerCase().indexOf("opacity")>=0?t:`${t}px`}return t};function p(e,t){let{prefix:r,shouldSkipGeneratingVar:n}=t||{},o={},i={},a={};return f(e,(e,t,l)=>{if(("string"==typeof t||"number"==typeof t)&&(!n||!n(e,t))){let n=`--${r?`${r}-`:""}${e.join("-")}`;Object.assign(o,{[n]:d(e,t)}),u(i,e,`var(${n})`,l),u(a,e,`var(${n}, ${t})`,l)}},e=>"vars"===e[0]),{css:o,vars:i,varsWithDefaults:a}}let h=["colorSchemes","components"],g=["light"];var m=function(e,t){let{colorSchemes:r={}}=e,a=(0,o.Z)(e,h),{vars:l,css:s,varsWithDefaults:c}=p(a,t),u=c,f={},{light:d}=r,m=(0,o.Z)(r,g);if(Object.entries(m||{}).forEach(([e,r])=>{let{vars:n,css:o,varsWithDefaults:a}=p(r,t);u=(0,i.Z)(u,a),f[e]={css:o,vars:n}}),d){let{css:e,vars:r,varsWithDefaults:n}=p(d,t);u=(0,i.Z)(u,n),f.light={css:e,vars:r}}return{vars:u,generateCssVars:e=>e?{css:(0,n.Z)({},f[e].css),vars:f[e].vars}:{css:(0,n.Z)({},s),vars:l}}},v=r(51579),y=r(2272);let b=(0,n.Z)({},y.Z,{borderRadius:{themeKey:"radius"},boxShadow:{themeKey:"shadow"},fontFamily:{themeKey:"fontFamily"},fontSize:{themeKey:"fontSize"},fontWeight:{themeKey:"fontWeight"},letterSpacing:{themeKey:"letterSpacing"},lineHeight:{themeKey:"lineHeight"}});var x=r(38230);function C(e){var t;return!!e[0].match(/^(typography|variants|breakpoints|colorInversion|colorInversionConfig)$/)||!!e[0].match(/sxConfig$/)||"palette"===e[0]&&!!(null!=(t=e[1])&&t.match(/^(mode)$/))||"focus"===e[0]&&"thickness"!==e[1]}var w=r(18587),S=r(52428);let E=["cssVarPrefix","breakpoints","spacing","components","variants","colorInversion","shouldSkipGeneratingVar"],A=["colorSchemes"],k=(e="joy")=>(0,a.Z)(e);function O(e){var t,r,a,u,f,d,p,h,g,y,O,$,Z,B,P,T,R,j,M,F,_,N,H,D,L,I,z,U,W,G,K,q,V,X,Y,J,Q,ee,et,er,en,eo,ei,ea,el,es,ec,eu,ef,ed,ep,eh,eg,em,ev,ey,eb,ex,eC,ew,eS,eE,eA,ek,eO,e$,eZ,eB,eP,eT,eR,ej,eM,eF,e_,eN,eH,eD,eL,eI,ez,eU;let eW=e||{},{cssVarPrefix:eG="joy",breakpoints:eK,spacing:eq,components:eV,variants:eX,colorInversion:eY,shouldSkipGeneratingVar:eJ=C}=eW,eQ=(0,o.Z)(eW,E),e0=k(eG),e1={primary:x.Z.blue,neutral:x.Z.grey,danger:x.Z.red,info:x.Z.purple,success:x.Z.green,warning:x.Z.yellow,common:{white:"#FFF",black:"#09090D"}},e2=e=>{var t;let r=e.split("-"),n=r[1],o=r[2];return e0(e,null==(t=e1[n])?void 0:t[o])},e5=e=>({plainColor:e2(`palette-${e}-600`),plainHoverBg:e2(`palette-${e}-100`),plainActiveBg:e2(`palette-${e}-200`),plainDisabledColor:e2(`palette-${e}-200`),outlinedColor:e2(`palette-${e}-500`),outlinedBorder:e2(`palette-${e}-200`),outlinedHoverBg:e2(`palette-${e}-100`),outlinedHoverBorder:e2(`palette-${e}-300`),outlinedActiveBg:e2(`palette-${e}-200`),outlinedDisabledColor:e2(`palette-${e}-100`),outlinedDisabledBorder:e2(`palette-${e}-100`),softColor:e2(`palette-${e}-600`),softBg:e2(`palette-${e}-100`),softHoverBg:e2(`palette-${e}-200`),softActiveBg:e2(`palette-${e}-300`),softDisabledColor:e2(`palette-${e}-300`),softDisabledBg:e2(`palette-${e}-50`),solidColor:"#fff",solidBg:e2(`palette-${e}-500`),solidHoverBg:e2(`palette-${e}-600`),solidActiveBg:e2(`palette-${e}-700`),solidDisabledColor:"#fff",solidDisabledBg:e2(`palette-${e}-200`)}),e6=e=>({plainColor:e2(`palette-${e}-300`),plainHoverBg:e2(`palette-${e}-800`),plainActiveBg:e2(`palette-${e}-700`),plainDisabledColor:e2(`palette-${e}-800`),outlinedColor:e2(`palette-${e}-200`),outlinedBorder:e2(`palette-${e}-700`),outlinedHoverBg:e2(`palette-${e}-800`),outlinedHoverBorder:e2(`palette-${e}-600`),outlinedActiveBg:e2(`palette-${e}-900`),outlinedDisabledColor:e2(`palette-${e}-800`),outlinedDisabledBorder:e2(`palette-${e}-800`),softColor:e2(`palette-${e}-200`),softBg:e2(`palette-${e}-900`),softHoverBg:e2(`palette-${e}-800`),softActiveBg:e2(`palette-${e}-700`),softDisabledColor:e2(`palette-${e}-800`),softDisabledBg:e2(`palette-${e}-900`),solidColor:"#fff",solidBg:e2(`palette-${e}-600`),solidHoverBg:e2(`palette-${e}-700`),solidActiveBg:e2(`palette-${e}-800`),solidDisabledColor:e2(`palette-${e}-700`),solidDisabledBg:e2(`palette-${e}-900`)}),e4={palette:{mode:"light",primary:(0,n.Z)({},e1.primary,e5("primary")),neutral:(0,n.Z)({},e1.neutral,{plainColor:e2("palette-neutral-800"),plainHoverColor:e2("palette-neutral-900"),plainHoverBg:e2("palette-neutral-100"),plainActiveBg:e2("palette-neutral-200"),plainDisabledColor:e2("palette-neutral-300"),outlinedColor:e2("palette-neutral-800"),outlinedBorder:e2("palette-neutral-200"),outlinedHoverColor:e2("palette-neutral-900"),outlinedHoverBg:e2("palette-neutral-100"),outlinedHoverBorder:e2("palette-neutral-300"),outlinedActiveBg:e2("palette-neutral-200"),outlinedDisabledColor:e2("palette-neutral-300"),outlinedDisabledBorder:e2("palette-neutral-100"),softColor:e2("palette-neutral-800"),softBg:e2("palette-neutral-100"),softHoverColor:e2("palette-neutral-900"),softHoverBg:e2("palette-neutral-200"),softActiveBg:e2("palette-neutral-300"),softDisabledColor:e2("palette-neutral-300"),softDisabledBg:e2("palette-neutral-50"),solidColor:e2("palette-common-white"),solidBg:e2("palette-neutral-600"),solidHoverBg:e2("palette-neutral-700"),solidActiveBg:e2("palette-neutral-800"),solidDisabledColor:e2("palette-neutral-300"),solidDisabledBg:e2("palette-neutral-50")}),danger:(0,n.Z)({},e1.danger,e5("danger")),info:(0,n.Z)({},e1.info,e5("info")),success:(0,n.Z)({},e1.success,e5("success")),warning:(0,n.Z)({},e1.warning,e5("warning"),{solidColor:e2("palette-warning-800"),solidBg:e2("palette-warning-200"),solidHoverBg:e2("palette-warning-300"),solidActiveBg:e2("palette-warning-400"),solidDisabledColor:e2("palette-warning-200"),solidDisabledBg:e2("palette-warning-50"),softColor:e2("palette-warning-800"),softBg:e2("palette-warning-50"),softHoverBg:e2("palette-warning-100"),softActiveBg:e2("palette-warning-200"),softDisabledColor:e2("palette-warning-200"),softDisabledBg:e2("palette-warning-50"),outlinedColor:e2("palette-warning-800"),outlinedHoverBg:e2("palette-warning-50"),plainColor:e2("palette-warning-800"),plainHoverBg:e2("palette-warning-50")}),common:{white:"#FFF",black:"#09090D"},text:{primary:e2("palette-neutral-800"),secondary:e2("palette-neutral-600"),tertiary:e2("palette-neutral-500")},background:{body:e2("palette-common-white"),surface:e2("palette-common-white"),popup:e2("palette-common-white"),level1:e2("palette-neutral-50"),level2:e2("palette-neutral-100"),level3:e2("palette-neutral-200"),tooltip:e2("palette-neutral-800"),backdrop:"rgba(255 255 255 / 0.5)"},divider:`rgba(${e0("palette-neutral-mainChannel",(0,l.n8)(e1.neutral[500]))} / 0.28)`,focusVisible:e2("palette-primary-500")},shadowRing:"0 0 #000",shadowChannel:"187 187 187"},e3={palette:{mode:"dark",primary:(0,n.Z)({},e1.primary,e6("primary")),neutral:(0,n.Z)({},e1.neutral,{plainColor:e2("palette-neutral-200"),plainHoverColor:e2("palette-neutral-50"),plainHoverBg:e2("palette-neutral-800"),plainActiveBg:e2("palette-neutral-700"),plainDisabledColor:e2("palette-neutral-700"),outlinedColor:e2("palette-neutral-200"),outlinedBorder:e2("palette-neutral-800"),outlinedHoverColor:e2("palette-neutral-50"),outlinedHoverBg:e2("palette-neutral-800"),outlinedHoverBorder:e2("palette-neutral-700"),outlinedActiveBg:e2("palette-neutral-800"),outlinedDisabledColor:e2("palette-neutral-800"),outlinedDisabledBorder:e2("palette-neutral-800"),softColor:e2("palette-neutral-200"),softBg:e2("palette-neutral-800"),softHoverColor:e2("palette-neutral-50"),softHoverBg:e2("palette-neutral-700"),softActiveBg:e2("palette-neutral-600"),softDisabledColor:e2("palette-neutral-700"),softDisabledBg:e2("palette-neutral-900"),solidColor:e2("palette-common-white"),solidBg:e2("palette-neutral-600"),solidHoverBg:e2("palette-neutral-700"),solidActiveBg:e2("palette-neutral-800"),solidDisabledColor:e2("palette-neutral-700"),solidDisabledBg:e2("palette-neutral-900")}),danger:(0,n.Z)({},e1.danger,e6("danger")),info:(0,n.Z)({},e1.info,e6("info")),success:(0,n.Z)({},e1.success,e6("success"),{solidColor:"#fff",solidBg:e2("palette-success-600"),solidHoverBg:e2("palette-success-700"),solidActiveBg:e2("palette-success-800")}),warning:(0,n.Z)({},e1.warning,e6("warning"),{solidColor:e2("palette-common-black"),solidBg:e2("palette-warning-300"),solidHoverBg:e2("palette-warning-400"),solidActiveBg:e2("palette-warning-500")}),common:{white:"#FFF",black:"#09090D"},text:{primary:e2("palette-neutral-100"),secondary:e2("palette-neutral-300"),tertiary:e2("palette-neutral-400")},background:{body:e2("palette-neutral-900"),surface:e2("palette-common-black"),popup:e2("palette-neutral-800"),level1:e2("palette-neutral-800"),level2:e2("palette-neutral-700"),level3:e2("palette-neutral-600"),tooltip:e2("palette-neutral-600"),backdrop:`rgba(${e0("palette-neutral-darkChannel",(0,l.n8)(e1.neutral[800]))} / 0.5)`},divider:`rgba(${e0("palette-neutral-mainChannel",(0,l.n8)(e1.neutral[500]))} / 0.24)`,focusVisible:e2("palette-primary-500")},shadowRing:"0 0 #000",shadowChannel:"0 0 0"},e8='-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',e9=(0,n.Z)({body:`"Public Sans", ${e0("fontFamily-fallback",e8)}`,display:`"Public Sans", ${e0("fontFamily-fallback",e8)}`,code:"Source Code Pro,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace",fallback:e8},eQ.fontFamily),e7=(0,n.Z)({xs:200,sm:300,md:500,lg:600,xl:700,xl2:800,xl3:900},eQ.fontWeight),te=(0,n.Z)({xs3:"0.5rem",xs2:"0.625rem",xs:"0.75rem",sm:"0.875rem",md:"1rem",lg:"1.125rem",xl:"1.25rem",xl2:"1.5rem",xl3:"1.875rem",xl4:"2.25rem",xl5:"3rem",xl6:"3.75rem",xl7:"4.5rem"},eQ.fontSize),tt=(0,n.Z)({sm:1.25,md:1.5,lg:1.7},eQ.lineHeight),tr=(0,n.Z)({sm:"-0.01em",md:"0.083em",lg:"0.125em"},eQ.letterSpacing),tn={colorSchemes:{light:e4,dark:e3},fontSize:te,fontFamily:e9,fontWeight:e7,focus:{thickness:"2px",selector:`&.${(0,w.d6)("","focusVisible")}, &:focus-visible`,default:{outlineOffset:`var(--focus-outline-offset, ${e0("focus-thickness",null!=(t=null==(r=eQ.focus)?void 0:r.thickness)?t:"2px")})`,outline:`${e0("focus-thickness",null!=(a=null==(u=eQ.focus)?void 0:u.thickness)?a:"2px")} solid ${e0("palette-focusVisible",e1.primary[500])}`}},lineHeight:tt,letterSpacing:tr,radius:{xs:"4px",sm:"8px",md:"12px",lg:"16px",xl:"20px"},shadow:{xs:`${e0("shadowRing",null!=(f=null==(d=eQ.colorSchemes)?void 0:null==(p=d.light)?void 0:p.shadowRing)?f:e4.shadowRing)}, 0 1px 2px 0 rgba(${e0("shadowChannel",null!=(h=null==(g=eQ.colorSchemes)?void 0:null==(y=g.light)?void 0:y.shadowChannel)?h:e4.shadowChannel)} / 0.12)`,sm:`${e0("shadowRing",null!=(O=null==($=eQ.colorSchemes)?void 0:null==(Z=$.light)?void 0:Z.shadowRing)?O:e4.shadowRing)}, 0.3px 0.8px 1.1px rgba(${e0("shadowChannel",null!=(B=null==(P=eQ.colorSchemes)?void 0:null==(T=P.light)?void 0:T.shadowChannel)?B:e4.shadowChannel)} / 0.11), 0.5px 1.3px 1.8px -0.6px rgba(${e0("shadowChannel",null!=(R=null==(j=eQ.colorSchemes)?void 0:null==(M=j.light)?void 0:M.shadowChannel)?R:e4.shadowChannel)} / 0.18), 1.1px 2.7px 3.8px -1.2px rgba(${e0("shadowChannel",null!=(F=null==(_=eQ.colorSchemes)?void 0:null==(N=_.light)?void 0:N.shadowChannel)?F:e4.shadowChannel)} / 0.26)`,md:`${e0("shadowRing",null!=(H=null==(D=eQ.colorSchemes)?void 0:null==(L=D.light)?void 0:L.shadowRing)?H:e4.shadowRing)}, 0.3px 0.8px 1.1px rgba(${e0("shadowChannel",null!=(I=null==(z=eQ.colorSchemes)?void 0:null==(U=z.light)?void 0:U.shadowChannel)?I:e4.shadowChannel)} / 0.12), 1.1px 2.8px 3.9px -0.4px rgba(${e0("shadowChannel",null!=(W=null==(G=eQ.colorSchemes)?void 0:null==(K=G.light)?void 0:K.shadowChannel)?W:e4.shadowChannel)} / 0.17), 2.4px 6.1px 8.6px -0.8px rgba(${e0("shadowChannel",null!=(q=null==(V=eQ.colorSchemes)?void 0:null==(X=V.light)?void 0:X.shadowChannel)?q:e4.shadowChannel)} / 0.23), 5.3px 13.3px 18.8px -1.2px rgba(${e0("shadowChannel",null!=(Y=null==(J=eQ.colorSchemes)?void 0:null==(Q=J.light)?void 0:Q.shadowChannel)?Y:e4.shadowChannel)} / 0.29)`,lg:`${e0("shadowRing",null!=(ee=null==(et=eQ.colorSchemes)?void 0:null==(er=et.light)?void 0:er.shadowRing)?ee:e4.shadowRing)}, 0.3px 0.8px 1.1px rgba(${e0("shadowChannel",null!=(en=null==(eo=eQ.colorSchemes)?void 0:null==(ei=eo.light)?void 0:ei.shadowChannel)?en:e4.shadowChannel)} / 0.11), 1.8px 4.5px 6.4px -0.2px rgba(${e0("shadowChannel",null!=(ea=null==(el=eQ.colorSchemes)?void 0:null==(es=el.light)?void 0:es.shadowChannel)?ea:e4.shadowChannel)} / 0.13), 3.2px 7.9px 11.2px -0.4px rgba(${e0("shadowChannel",null!=(ec=null==(eu=eQ.colorSchemes)?void 0:null==(ef=eu.light)?void 0:ef.shadowChannel)?ec:e4.shadowChannel)} / 0.16), 4.8px 12px 17px -0.5px rgba(${e0("shadowChannel",null!=(ed=null==(ep=eQ.colorSchemes)?void 0:null==(eh=ep.light)?void 0:eh.shadowChannel)?ed:e4.shadowChannel)} / 0.19), 7px 17.5px 24.7px -0.7px rgba(${e0("shadowChannel",null!=(eg=null==(em=eQ.colorSchemes)?void 0:null==(ev=em.light)?void 0:ev.shadowChannel)?eg:e4.shadowChannel)} / 0.21)`,xl:`${e0("shadowRing",null!=(ey=null==(eb=eQ.colorSchemes)?void 0:null==(ex=eb.light)?void 0:ex.shadowRing)?ey:e4.shadowRing)}, 0.3px 0.8px 1.1px rgba(${e0("shadowChannel",null!=(eC=null==(ew=eQ.colorSchemes)?void 0:null==(eS=ew.light)?void 0:eS.shadowChannel)?eC:e4.shadowChannel)} / 0.11), 1.8px 4.5px 6.4px -0.2px rgba(${e0("shadowChannel",null!=(eE=null==(eA=eQ.colorSchemes)?void 0:null==(ek=eA.light)?void 0:ek.shadowChannel)?eE:e4.shadowChannel)} / 0.13), 3.2px 7.9px 11.2px -0.4px rgba(${e0("shadowChannel",null!=(eO=null==(e$=eQ.colorSchemes)?void 0:null==(eZ=e$.light)?void 0:eZ.shadowChannel)?eO:e4.shadowChannel)} / 0.16), 4.8px 12px 17px -0.5px rgba(${e0("shadowChannel",null!=(eB=null==(eP=eQ.colorSchemes)?void 0:null==(eT=eP.light)?void 0:eT.shadowChannel)?eB:e4.shadowChannel)} / 0.19), 7px 17.5px 24.7px -0.7px rgba(${e0("shadowChannel",null!=(eR=null==(ej=eQ.colorSchemes)?void 0:null==(eM=ej.light)?void 0:eM.shadowChannel)?eR:e4.shadowChannel)} / 0.21), 10.2px 25.5px 36px -0.9px rgba(${e0("shadowChannel",null!=(eF=null==(e_=eQ.colorSchemes)?void 0:null==(eN=e_.light)?void 0:eN.shadowChannel)?eF:e4.shadowChannel)} / 0.24), 14.8px 36.8px 52.1px -1.1px rgba(${e0("shadowChannel",null!=(eH=null==(eD=eQ.colorSchemes)?void 0:null==(eL=eD.light)?void 0:eL.shadowChannel)?eH:e4.shadowChannel)} / 0.27), 21px 52.3px 74px -1.2px rgba(${e0("shadowChannel",null!=(eI=null==(ez=eQ.colorSchemes)?void 0:null==(eU=ez.light)?void 0:eU.shadowChannel)?eI:e4.shadowChannel)} / 0.29)`},zIndex:{badge:1,table:10,popup:1e3,modal:1300,tooltip:1500},typography:{display1:{fontFamily:e0("fontFamily-display",e9.display),fontWeight:e0("fontWeight-xl",e7.xl.toString()),fontSize:e0("fontSize-xl7",te.xl7),lineHeight:e0("lineHeight-sm",tt.sm.toString()),letterSpacing:e0("letterSpacing-sm",tr.sm),color:e0("palette-text-primary",e4.palette.text.primary)},display2:{fontFamily:e0("fontFamily-display",e9.display),fontWeight:e0("fontWeight-xl",e7.xl.toString()),fontSize:e0("fontSize-xl6",te.xl6),lineHeight:e0("lineHeight-sm",tt.sm.toString()),letterSpacing:e0("letterSpacing-sm",tr.sm),color:e0("palette-text-primary",e4.palette.text.primary)},h1:{fontFamily:e0("fontFamily-display",e9.display),fontWeight:e0("fontWeight-lg",e7.lg.toString()),fontSize:e0("fontSize-xl5",te.xl5),lineHeight:e0("lineHeight-sm",tt.sm.toString()),letterSpacing:e0("letterSpacing-sm",tr.sm),color:e0("palette-text-primary",e4.palette.text.primary)},h2:{fontFamily:e0("fontFamily-display",e9.display),fontWeight:e0("fontWeight-lg",e7.lg.toString()),fontSize:e0("fontSize-xl4",te.xl4),lineHeight:e0("lineHeight-sm",tt.sm.toString()),letterSpacing:e0("letterSpacing-sm",tr.sm),color:e0("palette-text-primary",e4.palette.text.primary)},h3:{fontFamily:e0("fontFamily-body",e9.body),fontWeight:e0("fontWeight-md",e7.md.toString()),fontSize:e0("fontSize-xl3",te.xl3),lineHeight:e0("lineHeight-sm",tt.sm.toString()),color:e0("palette-text-primary",e4.palette.text.primary)},h4:{fontFamily:e0("fontFamily-body",e9.body),fontWeight:e0("fontWeight-md",e7.md.toString()),fontSize:e0("fontSize-xl2",te.xl2),lineHeight:e0("lineHeight-md",tt.md.toString()),color:e0("palette-text-primary",e4.palette.text.primary)},h5:{fontFamily:e0("fontFamily-body",e9.body),fontWeight:e0("fontWeight-md",e7.md.toString()),fontSize:e0("fontSize-xl",te.xl),lineHeight:e0("lineHeight-md",tt.md.toString()),color:e0("palette-text-primary",e4.palette.text.primary)},h6:{fontFamily:e0("fontFamily-body",e9.body),fontWeight:e0("fontWeight-md",e7.md.toString()),fontSize:e0("fontSize-lg",te.lg),lineHeight:e0("lineHeight-md",tt.md.toString()),color:e0("palette-text-primary",e4.palette.text.primary)},body1:{fontFamily:e0("fontFamily-body",e9.body),fontSize:e0("fontSize-md",te.md),lineHeight:e0("lineHeight-md",tt.md.toString()),color:e0("palette-text-primary",e4.palette.text.primary)},body2:{fontFamily:e0("fontFamily-body",e9.body),fontSize:e0("fontSize-sm",te.sm),lineHeight:e0("lineHeight-md",tt.md.toString()),color:e0("palette-text-secondary",e4.palette.text.secondary)},body3:{fontFamily:e0("fontFamily-body",e9.body),fontSize:e0("fontSize-xs",te.xs),lineHeight:e0("lineHeight-md",tt.md.toString()),color:e0("palette-text-tertiary",e4.palette.text.tertiary)},body4:{fontFamily:e0("fontFamily-body",e9.body),fontSize:e0("fontSize-xs2",te.xs2),lineHeight:e0("lineHeight-md",tt.md.toString()),color:e0("palette-text-tertiary",e4.palette.text.tertiary)},body5:{fontFamily:e0("fontFamily-body",e9.body),fontSize:e0("fontSize-xs3",te.xs3),lineHeight:e0("lineHeight-md",tt.md.toString()),color:e0("palette-text-tertiary",e4.palette.text.tertiary)}}},to=eQ?(0,i.Z)(tn,eQ):tn,{colorSchemes:ti}=to,ta=(0,o.Z)(to,A),tl=(0,n.Z)({colorSchemes:ti},ta,{breakpoints:(0,s.Z)(null!=eK?eK:{}),components:(0,i.Z)({MuiSvgIcon:{defaultProps:{fontSize:"xl"},styleOverrides:{root:({ownerState:e,theme:t})=>{var r;let o=e.instanceFontSize;return(0,n.Z)({color:"var(--Icon-color)",margin:"var(--Icon-margin)"},e.fontSize&&"inherit"!==e.fontSize&&{fontSize:`var(--Icon-fontSize, ${t.vars.fontSize[e.fontSize]})`},e.color&&"inherit"!==e.color&&"context"!==e.color&&t.vars.palette[e.color]&&{color:`rgba(${null==(r=t.vars.palette[e.color])?void 0:r.mainChannel} / 1)`},"context"===e.color&&{color:t.vars.palette.text.secondary},o&&"inherit"!==o&&{"--Icon-fontSize":t.vars.fontSize[o]})}}}},eV),cssVarPrefix:eG,getCssVar:e0,spacing:(0,c.Z)(eq),colorInversionConfig:{soft:["plain","outlined","soft","solid"],solid:["plain","outlined","soft","solid"]}});Object.entries(tl.colorSchemes).forEach(([e,t])=>{!function(e,t){Object.keys(t).forEach(r=>{let n={main:"500",light:"200",dark:"800"};"dark"===e&&(n.main=400),!t[r].mainChannel&&t[r][n.main]&&(t[r].mainChannel=(0,l.n8)(t[r][n.main])),!t[r].lightChannel&&t[r][n.light]&&(t[r].lightChannel=(0,l.n8)(t[r][n.light])),!t[r].darkChannel&&t[r][n.dark]&&(t[r].darkChannel=(0,l.n8)(t[r][n.dark]))})}(e,t.palette)});let{vars:ts,generateCssVars:tc}=m((0,n.Z)({colorSchemes:ti},ta),{prefix:eG,shouldSkipGeneratingVar:eJ});tl.vars=ts,tl.generateCssVars=tc,tl.unstable_sxConfig=(0,n.Z)({},b,null==e?void 0:e.unstable_sxConfig),tl.unstable_sx=function(e){return(0,v.Z)({sx:e,theme:this})},tl.getColorSchemeSelector=e=>"light"===e?"&":`&[data-joy-color-scheme="${e}"], [data-joy-color-scheme="${e}"] &`;let tu={getCssVar:e0,palette:tl.colorSchemes.light.palette};return tl.variants=(0,i.Z)({plain:(0,S.Zm)("plain",tu),plainHover:(0,S.Zm)("plainHover",tu),plainActive:(0,S.Zm)("plainActive",tu),plainDisabled:(0,S.Zm)("plainDisabled",tu),outlined:(0,S.Zm)("outlined",tu),outlinedHover:(0,S.Zm)("outlinedHover",tu),outlinedActive:(0,S.Zm)("outlinedActive",tu),outlinedDisabled:(0,S.Zm)("outlinedDisabled",tu),soft:(0,S.Zm)("soft",tu),softHover:(0,S.Zm)("softHover",tu),softActive:(0,S.Zm)("softActive",tu),softDisabled:(0,S.Zm)("softDisabled",tu),solid:(0,S.Zm)("solid",tu),solidHover:(0,S.Zm)("solidHover",tu),solidActive:(0,S.Zm)("solidActive",tu),solidDisabled:(0,S.Zm)("solidDisabled",tu)},eX),tl.palette=(0,n.Z)({},tl.colorSchemes.light.palette,{colorScheme:"light"}),tl.shouldSkipGeneratingVar=eJ,tl.colorInversion="function"==typeof eY?eY:(0,i.Z)({soft:(0,S.pP)(tl,!0),solid:(0,S.Lo)(tl,!0)},eY||{},{clone:!1}),tl}},50645:function(e,t,r){"use strict";var n=r(9312),o=r(98918);let i=(0,n.ZP)({defaultTheme:o.Z});t.Z=i},88930:function(e,t,r){"use strict";r.d(t,{Z:function(){return a}});var n=r(40431),o=r(38295),i=r(98918);function a({props:e,name:t}){return(0,o.Z)({props:e,name:t,defaultTheme:(0,n.Z)({},i.Z,{components:{}})})}},52428:function(e,t,r){"use strict";r.d(t,{Lo:function(){return f},Zm:function(){return c},pP:function(){return u}});var n=r(40431),o=r(82190);let i=e=>e&&"object"==typeof e&&Object.keys(e).some(e=>{var t;return null==(t=e.match)?void 0:t.call(e,/^(plain(Hover|Active|Disabled)?(Color|Bg)|outlined(Hover|Active|Disabled)?(Color|Border|Bg)|soft(Hover|Active|Disabled)?(Color|Bg)|solid(Hover|Active|Disabled)?(Color|Bg))$/)}),a=(e,t,r)=>{t.includes("Color")&&(e.color=r),t.includes("Bg")&&(e.backgroundColor=r),t.includes("Border")&&(e.borderColor=r)},l=(e,t,r)=>{let n={};return Object.entries(t||{}).forEach(([t,o])=>{if(t.match(RegExp(`${e}(color|bg|border)`,"i"))&&o){let e=r?r(t):o;t.includes("Disabled")&&(n.pointerEvents="none",n.cursor="default"),t.match(/(Hover|Active|Disabled)/)||(n["--variant-borderWidth"]||(n["--variant-borderWidth"]="0px"),t.includes("Border")&&(n["--variant-borderWidth"]="1px",n.border="var(--variant-borderWidth) solid")),a(n,t,e)}}),n},s=e=>t=>`--${e?`${e}-`:""}${t.replace(/^--/,"")}`,c=(e,t)=>{let r={};if(t){let{getCssVar:o,palette:a}=t;Object.entries(a).forEach(t=>{let[s,c]=t;i(c)&&"object"==typeof c&&(r=(0,n.Z)({},r,{[s]:l(e,c,e=>o(`palette-${s}-${e}`,a[s][e]))}))})}return r.context=l(e,{plainColor:"var(--variant-plainColor)",plainHoverColor:"var(--variant-plainHoverColor)",plainHoverBg:"var(--variant-plainHoverBg)",plainActiveBg:"var(--variant-plainActiveBg)",plainDisabledColor:"var(--variant-plainDisabledColor)",outlinedColor:"var(--variant-outlinedColor)",outlinedBorder:"var(--variant-outlinedBorder)",outlinedHoverColor:"var(--variant-outlinedHoverColor)",outlinedHoverBorder:"var(--variant-outlinedHoverBorder)",outlinedHoverBg:"var(--variant-outlinedHoverBg)",outlinedActiveBg:"var(--variant-outlinedActiveBg)",outlinedDisabledColor:"var(--variant-outlinedDisabledColor)",outlinedDisabledBorder:"var(--variant-outlinedDisabledBorder)",softColor:"var(--variant-softColor)",softBg:"var(--variant-softBg)",softHoverColor:"var(--variant-softHoverColor)",softHoverBg:"var(--variant-softHoverBg)",softActiveBg:"var(--variant-softActiveBg)",softDisabledColor:"var(--variant-softDisabledColor)",softDisabledBg:"var(--variant-softDisabledBg)",solidColor:"var(--variant-solidColor)",solidBg:"var(--variant-solidBg)",solidHoverColor:"var(--variant-solidHoverColor)",solidHoverBg:"var(--variant-solidHoverBg)",solidActiveBg:"var(--variant-solidActiveBg)",solidDisabledColor:"var(--variant-solidDisabledColor)",solidDisabledBg:"var(--variant-solidDisabledBg)"}),r},u=(e,t)=>{let r=(0,o.Z)(e.cssVarPrefix),n=s(e.cssVarPrefix),a={},l=t?t=>{var n,o;let i=t.split("-"),a=i[1],l=i[2];return r(t,null==(n=e.palette)?void 0:null==(o=n[a])?void 0:o[l])}:r;return Object.entries(e.palette).forEach(t=>{let[r,o]=t;i(o)&&(a[r]={"--Badge-ringColor":l(`palette-${r}-softBg`),[n("--shadowChannel")]:l(`palette-${r}-darkChannel`),[e.getColorSchemeSelector("dark")]:{[n("--palette-focusVisible")]:l(`palette-${r}-300`),[n("--palette-background-body")]:`rgba(${l(`palette-${r}-mainChannel`)} / 0.1)`,[n("--palette-background-surface")]:`rgba(${l(`palette-${r}-mainChannel`)} / 0.08)`,[n("--palette-background-level1")]:`rgba(${l(`palette-${r}-mainChannel`)} / 0.2)`,[n("--palette-background-level2")]:`rgba(${l(`palette-${r}-mainChannel`)} / 0.4)`,[n("--palette-background-level3")]:`rgba(${l(`palette-${r}-mainChannel`)} / 0.6)`,[n("--palette-text-primary")]:l(`palette-${r}-100`),[n("--palette-text-secondary")]:`rgba(${l(`palette-${r}-lightChannel`)} / 0.72)`,[n("--palette-text-tertiary")]:`rgba(${l(`palette-${r}-lightChannel`)} / 0.6)`,[n("--palette-divider")]:`rgba(${l(`palette-${r}-lightChannel`)} / 0.2)`,"--variant-plainColor":`rgba(${l(`palette-${r}-lightChannel`)} / 1)`,"--variant-plainHoverColor":l(`palette-${r}-50`),"--variant-plainHoverBg":`rgba(${l(`palette-${r}-mainChannel`)} / 0.16)`,"--variant-plainActiveBg":`rgba(${l(`palette-${r}-mainChannel`)} / 0.32)`,"--variant-plainDisabledColor":`rgba(${l(`palette-${r}-mainChannel`)} / 0.72)`,"--variant-outlinedColor":`rgba(${l(`palette-${r}-lightChannel`)} / 1)`,"--variant-outlinedHoverColor":l(`palette-${r}-50`),"--variant-outlinedBg":"initial","--variant-outlinedBorder":`rgba(${l(`palette-${r}-mainChannel`)} / 0.4)`,"--variant-outlinedHoverBorder":l(`palette-${r}-600`),"--variant-outlinedHoverBg":`rgba(${l(`palette-${r}-mainChannel`)} / 0.16)`,"--variant-outlinedActiveBg":`rgba(${l(`palette-${r}-mainChannel`)} / 0.32)`,"--variant-outlinedDisabledColor":`rgba(${l(`palette-${r}-mainChannel`)} / 0.72)`,"--variant-outlinedDisabledBorder":`rgba(${l(`palette-${r}-mainChannel`)} / 0.2)`,"--variant-softColor":l(`palette-${r}-100`),"--variant-softBg":`rgba(${l(`palette-${r}-mainChannel`)} / 0.24)`,"--variant-softHoverColor":"#fff","--variant-softHoverBg":`rgba(${l(`palette-${r}-mainChannel`)} / 0.32)`,"--variant-softActiveBg":`rgba(${l(`palette-${r}-mainChannel`)} / 0.48)`,"--variant-softDisabledColor":`rgba(${l(`palette-${r}-mainChannel`)} / 0.72)`,"--variant-softDisabledBg":`rgba(${l(`palette-${r}-mainChannel`)} / 0.12)`,"--variant-solidColor":"#fff","--variant-solidBg":l(`palette-${r}-500`),"--variant-solidHoverColor":"#fff","--variant-solidHoverBg":l(`palette-${r}-400`),"--variant-solidActiveBg":l(`palette-${r}-400`),"--variant-solidDisabledColor":`rgba(${l(`palette-${r}-mainChannel`)} / 0.72)`,"--variant-solidDisabledBg":`rgba(${l(`palette-${r}-mainChannel`)} / 0.12)`},[e.getColorSchemeSelector("light")]:{[n("--palette-focusVisible")]:l(`palette-${r}-500`),[n("--palette-background-body")]:`rgba(${l(`palette-${r}-mainChannel`)} / 0.1)`,[n("--palette-background-surface")]:`rgba(${l(`palette-${r}-mainChannel`)} / 0.08)`,[n("--palette-background-level1")]:`rgba(${l(`palette-${r}-mainChannel`)} / 0.2)`,[n("--palette-background-level2")]:`rgba(${l(`palette-${r}-mainChannel`)} / 0.32)`,[n("--palette-background-level3")]:`rgba(${l(`palette-${r}-mainChannel`)} / 0.48)`,[n("--palette-text-primary")]:l(`palette-${r}-700`),[n("--palette-text-secondary")]:`rgba(${l(`palette-${r}-darkChannel`)} / 0.8)`,[n("--palette-text-tertiary")]:`rgba(${l(`palette-${r}-darkChannel`)} / 0.68)`,[n("--palette-divider")]:`rgba(${l(`palette-${r}-mainChannel`)} / 0.32)`,"--variant-plainColor":`rgba(${l(`palette-${r}-mainChannel`)} / 1)`,"--variant-plainHoverColor":l(`palette-${r}-600`),"--variant-plainHoverBg":`rgba(${l(`palette-${r}-mainChannel`)} / 0.12)`,"--variant-plainActiveBg":`rgba(${l(`palette-${r}-mainChannel`)} / 0.24)`,"--variant-plainDisabledColor":`rgba(${l(`palette-${r}-mainChannel`)} / 0.6)`,"--variant-outlinedColor":`rgba(${l(`palette-${r}-mainChannel`)} / 1)`,"--variant-outlinedBorder":`rgba(${l(`palette-${r}-mainChannel`)} / 0.4)`,"--variant-outlinedHoverColor":l(`palette-${r}-600`),"--variant-outlinedHoverBorder":l(`palette-${r}-300`),"--variant-outlinedHoverBg":`rgba(${l(`palette-${r}-mainChannel`)} / 0.12)`,"--variant-outlinedActiveBg":`rgba(${l(`palette-${r}-mainChannel`)} / 0.24)`,"--variant-outlinedDisabledColor":`rgba(${l(`palette-${r}-mainChannel`)} / 0.6)`,"--variant-outlinedDisabledBorder":`rgba(${l(`palette-${r}-mainChannel`)} / 0.12)`,"--variant-softColor":l(`palette-${r}-600`),"--variant-softBg":`rgba(${l(`palette-${r}-lightChannel`)} / 0.72)`,"--variant-softHoverColor":l(`palette-${r}-700`),"--variant-softHoverBg":l(`palette-${r}-200`),"--variant-softActiveBg":l(`palette-${r}-300`),"--variant-softDisabledColor":`rgba(${l(`palette-${r}-mainChannel`)} / 0.6)`,"--variant-softDisabledBg":`rgba(${l(`palette-${r}-mainChannel`)} / 0.08)`,"--variant-solidColor":l("palette-common-white"),"--variant-solidBg":l(`palette-${r}-600`),"--variant-solidHoverColor":l("palette-common-white"),"--variant-solidHoverBg":l(`palette-${r}-500`),"--variant-solidActiveBg":l(`palette-${r}-500`),"--variant-solidDisabledColor":`rgba(${l(`palette-${r}-mainChannel`)} / 0.6)`,"--variant-solidDisabledBg":`rgba(${l(`palette-${r}-mainChannel`)} / 0.08)`}})}),a},f=(e,t)=>{let r=(0,o.Z)(e.cssVarPrefix),n=s(e.cssVarPrefix),a={},l=t?t=>{let n=t.split("-"),o=n[1],i=n[2];return r(t,e.palette[o][i])}:r;return Object.entries(e.palette).forEach(e=>{let[t,r]=e;i(r)&&("warning"===t?a.warning={"--Badge-ringColor":l(`palette-${t}-solidBg`),[n("--shadowChannel")]:l(`palette-${t}-darkChannel`),[n("--palette-focusVisible")]:l(`palette-${t}-700`),[n("--palette-background-body")]:`rgba(${l(`palette-${t}-darkChannel`)} / 0.16)`,[n("--palette-background-surface")]:`rgba(${l(`palette-${t}-darkChannel`)} / 0.1)`,[n("--palette-background-popup")]:l(`palette-${t}-100`),[n("--palette-background-level1")]:`rgba(${l(`palette-${t}-darkChannel`)} / 0.2)`,[n("--palette-background-level2")]:`rgba(${l(`palette-${t}-darkChannel`)} / 0.36)`,[n("--palette-background-level3")]:`rgba(${l(`palette-${t}-darkChannel`)} / 0.6)`,[n("--palette-text-primary")]:l(`palette-${t}-900`),[n("--palette-text-secondary")]:l(`palette-${t}-700`),[n("--palette-text-tertiary")]:l(`palette-${t}-500`),[n("--palette-divider")]:`rgba(${l(`palette-${t}-darkChannel`)} / 0.2)`,"--variant-plainColor":l(`palette-${t}-700`),"--variant-plainHoverColor":l(`palette-${t}-800`),"--variant-plainHoverBg":`rgba(${l(`palette-${t}-mainChannel`)} / 0.12)`,"--variant-plainActiveBg":`rgba(${l(`palette-${t}-mainChannel`)} / 0.32)`,"--variant-plainDisabledColor":`rgba(${l(`palette-${t}-mainChannel`)} / 0.72)`,"--variant-outlinedColor":l(`palette-${t}-700`),"--variant-outlinedBorder":`rgba(${l(`palette-${t}-mainChannel`)} / 0.5)`,"--variant-outlinedHoverColor":l(`palette-${t}-800`),"--variant-outlinedHoverBorder":`rgba(${l(`palette-${t}-mainChannel`)} / 0.6)`,"--variant-outlinedHoverBg":`rgba(${l(`palette-${t}-mainChannel`)} / 0.12)`,"--variant-outlinedActiveBg":`rgba(${l(`palette-${t}-mainChannel`)} / 0.32)`,"--variant-outlinedDisabledColor":`rgba(${l(`palette-${t}-mainChannel`)} / 0.72)`,"--variant-outlinedDisabledBorder":`rgba(${l(`palette-${t}-mainChannel`)} / 0.2)`,"--variant-softColor":l(`palette-${t}-800`),"--variant-softHoverColor":l(`palette-${t}-900`),"--variant-softBg":`rgba(${l(`palette-${t}-mainChannel`)} / 0.2)`,"--variant-softHoverBg":`rgba(${l(`palette-${t}-mainChannel`)} / 0.28)`,"--variant-softActiveBg":`rgba(${l(`palette-${t}-mainChannel`)} / 0.12)`,"--variant-softDisabledColor":`rgba(${l(`palette-${t}-mainChannel`)} / 0.72)`,"--variant-softDisabledBg":`rgba(${l(`palette-${t}-mainChannel`)} / 0.08)`,"--variant-solidColor":"#fff","--variant-solidBg":l(`palette-${t}-600`),"--variant-solidHoverColor":"#fff","--variant-solidHoverBg":l(`palette-${t}-700`),"--variant-solidActiveBg":l(`palette-${t}-800`),"--variant-solidDisabledColor":`rgba(${l(`palette-${t}-mainChannel`)} / 0.72)`,"--variant-solidDisabledBg":`rgba(${l(`palette-${t}-mainChannel`)} / 0.08)`}:a[t]={colorScheme:"dark","--Badge-ringColor":l(`palette-${t}-solidBg`),[n("--shadowChannel")]:l(`palette-${t}-darkChannel`),[n("--palette-focusVisible")]:l(`palette-${t}-200`),[n("--palette-background-body")]:"rgba(0 0 0 / 0.1)",[n("--palette-background-surface")]:"rgba(0 0 0 / 0.06)",[n("--palette-background-popup")]:l(`palette-${t}-700`),[n("--palette-background-level1")]:`rgba(${l(`palette-${t}-darkChannel`)} / 0.2)`,[n("--palette-background-level2")]:`rgba(${l(`palette-${t}-darkChannel`)} / 0.36)`,[n("--palette-background-level3")]:`rgba(${l(`palette-${t}-darkChannel`)} / 0.6)`,[n("--palette-text-primary")]:l("palette-common-white"),[n("--palette-text-secondary")]:l(`palette-${t}-100`),[n("--palette-text-tertiary")]:l(`palette-${t}-200`),[n("--palette-divider")]:`rgba(${l(`palette-${t}-lightChannel`)} / 0.32)`,"--variant-plainColor":l(`palette-${t}-50`),"--variant-plainHoverColor":"#fff","--variant-plainHoverBg":`rgba(${l(`palette-${t}-lightChannel`)} / 0.12)`,"--variant-plainActiveBg":`rgba(${l(`palette-${t}-lightChannel`)} / 0.32)`,"--variant-plainDisabledColor":`rgba(${l(`palette-${t}-lightChannel`)} / 0.72)`,"--variant-outlinedColor":l(`palette-${t}-50`),"--variant-outlinedBorder":`rgba(${l(`palette-${t}-lightChannel`)} / 0.5)`,"--variant-outlinedHoverColor":"#fff","--variant-outlinedHoverBorder":l(`palette-${t}-300`),"--variant-outlinedHoverBg":`rgba(${l(`palette-${t}-lightChannel`)} / 0.12)`,"--variant-outlinedActiveBg":`rgba(${l(`palette-${t}-lightChannel`)} / 0.32)`,"--variant-outlinedDisabledColor":`rgba(${l(`palette-${t}-lightChannel`)} / 0.72)`,"--variant-outlinedDisabledBorder":"rgba(255 255 255 / 0.2)","--variant-softColor":l("palette-common-white"),"--variant-softHoverColor":l("palette-common-white"),"--variant-softBg":`rgba(${l(`palette-${t}-lightChannel`)} / 0.24)`,"--variant-softHoverBg":`rgba(${l(`palette-${t}-lightChannel`)} / 0.36)`,"--variant-softActiveBg":`rgba(${l(`palette-${t}-lightChannel`)} / 0.16)`,"--variant-softDisabledColor":`rgba(${l(`palette-${t}-lightChannel`)} / 0.72)`,"--variant-softDisabledBg":`rgba(${l(`palette-${t}-lightChannel`)} / 0.1)`,"--variant-solidColor":l(`palette-${t}-${"neutral"===t?"600":"500"}`),"--variant-solidBg":l("palette-common-white"),"--variant-solidHoverColor":l(`palette-${t}-700`),"--variant-solidHoverBg":l("palette-common-white"),"--variant-solidActiveBg":l(`palette-${t}-200`),"--variant-solidDisabledColor":`rgba(${l(`palette-${t}-lightChannel`)} / 0.72)`,"--variant-solidDisabledBg":`rgba(${l(`palette-${t}-lightChannel`)} / 0.1)`})}),a}},326:function(e,t,r){"use strict";r.d(t,{Z:function(){return h}});var n=r(40431),o=r(46750),i=r(99179),a=r(95596),l=r(85059),s=r(31227),c=r(47093);let u=["className","elementType","ownerState","externalForwardedProps","getSlotOwnerState","internalForwardedProps"],f=["component","slots","slotProps"],d=["component"],p=["disableColorInversion"];function h(e,t){let{className:r,elementType:h,ownerState:g,externalForwardedProps:m,getSlotOwnerState:v,internalForwardedProps:y}=t,b=(0,o.Z)(t,u),{component:x,slots:C={[e]:void 0},slotProps:w={[e]:void 0}}=m,S=(0,o.Z)(m,f),E=C[e]||h,A=(0,a.Z)(w[e],g),k=(0,l.Z)((0,n.Z)({className:r},b,{externalForwardedProps:"root"===e?S:void 0,externalSlotProps:A})),{props:{component:O},internalRef:$}=k,Z=(0,o.Z)(k.props,d),B=(0,i.Z)($,null==A?void 0:A.ref,t.ref),P=v?v(Z):{},{disableColorInversion:T=!1}=P,R=(0,o.Z)(P,p),j=(0,n.Z)({},g,R),{getColor:M}=(0,c.VT)(j.variant);if("root"===e){var F;j.color=null!=(F=Z.color)?F:g.color}else T||(j.color=M(Z.color,j.color));let _="root"===e?O||x:O,N=(0,s.Z)(E,(0,n.Z)({},"root"===e&&!x&&!C[e]&&y,"root"!==e&&!C[e]&&y,Z,_&&{as:_},{ref:B}),j);return Object.keys(R).forEach(e=>{delete N[e]}),[E,N]}},4323:function(e,t,r){"use strict";r.d(t,{ZP:function(){return v},Co:function(){return y}});var n=r(40431),o=r(86006),i=r(83596),a=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,l=(0,i.Z)(function(e){return a.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&91>e.charCodeAt(2)}),s=r(17464),c=r(75941),u=r(5013),f=r(85124),d=function(e){return"theme"!==e},p=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?l:d},h=function(e,t,r){var n;if(t){var o=t.shouldForwardProp;n=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof n&&r&&(n=e.__emotion_forwardProp),n},g=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return(0,c.hC)(t,r,n),(0,f.L)(function(){return(0,c.My)(t,r,n)}),null},m=(function e(t,r){var i,a,l=t.__emotion_real===t,f=l&&t.__emotion_base||t;void 0!==r&&(i=r.label,a=r.target);var d=h(t,r,l),m=d||p(f),v=!m("as");return function(){var y=arguments,b=l&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==i&&b.push("label:"+i+";"),null==y[0]||void 0===y[0].raw)b.push.apply(b,y);else{b.push(y[0][0]);for(var x=y.length,C=1;C{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}},91559:function(e,t,r){"use strict";r.d(t,{L7:function(){return s},P$:function(){return u},VO:function(){return o},W8:function(){return l},dt:function(){return c},k9:function(){return a}});var n=r(95135);let o={xs:0,sm:600,md:900,lg:1200,xl:1536},i={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${o[e]}px)`};function a(e,t,r){let n=e.theme||{};if(Array.isArray(t)){let e=n.breakpoints||i;return t.reduce((n,o,i)=>(n[e.up(e.keys[i])]=r(t[i]),n),{})}if("object"==typeof t){let e=n.breakpoints||i;return Object.keys(t).reduce((n,i)=>{if(-1!==Object.keys(e.values||o).indexOf(i)){let o=e.up(i);n[o]=r(t[i],i)}else n[i]=t[i];return n},{})}let a=r(t);return a}function l(e={}){var t;let r=null==(t=e.keys)?void 0:t.reduce((t,r)=>{let n=e.up(r);return t[n]={},t},{});return r||{}}function s(e,t){return e.reduce((e,t)=>{let r=e[t],n=!r||0===Object.keys(r).length;return n&&delete e[t],e},t)}function c(e,...t){let r=l(e),o=[r,...t].reduce((e,t)=>(0,n.Z)(e,t),{});return s(Object.keys(r),o)}function u({values:e,breakpoints:t,base:r}){let n;let o=r||function(e,t){if("object"!=typeof e)return{};let r={},n=Object.keys(t);return Array.isArray(e)?n.forEach((t,n)=>{n{null!=e[t]&&(r[t]=!0)}),r}(e,t),i=Object.keys(o);return 0===i.length?e:i.reduce((t,r,o)=>(Array.isArray(e)?(t[r]=null!=e[o]?e[o]:e[n],n=o):"object"==typeof e?(t[r]=null!=e[r]?e[r]:e[n],n=r):t[r]=e,t),{})}},23343:function(e,t,r){"use strict";r.d(t,{$n:function(){return f},_j:function(){return u},mi:function(){return c},n8:function(){return a}});var n=r(16066);function o(e,t=0,r=1){return Math.min(Math.max(t,e),r)}function i(e){let t;if(e.type)return e;if("#"===e.charAt(0))return i(function(e){e=e.slice(1);let t=RegExp(`.{1,${e.length>=6?2:1}}`,"g"),r=e.match(t);return r&&1===r[0].length&&(r=r.map(e=>e+e)),r?`rgb${4===r.length?"a":""}(${r.map((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3).join(", ")})`:""}(e));let r=e.indexOf("("),o=e.substring(0,r);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(o))throw Error((0,n.Z)(9,e));let a=e.substring(r+1,e.length-1);if("color"===o){if(t=(a=a.split(" ")).shift(),4===a.length&&"/"===a[3].charAt(0)&&(a[3]=a[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(t))throw Error((0,n.Z)(10,t))}else a=a.split(",");return{type:o,values:a=a.map(e=>parseFloat(e)),colorSpace:t}}let a=e=>{let t=i(e);return t.values.slice(0,3).map((e,r)=>-1!==t.type.indexOf("hsl")&&0!==r?`${e}%`:e).join(" ")};function l(e){let{type:t,colorSpace:r}=e,{values:n}=e;return -1!==t.indexOf("rgb")?n=n.map((e,t)=>t<3?parseInt(e,10):e):-1!==t.indexOf("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),`${t}(${n=-1!==t.indexOf("color")?`${r} ${n.join(" ")}`:`${n.join(", ")}`})`}function s(e){let t="hsl"===(e=i(e)).type||"hsla"===e.type?i(function(e){e=i(e);let{values:t}=e,r=t[0],n=t[1]/100,o=t[2]/100,a=n*Math.min(o,1-o),s=(e,t=(e+r/30)%12)=>o-a*Math.max(Math.min(t-3,9-t,1),-1),c="rgb",u=[Math.round(255*s(0)),Math.round(255*s(8)),Math.round(255*s(4))];return"hsla"===e.type&&(c+="a",u.push(t[3])),l({type:c,values:u})}(e)).values:e.values;return Number((.2126*(t=t.map(t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4)))[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function c(e,t){let r=s(e),n=s(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function u(e,t){if(e=i(e),t=o(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let r=0;r<3;r+=1)e.values[r]*=1-t;return l(e)}function f(e,t){if(e=i(e),t=o(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(-1!==e.type.indexOf("color"))for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return l(e)}},9312:function(e,t,r){"use strict";r.d(t,{ZP:function(){return b},x9:function(){return m}});var n=r(46750),o=r(40431),i=r(4323),a=r(89587),l=r(53832);let s=["variant"];function c(e){return 0===e.length}function u(e){let{variant:t}=e,r=(0,n.Z)(e,s),o=t||"";return Object.keys(r).sort().forEach(t=>{"color"===t?o+=c(o)?e[t]:(0,l.Z)(e[t]):o+=`${c(o)?t:(0,l.Z)(t)}${(0,l.Z)(e[t].toString())}`}),o}var f=r(51579);let d=["name","slot","skipVariantsResolver","skipSx","overridesResolver"],p=(e,t)=>t.components&&t.components[e]&&t.components[e].styleOverrides?t.components[e].styleOverrides:null,h=(e,t)=>{let r=[];t&&t.components&&t.components[e]&&t.components[e].variants&&(r=t.components[e].variants);let n={};return r.forEach(e=>{let t=u(e.props);n[t]=e.style}),n},g=(e,t,r,n)=>{var o,i;let{ownerState:a={}}=e,l=[],s=null==r?void 0:null==(o=r.components)?void 0:null==(i=o[n])?void 0:i.variants;return s&&s.forEach(r=>{let n=!0;Object.keys(r.props).forEach(t=>{a[t]!==r.props[t]&&e[t]!==r.props[t]&&(n=!1)}),n&&l.push(t[u(r.props)])}),l};function m(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}let v=(0,a.Z)();function y({defaultTheme:e,theme:t,themeId:r}){return 0===Object.keys(t).length?e:t[r]||t}function b(e={}){let{themeId:t,defaultTheme:r=v,rootShouldForwardProp:a=m,slotShouldForwardProp:l=m}=e,s=e=>(0,f.Z)((0,o.Z)({},e,{theme:y((0,o.Z)({},e,{defaultTheme:r,themeId:t}))}));return s.__mui_systemSx=!0,(e,c={})=>{let u;(0,i.Co)(e,e=>e.filter(e=>!(null!=e&&e.__mui_systemSx)));let{name:f,slot:v,skipVariantsResolver:b,skipSx:x,overridesResolver:C}=c,w=(0,n.Z)(c,d),S=void 0!==b?b:v&&"Root"!==v||!1,E=x||!1,A=m;"Root"===v?A=a:v?A=l:"string"==typeof e&&e.charCodeAt(0)>96&&(A=void 0);let k=(0,i.ZP)(e,(0,o.Z)({shouldForwardProp:A,label:u},w)),O=(n,...i)=>{let a=i?i.map(e=>"function"==typeof e&&e.__emotion_real!==e?n=>e((0,o.Z)({},n,{theme:y((0,o.Z)({},n,{defaultTheme:r,themeId:t}))})):e):[],l=n;f&&C&&a.push(e=>{let n=y((0,o.Z)({},e,{defaultTheme:r,themeId:t})),i=p(f,n);if(i){let t={};return Object.entries(i).forEach(([r,i])=>{t[r]="function"==typeof i?i((0,o.Z)({},e,{theme:n})):i}),C(e,t)}return null}),f&&!S&&a.push(e=>{let n=y((0,o.Z)({},e,{defaultTheme:r,themeId:t}));return g(e,h(f,n),n,f)}),E||a.push(s);let c=a.length-i.length;if(Array.isArray(n)&&c>0){let e=Array(c).fill("");(l=[...n,...e]).raw=[...n.raw,...e]}else"function"==typeof n&&n.__emotion_real!==n&&(l=e=>n((0,o.Z)({},e,{theme:y((0,o.Z)({},e,{defaultTheme:r,themeId:t}))})));let u=k(l,...a);return e.muiName&&(u.muiName=e.muiName),u};return k.withConfig&&(O.withConfig=k.withConfig),O}}},57716:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var n=r(46750),o=r(40431);let i=["values","unit","step"],a=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)=>(0,o.Z)({},e,{[t.key]:t.val}),{})};function l(e){let{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:l=5}=e,s=(0,n.Z)(e,i),c=a(t),u=Object.keys(c);function f(e){let n="number"==typeof t[e]?t[e]:e;return`@media (min-width:${n}${r})`}function d(e){let n="number"==typeof t[e]?t[e]:e;return`@media (max-width:${n-l/100}${r})`}function p(e,n){let o=u.indexOf(n);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${r}) and (max-width:${(-1!==o&&"number"==typeof t[u[o]]?t[u[o]]:n)-l/100}${r})`}return(0,o.Z)({keys:u,values:c,up:f,down:d,between:p,only:function(e){return u.indexOf(e)+1{let r=0===e.length?[1]:e;return r.map(e=>{let r=t(e);return"number"==typeof r?`${r}px`:r}).join(" ")};return r.mui=!0,r}},89587:function(e,t,r){"use strict";r.d(t,{Z:function(){return d}});var n=r(40431),o=r(46750),i=r(95135),a=r(57716),l={borderRadius:4},s=r(93815),c=r(51579),u=r(2272);let f=["breakpoints","palette","spacing","shape"];var d=function(e={},...t){let{breakpoints:r={},palette:d={},spacing:p,shape:h={}}=e,g=(0,o.Z)(e,f),m=(0,a.Z)(r),v=(0,s.Z)(p),y=(0,i.Z)({breakpoints:m,direction:"ltr",components:{},palette:(0,n.Z)({mode:"light"},d),spacing:v,shape:(0,n.Z)({},l,h)},g);return(y=t.reduce((e,t)=>(0,i.Z)(e,t),y)).unstable_sxConfig=(0,n.Z)({},u.Z,null==g?void 0:g.unstable_sxConfig),y.unstable_sx=function(e){return(0,c.Z)({sx:e,theme:this})},y}},82190:function(e,t,r){"use strict";function n(e=""){return(t,...r)=>`var(--${e?`${e}-`:""}${t}${function t(...r){if(!r.length)return"";let n=r[0];return"string"!=typeof n||n.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, ${n}`:`, var(--${e?`${e}-`:""}${n}${t(...r.slice(1))})`}(...r)})`}r.d(t,{Z:function(){return n}})},70233:function(e,t,r){"use strict";var n=r(95135);t.Z=function(e,t){return t?(0,n.Z)(e,t,{clone:!1}):e}},48527:function(e,t,r){"use strict";r.d(t,{hB:function(){return h},eI:function(){return p},NA:function(){return g},e6:function(){return v},o3:function(){return y}});var n=r(91559),o=r(95247),i=r(70233);let a={m:"margin",p:"padding"},l={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},s={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},c=function(e){let t={};return r=>(void 0===t[r]&&(t[r]=e(r)),t[r])}(e=>{if(e.length>2){if(!s[e])return[e];e=s[e]}let[t,r]=e.split(""),n=a[t],o=l[r]||"";return Array.isArray(o)?o.map(e=>n+e):[n+o]}),u=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],f=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],d=[...u,...f];function p(e,t,r,n){var i;let a=null!=(i=(0,o.DW)(e,t,!1))?i:r;return"number"==typeof a?e=>"string"==typeof e?e:a*e:Array.isArray(a)?e=>"string"==typeof e?e:a[e]:"function"==typeof a?a:()=>void 0}function h(e){return p(e,"spacing",8,"spacing")}function g(e,t){if("string"==typeof t||null==t)return t;let r=e(Math.abs(t));return t>=0?r:"number"==typeof r?-r:`-${r}`}function m(e,t){let r=h(e.theme);return Object.keys(e).map(o=>(function(e,t,r,o){if(-1===t.indexOf(r))return null;let i=c(r),a=e[r];return(0,n.k9)(e,a,e=>i.reduce((t,r)=>(t[r]=g(o,e),t),{}))})(e,t,o,r)).reduce(i.Z,{})}function v(e){return m(e,u)}function y(e){return m(e,f)}function b(e){return m(e,d)}v.propTypes={},v.filterProps=u,y.propTypes={},y.filterProps=f,b.propTypes={},b.filterProps=d},95247:function(e,t,r){"use strict";r.d(t,{DW:function(){return i},Jq:function(){return a}});var n=r(53832),o=r(91559);function i(e,t,r=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&r){let r=`vars.${t}`.split(".").reduce((e,t)=>e&&e[t]?e[t]:null,e);if(null!=r)return r}return t.split(".").reduce((e,t)=>e&&null!=e[t]?e[t]:null,e)}function a(e,t,r,n=r){let o;return o="function"==typeof e?e(r):Array.isArray(e)?e[r]||n:i(e,r)||n,t&&(o=t(o,n,e)),o}t.ZP=function(e){let{prop:t,cssProperty:r=e.prop,themeKey:l,transform:s}=e,c=e=>{if(null==e[t])return null;let c=e[t],u=e.theme,f=i(u,l)||{};return(0,o.k9)(e,c,e=>{let o=a(f,s,e);return(e===o&&"string"==typeof e&&(o=a(f,s,`${t}${"default"===e?"":(0,n.Z)(e)}`,e)),!1===r)?o:{[r]:o}})};return c.propTypes={},c.filterProps=[t],c}},2272:function(e,t,r){"use strict";r.d(t,{Z:function(){return W}});var n=r(48527),o=r(95247),i=r(70233),a=function(...e){let t=e.reduce((e,t)=>(t.filterProps.forEach(r=>{e[r]=t}),e),{}),r=e=>Object.keys(e).reduce((r,n)=>t[n]?(0,i.Z)(r,t[n](e)):r,{});return r.propTypes={},r.filterProps=e.reduce((e,t)=>e.concat(t.filterProps),[]),r},l=r(91559);function s(e){return"number"!=typeof e?e:`${e}px solid`}let c=(0,o.ZP)({prop:"border",themeKey:"borders",transform:s}),u=(0,o.ZP)({prop:"borderTop",themeKey:"borders",transform:s}),f=(0,o.ZP)({prop:"borderRight",themeKey:"borders",transform:s}),d=(0,o.ZP)({prop:"borderBottom",themeKey:"borders",transform:s}),p=(0,o.ZP)({prop:"borderLeft",themeKey:"borders",transform:s}),h=(0,o.ZP)({prop:"borderColor",themeKey:"palette"}),g=(0,o.ZP)({prop:"borderTopColor",themeKey:"palette"}),m=(0,o.ZP)({prop:"borderRightColor",themeKey:"palette"}),v=(0,o.ZP)({prop:"borderBottomColor",themeKey:"palette"}),y=(0,o.ZP)({prop:"borderLeftColor",themeKey:"palette"}),b=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){let t=(0,n.eI)(e.theme,"shape.borderRadius",4,"borderRadius");return(0,l.k9)(e,e.borderRadius,e=>({borderRadius:(0,n.NA)(t,e)}))}return null};b.propTypes={},b.filterProps=["borderRadius"],a(c,u,f,d,p,h,g,m,v,y,b);let x=e=>{if(void 0!==e.gap&&null!==e.gap){let t=(0,n.eI)(e.theme,"spacing",8,"gap");return(0,l.k9)(e,e.gap,e=>({gap:(0,n.NA)(t,e)}))}return null};x.propTypes={},x.filterProps=["gap"];let C=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){let t=(0,n.eI)(e.theme,"spacing",8,"columnGap");return(0,l.k9)(e,e.columnGap,e=>({columnGap:(0,n.NA)(t,e)}))}return null};C.propTypes={},C.filterProps=["columnGap"];let w=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){let t=(0,n.eI)(e.theme,"spacing",8,"rowGap");return(0,l.k9)(e,e.rowGap,e=>({rowGap:(0,n.NA)(t,e)}))}return null};w.propTypes={},w.filterProps=["rowGap"];let S=(0,o.ZP)({prop:"gridColumn"}),E=(0,o.ZP)({prop:"gridRow"}),A=(0,o.ZP)({prop:"gridAutoFlow"}),k=(0,o.ZP)({prop:"gridAutoColumns"}),O=(0,o.ZP)({prop:"gridAutoRows"}),$=(0,o.ZP)({prop:"gridTemplateColumns"}),Z=(0,o.ZP)({prop:"gridTemplateRows"}),B=(0,o.ZP)({prop:"gridTemplateAreas"}),P=(0,o.ZP)({prop:"gridArea"});function R(e,t){return"grey"===t?t:e}a(x,C,w,S,E,A,k,O,$,Z,B,P);let j=(0,o.ZP)({prop:"color",themeKey:"palette",transform:R}),T=(0,o.ZP)({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:R}),M=(0,o.ZP)({prop:"backgroundColor",themeKey:"palette",transform:R});function F(e){return e<=1&&0!==e?`${100*e}%`:e}a(j,T,M);let _=(0,o.ZP)({prop:"width",transform:F}),N=e=>void 0!==e.maxWidth&&null!==e.maxWidth?(0,l.k9)(e,e.maxWidth,t=>{var r,n,o;let i=(null==(r=e.theme)?void 0:null==(n=r.breakpoints)?void 0:null==(o=n.values)?void 0:o[t])||l.VO[t];return{maxWidth:i||F(t)}}):null;N.filterProps=["maxWidth"];let H=(0,o.ZP)({prop:"minWidth",transform:F}),D=(0,o.ZP)({prop:"height",transform:F}),L=(0,o.ZP)({prop:"maxHeight",transform:F}),I=(0,o.ZP)({prop:"minHeight",transform:F});(0,o.ZP)({prop:"size",cssProperty:"width",transform:F}),(0,o.ZP)({prop:"size",cssProperty:"height",transform:F});let z=(0,o.ZP)({prop:"boxSizing"});a(_,N,H,D,L,I,z);let U={border:{themeKey:"borders",transform:s},borderTop:{themeKey:"borders",transform:s},borderRight:{themeKey:"borders",transform:s},borderBottom:{themeKey:"borders",transform:s},borderLeft:{themeKey:"borders",transform:s},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:b},color:{themeKey:"palette",transform:R},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:R},backgroundColor:{themeKey:"palette",transform:R},p:{style:n.o3},pt:{style:n.o3},pr:{style:n.o3},pb:{style:n.o3},pl:{style:n.o3},px:{style:n.o3},py:{style:n.o3},padding:{style:n.o3},paddingTop:{style:n.o3},paddingRight:{style:n.o3},paddingBottom:{style:n.o3},paddingLeft:{style:n.o3},paddingX:{style:n.o3},paddingY:{style:n.o3},paddingInline:{style:n.o3},paddingInlineStart:{style:n.o3},paddingInlineEnd:{style:n.o3},paddingBlock:{style:n.o3},paddingBlockStart:{style:n.o3},paddingBlockEnd:{style:n.o3},m:{style:n.e6},mt:{style:n.e6},mr:{style:n.e6},mb:{style:n.e6},ml:{style:n.e6},mx:{style:n.e6},my:{style:n.e6},margin:{style:n.e6},marginTop:{style:n.e6},marginRight:{style:n.e6},marginBottom:{style:n.e6},marginLeft:{style:n.e6},marginX:{style:n.e6},marginY:{style:n.e6},marginInline:{style:n.e6},marginInlineStart:{style:n.e6},marginInlineEnd:{style:n.e6},marginBlock:{style:n.e6},marginBlockStart:{style:n.e6},marginBlockEnd:{style:n.e6},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:x},rowGap:{style:w},columnGap:{style:C},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:F},maxWidth:{style:N},minWidth:{transform:F},height:{transform:F},maxHeight:{transform:F},minHeight:{transform:F},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};var W=U},86601:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var n=r(40431),o=r(46750),i=r(95135),a=r(2272);let l=["sx"],s=e=>{var t,r;let n={systemProps:{},otherProps:{}},o=null!=(t=null==e?void 0:null==(r=e.theme)?void 0:r.unstable_sxConfig)?t:a.Z;return Object.keys(e).forEach(t=>{o[t]?n.systemProps[t]=e[t]:n.otherProps[t]=e[t]}),n};function c(e){let t;let{sx:r}=e,a=(0,o.Z)(e,l),{systemProps:c,otherProps:u}=s(a);return t=Array.isArray(r)?[c,...r]:"function"==typeof r?(...e)=>{let t=r(...e);return(0,i.P)(t)?(0,n.Z)({},c,t):c}:(0,n.Z)({},c,r),(0,n.Z)({},u,{sx:t})}},51579:function(e,t,r){"use strict";var n=r(53832),o=r(70233),i=r(95247),a=r(91559),l=r(2272);let s=function(){function e(e,t,r,o){let l={[e]:t,theme:r},s=o[e];if(!s)return{[e]:t};let{cssProperty:c=e,themeKey:u,transform:f,style:d}=s;if(null==t)return null;if("typography"===u&&"inherit"===t)return{[e]:t};let p=(0,i.DW)(r,u)||{};return d?d(l):(0,a.k9)(l,t,t=>{let r=(0,i.Jq)(p,f,t);return(t===r&&"string"==typeof t&&(r=(0,i.Jq)(p,f,`${e}${"default"===t?"":(0,n.Z)(t)}`,t)),!1===c)?r:{[c]:r}})}return function t(r){var n;let{sx:i,theme:s={}}=r||{};if(!i)return null;let c=null!=(n=s.unstable_sxConfig)?n:l.Z;function u(r){let n=r;if("function"==typeof r)n=r(s);else if("object"!=typeof r)return r;if(!n)return null;let i=(0,a.W8)(s.breakpoints),l=Object.keys(i),u=i;return Object.keys(n).forEach(r=>{var i;let l="function"==typeof(i=n[r])?i(s):i;if(null!=l){if("object"==typeof l){if(c[r])u=(0,o.Z)(u,e(r,l,s,c));else{let e=(0,a.k9)({theme:s},l,e=>({[r]:e}));(function(...e){let t=e.reduce((e,t)=>e.concat(Object.keys(t)),[]),r=new Set(t);return e.every(e=>r.size===Object.keys(e).length)})(e,l)?u[r]=t({sx:l,theme:s}):u=(0,o.Z)(u,e)}}else u=(0,o.Z)(u,e(r,l,s,c))}}),(0,a.L7)(l,u)}return Array.isArray(i)?i.map(u):u(i)}}();s.filterProps=["sx"],t.Z=s},95887:function(e,t,r){"use strict";var n=r(89587),o=r(65396);let i=(0,n.Z)();t.Z=function(e=i){return(0,o.Z)(e)}},38295:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(40431),o=r(95887);function i({props:e,name:t,defaultTheme:r,themeId:i}){let a=(0,o.Z)(r);i&&(a=a[i]||a);let l=function(e){let{theme:t,name:r,props:o}=e;return t&&t.components&&t.components[r]&&t.components[r].defaultProps?function e(t,r){let o=(0,n.Z)({},r);return Object.keys(t).forEach(i=>{if(i.toString().match(/^(components|slots)$/))o[i]=(0,n.Z)({},t[i],o[i]);else if(i.toString().match(/^(componentsProps|slotProps)$/)){let a=t[i]||{},l=r[i];o[i]={},l&&Object.keys(l)?a&&Object.keys(a)?(o[i]=(0,n.Z)({},l),Object.keys(a).forEach(t=>{o[i][t]=e(a[t],l[t])})):o[i]=l:o[i]=a}else void 0===o[i]&&(o[i]=t[i])}),o}(t.components[r].defaultProps,o):o}({theme:a,name:t,props:e});return l}},65396:function(e,t,r){"use strict";var n=r(86006),o=r(17464);t.Z=function(e=null){let t=n.useContext(o.T);return t&&0!==Object.keys(t).length?t:e}},47327:function(e,t){"use strict";let r;let n=e=>e,o=(r=n,{configure(e){r=e},generate:e=>r(e),reset(){r=n}});t.Z=o},53832:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var n=r(16066);function o(e){if("string"!=typeof e)throw Error((0,n.Z)(7));return e.charAt(0).toUpperCase()+e.slice(1)}},47562:function(e,t,r){"use strict";function n(e,t,r){let n={};return Object.keys(e).forEach(o=>{n[o]=e[o].reduce((e,n)=>{if(n){let o=t(n);""!==o&&e.push(o),r&&r[n]&&e.push(r[n])}return e},[]).join(" ")}),n}r.d(t,{Z:function(){return n}})},95135:function(e,t,r){"use strict";r.d(t,{P:function(){return o},Z:function(){return function e(t,r,i={clone:!0}){let a=i.clone?(0,n.Z)({},t):t;return o(t)&&o(r)&&Object.keys(r).forEach(n=>{"__proto__"!==n&&(o(r[n])&&n in t&&o(t[n])?a[n]=e(t[n],r[n],i):i.clone?a[n]=o(r[n])?function e(t){if(!o(t))return t;let r={};return Object.keys(t).forEach(n=>{r[n]=e(t[n])}),r}(r[n]):r[n]:a[n]=r[n])}),a}}});var n=r(40431);function o(e){return null!==e&&"object"==typeof e&&e.constructor===Object}},16066:function(e,t,r){"use strict";function n(e){let t="https://mui.com/production-error/?code="+e;for(let e=1;e{o[t]=(0,n.Z)(e,t,r)}),o}},65464:function(e,t,r){"use strict";function n(e,t){"function"==typeof e?e(t):e&&(e.current=t)}r.d(t,{Z:function(){return n}})},99179:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(86006),o=r(65464);function i(...e){return n.useMemo(()=>e.every(e=>null==e)?null:t=>{e.forEach(e=>{(0,o.Z)(e,t)})},e)}},21454:function(e,t,r){"use strict";let n;r.d(t,{Z:function(){return f}});var o=r(86006);let i=!0,a=!1,l={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function s(e){e.metaKey||e.altKey||e.ctrlKey||(i=!0)}function c(){i=!1}function u(){"hidden"===this.visibilityState&&a&&(i=!0)}function f(){let e=o.useCallback(e=>{if(null!=e){var t;(t=e.ownerDocument).addEventListener("keydown",s,!0),t.addEventListener("mousedown",c,!0),t.addEventListener("pointerdown",c,!0),t.addEventListener("touchstart",c,!0),t.addEventListener("visibilitychange",u,!0)}},[]),t=o.useRef(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!function(e){let{target:t}=e;try{return t.matches(":focus-visible")}catch(e){}return i||function(e){let{type:t,tagName:r}=e;return"INPUT"===r&&!!l[t]&&!e.readOnly||"TEXTAREA"===r&&!e.readOnly||!!e.isContentEditable}(t)}(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(a=!0,window.clearTimeout(n),n=window.setTimeout(()=>{a=!1},100),t.current=!1,!0)},ref:e}}},20538:function(e,t,r){"use strict";r.d(t,{n:function(){return i}});var n=r(86006);let o=n.createContext(!1),i=e=>{let{children:t,disabled:r}=e,i=n.useContext(o);return n.createElement(o.Provider,{value:null!=r?r:i},t)};t.Z=o},25844:function(e,t,r){"use strict";r.d(t,{q:function(){return a}});var n=r(86006),o=r(30069);let i=n.createContext(void 0),a=e=>{let{children:t,size:r}=e,a=(0,o.Z)(r);return n.createElement(i.Provider,{value:a},t)};t.Z=i},79746:function(e,t,r){"use strict";r.d(t,{E_:function(){return i},oR:function(){return o}});var n=r(86006);let o="anticon",i=n.createContext({getPrefixCls:(e,t)=>t||(e?`ant-${e}`:"ant"),iconPrefixCls:o}),{Consumer:a}=i},30069:function(e,t,r){"use strict";var n=r(86006),o=r(25844);t.Z=e=>{let t=n.useContext(o.Z),r=n.useMemo(()=>e?"string"==typeof e?null!=e?e:t:e instanceof Function?e(t):t:t,[e,t]);return r}},17583:function(e,t,r){"use strict";let n,o,i;r.d(t,{ZP:function(){return N},w6:function(){return M}});var a=r(11717),l=r(83346),s=r(55567),c=r(79035),u=r(86006),f=(0,u.createContext)(void 0),d=r(66255),p=r(67044),h=e=>{let{locale:t={},children:r,_ANT_MARK__:n}=e;u.useEffect(()=>((0,d.f)(t&&t.Modal),()=>{(0,d.f)()}),[t]);let o=u.useMemo(()=>Object.assign(Object.assign({},t),{exist:!0}),[t]);return u.createElement(p.Z.Provider,{value:o},r)},g=r(91295),m=r(31508),v=r(99528),y=r(79746),b=r(70333),x=r(57389),C=r(71693),w=r(52160);let S=`-ant-${Date.now()}-${Math.random()}`;var E=r(20538),A=r(25844),k=r(81027),O=r(78641);function $(e){let{children:t}=e,[,r]=(0,m.dQ)(),{motion:n}=r,o=u.useRef(!1);return(o.current=o.current||!1===n,o.current)?u.createElement(O.zt,{motion:n},t):t}var Z=r(98663),B=(e,t)=>{let[r,n]=(0,m.dQ)();return(0,a.xy)({theme:r,token:n,hashId:"",path:["ant-design-icons",e],nonce:()=>null==t?void 0:t.nonce},()=>[{[`.${e}`]:Object.assign(Object.assign({},(0,Z.Ro)()),{[`.${e} .${e}-icon`]:{display:"block"}})}])},P=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};let R=["getTargetContainer","getPopupContainer","renderEmpty","pageHeader","input","pagination","form","select","button"];function j(){return n||"ant"}function T(){return o||y.oR}let M=()=>({getPrefixCls:(e,t)=>t||(e?`${j()}-${e}`:j()),getIconPrefixCls:T,getRootPrefixCls:()=>n||j(),getTheme:()=>i}),F=e=>{let{children:t,csp:r,autoInsertSpaceInButton:n,form:o,locale:i,componentSize:d,direction:p,space:b,virtual:x,dropdownMatchSelectWidth:C,popupMatchSelectWidth:w,popupOverflow:S,legacyLocale:O,parentContext:Z,iconPrefixCls:j,theme:T,componentDisabled:M}=e,F=u.useCallback((t,r)=>{let{prefixCls:n}=e;if(r)return r;let o=n||Z.getPrefixCls("");return t?`${o}-${t}`:o},[Z.getPrefixCls,e.prefixCls]),_=j||Z.iconPrefixCls||y.oR,N=_!==Z.iconPrefixCls,H=r||Z.csp,D=B(_,H),L=function(e,t){let r=e||{},n=!1!==r.inherit&&t?t:m.u_,o=(0,s.Z)(()=>{if(!e)return t;let o=Object.assign({},n.components);return Object.keys(e.components||{}).forEach(t=>{o[t]=Object.assign(Object.assign({},o[t]),e.components[t])}),Object.assign(Object.assign(Object.assign({},n),r),{token:Object.assign(Object.assign({},n.token),r.token),components:o})},[r,n],(e,t)=>e.some((e,r)=>{let n=t[r];return!(0,k.Z)(e,n,!0)}));return o}(T,Z.theme),I={csp:H,autoInsertSpaceInButton:n,locale:i||O,direction:p,space:b,virtual:x,popupMatchSelectWidth:null!=w?w:C,popupOverflow:S,getPrefixCls:F,iconPrefixCls:_,theme:L},z=Object.assign({},Z);Object.keys(I).forEach(e=>{void 0!==I[e]&&(z[e]=I[e])}),R.forEach(t=>{let r=e[t];r&&(z[t]=r)});let U=(0,s.Z)(()=>z,z,(e,t)=>{let r=Object.keys(e),n=Object.keys(t);return r.length!==n.length||r.some(r=>e[r]!==t[r])}),W=u.useMemo(()=>({prefixCls:_,csp:H}),[_,H]),G=N?D(t):t,K=u.useMemo(()=>{var e,t,r;return(0,c.T)((null===(e=g.Z.Form)||void 0===e?void 0:e.defaultValidateMessages)||{},(null===(r=null===(t=U.locale)||void 0===t?void 0:t.Form)||void 0===r?void 0:r.defaultValidateMessages)||{},(null==o?void 0:o.validateMessages)||{})},[U,null==o?void 0:o.validateMessages]);Object.keys(K).length>0&&(G=u.createElement(f.Provider,{value:K},t)),i&&(G=u.createElement(h,{locale:i,_ANT_MARK__:"internalMark"},G)),(_||H)&&(G=u.createElement(l.Z.Provider,{value:W},G)),d&&(G=u.createElement(A.q,{size:d},G)),G=u.createElement($,null,G);let q=u.useMemo(()=>{let e=L||{},{algorithm:t,token:r}=e,n=P(e,["algorithm","token"]),o=t&&(!Array.isArray(t)||t.length>0)?(0,a.jG)(t):void 0;return Object.assign(Object.assign({},n),{theme:o,token:Object.assign(Object.assign({},v.Z),r)})},[L]);return T&&(G=u.createElement(m.Mj.Provider,{value:q},G)),void 0!==M&&(G=u.createElement(E.n,{disabled:M},G)),u.createElement(y.E_.Provider,{value:U},G)},_=e=>{let t=u.useContext(y.E_),r=u.useContext(p.Z);return u.createElement(F,Object.assign({parentContext:t,legacyLocale:r},e))};_.ConfigContext=y.E_,_.SizeContext=A.Z,_.config=e=>{let{prefixCls:t,iconPrefixCls:r,theme:a}=e;void 0!==t&&(n=t),void 0!==r&&(o=r),a&&(Object.keys(a).some(e=>e.endsWith("Color"))?function(e,t){let r=function(e,t){let r={},n=(e,t)=>{let r=e.clone();return(r=(null==t?void 0:t(r))||r).toRgbString()},o=(e,t)=>{let o=new x.C(e),i=(0,b.R_)(o.toRgbString());r[`${t}-color`]=n(o),r[`${t}-color-disabled`]=i[1],r[`${t}-color-hover`]=i[4],r[`${t}-color-active`]=i[6],r[`${t}-color-outline`]=o.clone().setAlpha(.2).toRgbString(),r[`${t}-color-deprecated-bg`]=i[0],r[`${t}-color-deprecated-border`]=i[2]};if(t.primaryColor){o(t.primaryColor,"primary");let e=new x.C(t.primaryColor),i=(0,b.R_)(e.toRgbString());i.forEach((e,t)=>{r[`primary-${t+1}`]=e}),r["primary-color-deprecated-l-35"]=n(e,e=>e.lighten(35)),r["primary-color-deprecated-l-20"]=n(e,e=>e.lighten(20)),r["primary-color-deprecated-t-20"]=n(e,e=>e.tint(20)),r["primary-color-deprecated-t-50"]=n(e,e=>e.tint(50)),r["primary-color-deprecated-f-12"]=n(e,e=>e.setAlpha(.12*e.getAlpha()));let a=new x.C(i[0]);r["primary-color-active-deprecated-f-30"]=n(a,e=>e.setAlpha(.3*e.getAlpha())),r["primary-color-active-deprecated-d-02"]=n(a,e=>e.darken(2))}t.successColor&&o(t.successColor,"success"),t.warningColor&&o(t.warningColor,"warning"),t.errorColor&&o(t.errorColor,"error"),t.infoColor&&o(t.infoColor,"info");let i=Object.keys(r).map(t=>`--${e}-${t}: ${r[t]};`);return` + */function v(e,t){let r=m(e,t);return r}["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach(function(e){m[e]=m(e)});let y=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}},91559:function(e,t,r){"use strict";r.d(t,{L7:function(){return s},P$:function(){return u},VO:function(){return o},W8:function(){return l},dt:function(){return c},k9:function(){return a}});var n=r(95135);let o={xs:0,sm:600,md:900,lg:1200,xl:1536},i={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${o[e]}px)`};function a(e,t,r){let n=e.theme||{};if(Array.isArray(t)){let e=n.breakpoints||i;return t.reduce((n,o,i)=>(n[e.up(e.keys[i])]=r(t[i]),n),{})}if("object"==typeof t){let e=n.breakpoints||i;return Object.keys(t).reduce((n,i)=>{if(-1!==Object.keys(e.values||o).indexOf(i)){let o=e.up(i);n[o]=r(t[i],i)}else n[i]=t[i];return n},{})}let a=r(t);return a}function l(e={}){var t;let r=null==(t=e.keys)?void 0:t.reduce((t,r)=>{let n=e.up(r);return t[n]={},t},{});return r||{}}function s(e,t){return e.reduce((e,t)=>{let r=e[t],n=!r||0===Object.keys(r).length;return n&&delete e[t],e},t)}function c(e,...t){let r=l(e),o=[r,...t].reduce((e,t)=>(0,n.Z)(e,t),{});return s(Object.keys(r),o)}function u({values:e,breakpoints:t,base:r}){let n;let o=r||function(e,t){if("object"!=typeof e)return{};let r={},n=Object.keys(t);return Array.isArray(e)?n.forEach((t,n)=>{n{null!=e[t]&&(r[t]=!0)}),r}(e,t),i=Object.keys(o);return 0===i.length?e:i.reduce((t,r,o)=>(Array.isArray(e)?(t[r]=null!=e[o]?e[o]:e[n],n=o):"object"==typeof e?(t[r]=null!=e[r]?e[r]:e[n],n=r):t[r]=e,t),{})}},23343:function(e,t,r){"use strict";r.d(t,{$n:function(){return f},_j:function(){return u},mi:function(){return c},n8:function(){return a}});var n=r(16066);function o(e,t=0,r=1){return Math.min(Math.max(t,e),r)}function i(e){let t;if(e.type)return e;if("#"===e.charAt(0))return i(function(e){e=e.slice(1);let t=RegExp(`.{1,${e.length>=6?2:1}}`,"g"),r=e.match(t);return r&&1===r[0].length&&(r=r.map(e=>e+e)),r?`rgb${4===r.length?"a":""}(${r.map((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3).join(", ")})`:""}(e));let r=e.indexOf("("),o=e.substring(0,r);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(o))throw Error((0,n.Z)(9,e));let a=e.substring(r+1,e.length-1);if("color"===o){if(t=(a=a.split(" ")).shift(),4===a.length&&"/"===a[3].charAt(0)&&(a[3]=a[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(t))throw Error((0,n.Z)(10,t))}else a=a.split(",");return{type:o,values:a=a.map(e=>parseFloat(e)),colorSpace:t}}let a=e=>{let t=i(e);return t.values.slice(0,3).map((e,r)=>-1!==t.type.indexOf("hsl")&&0!==r?`${e}%`:e).join(" ")};function l(e){let{type:t,colorSpace:r}=e,{values:n}=e;return -1!==t.indexOf("rgb")?n=n.map((e,t)=>t<3?parseInt(e,10):e):-1!==t.indexOf("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),`${t}(${n=-1!==t.indexOf("color")?`${r} ${n.join(" ")}`:`${n.join(", ")}`})`}function s(e){let t="hsl"===(e=i(e)).type||"hsla"===e.type?i(function(e){e=i(e);let{values:t}=e,r=t[0],n=t[1]/100,o=t[2]/100,a=n*Math.min(o,1-o),s=(e,t=(e+r/30)%12)=>o-a*Math.max(Math.min(t-3,9-t,1),-1),c="rgb",u=[Math.round(255*s(0)),Math.round(255*s(8)),Math.round(255*s(4))];return"hsla"===e.type&&(c+="a",u.push(t[3])),l({type:c,values:u})}(e)).values:e.values;return Number((.2126*(t=t.map(t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4)))[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function c(e,t){let r=s(e),n=s(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function u(e,t){if(e=i(e),t=o(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let r=0;r<3;r+=1)e.values[r]*=1-t;return l(e)}function f(e,t){if(e=i(e),t=o(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(-1!==e.type.indexOf("color"))for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return l(e)}},9312:function(e,t,r){"use strict";r.d(t,{ZP:function(){return b},x9:function(){return m}});var n=r(46750),o=r(40431),i=r(4323),a=r(89587),l=r(53832);let s=["variant"];function c(e){return 0===e.length}function u(e){let{variant:t}=e,r=(0,n.Z)(e,s),o=t||"";return Object.keys(r).sort().forEach(t=>{"color"===t?o+=c(o)?e[t]:(0,l.Z)(e[t]):o+=`${c(o)?t:(0,l.Z)(t)}${(0,l.Z)(e[t].toString())}`}),o}var f=r(51579);let d=["name","slot","skipVariantsResolver","skipSx","overridesResolver"],p=(e,t)=>t.components&&t.components[e]&&t.components[e].styleOverrides?t.components[e].styleOverrides:null,h=(e,t)=>{let r=[];t&&t.components&&t.components[e]&&t.components[e].variants&&(r=t.components[e].variants);let n={};return r.forEach(e=>{let t=u(e.props);n[t]=e.style}),n},g=(e,t,r,n)=>{var o,i;let{ownerState:a={}}=e,l=[],s=null==r?void 0:null==(o=r.components)?void 0:null==(i=o[n])?void 0:i.variants;return s&&s.forEach(r=>{let n=!0;Object.keys(r.props).forEach(t=>{a[t]!==r.props[t]&&e[t]!==r.props[t]&&(n=!1)}),n&&l.push(t[u(r.props)])}),l};function m(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}let v=(0,a.Z)();function y({defaultTheme:e,theme:t,themeId:r}){return 0===Object.keys(t).length?e:t[r]||t}function b(e={}){let{themeId:t,defaultTheme:r=v,rootShouldForwardProp:a=m,slotShouldForwardProp:l=m}=e,s=e=>(0,f.Z)((0,o.Z)({},e,{theme:y((0,o.Z)({},e,{defaultTheme:r,themeId:t}))}));return s.__mui_systemSx=!0,(e,c={})=>{let u;(0,i.Co)(e,e=>e.filter(e=>!(null!=e&&e.__mui_systemSx)));let{name:f,slot:v,skipVariantsResolver:b,skipSx:x,overridesResolver:C}=c,w=(0,n.Z)(c,d),S=void 0!==b?b:v&&"Root"!==v||!1,E=x||!1,A=m;"Root"===v?A=a:v?A=l:"string"==typeof e&&e.charCodeAt(0)>96&&(A=void 0);let k=(0,i.ZP)(e,(0,o.Z)({shouldForwardProp:A,label:u},w)),O=(n,...i)=>{let a=i?i.map(e=>"function"==typeof e&&e.__emotion_real!==e?n=>e((0,o.Z)({},n,{theme:y((0,o.Z)({},n,{defaultTheme:r,themeId:t}))})):e):[],l=n;f&&C&&a.push(e=>{let n=y((0,o.Z)({},e,{defaultTheme:r,themeId:t})),i=p(f,n);if(i){let t={};return Object.entries(i).forEach(([r,i])=>{t[r]="function"==typeof i?i((0,o.Z)({},e,{theme:n})):i}),C(e,t)}return null}),f&&!S&&a.push(e=>{let n=y((0,o.Z)({},e,{defaultTheme:r,themeId:t}));return g(e,h(f,n),n,f)}),E||a.push(s);let c=a.length-i.length;if(Array.isArray(n)&&c>0){let e=Array(c).fill("");(l=[...n,...e]).raw=[...n.raw,...e]}else"function"==typeof n&&n.__emotion_real!==n&&(l=e=>n((0,o.Z)({},e,{theme:y((0,o.Z)({},e,{defaultTheme:r,themeId:t}))})));let u=k(l,...a);return e.muiName&&(u.muiName=e.muiName),u};return k.withConfig&&(O.withConfig=k.withConfig),O}}},57716:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var n=r(46750),o=r(40431);let i=["values","unit","step"],a=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)=>(0,o.Z)({},e,{[t.key]:t.val}),{})};function l(e){let{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:l=5}=e,s=(0,n.Z)(e,i),c=a(t),u=Object.keys(c);function f(e){let n="number"==typeof t[e]?t[e]:e;return`@media (min-width:${n}${r})`}function d(e){let n="number"==typeof t[e]?t[e]:e;return`@media (max-width:${n-l/100}${r})`}function p(e,n){let o=u.indexOf(n);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${r}) and (max-width:${(-1!==o&&"number"==typeof t[u[o]]?t[u[o]]:n)-l/100}${r})`}return(0,o.Z)({keys:u,values:c,up:f,down:d,between:p,only:function(e){return u.indexOf(e)+1{let r=0===e.length?[1]:e;return r.map(e=>{let r=t(e);return"number"==typeof r?`${r}px`:r}).join(" ")};return r.mui=!0,r}},89587:function(e,t,r){"use strict";r.d(t,{Z:function(){return d}});var n=r(40431),o=r(46750),i=r(95135),a=r(57716),l={borderRadius:4},s=r(93815),c=r(51579),u=r(2272);let f=["breakpoints","palette","spacing","shape"];var d=function(e={},...t){let{breakpoints:r={},palette:d={},spacing:p,shape:h={}}=e,g=(0,o.Z)(e,f),m=(0,a.Z)(r),v=(0,s.Z)(p),y=(0,i.Z)({breakpoints:m,direction:"ltr",components:{},palette:(0,n.Z)({mode:"light"},d),spacing:v,shape:(0,n.Z)({},l,h)},g);return(y=t.reduce((e,t)=>(0,i.Z)(e,t),y)).unstable_sxConfig=(0,n.Z)({},u.Z,null==g?void 0:g.unstable_sxConfig),y.unstable_sx=function(e){return(0,c.Z)({sx:e,theme:this})},y}},82190:function(e,t,r){"use strict";function n(e=""){return(t,...r)=>`var(--${e?`${e}-`:""}${t}${function t(...r){if(!r.length)return"";let n=r[0];return"string"!=typeof n||n.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, ${n}`:`, var(--${e?`${e}-`:""}${n}${t(...r.slice(1))})`}(...r)})`}r.d(t,{Z:function(){return n}})},70233:function(e,t,r){"use strict";var n=r(95135);t.Z=function(e,t){return t?(0,n.Z)(e,t,{clone:!1}):e}},48527:function(e,t,r){"use strict";r.d(t,{hB:function(){return h},eI:function(){return p},NA:function(){return g},e6:function(){return v},o3:function(){return y}});var n=r(91559),o=r(95247),i=r(70233);let a={m:"margin",p:"padding"},l={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},s={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},c=function(e){let t={};return r=>(void 0===t[r]&&(t[r]=e(r)),t[r])}(e=>{if(e.length>2){if(!s[e])return[e];e=s[e]}let[t,r]=e.split(""),n=a[t],o=l[r]||"";return Array.isArray(o)?o.map(e=>n+e):[n+o]}),u=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],f=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],d=[...u,...f];function p(e,t,r,n){var i;let a=null!=(i=(0,o.DW)(e,t,!1))?i:r;return"number"==typeof a?e=>"string"==typeof e?e:a*e:Array.isArray(a)?e=>"string"==typeof e?e:a[e]:"function"==typeof a?a:()=>void 0}function h(e){return p(e,"spacing",8,"spacing")}function g(e,t){if("string"==typeof t||null==t)return t;let r=e(Math.abs(t));return t>=0?r:"number"==typeof r?-r:`-${r}`}function m(e,t){let r=h(e.theme);return Object.keys(e).map(o=>(function(e,t,r,o){if(-1===t.indexOf(r))return null;let i=c(r),a=e[r];return(0,n.k9)(e,a,e=>i.reduce((t,r)=>(t[r]=g(o,e),t),{}))})(e,t,o,r)).reduce(i.Z,{})}function v(e){return m(e,u)}function y(e){return m(e,f)}function b(e){return m(e,d)}v.propTypes={},v.filterProps=u,y.propTypes={},y.filterProps=f,b.propTypes={},b.filterProps=d},95247:function(e,t,r){"use strict";r.d(t,{DW:function(){return i},Jq:function(){return a}});var n=r(53832),o=r(91559);function i(e,t,r=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&r){let r=`vars.${t}`.split(".").reduce((e,t)=>e&&e[t]?e[t]:null,e);if(null!=r)return r}return t.split(".").reduce((e,t)=>e&&null!=e[t]?e[t]:null,e)}function a(e,t,r,n=r){let o;return o="function"==typeof e?e(r):Array.isArray(e)?e[r]||n:i(e,r)||n,t&&(o=t(o,n,e)),o}t.ZP=function(e){let{prop:t,cssProperty:r=e.prop,themeKey:l,transform:s}=e,c=e=>{if(null==e[t])return null;let c=e[t],u=e.theme,f=i(u,l)||{};return(0,o.k9)(e,c,e=>{let o=a(f,s,e);return(e===o&&"string"==typeof e&&(o=a(f,s,`${t}${"default"===e?"":(0,n.Z)(e)}`,e)),!1===r)?o:{[r]:o}})};return c.propTypes={},c.filterProps=[t],c}},2272:function(e,t,r){"use strict";r.d(t,{Z:function(){return W}});var n=r(48527),o=r(95247),i=r(70233),a=function(...e){let t=e.reduce((e,t)=>(t.filterProps.forEach(r=>{e[r]=t}),e),{}),r=e=>Object.keys(e).reduce((r,n)=>t[n]?(0,i.Z)(r,t[n](e)):r,{});return r.propTypes={},r.filterProps=e.reduce((e,t)=>e.concat(t.filterProps),[]),r},l=r(91559);function s(e){return"number"!=typeof e?e:`${e}px solid`}let c=(0,o.ZP)({prop:"border",themeKey:"borders",transform:s}),u=(0,o.ZP)({prop:"borderTop",themeKey:"borders",transform:s}),f=(0,o.ZP)({prop:"borderRight",themeKey:"borders",transform:s}),d=(0,o.ZP)({prop:"borderBottom",themeKey:"borders",transform:s}),p=(0,o.ZP)({prop:"borderLeft",themeKey:"borders",transform:s}),h=(0,o.ZP)({prop:"borderColor",themeKey:"palette"}),g=(0,o.ZP)({prop:"borderTopColor",themeKey:"palette"}),m=(0,o.ZP)({prop:"borderRightColor",themeKey:"palette"}),v=(0,o.ZP)({prop:"borderBottomColor",themeKey:"palette"}),y=(0,o.ZP)({prop:"borderLeftColor",themeKey:"palette"}),b=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){let t=(0,n.eI)(e.theme,"shape.borderRadius",4,"borderRadius");return(0,l.k9)(e,e.borderRadius,e=>({borderRadius:(0,n.NA)(t,e)}))}return null};b.propTypes={},b.filterProps=["borderRadius"],a(c,u,f,d,p,h,g,m,v,y,b);let x=e=>{if(void 0!==e.gap&&null!==e.gap){let t=(0,n.eI)(e.theme,"spacing",8,"gap");return(0,l.k9)(e,e.gap,e=>({gap:(0,n.NA)(t,e)}))}return null};x.propTypes={},x.filterProps=["gap"];let C=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){let t=(0,n.eI)(e.theme,"spacing",8,"columnGap");return(0,l.k9)(e,e.columnGap,e=>({columnGap:(0,n.NA)(t,e)}))}return null};C.propTypes={},C.filterProps=["columnGap"];let w=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){let t=(0,n.eI)(e.theme,"spacing",8,"rowGap");return(0,l.k9)(e,e.rowGap,e=>({rowGap:(0,n.NA)(t,e)}))}return null};w.propTypes={},w.filterProps=["rowGap"];let S=(0,o.ZP)({prop:"gridColumn"}),E=(0,o.ZP)({prop:"gridRow"}),A=(0,o.ZP)({prop:"gridAutoFlow"}),k=(0,o.ZP)({prop:"gridAutoColumns"}),O=(0,o.ZP)({prop:"gridAutoRows"}),$=(0,o.ZP)({prop:"gridTemplateColumns"}),Z=(0,o.ZP)({prop:"gridTemplateRows"}),B=(0,o.ZP)({prop:"gridTemplateAreas"}),P=(0,o.ZP)({prop:"gridArea"});function T(e,t){return"grey"===t?t:e}a(x,C,w,S,E,A,k,O,$,Z,B,P);let R=(0,o.ZP)({prop:"color",themeKey:"palette",transform:T}),j=(0,o.ZP)({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:T}),M=(0,o.ZP)({prop:"backgroundColor",themeKey:"palette",transform:T});function F(e){return e<=1&&0!==e?`${100*e}%`:e}a(R,j,M);let _=(0,o.ZP)({prop:"width",transform:F}),N=e=>void 0!==e.maxWidth&&null!==e.maxWidth?(0,l.k9)(e,e.maxWidth,t=>{var r,n,o;let i=(null==(r=e.theme)?void 0:null==(n=r.breakpoints)?void 0:null==(o=n.values)?void 0:o[t])||l.VO[t];return{maxWidth:i||F(t)}}):null;N.filterProps=["maxWidth"];let H=(0,o.ZP)({prop:"minWidth",transform:F}),D=(0,o.ZP)({prop:"height",transform:F}),L=(0,o.ZP)({prop:"maxHeight",transform:F}),I=(0,o.ZP)({prop:"minHeight",transform:F});(0,o.ZP)({prop:"size",cssProperty:"width",transform:F}),(0,o.ZP)({prop:"size",cssProperty:"height",transform:F});let z=(0,o.ZP)({prop:"boxSizing"});a(_,N,H,D,L,I,z);let U={border:{themeKey:"borders",transform:s},borderTop:{themeKey:"borders",transform:s},borderRight:{themeKey:"borders",transform:s},borderBottom:{themeKey:"borders",transform:s},borderLeft:{themeKey:"borders",transform:s},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:b},color:{themeKey:"palette",transform:T},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:T},backgroundColor:{themeKey:"palette",transform:T},p:{style:n.o3},pt:{style:n.o3},pr:{style:n.o3},pb:{style:n.o3},pl:{style:n.o3},px:{style:n.o3},py:{style:n.o3},padding:{style:n.o3},paddingTop:{style:n.o3},paddingRight:{style:n.o3},paddingBottom:{style:n.o3},paddingLeft:{style:n.o3},paddingX:{style:n.o3},paddingY:{style:n.o3},paddingInline:{style:n.o3},paddingInlineStart:{style:n.o3},paddingInlineEnd:{style:n.o3},paddingBlock:{style:n.o3},paddingBlockStart:{style:n.o3},paddingBlockEnd:{style:n.o3},m:{style:n.e6},mt:{style:n.e6},mr:{style:n.e6},mb:{style:n.e6},ml:{style:n.e6},mx:{style:n.e6},my:{style:n.e6},margin:{style:n.e6},marginTop:{style:n.e6},marginRight:{style:n.e6},marginBottom:{style:n.e6},marginLeft:{style:n.e6},marginX:{style:n.e6},marginY:{style:n.e6},marginInline:{style:n.e6},marginInlineStart:{style:n.e6},marginInlineEnd:{style:n.e6},marginBlock:{style:n.e6},marginBlockStart:{style:n.e6},marginBlockEnd:{style:n.e6},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:x},rowGap:{style:w},columnGap:{style:C},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:F},maxWidth:{style:N},minWidth:{transform:F},height:{transform:F},maxHeight:{transform:F},minHeight:{transform:F},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};var W=U},86601:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var n=r(40431),o=r(46750),i=r(95135),a=r(2272);let l=["sx"],s=e=>{var t,r;let n={systemProps:{},otherProps:{}},o=null!=(t=null==e?void 0:null==(r=e.theme)?void 0:r.unstable_sxConfig)?t:a.Z;return Object.keys(e).forEach(t=>{o[t]?n.systemProps[t]=e[t]:n.otherProps[t]=e[t]}),n};function c(e){let t;let{sx:r}=e,a=(0,o.Z)(e,l),{systemProps:c,otherProps:u}=s(a);return t=Array.isArray(r)?[c,...r]:"function"==typeof r?(...e)=>{let t=r(...e);return(0,i.P)(t)?(0,n.Z)({},c,t):c}:(0,n.Z)({},c,r),(0,n.Z)({},u,{sx:t})}},51579:function(e,t,r){"use strict";var n=r(53832),o=r(70233),i=r(95247),a=r(91559),l=r(2272);let s=function(){function e(e,t,r,o){let l={[e]:t,theme:r},s=o[e];if(!s)return{[e]:t};let{cssProperty:c=e,themeKey:u,transform:f,style:d}=s;if(null==t)return null;if("typography"===u&&"inherit"===t)return{[e]:t};let p=(0,i.DW)(r,u)||{};return d?d(l):(0,a.k9)(l,t,t=>{let r=(0,i.Jq)(p,f,t);return(t===r&&"string"==typeof t&&(r=(0,i.Jq)(p,f,`${e}${"default"===t?"":(0,n.Z)(t)}`,t)),!1===c)?r:{[c]:r}})}return function t(r){var n;let{sx:i,theme:s={}}=r||{};if(!i)return null;let c=null!=(n=s.unstable_sxConfig)?n:l.Z;function u(r){let n=r;if("function"==typeof r)n=r(s);else if("object"!=typeof r)return r;if(!n)return null;let i=(0,a.W8)(s.breakpoints),l=Object.keys(i),u=i;return Object.keys(n).forEach(r=>{var i;let l="function"==typeof(i=n[r])?i(s):i;if(null!=l){if("object"==typeof l){if(c[r])u=(0,o.Z)(u,e(r,l,s,c));else{let e=(0,a.k9)({theme:s},l,e=>({[r]:e}));(function(...e){let t=e.reduce((e,t)=>e.concat(Object.keys(t)),[]),r=new Set(t);return e.every(e=>r.size===Object.keys(e).length)})(e,l)?u[r]=t({sx:l,theme:s}):u=(0,o.Z)(u,e)}}else u=(0,o.Z)(u,e(r,l,s,c))}}),(0,a.L7)(l,u)}return Array.isArray(i)?i.map(u):u(i)}}();s.filterProps=["sx"],t.Z=s},95887:function(e,t,r){"use strict";var n=r(89587),o=r(65396);let i=(0,n.Z)();t.Z=function(e=i){return(0,o.Z)(e)}},38295:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(40431),o=r(95887);function i({props:e,name:t,defaultTheme:r,themeId:i}){let a=(0,o.Z)(r);i&&(a=a[i]||a);let l=function(e){let{theme:t,name:r,props:o}=e;return t&&t.components&&t.components[r]&&t.components[r].defaultProps?function e(t,r){let o=(0,n.Z)({},r);return Object.keys(t).forEach(i=>{if(i.toString().match(/^(components|slots)$/))o[i]=(0,n.Z)({},t[i],o[i]);else if(i.toString().match(/^(componentsProps|slotProps)$/)){let a=t[i]||{},l=r[i];o[i]={},l&&Object.keys(l)?a&&Object.keys(a)?(o[i]=(0,n.Z)({},l),Object.keys(a).forEach(t=>{o[i][t]=e(a[t],l[t])})):o[i]=l:o[i]=a}else void 0===o[i]&&(o[i]=t[i])}),o}(t.components[r].defaultProps,o):o}({theme:a,name:t,props:e});return l}},65396:function(e,t,r){"use strict";var n=r(86006),o=r(17464);t.Z=function(e=null){let t=n.useContext(o.T);return t&&0!==Object.keys(t).length?t:e}},47327:function(e,t){"use strict";let r;let n=e=>e,o=(r=n,{configure(e){r=e},generate:e=>r(e),reset(){r=n}});t.Z=o},53832:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var n=r(16066);function o(e){if("string"!=typeof e)throw Error((0,n.Z)(7));return e.charAt(0).toUpperCase()+e.slice(1)}},47562:function(e,t,r){"use strict";function n(e,t,r){let n={};return Object.keys(e).forEach(o=>{n[o]=e[o].reduce((e,n)=>{if(n){let o=t(n);""!==o&&e.push(o),r&&r[n]&&e.push(r[n])}return e},[]).join(" ")}),n}r.d(t,{Z:function(){return n}})},95135:function(e,t,r){"use strict";r.d(t,{P:function(){return o},Z:function(){return function e(t,r,i={clone:!0}){let a=i.clone?(0,n.Z)({},t):t;return o(t)&&o(r)&&Object.keys(r).forEach(n=>{"__proto__"!==n&&(o(r[n])&&n in t&&o(t[n])?a[n]=e(t[n],r[n],i):i.clone?a[n]=o(r[n])?function e(t){if(!o(t))return t;let r={};return Object.keys(t).forEach(n=>{r[n]=e(t[n])}),r}(r[n]):r[n]:a[n]=r[n])}),a}}});var n=r(40431);function o(e){return null!==e&&"object"==typeof e&&e.constructor===Object}},16066:function(e,t,r){"use strict";function n(e){let t="https://mui.com/production-error/?code="+e;for(let e=1;e{o[t]=(0,n.Z)(e,t,r)}),o}},65464:function(e,t,r){"use strict";function n(e,t){"function"==typeof e?e(t):e&&(e.current=t)}r.d(t,{Z:function(){return n}})},99179:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(86006),o=r(65464);function i(...e){return n.useMemo(()=>e.every(e=>null==e)?null:t=>{e.forEach(e=>{(0,o.Z)(e,t)})},e)}},21454:function(e,t,r){"use strict";let n;r.d(t,{Z:function(){return f}});var o=r(86006);let i=!0,a=!1,l={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function s(e){e.metaKey||e.altKey||e.ctrlKey||(i=!0)}function c(){i=!1}function u(){"hidden"===this.visibilityState&&a&&(i=!0)}function f(){let e=o.useCallback(e=>{if(null!=e){var t;(t=e.ownerDocument).addEventListener("keydown",s,!0),t.addEventListener("mousedown",c,!0),t.addEventListener("pointerdown",c,!0),t.addEventListener("touchstart",c,!0),t.addEventListener("visibilitychange",u,!0)}},[]),t=o.useRef(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!function(e){let{target:t}=e;try{return t.matches(":focus-visible")}catch(e){}return i||function(e){let{type:t,tagName:r}=e;return"INPUT"===r&&!!l[t]&&!e.readOnly||"TEXTAREA"===r&&!e.readOnly||!!e.isContentEditable}(t)}(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(a=!0,window.clearTimeout(n),n=window.setTimeout(()=>{a=!1},100),t.current=!1,!0)},ref:e}}},20538:function(e,t,r){"use strict";r.d(t,{n:function(){return i}});var n=r(86006);let o=n.createContext(!1),i=e=>{let{children:t,disabled:r}=e,i=n.useContext(o);return n.createElement(o.Provider,{value:null!=r?r:i},t)};t.Z=o},25844:function(e,t,r){"use strict";r.d(t,{q:function(){return a}});var n=r(86006),o=r(30069);let i=n.createContext(void 0),a=e=>{let{children:t,size:r}=e,a=(0,o.Z)(r);return n.createElement(i.Provider,{value:a},t)};t.Z=i},79746:function(e,t,r){"use strict";r.d(t,{E_:function(){return i},oR:function(){return o}});var n=r(86006);let o="anticon",i=n.createContext({getPrefixCls:(e,t)=>t||(e?`ant-${e}`:"ant"),iconPrefixCls:o}),{Consumer:a}=i},30069:function(e,t,r){"use strict";var n=r(86006),o=r(25844);t.Z=e=>{let t=n.useContext(o.Z),r=n.useMemo(()=>e?"string"==typeof e?null!=e?e:t:e instanceof Function?e(t):t:t,[e,t]);return r}},17583:function(e,t,r){"use strict";let n,o,i;r.d(t,{ZP:function(){return N},w6:function(){return M}});var a=r(11717),l=r(83346),s=r(55567),c=r(79035),u=r(86006),f=(0,u.createContext)(void 0),d=r(66255),p=r(67044),h=e=>{let{locale:t={},children:r,_ANT_MARK__:n}=e;u.useEffect(()=>((0,d.f)(t&&t.Modal),()=>{(0,d.f)()}),[t]);let o=u.useMemo(()=>Object.assign(Object.assign({},t),{exist:!0}),[t]);return u.createElement(p.Z.Provider,{value:o},r)},g=r(91295),m=r(31508),v=r(99528),y=r(79746),b=r(70333),x=r(57389),C=r(71693),w=r(52160);let S=`-ant-${Date.now()}-${Math.random()}`;var E=r(20538),A=r(25844),k=r(81027),O=r(78641);function $(e){let{children:t}=e,[,r]=(0,m.dQ)(),{motion:n}=r,o=u.useRef(!1);return(o.current=o.current||!1===n,o.current)?u.createElement(O.zt,{motion:n},t):t}var Z=r(98663),B=(e,t)=>{let[r,n]=(0,m.dQ)();return(0,a.xy)({theme:r,token:n,hashId:"",path:["ant-design-icons",e],nonce:()=>null==t?void 0:t.nonce},()=>[{[`.${e}`]:Object.assign(Object.assign({},(0,Z.Ro)()),{[`.${e} .${e}-icon`]:{display:"block"}})}])},P=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};let T=["getTargetContainer","getPopupContainer","renderEmpty","pageHeader","input","pagination","form","select","button"];function R(){return n||"ant"}function j(){return o||y.oR}let M=()=>({getPrefixCls:(e,t)=>t||(e?`${R()}-${e}`:R()),getIconPrefixCls:j,getRootPrefixCls:()=>n||R(),getTheme:()=>i}),F=e=>{let{children:t,csp:r,autoInsertSpaceInButton:n,form:o,locale:i,componentSize:d,direction:p,space:b,virtual:x,dropdownMatchSelectWidth:C,popupMatchSelectWidth:w,popupOverflow:S,legacyLocale:O,parentContext:Z,iconPrefixCls:R,theme:j,componentDisabled:M}=e,F=u.useCallback((t,r)=>{let{prefixCls:n}=e;if(r)return r;let o=n||Z.getPrefixCls("");return t?`${o}-${t}`:o},[Z.getPrefixCls,e.prefixCls]),_=R||Z.iconPrefixCls||y.oR,N=_!==Z.iconPrefixCls,H=r||Z.csp,D=B(_,H),L=function(e,t){let r=e||{},n=!1!==r.inherit&&t?t:m.u_,o=(0,s.Z)(()=>{if(!e)return t;let o=Object.assign({},n.components);return Object.keys(e.components||{}).forEach(t=>{o[t]=Object.assign(Object.assign({},o[t]),e.components[t])}),Object.assign(Object.assign(Object.assign({},n),r),{token:Object.assign(Object.assign({},n.token),r.token),components:o})},[r,n],(e,t)=>e.some((e,r)=>{let n=t[r];return!(0,k.Z)(e,n,!0)}));return o}(j,Z.theme),I={csp:H,autoInsertSpaceInButton:n,locale:i||O,direction:p,space:b,virtual:x,popupMatchSelectWidth:null!=w?w:C,popupOverflow:S,getPrefixCls:F,iconPrefixCls:_,theme:L},z=Object.assign({},Z);Object.keys(I).forEach(e=>{void 0!==I[e]&&(z[e]=I[e])}),T.forEach(t=>{let r=e[t];r&&(z[t]=r)});let U=(0,s.Z)(()=>z,z,(e,t)=>{let r=Object.keys(e),n=Object.keys(t);return r.length!==n.length||r.some(r=>e[r]!==t[r])}),W=u.useMemo(()=>({prefixCls:_,csp:H}),[_,H]),G=N?D(t):t,K=u.useMemo(()=>{var e,t,r;return(0,c.T)((null===(e=g.Z.Form)||void 0===e?void 0:e.defaultValidateMessages)||{},(null===(r=null===(t=U.locale)||void 0===t?void 0:t.Form)||void 0===r?void 0:r.defaultValidateMessages)||{},(null==o?void 0:o.validateMessages)||{})},[U,null==o?void 0:o.validateMessages]);Object.keys(K).length>0&&(G=u.createElement(f.Provider,{value:K},t)),i&&(G=u.createElement(h,{locale:i,_ANT_MARK__:"internalMark"},G)),(_||H)&&(G=u.createElement(l.Z.Provider,{value:W},G)),d&&(G=u.createElement(A.q,{size:d},G)),G=u.createElement($,null,G);let q=u.useMemo(()=>{let e=L||{},{algorithm:t,token:r}=e,n=P(e,["algorithm","token"]),o=t&&(!Array.isArray(t)||t.length>0)?(0,a.jG)(t):void 0;return Object.assign(Object.assign({},n),{theme:o,token:Object.assign(Object.assign({},v.Z),r)})},[L]);return j&&(G=u.createElement(m.Mj.Provider,{value:q},G)),void 0!==M&&(G=u.createElement(E.n,{disabled:M},G)),u.createElement(y.E_.Provider,{value:U},G)},_=e=>{let t=u.useContext(y.E_),r=u.useContext(p.Z);return u.createElement(F,Object.assign({parentContext:t,legacyLocale:r},e))};_.ConfigContext=y.E_,_.SizeContext=A.Z,_.config=e=>{let{prefixCls:t,iconPrefixCls:r,theme:a}=e;void 0!==t&&(n=t),void 0!==r&&(o=r),a&&(Object.keys(a).some(e=>e.endsWith("Color"))?function(e,t){let r=function(e,t){let r={},n=(e,t)=>{let r=e.clone();return(r=(null==t?void 0:t(r))||r).toRgbString()},o=(e,t)=>{let o=new x.C(e),i=(0,b.R_)(o.toRgbString());r[`${t}-color`]=n(o),r[`${t}-color-disabled`]=i[1],r[`${t}-color-hover`]=i[4],r[`${t}-color-active`]=i[6],r[`${t}-color-outline`]=o.clone().setAlpha(.2).toRgbString(),r[`${t}-color-deprecated-bg`]=i[0],r[`${t}-color-deprecated-border`]=i[2]};if(t.primaryColor){o(t.primaryColor,"primary");let e=new x.C(t.primaryColor),i=(0,b.R_)(e.toRgbString());i.forEach((e,t)=>{r[`primary-${t+1}`]=e}),r["primary-color-deprecated-l-35"]=n(e,e=>e.lighten(35)),r["primary-color-deprecated-l-20"]=n(e,e=>e.lighten(20)),r["primary-color-deprecated-t-20"]=n(e,e=>e.tint(20)),r["primary-color-deprecated-t-50"]=n(e,e=>e.tint(50)),r["primary-color-deprecated-f-12"]=n(e,e=>e.setAlpha(.12*e.getAlpha()));let a=new x.C(i[0]);r["primary-color-active-deprecated-f-30"]=n(a,e=>e.setAlpha(.3*e.getAlpha())),r["primary-color-active-deprecated-d-02"]=n(a,e=>e.darken(2))}t.successColor&&o(t.successColor,"success"),t.warningColor&&o(t.warningColor,"warning"),t.errorColor&&o(t.errorColor,"error"),t.infoColor&&o(t.infoColor,"info");let i=Object.keys(r).map(t=>`--${e}-${t}: ${r[t]};`);return` :root { ${i.join("\n")} } - `.trim()}(e,t);(0,C.Z)()&&(0,w.hq)(r,`${S}-dynamic-theme`)}(j(),a):i=a)},_.useConfig=function(){let e=(0,u.useContext)(E.Z),t=(0,u.useContext)(A.Z);return{componentDisabled:e,componentSize:t}},Object.defineProperty(_,"SizeContext",{get:()=>A.Z});var N=_},67044:function(e,t,r){"use strict";var n=r(86006);let o=(0,n.createContext)(void 0);t.Z=o},91295:function(e,t,r){"use strict";r.d(t,{Z:function(){return s}});var n=r(91219),o={placeholder:"Select time",rangePlaceholder:["Start time","End time"]};let i={lang:Object.assign({placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"]},{locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"OK",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"}),timePickerLocale:Object.assign({},o)},a="${label} is not a valid ${type}",l={locale:"en",Pagination:n.Z,DatePicker:i,TimePicker:o,Calendar:i,global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Tour:{Next:"Next",Previous:"Previous",Finish:"Finish"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand"},PageHeader:{back:"Back"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:a,method:a,array:a,object:a,number:a,date:a,boolean:a,integer:a,float:a,regexp:a,email:a,url:a,hex:a},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},Image:{preview:"Preview"},QRCode:{expired:"QR code expired",refresh:"Refresh"},ColorPicker:{presetEmpty:"Empty"}};var s=l},21628:function(e,t,r){"use strict";r.d(t,{ZP:function(){return X}});var n=r(90151),o=r(88101),i=r(86006),a=r(17583),l=r(75710),s=r(27977),c=r(56222),u=r(34777),f=r(49132),d=r(60456),p=r(89301),h=r(40431),g=r(88684),m=r(8431),v=r(78641),y=r(8683),b=r.n(y),x=r(65877),C=r(48580),w=i.forwardRef(function(e,t){var r=e.prefixCls,n=e.style,o=e.className,a=e.duration,l=void 0===a?4.5:a,s=e.eventKey,c=e.content,u=e.closable,f=e.closeIcon,p=void 0===f?"x":f,g=e.props,m=e.onClick,v=e.onNoticeClose,y=e.times,w=i.useState(!1),S=(0,d.Z)(w,2),E=S[0],A=S[1],k=function(){v(s)};i.useEffect(function(){if(!E&&l>0){var e=setTimeout(function(){k()},1e3*l);return function(){clearTimeout(e)}}},[l,E,y]);var O="".concat(r,"-notice");return i.createElement("div",(0,h.Z)({},g,{ref:t,className:b()(O,o,(0,x.Z)({},"".concat(O,"-closable"),u)),style:n,onMouseEnter:function(){A(!0)},onMouseLeave:function(){A(!1)},onClick:m}),i.createElement("div",{className:"".concat(O,"-content")},c),u&&i.createElement("a",{tabIndex:0,className:"".concat(O,"-close"),onKeyDown:function(e){("Enter"===e.key||"Enter"===e.code||e.keyCode===C.Z.ENTER)&&k()},onClick:function(e){e.preventDefault(),e.stopPropagation(),k()}},p))}),S=i.forwardRef(function(e,t){var r=e.prefixCls,o=void 0===r?"rc-notification":r,a=e.container,l=e.motion,s=e.maxCount,c=e.className,u=e.style,f=e.onAllRemoved,p=i.useState([]),y=(0,d.Z)(p,2),x=y[0],C=y[1],S=function(e){var t,r=x.find(function(t){return t.key===e});null==r||null===(t=r.onClose)||void 0===t||t.call(r),C(function(t){return t.filter(function(t){return t.key!==e})})};i.useImperativeHandle(t,function(){return{open:function(e){C(function(t){var r,o=(0,n.Z)(t),i=o.findIndex(function(t){return t.key===e.key}),a=(0,g.Z)({},e);return i>=0?(a.times=((null===(r=t[i])||void 0===r?void 0:r.times)||0)+1,o[i]=a):(a.times=0,o.push(a)),s>0&&o.length>s&&(o=o.slice(-s)),o})},close:function(e){S(e)},destroy:function(){C([])}}});var E=i.useState({}),A=(0,d.Z)(E,2),k=A[0],O=A[1];i.useEffect(function(){var e={};x.forEach(function(t){var r=t.placement,n=void 0===r?"topRight":r;n&&(e[n]=e[n]||[],e[n].push(t))}),Object.keys(k).forEach(function(t){e[t]=e[t]||[]}),O(e)},[x]);var $=function(e){O(function(t){var r=(0,g.Z)({},t);return(r[e]||[]).length||delete r[e],r})},Z=i.useRef(!1);if(i.useEffect(function(){Object.keys(k).length>0?Z.current=!0:Z.current&&(null==f||f(),Z.current=!1)},[k]),!a)return null;var B=Object.keys(k);return(0,m.createPortal)(i.createElement(i.Fragment,null,B.map(function(e){var t=k[e].map(function(e){return{config:e,key:e.key}}),r="function"==typeof l?l(e):l;return i.createElement(v.V4,(0,h.Z)({key:e,className:b()(o,"".concat(o,"-").concat(e),null==c?void 0:c(e)),style:null==u?void 0:u(e),keys:t,motionAppear:!0},r,{onAllRemoved:function(){$(e)}}),function(e,t){var r=e.config,n=e.className,a=e.style,l=r.key,s=r.times,c=r.className,u=r.style;return i.createElement(w,(0,h.Z)({},r,{ref:t,prefixCls:o,className:b()(n,c),style:(0,g.Z)((0,g.Z)({},a),u),times:s,key:l,eventKey:l,onNoticeClose:S}))})})),a)}),E=["getContainer","motion","prefixCls","maxCount","className","style","onAllRemoved"],A=function(){return document.body},k=0,O=r(11717),$=r(98663),Z=r(40650),B=r(70721);let P=e=>{let{componentCls:t,iconCls:r,boxShadow:n,colorText:o,colorSuccess:i,colorError:a,colorWarning:l,colorInfo:s,fontSizeLG:c,motionEaseInOutCirc:u,motionDurationSlow:f,marginXS:d,paddingXS:p,borderRadiusLG:h,zIndexPopup:g,contentPadding:m,contentBg:v}=e,y=`${t}-notice`,b=new O.E4("MessageMoveIn",{"0%":{padding:0,transform:"translateY(-100%)",opacity:0},"100%":{padding:p,transform:"translateY(0)",opacity:1}}),x=new O.E4("MessageMoveOut",{"0%":{maxHeight:e.height,padding:p,opacity:1},"100%":{maxHeight:0,padding:0,opacity:0}}),C={padding:p,textAlign:"center",[`${t}-custom-content > ${r}`]:{verticalAlign:"text-bottom",marginInlineEnd:d,fontSize:c},[`${y}-content`]:{display:"inline-block",padding:m,background:v,borderRadius:h,boxShadow:n,pointerEvents:"all"},[`${t}-success > ${r}`]:{color:i},[`${t}-error > ${r}`]:{color:a},[`${t}-warning > ${r}`]:{color:l},[`${t}-info > ${r}, + `.trim()}(e,t);(0,C.Z)()&&(0,w.hq)(r,`${S}-dynamic-theme`)}(R(),a):i=a)},_.useConfig=function(){let e=(0,u.useContext)(E.Z),t=(0,u.useContext)(A.Z);return{componentDisabled:e,componentSize:t}},Object.defineProperty(_,"SizeContext",{get:()=>A.Z});var N=_},67044:function(e,t,r){"use strict";var n=r(86006);let o=(0,n.createContext)(void 0);t.Z=o},91295:function(e,t,r){"use strict";r.d(t,{Z:function(){return s}});var n=r(91219),o={placeholder:"Select time",rangePlaceholder:["Start time","End time"]};let i={lang:Object.assign({placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"]},{locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"OK",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"}),timePickerLocale:Object.assign({},o)},a="${label} is not a valid ${type}",l={locale:"en",Pagination:n.Z,DatePicker:i,TimePicker:o,Calendar:i,global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Tour:{Next:"Next",Previous:"Previous",Finish:"Finish"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand"},PageHeader:{back:"Back"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:a,method:a,array:a,object:a,number:a,date:a,boolean:a,integer:a,float:a,regexp:a,email:a,url:a,hex:a},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},Image:{preview:"Preview"},QRCode:{expired:"QR code expired",refresh:"Refresh"},ColorPicker:{presetEmpty:"Empty"}};var s=l},21628:function(e,t,r){"use strict";r.d(t,{ZP:function(){return X}});var n=r(90151),o=r(88101),i=r(86006),a=r(17583),l=r(75710),s=r(27977),c=r(56222),u=r(34777),f=r(49132),d=r(60456),p=r(89301),h=r(40431),g=r(88684),m=r(8431),v=r(78641),y=r(8683),b=r.n(y),x=r(65877),C=r(48580),w=i.forwardRef(function(e,t){var r=e.prefixCls,n=e.style,o=e.className,a=e.duration,l=void 0===a?4.5:a,s=e.eventKey,c=e.content,u=e.closable,f=e.closeIcon,p=void 0===f?"x":f,g=e.props,m=e.onClick,v=e.onNoticeClose,y=e.times,w=i.useState(!1),S=(0,d.Z)(w,2),E=S[0],A=S[1],k=function(){v(s)};i.useEffect(function(){if(!E&&l>0){var e=setTimeout(function(){k()},1e3*l);return function(){clearTimeout(e)}}},[l,E,y]);var O="".concat(r,"-notice");return i.createElement("div",(0,h.Z)({},g,{ref:t,className:b()(O,o,(0,x.Z)({},"".concat(O,"-closable"),u)),style:n,onMouseEnter:function(){A(!0)},onMouseLeave:function(){A(!1)},onClick:m}),i.createElement("div",{className:"".concat(O,"-content")},c),u&&i.createElement("a",{tabIndex:0,className:"".concat(O,"-close"),onKeyDown:function(e){("Enter"===e.key||"Enter"===e.code||e.keyCode===C.Z.ENTER)&&k()},onClick:function(e){e.preventDefault(),e.stopPropagation(),k()}},p))}),S=i.forwardRef(function(e,t){var r=e.prefixCls,o=void 0===r?"rc-notification":r,a=e.container,l=e.motion,s=e.maxCount,c=e.className,u=e.style,f=e.onAllRemoved,p=i.useState([]),y=(0,d.Z)(p,2),x=y[0],C=y[1],S=function(e){var t,r=x.find(function(t){return t.key===e});null==r||null===(t=r.onClose)||void 0===t||t.call(r),C(function(t){return t.filter(function(t){return t.key!==e})})};i.useImperativeHandle(t,function(){return{open:function(e){C(function(t){var r,o=(0,n.Z)(t),i=o.findIndex(function(t){return t.key===e.key}),a=(0,g.Z)({},e);return i>=0?(a.times=((null===(r=t[i])||void 0===r?void 0:r.times)||0)+1,o[i]=a):(a.times=0,o.push(a)),s>0&&o.length>s&&(o=o.slice(-s)),o})},close:function(e){S(e)},destroy:function(){C([])}}});var E=i.useState({}),A=(0,d.Z)(E,2),k=A[0],O=A[1];i.useEffect(function(){var e={};x.forEach(function(t){var r=t.placement,n=void 0===r?"topRight":r;n&&(e[n]=e[n]||[],e[n].push(t))}),Object.keys(k).forEach(function(t){e[t]=e[t]||[]}),O(e)},[x]);var $=function(e){O(function(t){var r=(0,g.Z)({},t);return(r[e]||[]).length||delete r[e],r})},Z=i.useRef(!1);if(i.useEffect(function(){Object.keys(k).length>0?Z.current=!0:Z.current&&(null==f||f(),Z.current=!1)},[k]),!a)return null;var B=Object.keys(k);return(0,m.createPortal)(i.createElement(i.Fragment,null,B.map(function(e){var t=k[e].map(function(e){return{config:e,key:e.key}}),r="function"==typeof l?l(e):l;return i.createElement(v.V4,(0,h.Z)({key:e,className:b()(o,"".concat(o,"-").concat(e),null==c?void 0:c(e)),style:null==u?void 0:u(e),keys:t,motionAppear:!0},r,{onAllRemoved:function(){$(e)}}),function(e,t){var r=e.config,n=e.className,a=e.style,l=r.key,s=r.times,c=r.className,u=r.style;return i.createElement(w,(0,h.Z)({},r,{ref:t,prefixCls:o,className:b()(n,c),style:(0,g.Z)((0,g.Z)({},a),u),times:s,key:l,eventKey:l,onNoticeClose:S}))})})),a)}),E=["getContainer","motion","prefixCls","maxCount","className","style","onAllRemoved"],A=function(){return document.body},k=0,O=r(11717),$=r(98663),Z=r(40650),B=r(70721);let P=e=>{let{componentCls:t,iconCls:r,boxShadow:n,colorText:o,colorSuccess:i,colorError:a,colorWarning:l,colorInfo:s,fontSizeLG:c,motionEaseInOutCirc:u,motionDurationSlow:f,marginXS:d,paddingXS:p,borderRadiusLG:h,zIndexPopup:g,contentPadding:m,contentBg:v}=e,y=`${t}-notice`,b=new O.E4("MessageMoveIn",{"0%":{padding:0,transform:"translateY(-100%)",opacity:0},"100%":{padding:p,transform:"translateY(0)",opacity:1}}),x=new O.E4("MessageMoveOut",{"0%":{maxHeight:e.height,padding:p,opacity:1},"100%":{maxHeight:0,padding:0,opacity:0}}),C={padding:p,textAlign:"center",[`${t}-custom-content > ${r}`]:{verticalAlign:"text-bottom",marginInlineEnd:d,fontSize:c},[`${y}-content`]:{display:"inline-block",padding:m,background:v,borderRadius:h,boxShadow:n,pointerEvents:"all"},[`${t}-success > ${r}`]:{color:i},[`${t}-error > ${r}`]:{color:a},[`${t}-warning > ${r}`]:{color:l},[`${t}-info > ${r}, ${t}-loading > ${r}`]:{color:s}};return[{[t]:Object.assign(Object.assign({},(0,$.Wf)(e)),{color:o,position:"fixed",top:d,width:"100%",pointerEvents:"none",zIndex:g,[`${t}-move-up`]:{animationFillMode:"forwards"},[` ${t}-move-up-appear, ${t}-move-up-enter `]:{animationName:b,animationDuration:f,animationPlayState:"paused",animationTimingFunction:u},[` ${t}-move-up-appear${t}-move-up-appear-active, ${t}-move-up-enter${t}-move-up-enter-active - `]:{animationPlayState:"running"},[`${t}-move-up-leave`]:{animationName:x,animationDuration:f,animationPlayState:"paused",animationTimingFunction:u},[`${t}-move-up-leave${t}-move-up-leave-active`]:{animationPlayState:"running"},"&-rtl":{direction:"rtl",span:{direction:"rtl"}}})},{[t]:{[y]:Object.assign({},C)}},{[`${t}-notice-pure-panel`]:Object.assign(Object.assign({},C),{padding:0,textAlign:"start"})}]};var R=(0,Z.Z)("Message",e=>{let t=(0,B.TS)(e,{height:150});return[P(t)]},e=>({zIndexPopup:e.zIndexPopupBase+10,contentBg:e.colorBgElevated,contentPadding:`${(e.controlHeightLG-e.fontSize*e.lineHeight)/2}px ${e.paddingSM}px`})),j=r(79746),T=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};let M={info:i.createElement(f.Z,null),success:i.createElement(u.Z,null),error:i.createElement(c.Z,null),warning:i.createElement(s.Z,null),loading:i.createElement(l.Z,null)};function F(e){let{prefixCls:t,type:r,icon:n,children:o}=e;return i.createElement("div",{className:b()(`${t}-custom-content`,`${t}-${r}`)},n||M[r],i.createElement("span",null,o))}var _=r(31533);function N(e){let t;let r=new Promise(r=>{t=e(()=>{r(!0)})}),n=()=>{null==t||t()};return n.then=(e,t)=>r.then(e,t),n.promise=r,n}var H=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};let D=i.forwardRef((e,t)=>{let{top:r,prefixCls:o,getContainer:a,maxCount:l,duration:s=3,rtl:c,transitionName:u,onAllRemoved:f}=e,{getPrefixCls:h,getPopupContainer:g}=i.useContext(j.E_),m=o||h("message"),[,v]=R(m),y=i.createElement("span",{className:`${m}-close-x`},i.createElement(_.Z,{className:`${m}-close-icon`})),[x,C]=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.getContainer,r=void 0===t?A:t,o=e.motion,a=e.prefixCls,l=e.maxCount,s=e.className,c=e.style,u=e.onAllRemoved,f=(0,p.Z)(e,E),h=i.useState(),g=(0,d.Z)(h,2),m=g[0],v=g[1],y=i.useRef(),b=i.createElement(S,{container:m,ref:y,prefixCls:a,motion:o,maxCount:l,className:s,style:c,onAllRemoved:u}),x=i.useState([]),C=(0,d.Z)(x,2),w=C[0],O=C[1],$=i.useMemo(function(){return{open:function(e){var t=function(){for(var e={},t=arguments.length,r=Array(t),n=0;n({left:"50%",transform:"translateX(-50%)",top:null!=r?r:8}),className:()=>b()(v,c?`${m}-rtl`:""),motion:()=>({motionName:null!=u?u:`${m}-move-up`}),closable:!1,closeIcon:y,duration:s,getContainer:()=>(null==a?void 0:a())||(null==g?void 0:g())||document.body,maxCount:l,onAllRemoved:f});return i.useImperativeHandle(t,()=>Object.assign(Object.assign({},x),{prefixCls:m,hashId:v})),C}),L=0;function I(e){let t=i.useRef(null),r=i.useMemo(()=>{let e=e=>{var r;null===(r=t.current)||void 0===r||r.close(e)},r=r=>{if(!t.current){let e=()=>{};return e.then=()=>{},e}let{open:n,prefixCls:o,hashId:a}=t.current,l=`${o}-notice`,{content:s,icon:c,type:u,key:f,className:d,onClose:p}=r,h=H(r,["content","icon","type","key","className","onClose"]),g=f;return null==g&&(L+=1,g=`antd-message-${L}`),N(t=>(n(Object.assign(Object.assign({},h),{key:g,content:i.createElement(F,{prefixCls:o,type:u,icon:c},s),placement:"top",className:b()(u&&`${l}-${u}`,a,d),onClose:()=>{null==p||p(),t()}})),()=>{e(g)}))},n={open:r,destroy:r=>{var n;void 0!==r?e(r):null===(n=t.current)||void 0===n||n.destroy()}};return["info","success","warning","error","loading"].forEach(e=>{n[e]=(t,n,o)=>{let i,a,l;i=t&&"object"==typeof t&&"content"in t?t:{content:t},"function"==typeof n?l=n:(a=n,l=o);let s=Object.assign(Object.assign({onClose:l,duration:a},i),{type:e});return r(s)}}),n},[]);return[r,i.createElement(D,Object.assign({key:"message-holder"},e,{ref:t}))]}let z=null,U=e=>e(),W=[],G={},K=i.forwardRef((e,t)=>{let r=()=>{let{prefixCls:e,container:t,maxCount:r,duration:n,rtl:o,top:i}=function(){let{prefixCls:e,getContainer:t,duration:r,rtl:n,maxCount:o,top:i}=G,l=null!=e?e:(0,a.w6)().getPrefixCls("message"),s=(null==t?void 0:t())||document.body;return{prefixCls:l,container:s,duration:r,rtl:n,maxCount:o,top:i}}();return{prefixCls:e,getContainer:()=>t,maxCount:r,duration:n,rtl:o,top:i}},[n,o]=i.useState(r),[l,s]=I(n),c=(0,a.w6)(),u=c.getRootPrefixCls(),f=c.getIconPrefixCls(),d=c.getTheme(),p=()=>{o(r)};return i.useEffect(p,[]),i.useImperativeHandle(t,()=>{let e=Object.assign({},l);return Object.keys(e).forEach(t=>{e[t]=function(){return p(),l[t].apply(l,arguments)}}),{instance:e,sync:p}}),i.createElement(a.ZP,{prefixCls:u,iconPrefixCls:f,theme:d},s)});function q(){if(!z){let e=document.createDocumentFragment(),t={fragment:e};z=t,U(()=>{(0,o.s)(i.createElement(K,{ref:e=>{let{instance:r,sync:n}=e||{};Promise.resolve().then(()=>{!t.instance&&r&&(t.instance=r,t.sync=n,q())})}}),e)});return}z.instance&&(W.forEach(e=>{let{type:t,skipped:r}=e;if(!r)switch(t){case"open":U(()=>{let t=z.instance.open(Object.assign(Object.assign({},G),e.config));null==t||t.then(e.resolve),e.setCloseFn(t)});break;case"destroy":U(()=>{null==z||z.instance.destroy(e.key)});break;default:U(()=>{var r;let o=(r=z.instance)[t].apply(r,(0,n.Z)(e.args));null==o||o.then(e.resolve),e.setCloseFn(o)})}}),W=[])}let V={open:function(e){let t=N(t=>{let r;let n={type:"open",config:e,resolve:t,setCloseFn:e=>{r=e}};return W.push(n),()=>{r?U(()=>{r()}):n.skipped=!0}});return q(),t},destroy:function(e){W.push({type:"destroy",key:e}),q()},config:function(e){G=Object.assign(Object.assign({},G),e),U(()=>{var e;null===(e=null==z?void 0:z.sync)||void 0===e||e.call(z)})},useMessage:function(e){return I(e)},_InternalPanelDoNotUseOrYouWillBeFired:function(e){let{prefixCls:t,className:r,type:n,icon:o,content:a}=e,l=T(e,["prefixCls","className","type","icon","content"]),{getPrefixCls:s}=i.useContext(j.E_),c=t||s("message"),[,u]=R(c);return i.createElement(w,Object.assign({},l,{prefixCls:c,className:b()(r,u,`${c}-notice-pure-panel`),eventKey:"pure",duration:null,content:i.createElement(F,{prefixCls:c,type:n,icon:o},a)}))}};["success","info","warning","error","loading"].forEach(e=>{V[e]=function(){for(var t=arguments.length,r=Array(t),n=0;n{let n;let o={type:e,args:t,resolve:r,setCloseFn:e=>{n=e}};return W.push(o),()=>{n?U(()=>{n()}):o.skipped=!0}});return q(),r}(e,r)}});var X=V},66255:function(e,t,r){"use strict";r.d(t,{A:function(){return a},f:function(){return i}});var n=r(91295);let o=Object.assign({},n.Z.Modal);function i(e){o=e?Object.assign(Object.assign({},o),e):Object.assign({},n.Z.Modal)}function a(){return o}},98663:function(e,t,r){"use strict";r.d(t,{Lx:function(){return l},Qy:function(){return u},Ro:function(){return i},Wf:function(){return o},dF:function(){return a},du:function(){return s},oN:function(){return c},vS:function(){return n}});let n={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},o=e=>({boxSizing:"border-box",margin:0,padding:0,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,listStyle:"none",fontFamily:e.fontFamily}),i=()=>({display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}}),a=()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),l=e=>({a:{color:e.colorLink,textDecoration:e.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"-webkit-text-decoration-skip":"objects","&:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive},[`&:active, + `]:{animationPlayState:"running"},[`${t}-move-up-leave`]:{animationName:x,animationDuration:f,animationPlayState:"paused",animationTimingFunction:u},[`${t}-move-up-leave${t}-move-up-leave-active`]:{animationPlayState:"running"},"&-rtl":{direction:"rtl",span:{direction:"rtl"}}})},{[t]:{[y]:Object.assign({},C)}},{[`${t}-notice-pure-panel`]:Object.assign(Object.assign({},C),{padding:0,textAlign:"start"})}]};var T=(0,Z.Z)("Message",e=>{let t=(0,B.TS)(e,{height:150});return[P(t)]},e=>({zIndexPopup:e.zIndexPopupBase+10,contentBg:e.colorBgElevated,contentPadding:`${(e.controlHeightLG-e.fontSize*e.lineHeight)/2}px ${e.paddingSM}px`})),R=r(79746),j=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};let M={info:i.createElement(f.Z,null),success:i.createElement(u.Z,null),error:i.createElement(c.Z,null),warning:i.createElement(s.Z,null),loading:i.createElement(l.Z,null)};function F(e){let{prefixCls:t,type:r,icon:n,children:o}=e;return i.createElement("div",{className:b()(`${t}-custom-content`,`${t}-${r}`)},n||M[r],i.createElement("span",null,o))}var _=r(31533);function N(e){let t;let r=new Promise(r=>{t=e(()=>{r(!0)})}),n=()=>{null==t||t()};return n.then=(e,t)=>r.then(e,t),n.promise=r,n}var H=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};let D=i.forwardRef((e,t)=>{let{top:r,prefixCls:o,getContainer:a,maxCount:l,duration:s=3,rtl:c,transitionName:u,onAllRemoved:f}=e,{getPrefixCls:h,getPopupContainer:g}=i.useContext(R.E_),m=o||h("message"),[,v]=T(m),y=i.createElement("span",{className:`${m}-close-x`},i.createElement(_.Z,{className:`${m}-close-icon`})),[x,C]=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.getContainer,r=void 0===t?A:t,o=e.motion,a=e.prefixCls,l=e.maxCount,s=e.className,c=e.style,u=e.onAllRemoved,f=(0,p.Z)(e,E),h=i.useState(),g=(0,d.Z)(h,2),m=g[0],v=g[1],y=i.useRef(),b=i.createElement(S,{container:m,ref:y,prefixCls:a,motion:o,maxCount:l,className:s,style:c,onAllRemoved:u}),x=i.useState([]),C=(0,d.Z)(x,2),w=C[0],O=C[1],$=i.useMemo(function(){return{open:function(e){var t=function(){for(var e={},t=arguments.length,r=Array(t),n=0;n({left:"50%",transform:"translateX(-50%)",top:null!=r?r:8}),className:()=>b()(v,c?`${m}-rtl`:""),motion:()=>({motionName:null!=u?u:`${m}-move-up`}),closable:!1,closeIcon:y,duration:s,getContainer:()=>(null==a?void 0:a())||(null==g?void 0:g())||document.body,maxCount:l,onAllRemoved:f});return i.useImperativeHandle(t,()=>Object.assign(Object.assign({},x),{prefixCls:m,hashId:v})),C}),L=0;function I(e){let t=i.useRef(null),r=i.useMemo(()=>{let e=e=>{var r;null===(r=t.current)||void 0===r||r.close(e)},r=r=>{if(!t.current){let e=()=>{};return e.then=()=>{},e}let{open:n,prefixCls:o,hashId:a}=t.current,l=`${o}-notice`,{content:s,icon:c,type:u,key:f,className:d,onClose:p}=r,h=H(r,["content","icon","type","key","className","onClose"]),g=f;return null==g&&(L+=1,g=`antd-message-${L}`),N(t=>(n(Object.assign(Object.assign({},h),{key:g,content:i.createElement(F,{prefixCls:o,type:u,icon:c},s),placement:"top",className:b()(u&&`${l}-${u}`,a,d),onClose:()=>{null==p||p(),t()}})),()=>{e(g)}))},n={open:r,destroy:r=>{var n;void 0!==r?e(r):null===(n=t.current)||void 0===n||n.destroy()}};return["info","success","warning","error","loading"].forEach(e=>{n[e]=(t,n,o)=>{let i,a,l;i=t&&"object"==typeof t&&"content"in t?t:{content:t},"function"==typeof n?l=n:(a=n,l=o);let s=Object.assign(Object.assign({onClose:l,duration:a},i),{type:e});return r(s)}}),n},[]);return[r,i.createElement(D,Object.assign({key:"message-holder"},e,{ref:t}))]}let z=null,U=e=>e(),W=[],G={},K=i.forwardRef((e,t)=>{let r=()=>{let{prefixCls:e,container:t,maxCount:r,duration:n,rtl:o,top:i}=function(){let{prefixCls:e,getContainer:t,duration:r,rtl:n,maxCount:o,top:i}=G,l=null!=e?e:(0,a.w6)().getPrefixCls("message"),s=(null==t?void 0:t())||document.body;return{prefixCls:l,container:s,duration:r,rtl:n,maxCount:o,top:i}}();return{prefixCls:e,getContainer:()=>t,maxCount:r,duration:n,rtl:o,top:i}},[n,o]=i.useState(r),[l,s]=I(n),c=(0,a.w6)(),u=c.getRootPrefixCls(),f=c.getIconPrefixCls(),d=c.getTheme(),p=()=>{o(r)};return i.useEffect(p,[]),i.useImperativeHandle(t,()=>{let e=Object.assign({},l);return Object.keys(e).forEach(t=>{e[t]=function(){return p(),l[t].apply(l,arguments)}}),{instance:e,sync:p}}),i.createElement(a.ZP,{prefixCls:u,iconPrefixCls:f,theme:d},s)});function q(){if(!z){let e=document.createDocumentFragment(),t={fragment:e};z=t,U(()=>{(0,o.s)(i.createElement(K,{ref:e=>{let{instance:r,sync:n}=e||{};Promise.resolve().then(()=>{!t.instance&&r&&(t.instance=r,t.sync=n,q())})}}),e)});return}z.instance&&(W.forEach(e=>{let{type:t,skipped:r}=e;if(!r)switch(t){case"open":U(()=>{let t=z.instance.open(Object.assign(Object.assign({},G),e.config));null==t||t.then(e.resolve),e.setCloseFn(t)});break;case"destroy":U(()=>{null==z||z.instance.destroy(e.key)});break;default:U(()=>{var r;let o=(r=z.instance)[t].apply(r,(0,n.Z)(e.args));null==o||o.then(e.resolve),e.setCloseFn(o)})}}),W=[])}let V={open:function(e){let t=N(t=>{let r;let n={type:"open",config:e,resolve:t,setCloseFn:e=>{r=e}};return W.push(n),()=>{r?U(()=>{r()}):n.skipped=!0}});return q(),t},destroy:function(e){W.push({type:"destroy",key:e}),q()},config:function(e){G=Object.assign(Object.assign({},G),e),U(()=>{var e;null===(e=null==z?void 0:z.sync)||void 0===e||e.call(z)})},useMessage:function(e){return I(e)},_InternalPanelDoNotUseOrYouWillBeFired:function(e){let{prefixCls:t,className:r,type:n,icon:o,content:a}=e,l=j(e,["prefixCls","className","type","icon","content"]),{getPrefixCls:s}=i.useContext(R.E_),c=t||s("message"),[,u]=T(c);return i.createElement(w,Object.assign({},l,{prefixCls:c,className:b()(r,u,`${c}-notice-pure-panel`),eventKey:"pure",duration:null,content:i.createElement(F,{prefixCls:c,type:n,icon:o},a)}))}};["success","info","warning","error","loading"].forEach(e=>{V[e]=function(){for(var t=arguments.length,r=Array(t),n=0;n{let n;let o={type:e,args:t,resolve:r,setCloseFn:e=>{n=e}};return W.push(o),()=>{n?U(()=>{n()}):o.skipped=!0}});return q(),r}(e,r)}});var X=V},66255:function(e,t,r){"use strict";r.d(t,{A:function(){return a},f:function(){return i}});var n=r(91295);let o=Object.assign({},n.Z.Modal);function i(e){o=e?Object.assign(Object.assign({},o),e):Object.assign({},n.Z.Modal)}function a(){return o}},98663:function(e,t,r){"use strict";r.d(t,{Lx:function(){return l},Qy:function(){return u},Ro:function(){return i},Wf:function(){return o},dF:function(){return a},du:function(){return s},oN:function(){return c},vS:function(){return n}});let n={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},o=e=>({boxSizing:"border-box",margin:0,padding:0,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,listStyle:"none",fontFamily:e.fontFamily}),i=()=>({display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}}),a=()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),l=e=>({a:{color:e.colorLink,textDecoration:e.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"-webkit-text-decoration-skip":"objects","&:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive},[`&:active, &:hover`]:{textDecoration:e.linkHoverDecoration,outline:0},"&:focus":{textDecoration:e.linkFocusDecoration,outline:0},"&[disabled]":{color:e.colorTextDisabled,cursor:"not-allowed"}}}),s=(e,t)=>{let{fontFamily:r,fontSize:n}=e,o=`[class^="${t}"], [class*=" ${t}"]`;return{[o]:{fontFamily:r,fontSize:n,boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"},[o]:{boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}}}}},c=e=>({outline:`${e.lineWidthFocus}px solid ${e.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),u=e=>({"&:focus-visible":Object.assign({},c(e))})},31508:function(e,t,r){"use strict";r.d(t,{Mj:function(){return u},u_:function(){return c},dQ:function(){return f}});var n=r(11717),o=r(86006),i=r(47794),a=r(99528),l=r(85207);let s=(0,n.jG)(i.Z),c={token:a.Z,hashed:!0},u=o.createContext(c);function f(){let{token:e,hashed:t,theme:r,components:i}=o.useContext(u),c=`5.6.2-${t||""}`,f=r||s,[d,p]=(0,n.fp)(f,[a.Z,e],{salt:c,override:Object.assign({override:e},i),formatToken:l.Z});return[f,d,t?p:""]}},47794:function(e,t,r){"use strict";r.d(t,{Z:function(){return h}});var n=r(70333),o=r(33058),i=r(99528),a=r(41433),l=e=>{let t=e,r=e,n=e,o=e;return e<6&&e>=5?t=e+1:e<16&&e>=6?t=e+2:e>=16&&(t=16),e<7&&e>=5?r=4:e<8&&e>=7?r=5:e<14&&e>=8?r=6:e<16&&e>=14?r=7:e>=16&&(r=8),e<6&&e>=2?n=1:e>=6&&(n=2),e>4&&e<8?o=4:e>=8&&(o=6),{borderRadius:e>16?16:e,borderRadiusXS:n,borderRadiusSM:r,borderRadiusLG:t,borderRadiusOuter:o}},s=r(57389);let c=(e,t)=>new s.C(e).setAlpha(t).toRgbString(),u=(e,t)=>{let r=new s.C(e);return r.darken(t).toHexString()},f=e=>{let t=(0,n.R_)(e);return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[4],6:t[5],7:t[6],8:t[4],9:t[5],10:t[6]}},d=(e,t)=>{let r=e||"#fff",n=t||"#000";return{colorBgBase:r,colorTextBase:n,colorText:c(n,.88),colorTextSecondary:c(n,.65),colorTextTertiary:c(n,.45),colorTextQuaternary:c(n,.25),colorFill:c(n,.15),colorFillSecondary:c(n,.06),colorFillTertiary:c(n,.04),colorFillQuaternary:c(n,.02),colorBgLayout:u(r,4),colorBgContainer:u(r,0),colorBgElevated:u(r,0),colorBgSpotlight:c(n,.85),colorBorder:u(r,15),colorBorderSecondary:u(r,6)}};var p=r(89931);function h(e){let t=Object.keys(i.M).map(t=>{let r=(0,n.R_)(e[t]);return Array(10).fill(1).reduce((e,n,o)=>(e[`${t}-${o+1}`]=r[o],e[`${t}${o+1}`]=r[o],e),{})}).reduce((e,t)=>e=Object.assign(Object.assign({},e),t),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},e),t),(0,a.Z)(e,{generateColorPalettes:f,generateNeutralColorPalettes:d})),(0,p.Z)(e.fontSize)),function(e){let{sizeUnit:t,sizeStep:r}=e;return{sizeXXL:t*(r+8),sizeXL:t*(r+4),sizeLG:t*(r+2),sizeMD:t*(r+1),sizeMS:t*r,size:t*r,sizeSM:t*(r-1),sizeXS:t*(r-2),sizeXXS:t*(r-3)}}(e)),(0,o.Z)(e)),function(e){let{motionUnit:t,motionBase:r,borderRadius:n,lineWidth:o}=e;return Object.assign({motionDurationFast:`${(r+t).toFixed(1)}s`,motionDurationMid:`${(r+2*t).toFixed(1)}s`,motionDurationSlow:`${(r+3*t).toFixed(1)}s`,lineWidthBold:o+1},l(n))}(e))}},99528:function(e,t,r){"use strict";r.d(t,{M:function(){return n}});let n={blue:"#1677ff",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#eb2f96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911"},o=Object.assign(Object.assign({},n),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorTextBase:"",colorBgBase:"",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'`,fontFamilyCode:"'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",motionEaseInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:!1,motion:!0});t.Z=o},41433:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var n=r(57389);function o(e,t){let{generateColorPalettes:r,generateNeutralColorPalettes:o}=t,{colorSuccess:i,colorWarning:a,colorError:l,colorInfo:s,colorPrimary:c,colorBgBase:u,colorTextBase:f}=e,d=r(c),p=r(i),h=r(a),g=r(l),m=r(s),v=o(u,f);return Object.assign(Object.assign({},v),{colorPrimaryBg:d[1],colorPrimaryBgHover:d[2],colorPrimaryBorder:d[3],colorPrimaryBorderHover:d[4],colorPrimaryHover:d[5],colorPrimary:d[6],colorPrimaryActive:d[7],colorPrimaryTextHover:d[8],colorPrimaryText:d[9],colorPrimaryTextActive:d[10],colorSuccessBg:p[1],colorSuccessBgHover:p[2],colorSuccessBorder:p[3],colorSuccessBorderHover:p[4],colorSuccessHover:p[4],colorSuccess:p[6],colorSuccessActive:p[7],colorSuccessTextHover:p[8],colorSuccessText:p[9],colorSuccessTextActive:p[10],colorErrorBg:g[1],colorErrorBgHover:g[2],colorErrorBorder:g[3],colorErrorBorderHover:g[4],colorErrorHover:g[5],colorError:g[6],colorErrorActive:g[7],colorErrorTextHover:g[8],colorErrorText:g[9],colorErrorTextActive:g[10],colorWarningBg:h[1],colorWarningBgHover:h[2],colorWarningBorder:h[3],colorWarningBorderHover:h[4],colorWarningHover:h[4],colorWarning:h[6],colorWarningActive:h[7],colorWarningTextHover:h[8],colorWarningText:h[9],colorWarningTextActive:h[10],colorInfoBg:m[1],colorInfoBgHover:m[2],colorInfoBorder:m[3],colorInfoBorderHover:m[4],colorInfoHover:m[4],colorInfo:m[6],colorInfoActive:m[7],colorInfoTextHover:m[8],colorInfoText:m[9],colorInfoTextActive:m[10],colorBgMask:new n.C("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"})}},33058:function(e,t){"use strict";t.Z=e=>{let{controlHeight:t}=e;return{controlHeightSM:.75*t,controlHeightXS:.5*t,controlHeightLG:1.25*t}}},89931:function(e,t,r){"use strict";r.d(t,{Z:function(){return n}});var n=e=>{let t=function(e){let t=Array(10).fill(null).map((t,r)=>{let n=e*Math.pow(2.71828,(r-1)/5);return 2*Math.floor((r>1?Math.floor(n):Math.ceil(n))/2)});return t[1]=e,t.map(e=>({size:e,lineHeight:(e+8)/e}))}(e),r=t.map(e=>e.size),n=t.map(e=>e.lineHeight);return{fontSizeSM:r[0],fontSize:r[1],fontSizeLG:r[2],fontSizeXL:r[3],fontSizeHeading1:r[6],fontSizeHeading2:r[5],fontSizeHeading3:r[4],fontSizeHeading4:r[3],fontSizeHeading5:r[2],lineHeight:n[1],lineHeightLG:n[2],lineHeightSM:n[0],lineHeightHeading1:n[6],lineHeightHeading2:n[5],lineHeightHeading3:n[4],lineHeightHeading4:n[3],lineHeightHeading5:n[2]}}},85207:function(e,t,r){"use strict";r.d(t,{Z:function(){return s}});var n=r(57389),o=r(99528);function i(e){return e>=0&&e<=255}var a=function(e,t){let{r:r,g:o,b:a,a:l}=new n.C(e).toRgb();if(l<1)return e;let{r:s,g:c,b:u}=new n.C(t).toRgb();for(let e=.01;e<=1;e+=.01){let t=Math.round((r-s*(1-e))/e),l=Math.round((o-c*(1-e))/e),f=Math.round((a-u*(1-e))/e);if(i(t)&&i(l)&&i(f))return new n.C({r:t,g:l,b:f,a:Math.round(100*e)/100}).toRgbString()}return new n.C({r:r,g:o,b:a,a:1}).toRgbString()},l=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);ot.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};function s(e){let{override:t}=e,r=l(e,["override"]),i=Object.assign({},t);Object.keys(o.Z).forEach(e=>{delete i[e]});let s=Object.assign(Object.assign({},r),i);!1===s.motion&&(s.motionDurationFast="0s",s.motionDurationMid="0s",s.motionDurationSlow="0s");let c=Object.assign(Object.assign(Object.assign({},s),{colorLink:s.colorInfoText,colorLinkHover:s.colorInfoHover,colorLinkActive:s.colorInfoActive,colorFillContent:s.colorFillSecondary,colorFillContentHover:s.colorFill,colorFillAlter:s.colorFillQuaternary,colorBgContainerDisabled:s.colorFillTertiary,colorBorderBg:s.colorBgContainer,colorSplit:a(s.colorBorderSecondary,s.colorBgContainer),colorTextPlaceholder:s.colorTextQuaternary,colorTextDisabled:s.colorTextQuaternary,colorTextHeading:s.colorText,colorTextLabel:s.colorTextSecondary,colorTextDescription:s.colorTextTertiary,colorTextLightSolid:s.colorWhite,colorHighlight:s.colorError,colorBgTextHover:s.colorFillSecondary,colorBgTextActive:s.colorFill,colorIcon:s.colorTextTertiary,colorIconHover:s.colorText,colorErrorOutline:a(s.colorErrorBg,s.colorBgContainer),colorWarningOutline:a(s.colorWarningBg,s.colorBgContainer),fontSizeIcon:s.fontSizeSM,lineWidthFocus:4*s.lineWidth,lineWidth:s.lineWidth,controlOutlineWidth:2*s.lineWidth,controlInteractiveSize:s.controlHeight/2,controlItemBgHover:s.colorFillTertiary,controlItemBgActive:s.colorPrimaryBg,controlItemBgActiveHover:s.colorPrimaryBgHover,controlItemBgActiveDisabled:s.colorFill,controlTmpOutline:s.colorFillQuaternary,controlOutline:a(s.colorPrimaryBg,s.colorBgContainer),lineType:s.lineType,borderRadius:s.borderRadius,borderRadiusXS:s.borderRadiusXS,borderRadiusSM:s.borderRadiusSM,borderRadiusLG:s.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:s.sizeXXS,paddingXS:s.sizeXS,paddingSM:s.sizeSM,padding:s.size,paddingMD:s.sizeMD,paddingLG:s.sizeLG,paddingXL:s.sizeXL,paddingContentHorizontalLG:s.sizeLG,paddingContentVerticalLG:s.sizeMS,paddingContentHorizontal:s.sizeMS,paddingContentVertical:s.sizeSM,paddingContentHorizontalSM:s.size,paddingContentVerticalSM:s.sizeXS,marginXXS:s.sizeXXS,marginXS:s.sizeXS,marginSM:s.sizeSM,margin:s.size,marginMD:s.sizeMD,marginLG:s.sizeLG,marginXL:s.sizeXL,marginXXL:s.sizeXXL,boxShadow:` @@ -54,12 +54,12 @@ Copyright (c) 2018 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames -*/!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t0?a-4:a;for(r=0;r>16&255,c[u++]=t>>8&255,c[u++]=255&t;return 2===l&&(t=n[e.charCodeAt(r)]<<2|n[e.charCodeAt(r+1)]>>4,c[u++]=255&t),1===l&&(t=n[e.charCodeAt(r)]<<10|n[e.charCodeAt(r+1)]<<4|n[e.charCodeAt(r+2)]>>2,c[u++]=t>>8&255,c[u++]=255&t),c},t.fromByteArray=function(e){for(var t,n=e.length,o=n%3,i=[],a=0,l=n-o;a>18&63]+r[o>>12&63]+r[o>>6&63]+r[63&o]);return i.join("")}(e,a,a+16383>l?l:a+16383));return 1===o?i.push(r[(t=e[n-1])>>2]+r[t<<4&63]+"=="):2===o&&i.push(r[(t=(e[n-2]<<8)+e[n-1])>>10]+r[t>>4&63]+r[t<<2&63]+"="),i.join("")};for(var r=[],n=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,l=i.length;a0)throw Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");-1===r&&(r=t);var n=r===t?0:4-r%4;return[r,n]}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},72:function(e,t,r){"use strict";/*! +*/!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t0?a-4:a;for(r=0;r>16&255,c[u++]=t>>8&255,c[u++]=255&t;return 2===l&&(t=n[e.charCodeAt(r)]<<2|n[e.charCodeAt(r+1)]>>4,c[u++]=255&t),1===l&&(t=n[e.charCodeAt(r)]<<10|n[e.charCodeAt(r+1)]<<4|n[e.charCodeAt(r+2)]>>2,c[u++]=t>>8&255,c[u++]=255&t),c},t.fromByteArray=function(e){for(var t,n=e.length,o=n%3,i=[],a=0,l=n-o;a>18&63]+r[o>>12&63]+r[o>>6&63]+r[63&o]);return i.join("")}(e,a,a+16383>l?l:a+16383));return 1===o?i.push(r[(t=e[n-1])>>2]+r[t<<4&63]+"=="):2===o&&i.push(r[(t=(e[n-2]<<8)+e[n-1])>>10]+r[t>>4&63]+r[t<<2&63]+"="),i.join("")};for(var r=[],n=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,l=i.length;a0)throw Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");-1===r&&(r=t);var n=r===t?0:4-r%4;return[r,n]}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},72:function(e,t,r){"use strict";/*! * The buffer module from node.js, for the browser. * * @author Feross Aboukhadijeh * @license MIT - */var n=r(675),o=r(783),i="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function a(e){if(e>2147483647)throw RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,l.prototype),t}function l(e,t,r){if("number"==typeof e){if("string"==typeof t)throw TypeError('The "string" argument must be of type string. Received type number');return u(e)}return s(e,t,r)}function s(e,t,r){if("string"==typeof e)return function(e,t){if(("string"!=typeof t||""===t)&&(t="utf8"),!l.isEncoding(t))throw TypeError("Unknown encoding: "+t);var r=0|p(e,t),n=a(r),o=n.write(e,t);return o!==r&&(n=n.slice(0,o)),n}(e,t);if(ArrayBuffer.isView(e))return f(e);if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(Z(e,ArrayBuffer)||e&&Z(e.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(Z(e,SharedArrayBuffer)||e&&Z(e.buffer,SharedArrayBuffer)))return function(e,t,r){var n;if(t<0||e.byteLength=2147483647)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function p(e,t){if(l.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||Z(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;for(var o=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return A(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return O(e).length;default:if(o)return n?-1:A(e).length;t=(""+t).toLowerCase(),o=!0}}function h(e,t,r){var o,i,a=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===r||r>this.length)&&(r=this.length),r<=0||(r>>>=0)<=(t>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var o="",i=t;i2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),(i=r=+r)!=i&&(r=o?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(o)return -1;r=e.length-1}else if(r<0){if(!o)return -1;r=0}if("string"==typeof t&&(t=l.from(t,n)),l.isBuffer(t))return 0===t.length?-1:v(e,t,r,n,o);if("number"==typeof t)return(t&=255,"function"==typeof Uint8Array.prototype.indexOf)?o?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):v(e,[t],r,n,o);throw TypeError("val must be string, number or Buffer")}function v(e,t,r,n,o){var i,a=1,l=e.length,s=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return -1;a=2,l/=2,s/=2,r/=2}function c(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(o){var u=-1;for(i=r;il&&(r=l-s),i=r;i>=0;i--){for(var f=!0,d=0;d239?4:c>223?3:c>191?2:1;if(o+f<=r)switch(f){case 1:c<128&&(u=c);break;case 2:(192&(i=e[o+1]))==128&&(s=(31&c)<<6|63&i)>127&&(u=s);break;case 3:i=e[o+1],a=e[o+2],(192&i)==128&&(192&a)==128&&(s=(15&c)<<12|(63&i)<<6|63&a)>2047&&(s<55296||s>57343)&&(u=s);break;case 4:i=e[o+1],a=e[o+2],l=e[o+3],(192&i)==128&&(192&a)==128&&(192&l)==128&&(s=(15&c)<<18|(63&i)<<12|(63&a)<<6|63&l)>65535&&s<1114112&&(u=s)}null===u?(u=65533,f=1):u>65535&&(u-=65536,n.push(u>>>10&1023|55296),u=56320|1023&u),n.push(u),o+=f}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);for(var r="",n=0;nr)throw RangeError("Trying to access beyond buffer length")}function x(e,t,r,n,o,i){if(!l.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>o||te.length)throw RangeError("Index out of range")}function C(e,t,r,n,o,i){if(r+n>e.length||r<0)throw RangeError("Index out of range")}function w(e,t,r,n,i){return t=+t,r>>>=0,i||C(e,t,r,4,34028234663852886e22,-34028234663852886e22),o.write(e,t,r,n,23,4),r+4}function S(e,t,r,n,i){return t=+t,r>>>=0,i||C(e,t,r,8,17976931348623157e292,-17976931348623157e292),o.write(e,t,r,n,52,8),r+8}t.Buffer=l,t.SlowBuffer=function(e){return+e!=e&&(e=0),l.alloc(+e)},t.INSPECT_MAX_BYTES=50,t.kMaxLength=2147483647,l.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),l.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(l.prototype,"parent",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.buffer}}),Object.defineProperty(l.prototype,"offset",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.byteOffset}}),l.poolSize=8192,l.from=function(e,t,r){return s(e,t,r)},Object.setPrototypeOf(l.prototype,Uint8Array.prototype),Object.setPrototypeOf(l,Uint8Array),l.alloc=function(e,t,r){return(c(e),e<=0)?a(e):void 0!==t?"string"==typeof r?a(e).fill(t,r):a(e).fill(t):a(e)},l.allocUnsafe=function(e){return u(e)},l.allocUnsafeSlow=function(e){return u(e)},l.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==l.prototype},l.compare=function(e,t){if(Z(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),Z(t,Uint8Array)&&(t=l.from(t,t.offset,t.byteLength)),!l.isBuffer(e)||!l.isBuffer(t))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var r=e.length,n=t.length,o=0,i=Math.min(r,n);or&&(e+=" ... "),""},i&&(l.prototype[i]=l.prototype.inspect),l.prototype.compare=function(e,t,r,n,o){if(Z(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),!l.isBuffer(e))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),t<0||r>e.length||n<0||o>this.length)throw RangeError("out of range index");if(n>=o&&t>=r)return 0;if(n>=o)return -1;if(t>=r)return 1;if(t>>>=0,r>>>=0,n>>>=0,o>>>=0,this===e)return 0;for(var i=o-n,a=r-t,s=Math.min(i,a),c=this.slice(n,o),u=e.slice(t,r),f=0;f>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o,i,a,l,s,c,u,f,d,p,h,g,m=this.length-t;if((void 0===r||r>m)&&(r=m),e.length>0&&(r<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var v=!1;;)switch(n){case"hex":return function(e,t,r,n){r=Number(r)||0;var o=e.length-r;n?(n=Number(n))>o&&(n=o):n=o;var i=t.length;n>i/2&&(n=i/2);for(var a=0;a>8,o.push(r%256),o.push(n);return o}(e,this.length-h),this,h,g);default:if(v)throw TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),v=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},l.prototype.slice=function(e,t){var r=this.length;e=~~e,t=void 0===t?r:~~t,e<0?(e+=r)<0&&(e=0):e>r&&(e=r),t<0?(t+=r)<0&&(t=0):t>r&&(t=r),t>>=0,t>>>=0,r||b(e,t,this.length);for(var n=this[e],o=1,i=0;++i>>=0,t>>>=0,r||b(e,t,this.length);for(var n=this[e+--t],o=1;t>0&&(o*=256);)n+=this[e+--t]*o;return n},l.prototype.readUInt8=function(e,t){return e>>>=0,t||b(e,1,this.length),this[e]},l.prototype.readUInt16LE=function(e,t){return e>>>=0,t||b(e,2,this.length),this[e]|this[e+1]<<8},l.prototype.readUInt16BE=function(e,t){return e>>>=0,t||b(e,2,this.length),this[e]<<8|this[e+1]},l.prototype.readUInt32LE=function(e,t){return e>>>=0,t||b(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},l.prototype.readUInt32BE=function(e,t){return e>>>=0,t||b(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},l.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||b(e,t,this.length);for(var n=this[e],o=1,i=0;++i=(o*=128)&&(n-=Math.pow(2,8*t)),n},l.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||b(e,t,this.length);for(var n=t,o=1,i=this[e+--n];n>0&&(o*=256);)i+=this[e+--n]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*t)),i},l.prototype.readInt8=function(e,t){return(e>>>=0,t||b(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},l.prototype.readInt16LE=function(e,t){e>>>=0,t||b(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},l.prototype.readInt16BE=function(e,t){e>>>=0,t||b(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},l.prototype.readInt32LE=function(e,t){return e>>>=0,t||b(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},l.prototype.readInt32BE=function(e,t){return e>>>=0,t||b(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},l.prototype.readFloatLE=function(e,t){return e>>>=0,t||b(e,4,this.length),o.read(this,e,!0,23,4)},l.prototype.readFloatBE=function(e,t){return e>>>=0,t||b(e,4,this.length),o.read(this,e,!1,23,4)},l.prototype.readDoubleLE=function(e,t){return e>>>=0,t||b(e,8,this.length),o.read(this,e,!0,52,8)},l.prototype.readDoubleBE=function(e,t){return e>>>=0,t||b(e,8,this.length),o.read(this,e,!1,52,8)},l.prototype.writeUIntLE=function(e,t,r,n){if(e=+e,t>>>=0,r>>>=0,!n){var o=Math.pow(2,8*r)-1;x(this,e,t,r,o,0)}var i=1,a=0;for(this[t]=255&e;++a>>=0,r>>>=0,!n){var o=Math.pow(2,8*r)-1;x(this,e,t,r,o,0)}var i=r-1,a=1;for(this[t+i]=255&e;--i>=0&&(a*=256);)this[t+i]=e/a&255;return t+r},l.prototype.writeUInt8=function(e,t,r){return e=+e,t>>>=0,r||x(this,e,t,1,255,0),this[t]=255&e,t+1},l.prototype.writeUInt16LE=function(e,t,r){return e=+e,t>>>=0,r||x(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},l.prototype.writeUInt16BE=function(e,t,r){return e=+e,t>>>=0,r||x(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},l.prototype.writeUInt32LE=function(e,t,r){return e=+e,t>>>=0,r||x(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},l.prototype.writeUInt32BE=function(e,t,r){return e=+e,t>>>=0,r||x(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},l.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var o=Math.pow(2,8*r-1);x(this,e,t,r,o-1,-o)}var i=0,a=1,l=0;for(this[t]=255&e;++i>0)-l&255;return t+r},l.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var o=Math.pow(2,8*r-1);x(this,e,t,r,o-1,-o)}var i=r-1,a=1,l=0;for(this[t+i]=255&e;--i>=0&&(a*=256);)e<0&&0===l&&0!==this[t+i+1]&&(l=1),this[t+i]=(e/a>>0)-l&255;return t+r},l.prototype.writeInt8=function(e,t,r){return e=+e,t>>>=0,r||x(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},l.prototype.writeInt16LE=function(e,t,r){return e=+e,t>>>=0,r||x(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},l.prototype.writeInt16BE=function(e,t,r){return e=+e,t>>>=0,r||x(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},l.prototype.writeInt32LE=function(e,t,r){return e=+e,t>>>=0,r||x(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},l.prototype.writeInt32BE=function(e,t,r){return e=+e,t>>>=0,r||x(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},l.prototype.writeFloatLE=function(e,t,r){return w(this,e,t,!0,r)},l.prototype.writeFloatBE=function(e,t,r){return w(this,e,t,!1,r)},l.prototype.writeDoubleLE=function(e,t,r){return S(this,e,t,!0,r)},l.prototype.writeDoubleBE=function(e,t,r){return S(this,e,t,!1,r)},l.prototype.copy=function(e,t,r,n){if(!l.isBuffer(e))throw TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n=this.length)throw RangeError("Index out of range");if(n<0)throw RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t=0;--i)e[i+t]=this[i+r];else Uint8Array.prototype.set.call(e,this.subarray(r,n),t);return o},l.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),void 0!==n&&"string"!=typeof n)throw TypeError("encoding must be a string");if("string"==typeof n&&!l.isEncoding(n))throw TypeError("Unknown encoding: "+n);if(1===e.length){var o,i=e.charCodeAt(0);("utf8"===n&&i<128||"latin1"===n)&&(e=i)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(o=t;o55295&&r<57344){if(!o){if(r>56319||a+1===n){(t-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(t-=3)>-1&&i.push(239,191,189),o=r;continue}r=(o-55296<<10|r-56320)+65536}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((t-=1)<0)break;i.push(r)}else if(r<2048){if((t-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else if(r<1114112){if((t-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}else throw Error("Invalid code point")}return i}function k(e){for(var t=[],r=0;r=t.length)&&!(o>=e.length);++o)t[o+r]=e[o];return o}function Z(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}var B=function(){for(var e="0123456789abcdef",t=Array(256),r=0;r<16;++r)for(var n=16*r,o=0;o<16;++o)t[n+o]=e[r]+e[o];return t}()},783:function(e,t){/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */t.read=function(e,t,r,n,o){var i,a,l=8*o-n-1,s=(1<>1,u=-7,f=r?o-1:0,d=r?-1:1,p=e[t+f];for(f+=d,i=p&(1<<-u)-1,p>>=-u,u+=l;u>0;i=256*i+e[t+f],f+=d,u-=8);for(a=i&(1<<-u)-1,i>>=-u,u+=n;u>0;a=256*a+e[t+f],f+=d,u-=8);if(0===i)i=1-c;else{if(i===s)return a?NaN:(p?-1:1)*(1/0);a+=Math.pow(2,n),i-=c}return(p?-1:1)*a*Math.pow(2,i-n)},t.write=function(e,t,r,n,o,i){var a,l,s,c=8*i-o-1,u=(1<>1,d=23===o?5960464477539062e-23:0,p=n?0:i-1,h=n?1:-1,g=t<0||0===t&&1/t<0?1:0;for(isNaN(t=Math.abs(t))||t===1/0?(l=isNaN(t)?1:0,a=u):(a=Math.floor(Math.log(t)/Math.LN2),t*(s=Math.pow(2,-a))<1&&(a--,s*=2),a+f>=1?t+=d/s:t+=d*Math.pow(2,1-f),t*s>=2&&(a++,s/=2),a+f>=u?(l=0,a=u):a+f>=1?(l=(t*s-1)*Math.pow(2,o),a+=f):(l=t*Math.pow(2,f-1)*Math.pow(2,o),a=0));o>=8;e[r+p]=255&l,p+=h,l/=256,o-=8);for(a=a<0;e[r+p]=255&a,p+=h,a/=256,c-=8);e[r+p-h]|=128*g}}},r={};function n(e){var o=r[e];if(void 0!==o)return o.exports;var i=r[e]={exports:{}},a=!0;try{t[e](i,i.exports,n),a=!1}finally{a&&delete r[e]}return i.exports}n.ab="//";var o=n(72);e.exports=o}()},83177:function(e,t,r){"use strict";/** + */var n=r(675),o=r(783),i="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function a(e){if(e>2147483647)throw RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,l.prototype),t}function l(e,t,r){if("number"==typeof e){if("string"==typeof t)throw TypeError('The "string" argument must be of type string. Received type number');return u(e)}return s(e,t,r)}function s(e,t,r){if("string"==typeof e)return function(e,t){if(("string"!=typeof t||""===t)&&(t="utf8"),!l.isEncoding(t))throw TypeError("Unknown encoding: "+t);var r=0|p(e,t),n=a(r),o=n.write(e,t);return o!==r&&(n=n.slice(0,o)),n}(e,t);if(ArrayBuffer.isView(e))return f(e);if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(Z(e,ArrayBuffer)||e&&Z(e.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(Z(e,SharedArrayBuffer)||e&&Z(e.buffer,SharedArrayBuffer)))return function(e,t,r){var n;if(t<0||e.byteLength=2147483647)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function p(e,t){if(l.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||Z(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;for(var o=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return A(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return O(e).length;default:if(o)return n?-1:A(e).length;t=(""+t).toLowerCase(),o=!0}}function h(e,t,r){var o,i,a=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===r||r>this.length)&&(r=this.length),r<=0||(r>>>=0)<=(t>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var o="",i=t;i2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),(i=r=+r)!=i&&(r=o?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(o)return -1;r=e.length-1}else if(r<0){if(!o)return -1;r=0}if("string"==typeof t&&(t=l.from(t,n)),l.isBuffer(t))return 0===t.length?-1:v(e,t,r,n,o);if("number"==typeof t)return(t&=255,"function"==typeof Uint8Array.prototype.indexOf)?o?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):v(e,[t],r,n,o);throw TypeError("val must be string, number or Buffer")}function v(e,t,r,n,o){var i,a=1,l=e.length,s=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return -1;a=2,l/=2,s/=2,r/=2}function c(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(o){var u=-1;for(i=r;il&&(r=l-s),i=r;i>=0;i--){for(var f=!0,d=0;d239?4:c>223?3:c>191?2:1;if(o+f<=r)switch(f){case 1:c<128&&(u=c);break;case 2:(192&(i=e[o+1]))==128&&(s=(31&c)<<6|63&i)>127&&(u=s);break;case 3:i=e[o+1],a=e[o+2],(192&i)==128&&(192&a)==128&&(s=(15&c)<<12|(63&i)<<6|63&a)>2047&&(s<55296||s>57343)&&(u=s);break;case 4:i=e[o+1],a=e[o+2],l=e[o+3],(192&i)==128&&(192&a)==128&&(192&l)==128&&(s=(15&c)<<18|(63&i)<<12|(63&a)<<6|63&l)>65535&&s<1114112&&(u=s)}null===u?(u=65533,f=1):u>65535&&(u-=65536,n.push(u>>>10&1023|55296),u=56320|1023&u),n.push(u),o+=f}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);for(var r="",n=0;nr)throw RangeError("Trying to access beyond buffer length")}function x(e,t,r,n,o,i){if(!l.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>o||te.length)throw RangeError("Index out of range")}function C(e,t,r,n,o,i){if(r+n>e.length||r<0)throw RangeError("Index out of range")}function w(e,t,r,n,i){return t=+t,r>>>=0,i||C(e,t,r,4,34028234663852886e22,-34028234663852886e22),o.write(e,t,r,n,23,4),r+4}function S(e,t,r,n,i){return t=+t,r>>>=0,i||C(e,t,r,8,17976931348623157e292,-17976931348623157e292),o.write(e,t,r,n,52,8),r+8}t.Buffer=l,t.SlowBuffer=function(e){return+e!=e&&(e=0),l.alloc(+e)},t.INSPECT_MAX_BYTES=50,t.kMaxLength=2147483647,l.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),l.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(l.prototype,"parent",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.buffer}}),Object.defineProperty(l.prototype,"offset",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.byteOffset}}),l.poolSize=8192,l.from=function(e,t,r){return s(e,t,r)},Object.setPrototypeOf(l.prototype,Uint8Array.prototype),Object.setPrototypeOf(l,Uint8Array),l.alloc=function(e,t,r){return(c(e),e<=0)?a(e):void 0!==t?"string"==typeof r?a(e).fill(t,r):a(e).fill(t):a(e)},l.allocUnsafe=function(e){return u(e)},l.allocUnsafeSlow=function(e){return u(e)},l.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==l.prototype},l.compare=function(e,t){if(Z(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),Z(t,Uint8Array)&&(t=l.from(t,t.offset,t.byteLength)),!l.isBuffer(e)||!l.isBuffer(t))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var r=e.length,n=t.length,o=0,i=Math.min(r,n);or&&(e+=" ... "),""},i&&(l.prototype[i]=l.prototype.inspect),l.prototype.compare=function(e,t,r,n,o){if(Z(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),!l.isBuffer(e))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),t<0||r>e.length||n<0||o>this.length)throw RangeError("out of range index");if(n>=o&&t>=r)return 0;if(n>=o)return -1;if(t>=r)return 1;if(t>>>=0,r>>>=0,n>>>=0,o>>>=0,this===e)return 0;for(var i=o-n,a=r-t,s=Math.min(i,a),c=this.slice(n,o),u=e.slice(t,r),f=0;f>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o,i,a,l,s,c,u,f,d,p,h,g,m=this.length-t;if((void 0===r||r>m)&&(r=m),e.length>0&&(r<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var v=!1;;)switch(n){case"hex":return function(e,t,r,n){r=Number(r)||0;var o=e.length-r;n?(n=Number(n))>o&&(n=o):n=o;var i=t.length;n>i/2&&(n=i/2);for(var a=0;a>8,o.push(r%256),o.push(n);return o}(e,this.length-h),this,h,g);default:if(v)throw TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),v=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},l.prototype.slice=function(e,t){var r=this.length;e=~~e,t=void 0===t?r:~~t,e<0?(e+=r)<0&&(e=0):e>r&&(e=r),t<0?(t+=r)<0&&(t=0):t>r&&(t=r),t>>=0,t>>>=0,r||b(e,t,this.length);for(var n=this[e],o=1,i=0;++i>>=0,t>>>=0,r||b(e,t,this.length);for(var n=this[e+--t],o=1;t>0&&(o*=256);)n+=this[e+--t]*o;return n},l.prototype.readUInt8=function(e,t){return e>>>=0,t||b(e,1,this.length),this[e]},l.prototype.readUInt16LE=function(e,t){return e>>>=0,t||b(e,2,this.length),this[e]|this[e+1]<<8},l.prototype.readUInt16BE=function(e,t){return e>>>=0,t||b(e,2,this.length),this[e]<<8|this[e+1]},l.prototype.readUInt32LE=function(e,t){return e>>>=0,t||b(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},l.prototype.readUInt32BE=function(e,t){return e>>>=0,t||b(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},l.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||b(e,t,this.length);for(var n=this[e],o=1,i=0;++i=(o*=128)&&(n-=Math.pow(2,8*t)),n},l.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||b(e,t,this.length);for(var n=t,o=1,i=this[e+--n];n>0&&(o*=256);)i+=this[e+--n]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*t)),i},l.prototype.readInt8=function(e,t){return(e>>>=0,t||b(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},l.prototype.readInt16LE=function(e,t){e>>>=0,t||b(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},l.prototype.readInt16BE=function(e,t){e>>>=0,t||b(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},l.prototype.readInt32LE=function(e,t){return e>>>=0,t||b(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},l.prototype.readInt32BE=function(e,t){return e>>>=0,t||b(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},l.prototype.readFloatLE=function(e,t){return e>>>=0,t||b(e,4,this.length),o.read(this,e,!0,23,4)},l.prototype.readFloatBE=function(e,t){return e>>>=0,t||b(e,4,this.length),o.read(this,e,!1,23,4)},l.prototype.readDoubleLE=function(e,t){return e>>>=0,t||b(e,8,this.length),o.read(this,e,!0,52,8)},l.prototype.readDoubleBE=function(e,t){return e>>>=0,t||b(e,8,this.length),o.read(this,e,!1,52,8)},l.prototype.writeUIntLE=function(e,t,r,n){if(e=+e,t>>>=0,r>>>=0,!n){var o=Math.pow(2,8*r)-1;x(this,e,t,r,o,0)}var i=1,a=0;for(this[t]=255&e;++a>>=0,r>>>=0,!n){var o=Math.pow(2,8*r)-1;x(this,e,t,r,o,0)}var i=r-1,a=1;for(this[t+i]=255&e;--i>=0&&(a*=256);)this[t+i]=e/a&255;return t+r},l.prototype.writeUInt8=function(e,t,r){return e=+e,t>>>=0,r||x(this,e,t,1,255,0),this[t]=255&e,t+1},l.prototype.writeUInt16LE=function(e,t,r){return e=+e,t>>>=0,r||x(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},l.prototype.writeUInt16BE=function(e,t,r){return e=+e,t>>>=0,r||x(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},l.prototype.writeUInt32LE=function(e,t,r){return e=+e,t>>>=0,r||x(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},l.prototype.writeUInt32BE=function(e,t,r){return e=+e,t>>>=0,r||x(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},l.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var o=Math.pow(2,8*r-1);x(this,e,t,r,o-1,-o)}var i=0,a=1,l=0;for(this[t]=255&e;++i>0)-l&255;return t+r},l.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var o=Math.pow(2,8*r-1);x(this,e,t,r,o-1,-o)}var i=r-1,a=1,l=0;for(this[t+i]=255&e;--i>=0&&(a*=256);)e<0&&0===l&&0!==this[t+i+1]&&(l=1),this[t+i]=(e/a>>0)-l&255;return t+r},l.prototype.writeInt8=function(e,t,r){return e=+e,t>>>=0,r||x(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},l.prototype.writeInt16LE=function(e,t,r){return e=+e,t>>>=0,r||x(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},l.prototype.writeInt16BE=function(e,t,r){return e=+e,t>>>=0,r||x(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},l.prototype.writeInt32LE=function(e,t,r){return e=+e,t>>>=0,r||x(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},l.prototype.writeInt32BE=function(e,t,r){return e=+e,t>>>=0,r||x(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},l.prototype.writeFloatLE=function(e,t,r){return w(this,e,t,!0,r)},l.prototype.writeFloatBE=function(e,t,r){return w(this,e,t,!1,r)},l.prototype.writeDoubleLE=function(e,t,r){return S(this,e,t,!0,r)},l.prototype.writeDoubleBE=function(e,t,r){return S(this,e,t,!1,r)},l.prototype.copy=function(e,t,r,n){if(!l.isBuffer(e))throw TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n=this.length)throw RangeError("Index out of range");if(n<0)throw RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t=0;--i)e[i+t]=this[i+r];else Uint8Array.prototype.set.call(e,this.subarray(r,n),t);return o},l.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),void 0!==n&&"string"!=typeof n)throw TypeError("encoding must be a string");if("string"==typeof n&&!l.isEncoding(n))throw TypeError("Unknown encoding: "+n);if(1===e.length){var o,i=e.charCodeAt(0);("utf8"===n&&i<128||"latin1"===n)&&(e=i)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(o=t;o55295&&r<57344){if(!o){if(r>56319||a+1===n){(t-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(t-=3)>-1&&i.push(239,191,189),o=r;continue}r=(o-55296<<10|r-56320)+65536}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((t-=1)<0)break;i.push(r)}else if(r<2048){if((t-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else if(r<1114112){if((t-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}else throw Error("Invalid code point")}return i}function k(e){for(var t=[],r=0;r=t.length)&&!(o>=e.length);++o)t[o+r]=e[o];return o}function Z(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}var B=function(){for(var e="0123456789abcdef",t=Array(256),r=0;r<16;++r)for(var n=16*r,o=0;o<16;++o)t[n+o]=e[r]+e[o];return t}()},783:function(e,t){/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */t.read=function(e,t,r,n,o){var i,a,l=8*o-n-1,s=(1<>1,u=-7,f=r?o-1:0,d=r?-1:1,p=e[t+f];for(f+=d,i=p&(1<<-u)-1,p>>=-u,u+=l;u>0;i=256*i+e[t+f],f+=d,u-=8);for(a=i&(1<<-u)-1,i>>=-u,u+=n;u>0;a=256*a+e[t+f],f+=d,u-=8);if(0===i)i=1-c;else{if(i===s)return a?NaN:(p?-1:1)*(1/0);a+=Math.pow(2,n),i-=c}return(p?-1:1)*a*Math.pow(2,i-n)},t.write=function(e,t,r,n,o,i){var a,l,s,c=8*i-o-1,u=(1<>1,d=23===o?5960464477539062e-23:0,p=n?0:i-1,h=n?1:-1,g=t<0||0===t&&1/t<0?1:0;for(isNaN(t=Math.abs(t))||t===1/0?(l=isNaN(t)?1:0,a=u):(a=Math.floor(Math.log(t)/Math.LN2),t*(s=Math.pow(2,-a))<1&&(a--,s*=2),a+f>=1?t+=d/s:t+=d*Math.pow(2,1-f),t*s>=2&&(a++,s/=2),a+f>=u?(l=0,a=u):a+f>=1?(l=(t*s-1)*Math.pow(2,o),a+=f):(l=t*Math.pow(2,f-1)*Math.pow(2,o),a=0));o>=8;e[r+p]=255&l,p+=h,l/=256,o-=8);for(a=a<0;e[r+p]=255&a,p+=h,a/=256,c-=8);e[r+p-h]|=128*g}}},r={};function n(e){var o=r[e];if(void 0!==o)return o.exports;var i=r[e]={exports:{}},a=!0;try{t[e](i,i.exports,n),a=!1}finally{a&&delete r[e]}return i.exports}n.ab="//";var o=n(72);e.exports=o}()},66003:function(e){!function(){var t={229:function(e){var t,r,n,o=e.exports={};function i(){throw Error("setTimeout has not been defined")}function a(){throw Error("clearTimeout has not been defined")}function l(e){if(t===setTimeout)return setTimeout(e,0);if((t===i||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:i}catch(e){t=i}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var s=[],c=!1,u=-1;function f(){c&&n&&(c=!1,n.length?s=n.concat(s):u=-1,s.length&&d())}function d(){if(!c){var e=l(f);c=!0;for(var t=s.length;t;){for(n=s,s=[];++u1)for(var r=1;r1&&void 0!==arguments[1]?arguments[1]:2;t();var i=(0,X.Z)(function(){o<=1?n({isCanceled:function(){return i!==e.current}}):r(n,o-1)});e.current=i},t]},J=[R,j,T,"end"],Q=[R,M];function ee(e){return e===T||"end"===e}var et=function(e,t,r){var n=(0,k.Z)(P),o=(0,u.Z)(n,2),i=o[0],a=o[1],l=Y(),s=(0,u.Z)(l,2),c=s[0],f=s[1],d=t?Q:J;return V(function(){if(i!==P&&"end"!==i){var e=d.indexOf(i),t=d[e+1],n=r(i);!1===n?a(t,!0):t&&c(function(e){function r(){e.isCanceled()||a(t,!0)}!0===n?r():Promise.resolve(n).then(r)})}},[e,i]),m.useEffect(function(){return function(){f()}},[]),[function(){a(R,!0)},i]},er=(a=U,"object"===(0,f.Z)(U)&&(a=U.transitionSupport),(l=m.forwardRef(function(e,t){var r=e.visible,n=void 0===r||r,o=e.removeOnLeave,i=void 0===o||o,l=e.forceRender,f=e.children,d=e.motionName,v=e.leavedClassName,y=e.eventProps,x=m.useContext(b).motion,C=!!(e.motionName&&a&&!1!==x),w=(0,m.useRef)(),S=(0,m.useRef)(),E=function(e,t,r,n){var o=n.motionEnter,i=void 0===o||o,a=n.motionAppear,l=void 0===a||a,f=n.motionLeave,d=void 0===f||f,p=n.motionDeadline,h=n.motionLeaveImmediately,g=n.onAppearPrepare,v=n.onEnterPrepare,y=n.onLeavePrepare,b=n.onAppearStart,x=n.onEnterStart,C=n.onLeaveStart,w=n.onAppearActive,S=n.onEnterActive,E=n.onLeaveActive,A=n.onAppearEnd,P=n.onEnterEnd,F=n.onLeaveEnd,_=n.onVisibleChanged,N=(0,k.Z)(),H=(0,u.Z)(N,2),D=H[0],L=H[1],I=(0,k.Z)(O),z=(0,u.Z)(I,2),U=z[0],W=z[1],G=(0,k.Z)(null),K=(0,u.Z)(G,2),X=K[0],Y=K[1],J=(0,m.useRef)(!1),Q=(0,m.useRef)(null),er=(0,m.useRef)(!1);function en(){W(O,!0),Y(null,!0)}function eo(e){var t,n=r();if(!e||e.deadline||e.target===n){var o=er.current;U===$&&o?t=null==A?void 0:A(n,e):U===Z&&o?t=null==P?void 0:P(n,e):U===B&&o&&(t=null==F?void 0:F(n,e)),U!==O&&o&&!1!==t&&en()}}var ei=q(eo),ea=(0,u.Z)(ei,1)[0],el=function(e){var t,r,n;switch(e){case $:return t={},(0,s.Z)(t,R,g),(0,s.Z)(t,j,b),(0,s.Z)(t,T,w),t;case Z:return r={},(0,s.Z)(r,R,v),(0,s.Z)(r,j,x),(0,s.Z)(r,T,S),r;case B:return n={},(0,s.Z)(n,R,y),(0,s.Z)(n,j,C),(0,s.Z)(n,T,E),n;default:return{}}},es=m.useMemo(function(){return el(U)},[U]),ec=et(U,!e,function(e){if(e===R){var t,n=es[R];return!!n&&n(r())}return ed in es&&Y((null===(t=es[ed])||void 0===t?void 0:t.call(es,r(),null))||null),ed===T&&(ea(r()),p>0&&(clearTimeout(Q.current),Q.current=setTimeout(function(){eo({deadline:!0})},p))),ed===M&&en(),!0}),eu=(0,u.Z)(ec,2),ef=eu[0],ed=eu[1],ep=ee(ed);er.current=ep,V(function(){L(t);var r,n=J.current;J.current=!0,!n&&t&&l&&(r=$),n&&t&&i&&(r=Z),(n&&!t&&d||!n&&h&&!t&&d)&&(r=B);var o=el(r);r&&(e||o[R])?(W(r),ef()):W(O)},[t]),(0,m.useEffect)(function(){(U!==$||l)&&(U!==Z||i)&&(U!==B||d)||W(O)},[l,i,d]),(0,m.useEffect)(function(){return function(){J.current=!1,clearTimeout(Q.current)}},[]);var eh=m.useRef(!1);(0,m.useEffect)(function(){D&&(eh.current=!0),void 0!==D&&U===O&&((eh.current||D)&&(null==_||_(D)),eh.current=!0)},[D,U]);var eg=X;return es[R]&&ed===j&&(eg=(0,c.Z)({transition:"none"},eg)),[U,ed,eg,null!=D?D:t]}(C,n,function(){try{return w.current instanceof HTMLElement?w.current:(0,h.Z)(S.current)}catch(e){return null}},e),P=(0,u.Z)(E,4),F=P[0],_=P[1],N=P[2],H=P[3],D=m.useRef(H);H&&(D.current=!0);var L=m.useCallback(function(e){w.current=e,(0,g.mH)(t,e)},[t]),I=(0,c.Z)((0,c.Z)({},y),{},{visible:n});if(f){if(F===O)z=H?f((0,c.Z)({},I),L):!i&&D.current&&v?f((0,c.Z)((0,c.Z)({},I),{},{className:v}),L):!l&&(i||v)?null:f((0,c.Z)((0,c.Z)({},I),{},{style:{display:"none"}}),L);else{_===R?W="prepare":ee(_)?W="active":_===j&&(W="start");var z,U,W,G=K(d,"".concat(F,"-").concat(W));z=f((0,c.Z)((0,c.Z)({},I),{},{className:p()(K(d,F),(U={},(0,s.Z)(U,G,G&&W),(0,s.Z)(U,d,"string"==typeof d),U)),style:N}),L)}}else z=null;return m.isValidElement(z)&&(0,g.Yr)(z)&&!z.ref&&(z=m.cloneElement(z,{ref:L})),m.createElement(A,{ref:S},z)})).displayName="CSSMotion",l),en=r(40431),eo=r(70184),ei="keep",ea="remove",el="removed";function es(e){var t;return t=e&&"object"===(0,f.Z)(e)&&"key"in e?e:{key:e},(0,c.Z)((0,c.Z)({},t),{},{key:String(t.key)})}function ec(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.map(es)}var eu=["component","children","onVisibleChanged","onAllRemoved"],ef=["status"],ed=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"],ep=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:er,r=function(e){(0,S.Z)(n,e);var r=(0,E.Z)(n);function n(){var e;(0,C.Z)(this,n);for(var t=arguments.length,o=Array(t),i=0;i0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=[],n=0,o=t.length,i=ec(e),a=ec(t);i.forEach(function(e){for(var t=!1,i=n;i1}).forEach(function(e){(r=r.filter(function(t){var r=t.key,n=t.status;return r!==e||n!==ea})).forEach(function(t){t.key===e&&(t.status=ei)})}),r})(n,ec(r)).filter(function(e){var t=n.find(function(t){var r=t.key;return e.key===r});return!t||t.status!==el||e.status!==ea})}}}]),n}(m.Component);return(0,s.Z)(r,"defaultProps",{component:"div"}),r}(U),eh=er},91219:function(e,t){"use strict";t.Z={items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"Page",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages",page_size:"Page Size"}},71693:function(e,t,r){"use strict";function n(){return!!("undefined"!=typeof window&&window.document&&window.document.createElement)}r.d(t,{Z:function(){return n}})},14071:function(e,t,r){"use strict";function n(e,t){if(!e)return!1;if(e.contains)return e.contains(t);for(var r=t;r;){if(r===e)return!0;r=r.parentNode}return!1}r.d(t,{Z:function(){return n}})},52160:function(e,t,r){"use strict";r.d(t,{hq:function(){return p},jL:function(){return d}});var n=r(71693),o=r(14071),i="data-rc-order",a=new Map;function l(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.mark;return t?t.startsWith("data-")?t:"data-".concat(t):"rc-util-key"}function s(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function c(e){return Array.from((a.get(e)||e).children).filter(function(e){return"STYLE"===e.tagName})}function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(0,n.Z)())return null;var r=t.csp,o=t.prepend,a=document.createElement("style");a.setAttribute(i,"queue"===o?"prependQueue":o?"prepend":"append"),null!=r&&r.nonce&&(a.nonce=null==r?void 0:r.nonce),a.innerHTML=e;var l=s(t),u=l.firstChild;if(o){if("queue"===o){var f=c(l).filter(function(e){return["prepend","prependQueue"].includes(e.getAttribute(i))});if(f.length)return l.insertBefore(a,f[f.length-1].nextSibling),a}l.insertBefore(a,u)}else l.appendChild(a);return a}function f(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return c(s(t)).find(function(r){return r.getAttribute(l(t))===e})}function d(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=f(e,t);r&&s(t).removeChild(r)}function p(e,t){var r,n,i,c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};!function(e,t){var r=a.get(e);if(!r||!(0,o.Z)(document,r)){var n=u("",t),i=n.parentNode;a.set(e,i),e.removeChild(n)}}(s(c),c);var d=f(t,c);if(d)return null!==(r=c.csp)&&void 0!==r&&r.nonce&&d.nonce!==(null===(n=c.csp)||void 0===n?void 0:n.nonce)&&(d.nonce=null===(i=c.csp)||void 0===i?void 0:i.nonce),d.innerHTML!==e&&(d.innerHTML=e),d;var p=u(e,c);return p.setAttribute(l(c),t),p}},49175:function(e,t,r){"use strict";r.d(t,{S:function(){return i},Z:function(){return a}});var n=r(86006),o=r(8431);function i(e){return e instanceof HTMLElement||e instanceof SVGElement}function a(e){return i(e)?e:e instanceof n.Component?o.findDOMNode(e):null}},60618:function(e,t,r){"use strict";function n(e){var t;return null==e?void 0:null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}function o(e){return n(e)!==(null==e?void 0:e.ownerDocument)?n(e):null}r.d(t,{A:function(){return o}})},48580:function(e,t){"use strict";var r={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(e){var t=e.keyCode;if(e.altKey&&!e.ctrlKey||e.metaKey||t>=r.F1&&t<=r.F12)return!1;switch(t){case r.ALT:case r.CAPS_LOCK:case r.CONTEXT_MENU:case r.CTRL:case r.DOWN:case r.END:case r.ESC:case r.HOME:case r.INSERT:case r.LEFT:case r.MAC_FF_META:case r.META:case r.NUMLOCK:case r.NUM_CENTER:case r.PAGE_DOWN:case r.PAGE_UP:case r.PAUSE:case r.PRINT_SCREEN:case r.RIGHT:case r.SHIFT:case r.UP:case r.WIN_KEY:case r.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(e){if(e>=r.ZERO&&e<=r.NINE||e>=r.NUM_ZERO&&e<=r.NUM_MULTIPLY||e>=r.A&&e<=r.Z||-1!==window.navigator.userAgent.indexOf("WebKit")&&0===e)return!0;switch(e){case r.SPACE:case r.QUESTION_MARK:case r.NUM_PLUS:case r.NUM_MINUS:case r.NUM_PERIOD:case r.NUM_DIVISION:case r.SEMICOLON:case r.DASH:case r.EQUALS:case r.COMMA:case r.PERIOD:case r.SLASH:case r.APOSTROPHE:case r.SINGLE_QUOTE:case r.OPEN_SQUARE_BRACKET:case r.BACKSLASH:case r.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};t.Z=r},88101:function(e,t,r){"use strict";r.d(t,{s:function(){return m},v:function(){return y}});var n,o,i=r(71971),a=r(27859),l=r(965),s=r(88684),c=r(8431),u=(0,s.Z)({},n||(n=r.t(c,2))),f=u.version,d=u.render,p=u.unmountComponentAtNode;try{Number((f||"").split(".")[0])>=18&&(o=u.createRoot)}catch(e){}function h(e){var t=u.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&"object"===(0,l.Z)(t)&&(t.usingClientEntryPoint=e)}var g="__rc_react_root__";function m(e,t){if(o){var r;h(!0),r=t[g]||o(t),h(!1),r.render(e),t[g]=r;return}d(e,t)}function v(){return(v=(0,a.Z)((0,i.Z)().mark(function e(t){return(0,i.Z)().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Promise.resolve().then(function(){var e;null===(e=t[g])||void 0===e||e.unmount(),delete t[g]}));case 1:case"end":return e.stop()}},e)}))).apply(this,arguments)}function y(e){return b.apply(this,arguments)}function b(){return(b=(0,a.Z)((0,i.Z)().mark(function e(t){return(0,i.Z)().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!(void 0!==o)){e.next=2;break}return e.abrupt("return",function(e){return v.apply(this,arguments)}(t));case 2:p(t);case 3:case"end":return e.stop()}},e)}))).apply(this,arguments)}},23254:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var n=r(86006);function o(e){var t=n.useRef();return t.current=e,n.useCallback(function(){for(var e,r=arguments.length,n=Array(r),o=0;o2&&void 0!==arguments[2]&&arguments[2],i=new Set;return function e(t,a){var l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,s=i.has(t);if((0,o.ZP)(!s,"Warning: There may be circular references"),s)return!1;if(t===a)return!0;if(r&&l>1)return!1;i.add(t);var c=l+1;if(Array.isArray(t)){if(!Array.isArray(a)||t.length!==a.length)return!1;for(var u=0;u1&&void 0!==arguments[1]?arguments[1]:1,n=o+=1;return!function t(o){if(0===o)i.delete(n),e();else{var a=r(function(){t(o-1)});i.set(n,a)}}(t),n};a.cancel=function(e){var t=i.get(e);return i.delete(t),n(t)},t.Z=a},92510:function(e,t,r){"use strict";r.d(t,{Yr:function(){return c},mH:function(){return a},sQ:function(){return l},x1:function(){return s}});var n=r(965),o=r(10854),i=r(55567);function a(e,t){"function"==typeof e?e(t):"object"===(0,n.Z)(e)&&e&&"current"in e&&(e.current=t)}function l(){for(var e=arguments.length,t=Array(e),r=0;r3&&void 0!==arguments[3]&&arguments[3];return t.length&&n&&void 0===r&&!(0,l.Z)(e,t.slice(0,-1))?e:function e(t,r,n,l){if(!r.length)return n;var s,c=(0,a.Z)(r),u=c[0],f=c.slice(1);return s=t||"number"!=typeof u?Array.isArray(t)?(0,i.Z)(t):(0,o.Z)({},t):[],l&&void 0===n&&1===f.length?delete s[u][f[0]]:s[u]=e(s[u],f,n,l),s}(e,t,r,n)}function c(e){return Array.isArray(e)?[]:{}}var u="undefined"==typeof Reflect?Object.keys:Reflect.ownKeys;function f(){for(var e=arguments.length,t=Array(e),r=0;r1&&void 0!==arguments[1]?arguments[1]:2;t();var i=(0,X.Z)(function(){o<=1?n({isCanceled:function(){return i!==e.current}}):r(n,o-1)});e.current=i},t]},J=[T,R,j,"end"],Q=[T,M];function ee(e){return e===j||"end"===e}var et=function(e,t,r){var n=(0,k.Z)(P),o=(0,u.Z)(n,2),i=o[0],a=o[1],l=Y(),s=(0,u.Z)(l,2),c=s[0],f=s[1],d=t?Q:J;return V(function(){if(i!==P&&"end"!==i){var e=d.indexOf(i),t=d[e+1],n=r(i);!1===n?a(t,!0):t&&c(function(e){function r(){e.isCanceled()||a(t,!0)}!0===n?r():Promise.resolve(n).then(r)})}},[e,i]),m.useEffect(function(){return function(){f()}},[]),[function(){a(T,!0)},i]},er=(a=U,"object"===(0,f.Z)(U)&&(a=U.transitionSupport),(l=m.forwardRef(function(e,t){var r=e.visible,n=void 0===r||r,o=e.removeOnLeave,i=void 0===o||o,l=e.forceRender,f=e.children,d=e.motionName,v=e.leavedClassName,y=e.eventProps,x=m.useContext(b).motion,C=!!(e.motionName&&a&&!1!==x),w=(0,m.useRef)(),S=(0,m.useRef)(),E=function(e,t,r,n){var o=n.motionEnter,i=void 0===o||o,a=n.motionAppear,l=void 0===a||a,f=n.motionLeave,d=void 0===f||f,p=n.motionDeadline,h=n.motionLeaveImmediately,g=n.onAppearPrepare,v=n.onEnterPrepare,y=n.onLeavePrepare,b=n.onAppearStart,x=n.onEnterStart,C=n.onLeaveStart,w=n.onAppearActive,S=n.onEnterActive,E=n.onLeaveActive,A=n.onAppearEnd,P=n.onEnterEnd,F=n.onLeaveEnd,_=n.onVisibleChanged,N=(0,k.Z)(),H=(0,u.Z)(N,2),D=H[0],L=H[1],I=(0,k.Z)(O),z=(0,u.Z)(I,2),U=z[0],W=z[1],G=(0,k.Z)(null),K=(0,u.Z)(G,2),X=K[0],Y=K[1],J=(0,m.useRef)(!1),Q=(0,m.useRef)(null),er=(0,m.useRef)(!1);function en(){W(O,!0),Y(null,!0)}function eo(e){var t,n=r();if(!e||e.deadline||e.target===n){var o=er.current;U===$&&o?t=null==A?void 0:A(n,e):U===Z&&o?t=null==P?void 0:P(n,e):U===B&&o&&(t=null==F?void 0:F(n,e)),U!==O&&o&&!1!==t&&en()}}var ei=q(eo),ea=(0,u.Z)(ei,1)[0],el=function(e){var t,r,n;switch(e){case $:return t={},(0,s.Z)(t,T,g),(0,s.Z)(t,R,b),(0,s.Z)(t,j,w),t;case Z:return r={},(0,s.Z)(r,T,v),(0,s.Z)(r,R,x),(0,s.Z)(r,j,S),r;case B:return n={},(0,s.Z)(n,T,y),(0,s.Z)(n,R,C),(0,s.Z)(n,j,E),n;default:return{}}},es=m.useMemo(function(){return el(U)},[U]),ec=et(U,!e,function(e){if(e===T){var t,n=es[T];return!!n&&n(r())}return ed in es&&Y((null===(t=es[ed])||void 0===t?void 0:t.call(es,r(),null))||null),ed===j&&(ea(r()),p>0&&(clearTimeout(Q.current),Q.current=setTimeout(function(){eo({deadline:!0})},p))),ed===M&&en(),!0}),eu=(0,u.Z)(ec,2),ef=eu[0],ed=eu[1],ep=ee(ed);er.current=ep,V(function(){L(t);var r,n=J.current;J.current=!0,!n&&t&&l&&(r=$),n&&t&&i&&(r=Z),(n&&!t&&d||!n&&h&&!t&&d)&&(r=B);var o=el(r);r&&(e||o[T])?(W(r),ef()):W(O)},[t]),(0,m.useEffect)(function(){(U!==$||l)&&(U!==Z||i)&&(U!==B||d)||W(O)},[l,i,d]),(0,m.useEffect)(function(){return function(){J.current=!1,clearTimeout(Q.current)}},[]);var eh=m.useRef(!1);(0,m.useEffect)(function(){D&&(eh.current=!0),void 0!==D&&U===O&&((eh.current||D)&&(null==_||_(D)),eh.current=!0)},[D,U]);var eg=X;return es[T]&&ed===R&&(eg=(0,c.Z)({transition:"none"},eg)),[U,ed,eg,null!=D?D:t]}(C,n,function(){try{return w.current instanceof HTMLElement?w.current:(0,h.Z)(S.current)}catch(e){return null}},e),P=(0,u.Z)(E,4),F=P[0],_=P[1],N=P[2],H=P[3],D=m.useRef(H);H&&(D.current=!0);var L=m.useCallback(function(e){w.current=e,(0,g.mH)(t,e)},[t]),I=(0,c.Z)((0,c.Z)({},y),{},{visible:n});if(f){if(F===O)z=H?f((0,c.Z)({},I),L):!i&&D.current&&v?f((0,c.Z)((0,c.Z)({},I),{},{className:v}),L):!l&&(i||v)?null:f((0,c.Z)((0,c.Z)({},I),{},{style:{display:"none"}}),L);else{_===T?W="prepare":ee(_)?W="active":_===R&&(W="start");var z,U,W,G=K(d,"".concat(F,"-").concat(W));z=f((0,c.Z)((0,c.Z)({},I),{},{className:p()(K(d,F),(U={},(0,s.Z)(U,G,G&&W),(0,s.Z)(U,d,"string"==typeof d),U)),style:N}),L)}}else z=null;return m.isValidElement(z)&&(0,g.Yr)(z)&&!z.ref&&(z=m.cloneElement(z,{ref:L})),m.createElement(A,{ref:S},z)})).displayName="CSSMotion",l),en=r(40431),eo=r(70184),ei="keep",ea="remove",el="removed";function es(e){var t;return t=e&&"object"===(0,f.Z)(e)&&"key"in e?e:{key:e},(0,c.Z)((0,c.Z)({},t),{},{key:String(t.key)})}function ec(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.map(es)}var eu=["component","children","onVisibleChanged","onAllRemoved"],ef=["status"],ed=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"],ep=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:er,r=function(e){(0,S.Z)(n,e);var r=(0,E.Z)(n);function n(){var e;(0,C.Z)(this,n);for(var t=arguments.length,o=Array(t),i=0;i0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=[],n=0,o=t.length,i=ec(e),a=ec(t);i.forEach(function(e){for(var t=!1,i=n;i1}).forEach(function(e){(r=r.filter(function(t){var r=t.key,n=t.status;return r!==e||n!==ea})).forEach(function(t){t.key===e&&(t.status=ei)})}),r})(n,ec(r)).filter(function(e){var t=n.find(function(t){var r=t.key;return e.key===r});return!t||t.status!==el||e.status!==ea})}}}]),n}(m.Component);return(0,s.Z)(r,"defaultProps",{component:"div"}),r}(U),eh=er},91219:function(e,t){"use strict";t.Z={items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"Page",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages",page_size:"Page Size"}},71693:function(e,t,r){"use strict";function n(){return!!("undefined"!=typeof window&&window.document&&window.document.createElement)}r.d(t,{Z:function(){return n}})},14071:function(e,t,r){"use strict";function n(e,t){if(!e)return!1;if(e.contains)return e.contains(t);for(var r=t;r;){if(r===e)return!0;r=r.parentNode}return!1}r.d(t,{Z:function(){return n}})},52160:function(e,t,r){"use strict";r.d(t,{hq:function(){return p},jL:function(){return d}});var n=r(71693),o=r(14071),i="data-rc-order",a=new Map;function l(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.mark;return t?t.startsWith("data-")?t:"data-".concat(t):"rc-util-key"}function s(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function c(e){return Array.from((a.get(e)||e).children).filter(function(e){return"STYLE"===e.tagName})}function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(0,n.Z)())return null;var r=t.csp,o=t.prepend,a=document.createElement("style");a.setAttribute(i,"queue"===o?"prependQueue":o?"prepend":"append"),null!=r&&r.nonce&&(a.nonce=null==r?void 0:r.nonce),a.innerHTML=e;var l=s(t),u=l.firstChild;if(o){if("queue"===o){var f=c(l).filter(function(e){return["prepend","prependQueue"].includes(e.getAttribute(i))});if(f.length)return l.insertBefore(a,f[f.length-1].nextSibling),a}l.insertBefore(a,u)}else l.appendChild(a);return a}function f(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return c(s(t)).find(function(r){return r.getAttribute(l(t))===e})}function d(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=f(e,t);r&&s(t).removeChild(r)}function p(e,t){var r,n,i,c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};!function(e,t){var r=a.get(e);if(!r||!(0,o.Z)(document,r)){var n=u("",t),i=n.parentNode;a.set(e,i),e.removeChild(n)}}(s(c),c);var d=f(t,c);if(d)return null!==(r=c.csp)&&void 0!==r&&r.nonce&&d.nonce!==(null===(n=c.csp)||void 0===n?void 0:n.nonce)&&(d.nonce=null===(i=c.csp)||void 0===i?void 0:i.nonce),d.innerHTML!==e&&(d.innerHTML=e),d;var p=u(e,c);return p.setAttribute(l(c),t),p}},49175:function(e,t,r){"use strict";r.d(t,{S:function(){return i},Z:function(){return a}});var n=r(86006),o=r(8431);function i(e){return e instanceof HTMLElement||e instanceof SVGElement}function a(e){return i(e)?e:e instanceof n.Component?o.findDOMNode(e):null}},60618:function(e,t,r){"use strict";function n(e){var t;return null==e?void 0:null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}function o(e){return n(e)!==(null==e?void 0:e.ownerDocument)?n(e):null}r.d(t,{A:function(){return o}})},48580:function(e,t){"use strict";var r={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(e){var t=e.keyCode;if(e.altKey&&!e.ctrlKey||e.metaKey||t>=r.F1&&t<=r.F12)return!1;switch(t){case r.ALT:case r.CAPS_LOCK:case r.CONTEXT_MENU:case r.CTRL:case r.DOWN:case r.END:case r.ESC:case r.HOME:case r.INSERT:case r.LEFT:case r.MAC_FF_META:case r.META:case r.NUMLOCK:case r.NUM_CENTER:case r.PAGE_DOWN:case r.PAGE_UP:case r.PAUSE:case r.PRINT_SCREEN:case r.RIGHT:case r.SHIFT:case r.UP:case r.WIN_KEY:case r.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(e){if(e>=r.ZERO&&e<=r.NINE||e>=r.NUM_ZERO&&e<=r.NUM_MULTIPLY||e>=r.A&&e<=r.Z||-1!==window.navigator.userAgent.indexOf("WebKit")&&0===e)return!0;switch(e){case r.SPACE:case r.QUESTION_MARK:case r.NUM_PLUS:case r.NUM_MINUS:case r.NUM_PERIOD:case r.NUM_DIVISION:case r.SEMICOLON:case r.DASH:case r.EQUALS:case r.COMMA:case r.PERIOD:case r.SLASH:case r.APOSTROPHE:case r.SINGLE_QUOTE:case r.OPEN_SQUARE_BRACKET:case r.BACKSLASH:case r.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};t.Z=r},88101:function(e,t,r){"use strict";r.d(t,{s:function(){return m},v:function(){return y}});var n,o,i=r(71971),a=r(27859),l=r(965),s=r(88684),c=r(8431),u=(0,s.Z)({},n||(n=r.t(c,2))),f=u.version,d=u.render,p=u.unmountComponentAtNode;try{Number((f||"").split(".")[0])>=18&&(o=u.createRoot)}catch(e){}function h(e){var t=u.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&"object"===(0,l.Z)(t)&&(t.usingClientEntryPoint=e)}var g="__rc_react_root__";function m(e,t){if(o){var r;h(!0),r=t[g]||o(t),h(!1),r.render(e),t[g]=r;return}d(e,t)}function v(){return(v=(0,a.Z)((0,i.Z)().mark(function e(t){return(0,i.Z)().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Promise.resolve().then(function(){var e;null===(e=t[g])||void 0===e||e.unmount(),delete t[g]}));case 1:case"end":return e.stop()}},e)}))).apply(this,arguments)}function y(e){return b.apply(this,arguments)}function b(){return(b=(0,a.Z)((0,i.Z)().mark(function e(t){return(0,i.Z)().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!(void 0!==o)){e.next=2;break}return e.abrupt("return",function(e){return v.apply(this,arguments)}(t));case 2:p(t);case 3:case"end":return e.stop()}},e)}))).apply(this,arguments)}},23254:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var n=r(86006);function o(e){var t=n.useRef();return t.current=e,n.useCallback(function(){for(var e,r=arguments.length,n=Array(r),o=0;o2&&void 0!==arguments[2]&&arguments[2],i=new Set;return function e(t,a){var l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,s=i.has(t);if((0,o.ZP)(!s,"Warning: There may be circular references"),s)return!1;if(t===a)return!0;if(r&&l>1)return!1;i.add(t);var c=l+1;if(Array.isArray(t)){if(!Array.isArray(a)||t.length!==a.length)return!1;for(var u=0;u1&&void 0!==arguments[1]?arguments[1]:1,n=o+=1;return!function t(o){if(0===o)i.delete(n),e();else{var a=r(function(){t(o-1)});i.set(n,a)}}(t),n};a.cancel=function(e){var t=i.get(e);return i.delete(t),n(t)},t.Z=a},92510:function(e,t,r){"use strict";r.d(t,{Yr:function(){return c},mH:function(){return a},sQ:function(){return l},x1:function(){return s}});var n=r(965),o=r(10854),i=r(55567);function a(e,t){"function"==typeof e?e(t):"object"===(0,n.Z)(e)&&e&&"current"in e&&(e.current=t)}function l(){for(var e=arguments.length,t=Array(e),r=0;r3&&void 0!==arguments[3]&&arguments[3];return t.length&&n&&void 0===r&&!(0,l.Z)(e,t.slice(0,-1))?e:function e(t,r,n,l){if(!r.length)return n;var s,c=(0,a.Z)(r),u=c[0],f=c.slice(1);return s=t||"number"!=typeof u?Array.isArray(t)?(0,i.Z)(t):(0,o.Z)({},t):[],l&&void 0===n&&1===f.length?delete s[u][f[0]]:s[u]=e(s[u],f,n,l),s}(e,t,r,n)}function c(e){return Array.isArray(e)?[]:{}}var u="undefined"==typeof Reflect?Object.keys:Reflect.ownKeys;function f(){for(var e=arguments.length,t=Array(e),r=0;re.length)&&(t=e.length);for(var r=0,n=Array(t);r=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}},46750:function(e,t,r){"use strict";function n(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n=0||(o[r]=e[r]);return o}r.d(t,{Z:function(){return n}})},71971:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var n=r(965);function o(){o=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,i=Object.defineProperty||function(e,t,r){e[t]=r.value},a="function"==typeof Symbol?Symbol:{},l=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function u(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(e){u=function(e,t,r){return e[t]=r}}function f(e,t,r,n){var o,a,l=Object.create((t&&t.prototype instanceof h?t:h).prototype);return i(l,"_invoke",{value:(o=new A(n||[]),a="suspendedStart",function(t,n){if("executing"===a)throw Error("Generator is already running");if("completed"===a){if("throw"===t)throw n;return O()}for(o.method=t,o.arg=n;;){var i=o.delegate;if(i){var l=function e(t,r){var n=r.method,o=t.iterator[n];if(void 0===o)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=void 0,e(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=TypeError("The iterator does not provide a '"+n+"' method")),p;var i=d(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,p;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=void 0),r.delegate=null,p):a:(r.method="throw",r.arg=TypeError("iterator result is not an object"),r.delegate=null,p)}(i,o);if(l){if(l===p)continue;return l}}if("next"===o.method)o.sent=o._sent=o.arg;else if("throw"===o.method){if("suspendedStart"===a)throw a="completed",o.arg;o.dispatchException(o.arg)}else"return"===o.method&&o.abrupt("return",o.arg);a="executing";var s=d(e,r,o);if("normal"===s.type){if(a=o.done?"completed":"suspendedYield",s.arg===p)continue;return{value:s.arg,done:o.done}}"throw"===s.type&&(a="completed",o.method="throw",o.arg=s.arg)}})}),l}function d(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=f;var p={};function h(){}function g(){}function m(){}var v={};u(v,l,function(){return this});var y=Object.getPrototypeOf,b=y&&y(y(k([])));b&&b!==t&&r.call(b,l)&&(v=b);var x=m.prototype=h.prototype=Object.create(v);function C(e){["next","throw","return"].forEach(function(t){u(e,t,function(e){return this._invoke(t,e)})})}function w(e,t){var o;i(this,"_invoke",{value:function(i,a){function l(){return new t(function(o,l){!function o(i,a,l,s){var c=d(e[i],e,a);if("throw"!==c.type){var u=c.arg,f=u.value;return f&&"object"==(0,n.Z)(f)&&r.call(f,"__await")?t.resolve(f.__await).then(function(e){o("next",e,l,s)},function(e){o("throw",e,l,s)}):t.resolve(f).then(function(e){u.value=e,l(u)},function(e){return o("throw",e,l,s)})}s(c.arg)}(i,a,o,l)})}return o=o?o.then(l,l):l()}})}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function A(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function k(e){if(e){var t=e[l];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,o=function t(){for(;++n=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var l=r.call(i,"catchLoc"),s=r.call(i,"finallyLoc");if(l&&s){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),E(r),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;E(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:k(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),p}},e}},60456:function(e,t,r){"use strict";r.d(t,{Z:function(){return a}});var n=r(86351),o=r(24537),i=r(62160);function a(e,t){return(0,n.Z)(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(e,t)||(0,o.Z)(e,t)||(0,i.Z)()}},29221:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var n=r(86351),o=r(13804),i=r(24537),a=r(62160);function l(e){return(0,n.Z)(e)||(0,o.Z)(e)||(0,i.Z)(e)||(0,a.Z)()}},90151:function(e,t,r){"use strict";r.d(t,{Z:function(){return a}});var n=r(16544),o=r(13804),i=r(24537);function a(e){return function(e){if(Array.isArray(e))return(0,n.Z)(e)}(e)||(0,o.Z)(e)||(0,i.Z)(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},58774:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var n=r(965);function o(e){var t=function(e,t){if("object"!==(0,n.Z)(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,t||"default");if("object"!==(0,n.Z)(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===(0,n.Z)(t)?t:String(t)}},965:function(e,t,r){"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}r.d(t,{Z:function(){return n}})},24537:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var n=r(16544);function o(e,t){if(e){if("string"==typeof e)return(0,n.Z)(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return(0,n.Z)(e,t)}}},24214:function(e,t,r){"use strict";let n;function o(e,t){return function(){return e.apply(t,arguments)}}r.d(t,{Z:function(){return eL}});let{toString:i}=Object.prototype,{getPrototypeOf:a}=Object,l=(M=Object.create(null),e=>{let t=i.call(e);return M[t]||(M[t]=t.slice(8,-1).toLowerCase())}),s=e=>(e=e.toLowerCase(),t=>l(t)===e),c=e=>t=>typeof t===e,{isArray:u}=Array,f=c("undefined"),d=s("ArrayBuffer"),p=c("string"),h=c("function"),g=c("number"),m=e=>null!==e&&"object"==typeof e,v=e=>{if("object"!==l(e))return!1;let t=a(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},y=s("Date"),b=s("File"),x=s("Blob"),C=s("FileList"),w=s("URLSearchParams");function S(e,t,{allOwnKeys:r=!1}={}){let n,o;if(null!=e){if("object"!=typeof e&&(e=[e]),u(e))for(n=0,o=e.length;n0;)if(t===(r=n[o]).toLowerCase())return r;return null}let A="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,k=e=>!f(e)&&e!==A,O=(F="undefined"!=typeof Uint8Array&&a(Uint8Array),e=>F&&e instanceof F),$=s("HTMLFormElement"),Z=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),B=s("RegExp"),P=(e,t)=>{let r=Object.getOwnPropertyDescriptors(e),n={};S(r,(r,o)=>{!1!==t(r,o,e)&&(n[o]=r)}),Object.defineProperties(e,n)},R="abcdefghijklmnopqrstuvwxyz",j="0123456789",T={DIGIT:j,ALPHA:R,ALPHA_DIGIT:R+R.toUpperCase()+j};var M,F,_={isArray:u,isArrayBuffer:d,isBuffer:function(e){return null!==e&&!f(e)&&null!==e.constructor&&!f(e.constructor)&&h(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t="[object FormData]";return e&&("function"==typeof FormData&&e instanceof FormData||i.call(e)===t||h(e.toString)&&e.toString()===t)},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&d(e.buffer)},isString:p,isNumber:g,isBoolean:e=>!0===e||!1===e,isObject:m,isPlainObject:v,isUndefined:f,isDate:y,isFile:b,isBlob:x,isRegExp:B,isFunction:h,isStream:e=>m(e)&&h(e.pipe),isURLSearchParams:w,isTypedArray:O,isFileList:C,forEach:S,merge:function e(){let{caseless:t}=k(this)&&this||{},r={},n=(n,o)=>{let i=t&&E(r,o)||o;v(r[i])&&v(n)?r[i]=e(r[i],n):v(n)?r[i]=e({},n):u(n)?r[i]=n.slice():r[i]=n};for(let e=0,t=arguments.length;e(S(t,(t,n)=>{r&&h(t)?e[n]=o(t,r):e[n]=t},{allOwnKeys:n}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},toFlatObject:(e,t,r,n)=>{let o,i,l;let s={};if(t=t||{},null==e)return t;do{for(i=(o=Object.getOwnPropertyNames(e)).length;i-- >0;)l=o[i],(!n||n(l,e,t))&&!s[l]&&(t[l]=e[l],s[l]=!0);e=!1!==r&&a(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},kindOf:l,kindOfTest:s,endsWith:(e,t,r)=>{e=String(e),(void 0===r||r>e.length)&&(r=e.length),r-=t.length;let n=e.indexOf(t,r);return -1!==n&&n===r},toArray:e=>{if(!e)return null;if(u(e))return e;let t=e.length;if(!g(t))return null;let r=Array(t);for(;t-- >0;)r[t]=e[t];return r},forEachEntry:(e,t)=>{let r;let n=e&&e[Symbol.iterator],o=n.call(e);for(;(r=o.next())&&!r.done;){let n=r.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let r;let n=[];for(;null!==(r=e.exec(t));)n.push(r);return n},isHTMLForm:$,hasOwnProperty:Z,hasOwnProp:Z,reduceDescriptors:P,freezeMethods:e=>{P(e,(t,r)=>{if(h(e)&&-1!==["arguments","caller","callee"].indexOf(r))return!1;let n=e[r];if(h(n)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},toObjectSet:(e,t)=>{let r={};return(e=>{e.forEach(e=>{r[e]=!0})})(u(e)?e:String(e).split(t)),r},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,r){return t.toUpperCase()+r}),noop:()=>{},toFiniteNumber:(e,t)=>Number.isFinite(e=+e)?e:t,findKey:E,global:A,isContextDefined:k,ALPHABET:T,generateString:(e=16,t=T.ALPHA_DIGIT)=>{let r="",{length:n}=t;for(;e--;)r+=t[Math.random()*n|0];return r},isSpecCompliantForm:function(e){return!!(e&&h(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{let t=Array(10),r=(e,n)=>{if(m(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[n]=e;let o=u(e)?[]:{};return S(e,(e,t)=>{let i=r(e,n+1);f(i)||(o[t]=i)}),t[n]=void 0,o}}return e};return r(e,0)}};function N(e,t,r,n,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),o&&(this.response=o)}_.inherits(N,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:_.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});let H=N.prototype,D={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{D[e]={value:e}}),Object.defineProperties(N,D),Object.defineProperty(H,"isAxiosError",{value:!0}),N.from=(e,t,r,n,o,i)=>{let a=Object.create(H);return _.toFlatObject(e,a,function(e){return e!==Error.prototype},e=>"isAxiosError"!==e),N.call(a,e.message,t,r,n,o),a.cause=e,a.name=e.name,i&&Object.assign(a,i),a};var L=r(91083).Buffer;function I(e){return _.isPlainObject(e)||_.isArray(e)}function z(e){return _.endsWith(e,"[]")?e.slice(0,-2):e}function U(e,t,r){return e?e.concat(t).map(function(e,t){return e=z(e),!r&&t?"["+e+"]":e}).join(r?".":""):t}let W=_.toFlatObject(_,{},null,function(e){return/^is[A-Z]/.test(e)});var G=function(e,t,r){if(!_.isObject(e))throw TypeError("target must be an object");t=t||new FormData,r=_.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!_.isUndefined(t[e])});let n=r.metaTokens,o=r.visitor||u,i=r.dots,a=r.indexes,l=r.Blob||"undefined"!=typeof Blob&&Blob,s=l&&_.isSpecCompliantForm(t);if(!_.isFunction(o))throw TypeError("visitor must be a function");function c(e){if(null===e)return"";if(_.isDate(e))return e.toISOString();if(!s&&_.isBlob(e))throw new N("Blob is not supported. Use a Buffer instead.");return _.isArrayBuffer(e)||_.isTypedArray(e)?s&&"function"==typeof Blob?new Blob([e]):L.from(e):e}function u(e,r,o){let l=e;if(e&&!o&&"object"==typeof e){if(_.endsWith(r,"{}"))r=n?r:r.slice(0,-2),e=JSON.stringify(e);else{var s;if(_.isArray(e)&&(s=e,_.isArray(s)&&!s.some(I))||(_.isFileList(e)||_.endsWith(r,"[]"))&&(l=_.toArray(e)))return r=z(r),l.forEach(function(e,n){_.isUndefined(e)||null===e||t.append(!0===a?U([r],n,i):null===a?r:r+"[]",c(e))}),!1}}return!!I(e)||(t.append(U(o,r,i),c(e)),!1)}let f=[],d=Object.assign(W,{defaultVisitor:u,convertValue:c,isVisitable:I});if(!_.isObject(e))throw TypeError("data must be an object");return!function e(r,n){if(!_.isUndefined(r)){if(-1!==f.indexOf(r))throw Error("Circular reference detected in "+n.join("."));f.push(r),_.forEach(r,function(r,i){let a=!(_.isUndefined(r)||null===r)&&o.call(t,r,_.isString(i)?i.trim():i,n,d);!0===a&&e(r,n?n.concat(i):[i])}),f.pop()}}(e),t};function K(e){let t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\x00"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(e){return t[e]})}function q(e,t){this._pairs=[],e&&G(e,this,t)}let V=q.prototype;function X(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Y(e,t,r){let n;if(!t)return e;let o=r&&r.encode||X,i=r&&r.serialize;if(n=i?i(t,r):_.isURLSearchParams(t)?t.toString():new q(t,r).toString(o)){let t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+n}return e}V.append=function(e,t){this._pairs.push([e,t])},V.toString=function(e){let t=e?function(t){return e.call(this,t,K)}:K;return this._pairs.map(function(e){return t(e[0])+"="+t(e[1])},"").join("&")};var J=class{constructor(){this.handlers=[]}use(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){_.forEach(this.handlers,function(t){null!==t&&e(t)})}},Q={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},ee="undefined"!=typeof URLSearchParams?URLSearchParams:q,et="undefined"!=typeof FormData?FormData:null,er="undefined"!=typeof Blob?Blob:null;let en=("undefined"==typeof navigator||"ReactNative"!==(n=navigator.product)&&"NativeScript"!==n&&"NS"!==n)&&"undefined"!=typeof window&&"undefined"!=typeof document,eo="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts;var ei={isBrowser:!0,classes:{URLSearchParams:ee,FormData:et,Blob:er},isStandardBrowserEnv:en,isStandardBrowserWebWorkerEnv:eo,protocols:["http","https","file","blob","url","data"]},ea=function(e){if(_.isFormData(e)&&_.isFunction(e.entries)){let t={};return _.forEachEntry(e,(e,r)=>{!function e(t,r,n,o){let i=t[o++],a=Number.isFinite(+i),l=o>=t.length;if(i=!i&&_.isArray(n)?n.length:i,l)return _.hasOwnProp(n,i)?n[i]=[n[i],r]:n[i]=r,!a;n[i]&&_.isObject(n[i])||(n[i]=[]);let s=e(t,r,n[i],o);return s&&_.isArray(n[i])&&(n[i]=function(e){let t,r;let n={},o=Object.keys(e),i=o.length;for(t=0;t"[]"===e[0]?"":e[1]||e[0]),r,t,0)}),t}return null};let el={"Content-Type":void 0},es={transitional:Q,adapter:["xhr","http"],transformRequest:[function(e,t){let r;let n=t.getContentType()||"",o=n.indexOf("application/json")>-1,i=_.isObject(e);i&&_.isHTMLForm(e)&&(e=new FormData(e));let a=_.isFormData(e);if(a)return o&&o?JSON.stringify(ea(e)):e;if(_.isArrayBuffer(e)||_.isBuffer(e)||_.isStream(e)||_.isFile(e)||_.isBlob(e))return e;if(_.isArrayBufferView(e))return e.buffer;if(_.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();if(i){if(n.indexOf("application/x-www-form-urlencoded")>-1){var l,s;return(l=e,s=this.formSerializer,G(l,new ei.classes.URLSearchParams,Object.assign({visitor:function(e,t,r,n){return ei.isNode&&_.isBuffer(e)?(this.append(t,e.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)}},s))).toString()}if((r=_.isFileList(e))||n.indexOf("multipart/form-data")>-1){let t=this.env&&this.env.FormData;return G(r?{"files[]":e}:e,t&&new t,this.formSerializer)}}return i||o?(t.setContentType("application/json",!1),function(e,t,r){if(_.isString(e))try{return(0,JSON.parse)(e),_.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){let t=this.transitional||es.transitional,r=t&&t.forcedJSONParsing,n="json"===this.responseType;if(e&&_.isString(e)&&(r&&!this.responseType||n)){let r=t&&t.silentJSONParsing;try{return JSON.parse(e)}catch(e){if(!r&&n){if("SyntaxError"===e.name)throw N.from(e,N.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ei.classes.FormData,Blob:ei.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};_.forEach(["delete","get","head"],function(e){es.headers[e]={}}),_.forEach(["post","put","patch"],function(e){es.headers[e]=_.merge(el)});let ec=_.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);var eu=e=>{let t,r,n;let o={};return e&&e.split("\n").forEach(function(e){n=e.indexOf(":"),t=e.substring(0,n).trim().toLowerCase(),r=e.substring(n+1).trim(),!t||o[t]&&ec[t]||("set-cookie"===t?o[t]?o[t].push(r):o[t]=[r]:o[t]=o[t]?o[t]+", "+r:r)}),o};let ef=Symbol("internals");function ed(e){return e&&String(e).trim().toLowerCase()}function ep(e){return!1===e||null==e?e:_.isArray(e)?e.map(ep):String(e)}function eh(e,t,r,n,o){if(_.isFunction(n))return n.call(this,t,r);if(o&&(t=r),_.isString(t)){if(_.isString(n))return -1!==t.indexOf(n);if(_.isRegExp(n))return n.test(t)}}class eg{constructor(e){e&&this.set(e)}set(e,t,r){let n=this;function o(e,t,r){let o=ed(t);if(!o)throw Error("header name must be a non-empty string");let i=_.findKey(n,o);i&&void 0!==n[i]&&!0!==r&&(void 0!==r||!1===n[i])||(n[i||t]=ep(e))}let i=(e,t)=>_.forEach(e,(e,r)=>o(e,r,t));if(_.isPlainObject(e)||e instanceof this.constructor)i(e,t);else{var a;_.isString(e)&&(e=e.trim())&&(a=e,!/^[-_a-zA-Z]+$/.test(a.trim()))?i(eu(e),t):null!=e&&o(t,e,r)}return this}get(e,t){if(e=ed(e)){let r=_.findKey(this,e);if(r){let e=this[r];if(!t)return e;if(!0===t)return function(e){let t;let r=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;for(;t=n.exec(e);)r[t[1]]=t[2];return r}(e);if(_.isFunction(t))return t.call(this,e,r);if(_.isRegExp(t))return t.exec(e);throw TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=ed(e)){let r=_.findKey(this,e);return!!(r&&void 0!==this[r]&&(!t||eh(this,this[r],r,t)))}return!1}delete(e,t){let r=this,n=!1;function o(e){if(e=ed(e)){let o=_.findKey(r,e);o&&(!t||eh(r,r[o],o,t))&&(delete r[o],n=!0)}}return _.isArray(e)?e.forEach(o):o(e),n}clear(e){let t=Object.keys(this),r=t.length,n=!1;for(;r--;){let o=t[r];(!e||eh(this,this[o],o,e,!0))&&(delete this[o],n=!0)}return n}normalize(e){let t=this,r={};return _.forEach(this,(n,o)=>{let i=_.findKey(r,o);if(i){t[i]=ep(n),delete t[o];return}let a=e?o.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,r)=>t.toUpperCase()+r):String(o).trim();a!==o&&delete t[o],t[a]=ep(n),r[a]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){let t=Object.create(null);return _.forEach(this,(r,n)=>{null!=r&&!1!==r&&(t[n]=e&&_.isArray(r)?r.join(", "):r)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){let r=new this(e);return t.forEach(e=>r.set(e)),r}static accessor(e){let t=this[ef]=this[ef]={accessors:{}},r=t.accessors,n=this.prototype;function o(e){let t=ed(e);r[t]||(!function(e,t){let r=_.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+r,{value:function(e,r,o){return this[n].call(this,t,e,r,o)},configurable:!0})})}(n,e),r[t]=!0)}return _.isArray(e)?e.forEach(o):o(e),this}}function em(e,t){let r=this||es,n=t||r,o=eg.from(n.headers),i=n.data;return _.forEach(e,function(e){i=e.call(r,i,o.normalize(),t?t.status:void 0)}),o.normalize(),i}function ev(e){return!!(e&&e.__CANCEL__)}function ey(e,t,r){N.call(this,null==e?"canceled":e,N.ERR_CANCELED,t,r),this.name="CanceledError"}eg.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),_.freezeMethods(eg.prototype),_.freezeMethods(eg),_.inherits(ey,N,{__CANCEL__:!0});var eb=ei.isStandardBrowserEnv?{write:function(e,t,r,n,o,i){let a=[];a.push(e+"="+encodeURIComponent(t)),_.isNumber(r)&&a.push("expires="+new Date(r).toGMTString()),_.isString(n)&&a.push("path="+n),_.isString(o)&&a.push("domain="+o),!0===i&&a.push("secure"),document.cookie=a.join("; ")},read:function(e){let t=document.cookie.match(RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}};function ex(e,t){return e&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)?t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e:t}var eC=ei.isStandardBrowserEnv?function(){let e;let t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function n(e){let n=e;return t&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return e=n(window.location.href),function(t){let r=_.isString(t)?n(t):t;return r.protocol===e.protocol&&r.host===e.host}}():function(){return!0},ew=function(e,t){let r;e=e||10;let n=Array(e),o=Array(e),i=0,a=0;return t=void 0!==t?t:1e3,function(l){let s=Date.now(),c=o[a];r||(r=s),n[i]=l,o[i]=s;let u=a,f=0;for(;u!==i;)f+=n[u++],u%=e;if((i=(i+1)%e)===a&&(a=(a+1)%e),s-r{let i=o.loaded,a=o.lengthComputable?o.total:void 0,l=i-r,s=n(l),c=i<=a;r=i;let u={loaded:i,total:a,progress:a?i/a:void 0,bytes:l,rate:s||void 0,estimated:s&&a&&c?(a-i)/s:void 0,event:o};u[t?"download":"upload"]=!0,e(u)}}let eE="undefined"!=typeof XMLHttpRequest;var eA=eE&&function(e){return new Promise(function(t,r){let n,o=e.data,i=eg.from(e.headers).normalize(),a=e.responseType;function l(){e.cancelToken&&e.cancelToken.unsubscribe(n),e.signal&&e.signal.removeEventListener("abort",n)}_.isFormData(o)&&(ei.isStandardBrowserEnv||ei.isStandardBrowserWebWorkerEnv)&&i.setContentType(!1);let s=new XMLHttpRequest;if(e.auth){let t=e.auth.username||"",r=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";i.set("Authorization","Basic "+btoa(t+":"+r))}let c=ex(e.baseURL,e.url);function u(){if(!s)return;let n=eg.from("getAllResponseHeaders"in s&&s.getAllResponseHeaders()),o=a&&"text"!==a&&"json"!==a?s.response:s.responseText,i={data:o,status:s.status,statusText:s.statusText,headers:n,config:e,request:s};!function(e,t,r){let n=r.config.validateStatus;!r.status||!n||n(r.status)?e(r):t(new N("Request failed with status code "+r.status,[N.ERR_BAD_REQUEST,N.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}(function(e){t(e),l()},function(e){r(e),l()},i),s=null}if(s.open(e.method.toUpperCase(),Y(c,e.params,e.paramsSerializer),!0),s.timeout=e.timeout,"onloadend"in s?s.onloadend=u:s.onreadystatechange=function(){s&&4===s.readyState&&(0!==s.status||s.responseURL&&0===s.responseURL.indexOf("file:"))&&setTimeout(u)},s.onabort=function(){s&&(r(new N("Request aborted",N.ECONNABORTED,e,s)),s=null)},s.onerror=function(){r(new N("Network Error",N.ERR_NETWORK,e,s)),s=null},s.ontimeout=function(){let t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",n=e.transitional||Q;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),r(new N(t,n.clarifyTimeoutError?N.ETIMEDOUT:N.ECONNABORTED,e,s)),s=null},ei.isStandardBrowserEnv){let t=(e.withCredentials||eC(c))&&e.xsrfCookieName&&eb.read(e.xsrfCookieName);t&&i.set(e.xsrfHeaderName,t)}void 0===o&&i.setContentType(null),"setRequestHeader"in s&&_.forEach(i.toJSON(),function(e,t){s.setRequestHeader(t,e)}),_.isUndefined(e.withCredentials)||(s.withCredentials=!!e.withCredentials),a&&"json"!==a&&(s.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&s.addEventListener("progress",eS(e.onDownloadProgress,!0)),"function"==typeof e.onUploadProgress&&s.upload&&s.upload.addEventListener("progress",eS(e.onUploadProgress)),(e.cancelToken||e.signal)&&(n=t=>{s&&(r(!t||t.type?new ey(null,e,s):t),s.abort(),s=null)},e.cancelToken&&e.cancelToken.subscribe(n),e.signal&&(e.signal.aborted?n():e.signal.addEventListener("abort",n)));let f=function(e){let t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(c);if(f&&-1===ei.protocols.indexOf(f)){r(new N("Unsupported protocol "+f+":",N.ERR_BAD_REQUEST,e));return}s.send(o||null)})};let ek={http:null,xhr:eA};_.forEach(ek,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}});var eO={getAdapter:e=>{let t,r;e=_.isArray(e)?e:[e];let{length:n}=e;for(let o=0;oe instanceof eg?e.toJSON():e;function eP(e,t){t=t||{};let r={};function n(e,t,r){return _.isPlainObject(e)&&_.isPlainObject(t)?_.merge.call({caseless:r},e,t):_.isPlainObject(t)?_.merge({},t):_.isArray(t)?t.slice():t}function o(e,t,r){return _.isUndefined(t)?_.isUndefined(e)?void 0:n(void 0,e,r):n(e,t,r)}function i(e,t){if(!_.isUndefined(t))return n(void 0,t)}function a(e,t){return _.isUndefined(t)?_.isUndefined(e)?void 0:n(void 0,e):n(void 0,t)}function l(r,o,i){return i in t?n(r,o):i in e?n(void 0,r):void 0}let s={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:l,headers:(e,t)=>o(eB(e),eB(t),!0)};return _.forEach(Object.keys(e).concat(Object.keys(t)),function(n){let i=s[n]||o,a=i(e[n],t[n],n);_.isUndefined(a)&&i!==l||(r[n]=a)}),r}let eR="1.3.4",ej={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{ej[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});let eT={};ej.transitional=function(e,t,r){function n(e,t){return"[Axios v"+eR+"] Transitional option '"+e+"'"+t+(r?". "+r:"")}return(r,o,i)=>{if(!1===e)throw new N(n(o," has been removed"+(t?" in "+t:"")),N.ERR_DEPRECATED);return t&&!eT[o]&&(eT[o]=!0,console.warn(n(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(r,o,i)}};var eM={assertOptions:function(e,t,r){if("object"!=typeof e)throw new N("options must be an object",N.ERR_BAD_OPTION_VALUE);let n=Object.keys(e),o=n.length;for(;o-- >0;){let i=n[o],a=t[i];if(a){let t=e[i],r=void 0===t||a(t,i,e);if(!0!==r)throw new N("option "+i+" must be "+r,N.ERR_BAD_OPTION_VALUE);continue}if(!0!==r)throw new N("Unknown option "+i,N.ERR_BAD_OPTION)}},validators:ej};let eF=eM.validators;class e_{constructor(e){this.defaults=e,this.interceptors={request:new J,response:new J}}request(e,t){let r,n,o;"string"==typeof e?(t=t||{}).url=e:t=e||{},t=eP(this.defaults,t);let{transitional:i,paramsSerializer:a,headers:l}=t;void 0!==i&&eM.assertOptions(i,{silentJSONParsing:eF.transitional(eF.boolean),forcedJSONParsing:eF.transitional(eF.boolean),clarifyTimeoutError:eF.transitional(eF.boolean)},!1),void 0!==a&&eM.assertOptions(a,{encode:eF.function,serialize:eF.function},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase(),(r=l&&_.merge(l.common,l[t.method]))&&_.forEach(["delete","get","head","post","put","patch","common"],e=>{delete l[e]}),t.headers=eg.concat(r,l);let s=[],c=!0;this.interceptors.request.forEach(function(e){("function"!=typeof e.runWhen||!1!==e.runWhen(t))&&(c=c&&e.synchronous,s.unshift(e.fulfilled,e.rejected))});let u=[];this.interceptors.response.forEach(function(e){u.push(e.fulfilled,e.rejected)});let f=0;if(!c){let e=[eZ.bind(this),void 0];for(e.unshift.apply(e,s),e.push.apply(e,u),o=e.length,n=Promise.resolve(t);f{if(!r._listeners)return;let t=r._listeners.length;for(;t-- >0;)r._listeners[t](e);r._listeners=null}),this.promise.then=e=>{let t;let n=new Promise(e=>{r.subscribe(e),t=e}).then(e);return n.cancel=function(){r.unsubscribe(t)},n},e(function(e,n,o){r.reason||(r.reason=new ey(e,n,o),t(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;let t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}static source(){let e;let t=new eN(function(t){e=t});return{token:t,cancel:e}}}let eH={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(eH).forEach(([e,t])=>{eH[t]=e});let eD=function e(t){let r=new e_(t),n=o(e_.prototype.request,r);return _.extend(n,e_.prototype,r,{allOwnKeys:!0}),_.extend(n,r,null,{allOwnKeys:!0}),n.create=function(r){return e(eP(t,r))},n}(es);eD.Axios=e_,eD.CanceledError=ey,eD.CancelToken=eN,eD.isCancel=ev,eD.VERSION=eR,eD.toFormData=G,eD.AxiosError=N,eD.Cancel=eD.CanceledError,eD.all=function(e){return Promise.all(e)},eD.spread=function(e){return function(t){return e.apply(null,t)}},eD.isAxiosError=function(e){return _.isObject(e)&&!0===e.isAxiosError},eD.mergeConfig=eP,eD.AxiosHeaders=eg,eD.formToJSON=e=>ea(_.isHTMLForm(e)?new FormData(e):e),eD.HttpStatusCode=eH,eD.default=eD;var eL=eD},57436:function(e,t,r){"use strict";r.d(t,{Ab:function(){return a},Fr:function(){return l},G$:function(){return i},JM:function(){return f},K$:function(){return c},MS:function(){return n},h5:function(){return s},lK:function(){return u},uj:function(){return o}});var n="-ms-",o="-moz-",i="-webkit-",a="comm",l="rule",s="decl",c="@import",u="@keyframes",f="@layer"},99946:function(e,t,r){"use strict";r.d(t,{MY:function(){return a}});var n=r(57436),o=r(10036),i=r(125);function a(e){return(0,i.cE)(function e(t,r,a,c,u,f,d,p,h){for(var g,m=0,v=0,y=d,b=0,x=0,C=0,w=1,S=1,E=1,A=0,k="",O=u,$=f,Z=c,B=k;S;)switch(C=A,A=(0,i.lp)()){case 40:if(108!=C&&58==(0,o.uO)(B,y-1)){-1!=(0,o.Cw)(B+=(0,o.gx)((0,i.iF)(A),"&","&\f"),"&\f")&&(E=-1);break}case 34:case 39:case 91:B+=(0,i.iF)(A);break;case 9:case 10:case 13:case 32:B+=(0,i.Qb)(C);break;case 92:B+=(0,i.kq)((0,i.Ud)()-1,7);continue;case 47:switch((0,i.fj)()){case 42:case 47:(0,o.R3)((g=(0,i.q6)((0,i.lp)(),(0,i.Ud)()),(0,i.dH)(g,r,a,n.Ab,(0,o.Dp)((0,i.Tb)()),(0,o.tb)(g,2,-2),0)),h);break;default:B+="/"}break;case 123*w:p[m++]=(0,o.to)(B)*E;case 125*w:case 59:case 0:switch(A){case 0:case 125:S=0;case 59+v:-1==E&&(B=(0,o.gx)(B,/\f/g,"")),x>0&&(0,o.to)(B)-y&&(0,o.R3)(x>32?s(B+";",c,a,y-1):s((0,o.gx)(B," ","")+";",c,a,y-2),h);break;case 59:B+=";";default:if((0,o.R3)(Z=l(B,r,a,m,v,u,p,k,O=[],$=[],y),f),123===A){if(0===v)e(B,r,Z,Z,O,f,y,p,$);else switch(99===b&&110===(0,o.uO)(B,3)?100:b){case 100:case 108:case 109:case 115:e(t,Z,Z,c&&(0,o.R3)(l(t,Z,Z,0,0,u,p,k,u,O=[],y),$),u,$,y,p,c?O:$);break;default:e(B,Z,Z,Z,[""],$,0,p,$)}}}m=v=x=0,w=E=1,k=B="",y=d;break;case 58:y=1+(0,o.to)(B),x=C;default:if(w<1){if(123==A)--w;else if(125==A&&0==w++&&125==(0,i.mp)())continue}switch(B+=(0,o.Dp)(A),A*w){case 38:E=v>0?1:(B+="\f",-1);break;case 44:p[m++]=((0,o.to)(B)-1)*E,E=1;break;case 64:45===(0,i.fj)()&&(B+=(0,i.iF)((0,i.lp)())),b=(0,i.fj)(),v=y=(0,o.to)(k=B+=(0,i.QU)((0,i.Ud)())),A++;break;case 45:45===C&&2==(0,o.to)(B)&&(w=0)}}return f}("",null,null,null,[""],e=(0,i.un)(e),0,[0],e))}function l(e,t,r,a,l,s,c,u,f,d,p){for(var h=l-1,g=0===l?s:[""],m=(0,o.Ei)(g),v=0,y=0,b=0;v0?g[x]+" "+C:(0,o.gx)(C,/&\f/g,g[x])))&&(f[b++]=w);return(0,i.dH)(e,t,r,0===l?n.Fr:u,f,d,p)}function s(e,t,r,a){return(0,i.dH)(e,t,r,n.h5,(0,o.tb)(e,0,a),(0,o.tb)(e,a+1,-1),a)}},34523:function(e,t,r){"use strict";r.d(t,{P:function(){return a},q:function(){return i}});var n=r(57436),o=r(10036);function i(e,t){for(var r="",n=(0,o.Ei)(e),i=0;i0?(0,n.uO)(c,--l):0,i--,10===s&&(i=1,o--),s}function h(){return s=l2||y(s)>3?"":" "}function S(e,t){for(;--t&&h()&&!(s<48)&&!(s>102)&&(!(s>57)||!(s<65))&&(!(s>70)||!(s<97)););return v(e,l+(t<6&&32==g()&&32==h()))}function E(e,t){for(;h();)if(e+s===57)break;else if(e+s===84&&47===g())break;return"/*"+v(t,l-1)+"*"+(0,n.Dp)(47===e?e:h())}function A(e){for(;!y(g());)h();return v(e,l)}},10036:function(e,t,r){"use strict";r.d(t,{$e:function(){return m},Cw:function(){return u},Dp:function(){return o},EQ:function(){return s},Ei:function(){return h},R3:function(){return g},Wn:function(){return n},f0:function(){return i},fy:function(){return l},gx:function(){return c},tb:function(){return d},to:function(){return p},uO:function(){return f},vp:function(){return a}});var n=Math.abs,o=String.fromCharCode,i=Object.assign;function a(e,t){return 45^f(e,0)?(((t<<2^f(e,0))<<2^f(e,1))<<2^f(e,2))<<2^f(e,3):0}function l(e){return e.trim()}function s(e,t){return(e=t.exec(e))?e[0]:e}function c(e,t,r){return e.replace(t,r)}function u(e,t){return e.indexOf(t)}function f(e,t){return 0|e.charCodeAt(t)}function d(e,t,r){return e.slice(t,r)}function p(e){return e.length}function h(e){return e.length}function g(e,t){return t.push(e),e}function m(e,t){return e.map(t).join("")}}}]); \ No newline at end of file + */var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,i=r?Symbol.for("react.fragment"):60107,a=r?Symbol.for("react.strict_mode"):60108,l=r?Symbol.for("react.profiler"):60114,s=r?Symbol.for("react.provider"):60109,c=r?Symbol.for("react.context"):60110,u=r?Symbol.for("react.async_mode"):60111,f=r?Symbol.for("react.concurrent_mode"):60111,d=r?Symbol.for("react.forward_ref"):60112,p=r?Symbol.for("react.suspense"):60113,h=r?Symbol.for("react.suspense_list"):60120,g=r?Symbol.for("react.memo"):60115,m=r?Symbol.for("react.lazy"):60116,v=r?Symbol.for("react.block"):60121,y=r?Symbol.for("react.fundamental"):60117,b=r?Symbol.for("react.responder"):60118,x=r?Symbol.for("react.scope"):60119;function C(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case u:case f:case i:case l:case a:case p:return e;default:switch(e=e&&e.$$typeof){case c:case d:case m:case g:case s:return e;default:return t}}case o:return t}}}function w(e){return C(e)===f}t.AsyncMode=u,t.ConcurrentMode=f,t.ContextConsumer=c,t.ContextProvider=s,t.Element=n,t.ForwardRef=d,t.Fragment=i,t.Lazy=m,t.Memo=g,t.Portal=o,t.Profiler=l,t.StrictMode=a,t.Suspense=p,t.isAsyncMode=function(e){return w(e)||C(e)===u},t.isConcurrentMode=w,t.isContextConsumer=function(e){return C(e)===c},t.isContextProvider=function(e){return C(e)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return C(e)===d},t.isFragment=function(e){return C(e)===i},t.isLazy=function(e){return C(e)===m},t.isMemo=function(e){return C(e)===g},t.isPortal=function(e){return C(e)===o},t.isProfiler=function(e){return C(e)===l},t.isStrictMode=function(e){return C(e)===a},t.isSuspense=function(e){return C(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===f||e===l||e===a||e===p||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===g||e.$$typeof===s||e.$$typeof===c||e.$$typeof===d||e.$$typeof===y||e.$$typeof===b||e.$$typeof===x||e.$$typeof===v)},t.typeOf=C},10854:function(e,t,r){"use strict";e.exports=r(93611)},16544:function(e,t,r){"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}},46750:function(e,t,r){"use strict";function n(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n=0||(o[r]=e[r]);return o}r.d(t,{Z:function(){return n}})},71971:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var n=r(965);function o(){o=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,i=Object.defineProperty||function(e,t,r){e[t]=r.value},a="function"==typeof Symbol?Symbol:{},l=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function u(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(e){u=function(e,t,r){return e[t]=r}}function f(e,t,r,n){var o,a,l=Object.create((t&&t.prototype instanceof h?t:h).prototype);return i(l,"_invoke",{value:(o=new A(n||[]),a="suspendedStart",function(t,n){if("executing"===a)throw Error("Generator is already running");if("completed"===a){if("throw"===t)throw n;return O()}for(o.method=t,o.arg=n;;){var i=o.delegate;if(i){var l=function e(t,r){var n=r.method,o=t.iterator[n];if(void 0===o)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=void 0,e(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=TypeError("The iterator does not provide a '"+n+"' method")),p;var i=d(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,p;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=void 0),r.delegate=null,p):a:(r.method="throw",r.arg=TypeError("iterator result is not an object"),r.delegate=null,p)}(i,o);if(l){if(l===p)continue;return l}}if("next"===o.method)o.sent=o._sent=o.arg;else if("throw"===o.method){if("suspendedStart"===a)throw a="completed",o.arg;o.dispatchException(o.arg)}else"return"===o.method&&o.abrupt("return",o.arg);a="executing";var s=d(e,r,o);if("normal"===s.type){if(a=o.done?"completed":"suspendedYield",s.arg===p)continue;return{value:s.arg,done:o.done}}"throw"===s.type&&(a="completed",o.method="throw",o.arg=s.arg)}})}),l}function d(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=f;var p={};function h(){}function g(){}function m(){}var v={};u(v,l,function(){return this});var y=Object.getPrototypeOf,b=y&&y(y(k([])));b&&b!==t&&r.call(b,l)&&(v=b);var x=m.prototype=h.prototype=Object.create(v);function C(e){["next","throw","return"].forEach(function(t){u(e,t,function(e){return this._invoke(t,e)})})}function w(e,t){var o;i(this,"_invoke",{value:function(i,a){function l(){return new t(function(o,l){!function o(i,a,l,s){var c=d(e[i],e,a);if("throw"!==c.type){var u=c.arg,f=u.value;return f&&"object"==(0,n.Z)(f)&&r.call(f,"__await")?t.resolve(f.__await).then(function(e){o("next",e,l,s)},function(e){o("throw",e,l,s)}):t.resolve(f).then(function(e){u.value=e,l(u)},function(e){return o("throw",e,l,s)})}s(c.arg)}(i,a,o,l)})}return o=o?o.then(l,l):l()}})}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function A(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function k(e){if(e){var t=e[l];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,o=function t(){for(;++n=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var l=r.call(i,"catchLoc"),s=r.call(i,"finallyLoc");if(l&&s){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),E(r),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;E(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:k(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),p}},e}},60456:function(e,t,r){"use strict";r.d(t,{Z:function(){return a}});var n=r(86351),o=r(24537),i=r(62160);function a(e,t){return(0,n.Z)(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(e,t)||(0,o.Z)(e,t)||(0,i.Z)()}},29221:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var n=r(86351),o=r(13804),i=r(24537),a=r(62160);function l(e){return(0,n.Z)(e)||(0,o.Z)(e)||(0,i.Z)(e)||(0,a.Z)()}},90151:function(e,t,r){"use strict";r.d(t,{Z:function(){return a}});var n=r(16544),o=r(13804),i=r(24537);function a(e){return function(e){if(Array.isArray(e))return(0,n.Z)(e)}(e)||(0,o.Z)(e)||(0,i.Z)(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},58774:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var n=r(965);function o(e){var t=function(e,t){if("object"!==(0,n.Z)(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,t||"default");if("object"!==(0,n.Z)(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===(0,n.Z)(t)?t:String(t)}},965:function(e,t,r){"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}r.d(t,{Z:function(){return n}})},24537:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var n=r(16544);function o(e,t){if(e){if("string"==typeof e)return(0,n.Z)(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return(0,n.Z)(e,t)}}},24214:function(e,t,r){"use strict";let n;function o(e,t){return function(){return e.apply(t,arguments)}}r.d(t,{Z:function(){return eL}});let{toString:i}=Object.prototype,{getPrototypeOf:a}=Object,l=(M=Object.create(null),e=>{let t=i.call(e);return M[t]||(M[t]=t.slice(8,-1).toLowerCase())}),s=e=>(e=e.toLowerCase(),t=>l(t)===e),c=e=>t=>typeof t===e,{isArray:u}=Array,f=c("undefined"),d=s("ArrayBuffer"),p=c("string"),h=c("function"),g=c("number"),m=e=>null!==e&&"object"==typeof e,v=e=>{if("object"!==l(e))return!1;let t=a(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},y=s("Date"),b=s("File"),x=s("Blob"),C=s("FileList"),w=s("URLSearchParams");function S(e,t,{allOwnKeys:r=!1}={}){let n,o;if(null!=e){if("object"!=typeof e&&(e=[e]),u(e))for(n=0,o=e.length;n0;)if(t===(r=n[o]).toLowerCase())return r;return null}let A="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,k=e=>!f(e)&&e!==A,O=(F="undefined"!=typeof Uint8Array&&a(Uint8Array),e=>F&&e instanceof F),$=s("HTMLFormElement"),Z=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),B=s("RegExp"),P=(e,t)=>{let r=Object.getOwnPropertyDescriptors(e),n={};S(r,(r,o)=>{!1!==t(r,o,e)&&(n[o]=r)}),Object.defineProperties(e,n)},T="abcdefghijklmnopqrstuvwxyz",R="0123456789",j={DIGIT:R,ALPHA:T,ALPHA_DIGIT:T+T.toUpperCase()+R};var M,F,_={isArray:u,isArrayBuffer:d,isBuffer:function(e){return null!==e&&!f(e)&&null!==e.constructor&&!f(e.constructor)&&h(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t="[object FormData]";return e&&("function"==typeof FormData&&e instanceof FormData||i.call(e)===t||h(e.toString)&&e.toString()===t)},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&d(e.buffer)},isString:p,isNumber:g,isBoolean:e=>!0===e||!1===e,isObject:m,isPlainObject:v,isUndefined:f,isDate:y,isFile:b,isBlob:x,isRegExp:B,isFunction:h,isStream:e=>m(e)&&h(e.pipe),isURLSearchParams:w,isTypedArray:O,isFileList:C,forEach:S,merge:function e(){let{caseless:t}=k(this)&&this||{},r={},n=(n,o)=>{let i=t&&E(r,o)||o;v(r[i])&&v(n)?r[i]=e(r[i],n):v(n)?r[i]=e({},n):u(n)?r[i]=n.slice():r[i]=n};for(let e=0,t=arguments.length;e(S(t,(t,n)=>{r&&h(t)?e[n]=o(t,r):e[n]=t},{allOwnKeys:n}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},toFlatObject:(e,t,r,n)=>{let o,i,l;let s={};if(t=t||{},null==e)return t;do{for(i=(o=Object.getOwnPropertyNames(e)).length;i-- >0;)l=o[i],(!n||n(l,e,t))&&!s[l]&&(t[l]=e[l],s[l]=!0);e=!1!==r&&a(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},kindOf:l,kindOfTest:s,endsWith:(e,t,r)=>{e=String(e),(void 0===r||r>e.length)&&(r=e.length),r-=t.length;let n=e.indexOf(t,r);return -1!==n&&n===r},toArray:e=>{if(!e)return null;if(u(e))return e;let t=e.length;if(!g(t))return null;let r=Array(t);for(;t-- >0;)r[t]=e[t];return r},forEachEntry:(e,t)=>{let r;let n=e&&e[Symbol.iterator],o=n.call(e);for(;(r=o.next())&&!r.done;){let n=r.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let r;let n=[];for(;null!==(r=e.exec(t));)n.push(r);return n},isHTMLForm:$,hasOwnProperty:Z,hasOwnProp:Z,reduceDescriptors:P,freezeMethods:e=>{P(e,(t,r)=>{if(h(e)&&-1!==["arguments","caller","callee"].indexOf(r))return!1;let n=e[r];if(h(n)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},toObjectSet:(e,t)=>{let r={};return(e=>{e.forEach(e=>{r[e]=!0})})(u(e)?e:String(e).split(t)),r},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,r){return t.toUpperCase()+r}),noop:()=>{},toFiniteNumber:(e,t)=>Number.isFinite(e=+e)?e:t,findKey:E,global:A,isContextDefined:k,ALPHABET:j,generateString:(e=16,t=j.ALPHA_DIGIT)=>{let r="",{length:n}=t;for(;e--;)r+=t[Math.random()*n|0];return r},isSpecCompliantForm:function(e){return!!(e&&h(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{let t=Array(10),r=(e,n)=>{if(m(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[n]=e;let o=u(e)?[]:{};return S(e,(e,t)=>{let i=r(e,n+1);f(i)||(o[t]=i)}),t[n]=void 0,o}}return e};return r(e,0)}};function N(e,t,r,n,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),o&&(this.response=o)}_.inherits(N,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:_.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});let H=N.prototype,D={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{D[e]={value:e}}),Object.defineProperties(N,D),Object.defineProperty(H,"isAxiosError",{value:!0}),N.from=(e,t,r,n,o,i)=>{let a=Object.create(H);return _.toFlatObject(e,a,function(e){return e!==Error.prototype},e=>"isAxiosError"!==e),N.call(a,e.message,t,r,n,o),a.cause=e,a.name=e.name,i&&Object.assign(a,i),a};var L=r(91083).Buffer;function I(e){return _.isPlainObject(e)||_.isArray(e)}function z(e){return _.endsWith(e,"[]")?e.slice(0,-2):e}function U(e,t,r){return e?e.concat(t).map(function(e,t){return e=z(e),!r&&t?"["+e+"]":e}).join(r?".":""):t}let W=_.toFlatObject(_,{},null,function(e){return/^is[A-Z]/.test(e)});var G=function(e,t,r){if(!_.isObject(e))throw TypeError("target must be an object");t=t||new FormData,r=_.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!_.isUndefined(t[e])});let n=r.metaTokens,o=r.visitor||u,i=r.dots,a=r.indexes,l=r.Blob||"undefined"!=typeof Blob&&Blob,s=l&&_.isSpecCompliantForm(t);if(!_.isFunction(o))throw TypeError("visitor must be a function");function c(e){if(null===e)return"";if(_.isDate(e))return e.toISOString();if(!s&&_.isBlob(e))throw new N("Blob is not supported. Use a Buffer instead.");return _.isArrayBuffer(e)||_.isTypedArray(e)?s&&"function"==typeof Blob?new Blob([e]):L.from(e):e}function u(e,r,o){let l=e;if(e&&!o&&"object"==typeof e){if(_.endsWith(r,"{}"))r=n?r:r.slice(0,-2),e=JSON.stringify(e);else{var s;if(_.isArray(e)&&(s=e,_.isArray(s)&&!s.some(I))||(_.isFileList(e)||_.endsWith(r,"[]"))&&(l=_.toArray(e)))return r=z(r),l.forEach(function(e,n){_.isUndefined(e)||null===e||t.append(!0===a?U([r],n,i):null===a?r:r+"[]",c(e))}),!1}}return!!I(e)||(t.append(U(o,r,i),c(e)),!1)}let f=[],d=Object.assign(W,{defaultVisitor:u,convertValue:c,isVisitable:I});if(!_.isObject(e))throw TypeError("data must be an object");return!function e(r,n){if(!_.isUndefined(r)){if(-1!==f.indexOf(r))throw Error("Circular reference detected in "+n.join("."));f.push(r),_.forEach(r,function(r,i){let a=!(_.isUndefined(r)||null===r)&&o.call(t,r,_.isString(i)?i.trim():i,n,d);!0===a&&e(r,n?n.concat(i):[i])}),f.pop()}}(e),t};function K(e){let t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\x00"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(e){return t[e]})}function q(e,t){this._pairs=[],e&&G(e,this,t)}let V=q.prototype;function X(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Y(e,t,r){let n;if(!t)return e;let o=r&&r.encode||X,i=r&&r.serialize;if(n=i?i(t,r):_.isURLSearchParams(t)?t.toString():new q(t,r).toString(o)){let t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+n}return e}V.append=function(e,t){this._pairs.push([e,t])},V.toString=function(e){let t=e?function(t){return e.call(this,t,K)}:K;return this._pairs.map(function(e){return t(e[0])+"="+t(e[1])},"").join("&")};var J=class{constructor(){this.handlers=[]}use(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){_.forEach(this.handlers,function(t){null!==t&&e(t)})}},Q={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},ee="undefined"!=typeof URLSearchParams?URLSearchParams:q,et="undefined"!=typeof FormData?FormData:null,er="undefined"!=typeof Blob?Blob:null;let en=("undefined"==typeof navigator||"ReactNative"!==(n=navigator.product)&&"NativeScript"!==n&&"NS"!==n)&&"undefined"!=typeof window&&"undefined"!=typeof document,eo="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts;var ei={isBrowser:!0,classes:{URLSearchParams:ee,FormData:et,Blob:er},isStandardBrowserEnv:en,isStandardBrowserWebWorkerEnv:eo,protocols:["http","https","file","blob","url","data"]},ea=function(e){if(_.isFormData(e)&&_.isFunction(e.entries)){let t={};return _.forEachEntry(e,(e,r)=>{!function e(t,r,n,o){let i=t[o++],a=Number.isFinite(+i),l=o>=t.length;if(i=!i&&_.isArray(n)?n.length:i,l)return _.hasOwnProp(n,i)?n[i]=[n[i],r]:n[i]=r,!a;n[i]&&_.isObject(n[i])||(n[i]=[]);let s=e(t,r,n[i],o);return s&&_.isArray(n[i])&&(n[i]=function(e){let t,r;let n={},o=Object.keys(e),i=o.length;for(t=0;t"[]"===e[0]?"":e[1]||e[0]),r,t,0)}),t}return null};let el={"Content-Type":void 0},es={transitional:Q,adapter:["xhr","http"],transformRequest:[function(e,t){let r;let n=t.getContentType()||"",o=n.indexOf("application/json")>-1,i=_.isObject(e);i&&_.isHTMLForm(e)&&(e=new FormData(e));let a=_.isFormData(e);if(a)return o&&o?JSON.stringify(ea(e)):e;if(_.isArrayBuffer(e)||_.isBuffer(e)||_.isStream(e)||_.isFile(e)||_.isBlob(e))return e;if(_.isArrayBufferView(e))return e.buffer;if(_.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();if(i){if(n.indexOf("application/x-www-form-urlencoded")>-1){var l,s;return(l=e,s=this.formSerializer,G(l,new ei.classes.URLSearchParams,Object.assign({visitor:function(e,t,r,n){return ei.isNode&&_.isBuffer(e)?(this.append(t,e.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)}},s))).toString()}if((r=_.isFileList(e))||n.indexOf("multipart/form-data")>-1){let t=this.env&&this.env.FormData;return G(r?{"files[]":e}:e,t&&new t,this.formSerializer)}}return i||o?(t.setContentType("application/json",!1),function(e,t,r){if(_.isString(e))try{return(0,JSON.parse)(e),_.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){let t=this.transitional||es.transitional,r=t&&t.forcedJSONParsing,n="json"===this.responseType;if(e&&_.isString(e)&&(r&&!this.responseType||n)){let r=t&&t.silentJSONParsing;try{return JSON.parse(e)}catch(e){if(!r&&n){if("SyntaxError"===e.name)throw N.from(e,N.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ei.classes.FormData,Blob:ei.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};_.forEach(["delete","get","head"],function(e){es.headers[e]={}}),_.forEach(["post","put","patch"],function(e){es.headers[e]=_.merge(el)});let ec=_.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);var eu=e=>{let t,r,n;let o={};return e&&e.split("\n").forEach(function(e){n=e.indexOf(":"),t=e.substring(0,n).trim().toLowerCase(),r=e.substring(n+1).trim(),!t||o[t]&&ec[t]||("set-cookie"===t?o[t]?o[t].push(r):o[t]=[r]:o[t]=o[t]?o[t]+", "+r:r)}),o};let ef=Symbol("internals");function ed(e){return e&&String(e).trim().toLowerCase()}function ep(e){return!1===e||null==e?e:_.isArray(e)?e.map(ep):String(e)}function eh(e,t,r,n,o){if(_.isFunction(n))return n.call(this,t,r);if(o&&(t=r),_.isString(t)){if(_.isString(n))return -1!==t.indexOf(n);if(_.isRegExp(n))return n.test(t)}}class eg{constructor(e){e&&this.set(e)}set(e,t,r){let n=this;function o(e,t,r){let o=ed(t);if(!o)throw Error("header name must be a non-empty string");let i=_.findKey(n,o);i&&void 0!==n[i]&&!0!==r&&(void 0!==r||!1===n[i])||(n[i||t]=ep(e))}let i=(e,t)=>_.forEach(e,(e,r)=>o(e,r,t));if(_.isPlainObject(e)||e instanceof this.constructor)i(e,t);else{var a;_.isString(e)&&(e=e.trim())&&(a=e,!/^[-_a-zA-Z]+$/.test(a.trim()))?i(eu(e),t):null!=e&&o(t,e,r)}return this}get(e,t){if(e=ed(e)){let r=_.findKey(this,e);if(r){let e=this[r];if(!t)return e;if(!0===t)return function(e){let t;let r=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;for(;t=n.exec(e);)r[t[1]]=t[2];return r}(e);if(_.isFunction(t))return t.call(this,e,r);if(_.isRegExp(t))return t.exec(e);throw TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=ed(e)){let r=_.findKey(this,e);return!!(r&&void 0!==this[r]&&(!t||eh(this,this[r],r,t)))}return!1}delete(e,t){let r=this,n=!1;function o(e){if(e=ed(e)){let o=_.findKey(r,e);o&&(!t||eh(r,r[o],o,t))&&(delete r[o],n=!0)}}return _.isArray(e)?e.forEach(o):o(e),n}clear(e){let t=Object.keys(this),r=t.length,n=!1;for(;r--;){let o=t[r];(!e||eh(this,this[o],o,e,!0))&&(delete this[o],n=!0)}return n}normalize(e){let t=this,r={};return _.forEach(this,(n,o)=>{let i=_.findKey(r,o);if(i){t[i]=ep(n),delete t[o];return}let a=e?o.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,r)=>t.toUpperCase()+r):String(o).trim();a!==o&&delete t[o],t[a]=ep(n),r[a]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){let t=Object.create(null);return _.forEach(this,(r,n)=>{null!=r&&!1!==r&&(t[n]=e&&_.isArray(r)?r.join(", "):r)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){let r=new this(e);return t.forEach(e=>r.set(e)),r}static accessor(e){let t=this[ef]=this[ef]={accessors:{}},r=t.accessors,n=this.prototype;function o(e){let t=ed(e);r[t]||(!function(e,t){let r=_.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+r,{value:function(e,r,o){return this[n].call(this,t,e,r,o)},configurable:!0})})}(n,e),r[t]=!0)}return _.isArray(e)?e.forEach(o):o(e),this}}function em(e,t){let r=this||es,n=t||r,o=eg.from(n.headers),i=n.data;return _.forEach(e,function(e){i=e.call(r,i,o.normalize(),t?t.status:void 0)}),o.normalize(),i}function ev(e){return!!(e&&e.__CANCEL__)}function ey(e,t,r){N.call(this,null==e?"canceled":e,N.ERR_CANCELED,t,r),this.name="CanceledError"}eg.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),_.freezeMethods(eg.prototype),_.freezeMethods(eg),_.inherits(ey,N,{__CANCEL__:!0});var eb=ei.isStandardBrowserEnv?{write:function(e,t,r,n,o,i){let a=[];a.push(e+"="+encodeURIComponent(t)),_.isNumber(r)&&a.push("expires="+new Date(r).toGMTString()),_.isString(n)&&a.push("path="+n),_.isString(o)&&a.push("domain="+o),!0===i&&a.push("secure"),document.cookie=a.join("; ")},read:function(e){let t=document.cookie.match(RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}};function ex(e,t){return e&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)?t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e:t}var eC=ei.isStandardBrowserEnv?function(){let e;let t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function n(e){let n=e;return t&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return e=n(window.location.href),function(t){let r=_.isString(t)?n(t):t;return r.protocol===e.protocol&&r.host===e.host}}():function(){return!0},ew=function(e,t){let r;e=e||10;let n=Array(e),o=Array(e),i=0,a=0;return t=void 0!==t?t:1e3,function(l){let s=Date.now(),c=o[a];r||(r=s),n[i]=l,o[i]=s;let u=a,f=0;for(;u!==i;)f+=n[u++],u%=e;if((i=(i+1)%e)===a&&(a=(a+1)%e),s-r{let i=o.loaded,a=o.lengthComputable?o.total:void 0,l=i-r,s=n(l),c=i<=a;r=i;let u={loaded:i,total:a,progress:a?i/a:void 0,bytes:l,rate:s||void 0,estimated:s&&a&&c?(a-i)/s:void 0,event:o};u[t?"download":"upload"]=!0,e(u)}}let eE="undefined"!=typeof XMLHttpRequest;var eA=eE&&function(e){return new Promise(function(t,r){let n,o=e.data,i=eg.from(e.headers).normalize(),a=e.responseType;function l(){e.cancelToken&&e.cancelToken.unsubscribe(n),e.signal&&e.signal.removeEventListener("abort",n)}_.isFormData(o)&&(ei.isStandardBrowserEnv||ei.isStandardBrowserWebWorkerEnv)&&i.setContentType(!1);let s=new XMLHttpRequest;if(e.auth){let t=e.auth.username||"",r=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";i.set("Authorization","Basic "+btoa(t+":"+r))}let c=ex(e.baseURL,e.url);function u(){if(!s)return;let n=eg.from("getAllResponseHeaders"in s&&s.getAllResponseHeaders()),o=a&&"text"!==a&&"json"!==a?s.response:s.responseText,i={data:o,status:s.status,statusText:s.statusText,headers:n,config:e,request:s};!function(e,t,r){let n=r.config.validateStatus;!r.status||!n||n(r.status)?e(r):t(new N("Request failed with status code "+r.status,[N.ERR_BAD_REQUEST,N.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}(function(e){t(e),l()},function(e){r(e),l()},i),s=null}if(s.open(e.method.toUpperCase(),Y(c,e.params,e.paramsSerializer),!0),s.timeout=e.timeout,"onloadend"in s?s.onloadend=u:s.onreadystatechange=function(){s&&4===s.readyState&&(0!==s.status||s.responseURL&&0===s.responseURL.indexOf("file:"))&&setTimeout(u)},s.onabort=function(){s&&(r(new N("Request aborted",N.ECONNABORTED,e,s)),s=null)},s.onerror=function(){r(new N("Network Error",N.ERR_NETWORK,e,s)),s=null},s.ontimeout=function(){let t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",n=e.transitional||Q;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),r(new N(t,n.clarifyTimeoutError?N.ETIMEDOUT:N.ECONNABORTED,e,s)),s=null},ei.isStandardBrowserEnv){let t=(e.withCredentials||eC(c))&&e.xsrfCookieName&&eb.read(e.xsrfCookieName);t&&i.set(e.xsrfHeaderName,t)}void 0===o&&i.setContentType(null),"setRequestHeader"in s&&_.forEach(i.toJSON(),function(e,t){s.setRequestHeader(t,e)}),_.isUndefined(e.withCredentials)||(s.withCredentials=!!e.withCredentials),a&&"json"!==a&&(s.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&s.addEventListener("progress",eS(e.onDownloadProgress,!0)),"function"==typeof e.onUploadProgress&&s.upload&&s.upload.addEventListener("progress",eS(e.onUploadProgress)),(e.cancelToken||e.signal)&&(n=t=>{s&&(r(!t||t.type?new ey(null,e,s):t),s.abort(),s=null)},e.cancelToken&&e.cancelToken.subscribe(n),e.signal&&(e.signal.aborted?n():e.signal.addEventListener("abort",n)));let f=function(e){let t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(c);if(f&&-1===ei.protocols.indexOf(f)){r(new N("Unsupported protocol "+f+":",N.ERR_BAD_REQUEST,e));return}s.send(o||null)})};let ek={http:null,xhr:eA};_.forEach(ek,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}});var eO={getAdapter:e=>{let t,r;e=_.isArray(e)?e:[e];let{length:n}=e;for(let o=0;oe instanceof eg?e.toJSON():e;function eP(e,t){t=t||{};let r={};function n(e,t,r){return _.isPlainObject(e)&&_.isPlainObject(t)?_.merge.call({caseless:r},e,t):_.isPlainObject(t)?_.merge({},t):_.isArray(t)?t.slice():t}function o(e,t,r){return _.isUndefined(t)?_.isUndefined(e)?void 0:n(void 0,e,r):n(e,t,r)}function i(e,t){if(!_.isUndefined(t))return n(void 0,t)}function a(e,t){return _.isUndefined(t)?_.isUndefined(e)?void 0:n(void 0,e):n(void 0,t)}function l(r,o,i){return i in t?n(r,o):i in e?n(void 0,r):void 0}let s={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:l,headers:(e,t)=>o(eB(e),eB(t),!0)};return _.forEach(Object.keys(e).concat(Object.keys(t)),function(n){let i=s[n]||o,a=i(e[n],t[n],n);_.isUndefined(a)&&i!==l||(r[n]=a)}),r}let eT="1.3.4",eR={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{eR[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});let ej={};eR.transitional=function(e,t,r){function n(e,t){return"[Axios v"+eT+"] Transitional option '"+e+"'"+t+(r?". "+r:"")}return(r,o,i)=>{if(!1===e)throw new N(n(o," has been removed"+(t?" in "+t:"")),N.ERR_DEPRECATED);return t&&!ej[o]&&(ej[o]=!0,console.warn(n(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(r,o,i)}};var eM={assertOptions:function(e,t,r){if("object"!=typeof e)throw new N("options must be an object",N.ERR_BAD_OPTION_VALUE);let n=Object.keys(e),o=n.length;for(;o-- >0;){let i=n[o],a=t[i];if(a){let t=e[i],r=void 0===t||a(t,i,e);if(!0!==r)throw new N("option "+i+" must be "+r,N.ERR_BAD_OPTION_VALUE);continue}if(!0!==r)throw new N("Unknown option "+i,N.ERR_BAD_OPTION)}},validators:eR};let eF=eM.validators;class e_{constructor(e){this.defaults=e,this.interceptors={request:new J,response:new J}}request(e,t){let r,n,o;"string"==typeof e?(t=t||{}).url=e:t=e||{},t=eP(this.defaults,t);let{transitional:i,paramsSerializer:a,headers:l}=t;void 0!==i&&eM.assertOptions(i,{silentJSONParsing:eF.transitional(eF.boolean),forcedJSONParsing:eF.transitional(eF.boolean),clarifyTimeoutError:eF.transitional(eF.boolean)},!1),void 0!==a&&eM.assertOptions(a,{encode:eF.function,serialize:eF.function},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase(),(r=l&&_.merge(l.common,l[t.method]))&&_.forEach(["delete","get","head","post","put","patch","common"],e=>{delete l[e]}),t.headers=eg.concat(r,l);let s=[],c=!0;this.interceptors.request.forEach(function(e){("function"!=typeof e.runWhen||!1!==e.runWhen(t))&&(c=c&&e.synchronous,s.unshift(e.fulfilled,e.rejected))});let u=[];this.interceptors.response.forEach(function(e){u.push(e.fulfilled,e.rejected)});let f=0;if(!c){let e=[eZ.bind(this),void 0];for(e.unshift.apply(e,s),e.push.apply(e,u),o=e.length,n=Promise.resolve(t);f{if(!r._listeners)return;let t=r._listeners.length;for(;t-- >0;)r._listeners[t](e);r._listeners=null}),this.promise.then=e=>{let t;let n=new Promise(e=>{r.subscribe(e),t=e}).then(e);return n.cancel=function(){r.unsubscribe(t)},n},e(function(e,n,o){r.reason||(r.reason=new ey(e,n,o),t(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;let t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}static source(){let e;let t=new eN(function(t){e=t});return{token:t,cancel:e}}}let eH={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(eH).forEach(([e,t])=>{eH[t]=e});let eD=function e(t){let r=new e_(t),n=o(e_.prototype.request,r);return _.extend(n,e_.prototype,r,{allOwnKeys:!0}),_.extend(n,r,null,{allOwnKeys:!0}),n.create=function(r){return e(eP(t,r))},n}(es);eD.Axios=e_,eD.CanceledError=ey,eD.CancelToken=eN,eD.isCancel=ev,eD.VERSION=eT,eD.toFormData=G,eD.AxiosError=N,eD.Cancel=eD.CanceledError,eD.all=function(e){return Promise.all(e)},eD.spread=function(e){return function(t){return e.apply(null,t)}},eD.isAxiosError=function(e){return _.isObject(e)&&!0===e.isAxiosError},eD.mergeConfig=eP,eD.AxiosHeaders=eg,eD.formToJSON=e=>ea(_.isHTMLForm(e)?new FormData(e):e),eD.HttpStatusCode=eH,eD.default=eD;var eL=eD},57436:function(e,t,r){"use strict";r.d(t,{Ab:function(){return a},Fr:function(){return l},G$:function(){return i},JM:function(){return f},K$:function(){return c},MS:function(){return n},h5:function(){return s},lK:function(){return u},uj:function(){return o}});var n="-ms-",o="-moz-",i="-webkit-",a="comm",l="rule",s="decl",c="@import",u="@keyframes",f="@layer"},99946:function(e,t,r){"use strict";r.d(t,{MY:function(){return a}});var n=r(57436),o=r(10036),i=r(125);function a(e){return(0,i.cE)(function e(t,r,a,c,u,f,d,p,h){for(var g,m=0,v=0,y=d,b=0,x=0,C=0,w=1,S=1,E=1,A=0,k="",O=u,$=f,Z=c,B=k;S;)switch(C=A,A=(0,i.lp)()){case 40:if(108!=C&&58==(0,o.uO)(B,y-1)){-1!=(0,o.Cw)(B+=(0,o.gx)((0,i.iF)(A),"&","&\f"),"&\f")&&(E=-1);break}case 34:case 39:case 91:B+=(0,i.iF)(A);break;case 9:case 10:case 13:case 32:B+=(0,i.Qb)(C);break;case 92:B+=(0,i.kq)((0,i.Ud)()-1,7);continue;case 47:switch((0,i.fj)()){case 42:case 47:(0,o.R3)((g=(0,i.q6)((0,i.lp)(),(0,i.Ud)()),(0,i.dH)(g,r,a,n.Ab,(0,o.Dp)((0,i.Tb)()),(0,o.tb)(g,2,-2),0)),h);break;default:B+="/"}break;case 123*w:p[m++]=(0,o.to)(B)*E;case 125*w:case 59:case 0:switch(A){case 0:case 125:S=0;case 59+v:-1==E&&(B=(0,o.gx)(B,/\f/g,"")),x>0&&(0,o.to)(B)-y&&(0,o.R3)(x>32?s(B+";",c,a,y-1):s((0,o.gx)(B," ","")+";",c,a,y-2),h);break;case 59:B+=";";default:if((0,o.R3)(Z=l(B,r,a,m,v,u,p,k,O=[],$=[],y),f),123===A){if(0===v)e(B,r,Z,Z,O,f,y,p,$);else switch(99===b&&110===(0,o.uO)(B,3)?100:b){case 100:case 108:case 109:case 115:e(t,Z,Z,c&&(0,o.R3)(l(t,Z,Z,0,0,u,p,k,u,O=[],y),$),u,$,y,p,c?O:$);break;default:e(B,Z,Z,Z,[""],$,0,p,$)}}}m=v=x=0,w=E=1,k=B="",y=d;break;case 58:y=1+(0,o.to)(B),x=C;default:if(w<1){if(123==A)--w;else if(125==A&&0==w++&&125==(0,i.mp)())continue}switch(B+=(0,o.Dp)(A),A*w){case 38:E=v>0?1:(B+="\f",-1);break;case 44:p[m++]=((0,o.to)(B)-1)*E,E=1;break;case 64:45===(0,i.fj)()&&(B+=(0,i.iF)((0,i.lp)())),b=(0,i.fj)(),v=y=(0,o.to)(k=B+=(0,i.QU)((0,i.Ud)())),A++;break;case 45:45===C&&2==(0,o.to)(B)&&(w=0)}}return f}("",null,null,null,[""],e=(0,i.un)(e),0,[0],e))}function l(e,t,r,a,l,s,c,u,f,d,p){for(var h=l-1,g=0===l?s:[""],m=(0,o.Ei)(g),v=0,y=0,b=0;v0?g[x]+" "+C:(0,o.gx)(C,/&\f/g,g[x])))&&(f[b++]=w);return(0,i.dH)(e,t,r,0===l?n.Fr:u,f,d,p)}function s(e,t,r,a){return(0,i.dH)(e,t,r,n.h5,(0,o.tb)(e,0,a),(0,o.tb)(e,a+1,-1),a)}},34523:function(e,t,r){"use strict";r.d(t,{P:function(){return a},q:function(){return i}});var n=r(57436),o=r(10036);function i(e,t){for(var r="",n=(0,o.Ei)(e),i=0;i0?(0,n.uO)(c,--l):0,i--,10===s&&(i=1,o--),s}function h(){return s=l2||y(s)>3?"":" "}function S(e,t){for(;--t&&h()&&!(s<48)&&!(s>102)&&(!(s>57)||!(s<65))&&(!(s>70)||!(s<97)););return v(e,l+(t<6&&32==g()&&32==h()))}function E(e,t){for(;h();)if(e+s===57)break;else if(e+s===84&&47===g())break;return"/*"+v(t,l-1)+"*"+(0,n.Dp)(47===e?e:h())}function A(e){for(;!y(g());)h();return v(e,l)}},10036:function(e,t,r){"use strict";r.d(t,{$e:function(){return m},Cw:function(){return u},Dp:function(){return o},EQ:function(){return s},Ei:function(){return h},R3:function(){return g},Wn:function(){return n},f0:function(){return i},fy:function(){return l},gx:function(){return c},tb:function(){return d},to:function(){return p},uO:function(){return f},vp:function(){return a}});var n=Math.abs,o=String.fromCharCode,i=Object.assign;function a(e,t){return 45^f(e,0)?(((t<<2^f(e,0))<<2^f(e,1))<<2^f(e,2))<<2^f(e,3):0}function l(e){return e.trim()}function s(e,t){return(e=t.exec(e))?e[0]:e}function c(e,t,r){return e.replace(t,r)}function u(e,t){return e.indexOf(t)}function f(e,t){return 0|e.charCodeAt(t)}function d(e,t,r){return e.slice(t,r)}function p(e){return e.length}function h(e){return e.length}function g(e,t){return t.push(e),e}function m(e,t){return e.map(t).join("")}}}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/214-6da104d67aad51e5.js b/pilot/server/static/_next/static/chunks/214-6da104d67aad51e5.js deleted file mode 100644 index a72d54157..000000000 --- a/pilot/server/static/_next/static/chunks/214-6da104d67aad51e5.js +++ /dev/null @@ -1,6 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[214],{91083:function(t){!function(){var e={675:function(t,e){"use strict";e.byteLength=function(t){var e=u(t),r=e[0],n=e[1];return(r+n)*3/4-n},e.toByteArray=function(t){var e,r,i=u(t),s=i[0],a=i[1],f=new o((s+a)*3/4-a),l=0,c=a>0?s-4:s;for(r=0;r>16&255,f[l++]=e>>8&255,f[l++]=255&e;return 2===a&&(e=n[t.charCodeAt(r)]<<2|n[t.charCodeAt(r+1)]>>4,f[l++]=255&e),1===a&&(e=n[t.charCodeAt(r)]<<10|n[t.charCodeAt(r+1)]<<4|n[t.charCodeAt(r+2)]>>2,f[l++]=e>>8&255,f[l++]=255&e),f},e.fromByteArray=function(t){for(var e,n=t.length,o=n%3,i=[],s=0,a=n-o;s>18&63]+r[o>>12&63]+r[o>>6&63]+r[63&o]);return i.join("")}(t,s,s+16383>a?a:s+16383));return 1===o?i.push(r[(e=t[n-1])>>2]+r[e<<4&63]+"=="):2===o&&i.push(r[(e=(t[n-2]<<8)+t[n-1])>>10]+r[e>>4&63]+r[e<<2&63]+"="),i.join("")};for(var r=[],n=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,a=i.length;s0)throw Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");-1===r&&(r=e);var n=r===e?0:4-r%4;return[r,n]}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},72:function(t,e,r){"use strict";/*! - * The buffer module from node.js, for the browser. - * - * @author Feross Aboukhadijeh - * @license MIT - */var n=r(675),o=r(783),i="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function s(t){if(t>2147483647)throw RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,a.prototype),e}function a(t,e,r){if("number"==typeof t){if("string"==typeof e)throw TypeError('The "string" argument must be of type string. Received type number');return l(t)}return u(t,e,r)}function u(t,e,r){if("string"==typeof t)return function(t,e){if(("string"!=typeof e||""===e)&&(e="utf8"),!a.isEncoding(e))throw TypeError("Unknown encoding: "+e);var r=0|p(t,e),n=s(r),o=n.write(t,e);return o!==r&&(n=n.slice(0,o)),n}(t,e);if(ArrayBuffer.isView(t))return c(t);if(null==t)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(U(t,ArrayBuffer)||t&&U(t.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(U(t,SharedArrayBuffer)||t&&U(t.buffer,SharedArrayBuffer)))return function(t,e,r){var n;if(e<0||t.byteLength=2147483647)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|t}function p(t,e){if(a.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||U(t,ArrayBuffer))return t.byteLength;if("string"!=typeof t)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var r=t.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;for(var o=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return R(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return B(t).length;default:if(o)return n?-1:R(t).length;e=(""+e).toLowerCase(),o=!0}}function d(t,e,r){var o,i,s=!1;if((void 0===e||e<0)&&(e=0),e>this.length||((void 0===r||r>this.length)&&(r=this.length),r<=0||(r>>>=0)<=(e>>>=0)))return"";for(t||(t="utf8");;)switch(t){case"hex":return function(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var o="",i=e;i2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),(i=r=+r)!=i&&(r=o?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(o)return -1;r=t.length-1}else if(r<0){if(!o)return -1;r=0}if("string"==typeof e&&(e=a.from(e,n)),a.isBuffer(e))return 0===e.length?-1:m(t,e,r,n,o);if("number"==typeof e)return(e&=255,"function"==typeof Uint8Array.prototype.indexOf)?o?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):m(t,[e],r,n,o);throw TypeError("val must be string, number or Buffer")}function m(t,e,r,n,o){var i,s=1,a=t.length,u=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return -1;s=2,a/=2,u/=2,r/=2}function f(t,e){return 1===s?t[e]:t.readUInt16BE(e*s)}if(o){var l=-1;for(i=r;ia&&(r=a-u),i=r;i>=0;i--){for(var c=!0,h=0;h239?4:f>223?3:f>191?2:1;if(o+c<=r)switch(c){case 1:f<128&&(l=f);break;case 2:(192&(i=t[o+1]))==128&&(u=(31&f)<<6|63&i)>127&&(l=u);break;case 3:i=t[o+1],s=t[o+2],(192&i)==128&&(192&s)==128&&(u=(15&f)<<12|(63&i)<<6|63&s)>2047&&(u<55296||u>57343)&&(l=u);break;case 4:i=t[o+1],s=t[o+2],a=t[o+3],(192&i)==128&&(192&s)==128&&(192&a)==128&&(u=(15&f)<<18|(63&i)<<12|(63&s)<<6|63&a)>65535&&u<1114112&&(l=u)}null===l?(l=65533,c=1):l>65535&&(l-=65536,n.push(l>>>10&1023|55296),l=56320|1023&l),n.push(l),o+=c}return function(t){var e=t.length;if(e<=4096)return String.fromCharCode.apply(String,t);for(var r="",n=0;nr)throw RangeError("Trying to access beyond buffer length")}function E(t,e,r,n,o,i){if(!a.isBuffer(t))throw TypeError('"buffer" argument must be a Buffer instance');if(e>o||et.length)throw RangeError("Index out of range")}function v(t,e,r,n,o,i){if(r+n>t.length||r<0)throw RangeError("Index out of range")}function A(t,e,r,n,i){return e=+e,r>>>=0,i||v(t,e,r,4,34028234663852886e22,-34028234663852886e22),o.write(t,e,r,n,23,4),r+4}function O(t,e,r,n,i){return e=+e,r>>>=0,i||v(t,e,r,8,17976931348623157e292,-17976931348623157e292),o.write(t,e,r,n,52,8),r+8}e.Buffer=a,e.SlowBuffer=function(t){return+t!=t&&(t=0),a.alloc(+t)},e.INSPECT_MAX_BYTES=50,e.kMaxLength=2147483647,a.TYPED_ARRAY_SUPPORT=function(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),42===t.foo()}catch(t){return!1}}(),a.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(a.prototype,"parent",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.buffer}}),Object.defineProperty(a.prototype,"offset",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.byteOffset}}),a.poolSize=8192,a.from=function(t,e,r){return u(t,e,r)},Object.setPrototypeOf(a.prototype,Uint8Array.prototype),Object.setPrototypeOf(a,Uint8Array),a.alloc=function(t,e,r){return(f(t),t<=0)?s(t):void 0!==e?"string"==typeof r?s(t).fill(e,r):s(t).fill(e):s(t)},a.allocUnsafe=function(t){return l(t)},a.allocUnsafeSlow=function(t){return l(t)},a.isBuffer=function(t){return null!=t&&!0===t._isBuffer&&t!==a.prototype},a.compare=function(t,e){if(U(t,Uint8Array)&&(t=a.from(t,t.offset,t.byteLength)),U(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),!a.isBuffer(t)||!a.isBuffer(e))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===e)return 0;for(var r=t.length,n=e.length,o=0,i=Math.min(r,n);or&&(t+=" ... "),""},i&&(a.prototype[i]=a.prototype.inspect),a.prototype.compare=function(t,e,r,n,o){if(U(t,Uint8Array)&&(t=a.from(t,t.offset,t.byteLength)),!a.isBuffer(t))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),e<0||r>t.length||n<0||o>this.length)throw RangeError("out of range index");if(n>=o&&e>=r)return 0;if(n>=o)return -1;if(e>=r)return 1;if(e>>>=0,r>>>=0,n>>>=0,o>>>=0,this===t)return 0;for(var i=o-n,s=r-e,u=Math.min(i,s),f=this.slice(n,o),l=t.slice(e,r),c=0;c>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o,i,s,a,u,f,l,c,h,p,d,y,g=this.length-e;if((void 0===r||r>g)&&(r=g),t.length>0&&(r<0||e<0)||e>this.length)throw RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var m=!1;;)switch(n){case"hex":return function(t,e,r,n){r=Number(r)||0;var o=t.length-r;n?(n=Number(n))>o&&(n=o):n=o;var i=e.length;n>i/2&&(n=i/2);for(var s=0;s>8,o.push(r%256),o.push(n);return o}(t,this.length-d),this,d,y);default:if(m)throw TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),m=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},a.prototype.slice=function(t,e){var r=this.length;t=~~t,e=void 0===e?r:~~e,t<0?(t+=r)<0&&(t=0):t>r&&(t=r),e<0?(e+=r)<0&&(e=0):e>r&&(e=r),e>>=0,e>>>=0,r||w(t,e,this.length);for(var n=this[t],o=1,i=0;++i>>=0,e>>>=0,r||w(t,e,this.length);for(var n=this[t+--e],o=1;e>0&&(o*=256);)n+=this[t+--e]*o;return n},a.prototype.readUInt8=function(t,e){return t>>>=0,e||w(t,1,this.length),this[t]},a.prototype.readUInt16LE=function(t,e){return t>>>=0,e||w(t,2,this.length),this[t]|this[t+1]<<8},a.prototype.readUInt16BE=function(t,e){return t>>>=0,e||w(t,2,this.length),this[t]<<8|this[t+1]},a.prototype.readUInt32LE=function(t,e){return t>>>=0,e||w(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},a.prototype.readUInt32BE=function(t,e){return t>>>=0,e||w(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},a.prototype.readIntLE=function(t,e,r){t>>>=0,e>>>=0,r||w(t,e,this.length);for(var n=this[t],o=1,i=0;++i=(o*=128)&&(n-=Math.pow(2,8*e)),n},a.prototype.readIntBE=function(t,e,r){t>>>=0,e>>>=0,r||w(t,e,this.length);for(var n=e,o=1,i=this[t+--n];n>0&&(o*=256);)i+=this[t+--n]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*e)),i},a.prototype.readInt8=function(t,e){return(t>>>=0,e||w(t,1,this.length),128&this[t])?-((255-this[t]+1)*1):this[t]},a.prototype.readInt16LE=function(t,e){t>>>=0,e||w(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},a.prototype.readInt16BE=function(t,e){t>>>=0,e||w(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},a.prototype.readInt32LE=function(t,e){return t>>>=0,e||w(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},a.prototype.readInt32BE=function(t,e){return t>>>=0,e||w(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},a.prototype.readFloatLE=function(t,e){return t>>>=0,e||w(t,4,this.length),o.read(this,t,!0,23,4)},a.prototype.readFloatBE=function(t,e){return t>>>=0,e||w(t,4,this.length),o.read(this,t,!1,23,4)},a.prototype.readDoubleLE=function(t,e){return t>>>=0,e||w(t,8,this.length),o.read(this,t,!0,52,8)},a.prototype.readDoubleBE=function(t,e){return t>>>=0,e||w(t,8,this.length),o.read(this,t,!1,52,8)},a.prototype.writeUIntLE=function(t,e,r,n){if(t=+t,e>>>=0,r>>>=0,!n){var o=Math.pow(2,8*r)-1;E(this,t,e,r,o,0)}var i=1,s=0;for(this[e]=255&t;++s>>=0,r>>>=0,!n){var o=Math.pow(2,8*r)-1;E(this,t,e,r,o,0)}var i=r-1,s=1;for(this[e+i]=255&t;--i>=0&&(s*=256);)this[e+i]=t/s&255;return e+r},a.prototype.writeUInt8=function(t,e,r){return t=+t,e>>>=0,r||E(this,t,e,1,255,0),this[e]=255&t,e+1},a.prototype.writeUInt16LE=function(t,e,r){return t=+t,e>>>=0,r||E(this,t,e,2,65535,0),this[e]=255&t,this[e+1]=t>>>8,e+2},a.prototype.writeUInt16BE=function(t,e,r){return t=+t,e>>>=0,r||E(this,t,e,2,65535,0),this[e]=t>>>8,this[e+1]=255&t,e+2},a.prototype.writeUInt32LE=function(t,e,r){return t=+t,e>>>=0,r||E(this,t,e,4,4294967295,0),this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t,e+4},a.prototype.writeUInt32BE=function(t,e,r){return t=+t,e>>>=0,r||E(this,t,e,4,4294967295,0),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},a.prototype.writeIntLE=function(t,e,r,n){if(t=+t,e>>>=0,!n){var o=Math.pow(2,8*r-1);E(this,t,e,r,o-1,-o)}var i=0,s=1,a=0;for(this[e]=255&t;++i>0)-a&255;return e+r},a.prototype.writeIntBE=function(t,e,r,n){if(t=+t,e>>>=0,!n){var o=Math.pow(2,8*r-1);E(this,t,e,r,o-1,-o)}var i=r-1,s=1,a=0;for(this[e+i]=255&t;--i>=0&&(s*=256);)t<0&&0===a&&0!==this[e+i+1]&&(a=1),this[e+i]=(t/s>>0)-a&255;return e+r},a.prototype.writeInt8=function(t,e,r){return t=+t,e>>>=0,r||E(this,t,e,1,127,-128),t<0&&(t=255+t+1),this[e]=255&t,e+1},a.prototype.writeInt16LE=function(t,e,r){return t=+t,e>>>=0,r||E(this,t,e,2,32767,-32768),this[e]=255&t,this[e+1]=t>>>8,e+2},a.prototype.writeInt16BE=function(t,e,r){return t=+t,e>>>=0,r||E(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=255&t,e+2},a.prototype.writeInt32LE=function(t,e,r){return t=+t,e>>>=0,r||E(this,t,e,4,2147483647,-2147483648),this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24,e+4},a.prototype.writeInt32BE=function(t,e,r){return t=+t,e>>>=0,r||E(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},a.prototype.writeFloatLE=function(t,e,r){return A(this,t,e,!0,r)},a.prototype.writeFloatBE=function(t,e,r){return A(this,t,e,!1,r)},a.prototype.writeDoubleLE=function(t,e,r){return O(this,t,e,!0,r)},a.prototype.writeDoubleBE=function(t,e,r){return O(this,t,e,!1,r)},a.prototype.copy=function(t,e,r,n){if(!a.isBuffer(t))throw TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n=this.length)throw RangeError("Index out of range");if(n<0)throw RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e=0;--i)t[i+e]=this[i+r];else Uint8Array.prototype.set.call(t,this.subarray(r,n),e);return o},a.prototype.fill=function(t,e,r,n){if("string"==typeof t){if("string"==typeof e?(n=e,e=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),void 0!==n&&"string"!=typeof n)throw TypeError("encoding must be a string");if("string"==typeof n&&!a.isEncoding(n))throw TypeError("Unknown encoding: "+n);if(1===t.length){var o,i=t.charCodeAt(0);("utf8"===n&&i<128||"latin1"===n)&&(t=i)}}else"number"==typeof t?t&=255:"boolean"==typeof t&&(t=Number(t));if(e<0||this.length>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"==typeof t)for(o=e;o55295&&r<57344){if(!o){if(r>56319||s+1===n){(e-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(e-=3)>-1&&i.push(239,191,189),o=r;continue}r=(o-55296<<10|r-56320)+65536}else o&&(e-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((e-=1)<0)break;i.push(r)}else if(r<2048){if((e-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else if(r<1114112){if((e-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}else throw Error("Invalid code point")}return i}function T(t){for(var e=[],r=0;r=e.length)&&!(o>=t.length);++o)e[o+r]=t[o];return o}function U(t,e){return t instanceof e||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===e.name}var x=function(){for(var t="0123456789abcdef",e=Array(256),r=0;r<16;++r)for(var n=16*r,o=0;o<16;++o)e[n+o]=t[r]+t[o];return e}()},783:function(t,e){/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */e.read=function(t,e,r,n,o){var i,s,a=8*o-n-1,u=(1<>1,l=-7,c=r?o-1:0,h=r?-1:1,p=t[e+c];for(c+=h,i=p&(1<<-l)-1,p>>=-l,l+=a;l>0;i=256*i+t[e+c],c+=h,l-=8);for(s=i&(1<<-l)-1,i>>=-l,l+=n;l>0;s=256*s+t[e+c],c+=h,l-=8);if(0===i)i=1-f;else{if(i===u)return s?NaN:(p?-1:1)*(1/0);s+=Math.pow(2,n),i-=f}return(p?-1:1)*s*Math.pow(2,i-n)},e.write=function(t,e,r,n,o,i){var s,a,u,f=8*i-o-1,l=(1<>1,h=23===o?5960464477539062e-23:0,p=n?0:i-1,d=n?1:-1,y=e<0||0===e&&1/e<0?1:0;for(isNaN(e=Math.abs(e))||e===1/0?(a=isNaN(e)?1:0,s=l):(s=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-s))<1&&(s--,u*=2),s+c>=1?e+=h/u:e+=h*Math.pow(2,1-c),e*u>=2&&(s++,u/=2),s+c>=l?(a=0,s=l):s+c>=1?(a=(e*u-1)*Math.pow(2,o),s+=c):(a=e*Math.pow(2,c-1)*Math.pow(2,o),s=0));o>=8;t[r+p]=255&a,p+=d,a/=256,o-=8);for(s=s<0;t[r+p]=255&s,p+=d,s/=256,f-=8);t[r+p-d]|=128*y}}},r={};function n(t){var o=r[t];if(void 0!==o)return o.exports;var i=r[t]={exports:{}},s=!0;try{e[t](i,i.exports,n),s=!1}finally{s&&delete r[t]}return i.exports}n.ab="//";var o=n(72);t.exports=o}()},24214:function(t,e,r){"use strict";let n;function o(t,e){return function(){return t.apply(e,arguments)}}r.d(e,{Z:function(){return tq}});let{toString:i}=Object.prototype,{getPrototypeOf:s}=Object,a=(_=Object.create(null),t=>{let e=i.call(t);return _[e]||(_[e]=e.slice(8,-1).toLowerCase())}),u=t=>(t=t.toLowerCase(),e=>a(e)===t),f=t=>e=>typeof e===t,{isArray:l}=Array,c=f("undefined"),h=u("ArrayBuffer"),p=f("string"),d=f("function"),y=f("number"),g=t=>null!==t&&"object"==typeof t,m=t=>{if("object"!==a(t))return!1;let e=s(t);return(null===e||e===Object.prototype||null===Object.getPrototypeOf(e))&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},b=u("Date"),w=u("File"),E=u("Blob"),v=u("FileList"),A=u("URLSearchParams");function O(t,e,{allOwnKeys:r=!1}={}){let n,o;if(null!=t){if("object"!=typeof t&&(t=[t]),l(t))for(n=0,o=t.length;n0;)if(e===(r=n[o]).toLowerCase())return r;return null}let R="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,T=t=>!c(t)&&t!==R,B=(I="undefined"!=typeof Uint8Array&&s(Uint8Array),t=>I&&t instanceof I),C=u("HTMLFormElement"),U=(({hasOwnProperty:t})=>(e,r)=>t.call(e,r))(Object.prototype),x=u("RegExp"),N=(t,e)=>{let r=Object.getOwnPropertyDescriptors(t),n={};O(r,(r,o)=>{!1!==e(r,o,t)&&(n[o]=r)}),Object.defineProperties(t,n)},j="abcdefghijklmnopqrstuvwxyz",P="0123456789",L={DIGIT:P,ALPHA:j,ALPHA_DIGIT:j+j.toUpperCase()+P};var _,I,k={isArray:l,isArrayBuffer:h,isBuffer:function(t){return null!==t&&!c(t)&&null!==t.constructor&&!c(t.constructor)&&d(t.constructor.isBuffer)&&t.constructor.isBuffer(t)},isFormData:t=>{let e="[object FormData]";return t&&("function"==typeof FormData&&t instanceof FormData||i.call(t)===e||d(t.toString)&&t.toString()===e)},isArrayBufferView:function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&h(t.buffer)},isString:p,isNumber:y,isBoolean:t=>!0===t||!1===t,isObject:g,isPlainObject:m,isUndefined:c,isDate:b,isFile:w,isBlob:E,isRegExp:x,isFunction:d,isStream:t=>g(t)&&d(t.pipe),isURLSearchParams:A,isTypedArray:B,isFileList:v,forEach:O,merge:function t(){let{caseless:e}=T(this)&&this||{},r={},n=(n,o)=>{let i=e&&S(r,o)||o;m(r[i])&&m(n)?r[i]=t(r[i],n):m(n)?r[i]=t({},n):l(n)?r[i]=n.slice():r[i]=n};for(let t=0,e=arguments.length;t(O(e,(e,n)=>{r&&d(e)?t[n]=o(e,r):t[n]=e},{allOwnKeys:n}),t),trim:t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:t=>(65279===t.charCodeAt(0)&&(t=t.slice(1)),t),inherits:(t,e,r,n)=>{t.prototype=Object.create(e.prototype,n),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),r&&Object.assign(t.prototype,r)},toFlatObject:(t,e,r,n)=>{let o,i,a;let u={};if(e=e||{},null==t)return e;do{for(i=(o=Object.getOwnPropertyNames(t)).length;i-- >0;)a=o[i],(!n||n(a,t,e))&&!u[a]&&(e[a]=t[a],u[a]=!0);t=!1!==r&&s(t)}while(t&&(!r||r(t,e))&&t!==Object.prototype);return e},kindOf:a,kindOfTest:u,endsWith:(t,e,r)=>{t=String(t),(void 0===r||r>t.length)&&(r=t.length),r-=e.length;let n=t.indexOf(e,r);return -1!==n&&n===r},toArray:t=>{if(!t)return null;if(l(t))return t;let e=t.length;if(!y(e))return null;let r=Array(e);for(;e-- >0;)r[e]=t[e];return r},forEachEntry:(t,e)=>{let r;let n=t&&t[Symbol.iterator],o=n.call(t);for(;(r=o.next())&&!r.done;){let n=r.value;e.call(t,n[0],n[1])}},matchAll:(t,e)=>{let r;let n=[];for(;null!==(r=t.exec(e));)n.push(r);return n},isHTMLForm:C,hasOwnProperty:U,hasOwnProp:U,reduceDescriptors:N,freezeMethods:t=>{N(t,(e,r)=>{if(d(t)&&-1!==["arguments","caller","callee"].indexOf(r))return!1;let n=t[r];if(d(n)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},toObjectSet:(t,e)=>{let r={};return(t=>{t.forEach(t=>{r[t]=!0})})(l(t)?t:String(t).split(e)),r},toCamelCase:t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(t,e,r){return e.toUpperCase()+r}),noop:()=>{},toFiniteNumber:(t,e)=>Number.isFinite(t=+t)?t:e,findKey:S,global:R,isContextDefined:T,ALPHABET:L,generateString:(t=16,e=L.ALPHA_DIGIT)=>{let r="",{length:n}=e;for(;t--;)r+=e[Math.random()*n|0];return r},isSpecCompliantForm:function(t){return!!(t&&d(t.append)&&"FormData"===t[Symbol.toStringTag]&&t[Symbol.iterator])},toJSONObject:t=>{let e=Array(10),r=(t,n)=>{if(g(t)){if(e.indexOf(t)>=0)return;if(!("toJSON"in t)){e[n]=t;let o=l(t)?[]:{};return O(t,(t,e)=>{let i=r(t,n+1);c(i)||(o[e]=i)}),e[n]=void 0,o}}return t};return r(t,0)}};function F(t,e,r,n,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=Error().stack,this.message=t,this.name="AxiosError",e&&(this.code=e),r&&(this.config=r),n&&(this.request=n),o&&(this.response=o)}k.inherits(F,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:k.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});let D=F.prototype,M={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(t=>{M[t]={value:t}}),Object.defineProperties(F,M),Object.defineProperty(D,"isAxiosError",{value:!0}),F.from=(t,e,r,n,o,i)=>{let s=Object.create(D);return k.toFlatObject(t,s,function(t){return t!==Error.prototype},t=>"isAxiosError"!==t),F.call(s,t.message,e,r,n,o),s.cause=t,s.name=t.name,i&&Object.assign(s,i),s};var q=r(91083).Buffer;function z(t){return k.isPlainObject(t)||k.isArray(t)}function J(t){return k.endsWith(t,"[]")?t.slice(0,-2):t}function H(t,e,r){return t?t.concat(e).map(function(t,e){return t=J(t),!r&&e?"["+t+"]":t}).join(r?".":""):e}let W=k.toFlatObject(k,{},null,function(t){return/^is[A-Z]/.test(t)});var V=function(t,e,r){if(!k.isObject(t))throw TypeError("target must be an object");e=e||new FormData,r=k.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(t,e){return!k.isUndefined(e[t])});let n=r.metaTokens,o=r.visitor||l,i=r.dots,s=r.indexes,a=r.Blob||"undefined"!=typeof Blob&&Blob,u=a&&k.isSpecCompliantForm(e);if(!k.isFunction(o))throw TypeError("visitor must be a function");function f(t){if(null===t)return"";if(k.isDate(t))return t.toISOString();if(!u&&k.isBlob(t))throw new F("Blob is not supported. Use a Buffer instead.");return k.isArrayBuffer(t)||k.isTypedArray(t)?u&&"function"==typeof Blob?new Blob([t]):q.from(t):t}function l(t,r,o){let a=t;if(t&&!o&&"object"==typeof t){if(k.endsWith(r,"{}"))r=n?r:r.slice(0,-2),t=JSON.stringify(t);else{var u;if(k.isArray(t)&&(u=t,k.isArray(u)&&!u.some(z))||(k.isFileList(t)||k.endsWith(r,"[]"))&&(a=k.toArray(t)))return r=J(r),a.forEach(function(t,n){k.isUndefined(t)||null===t||e.append(!0===s?H([r],n,i):null===s?r:r+"[]",f(t))}),!1}}return!!z(t)||(e.append(H(o,r,i),f(t)),!1)}let c=[],h=Object.assign(W,{defaultVisitor:l,convertValue:f,isVisitable:z});if(!k.isObject(t))throw TypeError("data must be an object");return!function t(r,n){if(!k.isUndefined(r)){if(-1!==c.indexOf(r))throw Error("Circular reference detected in "+n.join("."));c.push(r),k.forEach(r,function(r,i){let s=!(k.isUndefined(r)||null===r)&&o.call(e,r,k.isString(i)?i.trim():i,n,h);!0===s&&t(r,n?n.concat(i):[i])}),c.pop()}}(t),e};function K(t){let e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\x00"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(t){return e[t]})}function G(t,e){this._pairs=[],t&&V(t,this,e)}let $=G.prototype;function X(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Y(t,e,r){let n;if(!e)return t;let o=r&&r.encode||X,i=r&&r.serialize;if(n=i?i(e,r):k.isURLSearchParams(e)?e.toString():new G(e,r).toString(o)){let e=t.indexOf("#");-1!==e&&(t=t.slice(0,e)),t+=(-1===t.indexOf("?")?"?":"&")+n}return t}$.append=function(t,e){this._pairs.push([t,e])},$.toString=function(t){let e=t?function(e){return t.call(this,e,K)}:K;return this._pairs.map(function(t){return e(t[0])+"="+e(t[1])},"").join("&")};var Z=class{constructor(){this.handlers=[]}use(t,e,r){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){k.forEach(this.handlers,function(e){null!==e&&t(e)})}},Q={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},tt="undefined"!=typeof URLSearchParams?URLSearchParams:G,te="undefined"!=typeof FormData?FormData:null,tr="undefined"!=typeof Blob?Blob:null;let tn=("undefined"==typeof navigator||"ReactNative"!==(n=navigator.product)&&"NativeScript"!==n&&"NS"!==n)&&"undefined"!=typeof window&&"undefined"!=typeof document,to="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts;var ti={isBrowser:!0,classes:{URLSearchParams:tt,FormData:te,Blob:tr},isStandardBrowserEnv:tn,isStandardBrowserWebWorkerEnv:to,protocols:["http","https","file","blob","url","data"]},ts=function(t){if(k.isFormData(t)&&k.isFunction(t.entries)){let e={};return k.forEachEntry(t,(t,r)=>{!function t(e,r,n,o){let i=e[o++],s=Number.isFinite(+i),a=o>=e.length;if(i=!i&&k.isArray(n)?n.length:i,a)return k.hasOwnProp(n,i)?n[i]=[n[i],r]:n[i]=r,!s;n[i]&&k.isObject(n[i])||(n[i]=[]);let u=t(e,r,n[i],o);return u&&k.isArray(n[i])&&(n[i]=function(t){let e,r;let n={},o=Object.keys(t),i=o.length;for(e=0;e"[]"===t[0]?"":t[1]||t[0]),r,e,0)}),e}return null};let ta={"Content-Type":void 0},tu={transitional:Q,adapter:["xhr","http"],transformRequest:[function(t,e){let r;let n=e.getContentType()||"",o=n.indexOf("application/json")>-1,i=k.isObject(t);i&&k.isHTMLForm(t)&&(t=new FormData(t));let s=k.isFormData(t);if(s)return o&&o?JSON.stringify(ts(t)):t;if(k.isArrayBuffer(t)||k.isBuffer(t)||k.isStream(t)||k.isFile(t)||k.isBlob(t))return t;if(k.isArrayBufferView(t))return t.buffer;if(k.isURLSearchParams(t))return e.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();if(i){if(n.indexOf("application/x-www-form-urlencoded")>-1){var a,u;return(a=t,u=this.formSerializer,V(a,new ti.classes.URLSearchParams,Object.assign({visitor:function(t,e,r,n){return ti.isNode&&k.isBuffer(t)?(this.append(e,t.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)}},u))).toString()}if((r=k.isFileList(t))||n.indexOf("multipart/form-data")>-1){let e=this.env&&this.env.FormData;return V(r?{"files[]":t}:t,e&&new e,this.formSerializer)}}return i||o?(e.setContentType("application/json",!1),function(t,e,r){if(k.isString(t))try{return(0,JSON.parse)(t),k.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(0,JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){let e=this.transitional||tu.transitional,r=e&&e.forcedJSONParsing,n="json"===this.responseType;if(t&&k.isString(t)&&(r&&!this.responseType||n)){let r=e&&e.silentJSONParsing;try{return JSON.parse(t)}catch(t){if(!r&&n){if("SyntaxError"===t.name)throw F.from(t,F.ERR_BAD_RESPONSE,this,null,this.response);throw t}}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ti.classes.FormData,Blob:ti.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};k.forEach(["delete","get","head"],function(t){tu.headers[t]={}}),k.forEach(["post","put","patch"],function(t){tu.headers[t]=k.merge(ta)});let tf=k.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);var tl=t=>{let e,r,n;let o={};return t&&t.split("\n").forEach(function(t){n=t.indexOf(":"),e=t.substring(0,n).trim().toLowerCase(),r=t.substring(n+1).trim(),!e||o[e]&&tf[e]||("set-cookie"===e?o[e]?o[e].push(r):o[e]=[r]:o[e]=o[e]?o[e]+", "+r:r)}),o};let tc=Symbol("internals");function th(t){return t&&String(t).trim().toLowerCase()}function tp(t){return!1===t||null==t?t:k.isArray(t)?t.map(tp):String(t)}function td(t,e,r,n,o){if(k.isFunction(n))return n.call(this,e,r);if(o&&(e=r),k.isString(e)){if(k.isString(n))return -1!==e.indexOf(n);if(k.isRegExp(n))return n.test(e)}}class ty{constructor(t){t&&this.set(t)}set(t,e,r){let n=this;function o(t,e,r){let o=th(e);if(!o)throw Error("header name must be a non-empty string");let i=k.findKey(n,o);i&&void 0!==n[i]&&!0!==r&&(void 0!==r||!1===n[i])||(n[i||e]=tp(t))}let i=(t,e)=>k.forEach(t,(t,r)=>o(t,r,e));if(k.isPlainObject(t)||t instanceof this.constructor)i(t,e);else{var s;k.isString(t)&&(t=t.trim())&&(s=t,!/^[-_a-zA-Z]+$/.test(s.trim()))?i(tl(t),e):null!=t&&o(e,t,r)}return this}get(t,e){if(t=th(t)){let r=k.findKey(this,t);if(r){let t=this[r];if(!e)return t;if(!0===e)return function(t){let e;let r=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;for(;e=n.exec(t);)r[e[1]]=e[2];return r}(t);if(k.isFunction(e))return e.call(this,t,r);if(k.isRegExp(e))return e.exec(t);throw TypeError("parser must be boolean|regexp|function")}}}has(t,e){if(t=th(t)){let r=k.findKey(this,t);return!!(r&&void 0!==this[r]&&(!e||td(this,this[r],r,e)))}return!1}delete(t,e){let r=this,n=!1;function o(t){if(t=th(t)){let o=k.findKey(r,t);o&&(!e||td(r,r[o],o,e))&&(delete r[o],n=!0)}}return k.isArray(t)?t.forEach(o):o(t),n}clear(t){let e=Object.keys(this),r=e.length,n=!1;for(;r--;){let o=e[r];(!t||td(this,this[o],o,t,!0))&&(delete this[o],n=!0)}return n}normalize(t){let e=this,r={};return k.forEach(this,(n,o)=>{let i=k.findKey(r,o);if(i){e[i]=tp(n),delete e[o];return}let s=t?o.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,e,r)=>e.toUpperCase()+r):String(o).trim();s!==o&&delete e[o],e[s]=tp(n),r[s]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){let e=Object.create(null);return k.forEach(this,(r,n)=>{null!=r&&!1!==r&&(e[n]=t&&k.isArray(r)?r.join(", "):r)}),e}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,e])=>t+": "+e).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...e){let r=new this(t);return e.forEach(t=>r.set(t)),r}static accessor(t){let e=this[tc]=this[tc]={accessors:{}},r=e.accessors,n=this.prototype;function o(t){let e=th(t);r[e]||(!function(t,e){let r=k.toCamelCase(" "+e);["get","set","has"].forEach(n=>{Object.defineProperty(t,n+r,{value:function(t,r,o){return this[n].call(this,e,t,r,o)},configurable:!0})})}(n,t),r[e]=!0)}return k.isArray(t)?t.forEach(o):o(t),this}}function tg(t,e){let r=this||tu,n=e||r,o=ty.from(n.headers),i=n.data;return k.forEach(t,function(t){i=t.call(r,i,o.normalize(),e?e.status:void 0)}),o.normalize(),i}function tm(t){return!!(t&&t.__CANCEL__)}function tb(t,e,r){F.call(this,null==t?"canceled":t,F.ERR_CANCELED,e,r),this.name="CanceledError"}ty.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),k.freezeMethods(ty.prototype),k.freezeMethods(ty),k.inherits(tb,F,{__CANCEL__:!0});var tw=ti.isStandardBrowserEnv?{write:function(t,e,r,n,o,i){let s=[];s.push(t+"="+encodeURIComponent(e)),k.isNumber(r)&&s.push("expires="+new Date(r).toGMTString()),k.isString(n)&&s.push("path="+n),k.isString(o)&&s.push("domain="+o),!0===i&&s.push("secure"),document.cookie=s.join("; ")},read:function(t){let e=document.cookie.match(RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}};function tE(t,e){return t&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)?e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t:e}var tv=ti.isStandardBrowserEnv?function(){let t;let e=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function n(t){let n=t;return e&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return t=n(window.location.href),function(e){let r=k.isString(e)?n(e):e;return r.protocol===t.protocol&&r.host===t.host}}():function(){return!0},tA=function(t,e){let r;t=t||10;let n=Array(t),o=Array(t),i=0,s=0;return e=void 0!==e?e:1e3,function(a){let u=Date.now(),f=o[s];r||(r=u),n[i]=a,o[i]=u;let l=s,c=0;for(;l!==i;)c+=n[l++],l%=t;if((i=(i+1)%t)===s&&(s=(s+1)%t),u-r{let i=o.loaded,s=o.lengthComputable?o.total:void 0,a=i-r,u=n(a),f=i<=s;r=i;let l={loaded:i,total:s,progress:s?i/s:void 0,bytes:a,rate:u||void 0,estimated:u&&s&&f?(s-i)/u:void 0,event:o};l[e?"download":"upload"]=!0,t(l)}}let tS="undefined"!=typeof XMLHttpRequest;var tR=tS&&function(t){return new Promise(function(e,r){let n,o=t.data,i=ty.from(t.headers).normalize(),s=t.responseType;function a(){t.cancelToken&&t.cancelToken.unsubscribe(n),t.signal&&t.signal.removeEventListener("abort",n)}k.isFormData(o)&&(ti.isStandardBrowserEnv||ti.isStandardBrowserWebWorkerEnv)&&i.setContentType(!1);let u=new XMLHttpRequest;if(t.auth){let e=t.auth.username||"",r=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";i.set("Authorization","Basic "+btoa(e+":"+r))}let f=tE(t.baseURL,t.url);function l(){if(!u)return;let n=ty.from("getAllResponseHeaders"in u&&u.getAllResponseHeaders()),o=s&&"text"!==s&&"json"!==s?u.response:u.responseText,i={data:o,status:u.status,statusText:u.statusText,headers:n,config:t,request:u};!function(t,e,r){let n=r.config.validateStatus;!r.status||!n||n(r.status)?t(r):e(new F("Request failed with status code "+r.status,[F.ERR_BAD_REQUEST,F.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}(function(t){e(t),a()},function(t){r(t),a()},i),u=null}if(u.open(t.method.toUpperCase(),Y(f,t.params,t.paramsSerializer),!0),u.timeout=t.timeout,"onloadend"in u?u.onloadend=l:u.onreadystatechange=function(){u&&4===u.readyState&&(0!==u.status||u.responseURL&&0===u.responseURL.indexOf("file:"))&&setTimeout(l)},u.onabort=function(){u&&(r(new F("Request aborted",F.ECONNABORTED,t,u)),u=null)},u.onerror=function(){r(new F("Network Error",F.ERR_NETWORK,t,u)),u=null},u.ontimeout=function(){let e=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded",n=t.transitional||Q;t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),r(new F(e,n.clarifyTimeoutError?F.ETIMEDOUT:F.ECONNABORTED,t,u)),u=null},ti.isStandardBrowserEnv){let e=(t.withCredentials||tv(f))&&t.xsrfCookieName&&tw.read(t.xsrfCookieName);e&&i.set(t.xsrfHeaderName,e)}void 0===o&&i.setContentType(null),"setRequestHeader"in u&&k.forEach(i.toJSON(),function(t,e){u.setRequestHeader(e,t)}),k.isUndefined(t.withCredentials)||(u.withCredentials=!!t.withCredentials),s&&"json"!==s&&(u.responseType=t.responseType),"function"==typeof t.onDownloadProgress&&u.addEventListener("progress",tO(t.onDownloadProgress,!0)),"function"==typeof t.onUploadProgress&&u.upload&&u.upload.addEventListener("progress",tO(t.onUploadProgress)),(t.cancelToken||t.signal)&&(n=e=>{u&&(r(!e||e.type?new tb(null,t,u):e),u.abort(),u=null)},t.cancelToken&&t.cancelToken.subscribe(n),t.signal&&(t.signal.aborted?n():t.signal.addEventListener("abort",n)));let c=function(t){let e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}(f);if(c&&-1===ti.protocols.indexOf(c)){r(new F("Unsupported protocol "+c+":",F.ERR_BAD_REQUEST,t));return}u.send(o||null)})};let tT={http:null,xhr:tR};k.forEach(tT,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch(t){}Object.defineProperty(t,"adapterName",{value:e})}});var tB={getAdapter:t=>{let e,r;t=k.isArray(t)?t:[t];let{length:n}=t;for(let o=0;ot instanceof ty?t.toJSON():t;function tN(t,e){e=e||{};let r={};function n(t,e,r){return k.isPlainObject(t)&&k.isPlainObject(e)?k.merge.call({caseless:r},t,e):k.isPlainObject(e)?k.merge({},e):k.isArray(e)?e.slice():e}function o(t,e,r){return k.isUndefined(e)?k.isUndefined(t)?void 0:n(void 0,t,r):n(t,e,r)}function i(t,e){if(!k.isUndefined(e))return n(void 0,e)}function s(t,e){return k.isUndefined(e)?k.isUndefined(t)?void 0:n(void 0,t):n(void 0,e)}function a(r,o,i){return i in e?n(r,o):i in t?n(void 0,r):void 0}let u={url:i,method:i,data:i,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:a,headers:(t,e)=>o(tx(t),tx(e),!0)};return k.forEach(Object.keys(t).concat(Object.keys(e)),function(n){let i=u[n]||o,s=i(t[n],e[n],n);k.isUndefined(s)&&i!==a||(r[n]=s)}),r}let tj="1.3.4",tP={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{tP[t]=function(r){return typeof r===t||"a"+(e<1?"n ":" ")+t}});let tL={};tP.transitional=function(t,e,r){function n(t,e){return"[Axios v"+tj+"] Transitional option '"+t+"'"+e+(r?". "+r:"")}return(r,o,i)=>{if(!1===t)throw new F(n(o," has been removed"+(e?" in "+e:"")),F.ERR_DEPRECATED);return e&&!tL[o]&&(tL[o]=!0,console.warn(n(o," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(r,o,i)}};var t_={assertOptions:function(t,e,r){if("object"!=typeof t)throw new F("options must be an object",F.ERR_BAD_OPTION_VALUE);let n=Object.keys(t),o=n.length;for(;o-- >0;){let i=n[o],s=e[i];if(s){let e=t[i],r=void 0===e||s(e,i,t);if(!0!==r)throw new F("option "+i+" must be "+r,F.ERR_BAD_OPTION_VALUE);continue}if(!0!==r)throw new F("Unknown option "+i,F.ERR_BAD_OPTION)}},validators:tP};let tI=t_.validators;class tk{constructor(t){this.defaults=t,this.interceptors={request:new Z,response:new Z}}request(t,e){let r,n,o;"string"==typeof t?(e=e||{}).url=t:e=t||{},e=tN(this.defaults,e);let{transitional:i,paramsSerializer:s,headers:a}=e;void 0!==i&&t_.assertOptions(i,{silentJSONParsing:tI.transitional(tI.boolean),forcedJSONParsing:tI.transitional(tI.boolean),clarifyTimeoutError:tI.transitional(tI.boolean)},!1),void 0!==s&&t_.assertOptions(s,{encode:tI.function,serialize:tI.function},!0),e.method=(e.method||this.defaults.method||"get").toLowerCase(),(r=a&&k.merge(a.common,a[e.method]))&&k.forEach(["delete","get","head","post","put","patch","common"],t=>{delete a[t]}),e.headers=ty.concat(r,a);let u=[],f=!0;this.interceptors.request.forEach(function(t){("function"!=typeof t.runWhen||!1!==t.runWhen(e))&&(f=f&&t.synchronous,u.unshift(t.fulfilled,t.rejected))});let l=[];this.interceptors.response.forEach(function(t){l.push(t.fulfilled,t.rejected)});let c=0;if(!f){let t=[tU.bind(this),void 0];for(t.unshift.apply(t,u),t.push.apply(t,l),o=t.length,n=Promise.resolve(e);c{if(!r._listeners)return;let e=r._listeners.length;for(;e-- >0;)r._listeners[e](t);r._listeners=null}),this.promise.then=t=>{let e;let n=new Promise(t=>{r.subscribe(t),e=t}).then(t);return n.cancel=function(){r.unsubscribe(e)},n},t(function(t,n,o){r.reason||(r.reason=new tb(t,n,o),e(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;let e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}static source(){let t;let e=new tF(function(e){t=e});return{token:e,cancel:t}}}let tD={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(tD).forEach(([t,e])=>{tD[e]=t});let tM=function t(e){let r=new tk(e),n=o(tk.prototype.request,r);return k.extend(n,tk.prototype,r,{allOwnKeys:!0}),k.extend(n,r,null,{allOwnKeys:!0}),n.create=function(r){return t(tN(e,r))},n}(tu);tM.Axios=tk,tM.CanceledError=tb,tM.CancelToken=tF,tM.isCancel=tm,tM.VERSION=tj,tM.toFormData=V,tM.AxiosError=F,tM.Cancel=tM.CanceledError,tM.all=function(t){return Promise.all(t)},tM.spread=function(t){return function(e){return t.apply(null,e)}},tM.isAxiosError=function(t){return k.isObject(t)&&!0===t.isAxiosError},tM.mergeConfig=tN,tM.AxiosHeaders=ty,tM.formToJSON=t=>ts(k.isHTMLForm(t)?new FormData(t):t),tM.HttpStatusCode=tD,tM.default=tM;var tq=tM}}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/app/agents/page-51de336d41e2f893.js b/pilot/server/static/_next/static/chunks/app/agents/page-51de336d41e2f893.js deleted file mode 100644 index c80bf2555..000000000 --- a/pilot/server/static/_next/static/chunks/app/agents/page-51de336d41e2f893.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[718],{82738:function(e,t,l){Promise.resolve().then(l.bind(l,4191))},4191:function(e,t,l){"use strict";l.r(t),l.d(t,{default:function(){return E}});var r=l(9268),s=l(67830),a=l(54842),n=l(70900),o=l(62414),i=l(94244),c=l(33155),u=l(7354),h=l(35891),d=l(35086),m=l(53047),x=l(86006),p=l(19700),y=l(92391),f=l(70321),j=l(75403),v=l(99398),g=l(49064);let Z=y.z.object({query:y.z.string().min(1)});var b=e=>{let{messages:t,onSubmit:l,initialMessage:y,readOnly:b,paramsList:w,clearIntialMessage:N}=e,k=x.useRef(null),[P,T]=(0,x.useState)(!1),[C,S]=(0,x.useState)(),[O,R]=(0,x.useState)(),E=(0,p.cI)({resolver:(0,s.F)(Z),defaultValues:{}}),A=async e=>{let{query:t}=e;try{T(!0),E.reset(),await l(t,{select_param:null==w?void 0:w[O]})}catch(e){}finally{T(!1)}},W=async()=>{try{let e=new URLSearchParams(window.location.search);e.delete("initMessage"),window.history.replaceState(null,null,"?".concat(e.toString())),await A({query:y})}catch(e){console.log(e)}finally{null==N||N()}},M={overrides:{code:e=>{let{children:t}=e;return(0,r.jsx)(v.Z,{language:"javascript",style:g.Z,children:t})}}};return x.useEffect(()=>{k.current&&k.current.scrollTo(0,k.current.scrollHeight)},[null==t?void 0:t.length]),x.useEffect(()=>{y&&t.length<=0&&W()},[y]),x.useEffect(()=>{var e,t;w&&(null===(e=Object.keys(w||{}))||void 0===e?void 0:e.length)>0&&R(null===(t=Object.keys(w||{}))||void 0===t?void 0:t[0])},[w]),(0,r.jsx)("div",{className:"mx-auto flex h-full max-w-3xl flex-col gap-6 px-5 py-6 sm:gap-8 xl:max-w-5xl",children:(0,r.jsxs)(n.Z,{direction:"column",gap:2,sx:{display:"flex",flex:1,flexBasis:"100%",width:"100%",height:"100%",maxHeight:"100%",minHeight:"100%",mx:"auto"},children:[(0,r.jsxs)(n.Z,{ref:k,direction:"column",gap:2,sx:{boxSizing:"border-box",maxWidth:"100%",width:"100%",mx:"auto",flex:1,maxHeight:"100%",overflowY:"auto",p:2,border:"1px solid",borderColor:"var(--joy-palette-divider)"},children:[C&&(0,r.jsx)(o.Z,{size:"sm",variant:"outlined",color:"primary",className:"message-agent",sx:{mr:"auto",ml:"none",whiteSpace:"pre-wrap"},children:null==C?void 0:C.context}),t.filter(e=>["view","human"].includes(e.role)).map((e,t)=>{var l;return(0,r.jsx)(n.Z,{sx:{mr:"view"===e.role?"auto":"none",ml:"human"===e.role?"auto":"none"},children:(0,r.jsx)(o.Z,{size:"sm",variant:"outlined",className:"view"===e.role?"message-agent":"message-human",color:"view"===e.role?"primary":"neutral",sx:e=>({px:2,"ol, ul":{my:0,pl:2},ol:{listStyle:"numeric"},ul:{listStyle:"disc",mb:2},li:{my:1},a:{textDecoration:"underline"}}),children:(0,r.jsx)(j.Z,{options:M,children:null===(l=e.context)||void 0===l?void 0:l.replaceAll("\\n","\n")})})},t)}),P&&(0,r.jsx)(i.Z,{variant:"soft",color:"neutral",size:"sm",sx:{mx:"auto",my:2}})]}),!b&&(0,r.jsxs)("form",{style:{maxWidth:"100%",width:"100%",position:"relative",display:"flex",marginTop:"auto",overflow:"visible",background:"none",justifyContent:"center",marginLeft:"auto",marginRight:"auto",flexDirection:"column",gap:"12px"},onSubmit:e=>{e.stopPropagation(),E.handleSubmit(A)(e)},children:[Object.keys(w||{}).length>0&&(0,r.jsxs)("div",{className:"flex items-center gap-3",children:[(0,r.jsx)(c.Z,{value:O,onChange:(e,t)=>{R(t)},className:"max-w-xs",children:Object.keys(w||{}).map(e=>(0,r.jsx)(u.Z,{value:e,children:null==w?void 0:w[e]},e))}),(0,r.jsx)(h.Z,{className:"cursor-pointer",title:O,placement:"top",variant:"outlined",children:(0,r.jsx)(f.Z,{})})]}),(0,r.jsx)(d.ZP,{sx:{width:"100%"},variant:"outlined",endDecorator:(0,r.jsx)(m.ZP,{type:"submit",disabled:P,children:(0,r.jsx)(a.Z,{})}),...E.register("query")})]})]})})},w=l(91440),N=l(50645),k=l(5737),P=l(45642),T=l(26974),C=l(22046),S=l(78417),O=l(66487);let R=(0,N.Z)(k.Z)(e=>{let{theme:t}=e;return{...t.typography.body2,padding:t.spacing(1),textAlign:"center",borderRadius:4,color:t.vars.palette.text.secondary}});var E=()=>{let{handleChatSubmit:e,history:t}=(0,O.Z)({queryAgentURL:"/v1/chat/completions"}),l=[{year:"1951 年",sales:0},{year:"1952 年",sales:52},{year:"1956 年",sales:61},{year:"1957 年",sales:45},{year:"1958 年",sales:48},{year:"1959 年",sales:38},{year:"1960 年",sales:38},{year:"1962 年",sales:38}];return(0,r.jsx)("div",{className:"p-4 flex flex-row gap-6 min-h-full w-full",children:(0,r.jsx)("div",{className:"flex w-full",children:(0,r.jsxs)(P.Z,{container:!0,spacing:2,sx:{flexGrow:1},children:[(0,r.jsx)(P.Z,{xs:8,children:(0,r.jsxs)(S.Z,{spacing:2,className:"h-full",children:[(0,r.jsx)(R,{children:(0,r.jsx)(P.Z,{container:!0,spacing:2,children:[{label:"Revenue Won",value:"$7,811,851"},{label:"Close %",value:"37.7%"},{label:"AVG Days to Close",value:"121"},{label:"Opportunities Won",value:"526"}].map(e=>(0,r.jsx)(P.Z,{xs:3,children:(0,r.jsx)(o.Z,{className:"flex-1 h-full",children:(0,r.jsxs)(T.Z,{className:"justify-around",children:[(0,r.jsx)(C.ZP,{gutterBottom:!0,component:"div",children:e.label}),(0,r.jsx)(C.ZP,{children:e.value})]})})},e.label))})}),(0,r.jsx)(R,{className:"flex-1",children:(0,r.jsx)(o.Z,{className:"h-full",children:(0,r.jsxs)(T.Z,{className:"h-full",children:[(0,r.jsx)(C.ZP,{gutterBottom:!0,component:"div",children:"Revenue Won by Month"}),(0,r.jsx)("div",{className:"flex-1",children:(0,r.jsx)(w.Chart,{padding:[10,20,50,40],autoFit:!0,data:[{month:"Jan",city:"Tokyo",temperature:7},{month:"Feb",city:"Tokyo",temperature:13},{month:"Mar",city:"Tokyo",temperature:16.5},{month:"Apr",city:"Tokyo",temperature:14.5},{month:"May",city:"Tokyo",temperature:10},{month:"Jun",city:"Tokyo",temperature:7.5},{month:"Jul",city:"Tokyo",temperature:9.2},{month:"Aug",city:"Tokyo",temperature:14.5},{month:"Sep",city:"Tokyo",temperature:9.3},{month:"Oct",city:"Tokyo",temperature:8.3},{month:"Nov",city:"Tokyo",temperature:8.9},{month:"Dec",city:"Tokyo",temperature:5.6}],children:(0,r.jsx)(w.LineAdvance,{shape:"smooth",point:!0,area:!0,position:"month*temperature",color:"city"})})})]})})}),(0,r.jsx)(R,{className:"flex-1",children:(0,r.jsxs)(P.Z,{container:!0,spacing:2,className:"h-full",children:[(0,r.jsx)(P.Z,{xs:4,className:"h-full",children:(0,r.jsx)(o.Z,{className:"flex-1 h-full",children:(0,r.jsxs)(T.Z,{className:"h-full",children:[(0,r.jsx)(C.ZP,{gutterBottom:!0,component:"div",children:"Close % by Month"}),(0,r.jsx)("div",{className:"flex-1",children:(0,r.jsxs)(w.Chart,{autoFit:!0,data:l,children:[(0,r.jsx)(w.Interval,{position:"year*sales",style:{lineWidth:3,stroke:(0,w.getTheme)().colors10[0]}}),(0,r.jsx)(w.Tooltip,{shared:!0})]})})]})})}),(0,r.jsx)(P.Z,{xs:4,className:"h-full",children:(0,r.jsx)(o.Z,{className:"flex-1 h-full",children:(0,r.jsxs)(T.Z,{className:"h-full",children:[(0,r.jsx)(C.ZP,{gutterBottom:!0,component:"div",children:"Close % by Month"}),(0,r.jsx)("div",{className:"flex-1",children:(0,r.jsxs)(w.Chart,{autoFit:!0,data:l,children:[(0,r.jsx)(w.Interval,{position:"year*sales",style:{lineWidth:3,stroke:(0,w.getTheme)().colors10[0]}}),(0,r.jsx)(w.Tooltip,{shared:!0})]})})]})})}),(0,r.jsx)(P.Z,{xs:4,className:"h-full",children:(0,r.jsx)(o.Z,{className:"flex-1 h-full",children:(0,r.jsxs)(T.Z,{className:"h-full",children:[(0,r.jsx)(C.ZP,{gutterBottom:!0,component:"div",children:"Close % by Month"}),(0,r.jsx)("div",{className:"flex-1",children:(0,r.jsxs)(w.Chart,{autoFit:!0,data:l,children:[(0,r.jsx)(w.Interval,{position:"year*sales",style:{lineWidth:3,stroke:(0,w.getTheme)().colors10[0]}}),(0,r.jsx)(w.Tooltip,{shared:!0})]})})]})})})]})})]})}),(0,r.jsx)(P.Z,{xs:4,children:(0,r.jsx)(b,{messages:t,onSubmit:e})})]})})})}},57931:function(e,t,l){"use strict";l.d(t,{ZP:function(){return c},Cg:function(){return o}});var r=l(9268),s=l(89081),a=l(78915),n=l(86006);let[o,i]=function(){let e=n.createContext(void 0);return[function(){let t=n.useContext(e);if(void 0===t)throw Error("useCtx must be inside a Provider with a value");return t},e.Provider]}();var c=e=>{let{children:t}=e,{run:l,data:n,refresh:o}=(0,s.Z)(async()=>await (0,a.Tk)("/v1/chat/dialogue/list"),{manual:!0});return(0,r.jsx)(i,{value:{dialogueList:n,queryDialogueList:l,refreshDialogList:o},children:t})}},66487:function(e,t,l){"use strict";l.d(t,{Z:function(){return o}});var r=l(71990),s=l(86006),a=e=>{let t=(0,s.useReducer)((e,t)=>({...e,...t}),{...e});return t},n=l(57931),o=e=>{let{queryAgentURL:t,channel:l,queryBody:o,initHistory:i}=e,[c,u]=a({history:i||[]}),{refreshDialogList:h}=(0,n.Cg)();(0,s.useEffect)(()=>{i&&u({history:i})},[i]);let d=async(e,s)=>{if(!e)return;let a=[...c.history,{role:"human",context:e}],n=a.length;u({history:a});try{let i=new AbortController;await (0,r.L)("".concat("http://127.0.0.1:5000").concat("/api"+t),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({...s,...o,user_input:e,channel:l}),signal:i.signal,async onopen(e){if(a.length<=1){h();let e=new URLSearchParams(window.location.search);e.delete("initMessage"),window.history.replaceState(null,null,"?".concat(e.toString()))}(!e.ok||e.headers.get("content-type")!==r.a)&&e.status>=400&&e.status<500&&429!==e.status&&e.status},onclose(){console.log("onclose")},onerror(e){throw Error(e)},onmessage:e=>{var t;if(console.log(e,"e"),e.data=e.data.replaceAll("\\n","\n"),"[DONE]"===e.data)i.abort();else if(null===(t=e.data)||void 0===t?void 0:t.startsWith("[ERROR]"))i.abort(),u({history:[...a,{role:"view",context:e.data.replace("[ERROR]","")}]});else{let t=[...a];e.data&&((null==t?void 0:t[n])?t[n].context="".concat(e.data):t.push({role:"view",context:e.data}),u({history:t}))}}})}catch(e){console.log("---e",e),u({history:[...a,{role:"view",context:"请求出错"}]})}};return{handleChatSubmit:d,history:c.history}}},78915:function(e,t,l){"use strict";l.d(t,{Tk:function(){return c},Kw:function(){return u},PR:function(){return h},Ej:function(){return d}});var r=l(21628),s=l(24214);let a=s.Z.create({baseURL:"http://127.0.0.1:5000"});a.defaults.timeout=1e4,a.interceptors.response.use(e=>e.data,e=>Promise.reject(e));var n=l(84835);let o={"content-type":"application/json"},i=e=>{if(!(0,n.isPlainObject)(e))return JSON.stringify(e);let t={...e};for(let e in t){let l=t[e];"string"==typeof l&&(t[e]=l.trim())}return JSON.stringify(t)},c=(e,t)=>{if(t){let l=Object.keys(t).filter(e=>void 0!==t[e]&&""!==t[e]).map(e=>"".concat(e,"=").concat(t[e])).join("&");l&&(e+="?".concat(l))}return a.get("/api"+e,{headers:o}).then(e=>e).catch(e=>{r.ZP.error(e),Promise.reject(e)})},u=(e,t)=>{let l=i(t);return a.post("/api"+e,{body:l,headers:o}).then(e=>e).catch(e=>{r.ZP.error(e),Promise.reject(e)})},h=(e,t)=>{let l=i(t);return a.post(e,{body:l,headers:o}).then(e=>e).catch(e=>{r.ZP.error(e),Promise.reject(e)})},d=(e,t)=>a.post(e,{body:t}).then(e=>e).catch(e=>{r.ZP.error(e),Promise.reject(e)})}},function(e){e.O(0,[180,757,752,685,86,316,259,751,662,481,253,769,744],function(){return e(e.s=82738)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/app/agents/page-1a9eb9931bf223c4.js b/pilot/server/static/_next/static/chunks/app/agents/page-d0e9747fec52ce80.js similarity index 99% rename from pilot/server/static/_next/static/chunks/app/agents/page-1a9eb9931bf223c4.js rename to pilot/server/static/_next/static/chunks/app/agents/page-d0e9747fec52ce80.js index e2bdac9cc..77161614c 100644 --- a/pilot/server/static/_next/static/chunks/app/agents/page-1a9eb9931bf223c4.js +++ b/pilot/server/static/_next/static/chunks/app/agents/page-d0e9747fec52ce80.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[718],{82738:function(e,t,l){Promise.resolve().then(l.bind(l,4191))},4191:function(e,t,l){"use strict";l.r(t),l.d(t,{default:function(){return E}});var r=l(9268),s=l(67830),a=l(54842),n=l(70900),o=l(62414),i=l(94244),c=l(33155),u=l(7354),h=l(35891),d=l(35086),m=l(53047),x=l(86006),p=l(19700),y=l(92391),f=l(70321),j=l(75403),v=l(99398),g=l(49064);let Z=y.z.object({query:y.z.string().min(1)});var b=e=>{let{messages:t,onSubmit:l,initialMessage:y,readOnly:b,paramsList:w,clearIntialMessage:N}=e,P=x.useRef(null),[k,S]=(0,x.useState)(!1),[T,C]=(0,x.useState)(),[R,O]=(0,x.useState)(),E=(0,p.cI)({resolver:(0,s.F)(Z),defaultValues:{}}),A=async e=>{let{query:t}=e;try{S(!0),E.reset(),await l(t,{select_param:null==w?void 0:w[R]})}catch(e){}finally{S(!1)}},_=async()=>{try{let e=new URLSearchParams(window.location.search);e.delete("initMessage"),window.history.replaceState(null,null,"?".concat(e.toString())),await A({query:y})}catch(e){console.log(e)}finally{null==N||N()}},L={overrides:{code:e=>{let{children:t}=e;return(0,r.jsx)(v.Z,{language:"javascript",style:g.Z,children:t})}}};return x.useEffect(()=>{P.current&&P.current.scrollTo(0,P.current.scrollHeight)},[null==t?void 0:t.length]),x.useEffect(()=>{y&&t.length<=0&&_()},[y]),x.useEffect(()=>{var e,t;w&&(null===(e=Object.keys(w||{}))||void 0===e?void 0:e.length)>0&&O(null===(t=Object.keys(w||{}))||void 0===t?void 0:t[0])},[w]),(0,r.jsx)("div",{className:"mx-auto flex h-full max-w-3xl flex-col gap-6 px-5 py-6 sm:gap-8 xl:max-w-5xl",children:(0,r.jsxs)(n.Z,{direction:"column",gap:2,sx:{display:"flex",flex:1,flexBasis:"100%",width:"100%",height:"100%",maxHeight:"100%",minHeight:"100%",mx:"auto"},children:[(0,r.jsxs)(n.Z,{ref:P,direction:"column",gap:2,sx:{boxSizing:"border-box",maxWidth:"100%",width:"100%",mx:"auto",flex:1,maxHeight:"100%",overflowY:"auto",p:2,border:"1px solid",borderColor:"var(--joy-palette-divider)"},children:[T&&(0,r.jsx)(o.Z,{size:"sm",variant:"outlined",color:"primary",className:"message-agent",sx:{mr:"auto",ml:"none",whiteSpace:"pre-wrap"},children:null==T?void 0:T.context}),t.filter(e=>["view","human"].includes(e.role)).map((e,t)=>{var l;return(0,r.jsx)(n.Z,{sx:{mr:"view"===e.role?"auto":"none",ml:"human"===e.role?"auto":"none"},children:(0,r.jsx)(o.Z,{size:"sm",variant:"outlined",className:"view"===e.role?"message-agent":"message-human",color:"view"===e.role?"primary":"neutral",sx:e=>({px:2,"ol, ul":{my:0,pl:2},ol:{listStyle:"numeric"},ul:{listStyle:"disc",mb:2},li:{my:1},a:{textDecoration:"underline"}}),children:(0,r.jsx)(j.Z,{options:L,children:null===(l=e.context)||void 0===l?void 0:l.replaceAll("\\n","\n")})})},t)}),k&&(0,r.jsx)(i.Z,{variant:"soft",color:"neutral",size:"sm",sx:{mx:"auto",my:2}})]}),!b&&(0,r.jsxs)("form",{style:{maxWidth:"100%",width:"100%",position:"relative",display:"flex",marginTop:"auto",overflow:"visible",background:"none",justifyContent:"center",marginLeft:"auto",marginRight:"auto",flexDirection:"column",gap:"12px"},onSubmit:e=>{e.stopPropagation(),E.handleSubmit(A)(e)},children:[Object.keys(w||{}).length>0&&(0,r.jsxs)("div",{className:"flex items-center gap-3",children:[(0,r.jsx)(c.Z,{value:R,onChange:(e,t)=>{O(t)},className:"max-w-xs",children:Object.keys(w||{}).map(e=>(0,r.jsx)(u.Z,{value:e,children:null==w?void 0:w[e]},e))}),(0,r.jsx)(h.Z,{className:"cursor-pointer",title:R,placement:"top",variant:"outlined",children:(0,r.jsx)(f.Z,{})})]}),(0,r.jsx)(d.ZP,{sx:{width:"100%"},variant:"outlined",endDecorator:(0,r.jsx)(m.ZP,{type:"submit",disabled:k,children:(0,r.jsx)(a.Z,{})}),...E.register("query")})]})]})})},w=l(91440),N=l(50645),P=l(5737),k=l(45642),S=l(26974),T=l(22046),C=l(78417),R=l(66487);let O=(0,N.Z)(P.Z)(e=>{let{theme:t}=e;return{...t.typography.body2,padding:t.spacing(1),textAlign:"center",borderRadius:4,color:t.vars.palette.text.secondary}});var E=()=>{let{handleChatSubmit:e,history:t}=(0,R.Z)({queryAgentURL:"/v1/chat/completions"}),l=[{year:"1951 年",sales:0},{year:"1952 年",sales:52},{year:"1956 年",sales:61},{year:"1957 年",sales:45},{year:"1958 年",sales:48},{year:"1959 年",sales:38},{year:"1960 年",sales:38},{year:"1962 年",sales:38}];return(0,r.jsx)("div",{className:"p-4 flex flex-row gap-6 min-h-full w-full",children:(0,r.jsx)("div",{className:"flex w-full",children:(0,r.jsxs)(k.Z,{container:!0,spacing:2,sx:{flexGrow:1},children:[(0,r.jsx)(k.Z,{xs:8,children:(0,r.jsxs)(C.Z,{spacing:2,className:"h-full",children:[(0,r.jsx)(O,{children:(0,r.jsx)(k.Z,{container:!0,spacing:2,children:[{label:"Revenue Won",value:"$7,811,851"},{label:"Close %",value:"37.7%"},{label:"AVG Days to Close",value:"121"},{label:"Opportunities Won",value:"526"}].map(e=>(0,r.jsx)(k.Z,{xs:3,children:(0,r.jsx)(o.Z,{className:"flex-1 h-full",children:(0,r.jsxs)(S.Z,{className:"justify-around",children:[(0,r.jsx)(T.ZP,{gutterBottom:!0,component:"div",children:e.label}),(0,r.jsx)(T.ZP,{children:e.value})]})})},e.label))})}),(0,r.jsx)(O,{className:"flex-1",children:(0,r.jsx)(o.Z,{className:"h-full",children:(0,r.jsxs)(S.Z,{className:"h-full",children:[(0,r.jsx)(T.ZP,{gutterBottom:!0,component:"div",children:"Revenue Won by Month"}),(0,r.jsx)("div",{className:"flex-1",children:(0,r.jsx)(w.Chart,{padding:[10,20,50,40],autoFit:!0,data:[{month:"Jan",city:"Tokyo",temperature:7},{month:"Feb",city:"Tokyo",temperature:13},{month:"Mar",city:"Tokyo",temperature:16.5},{month:"Apr",city:"Tokyo",temperature:14.5},{month:"May",city:"Tokyo",temperature:10},{month:"Jun",city:"Tokyo",temperature:7.5},{month:"Jul",city:"Tokyo",temperature:9.2},{month:"Aug",city:"Tokyo",temperature:14.5},{month:"Sep",city:"Tokyo",temperature:9.3},{month:"Oct",city:"Tokyo",temperature:8.3},{month:"Nov",city:"Tokyo",temperature:8.9},{month:"Dec",city:"Tokyo",temperature:5.6}],children:(0,r.jsx)(w.LineAdvance,{shape:"smooth",point:!0,area:!0,position:"month*temperature",color:"city"})})})]})})}),(0,r.jsx)(O,{className:"flex-1",children:(0,r.jsxs)(k.Z,{container:!0,spacing:2,className:"h-full",children:[(0,r.jsx)(k.Z,{xs:4,className:"h-full",children:(0,r.jsx)(o.Z,{className:"flex-1 h-full",children:(0,r.jsxs)(S.Z,{className:"h-full",children:[(0,r.jsx)(T.ZP,{gutterBottom:!0,component:"div",children:"Close % by Month"}),(0,r.jsx)("div",{className:"flex-1",children:(0,r.jsxs)(w.Chart,{autoFit:!0,data:l,children:[(0,r.jsx)(w.Interval,{position:"year*sales",style:{lineWidth:3,stroke:(0,w.getTheme)().colors10[0]}}),(0,r.jsx)(w.Tooltip,{shared:!0})]})})]})})}),(0,r.jsx)(k.Z,{xs:4,className:"h-full",children:(0,r.jsx)(o.Z,{className:"flex-1 h-full",children:(0,r.jsxs)(S.Z,{className:"h-full",children:[(0,r.jsx)(T.ZP,{gutterBottom:!0,component:"div",children:"Close % by Month"}),(0,r.jsx)("div",{className:"flex-1",children:(0,r.jsxs)(w.Chart,{autoFit:!0,data:l,children:[(0,r.jsx)(w.Interval,{position:"year*sales",style:{lineWidth:3,stroke:(0,w.getTheme)().colors10[0]}}),(0,r.jsx)(w.Tooltip,{shared:!0})]})})]})})}),(0,r.jsx)(k.Z,{xs:4,className:"h-full",children:(0,r.jsx)(o.Z,{className:"flex-1 h-full",children:(0,r.jsxs)(S.Z,{className:"h-full",children:[(0,r.jsx)(T.ZP,{gutterBottom:!0,component:"div",children:"Close % by Month"}),(0,r.jsx)("div",{className:"flex-1",children:(0,r.jsxs)(w.Chart,{autoFit:!0,data:l,children:[(0,r.jsx)(w.Interval,{position:"year*sales",style:{lineWidth:3,stroke:(0,w.getTheme)().colors10[0]}}),(0,r.jsx)(w.Tooltip,{shared:!0})]})})]})})})]})})]})}),(0,r.jsx)(k.Z,{xs:4,children:(0,r.jsx)(b,{messages:t,onSubmit:e})})]})})})}},57931:function(e,t,l){"use strict";l.d(t,{ZP:function(){return c},Cg:function(){return o}});var r=l(9268),s=l(89081),a=l(78915),n=l(86006);let[o,i]=function(){let e=n.createContext(void 0);return[function(){let t=n.useContext(e);if(void 0===t)throw Error("useCtx must be inside a Provider with a value");return t},e.Provider]}();var c=e=>{let{children:t}=e,{run:l,data:n,refresh:o}=(0,s.Z)(async()=>await (0,a.Tk)("/v1/chat/dialogue/list"),{manual:!0});return(0,r.jsx)(i,{value:{dialogueList:n,queryDialogueList:l,refreshDialogList:o},children:t})}},66487:function(e,t,l){"use strict";l.d(t,{Z:function(){return i}});var r=l(71990),s=l(86006),a=e=>{let t=(0,s.useReducer)((e,t)=>({...e,...t}),{...e});return t},n=l(57931),o=l(52040),i=e=>{let{queryAgentURL:t,channel:l,queryBody:i,initHistory:c}=e,[u,h]=a({history:c||[]}),{refreshDialogList:d}=(0,n.Cg)();(0,s.useEffect)(()=>{c&&h({history:c})},[c]);let m=async(e,s)=>{if(!e)return;let a=[...u.history,{role:"human",context:e}],n=a.length;h({history:a});try{let c=new AbortController;await (0,r.L)("".concat(o.env.API_BASE_URL?o.env.API_BASE_URL:"").concat("/api"+t),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({...s,...i,user_input:e,channel:l}),signal:c.signal,async onopen(e){if(a.length<=1){d();let e=new URLSearchParams(window.location.search);e.delete("initMessage"),window.history.replaceState(null,null,"?".concat(e.toString()))}(!e.ok||e.headers.get("content-type")!==r.a)&&e.status>=400&&e.status<500&&429!==e.status&&e.status},onclose(){console.log("onclose")},onerror(e){throw Error(e)},onmessage:e=>{var t;if(console.log(e,"e"),e.data=e.data.replaceAll("\\n","\n"),"[DONE]"===e.data)c.abort();else if(null===(t=e.data)||void 0===t?void 0:t.startsWith("[ERROR]"))c.abort(),h({history:[...a,{role:"view",context:e.data.replace("[ERROR]","")}]});else{let t=[...a];e.data&&((null==t?void 0:t[n])?t[n].context="".concat(e.data):t.push({role:"view",context:e.data}),h({history:t}))}}})}catch(e){console.log("---e",e),h({history:[...a,{role:"view",context:"请求出错"}]})}};return{handleChatSubmit:m,history:u.history}}},78915:function(e,t,l){"use strict";l.d(t,{Tk:function(){return u},Kw:function(){return h},PR:function(){return d},Ej:function(){return m}});var r=l(21628),s=l(24214),a=l(52040);let n=s.Z.create({baseURL:a.env.API_BASE_URL});n.defaults.timeout=1e4,n.interceptors.response.use(e=>e.data,e=>Promise.reject(e));var o=l(84835);let i={"content-type":"application/json"},c=e=>{if(!(0,o.isPlainObject)(e))return JSON.stringify(e);let t={...e};for(let e in t){let l=t[e];"string"==typeof l&&(t[e]=l.trim())}return JSON.stringify(t)},u=(e,t)=>{if(t){let l=Object.keys(t).filter(e=>void 0!==t[e]&&""!==t[e]).map(e=>"".concat(e,"=").concat(t[e])).join("&");l&&(e+="?".concat(l))}return n.get("/api"+e,{headers:i}).then(e=>e).catch(e=>{r.ZP.error(e),Promise.reject(e)})},h=(e,t)=>{let l=c(t);return n.post("/api"+e,{body:l,headers:i}).then(e=>e).catch(e=>{r.ZP.error(e),Promise.reject(e)})},d=(e,t)=>{let l=c(t);return n.post(e,{body:l,headers:i}).then(e=>e).catch(e=>{r.ZP.error(e),Promise.reject(e)})},m=(e,t)=>n.post(e,{body:t}).then(e=>e).catch(e=>{r.ZP.error(e),Promise.reject(e)})}},function(e){e.O(0,[180,757,797,577,214,86,316,259,751,662,481,253,769,744],function(){return e(e.s=82738)}),_N_E=e.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[718],{82738:function(e,t,l){Promise.resolve().then(l.bind(l,4191))},4191:function(e,t,l){"use strict";l.r(t),l.d(t,{default:function(){return E}});var r=l(9268),s=l(67830),a=l(54842),n=l(70900),o=l(62414),i=l(94244),c=l(33155),u=l(7354),h=l(35891),d=l(35086),m=l(53047),x=l(86006),p=l(19700),y=l(92391),f=l(70321),j=l(75403),v=l(99398),g=l(49064);let Z=y.z.object({query:y.z.string().min(1)});var b=e=>{let{messages:t,onSubmit:l,initialMessage:y,readOnly:b,paramsList:w,clearIntialMessage:N}=e,P=x.useRef(null),[k,S]=(0,x.useState)(!1),[T,C]=(0,x.useState)(),[R,O]=(0,x.useState)(),E=(0,p.cI)({resolver:(0,s.F)(Z),defaultValues:{}}),A=async e=>{let{query:t}=e;try{S(!0),E.reset(),await l(t,{select_param:null==w?void 0:w[R]})}catch(e){}finally{S(!1)}},_=async()=>{try{let e=new URLSearchParams(window.location.search);e.delete("initMessage"),window.history.replaceState(null,null,"?".concat(e.toString())),await A({query:y})}catch(e){console.log(e)}finally{null==N||N()}},L={overrides:{code:e=>{let{children:t}=e;return(0,r.jsx)(v.Z,{language:"javascript",style:g.Z,children:t})}}};return x.useEffect(()=>{P.current&&P.current.scrollTo(0,P.current.scrollHeight)},[null==t?void 0:t.length]),x.useEffect(()=>{y&&t.length<=0&&_()},[y]),x.useEffect(()=>{var e,t;w&&(null===(e=Object.keys(w||{}))||void 0===e?void 0:e.length)>0&&O(null===(t=Object.keys(w||{}))||void 0===t?void 0:t[0])},[w]),(0,r.jsx)("div",{className:"mx-auto flex h-full max-w-3xl flex-col gap-6 px-5 py-6 sm:gap-8 xl:max-w-5xl",children:(0,r.jsxs)(n.Z,{direction:"column",gap:2,sx:{display:"flex",flex:1,flexBasis:"100%",width:"100%",height:"100%",maxHeight:"100%",minHeight:"100%",mx:"auto"},children:[(0,r.jsxs)(n.Z,{ref:P,direction:"column",gap:2,sx:{boxSizing:"border-box",maxWidth:"100%",width:"100%",mx:"auto",flex:1,maxHeight:"100%",overflowY:"auto",p:2,border:"1px solid",borderColor:"var(--joy-palette-divider)"},children:[T&&(0,r.jsx)(o.Z,{size:"sm",variant:"outlined",color:"primary",className:"message-agent",sx:{mr:"auto",ml:"none",whiteSpace:"pre-wrap"},children:null==T?void 0:T.context}),t.filter(e=>["view","human"].includes(e.role)).map((e,t)=>{var l;return(0,r.jsx)(n.Z,{sx:{mr:"view"===e.role?"auto":"none",ml:"human"===e.role?"auto":"none"},children:(0,r.jsx)(o.Z,{size:"sm",variant:"outlined",className:"view"===e.role?"message-agent":"message-human",color:"view"===e.role?"primary":"neutral",sx:e=>({px:2,"ol, ul":{my:0,pl:2},ol:{listStyle:"numeric"},ul:{listStyle:"disc",mb:2},li:{my:1},a:{textDecoration:"underline"}}),children:(0,r.jsx)(j.Z,{options:L,children:null===(l=e.context)||void 0===l?void 0:l.replaceAll("\\n","\n")})})},t)}),k&&(0,r.jsx)(i.Z,{variant:"soft",color:"neutral",size:"sm",sx:{mx:"auto",my:2}})]}),!b&&(0,r.jsxs)("form",{style:{maxWidth:"100%",width:"100%",position:"relative",display:"flex",marginTop:"auto",overflow:"visible",background:"none",justifyContent:"center",marginLeft:"auto",marginRight:"auto",flexDirection:"column",gap:"12px"},onSubmit:e=>{e.stopPropagation(),E.handleSubmit(A)(e)},children:[Object.keys(w||{}).length>0&&(0,r.jsxs)("div",{className:"flex items-center gap-3",children:[(0,r.jsx)(c.Z,{value:R,onChange:(e,t)=>{O(t)},className:"max-w-xs",children:Object.keys(w||{}).map(e=>(0,r.jsx)(u.Z,{value:e,children:null==w?void 0:w[e]},e))}),(0,r.jsx)(h.Z,{className:"cursor-pointer",title:R,placement:"top",variant:"outlined",children:(0,r.jsx)(f.Z,{})})]}),(0,r.jsx)(d.ZP,{sx:{width:"100%"},variant:"outlined",endDecorator:(0,r.jsx)(m.ZP,{type:"submit",disabled:k,children:(0,r.jsx)(a.Z,{})}),...E.register("query")})]})]})})},w=l(91440),N=l(50645),P=l(5737),k=l(45642),S=l(26974),T=l(22046),C=l(78417),R=l(66487);let O=(0,N.Z)(P.Z)(e=>{let{theme:t}=e;return{...t.typography.body2,padding:t.spacing(1),textAlign:"center",borderRadius:4,color:t.vars.palette.text.secondary}});var E=()=>{let{handleChatSubmit:e,history:t}=(0,R.Z)({queryAgentURL:"/v1/chat/completions"}),l=[{year:"1951 年",sales:0},{year:"1952 年",sales:52},{year:"1956 年",sales:61},{year:"1957 年",sales:45},{year:"1958 年",sales:48},{year:"1959 年",sales:38},{year:"1960 年",sales:38},{year:"1962 年",sales:38}];return(0,r.jsx)("div",{className:"p-4 flex flex-row gap-6 min-h-full w-full",children:(0,r.jsx)("div",{className:"flex w-full",children:(0,r.jsxs)(k.Z,{container:!0,spacing:2,sx:{flexGrow:1},children:[(0,r.jsx)(k.Z,{xs:8,children:(0,r.jsxs)(C.Z,{spacing:2,className:"h-full",children:[(0,r.jsx)(O,{children:(0,r.jsx)(k.Z,{container:!0,spacing:2,children:[{label:"Revenue Won",value:"$7,811,851"},{label:"Close %",value:"37.7%"},{label:"AVG Days to Close",value:"121"},{label:"Opportunities Won",value:"526"}].map(e=>(0,r.jsx)(k.Z,{xs:3,children:(0,r.jsx)(o.Z,{className:"flex-1 h-full",children:(0,r.jsxs)(S.Z,{className:"justify-around",children:[(0,r.jsx)(T.ZP,{gutterBottom:!0,component:"div",children:e.label}),(0,r.jsx)(T.ZP,{children:e.value})]})})},e.label))})}),(0,r.jsx)(O,{className:"flex-1",children:(0,r.jsx)(o.Z,{className:"h-full",children:(0,r.jsxs)(S.Z,{className:"h-full",children:[(0,r.jsx)(T.ZP,{gutterBottom:!0,component:"div",children:"Revenue Won by Month"}),(0,r.jsx)("div",{className:"flex-1",children:(0,r.jsx)(w.Chart,{padding:[10,20,50,40],autoFit:!0,data:[{month:"Jan",city:"Tokyo",temperature:7},{month:"Feb",city:"Tokyo",temperature:13},{month:"Mar",city:"Tokyo",temperature:16.5},{month:"Apr",city:"Tokyo",temperature:14.5},{month:"May",city:"Tokyo",temperature:10},{month:"Jun",city:"Tokyo",temperature:7.5},{month:"Jul",city:"Tokyo",temperature:9.2},{month:"Aug",city:"Tokyo",temperature:14.5},{month:"Sep",city:"Tokyo",temperature:9.3},{month:"Oct",city:"Tokyo",temperature:8.3},{month:"Nov",city:"Tokyo",temperature:8.9},{month:"Dec",city:"Tokyo",temperature:5.6}],children:(0,r.jsx)(w.LineAdvance,{shape:"smooth",point:!0,area:!0,position:"month*temperature",color:"city"})})})]})})}),(0,r.jsx)(O,{className:"flex-1",children:(0,r.jsxs)(k.Z,{container:!0,spacing:2,className:"h-full",children:[(0,r.jsx)(k.Z,{xs:4,className:"h-full",children:(0,r.jsx)(o.Z,{className:"flex-1 h-full",children:(0,r.jsxs)(S.Z,{className:"h-full",children:[(0,r.jsx)(T.ZP,{gutterBottom:!0,component:"div",children:"Close % by Month"}),(0,r.jsx)("div",{className:"flex-1",children:(0,r.jsxs)(w.Chart,{autoFit:!0,data:l,children:[(0,r.jsx)(w.Interval,{position:"year*sales",style:{lineWidth:3,stroke:(0,w.getTheme)().colors10[0]}}),(0,r.jsx)(w.Tooltip,{shared:!0})]})})]})})}),(0,r.jsx)(k.Z,{xs:4,className:"h-full",children:(0,r.jsx)(o.Z,{className:"flex-1 h-full",children:(0,r.jsxs)(S.Z,{className:"h-full",children:[(0,r.jsx)(T.ZP,{gutterBottom:!0,component:"div",children:"Close % by Month"}),(0,r.jsx)("div",{className:"flex-1",children:(0,r.jsxs)(w.Chart,{autoFit:!0,data:l,children:[(0,r.jsx)(w.Interval,{position:"year*sales",style:{lineWidth:3,stroke:(0,w.getTheme)().colors10[0]}}),(0,r.jsx)(w.Tooltip,{shared:!0})]})})]})})}),(0,r.jsx)(k.Z,{xs:4,className:"h-full",children:(0,r.jsx)(o.Z,{className:"flex-1 h-full",children:(0,r.jsxs)(S.Z,{className:"h-full",children:[(0,r.jsx)(T.ZP,{gutterBottom:!0,component:"div",children:"Close % by Month"}),(0,r.jsx)("div",{className:"flex-1",children:(0,r.jsxs)(w.Chart,{autoFit:!0,data:l,children:[(0,r.jsx)(w.Interval,{position:"year*sales",style:{lineWidth:3,stroke:(0,w.getTheme)().colors10[0]}}),(0,r.jsx)(w.Tooltip,{shared:!0})]})})]})})})]})})]})}),(0,r.jsx)(k.Z,{xs:4,children:(0,r.jsx)(b,{messages:t,onSubmit:e})})]})})})}},57931:function(e,t,l){"use strict";l.d(t,{ZP:function(){return c},Cg:function(){return o}});var r=l(9268),s=l(89081),a=l(78915),n=l(86006);let[o,i]=function(){let e=n.createContext(void 0);return[function(){let t=n.useContext(e);if(void 0===t)throw Error("useCtx must be inside a Provider with a value");return t},e.Provider]}();var c=e=>{let{children:t}=e,{run:l,data:n,refresh:o}=(0,s.Z)(async()=>await (0,a.Tk)("/v1/chat/dialogue/list"),{manual:!0});return(0,r.jsx)(i,{value:{dialogueList:n,queryDialogueList:l,refreshDialogList:o},children:t})}},66487:function(e,t,l){"use strict";l.d(t,{Z:function(){return i}});var r=l(71990),s=l(86006),a=e=>{let t=(0,s.useReducer)((e,t)=>({...e,...t}),{...e});return t},n=l(57931),o=l(52040),i=e=>{let{queryAgentURL:t,channel:l,queryBody:i,initHistory:c}=e,[u,h]=a({history:c||[]}),{refreshDialogList:d}=(0,n.Cg)();(0,s.useEffect)(()=>{c&&h({history:c})},[c]);let m=async(e,s)=>{if(!e)return;let a=[...u.history,{role:"human",context:e}],n=a.length;h({history:a});try{let c=new AbortController;await (0,r.L)("".concat(o.env.API_BASE_URL?o.env.API_BASE_URL:"").concat("/api"+t),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({...s,...i,user_input:e,channel:l}),signal:c.signal,async onopen(e){if(a.length<=1){d();let e=new URLSearchParams(window.location.search);e.delete("initMessage"),window.history.replaceState(null,null,"?".concat(e.toString()))}(!e.ok||e.headers.get("content-type")!==r.a)&&e.status>=400&&e.status<500&&429!==e.status&&e.status},onclose(){console.log("onclose")},onerror(e){throw Error(e)},onmessage:e=>{var t;if(console.log(e,"e"),e.data=e.data.replaceAll("\\n","\n"),"[DONE]"===e.data)c.abort();else if(null===(t=e.data)||void 0===t?void 0:t.startsWith("[ERROR]"))c.abort(),h({history:[...a,{role:"view",context:e.data.replace("[ERROR]","")}]});else{let t=[...a];e.data&&((null==t?void 0:t[n])?t[n].context="".concat(e.data):t.push({role:"view",context:e.data}),h({history:t}))}}})}catch(e){console.log("---e",e),h({history:[...a,{role:"view",context:"请求出错"}]})}};return{handleChatSubmit:m,history:u.history}}},78915:function(e,t,l){"use strict";l.d(t,{Tk:function(){return u},Kw:function(){return h},PR:function(){return d},Ej:function(){return m}});var r=l(21628),s=l(24214),a=l(52040);let n=s.Z.create({baseURL:a.env.API_BASE_URL});n.defaults.timeout=1e4,n.interceptors.response.use(e=>e.data,e=>Promise.reject(e));var o=l(84835);let i={"content-type":"application/json"},c=e=>{if(!(0,o.isPlainObject)(e))return JSON.stringify(e);let t={...e};for(let e in t){let l=t[e];"string"==typeof l&&(t[e]=l.trim())}return JSON.stringify(t)},u=(e,t)=>{if(t){let l=Object.keys(t).filter(e=>void 0!==t[e]&&""!==t[e]).map(e=>"".concat(e,"=").concat(t[e])).join("&");l&&(e+="?".concat(l))}return n.get("/api"+e,{headers:i}).then(e=>e).catch(e=>{r.ZP.error(e),Promise.reject(e)})},h=(e,t)=>{let l=c(t);return n.post("/api"+e,{body:l,headers:i}).then(e=>e).catch(e=>{r.ZP.error(e),Promise.reject(e)})},d=(e,t)=>{let l=c(t);return n.post(e,{body:l,headers:i}).then(e=>e).catch(e=>{r.ZP.error(e),Promise.reject(e)})},m=(e,t)=>n.post(e,{body:t}).then(e=>e).catch(e=>{r.ZP.error(e),Promise.reject(e)})}},function(e){e.O(0,[180,757,106,685,86,316,259,751,662,481,253,769,744],function(){return e(e.s=82738)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/app/chat/page-8ceef33e949c9fb7.js b/pilot/server/static/_next/static/chunks/app/chat/page-8ceef33e949c9fb7.js deleted file mode 100644 index ab95350da..000000000 --- a/pilot/server/static/_next/static/chunks/app/chat/page-8ceef33e949c9fb7.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[929],{55749:function(e,t,r){"use strict";var a=r(78997);t.Z=void 0;var n=a(r(76906)),o=r(9268),s=(0,n.default)([(0,o.jsx)("path",{d:"M19.89 10.75c.07.41.11.82.11 1.25 0 4.41-3.59 8-8 8s-8-3.59-8-8c0-.05.01-.1 0-.14 2.6-.98 4.69-2.99 5.74-5.55 3.38 4.14 7.97 3.73 8.99 3.61l-.89-1.93c-.13.01-4.62.38-7.18-3.86 1.01-.16 1.71-.15 2.59-.01 2.52-1.15 1.93-.89 2.76-1.26C14.78 2.3 13.43 2 12 2 6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10c0-1.43-.3-2.78-.84-4.01l-1.27 2.76zM8.08 5.03C7.45 6.92 6.13 8.5 4.42 9.47 5.05 7.58 6.37 6 8.08 5.03z"},"0"),(0,o.jsx)("circle",{cx:"15",cy:"13",r:"1.25"},"1"),(0,o.jsx)("circle",{cx:"9",cy:"13",r:"1.25"},"2"),(0,o.jsx)("path",{d:"m23 4.5-2.4-1.1L19.5 1l-1.1 2.4L16 4.5l2.4 1.1L19.5 8l1.1-2.4z"},"3")],"FaceRetouchingNaturalOutlined");t.Z=s},70781:function(e,t,r){"use strict";var a=r(78997);t.Z=void 0;var n=a(r(76906)),o=r(9268),s=(0,n.default)((0,o.jsx)("path",{d:"M20 9V7c0-1.1-.9-2-2-2h-3c0-1.66-1.34-3-3-3S9 3.34 9 5H6c-1.1 0-2 .9-2 2v2c-1.66 0-3 1.34-3 3s1.34 3 3 3v4c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-4c1.66 0 3-1.34 3-3s-1.34-3-3-3zm-2 10H6V7h12v12zm-9-6c-.83 0-1.5-.67-1.5-1.5S8.17 10 9 10s1.5.67 1.5 1.5S9.83 13 9 13zm7.5-1.5c0 .83-.67 1.5-1.5 1.5s-1.5-.67-1.5-1.5.67-1.5 1.5-1.5 1.5.67 1.5 1.5zM8 15h8v2H8v-2z"}),"SmartToyOutlined");t.Z=s},90545:function(e,t,r){"use strict";r.d(t,{Z:function(){return v}});var a=r(40431),n=r(46750),o=r(86006),s=r(89791),i=r(4323),l=r(51579),c=r(86601),u=r(95887),d=r(9268);let h=["className","component"];var f=r(47327),m=r(98918);let p=function(e={}){let{themeId:t,defaultTheme:r,defaultClassName:f="MuiBox-root",generateClassName:m}=e,p=(0,i.ZP)("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(l.Z),v=o.forwardRef(function(e,o){let i=(0,u.Z)(r),l=(0,c.Z)(e),{className:v,component:g="div"}=l,x=(0,n.Z)(l,h);return(0,d.jsx)(p,(0,a.Z)({as:g,ref:o,className:(0,s.Z)(v,m?m(f):f),theme:t&&i[t]||i},x))});return v}({defaultTheme:m.Z,defaultClassName:"MuiBox-root",generateClassName:f.Z.generate});var v=p},84380:function(e,t,r){Promise.resolve().then(r.bind(r,59498))},59498:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return O}});var a=r(9268),n=r(89081),o=r(78915),s=r(66487),i=r(67830),l=r(54842),c=r(70900),u=r(62414),d=r(90545),h=r(94244),f=r(33155),m=r(7354),p=r(35086),v=r(53047),g=r(86006),x=r(19700),y=r(92391),j=r(55749),w=r(70781),b=r(75403),Z=r(99398),P=r(49064),S=r(56008);let N=y.z.object({query:y.z.string().min(1)});var k=e=>{var t;let{messages:r,onSubmit:n,readOnly:o,paramsList:s,clearIntialMessage:y}=e,k=(0,S.useSearchParams)(),C=k.get("initMessage"),O=g.useRef(null),[R,z]=(0,g.useState)(!1),[E,_]=(0,g.useState)(),M=(0,x.cI)({resolver:(0,i.F)(N),defaultValues:{}}),L=async e=>{let{query:t}=e;try{console.log("submit"),z(!0),M.reset(),await n(t,{select_param:null==s?void 0:s[E]})}catch(e){}finally{z(!1)}},T=async()=>{try{let e=new URLSearchParams(window.location.search),t=e.get("initMessage");e.delete("initMessage"),window.history.replaceState(null,null,"?".concat(e.toString())),await L({query:t})}catch(e){console.log(e)}finally{null==y||y()}},F={overrides:{code:e=>{let{children:t}=e;return(0,a.jsx)(Z.Z,{language:"javascript",style:P.Z,children:t})}},wrapper:g.Fragment};return g.useEffect(()=>{O.current&&O.current.scrollTo(0,O.current.scrollHeight)},[null==r?void 0:r.length]),g.useEffect(()=>{C&&r.length<=0&&T()},[C,r.length]),g.useEffect(()=>{var e,t;s&&(null===(e=Object.keys(s||{}))||void 0===e?void 0:e.length)>0&&_(null===(t=Object.keys(s||{}))||void 0===t?void 0:t[0])},[s]),(0,a.jsx)("div",{className:"w-full h-full",children:(0,a.jsxs)(c.Z,{className:"w-full h-full bg-[#fefefe] dark:bg-[#212121]",sx:{table:{borderCollapse:"collapse",border:"1px solid #ccc",width:"100%"},"th, td":{border:"1px solid #ccc",padding:"10px",textAlign:"center"}},children:[(0,a.jsxs)(c.Z,{ref:O,direction:"column",sx:{overflowY:"auto",maxHeight:"100%",flex:1},children:[null===(t=r.filter(e=>["view","human"].includes(e.role)))||void 0===t?void 0:t.map((e,t)=>{var r;return(0,a.jsx)(c.Z,{children:(0,a.jsx)(u.Z,{size:"sm",variant:"outlined",color:"view"===e.role?"primary":"neutral",sx:t=>({background:"view"===e.role?"var(--joy-palette-primary-softBg, var(--joy-palette-primary-100, #DDF1FF))":"unset",border:"unset",borderRadius:"unset",padding:"24px 0 26px 0",lineHeight:"24px"}),children:(0,a.jsxs)(d.Z,{sx:{width:"76%",margin:"0 auto"},className:"flex flex-row",children:[(0,a.jsx)("div",{className:"mr-3 inline",children:"view"===e.role?(0,a.jsx)(w.Z,{}):(0,a.jsx)(j.Z,{})}),(0,a.jsx)("div",{className:"inline align-middle mt-0.5 max-w-full flex-1 overflow-auto",children:(0,a.jsx)(b.Z,{options:F,children:null===(r=e.context)||void 0===r?void 0:r.replaceAll("\\n","\n")})})]})})},t)}),R&&(0,a.jsx)(h.Z,{variant:"soft",color:"neutral",size:"sm",sx:{mx:"auto",my:2}})]}),!o&&(0,a.jsx)(d.Z,{className:"bg-[#fefefe] dark:bg-[#212121] before:bg-[#fefefe] before:dark:bg-[#212121]",sx:{position:"relative","&::before":{content:'" "',position:"absolute",top:"-18px",left:"0",right:"0",width:"100%",margin:"0 auto",height:"20px",filter:"blur(10px)",zIndex:2}},children:(0,a.jsxs)("form",{style:{maxWidth:"100%",width:"76%",position:"relative",display:"flex",marginTop:"auto",overflow:"visible",background:"none",justifyContent:"center",marginLeft:"auto",marginRight:"auto",flexDirection:"column",gap:"12px",paddingBottom:"58px",paddingTop:"20px"},onSubmit:e=>{e.stopPropagation(),M.handleSubmit(L)(e)},children:[Object.keys(s||{}).length>0&&(0,a.jsx)("div",{className:"flex items-center gap-3",children:(0,a.jsx)(f.Z,{value:E,onChange:(e,t)=>{_(t)},sx:{maxWidth:"100%"},children:Object.keys(s||{}).map(e=>(0,a.jsx)(m.Z,{value:e,children:e},e))})}),(0,a.jsx)(p.ZP,{className:"w-full h-12",variant:"outlined",endDecorator:(0,a.jsx)(v.ZP,{type:"submit",disabled:R,children:(0,a.jsx)(l.Z,{})}),...M.register("query")})]})})]})})},C=r(57931),O=()=>{let e=(0,S.useSearchParams)(),{refreshDialogList:t}=(0,C.Cg)(),r=e.get("id"),i=e.get("scene"),{data:l}=(0,n.Z)(async()=>await (0,o.Tk)("/v1/chat/dialogue/messages/history",{con_uid:r}),{ready:!!r,refreshDeps:[r]}),{data:c}=(0,n.Z)(async()=>await (0,o.Kw)("/v1/chat/mode/params/list?chat_mode=".concat(i)),{ready:!!i,refreshDeps:[r,i]}),{history:u,handleChatSubmit:d}=(0,s.Z)({queryAgentURL:"/v1/chat/completions",queryBody:{conv_uid:r,chat_mode:i||"chat_normal"},initHistory:null==l?void 0:l.data});return(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(k,{clearIntialMessage:async()=>{await t()},messages:u||[],onSubmit:d,paramsList:null==c?void 0:c.data})})}},57931:function(e,t,r){"use strict";r.d(t,{ZP:function(){return c},Cg:function(){return i}});var a=r(9268),n=r(89081),o=r(78915),s=r(86006);let[i,l]=function(){let e=s.createContext(void 0);return[function(){let t=s.useContext(e);if(void 0===t)throw Error("useCtx must be inside a Provider with a value");return t},e.Provider]}();var c=e=>{let{children:t}=e,{run:r,data:s,refresh:i}=(0,n.Z)(async()=>await (0,o.Tk)("/v1/chat/dialogue/list"),{manual:!0});return(0,a.jsx)(l,{value:{dialogueList:s,queryDialogueList:r,refreshDialogList:i},children:t})}},66487:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var a=r(71990),n=r(86006),o=e=>{let t=(0,n.useReducer)((e,t)=>({...e,...t}),{...e});return t},s=r(57931),i=e=>{let{queryAgentURL:t,channel:r,queryBody:i,initHistory:l}=e,[c,u]=o({history:l||[]}),{refreshDialogList:d}=(0,s.Cg)();(0,n.useEffect)(()=>{l&&u({history:l})},[l]);let h=async(e,n)=>{if(!e)return;let o=[...c.history,{role:"human",context:e}],s=o.length;u({history:o});try{let l=new AbortController;await (0,a.L)("".concat("http://127.0.0.1:5000").concat("/api"+t),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({...n,...i,user_input:e,channel:r}),signal:l.signal,async onopen(e){if(o.length<=1){d();let e=new URLSearchParams(window.location.search);e.delete("initMessage"),window.history.replaceState(null,null,"?".concat(e.toString()))}(!e.ok||e.headers.get("content-type")!==a.a)&&e.status>=400&&e.status<500&&429!==e.status&&e.status},onclose(){console.log("onclose")},onerror(e){throw Error(e)},onmessage:e=>{var t;if(console.log(e,"e"),e.data=e.data.replaceAll("\\n","\n"),"[DONE]"===e.data)l.abort();else if(null===(t=e.data)||void 0===t?void 0:t.startsWith("[ERROR]"))l.abort(),u({history:[...o,{role:"view",context:e.data.replace("[ERROR]","")}]});else{let t=[...o];e.data&&((null==t?void 0:t[s])?t[s].context="".concat(e.data):t.push({role:"view",context:e.data}),u({history:t}))}}})}catch(e){console.log("---e",e),u({history:[...o,{role:"view",context:"请求出错"}]})}};return{handleChatSubmit:h,history:c.history}}},78915:function(e,t,r){"use strict";r.d(t,{Tk:function(){return c},Kw:function(){return u},PR:function(){return d},Ej:function(){return h}});var a=r(21628),n=r(24214);let o=n.Z.create({baseURL:"http://127.0.0.1:5000"});o.defaults.timeout=1e4,o.interceptors.response.use(e=>e.data,e=>Promise.reject(e));var s=r(84835);let i={"content-type":"application/json"},l=e=>{if(!(0,s.isPlainObject)(e))return JSON.stringify(e);let t={...e};for(let e in t){let r=t[e];"string"==typeof r&&(t[e]=r.trim())}return JSON.stringify(t)},c=(e,t)=>{if(t){let r=Object.keys(t).filter(e=>void 0!==t[e]&&""!==t[e]).map(e=>"".concat(e,"=").concat(t[e])).join("&");r&&(e+="?".concat(r))}return o.get("/api"+e,{headers:i}).then(e=>e).catch(e=>{a.ZP.error(e),Promise.reject(e)})},u=(e,t)=>{let r=l(t);return o.post("/api"+e,{body:r,headers:i}).then(e=>e).catch(e=>{a.ZP.error(e),Promise.reject(e)})},d=(e,t)=>{let r=l(t);return o.post(e,{body:r,headers:i}).then(e=>e).catch(e=>{a.ZP.error(e),Promise.reject(e)})},h=(e,t)=>o.post(e,{body:t}).then(e=>e).catch(e=>{a.ZP.error(e),Promise.reject(e)})},56008:function(e,t,r){e.exports=r(30794)}},function(e){e.O(0,[180,752,685,86,316,259,751,662,253,769,744],function(){return e(e.s=84380)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/app/chat/page-9f94c641247afd26.js b/pilot/server/static/_next/static/chunks/app/chat/page-9b84c22e2aa86b93.js similarity index 98% rename from pilot/server/static/_next/static/chunks/app/chat/page-9f94c641247afd26.js rename to pilot/server/static/_next/static/chunks/app/chat/page-9b84c22e2aa86b93.js index 817433299..7a8758350 100644 --- a/pilot/server/static/_next/static/chunks/app/chat/page-9f94c641247afd26.js +++ b/pilot/server/static/_next/static/chunks/app/chat/page-9b84c22e2aa86b93.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[929],{55749:function(e,t,r){"use strict";var a=r(78997);t.Z=void 0;var n=a(r(76906)),o=r(9268),s=(0,n.default)([(0,o.jsx)("path",{d:"M19.89 10.75c.07.41.11.82.11 1.25 0 4.41-3.59 8-8 8s-8-3.59-8-8c0-.05.01-.1 0-.14 2.6-.98 4.69-2.99 5.74-5.55 3.38 4.14 7.97 3.73 8.99 3.61l-.89-1.93c-.13.01-4.62.38-7.18-3.86 1.01-.16 1.71-.15 2.59-.01 2.52-1.15 1.93-.89 2.76-1.26C14.78 2.3 13.43 2 12 2 6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10c0-1.43-.3-2.78-.84-4.01l-1.27 2.76zM8.08 5.03C7.45 6.92 6.13 8.5 4.42 9.47 5.05 7.58 6.37 6 8.08 5.03z"},"0"),(0,o.jsx)("circle",{cx:"15",cy:"13",r:"1.25"},"1"),(0,o.jsx)("circle",{cx:"9",cy:"13",r:"1.25"},"2"),(0,o.jsx)("path",{d:"m23 4.5-2.4-1.1L19.5 1l-1.1 2.4L16 4.5l2.4 1.1L19.5 8l1.1-2.4z"},"3")],"FaceRetouchingNaturalOutlined");t.Z=s},70781:function(e,t,r){"use strict";var a=r(78997);t.Z=void 0;var n=a(r(76906)),o=r(9268),s=(0,n.default)((0,o.jsx)("path",{d:"M20 9V7c0-1.1-.9-2-2-2h-3c0-1.66-1.34-3-3-3S9 3.34 9 5H6c-1.1 0-2 .9-2 2v2c-1.66 0-3 1.34-3 3s1.34 3 3 3v4c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-4c1.66 0 3-1.34 3-3s-1.34-3-3-3zm-2 10H6V7h12v12zm-9-6c-.83 0-1.5-.67-1.5-1.5S8.17 10 9 10s1.5.67 1.5 1.5S9.83 13 9 13zm7.5-1.5c0 .83-.67 1.5-1.5 1.5s-1.5-.67-1.5-1.5.67-1.5 1.5-1.5 1.5.67 1.5 1.5zM8 15h8v2H8v-2z"}),"SmartToyOutlined");t.Z=s},90545:function(e,t,r){"use strict";r.d(t,{Z:function(){return p}});var a=r(40431),n=r(46750),o=r(86006),s=r(89791),i=r(4323),l=r(51579),c=r(86601),u=r(95887),d=r(9268);let h=["className","component"];var f=r(47327),v=r(98918);let m=function(e={}){let{themeId:t,defaultTheme:r,defaultClassName:f="MuiBox-root",generateClassName:v}=e,m=(0,i.ZP)("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(l.Z),p=o.forwardRef(function(e,o){let i=(0,u.Z)(r),l=(0,c.Z)(e),{className:p,component:g="div"}=l,x=(0,n.Z)(l,h);return(0,d.jsx)(m,(0,a.Z)({as:g,ref:o,className:(0,s.Z)(p,v?v(f):f),theme:t&&i[t]||i},x))});return p}({defaultTheme:v.Z,defaultClassName:"MuiBox-root",generateClassName:f.Z.generate});var p=m},84380:function(e,t,r){Promise.resolve().then(r.bind(r,59498))},59498:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return k}});var a=r(9268),n=r(89081),o=r(78915),s=r(66487),i=r(67830),l=r(54842),c=r(70900),u=r(62414),d=r(90545),h=r(94244),f=r(33155),v=r(7354),m=r(35086),p=r(53047),g=r(86006),x=r(19700),y=r(92391),j=r(55749),w=r(70781),b=r(75403),Z=r(99398),P=r(49064),S=r(56008);let N=y.z.object({query:y.z.string().min(1)});var R=e=>{var t;let{messages:r,onSubmit:n,readOnly:o,paramsList:s,clearIntialMessage:y}=e,R=(0,S.useSearchParams)(),_=R.get("initMessage"),k=g.useRef(null),[C,O]=(0,g.useState)(!1),[E,z]=(0,g.useState)(),L=(0,x.cI)({resolver:(0,i.F)(N),defaultValues:{}}),A=async e=>{let{query:t}=e;try{console.log("submit"),O(!0),L.reset(),await n(t,{select_param:null==s?void 0:s[E]})}catch(e){}finally{O(!1)}},M=async()=>{try{let e=new URLSearchParams(window.location.search),t=e.get("initMessage");e.delete("initMessage"),window.history.replaceState(null,null,"?".concat(e.toString())),await A({query:t})}catch(e){console.log(e)}finally{null==y||y()}},T={overrides:{code:e=>{let{children:t}=e;return(0,a.jsx)(Z.Z,{language:"javascript",style:P.Z,children:t})}},wrapper:g.Fragment};return g.useEffect(()=>{k.current&&k.current.scrollTo(0,k.current.scrollHeight)},[null==r?void 0:r.length]),g.useEffect(()=>{_&&r.length<=0&&M()},[_,r.length]),g.useEffect(()=>{var e,t;s&&(null===(e=Object.keys(s||{}))||void 0===e?void 0:e.length)>0&&z(null===(t=Object.keys(s||{}))||void 0===t?void 0:t[0])},[s]),(0,a.jsx)("div",{className:"w-full h-full",children:(0,a.jsxs)(c.Z,{className:"w-full h-full bg-[#fefefe] dark:bg-[#212121]",sx:{table:{borderCollapse:"collapse",border:"1px solid #ccc",width:"100%"},"th, td":{border:"1px solid #ccc",padding:"10px",textAlign:"center"}},children:[(0,a.jsxs)(c.Z,{ref:k,direction:"column",sx:{overflowY:"auto",maxHeight:"100%",flex:1},children:[null===(t=r.filter(e=>["view","human"].includes(e.role)))||void 0===t?void 0:t.map((e,t)=>{var r;return(0,a.jsx)(c.Z,{children:(0,a.jsx)(u.Z,{size:"sm",variant:"outlined",color:"view"===e.role?"primary":"neutral",sx:t=>({background:"view"===e.role?"var(--joy-palette-primary-softBg, var(--joy-palette-primary-100, #DDF1FF))":"unset",border:"unset",borderRadius:"unset",padding:"24px 0 26px 0",lineHeight:"24px"}),children:(0,a.jsxs)(d.Z,{sx:{width:"76%",margin:"0 auto"},className:"flex flex-row",children:[(0,a.jsx)("div",{className:"mr-3 inline",children:"view"===e.role?(0,a.jsx)(w.Z,{}):(0,a.jsx)(j.Z,{})}),(0,a.jsx)("div",{className:"inline align-middle mt-0.5 max-w-full flex-1 overflow-auto",children:(0,a.jsx)(b.Z,{options:T,children:null===(r=e.context)||void 0===r?void 0:r.replaceAll("\\n","\n")})})]})})},t)}),C&&(0,a.jsx)(h.Z,{variant:"soft",color:"neutral",size:"sm",sx:{mx:"auto",my:2}})]}),!o&&(0,a.jsx)(d.Z,{className:"bg-[#fefefe] dark:bg-[#212121] before:bg-[#fefefe] before:dark:bg-[#212121]",sx:{position:"relative","&::before":{content:'" "',position:"absolute",top:"-18px",left:"0",right:"0",width:"100%",margin:"0 auto",height:"20px",filter:"blur(10px)",zIndex:2}},children:(0,a.jsxs)("form",{style:{maxWidth:"100%",width:"76%",position:"relative",display:"flex",marginTop:"auto",overflow:"visible",background:"none",justifyContent:"center",marginLeft:"auto",marginRight:"auto",flexDirection:"column",gap:"12px",paddingBottom:"58px",paddingTop:"20px"},onSubmit:e=>{e.stopPropagation(),L.handleSubmit(A)(e)},children:[Object.keys(s||{}).length>0&&(0,a.jsx)("div",{className:"flex items-center gap-3",children:(0,a.jsx)(f.Z,{value:E,onChange:(e,t)=>{z(t)},sx:{maxWidth:"100%"},children:Object.keys(s||{}).map(e=>(0,a.jsx)(v.Z,{value:e,children:e},e))})}),(0,a.jsx)(m.ZP,{className:"w-full h-12",variant:"outlined",endDecorator:(0,a.jsx)(p.ZP,{type:"submit",disabled:C,children:(0,a.jsx)(l.Z,{})}),...L.register("query")})]})})]})})},_=r(57931),k=()=>{let e=(0,S.useSearchParams)(),{refreshDialogList:t}=(0,_.Cg)(),r=e.get("id"),i=e.get("scene"),{data:l}=(0,n.Z)(async()=>await (0,o.Tk)("/v1/chat/dialogue/messages/history",{con_uid:r}),{ready:!!r,refreshDeps:[r]}),{data:c}=(0,n.Z)(async()=>await (0,o.Kw)("/v1/chat/mode/params/list?chat_mode=".concat(i)),{ready:!!i,refreshDeps:[r,i]}),{history:u,handleChatSubmit:d}=(0,s.Z)({queryAgentURL:"/v1/chat/completions",queryBody:{conv_uid:r,chat_mode:i||"chat_normal"},initHistory:null==l?void 0:l.data});return(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(R,{clearIntialMessage:async()=>{await t()},messages:u||[],onSubmit:d,paramsList:null==c?void 0:c.data})})}},57931:function(e,t,r){"use strict";r.d(t,{ZP:function(){return c},Cg:function(){return i}});var a=r(9268),n=r(89081),o=r(78915),s=r(86006);let[i,l]=function(){let e=s.createContext(void 0);return[function(){let t=s.useContext(e);if(void 0===t)throw Error("useCtx must be inside a Provider with a value");return t},e.Provider]}();var c=e=>{let{children:t}=e,{run:r,data:s,refresh:i}=(0,n.Z)(async()=>await (0,o.Tk)("/v1/chat/dialogue/list"),{manual:!0});return(0,a.jsx)(l,{value:{dialogueList:s,queryDialogueList:r,refreshDialogList:i},children:t})}},66487:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var a=r(71990),n=r(86006),o=e=>{let t=(0,n.useReducer)((e,t)=>({...e,...t}),{...e});return t},s=r(57931),i=r(52040),l=e=>{let{queryAgentURL:t,channel:r,queryBody:l,initHistory:c}=e,[u,d]=o({history:c||[]}),{refreshDialogList:h}=(0,s.Cg)();(0,n.useEffect)(()=>{c&&d({history:c})},[c]);let f=async(e,n)=>{if(!e)return;let o=[...u.history,{role:"human",context:e}],s=o.length;d({history:o});try{let c=new AbortController;await (0,a.L)("".concat(i.env.API_BASE_URL?i.env.API_BASE_URL:"").concat("/api"+t),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({...n,...l,user_input:e,channel:r}),signal:c.signal,async onopen(e){if(o.length<=1){h();let e=new URLSearchParams(window.location.search);e.delete("initMessage"),window.history.replaceState(null,null,"?".concat(e.toString()))}(!e.ok||e.headers.get("content-type")!==a.a)&&e.status>=400&&e.status<500&&429!==e.status&&e.status},onclose(){console.log("onclose")},onerror(e){throw Error(e)},onmessage:e=>{var t;if(console.log(e,"e"),e.data=e.data.replaceAll("\\n","\n"),"[DONE]"===e.data)c.abort();else if(null===(t=e.data)||void 0===t?void 0:t.startsWith("[ERROR]"))c.abort(),d({history:[...o,{role:"view",context:e.data.replace("[ERROR]","")}]});else{let t=[...o];e.data&&((null==t?void 0:t[s])?t[s].context="".concat(e.data):t.push({role:"view",context:e.data}),d({history:t}))}}})}catch(e){console.log("---e",e),d({history:[...o,{role:"view",context:"请求出错"}]})}};return{handleChatSubmit:f,history:u.history}}},78915:function(e,t,r){"use strict";r.d(t,{Tk:function(){return u},Kw:function(){return d},PR:function(){return h},Ej:function(){return f}});var a=r(21628),n=r(24214),o=r(52040);let s=n.Z.create({baseURL:o.env.API_BASE_URL});s.defaults.timeout=1e4,s.interceptors.response.use(e=>e.data,e=>Promise.reject(e));var i=r(84835);let l={"content-type":"application/json"},c=e=>{if(!(0,i.isPlainObject)(e))return JSON.stringify(e);let t={...e};for(let e in t){let r=t[e];"string"==typeof r&&(t[e]=r.trim())}return JSON.stringify(t)},u=(e,t)=>{if(t){let r=Object.keys(t).filter(e=>void 0!==t[e]&&""!==t[e]).map(e=>"".concat(e,"=").concat(t[e])).join("&");r&&(e+="?".concat(r))}return s.get("/api"+e,{headers:l}).then(e=>e).catch(e=>{a.ZP.error(e),Promise.reject(e)})},d=(e,t)=>{let r=c(t);return s.post("/api"+e,{body:r,headers:l}).then(e=>e).catch(e=>{a.ZP.error(e),Promise.reject(e)})},h=(e,t)=>{let r=c(t);return s.post(e,{body:r,headers:l}).then(e=>e).catch(e=>{a.ZP.error(e),Promise.reject(e)})},f=(e,t)=>s.post(e,{body:t}).then(e=>e).catch(e=>{a.ZP.error(e),Promise.reject(e)})},56008:function(e,t,r){e.exports=r(30794)}},function(e){e.O(0,[180,797,577,214,86,316,259,751,662,253,769,744],function(){return e(e.s=84380)}),_N_E=e.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[929],{55749:function(e,t,r){"use strict";var a=r(78997);t.Z=void 0;var n=a(r(76906)),o=r(9268),s=(0,n.default)([(0,o.jsx)("path",{d:"M19.89 10.75c.07.41.11.82.11 1.25 0 4.41-3.59 8-8 8s-8-3.59-8-8c0-.05.01-.1 0-.14 2.6-.98 4.69-2.99 5.74-5.55 3.38 4.14 7.97 3.73 8.99 3.61l-.89-1.93c-.13.01-4.62.38-7.18-3.86 1.01-.16 1.71-.15 2.59-.01 2.52-1.15 1.93-.89 2.76-1.26C14.78 2.3 13.43 2 12 2 6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10c0-1.43-.3-2.78-.84-4.01l-1.27 2.76zM8.08 5.03C7.45 6.92 6.13 8.5 4.42 9.47 5.05 7.58 6.37 6 8.08 5.03z"},"0"),(0,o.jsx)("circle",{cx:"15",cy:"13",r:"1.25"},"1"),(0,o.jsx)("circle",{cx:"9",cy:"13",r:"1.25"},"2"),(0,o.jsx)("path",{d:"m23 4.5-2.4-1.1L19.5 1l-1.1 2.4L16 4.5l2.4 1.1L19.5 8l1.1-2.4z"},"3")],"FaceRetouchingNaturalOutlined");t.Z=s},70781:function(e,t,r){"use strict";var a=r(78997);t.Z=void 0;var n=a(r(76906)),o=r(9268),s=(0,n.default)((0,o.jsx)("path",{d:"M20 9V7c0-1.1-.9-2-2-2h-3c0-1.66-1.34-3-3-3S9 3.34 9 5H6c-1.1 0-2 .9-2 2v2c-1.66 0-3 1.34-3 3s1.34 3 3 3v4c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-4c1.66 0 3-1.34 3-3s-1.34-3-3-3zm-2 10H6V7h12v12zm-9-6c-.83 0-1.5-.67-1.5-1.5S8.17 10 9 10s1.5.67 1.5 1.5S9.83 13 9 13zm7.5-1.5c0 .83-.67 1.5-1.5 1.5s-1.5-.67-1.5-1.5.67-1.5 1.5-1.5 1.5.67 1.5 1.5zM8 15h8v2H8v-2z"}),"SmartToyOutlined");t.Z=s},90545:function(e,t,r){"use strict";r.d(t,{Z:function(){return p}});var a=r(40431),n=r(46750),o=r(86006),s=r(89791),i=r(4323),l=r(51579),c=r(86601),u=r(95887),d=r(9268);let h=["className","component"];var f=r(47327),v=r(98918);let m=function(e={}){let{themeId:t,defaultTheme:r,defaultClassName:f="MuiBox-root",generateClassName:v}=e,m=(0,i.ZP)("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(l.Z),p=o.forwardRef(function(e,o){let i=(0,u.Z)(r),l=(0,c.Z)(e),{className:p,component:g="div"}=l,x=(0,n.Z)(l,h);return(0,d.jsx)(m,(0,a.Z)({as:g,ref:o,className:(0,s.Z)(p,v?v(f):f),theme:t&&i[t]||i},x))});return p}({defaultTheme:v.Z,defaultClassName:"MuiBox-root",generateClassName:f.Z.generate});var p=m},84380:function(e,t,r){Promise.resolve().then(r.bind(r,59498))},59498:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return k}});var a=r(9268),n=r(89081),o=r(78915),s=r(66487),i=r(67830),l=r(54842),c=r(70900),u=r(62414),d=r(90545),h=r(94244),f=r(33155),v=r(7354),m=r(35086),p=r(53047),g=r(86006),x=r(19700),y=r(92391),j=r(55749),w=r(70781),b=r(75403),Z=r(99398),P=r(49064),S=r(56008);let N=y.z.object({query:y.z.string().min(1)});var R=e=>{var t;let{messages:r,onSubmit:n,readOnly:o,paramsList:s,clearIntialMessage:y}=e,R=(0,S.useSearchParams)(),_=R.get("initMessage"),k=g.useRef(null),[C,O]=(0,g.useState)(!1),[E,z]=(0,g.useState)(),L=(0,x.cI)({resolver:(0,i.F)(N),defaultValues:{}}),A=async e=>{let{query:t}=e;try{console.log("submit"),O(!0),L.reset(),await n(t,{select_param:null==s?void 0:s[E]})}catch(e){}finally{O(!1)}},M=async()=>{try{let e=new URLSearchParams(window.location.search),t=e.get("initMessage");e.delete("initMessage"),window.history.replaceState(null,null,"?".concat(e.toString())),await A({query:t})}catch(e){console.log(e)}finally{null==y||y()}},T={overrides:{code:e=>{let{children:t}=e;return(0,a.jsx)(Z.Z,{language:"javascript",style:P.Z,children:t})}},wrapper:g.Fragment};return g.useEffect(()=>{k.current&&k.current.scrollTo(0,k.current.scrollHeight)},[null==r?void 0:r.length]),g.useEffect(()=>{_&&r.length<=0&&M()},[_,r.length]),g.useEffect(()=>{var e,t;s&&(null===(e=Object.keys(s||{}))||void 0===e?void 0:e.length)>0&&z(null===(t=Object.keys(s||{}))||void 0===t?void 0:t[0])},[s]),(0,a.jsx)("div",{className:"w-full h-full",children:(0,a.jsxs)(c.Z,{className:"w-full h-full bg-[#fefefe] dark:bg-[#212121]",sx:{table:{borderCollapse:"collapse",border:"1px solid #ccc",width:"100%"},"th, td":{border:"1px solid #ccc",padding:"10px",textAlign:"center"}},children:[(0,a.jsxs)(c.Z,{ref:k,direction:"column",sx:{overflowY:"auto",maxHeight:"100%",flex:1},children:[null===(t=r.filter(e=>["view","human"].includes(e.role)))||void 0===t?void 0:t.map((e,t)=>{var r;return(0,a.jsx)(c.Z,{children:(0,a.jsx)(u.Z,{size:"sm",variant:"outlined",color:"view"===e.role?"primary":"neutral",sx:t=>({background:"view"===e.role?"var(--joy-palette-primary-softBg, var(--joy-palette-primary-100, #DDF1FF))":"unset",border:"unset",borderRadius:"unset",padding:"24px 0 26px 0",lineHeight:"24px"}),children:(0,a.jsxs)(d.Z,{sx:{width:"76%",margin:"0 auto"},className:"flex flex-row",children:[(0,a.jsx)("div",{className:"mr-3 inline",children:"view"===e.role?(0,a.jsx)(w.Z,{}):(0,a.jsx)(j.Z,{})}),(0,a.jsx)("div",{className:"inline align-middle mt-0.5 max-w-full flex-1 overflow-auto",children:(0,a.jsx)(b.Z,{options:T,children:null===(r=e.context)||void 0===r?void 0:r.replaceAll("\\n","\n")})})]})})},t)}),C&&(0,a.jsx)(h.Z,{variant:"soft",color:"neutral",size:"sm",sx:{mx:"auto",my:2}})]}),!o&&(0,a.jsx)(d.Z,{className:"bg-[#fefefe] dark:bg-[#212121] before:bg-[#fefefe] before:dark:bg-[#212121]",sx:{position:"relative","&::before":{content:'" "',position:"absolute",top:"-18px",left:"0",right:"0",width:"100%",margin:"0 auto",height:"20px",filter:"blur(10px)",zIndex:2}},children:(0,a.jsxs)("form",{style:{maxWidth:"100%",width:"76%",position:"relative",display:"flex",marginTop:"auto",overflow:"visible",background:"none",justifyContent:"center",marginLeft:"auto",marginRight:"auto",flexDirection:"column",gap:"12px",paddingBottom:"58px",paddingTop:"20px"},onSubmit:e=>{e.stopPropagation(),L.handleSubmit(A)(e)},children:[Object.keys(s||{}).length>0&&(0,a.jsx)("div",{className:"flex items-center gap-3",children:(0,a.jsx)(f.Z,{value:E,onChange:(e,t)=>{z(t)},sx:{maxWidth:"100%"},children:Object.keys(s||{}).map(e=>(0,a.jsx)(v.Z,{value:e,children:e},e))})}),(0,a.jsx)(m.ZP,{className:"w-full h-12",variant:"outlined",endDecorator:(0,a.jsx)(p.ZP,{type:"submit",disabled:C,children:(0,a.jsx)(l.Z,{})}),...L.register("query")})]})})]})})},_=r(57931),k=()=>{let e=(0,S.useSearchParams)(),{refreshDialogList:t}=(0,_.Cg)(),r=e.get("id"),i=e.get("scene"),{data:l}=(0,n.Z)(async()=>await (0,o.Tk)("/v1/chat/dialogue/messages/history",{con_uid:r}),{ready:!!r,refreshDeps:[r]}),{data:c}=(0,n.Z)(async()=>await (0,o.Kw)("/v1/chat/mode/params/list?chat_mode=".concat(i)),{ready:!!i,refreshDeps:[r,i]}),{history:u,handleChatSubmit:d}=(0,s.Z)({queryAgentURL:"/v1/chat/completions",queryBody:{conv_uid:r,chat_mode:i||"chat_normal"},initHistory:null==l?void 0:l.data});return(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(R,{clearIntialMessage:async()=>{await t()},messages:u||[],onSubmit:d,paramsList:null==c?void 0:c.data})})}},57931:function(e,t,r){"use strict";r.d(t,{ZP:function(){return c},Cg:function(){return i}});var a=r(9268),n=r(89081),o=r(78915),s=r(86006);let[i,l]=function(){let e=s.createContext(void 0);return[function(){let t=s.useContext(e);if(void 0===t)throw Error("useCtx must be inside a Provider with a value");return t},e.Provider]}();var c=e=>{let{children:t}=e,{run:r,data:s,refresh:i}=(0,n.Z)(async()=>await (0,o.Tk)("/v1/chat/dialogue/list"),{manual:!0});return(0,a.jsx)(l,{value:{dialogueList:s,queryDialogueList:r,refreshDialogList:i},children:t})}},66487:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var a=r(71990),n=r(86006),o=e=>{let t=(0,n.useReducer)((e,t)=>({...e,...t}),{...e});return t},s=r(57931),i=r(52040),l=e=>{let{queryAgentURL:t,channel:r,queryBody:l,initHistory:c}=e,[u,d]=o({history:c||[]}),{refreshDialogList:h}=(0,s.Cg)();(0,n.useEffect)(()=>{c&&d({history:c})},[c]);let f=async(e,n)=>{if(!e)return;let o=[...u.history,{role:"human",context:e}],s=o.length;d({history:o});try{let c=new AbortController;await (0,a.L)("".concat(i.env.API_BASE_URL?i.env.API_BASE_URL:"").concat("/api"+t),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({...n,...l,user_input:e,channel:r}),signal:c.signal,async onopen(e){if(o.length<=1){h();let e=new URLSearchParams(window.location.search);e.delete("initMessage"),window.history.replaceState(null,null,"?".concat(e.toString()))}(!e.ok||e.headers.get("content-type")!==a.a)&&e.status>=400&&e.status<500&&429!==e.status&&e.status},onclose(){console.log("onclose")},onerror(e){throw Error(e)},onmessage:e=>{var t;if(console.log(e,"e"),e.data=e.data.replaceAll("\\n","\n"),"[DONE]"===e.data)c.abort();else if(null===(t=e.data)||void 0===t?void 0:t.startsWith("[ERROR]"))c.abort(),d({history:[...o,{role:"view",context:e.data.replace("[ERROR]","")}]});else{let t=[...o];e.data&&((null==t?void 0:t[s])?t[s].context="".concat(e.data):t.push({role:"view",context:e.data}),d({history:t}))}}})}catch(e){console.log("---e",e),d({history:[...o,{role:"view",context:"请求出错"}]})}};return{handleChatSubmit:f,history:u.history}}},78915:function(e,t,r){"use strict";r.d(t,{Tk:function(){return u},Kw:function(){return d},PR:function(){return h},Ej:function(){return f}});var a=r(21628),n=r(24214),o=r(52040);let s=n.Z.create({baseURL:o.env.API_BASE_URL});s.defaults.timeout=1e4,s.interceptors.response.use(e=>e.data,e=>Promise.reject(e));var i=r(84835);let l={"content-type":"application/json"},c=e=>{if(!(0,i.isPlainObject)(e))return JSON.stringify(e);let t={...e};for(let e in t){let r=t[e];"string"==typeof r&&(t[e]=r.trim())}return JSON.stringify(t)},u=(e,t)=>{if(t){let r=Object.keys(t).filter(e=>void 0!==t[e]&&""!==t[e]).map(e=>"".concat(e,"=").concat(t[e])).join("&");r&&(e+="?".concat(r))}return s.get("/api"+e,{headers:l}).then(e=>e).catch(e=>{a.ZP.error(e),Promise.reject(e)})},d=(e,t)=>{let r=c(t);return s.post("/api"+e,{body:r,headers:l}).then(e=>e).catch(e=>{a.ZP.error(e),Promise.reject(e)})},h=(e,t)=>{let r=c(t);return s.post(e,{body:r,headers:l}).then(e=>e).catch(e=>{a.ZP.error(e),Promise.reject(e)})},f=(e,t)=>s.post(e,{body:t}).then(e=>e).catch(e=>{a.ZP.error(e),Promise.reject(e)})},56008:function(e,t,r){e.exports=r(30794)}},function(e){e.O(0,[180,106,685,86,316,259,751,662,253,769,744],function(){return e(e.s=84380)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/app/datastores/documents/chunklist/page-72f7f9cb769de003.js b/pilot/server/static/_next/static/chunks/app/datastores/documents/chunklist/page-72f7f9cb769de003.js deleted file mode 100644 index 27353056f..000000000 --- a/pilot/server/static/_next/static/chunks/app/datastores/documents/chunklist/page-72f7f9cb769de003.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[538],{55254:function(e,t,n){Promise.resolve().then(n.bind(n,26257))},26257:function(e,t,n){"use strict";n.r(t);var a=n(9268),i=n(56008),s=n(86006),r=n(78635),c=n(70900),o=n(44334),d=n(311),l=n(22046),h=n(83192),u=n(23910),g=n(1031),x=n(52040);t.default=()=>{let e=(0,i.useRouter)(),{mode:t}=(0,r.tv)(),n=(0,i.useSearchParams)().get("spacename"),j=(0,i.useSearchParams)().get("documentid"),[m,p]=(0,s.useState)(0),[f,S]=(0,s.useState)(0),[_,y]=(0,s.useState)([]);return(0,s.useEffect)(()=>{(async function(){let e=await fetch("".concat(x.env.API_BASE_URL,"/knowledge/").concat(n,"/chunk/list"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({document_id:j,page:1,page_size:20})}),t=await e.json();t.success&&(y(t.data.data),p(t.data.total),S(t.data.page))})()},[]),(0,a.jsxs)("div",{className:"p-4",children:[(0,a.jsx)(c.Z,{direction:"row",justifyContent:"flex-start",alignItems:"center",sx:{marginBottom:"20px"},children:(0,a.jsxs)(o.Z,{"aria-label":"breadcrumbs",children:[(0,a.jsx)(d.Z,{onClick:()=>{e.push("/datastores")},underline:"hover",color:"neutral",fontSize:"inherit",children:"Knowledge Space"},"Knowledge Space"),(0,a.jsx)(d.Z,{onClick:()=>{e.push("/datastores/documents?name=".concat(n))},underline:"hover",color:"neutral",fontSize:"inherit",children:"Documents"},"Knowledge Space"),(0,a.jsx)(l.ZP,{fontSize:"inherit",children:"Chunks"})]})}),(0,a.jsx)("div",{className:"p-4",children:_.length?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(h.Z,{color:"primary",variant:"plain",size:"lg",sx:{"& tbody tr: hover":{backgroundColor:"light"===t?"rgb(246, 246, 246)":"rgb(33, 33, 40)"},"& tbody tr: hover a":{textDecoration:"underline"}},children:[(0,a.jsx)("thead",{children:(0,a.jsxs)("tr",{children:[(0,a.jsx)("th",{children:"Name"}),(0,a.jsx)("th",{children:"Content"}),(0,a.jsx)("th",{children:"Meta Data"})]})}),(0,a.jsx)("tbody",{children:_.map(e=>(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:e.doc_name}),(0,a.jsx)("td",{children:(0,a.jsx)(u.Z,{content:e.content,trigger:"hover",children:e.content.length>10?"".concat(e.content.slice(0,10),"..."):e.content})}),(0,a.jsx)("td",{children:(0,a.jsx)(u.Z,{content:JSON.stringify(e.meta_info||"{}",null,2),trigger:"hover",children:e.meta_info.length>10?"".concat(e.meta_info.slice(0,10),"..."):e.meta_info})})]},e.id))})]}),(0,a.jsx)(c.Z,{direction:"row",justifyContent:"flex-end",sx:{marginTop:"20px"},children:(0,a.jsx)(g.Z,{defaultPageSize:20,showSizeChanger:!1,current:f,total:m,onChange:async e=>{let t=await fetch("".concat(x.env.API_BASE_URL,"/knowledge/").concat(n,"/chunk/list"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({document_id:j,page:e,page_size:20})}),a=await t.json();a.success&&(y(a.data.data),p(a.data.total),S(a.data.page))},hideOnSinglePage:!0})})]}):(0,a.jsx)(a.Fragment,{})})]})}}},function(e){e.O(0,[797,693,118,440,55,253,769,744],function(){return e(e.s=55254)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/app/datastores/documents/chunklist/page-67ac3c5d8991ac73.js b/pilot/server/static/_next/static/chunks/app/datastores/documents/chunklist/page-eff0493e5a094c84.js similarity index 65% rename from pilot/server/static/_next/static/chunks/app/datastores/documents/chunklist/page-67ac3c5d8991ac73.js rename to pilot/server/static/_next/static/chunks/app/datastores/documents/chunklist/page-eff0493e5a094c84.js index 5e4a274ad..44607ed4a 100644 --- a/pilot/server/static/_next/static/chunks/app/datastores/documents/chunklist/page-67ac3c5d8991ac73.js +++ b/pilot/server/static/_next/static/chunks/app/datastores/documents/chunklist/page-eff0493e5a094c84.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[538],{55254:function(e,t,n){Promise.resolve().then(n.bind(n,26257))},26257:function(e,t,n){"use strict";n.r(t);var r=n(9268),a=n(56008),i=n(86006),c=n(78635),s=n(70900),o=n(44334),l=n(311),d=n(22046),h=n(83192),u=n(23910),g=n(1031),f=n(78915);t.default=()=>{let e=(0,a.useRouter)(),{mode:t}=(0,c.tv)(),n=(0,a.useSearchParams)().get("spacename"),j=(0,a.useSearchParams)().get("documentid"),[m,p]=(0,i.useState)(0),[x,P]=(0,i.useState)(0),[b,y]=(0,i.useState)([]);return(0,i.useEffect)(()=>{(async function(){let e=await (0,f.PR)("/knowledge/".concat(n,"/chunk/list"),{document_id:j,page:1,page_size:20});e.success&&(y(e.data.data),p(e.data.total),P(e.data.page))})()},[]),(0,r.jsxs)("div",{className:"p-4",children:[(0,r.jsx)(s.Z,{direction:"row",justifyContent:"flex-start",alignItems:"center",sx:{marginBottom:"20px"},children:(0,r.jsxs)(o.Z,{"aria-label":"breadcrumbs",children:[(0,r.jsx)(l.Z,{onClick:()=>{e.push("/datastores")},underline:"hover",color:"neutral",fontSize:"inherit",children:"Knowledge Space"},"Knowledge Space"),(0,r.jsx)(l.Z,{onClick:()=>{e.push("/datastores/documents?name=".concat(n))},underline:"hover",color:"neutral",fontSize:"inherit",children:"Documents"},"Knowledge Space"),(0,r.jsx)(d.ZP,{fontSize:"inherit",children:"Chunks"})]})}),(0,r.jsx)("div",{className:"p-4",children:b.length?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(h.Z,{color:"primary",variant:"plain",size:"lg",sx:{"& tbody tr: hover":{backgroundColor:"light"===t?"rgb(246, 246, 246)":"rgb(33, 33, 40)"},"& tbody tr: hover a":{textDecoration:"underline"}},children:[(0,r.jsx)("thead",{children:(0,r.jsxs)("tr",{children:[(0,r.jsx)("th",{children:"Name"}),(0,r.jsx)("th",{children:"Content"}),(0,r.jsx)("th",{children:"Meta Data"})]})}),(0,r.jsx)("tbody",{children:b.map(e=>(0,r.jsxs)("tr",{children:[(0,r.jsx)("td",{children:e.doc_name}),(0,r.jsx)("td",{children:(0,r.jsx)(u.Z,{content:e.content,trigger:"hover",children:e.content.length>10?"".concat(e.content.slice(0,10),"..."):e.content})}),(0,r.jsx)("td",{children:(0,r.jsx)(u.Z,{content:JSON.stringify(e.meta_info||"{}",null,2),trigger:"hover",children:e.meta_info.length>10?"".concat(e.meta_info.slice(0,10),"..."):e.meta_info})})]},e.id))})]}),(0,r.jsx)(s.Z,{direction:"row",justifyContent:"flex-end",sx:{marginTop:"20px"},children:(0,r.jsx)(g.Z,{defaultPageSize:20,showSizeChanger:!1,current:x,total:m,onChange:async e=>{let t=await (0,f.PR)("/knowledge/".concat(n,"/chunk/list"),{document_id:j,page:e,page_size:20});t.success&&(y(t.data.data),p(t.data.total),P(t.data.page))},hideOnSinglePage:!0})})]}):(0,r.jsx)(r.Fragment,{})})]})}},78915:function(e,t,n){"use strict";n.d(t,{Tk:function(){return l},Kw:function(){return d},PR:function(){return h},Ej:function(){return u}});var r=n(21628),a=n(24214);let i=a.Z.create({baseURL:"http://127.0.0.1:5000"});i.defaults.timeout=1e4,i.interceptors.response.use(e=>e.data,e=>Promise.reject(e));var c=n(84835);let s={"content-type":"application/json"},o=e=>{if(!(0,c.isPlainObject)(e))return JSON.stringify(e);let t={...e};for(let e in t){let n=t[e];"string"==typeof n&&(t[e]=n.trim())}return JSON.stringify(t)},l=(e,t)=>{if(t){let n=Object.keys(t).filter(e=>void 0!==t[e]&&""!==t[e]).map(e=>"".concat(e,"=").concat(t[e])).join("&");n&&(e+="?".concat(n))}return i.get("/api"+e,{headers:s}).then(e=>e).catch(e=>{r.ZP.error(e),Promise.reject(e)})},d=(e,t)=>{let n=o(t);return i.post("/api"+e,{body:n,headers:s}).then(e=>e).catch(e=>{r.ZP.error(e),Promise.reject(e)})},h=(e,t)=>{let n=o(t);return i.post(e,{body:n,headers:s}).then(e=>e).catch(e=>{r.ZP.error(e),Promise.reject(e)})},u=(e,t)=>i.post(e,{body:t}).then(e=>e).catch(e=>{r.ZP.error(e),Promise.reject(e)})}},function(e){e.O(0,[180,752,693,118,440,55,253,769,744],function(){return e(e.s=55254)}),_N_E=e.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[538],{55254:function(e,t,n){Promise.resolve().then(n.bind(n,26257))},26257:function(e,t,n){"use strict";n.r(t);var r=n(9268),a=n(56008),i=n(86006),c=n(78635),s=n(70900),o=n(44334),l=n(311),d=n(22046),h=n(83192),u=n(23910),g=n(1031),f=n(78915);t.default=()=>{let e=(0,a.useRouter)(),{mode:t}=(0,c.tv)(),n=(0,a.useSearchParams)().get("spacename"),j=(0,a.useSearchParams)().get("documentid"),[m,p]=(0,i.useState)(0),[x,P]=(0,i.useState)(0),[b,S]=(0,i.useState)([]);return(0,i.useEffect)(()=>{(async function(){let e=await (0,f.PR)("/knowledge/".concat(n,"/chunk/list"),{document_id:j,page:1,page_size:20});e.success&&(S(e.data.data),p(e.data.total),P(e.data.page))})()},[]),(0,r.jsxs)("div",{className:"p-4",children:[(0,r.jsx)(s.Z,{direction:"row",justifyContent:"flex-start",alignItems:"center",sx:{marginBottom:"20px"},children:(0,r.jsxs)(o.Z,{"aria-label":"breadcrumbs",children:[(0,r.jsx)(l.Z,{onClick:()=>{e.push("/datastores")},underline:"hover",color:"neutral",fontSize:"inherit",children:"Knowledge Space"},"Knowledge Space"),(0,r.jsx)(l.Z,{onClick:()=>{e.push("/datastores/documents?name=".concat(n))},underline:"hover",color:"neutral",fontSize:"inherit",children:"Documents"},"Knowledge Space"),(0,r.jsx)(d.ZP,{fontSize:"inherit",children:"Chunks"})]})}),(0,r.jsx)("div",{className:"p-4",children:b.length?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(h.Z,{color:"primary",variant:"plain",size:"lg",sx:{"& tbody tr: hover":{backgroundColor:"light"===t?"rgb(246, 246, 246)":"rgb(33, 33, 40)"},"& tbody tr: hover a":{textDecoration:"underline"}},children:[(0,r.jsx)("thead",{children:(0,r.jsxs)("tr",{children:[(0,r.jsx)("th",{children:"Name"}),(0,r.jsx)("th",{children:"Content"}),(0,r.jsx)("th",{children:"Meta Data"})]})}),(0,r.jsx)("tbody",{children:b.map(e=>(0,r.jsxs)("tr",{children:[(0,r.jsx)("td",{children:e.doc_name}),(0,r.jsx)("td",{children:(0,r.jsx)(u.Z,{content:e.content,trigger:"hover",children:e.content.length>10?"".concat(e.content.slice(0,10),"..."):e.content})}),(0,r.jsx)("td",{children:(0,r.jsx)(u.Z,{content:JSON.stringify(e.meta_info||"{}",null,2),trigger:"hover",children:e.meta_info.length>10?"".concat(e.meta_info.slice(0,10),"..."):e.meta_info})})]},e.id))})]}),(0,r.jsx)(s.Z,{direction:"row",justifyContent:"flex-end",sx:{marginTop:"20px"},children:(0,r.jsx)(g.Z,{defaultPageSize:20,showSizeChanger:!1,current:x,total:m,onChange:async e=>{let t=await (0,f.PR)("/knowledge/".concat(n,"/chunk/list"),{document_id:j,page:e,page_size:20});t.success&&(S(t.data.data),p(t.data.total),P(t.data.page))},hideOnSinglePage:!0})})]}):(0,r.jsx)(r.Fragment,{})})]})}},78915:function(e,t,n){"use strict";n.d(t,{Tk:function(){return d},Kw:function(){return h},PR:function(){return u},Ej:function(){return g}});var r=n(21628),a=n(24214),i=n(52040);let c=a.Z.create({baseURL:i.env.API_BASE_URL});c.defaults.timeout=1e4,c.interceptors.response.use(e=>e.data,e=>Promise.reject(e));var s=n(84835);let o={"content-type":"application/json"},l=e=>{if(!(0,s.isPlainObject)(e))return JSON.stringify(e);let t={...e};for(let e in t){let n=t[e];"string"==typeof n&&(t[e]=n.trim())}return JSON.stringify(t)},d=(e,t)=>{if(t){let n=Object.keys(t).filter(e=>void 0!==t[e]&&""!==t[e]).map(e=>"".concat(e,"=").concat(t[e])).join("&");n&&(e+="?".concat(n))}return c.get("/api"+e,{headers:o}).then(e=>e).catch(e=>{r.ZP.error(e),Promise.reject(e)})},h=(e,t)=>{let n=l(t);return c.post("/api"+e,{body:n,headers:o}).then(e=>e).catch(e=>{r.ZP.error(e),Promise.reject(e)})},u=(e,t)=>{let n=l(t);return c.post(e,{body:n,headers:o}).then(e=>e).catch(e=>{r.ZP.error(e),Promise.reject(e)})},g=(e,t)=>c.post(e,{body:t}).then(e=>e).catch(e=>{r.ZP.error(e),Promise.reject(e)})}},function(e){e.O(0,[180,106,693,118,440,55,253,769,744],function(){return e(e.s=55254)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/app/datastores/documents/page-ac346836cec778e6.js b/pilot/server/static/_next/static/chunks/app/datastores/documents/page-aade80c3f0e3294d.js similarity index 86% rename from pilot/server/static/_next/static/chunks/app/datastores/documents/page-ac346836cec778e6.js rename to pilot/server/static/_next/static/chunks/app/datastores/documents/page-aade80c3f0e3294d.js index 4fda859cd..3a00e0b23 100644 --- a/pilot/server/static/_next/static/chunks/app/datastores/documents/page-ac346836cec778e6.js +++ b/pilot/server/static/_next/static/chunks/app/datastores/documents/page-aade80c3f0e3294d.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[470],{78141:function(e,t,i){"use strict";var a=i(78997);t.Z=void 0;var r=a(i(76906)),n=i(9268),o=(0,r.default)((0,n.jsx)("path",{d:"m19 8-4 4h3c0 3.31-2.69 6-6 6-1.01 0-1.97-.25-2.8-.7l-1.46 1.46C8.97 19.54 10.43 20 12 20c4.42 0 8-3.58 8-8h3l-4-4zM6 12c0-3.31 2.69-6 6-6 1.01 0 1.97.25 2.8.7l1.46-1.46C15.03 4.46 13.57 4 12 4c-4.42 0-8 3.58-8 8H1l4 4 4-4H6z"}),"Cached");t.Z=o},22199:function(e,t,i){Promise.resolve().then(i.bind(i,16692))},16692:function(e,t,i){"use strict";i.r(t),i.d(t,{default:function(){return ei}});var a=i(9268),r=i(56008),n=i(86006),o=i(50645),s=i(5737),l=i(78635),c=i(70900),d=i(44334),h=i(311),p=i(22046),u=i(53113),g=i(83192),m=i(46750),x=i(40431),v=i(89791),f=i(47562),C=i(46319),b=i(53832),j=i(49657),Z=i(88930),y=i(47093),P=i(18587);function S(e){return(0,P.d6)("MuiChip",e)}let w=(0,P.sI)("MuiChip",["root","clickable","colorPrimary","colorNeutral","colorDanger","colorInfo","colorSuccess","colorWarning","colorContext","disabled","endDecorator","focusVisible","label","labelSm","labelMd","labelLg","sizeSm","sizeMd","sizeLg","startDecorator","variantPlain","variantSolid","variantSoft","variantOutlined"]),_=n.createContext({disabled:void 0,variant:void 0,color:void 0});var k=i(326);let z=["children","className","color","slotProps","onClick","disabled","size","variant","startDecorator","endDecorator"],D=e=>{let{disabled:t,size:i,color:a,clickable:r,variant:n,focusVisible:o}=e,s={root:["root",t&&"disabled",a&&`color${(0,b.Z)(a)}`,i&&`size${(0,b.Z)(i)}`,n&&`variant${(0,b.Z)(n)}`,r&&"clickable"],action:["action",t&&"disabled",o&&"focusVisible"],label:["label",i&&`label${(0,b.Z)(i)}`],startDecorator:["startDecorator"],endDecorator:["endDecorator"]};return(0,f.Z)(s,S,{})},R=(0,o.Z)("div",{name:"JoyChip",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e,ownerState:t})=>{var i,a,r,n,o,s;return[(0,x.Z)({"--Chip-decoratorChildOffset":"min(calc(var(--Chip-paddingInline) - (var(--_Chip-minHeight) - 2 * var(--variant-borderWidth, 0px) - var(--Chip-decoratorChildHeight)) / 2), var(--Chip-paddingInline))","--Chip-decoratorChildRadius":"max(var(--_Chip-radius) - var(--variant-borderWidth, 0px) - var(--_Chip-paddingBlock), min(var(--_Chip-paddingBlock) + var(--variant-borderWidth, 0px), var(--_Chip-radius) / 2))","--Chip-deleteRadius":"var(--Chip-decoratorChildRadius)","--Chip-deleteSize":"var(--Chip-decoratorChildHeight)","--Avatar-radius":"var(--Chip-decoratorChildRadius)","--Avatar-size":"var(--Chip-decoratorChildHeight)","--Icon-margin":"initial","--unstable_actionRadius":"var(--_Chip-radius)"},"sm"===t.size&&{"--Chip-gap":"0.25rem","--Chip-paddingInline":"0.5rem","--Chip-decoratorChildHeight":"calc(min(1.125rem, var(--_Chip-minHeight)) - 2 * var(--variant-borderWidth, 0px))","--Icon-fontSize":"calc(var(--_Chip-minHeight) / 1.714)","--_Chip-minHeight":"var(--Chip-minHeight, 1.5rem)",fontSize:e.vars.fontSize.xs},"md"===t.size&&{"--Chip-gap":"0.375rem","--Chip-paddingInline":"0.75rem","--Chip-decoratorChildHeight":"min(1.375rem, var(--_Chip-minHeight))","--Icon-fontSize":"calc(var(--_Chip-minHeight) / 1.778)","--_Chip-minHeight":"var(--Chip-minHeight, 2rem)",fontSize:e.vars.fontSize.sm},"lg"===t.size&&{"--Chip-gap":"0.5rem","--Chip-paddingInline":"1rem","--Chip-decoratorChildHeight":"min(1.75rem, var(--_Chip-minHeight))","--Icon-fontSize":"calc(var(--_Chip-minHeight) / 2)","--_Chip-minHeight":"var(--Chip-minHeight, 2.5rem)",fontSize:e.vars.fontSize.md},{"--_Chip-radius":"var(--Chip-radius, 1.5rem)","--_Chip-paddingBlock":"max((var(--_Chip-minHeight) - 2 * var(--variant-borderWidth, 0px) - var(--Chip-decoratorChildHeight)) / 2, 0px)",minHeight:"var(--_Chip-minHeight)",paddingInline:"var(--Chip-paddingInline)",borderRadius:"var(--_Chip-radius)",position:"relative",fontWeight:e.vars.fontWeight.md,fontFamily:e.vars.fontFamily.body,display:"inline-flex",alignItems:"center",justifyContent:"center",whiteSpace:"nowrap",textDecoration:"none",verticalAlign:"middle",boxSizing:"border-box",[`&.${w.disabled}`]:{color:null==(i=e.variants[`${t.variant}Disabled`])?void 0:null==(a=i[t.color])?void 0:a.color}}),...t.clickable?[{"--variant-borderWidth":"0px",color:null==(o=e.variants[t.variant])?void 0:null==(s=o[t.color])?void 0:s.color}]:[null==(r=e.variants[t.variant])?void 0:r[t.color],{[`&.${w.disabled}`]:null==(n=e.variants[`${t.variant}Disabled`])?void 0:n[t.color]}]]}),I=(0,o.Z)("span",{name:"JoyChip",slot:"Label",overridesResolver:(e,t)=>t.label})(({ownerState:e})=>(0,x.Z)({display:"inline-block",overflow:"hidden",textOverflow:"ellipsis",order:1,minInlineSize:0,flexGrow:1},e.clickable&&{zIndex:1,pointerEvents:"none"})),H=(0,o.Z)("button",{name:"JoyChip",slot:"Action",overridesResolver:(e,t)=>t.action})(({theme:e,ownerState:t})=>{var i,a,r,n;return[{position:"absolute",zIndex:0,top:0,left:0,bottom:0,right:0,border:"none",cursor:"pointer",padding:"initial",margin:"initial",backgroundColor:"initial",textDecoration:"none",borderRadius:"inherit",[e.focus.selector]:e.focus.default},null==(i=e.variants[t.variant])?void 0:i[t.color],{"&:hover":null==(a=e.variants[`${t.variant}Hover`])?void 0:a[t.color]},{"&:active":null==(r=e.variants[`${t.variant}Active`])?void 0:r[t.color]},{[`&.${w.disabled}`]:null==(n=e.variants[`${t.variant}Disabled`])?void 0:n[t.color]}]}),N=(0,o.Z)("span",{name:"JoyChip",slot:"StartDecorator",overridesResolver:(e,t)=>t.startDecorator})({"--Avatar-marginInlineStart":"calc(var(--Chip-decoratorChildOffset) * -1)","--Chip-deleteMargin":"0 0 0 calc(var(--Chip-decoratorChildOffset) * -1)","--Icon-margin":"0 0 0 calc(var(--Chip-paddingInline) / -4)",display:"inherit",marginInlineEnd:"var(--Chip-gap)",order:0,zIndex:1,pointerEvents:"none"}),F=(0,o.Z)("span",{name:"JoyChip",slot:"EndDecorator",overridesResolver:(e,t)=>t.endDecorator})({"--Chip-deleteMargin":"0 calc(var(--Chip-decoratorChildOffset) * -1) 0 0","--Icon-margin":"0 calc(var(--Chip-paddingInline) / -4) 0 0",display:"inherit",marginInlineStart:"var(--Chip-gap)",order:2,zIndex:1,pointerEvents:"none"}),T=n.forwardRef(function(e,t){let i=(0,Z.Z)({props:e,name:"JoyChip"}),{children:r,className:o,color:s="primary",slotProps:l={},onClick:c,disabled:d=!1,size:h="md",variant:p="solid",startDecorator:u,endDecorator:g}=i,f=(0,m.Z)(i,z),{getColor:b}=(0,y.VT)(p),P=b(e.color,s),S=!!c||!!l.action,w=(0,x.Z)({},i,{disabled:d,size:h,color:P,variant:p,clickable:S,focusVisible:!1}),T="function"==typeof l.action?l.action(w):l.action,O=n.useRef(null),{focusVisible:E,getRootProps:W}=(0,C.Z)((0,x.Z)({},T,{disabled:d,ref:O}));w.focusVisible=E;let M=D(w),L=(0,x.Z)({},f,{slotProps:l}),[A,U]=(0,k.Z)("root",{ref:t,className:(0,v.Z)(M.root,o),elementType:R,externalForwardedProps:L,ownerState:w}),[$,B]=(0,k.Z)("label",{className:M.label,elementType:I,externalForwardedProps:L,ownerState:w}),J=(0,j.Z)(B.id),[V,Y]=(0,k.Z)("action",{className:M.action,elementType:H,externalForwardedProps:L,ownerState:w,getSlotProps:W,additionalProps:{"aria-labelledby":J,as:null==T?void 0:T.component,onClick:c}}),[G,K]=(0,k.Z)("startDecorator",{className:M.startDecorator,elementType:N,externalForwardedProps:L,ownerState:w}),[X,q]=(0,k.Z)("endDecorator",{className:M.endDecorator,elementType:F,externalForwardedProps:L,ownerState:w}),Q=n.useMemo(()=>({disabled:d,variant:p,color:"context"===P?void 0:P}),[P,d,p]);return(0,a.jsx)(_.Provider,{value:Q,children:(0,a.jsxs)(A,(0,x.Z)({},U,{children:[S&&(0,a.jsx)(V,(0,x.Z)({},Y)),(0,a.jsx)($,(0,x.Z)({},B,{id:J,children:r})),u&&(0,a.jsx)(G,(0,x.Z)({},K,{children:u})),g&&(0,a.jsx)(X,(0,x.Z)({},q,{children:g}))]}))})});var O=i(11437),E=i(90545),W=i(35086),M=i(866),L=i(28086),A=i(65326),U=i.n(A),$=i(72474),B=i(59534),J=i(78141),V=i(50157),Y=i(23910),G=i(21628),K=i(1031),X=i(78915);let{Dragger:q}=V.default,Q=(0,o.Z)(s.Z)(e=>{let{theme:t}=e;return{width:"50%",backgroundColor:"dark"===t.palette.mode?t.palette.background.level1:"#fff",...t.typography.body2,padding:t.spacing(1),textAlign:"center",borderRadius:4,color:t.vars.palette.text.secondary}}),ee=["Choose a Datasource type","Setup the Datasource"],et=[{type:"text",title:"Text",subTitle:"Fill your raw text"},{type:"webPage",title:"URL",subTitle:"Fetch the content of a URL"},{type:"file",title:"Document",subTitle:"Upload a document, document type can be PDF, CSV, Text, PowerPoint, Word, Markdown"}];var ei=()=>{let e=(0,r.useRouter)(),t=(0,r.useSearchParams)().get("name"),{mode:i}=(0,l.tv)(),[o,m]=(0,n.useState)(!1),[x,v]=(0,n.useState)(0),[f,C]=(0,n.useState)(""),[b,j]=(0,n.useState)([]),[Z,y]=(0,n.useState)(""),[P,S]=(0,n.useState)(""),[w,_]=(0,n.useState)(""),[k,z]=(0,n.useState)(""),[D,R]=(0,n.useState)(null),[I,H]=(0,n.useState)(0),[N,F]=(0,n.useState)(0),[A,V]=(0,n.useState)(!0);return(0,n.useEffect)(()=>{(async function(){let e=await (0,X.PR)("/knowledge/".concat(t,"/document/list"),{page:1,page_size:20});e.success&&(j(e.data.data),H(e.data.total),F(e.data.page))})()},[]),(0,a.jsxs)("div",{className:"p-4",children:[(0,a.jsxs)(c.Z,{direction:"row",justifyContent:"space-between",alignItems:"center",sx:{marginBottom:"20px"},children:[(0,a.jsxs)(d.Z,{"aria-label":"breadcrumbs",children:[(0,a.jsx)(h.Z,{onClick:()=>{e.push("/datastores")},underline:"hover",color:"neutral",fontSize:"inherit",children:"Knowledge Space"},"Knowledge Space"),(0,a.jsx)(p.ZP,{fontSize:"inherit",children:"Documents"})]}),(0,a.jsx)(u.Z,{variant:"outlined",onClick:()=>m(!0),children:"+ Add Datasource"})]}),b.length?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(g.Z,{color:"primary",variant:"plain",size:"lg",sx:{"& tbody tr: hover":{backgroundColor:"light"===i?"rgb(246, 246, 246)":"rgb(33, 33, 40)"},"& tbody tr: hover a":{textDecoration:"underline"}},children:[(0,a.jsx)("thead",{children:(0,a.jsxs)("tr",{children:[(0,a.jsx)("th",{children:"Name"}),(0,a.jsx)("th",{children:"Type"}),(0,a.jsx)("th",{children:"Size"}),(0,a.jsx)("th",{children:"Last Synch"}),(0,a.jsx)("th",{children:"Status"}),(0,a.jsx)("th",{children:"Result"}),(0,a.jsx)("th",{children:"Operation"})]})}),(0,a.jsx)("tbody",{children:b.map(i=>(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:i.doc_name}),(0,a.jsx)("td",{children:(0,a.jsx)(T,{variant:"solid",color:"neutral",sx:{opacity:.5},children:i.doc_type})}),(0,a.jsxs)("td",{children:[i.chunk_size," chunks"]}),(0,a.jsx)("td",{children:U()(i.last_sync).format("YYYY-MM-DD HH:MM:SS")}),(0,a.jsx)("td",{children:(0,a.jsx)(T,{sx:{opacity:.5},variant:"solid",color:function(){switch(i.status){case"TODO":return"neutral";case"RUNNING":return"primary";case"FINISHED":return"success";case"FAILED":return"danger"}}(),children:i.status})}),(0,a.jsx)("td",{children:"TODO"===i.status||"RUNNING"===i.status?"":"FINISHED"===i.status?(0,a.jsx)(Y.Z,{content:i.result,trigger:"hover",children:(0,a.jsx)(T,{variant:"solid",color:"success",sx:{opacity:.5},children:"SUCCESS"})}):(0,a.jsx)(Y.Z,{content:i.result,trigger:"hover",children:(0,a.jsx)(T,{variant:"solid",color:"danger",sx:{opacity:.5},children:"FAILED"})})}),(0,a.jsx)("td",{children:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(u.Z,{variant:"outlined",size:"sm",sx:{marginRight:"20px"},onClick:async()=>{let e=await (0,X.PR)("/knowledge/".concat(t,"/document/sync"),{doc_ids:[i.id]});e.success?G.ZP.success("success"):G.ZP.error(e.err_msg||"failed")},children:["Synch",(0,a.jsx)(J.Z,{})]}),(0,a.jsx)(u.Z,{variant:"outlined",size:"sm",onClick:()=>{e.push("/datastores/documents/chunklist?spacename=".concat(t,"&documentid=").concat(i.id))},children:"Details"})]})})]},i.id))})]}),(0,a.jsx)(c.Z,{direction:"row",justifyContent:"flex-end",sx:{marginTop:"20px"},children:(0,a.jsx)(K.Z,{defaultPageSize:20,showSizeChanger:!1,current:N,total:I,onChange:async e=>{let i=await (0,X.PR)("/knowledge/".concat(t,"/document/list"),{page:e,page_size:20});i.success&&(j(i.data.data),H(i.data.total),F(i.data.page))},hideOnSinglePage:!0})})]}):(0,a.jsx)(a.Fragment,{}),(0,a.jsx)(O.Z,{sx:{display:"flex",justifyContent:"center",alignItems:"center","z-index":1e3},open:o,onClose:()=>m(!1),children:(0,a.jsxs)(s.Z,{variant:"outlined",sx:{width:800,borderRadius:"md",p:3,boxShadow:"lg"},children:[(0,a.jsx)(E.Z,{sx:{width:"100%"},children:(0,a.jsx)(c.Z,{spacing:2,direction:"row",children:ee.map((e,t)=>(0,a.jsxs)(Q,{sx:{fontWeight:x===t?"bold":"",color:x===t?"#2AA3FF":""},children:[t(0,a.jsxs)(s.Z,{sx:{boxSizing:"border-box",height:"80px",padding:"12px",display:"flex",flexDirection:"column",justifyContent:"space-between",border:"1px solid gray",borderRadius:"6px",marginBottom:"20px",cursor:"pointer"},onClick:()=>{C(e.type),v(1)},children:[(0,a.jsx)(s.Z,{sx:{fontSize:"20px",fontWeight:"bold"},children:e.title}),(0,a.jsx)(s.Z,{children:e.subTitle})]},e.type))})}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(E.Z,{sx:{margin:"30px auto"},children:["Name:",(0,a.jsx)(W.ZP,{placeholder:"Please input the name",onChange:e=>S(e.target.value),sx:{marginBottom:"20px"}}),"webPage"===f?(0,a.jsxs)(a.Fragment,{children:["Web Page URL:",(0,a.jsx)(W.ZP,{placeholder:"Please input the Web Page URL",onChange:e=>y(e.target.value)})]}):"file"===f?(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)(q,{name:"file",multiple:!1,onChange(e){var t;if(console.log(e),0===e.fileList.length){R(null),S("");return}R(e.file.originFileObj),S(null===(t=e.file.originFileObj)||void 0===t?void 0:t.name)},children:[(0,a.jsx)("p",{className:"ant-upload-drag-icon",children:(0,a.jsx)($.Z,{})}),(0,a.jsx)("p",{style:{color:"rgb(22, 108, 255)",fontSize:"20px"},children:"Select or Drop file"}),(0,a.jsx)("p",{className:"ant-upload-hint",style:{color:"rgb(22, 108, 255)"},children:"PDF, PowerPoint, Excel, Word, Text, Markdown,"})]})}):(0,a.jsxs)(a.Fragment,{children:["Text Source(Optional):",(0,a.jsx)(W.ZP,{placeholder:"Please input the text source",onChange:e=>_(e.target.value),sx:{marginBottom:"20px"}}),"Text:",(0,a.jsx)(M.Z,{onChange:e=>z(e.target.value),minRows:4,sx:{marginBottom:"20px"}})]}),(0,a.jsx)(p.ZP,{component:"label",sx:{marginTop:"20px"},endDecorator:(0,a.jsx)(L.Z,{checked:A,onChange:e=>V(e.target.checked)}),children:"Synch:"})]}),(0,a.jsxs)(c.Z,{direction:"row",justifyContent:"flex-start",alignItems:"center",sx:{marginBottom:"20px"},children:[(0,a.jsx)(u.Z,{variant:"outlined",sx:{marginRight:"20px"},onClick:()=>v(0),children:"< Back"}),(0,a.jsx)(u.Z,{variant:"outlined",onClick:async()=>{if(""===P){G.ZP.error("Please input the name");return}if("webPage"===f){if(""===Z){G.ZP.error("Please input the Web Page URL");return}let e=await (0,X.PR)("/knowledge/".concat(t,"/document/add"),{doc_name:P,content:Z,doc_type:"URL"});if(e.success&&A&&(0,X.PR)("/knowledge/".concat(t,"/document/sync"),{doc_ids:[e.data]}),e.success){G.ZP.success("success"),m(!1);let e=await (0,X.PR)("/knowledge/".concat(t,"/document/list"),{page:N,page_size:20});e.success&&(j(e.data.data),H(e.data.total),F(e.data.page))}else G.ZP.error(e.err_msg||"failed")}else if("file"===f){if(!D){G.ZP.error("Please select a file");return}let e=new FormData;e.append("doc_name",P),e.append("doc_file",D),e.append("doc_type","DOCUMENT");let i=await (0,X.Ej)("/knowledge/".concat(t,"/document/upload"),e);if(i.success&&A&&(0,X.PR)("/knowledge/".concat(t,"/document/sync"),{doc_ids:[i.data]}),i.success){G.ZP.success("success"),m(!1);let e=await (0,X.PR)("/knowledge/".concat(t,"/document/list"),{page:N,page_size:20});e.success&&(j(e.data.data),H(e.data.total),F(e.data.page))}else G.ZP.error(i.err_msg||"failed")}else{if(""===k){G.ZP.error("Please input the text");return}let e=await (0,X.PR)("/knowledge/".concat(t,"/document/add"),{doc_name:P,source:w,content:k,doc_type:"TEXT"});if(e.success&&A&&(0,X.PR)("/knowledge/".concat(t,"/document/sync"),{doc_ids:[e.data]}),e.success){G.ZP.success("success"),m(!1);let e=await (0,X.PR)("/knowledge/".concat(t,"/document/list"),{page:N,page_size:20});e.success&&(j(e.data.data),H(e.data.total),F(e.data.page))}else G.ZP.error(e.err_msg||"failed")}},children:"Finish"})]})]})]})})]})}},78915:function(e,t,i){"use strict";i.d(t,{Tk:function(){return c},Kw:function(){return d},PR:function(){return h},Ej:function(){return p}});var a=i(21628),r=i(24214);let n=r.Z.create({baseURL:"http://127.0.0.1:5000"});n.defaults.timeout=1e4,n.interceptors.response.use(e=>e.data,e=>Promise.reject(e));var o=i(84835);let s={"content-type":"application/json"},l=e=>{if(!(0,o.isPlainObject)(e))return JSON.stringify(e);let t={...e};for(let e in t){let i=t[e];"string"==typeof i&&(t[e]=i.trim())}return JSON.stringify(t)},c=(e,t)=>{if(t){let i=Object.keys(t).filter(e=>void 0!==t[e]&&""!==t[e]).map(e=>"".concat(e,"=").concat(t[e])).join("&");i&&(e+="?".concat(i))}return n.get("/api"+e,{headers:s}).then(e=>e).catch(e=>{a.ZP.error(e),Promise.reject(e)})},d=(e,t)=>{let i=l(t);return n.post("/api"+e,{body:i,headers:s}).then(e=>e).catch(e=>{a.ZP.error(e),Promise.reject(e)})},h=(e,t)=>{let i=l(t);return n.post(e,{body:i,headers:s}).then(e=>e).catch(e=>{a.ZP.error(e),Promise.reject(e)})},p=(e,t)=>n.post(e,{body:t}).then(e=>e).catch(e=>{a.ZP.error(e),Promise.reject(e)})}},function(e){e.O(0,[180,550,752,685,86,693,118,440,672,55,642,253,769,744],function(){return e(e.s=22199)}),_N_E=e.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[470],{78141:function(e,t,i){"use strict";var a=i(78997);t.Z=void 0;var r=a(i(76906)),n=i(9268),o=(0,r.default)((0,n.jsx)("path",{d:"m19 8-4 4h3c0 3.31-2.69 6-6 6-1.01 0-1.97-.25-2.8-.7l-1.46 1.46C8.97 19.54 10.43 20 12 20c4.42 0 8-3.58 8-8h3l-4-4zM6 12c0-3.31 2.69-6 6-6 1.01 0 1.97.25 2.8.7l1.46-1.46C15.03 4.46 13.57 4 12 4c-4.42 0-8 3.58-8 8H1l4 4 4-4H6z"}),"Cached");t.Z=o},22199:function(e,t,i){Promise.resolve().then(i.bind(i,16692))},16692:function(e,t,i){"use strict";i.r(t),i.d(t,{default:function(){return ei}});var a=i(9268),r=i(56008),n=i(86006),o=i(50645),s=i(5737),l=i(78635),c=i(70900),d=i(44334),h=i(311),p=i(22046),u=i(53113),g=i(83192),m=i(46750),x=i(40431),v=i(89791),f=i(47562),C=i(46319),b=i(53832),j=i(49657),Z=i(88930),y=i(47093),P=i(18587);function S(e){return(0,P.d6)("MuiChip",e)}let w=(0,P.sI)("MuiChip",["root","clickable","colorPrimary","colorNeutral","colorDanger","colorInfo","colorSuccess","colorWarning","colorContext","disabled","endDecorator","focusVisible","label","labelSm","labelMd","labelLg","sizeSm","sizeMd","sizeLg","startDecorator","variantPlain","variantSolid","variantSoft","variantOutlined"]),_=n.createContext({disabled:void 0,variant:void 0,color:void 0});var k=i(326);let z=["children","className","color","slotProps","onClick","disabled","size","variant","startDecorator","endDecorator"],R=e=>{let{disabled:t,size:i,color:a,clickable:r,variant:n,focusVisible:o}=e,s={root:["root",t&&"disabled",a&&`color${(0,b.Z)(a)}`,i&&`size${(0,b.Z)(i)}`,n&&`variant${(0,b.Z)(n)}`,r&&"clickable"],action:["action",t&&"disabled",o&&"focusVisible"],label:["label",i&&`label${(0,b.Z)(i)}`],startDecorator:["startDecorator"],endDecorator:["endDecorator"]};return(0,f.Z)(s,S,{})},D=(0,o.Z)("div",{name:"JoyChip",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e,ownerState:t})=>{var i,a,r,n,o,s;return[(0,x.Z)({"--Chip-decoratorChildOffset":"min(calc(var(--Chip-paddingInline) - (var(--_Chip-minHeight) - 2 * var(--variant-borderWidth, 0px) - var(--Chip-decoratorChildHeight)) / 2), var(--Chip-paddingInline))","--Chip-decoratorChildRadius":"max(var(--_Chip-radius) - var(--variant-borderWidth, 0px) - var(--_Chip-paddingBlock), min(var(--_Chip-paddingBlock) + var(--variant-borderWidth, 0px), var(--_Chip-radius) / 2))","--Chip-deleteRadius":"var(--Chip-decoratorChildRadius)","--Chip-deleteSize":"var(--Chip-decoratorChildHeight)","--Avatar-radius":"var(--Chip-decoratorChildRadius)","--Avatar-size":"var(--Chip-decoratorChildHeight)","--Icon-margin":"initial","--unstable_actionRadius":"var(--_Chip-radius)"},"sm"===t.size&&{"--Chip-gap":"0.25rem","--Chip-paddingInline":"0.5rem","--Chip-decoratorChildHeight":"calc(min(1.125rem, var(--_Chip-minHeight)) - 2 * var(--variant-borderWidth, 0px))","--Icon-fontSize":"calc(var(--_Chip-minHeight) / 1.714)","--_Chip-minHeight":"var(--Chip-minHeight, 1.5rem)",fontSize:e.vars.fontSize.xs},"md"===t.size&&{"--Chip-gap":"0.375rem","--Chip-paddingInline":"0.75rem","--Chip-decoratorChildHeight":"min(1.375rem, var(--_Chip-minHeight))","--Icon-fontSize":"calc(var(--_Chip-minHeight) / 1.778)","--_Chip-minHeight":"var(--Chip-minHeight, 2rem)",fontSize:e.vars.fontSize.sm},"lg"===t.size&&{"--Chip-gap":"0.5rem","--Chip-paddingInline":"1rem","--Chip-decoratorChildHeight":"min(1.75rem, var(--_Chip-minHeight))","--Icon-fontSize":"calc(var(--_Chip-minHeight) / 2)","--_Chip-minHeight":"var(--Chip-minHeight, 2.5rem)",fontSize:e.vars.fontSize.md},{"--_Chip-radius":"var(--Chip-radius, 1.5rem)","--_Chip-paddingBlock":"max((var(--_Chip-minHeight) - 2 * var(--variant-borderWidth, 0px) - var(--Chip-decoratorChildHeight)) / 2, 0px)",minHeight:"var(--_Chip-minHeight)",paddingInline:"var(--Chip-paddingInline)",borderRadius:"var(--_Chip-radius)",position:"relative",fontWeight:e.vars.fontWeight.md,fontFamily:e.vars.fontFamily.body,display:"inline-flex",alignItems:"center",justifyContent:"center",whiteSpace:"nowrap",textDecoration:"none",verticalAlign:"middle",boxSizing:"border-box",[`&.${w.disabled}`]:{color:null==(i=e.variants[`${t.variant}Disabled`])?void 0:null==(a=i[t.color])?void 0:a.color}}),...t.clickable?[{"--variant-borderWidth":"0px",color:null==(o=e.variants[t.variant])?void 0:null==(s=o[t.color])?void 0:s.color}]:[null==(r=e.variants[t.variant])?void 0:r[t.color],{[`&.${w.disabled}`]:null==(n=e.variants[`${t.variant}Disabled`])?void 0:n[t.color]}]]}),I=(0,o.Z)("span",{name:"JoyChip",slot:"Label",overridesResolver:(e,t)=>t.label})(({ownerState:e})=>(0,x.Z)({display:"inline-block",overflow:"hidden",textOverflow:"ellipsis",order:1,minInlineSize:0,flexGrow:1},e.clickable&&{zIndex:1,pointerEvents:"none"})),H=(0,o.Z)("button",{name:"JoyChip",slot:"Action",overridesResolver:(e,t)=>t.action})(({theme:e,ownerState:t})=>{var i,a,r,n;return[{position:"absolute",zIndex:0,top:0,left:0,bottom:0,right:0,border:"none",cursor:"pointer",padding:"initial",margin:"initial",backgroundColor:"initial",textDecoration:"none",borderRadius:"inherit",[e.focus.selector]:e.focus.default},null==(i=e.variants[t.variant])?void 0:i[t.color],{"&:hover":null==(a=e.variants[`${t.variant}Hover`])?void 0:a[t.color]},{"&:active":null==(r=e.variants[`${t.variant}Active`])?void 0:r[t.color]},{[`&.${w.disabled}`]:null==(n=e.variants[`${t.variant}Disabled`])?void 0:n[t.color]}]}),N=(0,o.Z)("span",{name:"JoyChip",slot:"StartDecorator",overridesResolver:(e,t)=>t.startDecorator})({"--Avatar-marginInlineStart":"calc(var(--Chip-decoratorChildOffset) * -1)","--Chip-deleteMargin":"0 0 0 calc(var(--Chip-decoratorChildOffset) * -1)","--Icon-margin":"0 0 0 calc(var(--Chip-paddingInline) / -4)",display:"inherit",marginInlineEnd:"var(--Chip-gap)",order:0,zIndex:1,pointerEvents:"none"}),F=(0,o.Z)("span",{name:"JoyChip",slot:"EndDecorator",overridesResolver:(e,t)=>t.endDecorator})({"--Chip-deleteMargin":"0 calc(var(--Chip-decoratorChildOffset) * -1) 0 0","--Icon-margin":"0 calc(var(--Chip-paddingInline) / -4) 0 0",display:"inherit",marginInlineStart:"var(--Chip-gap)",order:2,zIndex:1,pointerEvents:"none"}),T=n.forwardRef(function(e,t){let i=(0,Z.Z)({props:e,name:"JoyChip"}),{children:r,className:o,color:s="primary",slotProps:l={},onClick:c,disabled:d=!1,size:h="md",variant:p="solid",startDecorator:u,endDecorator:g}=i,f=(0,m.Z)(i,z),{getColor:b}=(0,y.VT)(p),P=b(e.color,s),S=!!c||!!l.action,w=(0,x.Z)({},i,{disabled:d,size:h,color:P,variant:p,clickable:S,focusVisible:!1}),T="function"==typeof l.action?l.action(w):l.action,O=n.useRef(null),{focusVisible:E,getRootProps:W}=(0,C.Z)((0,x.Z)({},T,{disabled:d,ref:O}));w.focusVisible=E;let L=R(w),M=(0,x.Z)({},f,{slotProps:l}),[A,U]=(0,k.Z)("root",{ref:t,className:(0,v.Z)(L.root,o),elementType:D,externalForwardedProps:M,ownerState:w}),[$,B]=(0,k.Z)("label",{className:L.label,elementType:I,externalForwardedProps:M,ownerState:w}),J=(0,j.Z)(B.id),[V,Y]=(0,k.Z)("action",{className:L.action,elementType:H,externalForwardedProps:M,ownerState:w,getSlotProps:W,additionalProps:{"aria-labelledby":J,as:null==T?void 0:T.component,onClick:c}}),[G,K]=(0,k.Z)("startDecorator",{className:L.startDecorator,elementType:N,externalForwardedProps:M,ownerState:w}),[X,q]=(0,k.Z)("endDecorator",{className:L.endDecorator,elementType:F,externalForwardedProps:M,ownerState:w}),Q=n.useMemo(()=>({disabled:d,variant:p,color:"context"===P?void 0:P}),[P,d,p]);return(0,a.jsx)(_.Provider,{value:Q,children:(0,a.jsxs)(A,(0,x.Z)({},U,{children:[S&&(0,a.jsx)(V,(0,x.Z)({},Y)),(0,a.jsx)($,(0,x.Z)({},B,{id:J,children:r})),u&&(0,a.jsx)(G,(0,x.Z)({},K,{children:u})),g&&(0,a.jsx)(X,(0,x.Z)({},q,{children:g}))]}))})});var O=i(11437),E=i(90545),W=i(35086),L=i(866),M=i(28086),A=i(65326),U=i.n(A),$=i(72474),B=i(59534),J=i(78141),V=i(50157),Y=i(23910),G=i(21628),K=i(1031),X=i(78915);let{Dragger:q}=V.default,Q=(0,o.Z)(s.Z)(e=>{let{theme:t}=e;return{width:"50%",backgroundColor:"dark"===t.palette.mode?t.palette.background.level1:"#fff",...t.typography.body2,padding:t.spacing(1),textAlign:"center",borderRadius:4,color:t.vars.palette.text.secondary}}),ee=["Choose a Datasource type","Setup the Datasource"],et=[{type:"text",title:"Text",subTitle:"Fill your raw text"},{type:"webPage",title:"URL",subTitle:"Fetch the content of a URL"},{type:"file",title:"Document",subTitle:"Upload a document, document type can be PDF, CSV, Text, PowerPoint, Word, Markdown"}];var ei=()=>{let e=(0,r.useRouter)(),t=(0,r.useSearchParams)().get("name"),{mode:i}=(0,l.tv)(),[o,m]=(0,n.useState)(!1),[x,v]=(0,n.useState)(0),[f,C]=(0,n.useState)(""),[b,j]=(0,n.useState)([]),[Z,y]=(0,n.useState)(""),[P,S]=(0,n.useState)(""),[w,_]=(0,n.useState)(""),[k,z]=(0,n.useState)(""),[R,D]=(0,n.useState)(null),[I,H]=(0,n.useState)(0),[N,F]=(0,n.useState)(0),[A,V]=(0,n.useState)(!0);return(0,n.useEffect)(()=>{(async function(){let e=await (0,X.PR)("/knowledge/".concat(t,"/document/list"),{page:1,page_size:20});e.success&&(j(e.data.data),H(e.data.total),F(e.data.page))})()},[]),(0,a.jsxs)("div",{className:"p-4",children:[(0,a.jsxs)(c.Z,{direction:"row",justifyContent:"space-between",alignItems:"center",sx:{marginBottom:"20px"},children:[(0,a.jsxs)(d.Z,{"aria-label":"breadcrumbs",children:[(0,a.jsx)(h.Z,{onClick:()=>{e.push("/datastores")},underline:"hover",color:"neutral",fontSize:"inherit",children:"Knowledge Space"},"Knowledge Space"),(0,a.jsx)(p.ZP,{fontSize:"inherit",children:"Documents"})]}),(0,a.jsx)(u.Z,{variant:"outlined",onClick:()=>m(!0),children:"+ Add Datasource"})]}),b.length?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(g.Z,{color:"primary",variant:"plain",size:"lg",sx:{"& tbody tr: hover":{backgroundColor:"light"===i?"rgb(246, 246, 246)":"rgb(33, 33, 40)"},"& tbody tr: hover a":{textDecoration:"underline"}},children:[(0,a.jsx)("thead",{children:(0,a.jsxs)("tr",{children:[(0,a.jsx)("th",{children:"Name"}),(0,a.jsx)("th",{children:"Type"}),(0,a.jsx)("th",{children:"Size"}),(0,a.jsx)("th",{children:"Last Synch"}),(0,a.jsx)("th",{children:"Status"}),(0,a.jsx)("th",{children:"Result"}),(0,a.jsx)("th",{children:"Operation"})]})}),(0,a.jsx)("tbody",{children:b.map(i=>(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:i.doc_name}),(0,a.jsx)("td",{children:(0,a.jsx)(T,{variant:"solid",color:"neutral",sx:{opacity:.5},children:i.doc_type})}),(0,a.jsxs)("td",{children:[i.chunk_size," chunks"]}),(0,a.jsx)("td",{children:U()(i.last_sync).format("YYYY-MM-DD HH:MM:SS")}),(0,a.jsx)("td",{children:(0,a.jsx)(T,{sx:{opacity:.5},variant:"solid",color:function(){switch(i.status){case"TODO":return"neutral";case"RUNNING":return"primary";case"FINISHED":return"success";case"FAILED":return"danger"}}(),children:i.status})}),(0,a.jsx)("td",{children:"TODO"===i.status||"RUNNING"===i.status?"":"FINISHED"===i.status?(0,a.jsx)(Y.Z,{content:i.result,trigger:"hover",children:(0,a.jsx)(T,{variant:"solid",color:"success",sx:{opacity:.5},children:"SUCCESS"})}):(0,a.jsx)(Y.Z,{content:i.result,trigger:"hover",children:(0,a.jsx)(T,{variant:"solid",color:"danger",sx:{opacity:.5},children:"FAILED"})})}),(0,a.jsx)("td",{children:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(u.Z,{variant:"outlined",size:"sm",sx:{marginRight:"20px"},onClick:async()=>{let e=await (0,X.PR)("/knowledge/".concat(t,"/document/sync"),{doc_ids:[i.id]});e.success?G.ZP.success("success"):G.ZP.error(e.err_msg||"failed")},children:["Synch",(0,a.jsx)(J.Z,{})]}),(0,a.jsx)(u.Z,{variant:"outlined",size:"sm",onClick:()=>{e.push("/datastores/documents/chunklist?spacename=".concat(t,"&documentid=").concat(i.id))},children:"Details"})]})})]},i.id))})]}),(0,a.jsx)(c.Z,{direction:"row",justifyContent:"flex-end",sx:{marginTop:"20px"},children:(0,a.jsx)(K.Z,{defaultPageSize:20,showSizeChanger:!1,current:N,total:I,onChange:async e=>{let i=await (0,X.PR)("/knowledge/".concat(t,"/document/list"),{page:e,page_size:20});i.success&&(j(i.data.data),H(i.data.total),F(i.data.page))},hideOnSinglePage:!0})})]}):(0,a.jsx)(a.Fragment,{}),(0,a.jsx)(O.Z,{sx:{display:"flex",justifyContent:"center",alignItems:"center","z-index":1e3},open:o,onClose:()=>m(!1),children:(0,a.jsxs)(s.Z,{variant:"outlined",sx:{width:800,borderRadius:"md",p:3,boxShadow:"lg"},children:[(0,a.jsx)(E.Z,{sx:{width:"100%"},children:(0,a.jsx)(c.Z,{spacing:2,direction:"row",children:ee.map((e,t)=>(0,a.jsxs)(Q,{sx:{fontWeight:x===t?"bold":"",color:x===t?"#2AA3FF":""},children:[t(0,a.jsxs)(s.Z,{sx:{boxSizing:"border-box",height:"80px",padding:"12px",display:"flex",flexDirection:"column",justifyContent:"space-between",border:"1px solid gray",borderRadius:"6px",marginBottom:"20px",cursor:"pointer"},onClick:()=>{C(e.type),v(1)},children:[(0,a.jsx)(s.Z,{sx:{fontSize:"20px",fontWeight:"bold"},children:e.title}),(0,a.jsx)(s.Z,{children:e.subTitle})]},e.type))})}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(E.Z,{sx:{margin:"30px auto"},children:["Name:",(0,a.jsx)(W.ZP,{placeholder:"Please input the name",onChange:e=>S(e.target.value),sx:{marginBottom:"20px"}}),"webPage"===f?(0,a.jsxs)(a.Fragment,{children:["Web Page URL:",(0,a.jsx)(W.ZP,{placeholder:"Please input the Web Page URL",onChange:e=>y(e.target.value)})]}):"file"===f?(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)(q,{name:"file",multiple:!1,onChange(e){var t;if(console.log(e),0===e.fileList.length){D(null),S("");return}D(e.file.originFileObj),S(null===(t=e.file.originFileObj)||void 0===t?void 0:t.name)},children:[(0,a.jsx)("p",{className:"ant-upload-drag-icon",children:(0,a.jsx)($.Z,{})}),(0,a.jsx)("p",{style:{color:"rgb(22, 108, 255)",fontSize:"20px"},children:"Select or Drop file"}),(0,a.jsx)("p",{className:"ant-upload-hint",style:{color:"rgb(22, 108, 255)"},children:"PDF, PowerPoint, Excel, Word, Text, Markdown,"})]})}):(0,a.jsxs)(a.Fragment,{children:["Text Source(Optional):",(0,a.jsx)(W.ZP,{placeholder:"Please input the text source",onChange:e=>_(e.target.value),sx:{marginBottom:"20px"}}),"Text:",(0,a.jsx)(L.Z,{onChange:e=>z(e.target.value),minRows:4,sx:{marginBottom:"20px"}})]}),(0,a.jsx)(p.ZP,{component:"label",sx:{marginTop:"20px"},endDecorator:(0,a.jsx)(M.Z,{checked:A,onChange:e=>V(e.target.checked)}),children:"Synch:"})]}),(0,a.jsxs)(c.Z,{direction:"row",justifyContent:"flex-start",alignItems:"center",sx:{marginBottom:"20px"},children:[(0,a.jsx)(u.Z,{variant:"outlined",sx:{marginRight:"20px"},onClick:()=>v(0),children:"< Back"}),(0,a.jsx)(u.Z,{variant:"outlined",onClick:async()=>{if(""===P){G.ZP.error("Please input the name");return}if("webPage"===f){if(""===Z){G.ZP.error("Please input the Web Page URL");return}let e=await (0,X.PR)("/knowledge/".concat(t,"/document/add"),{doc_name:P,content:Z,doc_type:"URL"});if(e.success&&A&&(0,X.PR)("/knowledge/".concat(t,"/document/sync"),{doc_ids:[e.data]}),e.success){G.ZP.success("success"),m(!1);let e=await (0,X.PR)("/knowledge/".concat(t,"/document/list"),{page:N,page_size:20});e.success&&(j(e.data.data),H(e.data.total),F(e.data.page))}else G.ZP.error(e.err_msg||"failed")}else if("file"===f){if(!R){G.ZP.error("Please select a file");return}let e=new FormData;e.append("doc_name",P),e.append("doc_file",R),e.append("doc_type","DOCUMENT");let i=await (0,X.Ej)("/knowledge/".concat(t,"/document/upload"),e);if(i.success&&A&&(0,X.PR)("/knowledge/".concat(t,"/document/sync"),{doc_ids:[i.data]}),i.success){G.ZP.success("success"),m(!1);let e=await (0,X.PR)("/knowledge/".concat(t,"/document/list"),{page:N,page_size:20});e.success&&(j(e.data.data),H(e.data.total),F(e.data.page))}else G.ZP.error(i.err_msg||"failed")}else{if(""===k){G.ZP.error("Please input the text");return}let e=await (0,X.PR)("/knowledge/".concat(t,"/document/add"),{doc_name:P,source:w,content:k,doc_type:"TEXT"});if(e.success&&A&&(0,X.PR)("/knowledge/".concat(t,"/document/sync"),{doc_ids:[e.data]}),e.success){G.ZP.success("success"),m(!1);let e=await (0,X.PR)("/knowledge/".concat(t,"/document/list"),{page:N,page_size:20});e.success&&(j(e.data.data),H(e.data.total),F(e.data.page))}else G.ZP.error(e.err_msg||"failed")}},children:"Finish"})]})]})]})})]})}},78915:function(e,t,i){"use strict";i.d(t,{Tk:function(){return d},Kw:function(){return h},PR:function(){return p},Ej:function(){return u}});var a=i(21628),r=i(24214),n=i(52040);let o=r.Z.create({baseURL:n.env.API_BASE_URL});o.defaults.timeout=1e4,o.interceptors.response.use(e=>e.data,e=>Promise.reject(e));var s=i(84835);let l={"content-type":"application/json"},c=e=>{if(!(0,s.isPlainObject)(e))return JSON.stringify(e);let t={...e};for(let e in t){let i=t[e];"string"==typeof i&&(t[e]=i.trim())}return JSON.stringify(t)},d=(e,t)=>{if(t){let i=Object.keys(t).filter(e=>void 0!==t[e]&&""!==t[e]).map(e=>"".concat(e,"=").concat(t[e])).join("&");i&&(e+="?".concat(i))}return o.get("/api"+e,{headers:l}).then(e=>e).catch(e=>{a.ZP.error(e),Promise.reject(e)})},h=(e,t)=>{let i=c(t);return o.post("/api"+e,{body:i,headers:l}).then(e=>e).catch(e=>{a.ZP.error(e),Promise.reject(e)})},p=(e,t)=>{let i=c(t);return o.post(e,{body:i,headers:l}).then(e=>e).catch(e=>{a.ZP.error(e),Promise.reject(e)})},u=(e,t)=>o.post(e,{body:t}).then(e=>e).catch(e=>{a.ZP.error(e),Promise.reject(e)})}},function(e){e.O(0,[180,550,106,685,86,693,118,440,672,55,642,253,769,744],function(){return e(e.s=22199)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/app/datastores/documents/page-d8e7a09883074ff0.js b/pilot/server/static/_next/static/chunks/app/datastores/documents/page-d8e7a09883074ff0.js deleted file mode 100644 index d248f6647..000000000 --- a/pilot/server/static/_next/static/chunks/app/datastores/documents/page-d8e7a09883074ff0.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[470],{78141:function(e,t,a){"use strict";var i=a(78997);t.Z=void 0;var n=i(a(76906)),o=a(9268),r=(0,n.default)((0,o.jsx)("path",{d:"m19 8-4 4h3c0 3.31-2.69 6-6 6-1.01 0-1.97-.25-2.8-.7l-1.46 1.46C8.97 19.54 10.43 20 12 20c4.42 0 8-3.58 8-8h3l-4-4zM6 12c0-3.31 2.69-6 6-6 1.01 0 1.97.25 2.8.7l1.46-1.46C15.03 4.46 13.57 4 12 4c-4.42 0-8 3.58-8 8H1l4 4 4-4H6z"}),"Cached");t.Z=r},22199:function(e,t,a){Promise.resolve().then(a.bind(a,16692))},16692:function(e,t,a){"use strict";a.r(t),a.d(t,{default:function(){return ea}});var i=a(9268),n=a(56008),o=a(86006),r=a(50645),s=a(5737),l=a(78635),c=a(70900),d=a(44334),h=a(311),p=a(22046),u=a(53113),g=a(83192),m=a(46750),v=a(40431),x=a(89791),f=a(47562),C=a(46319),b=a(53832),y=a(49657),j=a(88930),S=a(47093),Z=a(18587);function _(e){return(0,Z.d6)("MuiChip",e)}let P=(0,Z.sI)("MuiChip",["root","clickable","colorPrimary","colorNeutral","colorDanger","colorInfo","colorSuccess","colorWarning","colorContext","disabled","endDecorator","focusVisible","label","labelSm","labelMd","labelLg","sizeSm","sizeMd","sizeLg","startDecorator","variantPlain","variantSolid","variantSoft","variantOutlined"]),w=o.createContext({disabled:void 0,variant:void 0,color:void 0});var I=a(326);let D=["children","className","color","slotProps","onClick","disabled","size","variant","startDecorator","endDecorator"],T=e=>{let{disabled:t,size:a,color:i,clickable:n,variant:o,focusVisible:r}=e,s={root:["root",t&&"disabled",i&&`color${(0,b.Z)(i)}`,a&&`size${(0,b.Z)(a)}`,o&&`variant${(0,b.Z)(o)}`,n&&"clickable"],action:["action",t&&"disabled",r&&"focusVisible"],label:["label",a&&`label${(0,b.Z)(a)}`],startDecorator:["startDecorator"],endDecorator:["endDecorator"]};return(0,f.Z)(s,_,{})},k=(0,r.Z)("div",{name:"JoyChip",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e,ownerState:t})=>{var a,i,n,o,r,s;return[(0,v.Z)({"--Chip-decoratorChildOffset":"min(calc(var(--Chip-paddingInline) - (var(--_Chip-minHeight) - 2 * var(--variant-borderWidth, 0px) - var(--Chip-decoratorChildHeight)) / 2), var(--Chip-paddingInline))","--Chip-decoratorChildRadius":"max(var(--_Chip-radius) - var(--variant-borderWidth, 0px) - var(--_Chip-paddingBlock), min(var(--_Chip-paddingBlock) + var(--variant-borderWidth, 0px), var(--_Chip-radius) / 2))","--Chip-deleteRadius":"var(--Chip-decoratorChildRadius)","--Chip-deleteSize":"var(--Chip-decoratorChildHeight)","--Avatar-radius":"var(--Chip-decoratorChildRadius)","--Avatar-size":"var(--Chip-decoratorChildHeight)","--Icon-margin":"initial","--unstable_actionRadius":"var(--_Chip-radius)"},"sm"===t.size&&{"--Chip-gap":"0.25rem","--Chip-paddingInline":"0.5rem","--Chip-decoratorChildHeight":"calc(min(1.125rem, var(--_Chip-minHeight)) - 2 * var(--variant-borderWidth, 0px))","--Icon-fontSize":"calc(var(--_Chip-minHeight) / 1.714)","--_Chip-minHeight":"var(--Chip-minHeight, 1.5rem)",fontSize:e.vars.fontSize.xs},"md"===t.size&&{"--Chip-gap":"0.375rem","--Chip-paddingInline":"0.75rem","--Chip-decoratorChildHeight":"min(1.375rem, var(--_Chip-minHeight))","--Icon-fontSize":"calc(var(--_Chip-minHeight) / 1.778)","--_Chip-minHeight":"var(--Chip-minHeight, 2rem)",fontSize:e.vars.fontSize.sm},"lg"===t.size&&{"--Chip-gap":"0.5rem","--Chip-paddingInline":"1rem","--Chip-decoratorChildHeight":"min(1.75rem, var(--_Chip-minHeight))","--Icon-fontSize":"calc(var(--_Chip-minHeight) / 2)","--_Chip-minHeight":"var(--Chip-minHeight, 2.5rem)",fontSize:e.vars.fontSize.md},{"--_Chip-radius":"var(--Chip-radius, 1.5rem)","--_Chip-paddingBlock":"max((var(--_Chip-minHeight) - 2 * var(--variant-borderWidth, 0px) - var(--Chip-decoratorChildHeight)) / 2, 0px)",minHeight:"var(--_Chip-minHeight)",paddingInline:"var(--Chip-paddingInline)",borderRadius:"var(--_Chip-radius)",position:"relative",fontWeight:e.vars.fontWeight.md,fontFamily:e.vars.fontFamily.body,display:"inline-flex",alignItems:"center",justifyContent:"center",whiteSpace:"nowrap",textDecoration:"none",verticalAlign:"middle",boxSizing:"border-box",[`&.${P.disabled}`]:{color:null==(a=e.variants[`${t.variant}Disabled`])?void 0:null==(i=a[t.color])?void 0:i.color}}),...t.clickable?[{"--variant-borderWidth":"0px",color:null==(r=e.variants[t.variant])?void 0:null==(s=r[t.color])?void 0:s.color}]:[null==(n=e.variants[t.variant])?void 0:n[t.color],{[`&.${P.disabled}`]:null==(o=e.variants[`${t.variant}Disabled`])?void 0:o[t.color]}]]}),z=(0,r.Z)("span",{name:"JoyChip",slot:"Label",overridesResolver:(e,t)=>t.label})(({ownerState:e})=>(0,v.Z)({display:"inline-block",overflow:"hidden",textOverflow:"ellipsis",order:1,minInlineSize:0,flexGrow:1},e.clickable&&{zIndex:1,pointerEvents:"none"})),R=(0,r.Z)("button",{name:"JoyChip",slot:"Action",overridesResolver:(e,t)=>t.action})(({theme:e,ownerState:t})=>{var a,i,n,o;return[{position:"absolute",zIndex:0,top:0,left:0,bottom:0,right:0,border:"none",cursor:"pointer",padding:"initial",margin:"initial",backgroundColor:"initial",textDecoration:"none",borderRadius:"inherit",[e.focus.selector]:e.focus.default},null==(a=e.variants[t.variant])?void 0:a[t.color],{"&:hover":null==(i=e.variants[`${t.variant}Hover`])?void 0:i[t.color]},{"&:active":null==(n=e.variants[`${t.variant}Active`])?void 0:n[t.color]},{[`&.${P.disabled}`]:null==(o=e.variants[`${t.variant}Disabled`])?void 0:o[t.color]}]}),O=(0,r.Z)("span",{name:"JoyChip",slot:"StartDecorator",overridesResolver:(e,t)=>t.startDecorator})({"--Avatar-marginInlineStart":"calc(var(--Chip-decoratorChildOffset) * -1)","--Chip-deleteMargin":"0 0 0 calc(var(--Chip-decoratorChildOffset) * -1)","--Icon-margin":"0 0 0 calc(var(--Chip-paddingInline) / -4)",display:"inherit",marginInlineEnd:"var(--Chip-gap)",order:0,zIndex:1,pointerEvents:"none"}),N=(0,r.Z)("span",{name:"JoyChip",slot:"EndDecorator",overridesResolver:(e,t)=>t.endDecorator})({"--Chip-deleteMargin":"0 calc(var(--Chip-decoratorChildOffset) * -1) 0 0","--Icon-margin":"0 calc(var(--Chip-paddingInline) / -4) 0 0",display:"inherit",marginInlineStart:"var(--Chip-gap)",order:2,zIndex:1,pointerEvents:"none"}),A=o.forwardRef(function(e,t){let a=(0,j.Z)({props:e,name:"JoyChip"}),{children:n,className:r,color:s="primary",slotProps:l={},onClick:c,disabled:d=!1,size:h="md",variant:p="solid",startDecorator:u,endDecorator:g}=a,f=(0,m.Z)(a,D),{getColor:b}=(0,S.VT)(p),Z=b(e.color,s),_=!!c||!!l.action,P=(0,v.Z)({},a,{disabled:d,size:h,color:Z,variant:p,clickable:_,focusVisible:!1}),A="function"==typeof l.action?l.action(P):l.action,E=o.useRef(null),{focusVisible:H,getRootProps:L}=(0,C.Z)((0,v.Z)({},A,{disabled:d,ref:E}));P.focusVisible=H;let U=T(P),B=(0,v.Z)({},f,{slotProps:l}),[F,J]=(0,I.Z)("root",{ref:t,className:(0,x.Z)(U.root,r),elementType:k,externalForwardedProps:B,ownerState:P}),[W,M]=(0,I.Z)("label",{className:U.label,elementType:z,externalForwardedProps:B,ownerState:P}),$=(0,y.Z)(M.id),[V,Y]=(0,I.Z)("action",{className:U.action,elementType:R,externalForwardedProps:B,ownerState:P,getSlotProps:L,additionalProps:{"aria-labelledby":$,as:null==A?void 0:A.component,onClick:c}}),[G,K]=(0,I.Z)("startDecorator",{className:U.startDecorator,elementType:O,externalForwardedProps:B,ownerState:P}),[X,q]=(0,I.Z)("endDecorator",{className:U.endDecorator,elementType:N,externalForwardedProps:B,ownerState:P}),Q=o.useMemo(()=>({disabled:d,variant:p,color:"context"===Z?void 0:Z}),[Z,d,p]);return(0,i.jsx)(w.Provider,{value:Q,children:(0,i.jsxs)(F,(0,v.Z)({},J,{children:[_&&(0,i.jsx)(V,(0,v.Z)({},Y)),(0,i.jsx)(W,(0,v.Z)({},M,{id:$,children:n})),u&&(0,i.jsx)(G,(0,v.Z)({},K,{children:u})),g&&(0,i.jsx)(X,(0,v.Z)({},q,{children:g}))]}))})});var E=a(11437),H=a(90545),L=a(35086),U=a(866),B=a(28086),F=a(65326),J=a.n(F),W=a(72474),M=a(59534),$=a(78141),V=a(50157),Y=a(23910),G=a(21628),K=a(1031),X=a(52040);let{Dragger:q}=V.default,Q=(0,r.Z)(s.Z)(e=>{let{theme:t}=e;return{width:"50%",backgroundColor:"dark"===t.palette.mode?t.palette.background.level1:"#fff",...t.typography.body2,padding:t.spacing(1),textAlign:"center",borderRadius:4,color:t.vars.palette.text.secondary}}),ee=["Choose a Datasource type","Setup the Datasource"],et=[{type:"text",title:"Text",subTitle:"Fill your raw text"},{type:"webPage",title:"URL",subTitle:"Fetch the content of a URL"},{type:"file",title:"Document",subTitle:"Upload a document, document type can be PDF, CSV, Text, PowerPoint, Word, Markdown"}];var ea=()=>{let e=(0,n.useRouter)(),t=(0,n.useSearchParams)().get("name"),{mode:a}=(0,l.tv)(),[r,m]=(0,o.useState)(!1),[v,x]=(0,o.useState)(0),[f,C]=(0,o.useState)(""),[b,y]=(0,o.useState)([]),[j,S]=(0,o.useState)(""),[Z,_]=(0,o.useState)(""),[P,w]=(0,o.useState)(""),[I,D]=(0,o.useState)(""),[T,k]=(0,o.useState)(null),[z,R]=(0,o.useState)(0),[O,N]=(0,o.useState)(0),[F,V]=(0,o.useState)(!0);return(0,o.useEffect)(()=>{(async function(){let e=await fetch("".concat(X.env.API_BASE_URL,"/knowledge/").concat(t,"/document/list"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({page:1,page_size:20})}),a=await e.json();a.success&&(y(a.data.data),R(a.data.total),N(a.data.page))})()},[]),(0,i.jsxs)("div",{className:"p-4",children:[(0,i.jsxs)(c.Z,{direction:"row",justifyContent:"space-between",alignItems:"center",sx:{marginBottom:"20px"},children:[(0,i.jsxs)(d.Z,{"aria-label":"breadcrumbs",children:[(0,i.jsx)(h.Z,{onClick:()=>{e.push("/datastores")},underline:"hover",color:"neutral",fontSize:"inherit",children:"Knowledge Space"},"Knowledge Space"),(0,i.jsx)(p.ZP,{fontSize:"inherit",children:"Documents"})]}),(0,i.jsx)(u.Z,{variant:"outlined",onClick:()=>m(!0),children:"+ Add Datasource"})]}),b.length?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(g.Z,{color:"primary",variant:"plain",size:"lg",sx:{"& tbody tr: hover":{backgroundColor:"light"===a?"rgb(246, 246, 246)":"rgb(33, 33, 40)"},"& tbody tr: hover a":{textDecoration:"underline"}},children:[(0,i.jsx)("thead",{children:(0,i.jsxs)("tr",{children:[(0,i.jsx)("th",{children:"Name"}),(0,i.jsx)("th",{children:"Type"}),(0,i.jsx)("th",{children:"Size"}),(0,i.jsx)("th",{children:"Last Synch"}),(0,i.jsx)("th",{children:"Status"}),(0,i.jsx)("th",{children:"Result"}),(0,i.jsx)("th",{children:"Operation"})]})}),(0,i.jsx)("tbody",{children:b.map(a=>(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:a.doc_name}),(0,i.jsx)("td",{children:(0,i.jsx)(A,{variant:"solid",color:"neutral",sx:{opacity:.5},children:a.doc_type})}),(0,i.jsxs)("td",{children:[a.chunk_size," chunks"]}),(0,i.jsx)("td",{children:J()(a.last_sync).format("YYYY-MM-DD HH:MM:SS")}),(0,i.jsx)("td",{children:(0,i.jsx)(A,{sx:{opacity:.5},variant:"solid",color:function(){switch(a.status){case"TODO":return"neutral";case"RUNNING":return"primary";case"FINISHED":return"success";case"FAILED":return"danger"}}(),children:a.status})}),(0,i.jsx)("td",{children:"TODO"===a.status||"RUNNING"===a.status?"":"FINISHED"===a.status?(0,i.jsx)(Y.Z,{content:a.result,trigger:"hover",children:(0,i.jsx)(A,{variant:"solid",color:"success",sx:{opacity:.5},children:"SUCCESS"})}):(0,i.jsx)(Y.Z,{content:a.result,trigger:"hover",children:(0,i.jsx)(A,{variant:"solid",color:"danger",sx:{opacity:.5},children:"FAILED"})})}),(0,i.jsx)("td",{children:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(u.Z,{variant:"outlined",size:"sm",sx:{marginRight:"20px"},onClick:async()=>{let e=await fetch("".concat(X.env.API_BASE_URL,"/knowledge/").concat(t,"/document/sync"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({doc_ids:[a.id]})}),i=await e.json();i.success?G.ZP.success("success"):G.ZP.error(i.err_msg||"failed")},children:["Synch",(0,i.jsx)($.Z,{})]}),(0,i.jsx)(u.Z,{variant:"outlined",size:"sm",onClick:()=>{e.push("/datastores/documents/chunklist?spacename=".concat(t,"&documentid=").concat(a.id))},children:"Details"})]})})]},a.id))})]}),(0,i.jsx)(c.Z,{direction:"row",justifyContent:"flex-end",sx:{marginTop:"20px"},children:(0,i.jsx)(K.Z,{defaultPageSize:20,showSizeChanger:!1,current:O,total:z,onChange:async e=>{let a=await fetch("".concat(X.env.API_BASE_URL,"/knowledge/").concat(t,"/document/list"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({page:e,page_size:20})}),i=await a.json();i.success&&(y(i.data.data),R(i.data.total),N(i.data.page))},hideOnSinglePage:!0})})]}):(0,i.jsx)(i.Fragment,{}),(0,i.jsx)(E.Z,{sx:{display:"flex",justifyContent:"center",alignItems:"center","z-index":1e3},open:r,onClose:()=>m(!1),children:(0,i.jsxs)(s.Z,{variant:"outlined",sx:{width:800,borderRadius:"md",p:3,boxShadow:"lg"},children:[(0,i.jsx)(H.Z,{sx:{width:"100%"},children:(0,i.jsx)(c.Z,{spacing:2,direction:"row",children:ee.map((e,t)=>(0,i.jsxs)(Q,{sx:{fontWeight:v===t?"bold":"",color:v===t?"#814DDE":""},children:[t(0,i.jsxs)(s.Z,{sx:{boxSizing:"border-box",height:"80px",padding:"12px",display:"flex",flexDirection:"column",justifyContent:"space-between",border:"1px solid gray",borderRadius:"6px",marginBottom:"20px",cursor:"pointer"},onClick:()=>{C(e.type),x(1)},children:[(0,i.jsx)(s.Z,{sx:{fontSize:"20px",fontWeight:"bold"},children:e.title}),(0,i.jsx)(s.Z,{children:e.subTitle})]},e.type))})}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(H.Z,{sx:{margin:"30px auto"},children:["Name:",(0,i.jsx)(L.ZP,{placeholder:"Please input the name",onChange:e=>_(e.target.value),sx:{marginBottom:"20px"}}),"webPage"===f?(0,i.jsxs)(i.Fragment,{children:["Web Page URL:",(0,i.jsx)(L.ZP,{placeholder:"Please input the Web Page URL",onChange:e=>S(e.target.value)})]}):"file"===f?(0,i.jsx)(i.Fragment,{children:(0,i.jsxs)(q,{name:"file",multiple:!1,onChange(e){var t;if(console.log(e),0===e.fileList.length){k(null),_("");return}k(e.file.originFileObj),_(null===(t=e.file.originFileObj)||void 0===t?void 0:t.name)},children:[(0,i.jsx)("p",{className:"ant-upload-drag-icon",children:(0,i.jsx)(W.Z,{})}),(0,i.jsx)("p",{style:{color:"rgb(22, 108, 255)",fontSize:"20px"},children:"Select or Drop file"}),(0,i.jsx)("p",{className:"ant-upload-hint",style:{color:"rgb(22, 108, 255)"},children:"PDF, PowerPoint, Excel, Word, Text, Markdown,"})]})}):(0,i.jsxs)(i.Fragment,{children:["Text Source(Optional):",(0,i.jsx)(L.ZP,{placeholder:"Please input the text source",onChange:e=>w(e.target.value),sx:{marginBottom:"20px"}}),"Text:",(0,i.jsx)(U.Z,{onChange:e=>D(e.target.value),minRows:4,sx:{marginBottom:"20px"}})]}),(0,i.jsx)(p.ZP,{component:"label",sx:{marginTop:"20px"},endDecorator:(0,i.jsx)(B.Z,{checked:F,onChange:e=>V(e.target.checked)}),children:"Synch:"})]}),(0,i.jsxs)(c.Z,{direction:"row",justifyContent:"flex-start",alignItems:"center",sx:{marginBottom:"20px"},children:[(0,i.jsx)(u.Z,{variant:"outlined",sx:{marginRight:"20px"},onClick:()=>x(0),children:"< Back"}),(0,i.jsx)(u.Z,{variant:"outlined",onClick:async()=>{if(""===Z){G.ZP.error("Please input the name");return}if("webPage"===f){if(""===j){G.ZP.error("Please input the Web Page URL");return}let e=await fetch("".concat(X.env.API_BASE_URL,"/knowledge/").concat(t,"/document/add"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({doc_name:Z,content:j,doc_type:"URL"})}),a=await e.json();if(a.success&&F&&fetch("".concat(X.env.API_BASE_URL,"/knowledge/").concat(t,"/document/sync"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({doc_ids:[a.data]})}),a.success){G.ZP.success("success"),m(!1);let e=await fetch("".concat(X.env.API_BASE_URL,"/knowledge/").concat(t,"/document/list"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({page:O,page_size:20})}),a=await e.json();a.success&&(y(a.data.data),R(a.data.total),N(a.data.page))}else G.ZP.error(a.err_msg||"failed")}else if("file"===f){if(!T){G.ZP.error("Please select a file");return}let e=new FormData;e.append("doc_name",Z),e.append("doc_file",T),e.append("doc_type","DOCUMENT");let a=await fetch("".concat(X.env.API_BASE_URL,"/knowledge/").concat(t,"/document/upload"),{method:"POST",body:e}),i=await a.json();if(i.success&&F&&fetch("".concat(X.env.API_BASE_URL,"/knowledge/").concat(t,"/document/sync"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({doc_ids:[i.data]})}),i.success){G.ZP.success("success"),m(!1);let e=await fetch("".concat(X.env.API_BASE_URL,"/knowledge/").concat(t,"/document/list"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({page:O,page_size:20})}),a=await e.json();a.success&&(y(a.data.data),R(a.data.total),N(a.data.page))}else G.ZP.error(i.err_msg||"failed")}else{if(""===I){G.ZP.error("Please input the text");return}let e=await fetch("".concat(X.env.API_BASE_URL,"/knowledge/").concat(t,"/document/add"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({doc_name:Z,source:P,content:I,doc_type:"TEXT"})}),a=await e.json();if(a.success&&F&&fetch("".concat(X.env.API_BASE_URL,"/knowledge/").concat(t,"/document/sync"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({doc_ids:[a.data]})}),a.success){G.ZP.success("success"),m(!1);let e=await fetch("".concat(X.env.API_BASE_URL,"/knowledge/").concat(t,"/document/list"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({page:O,page_size:20})}),a=await e.json();a.success&&(y(a.data.data),R(a.data.total),N(a.data.page))}else G.ZP.error(a.err_msg||"failed")}},children:"Finish"})]})]})]})})]})}}},function(e){e.O(0,[550,797,577,86,693,118,440,672,55,642,253,769,744],function(){return e(e.s=22199)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/app/datastores/page-826697a85e728a5c.js b/pilot/server/static/_next/static/chunks/app/datastores/page-826697a85e728a5c.js deleted file mode 100644 index 3c1b7a0b3..000000000 --- a/pilot/server/static/_next/static/chunks/app/datastores/page-826697a85e728a5c.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[43],{29382:function(e,t,n){"use strict";var r=n(78997);t.Z=void 0;var s=r(n(76906)),o=n(9268),i=(0,s.default)([(0,o.jsx)("path",{d:"M5 5h2v3h10V5h2v5h2V5c0-1.1-.9-2-2-2h-4.18C14.4 1.84 13.3 1 12 1s-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h5v-2H5V5zm7-2c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1z"},"0"),(0,o.jsx)("path",{d:"M20.3 18.9c.4-.7.7-1.5.7-2.4 0-2.5-2-4.5-4.5-4.5S12 14 12 16.5s2 4.5 4.5 4.5c.9 0 1.7-.3 2.4-.7l2.7 2.7 1.4-1.4-2.7-2.7zm-3.8.1c-1.4 0-2.5-1.1-2.5-2.5s1.1-2.5 2.5-2.5 2.5 1.1 2.5 2.5-1.1 2.5-2.5 2.5z"},"1")],"ContentPasteSearchOutlined");t.Z=i},31982:function(e,t,n){Promise.resolve().then(n.bind(n,44323))},44323:function(e,t,n){"use strict";n.r(t);var r=n(9268),s=n(56008),o=n(86006),i=n(72474),a=n(59534),c=n(29382),l=n(50157),d=n(21628),x=n(50645),p=n(5737),h=n(78635),u=n(90545),g=n(70900),m=n(11437),f=n(35086),j=n(53113),b=n(866),Z=n(22046),P=n(28086),w=n(78915);let{Dragger:y}=l.default,k=(0,x.Z)(p.Z)(e=>{let{theme:t}=e;return{width:"33%",backgroundColor:"dark"===t.palette.mode?t.palette.background.level1:"#fff",...t.typography.body2,padding:t.spacing(1),textAlign:"center",borderRadius:4,color:t.vars.palette.text.secondary}}),S=["Knowledge Space Config","Choose a Datasource type","Setup the Datasource"],v=[{type:"text",title:"Text",subTitle:"Fill your raw text"},{type:"webPage",title:"URL",subTitle:"Fetch the content of a URL"},{type:"file",title:"Document",subTitle:"Upload a document, document type can be PDF, CSV, Text, PowerPoint, Word, Markdown"}];t.default=()=>{let e=(0,s.useRouter)(),{mode:t}=(0,h.tv)(),[n,l]=(0,o.useState)(0),[x,F]=(0,o.useState)(""),[R,C]=(0,o.useState)([]),[_,z]=(0,o.useState)(!1),[E,N]=(0,o.useState)(""),[T,D]=(0,o.useState)(""),[A,O]=(0,o.useState)(""),[B,W]=(0,o.useState)(""),[U,L]=(0,o.useState)(""),[G,M]=(0,o.useState)(null),[V,I]=(0,o.useState)(!0);return(0,o.useEffect)(()=>{(async function(){let e=await (0,w.PR)("/knowledge/space/list");e.success&&C(e.data)})()},[]),(0,r.jsxs)(u.Z,{sx:{width:"100%",height:"100%"},className:"bg-[#F1F2F5] dark:bg-[#212121]",children:[(0,r.jsx)(u.Z,{className:"page-body p-4",sx:{"&":{height:"90%",overflow:"auto"},"&::-webkit-scrollbar":{display:"none"}},children:(0,r.jsxs)(g.Z,{direction:"row",justifyContent:"space-between",alignItems:"center",flexWrap:"wrap",sx:{"& i":{width:"430px",marginRight:"30px"}},children:[(0,r.jsxs)(u.Z,{sx:{display:"flex",alignContent:"start",boxSizing:"content-box",width:"390px",height:"79px",padding:"33px 20px 40px",marginRight:"30px",marginBottom:"30px",fontSize:"18px",fontWeight:"bold",color:"black",flexShrink:0,flexGrow:0,cursor:"pointer",borderRadius:"16px","&: hover":{boxShadow:"0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);"}},onClick:()=>z(!0),className:"bg-[#E9EBEE] dark:bg-[#484848]",children:[(0,r.jsx)(u.Z,{sx:{width:"32px",height:"32px",lineHeight:"28px",border:"1px solid gray",textAlign:"center",borderRadius:"5px",marginRight:"5px",fontWeight:"300"},children:"+"}),(0,r.jsx)(u.Z,{sx:{fontSize:"16px"},children:"space"})]}),R.map((t,n)=>(0,r.jsxs)(u.Z,{sx:{padding:"30px 20px 40px",marginRight:"30px",marginBottom:"30px",borderTop:"4px solid rgb(84, 164, 248)",flexShrink:0,flexGrow:0,cursor:"pointer",borderRadius:"10px","&: hover":{boxShadow:"0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);"}},onClick:()=>{e.push("/datastores/documents?name=".concat(t.name))},className:"bg-[#FFFFFF] dark:bg-[#484848]",children:[(0,r.jsxs)(u.Z,{sx:{fontSize:"18px",marginBottom:"10px",fontWeight:"bold",color:"black"},children:[(0,r.jsx)(c.Z,{sx:{marginRight:"5px",color:"#2AA3FF"}}),t.name]}),(0,r.jsxs)(u.Z,{sx:{display:"flex",justifyContent:"flex-start"},children:[(0,r.jsxs)(u.Z,{sx:{width:"130px",flexGrow:0,flexShrink:0},children:[(0,r.jsx)(u.Z,{sx:{color:"#2AA3FF"},children:t.vector_type}),(0,r.jsx)(u.Z,{sx:{fontSize:"12px",color:"black"},children:"Vector"})]}),(0,r.jsxs)(u.Z,{sx:{width:"130px",flexGrow:0,flexShrink:0},children:[(0,r.jsx)(u.Z,{sx:{color:"#2AA3FF"},children:t.owner}),(0,r.jsx)(u.Z,{sx:{fontSize:"12px",color:"black"},children:"Owner"})]}),(0,r.jsxs)(u.Z,{sx:{width:"130px",flexGrow:0,flexShrink:0},children:[(0,r.jsx)(u.Z,{sx:{color:"#2AA3FF"},children:t.docs||0}),(0,r.jsx)(u.Z,{sx:{fontSize:"12px",color:"black"},children:"Docs"})]})]})]},n)),(0,r.jsx)("i",{}),(0,r.jsx)("i",{}),(0,r.jsx)("i",{}),(0,r.jsx)("i",{}),(0,r.jsx)("i",{})]})}),(0,r.jsx)(m.Z,{sx:{display:"flex",justifyContent:"center",alignItems:"center","z-index":1e3},open:_,onClose:()=>z(!1),children:(0,r.jsxs)(p.Z,{variant:"outlined",sx:{width:800,borderRadius:"md",p:3,boxShadow:"lg"},children:[(0,r.jsx)(u.Z,{sx:{width:"100%"},children:(0,r.jsx)(g.Z,{spacing:2,direction:"row",children:S.map((e,t)=>(0,r.jsxs)(k,{sx:{fontWeight:n===t?"bold":"",color:n===t?"#814DDE":""},children:[tN(e.target.value)})]}),(0,r.jsx)(j.Z,{variant:"outlined",onClick:async()=>{if(""===E){d.ZP.error("please input the name");return}let e=await (0,w.PR)("/knowledge/space/add",{name:E,vector_type:"Chroma",owner:"keting",desc:"test1"});if(e.success){d.ZP.success("success"),l(1);let e=await (0,w.PR)("/knowledge/space/list");e.success&&C(e.data)}else d.ZP.error(e.err_msg||"failed")},children:"Next"})]}):1===n?(0,r.jsx)(r.Fragment,{children:(0,r.jsx)(u.Z,{sx:{margin:"30px auto"},children:v.map(e=>(0,r.jsxs)(p.Z,{sx:{boxSizing:"border-box",height:"80px",padding:"12px",display:"flex",flexDirection:"column",justifyContent:"space-between",border:"1px solid gray",borderRadius:"6px",marginBottom:"20px",cursor:"pointer"},onClick:()=>{F(e.type),l(2)},children:[(0,r.jsx)(p.Z,{sx:{fontSize:"20px",fontWeight:"bold"},children:e.title}),(0,r.jsx)(p.Z,{children:e.subTitle})]},e.type))})}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(u.Z,{sx:{margin:"30px auto"},children:["Name:",(0,r.jsx)(f.ZP,{placeholder:"Please input the name",onChange:e=>O(e.target.value),sx:{marginBottom:"20px"}}),"webPage"===x?(0,r.jsxs)(r.Fragment,{children:["Web Page URL:",(0,r.jsx)(f.ZP,{placeholder:"Please input the Web Page URL",onChange:e=>D(e.target.value)})]}):"file"===x?(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)(y,{name:"file",multiple:!1,onChange(e){var t;if(console.log(e),0===e.fileList.length){M(null),O("");return}M(e.file.originFileObj),O(null===(t=e.file.originFileObj)||void 0===t?void 0:t.name)},children:[(0,r.jsx)("p",{className:"ant-upload-drag-icon",children:(0,r.jsx)(i.Z,{})}),(0,r.jsx)("p",{style:{color:"rgb(22, 108, 255)",fontSize:"20px"},children:"Select or Drop file"}),(0,r.jsx)("p",{className:"ant-upload-hint",style:{color:"rgb(22, 108, 255)"},children:"PDF, PowerPoint, Excel, Word, Text, Markdown,"})]})}):(0,r.jsxs)(r.Fragment,{children:["Text Source(Optional):",(0,r.jsx)(f.ZP,{placeholder:"Please input the text source",onChange:e=>W(e.target.value),sx:{marginBottom:"20px"}}),"Text:",(0,r.jsx)(b.Z,{onChange:e=>L(e.target.value),minRows:4,sx:{marginBottom:"20px"}})]}),(0,r.jsx)(Z.ZP,{component:"label",sx:{marginTop:"20px"},endDecorator:(0,r.jsx)(P.Z,{checked:V,onChange:e=>I(e.target.checked)}),children:"Synch:"})]}),(0,r.jsxs)(g.Z,{direction:"row",justifyContent:"flex-start",alignItems:"center",sx:{marginBottom:"20px"},children:[(0,r.jsx)(j.Z,{variant:"outlined",sx:{marginRight:"20px"},onClick:()=>l(1),children:"< Back"}),(0,r.jsx)(j.Z,{variant:"outlined",onClick:async()=>{if(""===A){d.ZP.error("Please input the name");return}if("webPage"===x){if(""===T){d.ZP.error("Please input the Web Page URL");return}let e=await (0,w.PR)("/knowledge/".concat(E,"/document/add"),{doc_name:A,content:T,doc_type:"URL"});e.success?(d.ZP.success("success"),z(!1),V&&(0,w.PR)("/knowledge/".concat(E,"/document/sync"),{doc_ids:[e.data]})):d.ZP.error(e.err_msg||"failed")}else if("file"===x){if(!G){d.ZP.error("Please select a file");return}let e=new FormData;e.append("doc_name",A),e.append("doc_file",G),e.append("doc_type","DOCUMENT");let t=await (0,w.Ej)("/knowledge/".concat(E,"/document/upload"),e);t.success?(d.ZP.success("success"),z(!1),V&&(0,w.PR)("/knowledge/".concat(E,"/document/sync"),{doc_ids:[t.data]})):d.ZP.error(t.err_msg||"failed")}else{if(""===U){d.ZP.error("Please input the text");return}let e=await (0,w.PR)("/knowledge/".concat(E,"/document/add"),{doc_name:A,source:B,content:U,doc_type:"TEXT"});e.success?(d.ZP.success("success"),z(!1),V&&(0,w.PR)("/knowledge/".concat(E,"/document/sync"),{doc_ids:[e.data]})):d.ZP.error(e.err_msg||"failed")}},children:"Finish"})]})]})]})})]})}},78915:function(e,t,n){"use strict";n.d(t,{Tk:function(){return d},Kw:function(){return x},PR:function(){return p},Ej:function(){return h}});var r=n(21628),s=n(24214),o=n(52040);let i=s.Z.create({baseURL:o.env.API_BASE_URL});i.defaults.timeout=1e4,i.interceptors.response.use(e=>e.data,e=>Promise.reject(e));var a=n(84835);let c={"content-type":"application/json"},l=e=>{if(!(0,a.isPlainObject)(e))return JSON.stringify(e);let t={...e};for(let e in t){let n=t[e];"string"==typeof n&&(t[e]=n.trim())}return JSON.stringify(t)},d=(e,t)=>{if(t){let n=Object.keys(t).filter(e=>void 0!==t[e]&&""!==t[e]).map(e=>"".concat(e,"=").concat(t[e])).join("&");n&&(e+="?".concat(n))}return i.get("/api"+e,{headers:c}).then(e=>e).catch(e=>{r.ZP.error(e),Promise.reject(e)})},x=(e,t)=>{let n=l(t);return i.post("/api"+e,{body:n,headers:c}).then(e=>e).catch(e=>{r.ZP.error(e),Promise.reject(e)})},p=(e,t)=>{let n=l(t);return i.post(e,{body:n,headers:c}).then(e=>e).catch(e=>{r.ZP.error(e),Promise.reject(e)})},h=(e,t)=>i.post(e,{body:t}).then(e=>e).catch(e=>{r.ZP.error(e),Promise.reject(e)})}},function(e){e.O(0,[180,797,577,214,86,693,118,672,642,253,769,744],function(){return e(e.s=31982)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/app/datastores/page-b6dadf0c78055de8.js b/pilot/server/static/_next/static/chunks/app/datastores/page-b20f7e6815096335.js similarity index 86% rename from pilot/server/static/_next/static/chunks/app/datastores/page-b6dadf0c78055de8.js rename to pilot/server/static/_next/static/chunks/app/datastores/page-b20f7e6815096335.js index 0f7958a82..e79fe142e 100644 --- a/pilot/server/static/_next/static/chunks/app/datastores/page-b6dadf0c78055de8.js +++ b/pilot/server/static/_next/static/chunks/app/datastores/page-b20f7e6815096335.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[43],{29382:function(e,t,r){"use strict";var n=r(78997);t.Z=void 0;var s=n(r(76906)),o=r(9268),a=(0,s.default)([(0,o.jsx)("path",{d:"M5 5h2v3h10V5h2v5h2V5c0-1.1-.9-2-2-2h-4.18C14.4 1.84 13.3 1 12 1s-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h5v-2H5V5zm7-2c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1z"},"0"),(0,o.jsx)("path",{d:"M20.3 18.9c.4-.7.7-1.5.7-2.4 0-2.5-2-4.5-4.5-4.5S12 14 12 16.5s2 4.5 4.5 4.5c.9 0 1.7-.3 2.4-.7l2.7 2.7 1.4-1.4-2.7-2.7zm-3.8.1c-1.4 0-2.5-1.1-2.5-2.5s1.1-2.5 2.5-2.5 2.5 1.1 2.5 2.5-1.1 2.5-2.5 2.5z"},"1")],"ContentPasteSearchOutlined");t.Z=a},31982:function(e,t,r){Promise.resolve().then(r.bind(r,44323))},44323:function(e,t,r){"use strict";r.r(t);var n=r(9268),s=r(56008),o=r(86006),a=r(72474),i=r(59534),c=r(29382),l=r(50157),d=r(21628),x=r(50645),p=r(5737),h=r(78635),u=r(90545),g=r(70900),m=r(11437),f=r(35086),j=r(53113),b=r(866),Z=r(22046),P=r(28086),w=r(78915);let{Dragger:y}=l.default,k=(0,x.Z)(p.Z)(e=>{let{theme:t}=e;return{width:"33%",backgroundColor:"dark"===t.palette.mode?t.palette.background.level1:"#fff",...t.typography.body2,padding:t.spacing(1),textAlign:"center",borderRadius:4,color:t.vars.palette.text.secondary}}),S=["Knowledge Space Config","Choose a Datasource type","Setup the Datasource"],F=[{type:"text",title:"Text",subTitle:"Fill your raw text"},{type:"webPage",title:"URL",subTitle:"Fetch the content of a URL"},{type:"file",title:"Document",subTitle:"Upload a document, document type can be PDF, CSV, Text, PowerPoint, Word, Markdown"}];t.default=()=>{let e=(0,s.useRouter)(),{mode:t}=(0,h.tv)(),[r,l]=(0,o.useState)(0),[x,v]=(0,o.useState)(""),[C,R]=(0,o.useState)([]),[_,A]=(0,o.useState)(!1),[z,N]=(0,o.useState)(""),[T,B]=(0,o.useState)(""),[E,O]=(0,o.useState)(""),[D,W]=(0,o.useState)(""),[U,L]=(0,o.useState)(""),[G,M]=(0,o.useState)(""),[V,H]=(0,o.useState)(""),[I,K]=(0,o.useState)(null),[J,X]=(0,o.useState)(!0);return(0,o.useEffect)(()=>{(async function(){let e=await (0,w.PR)("/knowledge/space/list");e.success&&R(e.data)})()},[]),(0,n.jsxs)(u.Z,{sx:{width:"100%",height:"100%"},className:"bg-[#F1F2F5] dark:bg-[#212121]",children:[(0,n.jsx)(u.Z,{className:"page-body p-4",sx:{"&":{height:"90%",overflow:"auto"},"&::-webkit-scrollbar":{display:"none"}},children:(0,n.jsxs)(g.Z,{direction:"row",justifyContent:"space-between",alignItems:"center",flexWrap:"wrap",sx:{"& i":{width:"430px",marginRight:"30px"}},children:[(0,n.jsxs)(u.Z,{sx:{display:"flex",alignContent:"start",boxSizing:"content-box",width:"390px",height:"79px",padding:"33px 20px 40px",marginRight:"30px",marginBottom:"30px",fontSize:"18px",fontWeight:"bold",color:"black",flexShrink:0,flexGrow:0,cursor:"pointer",borderRadius:"16px","&: hover":{boxShadow:"0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);"}},onClick:()=>A(!0),className:"bg-[#E9EBEE] dark:bg-[#484848]",children:[(0,n.jsx)(u.Z,{sx:{width:"32px",height:"32px",lineHeight:"28px",border:"1px solid #2AA3FF",textAlign:"center",borderRadius:"5px",marginRight:"5px",fontWeight:"300",color:"#2AA3FF"},children:"+"}),(0,n.jsx)(u.Z,{sx:{fontSize:"16px"},children:"space"})]}),C.map((t,r)=>(0,n.jsxs)(u.Z,{sx:{padding:"30px 20px 40px",marginRight:"30px",marginBottom:"30px",borderTop:"4px solid rgb(84, 164, 248)",flexShrink:0,flexGrow:0,cursor:"pointer",borderRadius:"10px","&: hover":{boxShadow:"0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);"}},onClick:()=>{e.push("/datastores/documents?name=".concat(t.name))},className:"bg-[#FFFFFF] dark:bg-[#484848]",children:[(0,n.jsxs)(u.Z,{sx:{fontSize:"18px",marginBottom:"10px",fontWeight:"bold",color:"black"},children:[(0,n.jsx)(c.Z,{sx:{marginRight:"5px",color:"#2AA3FF"}}),t.name]}),(0,n.jsxs)(u.Z,{sx:{display:"flex",justifyContent:"flex-start"},children:[(0,n.jsxs)(u.Z,{sx:{width:"130px",flexGrow:0,flexShrink:0},children:[(0,n.jsx)(u.Z,{sx:{color:"#2AA3FF"},children:t.vector_type}),(0,n.jsx)(u.Z,{sx:{fontSize:"12px",color:"black"},children:"Vector"})]}),(0,n.jsxs)(u.Z,{sx:{width:"130px",flexGrow:0,flexShrink:0},children:[(0,n.jsx)(u.Z,{sx:{color:"#2AA3FF"},children:t.owner}),(0,n.jsx)(u.Z,{sx:{fontSize:"12px",color:"black"},children:"Owner"})]}),(0,n.jsxs)(u.Z,{sx:{width:"130px",flexGrow:0,flexShrink:0},children:[(0,n.jsx)(u.Z,{sx:{color:"#2AA3FF"},children:t.docs||0}),(0,n.jsx)(u.Z,{sx:{fontSize:"12px",color:"black"},children:"Docs"})]})]})]},r)),(0,n.jsx)("i",{}),(0,n.jsx)("i",{}),(0,n.jsx)("i",{}),(0,n.jsx)("i",{}),(0,n.jsx)("i",{})]})}),(0,n.jsx)(m.Z,{sx:{display:"flex",justifyContent:"center",alignItems:"center","z-index":1e3},open:_,onClose:()=>A(!1),children:(0,n.jsxs)(p.Z,{variant:"outlined",sx:{width:800,borderRadius:"md",p:3,boxShadow:"lg"},children:[(0,n.jsx)(u.Z,{sx:{width:"100%"},children:(0,n.jsx)(g.Z,{spacing:2,direction:"row",children:S.map((e,t)=>(0,n.jsxs)(k,{sx:{fontWeight:r===t?"bold":"",color:r===t?"#2AA3FF":""},children:[tN(e.target.value),sx:{marginBottom:"20px"}}),"Owner:",(0,n.jsx)(f.ZP,{placeholder:"Please input the owner",onChange:e=>B(e.target.value),sx:{marginBottom:"20px"}}),"Description:",(0,n.jsx)(f.ZP,{placeholder:"Please input the description",onChange:e=>O(e.target.value),sx:{marginBottom:"20px"}})]}),(0,n.jsx)(j.Z,{variant:"outlined",onClick:async()=>{if(""===z){d.ZP.error("please input the name");return}if(""===T){d.ZP.error("please input the owner");return}if(""===E){d.ZP.error("please input the description");return}let e=await (0,w.PR)("/knowledge/space/add",{name:z,vector_type:"Chroma",owner:T,desc:E});if(e.success){d.ZP.success("success"),l(1);let e=await (0,w.PR)("/knowledge/space/list");e.success&&R(e.data)}else d.ZP.error(e.err_msg||"failed")},children:"Next"})]}):1===r?(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(u.Z,{sx:{margin:"30px auto"},children:F.map(e=>(0,n.jsxs)(p.Z,{sx:{boxSizing:"border-box",height:"80px",padding:"12px",display:"flex",flexDirection:"column",justifyContent:"space-between",border:"1px solid gray",borderRadius:"6px",marginBottom:"20px",cursor:"pointer"},onClick:()=>{v(e.type),l(2)},children:[(0,n.jsx)(p.Z,{sx:{fontSize:"20px",fontWeight:"bold"},children:e.title}),(0,n.jsx)(p.Z,{children:e.subTitle})]},e.type))})}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(u.Z,{sx:{margin:"30px auto"},children:["Name:",(0,n.jsx)(f.ZP,{placeholder:"Please input the name",onChange:e=>L(e.target.value),sx:{marginBottom:"20px"}}),"webPage"===x?(0,n.jsxs)(n.Fragment,{children:["Web Page URL:",(0,n.jsx)(f.ZP,{placeholder:"Please input the Web Page URL",onChange:e=>W(e.target.value)})]}):"file"===x?(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)(y,{name:"file",multiple:!1,onChange(e){var t;if(console.log(e),0===e.fileList.length){K(null),L("");return}K(e.file.originFileObj),L(null===(t=e.file.originFileObj)||void 0===t?void 0:t.name)},children:[(0,n.jsx)("p",{className:"ant-upload-drag-icon",children:(0,n.jsx)(a.Z,{})}),(0,n.jsx)("p",{style:{color:"rgb(22, 108, 255)",fontSize:"20px"},children:"Select or Drop file"}),(0,n.jsx)("p",{className:"ant-upload-hint",style:{color:"rgb(22, 108, 255)"},children:"PDF, PowerPoint, Excel, Word, Text, Markdown,"})]})}):(0,n.jsxs)(n.Fragment,{children:["Text Source(Optional):",(0,n.jsx)(f.ZP,{placeholder:"Please input the text source",onChange:e=>M(e.target.value),sx:{marginBottom:"20px"}}),"Text:",(0,n.jsx)(b.Z,{onChange:e=>H(e.target.value),minRows:4,sx:{marginBottom:"20px"}})]}),(0,n.jsx)(Z.ZP,{component:"label",sx:{marginTop:"20px"},endDecorator:(0,n.jsx)(P.Z,{checked:J,onChange:e=>X(e.target.checked)}),children:"Synch:"})]}),(0,n.jsxs)(g.Z,{direction:"row",justifyContent:"flex-start",alignItems:"center",sx:{marginBottom:"20px"},children:[(0,n.jsx)(j.Z,{variant:"outlined",sx:{marginRight:"20px"},onClick:()=>l(1),children:"< Back"}),(0,n.jsx)(j.Z,{variant:"outlined",onClick:async()=>{if(""===U){d.ZP.error("Please input the name");return}if("webPage"===x){if(""===D){d.ZP.error("Please input the Web Page URL");return}let e=await (0,w.PR)("/knowledge/".concat(z,"/document/add"),{doc_name:U,content:D,doc_type:"URL"});e.success?(d.ZP.success("success"),A(!1),J&&(0,w.PR)("/knowledge/".concat(z,"/document/sync"),{doc_ids:[e.data]})):d.ZP.error(e.err_msg||"failed")}else if("file"===x){if(!I){d.ZP.error("Please select a file");return}let e=new FormData;e.append("doc_name",U),e.append("doc_file",I),e.append("doc_type","DOCUMENT");let t=await (0,w.Ej)("/knowledge/".concat(z,"/document/upload"),e);t.success?(d.ZP.success("success"),A(!1),J&&(0,w.PR)("/knowledge/".concat(z,"/document/sync"),{doc_ids:[t.data]})):d.ZP.error(t.err_msg||"failed")}else{if(""===V){d.ZP.error("Please input the text");return}let e=await (0,w.PR)("/knowledge/".concat(z,"/document/add"),{doc_name:U,source:G,content:V,doc_type:"TEXT"});e.success?(d.ZP.success("success"),A(!1),J&&(0,w.PR)("/knowledge/".concat(z,"/document/sync"),{doc_ids:[e.data]})):d.ZP.error(e.err_msg||"failed")}},children:"Finish"})]})]})]})})]})}},78915:function(e,t,r){"use strict";r.d(t,{Tk:function(){return l},Kw:function(){return d},PR:function(){return x},Ej:function(){return p}});var n=r(21628),s=r(24214);let o=s.Z.create({baseURL:"http://127.0.0.1:5000"});o.defaults.timeout=1e4,o.interceptors.response.use(e=>e.data,e=>Promise.reject(e));var a=r(84835);let i={"content-type":"application/json"},c=e=>{if(!(0,a.isPlainObject)(e))return JSON.stringify(e);let t={...e};for(let e in t){let r=t[e];"string"==typeof r&&(t[e]=r.trim())}return JSON.stringify(t)},l=(e,t)=>{if(t){let r=Object.keys(t).filter(e=>void 0!==t[e]&&""!==t[e]).map(e=>"".concat(e,"=").concat(t[e])).join("&");r&&(e+="?".concat(r))}return o.get("/api"+e,{headers:i}).then(e=>e).catch(e=>{n.ZP.error(e),Promise.reject(e)})},d=(e,t)=>{let r=c(t);return o.post("/api"+e,{body:r,headers:i}).then(e=>e).catch(e=>{n.ZP.error(e),Promise.reject(e)})},x=(e,t)=>{let r=c(t);return o.post(e,{body:r,headers:i}).then(e=>e).catch(e=>{n.ZP.error(e),Promise.reject(e)})},p=(e,t)=>o.post(e,{body:t}).then(e=>e).catch(e=>{n.ZP.error(e),Promise.reject(e)})}},function(e){e.O(0,[180,752,685,86,693,118,672,642,253,769,744],function(){return e(e.s=31982)}),_N_E=e.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[43],{29382:function(e,t,r){"use strict";var n=r(78997);t.Z=void 0;var s=n(r(76906)),o=r(9268),a=(0,s.default)([(0,o.jsx)("path",{d:"M5 5h2v3h10V5h2v5h2V5c0-1.1-.9-2-2-2h-4.18C14.4 1.84 13.3 1 12 1s-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h5v-2H5V5zm7-2c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1z"},"0"),(0,o.jsx)("path",{d:"M20.3 18.9c.4-.7.7-1.5.7-2.4 0-2.5-2-4.5-4.5-4.5S12 14 12 16.5s2 4.5 4.5 4.5c.9 0 1.7-.3 2.4-.7l2.7 2.7 1.4-1.4-2.7-2.7zm-3.8.1c-1.4 0-2.5-1.1-2.5-2.5s1.1-2.5 2.5-2.5 2.5 1.1 2.5 2.5-1.1 2.5-2.5 2.5z"},"1")],"ContentPasteSearchOutlined");t.Z=a},31982:function(e,t,r){Promise.resolve().then(r.bind(r,44323))},44323:function(e,t,r){"use strict";r.r(t);var n=r(9268),s=r(56008),o=r(86006),a=r(72474),i=r(59534),c=r(29382),l=r(50157),d=r(21628),x=r(50645),p=r(5737),h=r(78635),u=r(90545),g=r(70900),m=r(11437),f=r(35086),j=r(53113),b=r(866),Z=r(22046),P=r(28086),w=r(78915);let{Dragger:y}=l.default,k=(0,x.Z)(p.Z)(e=>{let{theme:t}=e;return{width:"33%",backgroundColor:"dark"===t.palette.mode?t.palette.background.level1:"#fff",...t.typography.body2,padding:t.spacing(1),textAlign:"center",borderRadius:4,color:t.vars.palette.text.secondary}}),S=["Knowledge Space Config","Choose a Datasource type","Setup the Datasource"],F=[{type:"text",title:"Text",subTitle:"Fill your raw text"},{type:"webPage",title:"URL",subTitle:"Fetch the content of a URL"},{type:"file",title:"Document",subTitle:"Upload a document, document type can be PDF, CSV, Text, PowerPoint, Word, Markdown"}];t.default=()=>{let e=(0,s.useRouter)(),{mode:t}=(0,h.tv)(),[r,l]=(0,o.useState)(0),[x,v]=(0,o.useState)(""),[C,R]=(0,o.useState)([]),[_,A]=(0,o.useState)(!1),[z,N]=(0,o.useState)(""),[T,B]=(0,o.useState)(""),[E,O]=(0,o.useState)(""),[D,W]=(0,o.useState)(""),[U,L]=(0,o.useState)(""),[G,M]=(0,o.useState)(""),[V,I]=(0,o.useState)(""),[H,K]=(0,o.useState)(null),[J,X]=(0,o.useState)(!0);return(0,o.useEffect)(()=>{(async function(){let e=await (0,w.PR)("/knowledge/space/list");e.success&&R(e.data)})()},[]),(0,n.jsxs)(u.Z,{sx:{width:"100%",height:"100%"},className:"bg-[#F1F2F5] dark:bg-[#212121]",children:[(0,n.jsx)(u.Z,{className:"page-body p-4",sx:{"&":{height:"90%",overflow:"auto"},"&::-webkit-scrollbar":{display:"none"}},children:(0,n.jsxs)(g.Z,{direction:"row",justifyContent:"space-between",alignItems:"center",flexWrap:"wrap",sx:{"& i":{width:"430px",marginRight:"30px"}},children:[(0,n.jsxs)(u.Z,{sx:{display:"flex",alignContent:"start",boxSizing:"content-box",width:"390px",height:"79px",padding:"33px 20px 40px",marginRight:"30px",marginBottom:"30px",fontSize:"18px",fontWeight:"bold",color:"black",flexShrink:0,flexGrow:0,cursor:"pointer",borderRadius:"16px","&: hover":{boxShadow:"0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);"}},onClick:()=>A(!0),className:"bg-[#E9EBEE] dark:bg-[#484848]",children:[(0,n.jsx)(u.Z,{sx:{width:"32px",height:"32px",lineHeight:"28px",border:"1px solid #2AA3FF",textAlign:"center",borderRadius:"5px",marginRight:"5px",fontWeight:"300",color:"#2AA3FF"},children:"+"}),(0,n.jsx)(u.Z,{sx:{fontSize:"16px"},children:"space"})]}),C.map((t,r)=>(0,n.jsxs)(u.Z,{sx:{padding:"30px 20px 40px",marginRight:"30px",marginBottom:"30px",borderTop:"4px solid rgb(84, 164, 248)",flexShrink:0,flexGrow:0,cursor:"pointer",borderRadius:"10px","&: hover":{boxShadow:"0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);"}},onClick:()=>{e.push("/datastores/documents?name=".concat(t.name))},className:"bg-[#FFFFFF] dark:bg-[#484848]",children:[(0,n.jsxs)(u.Z,{sx:{fontSize:"18px",marginBottom:"10px",fontWeight:"bold",color:"black"},children:[(0,n.jsx)(c.Z,{sx:{marginRight:"5px",color:"#2AA3FF"}}),t.name]}),(0,n.jsxs)(u.Z,{sx:{display:"flex",justifyContent:"flex-start"},children:[(0,n.jsxs)(u.Z,{sx:{width:"130px",flexGrow:0,flexShrink:0},children:[(0,n.jsx)(u.Z,{sx:{color:"#2AA3FF"},children:t.vector_type}),(0,n.jsx)(u.Z,{sx:{fontSize:"12px",color:"black"},children:"Vector"})]}),(0,n.jsxs)(u.Z,{sx:{width:"130px",flexGrow:0,flexShrink:0},children:[(0,n.jsx)(u.Z,{sx:{color:"#2AA3FF"},children:t.owner}),(0,n.jsx)(u.Z,{sx:{fontSize:"12px",color:"black"},children:"Owner"})]}),(0,n.jsxs)(u.Z,{sx:{width:"130px",flexGrow:0,flexShrink:0},children:[(0,n.jsx)(u.Z,{sx:{color:"#2AA3FF"},children:t.docs||0}),(0,n.jsx)(u.Z,{sx:{fontSize:"12px",color:"black"},children:"Docs"})]})]})]},r)),(0,n.jsx)("i",{}),(0,n.jsx)("i",{}),(0,n.jsx)("i",{}),(0,n.jsx)("i",{}),(0,n.jsx)("i",{})]})}),(0,n.jsx)(m.Z,{sx:{display:"flex",justifyContent:"center",alignItems:"center","z-index":1e3},open:_,onClose:()=>A(!1),children:(0,n.jsxs)(p.Z,{variant:"outlined",sx:{width:800,borderRadius:"md",p:3,boxShadow:"lg"},children:[(0,n.jsx)(u.Z,{sx:{width:"100%"},children:(0,n.jsx)(g.Z,{spacing:2,direction:"row",children:S.map((e,t)=>(0,n.jsxs)(k,{sx:{fontWeight:r===t?"bold":"",color:r===t?"#2AA3FF":""},children:[tN(e.target.value),sx:{marginBottom:"20px"}}),"Owner:",(0,n.jsx)(f.ZP,{placeholder:"Please input the owner",onChange:e=>B(e.target.value),sx:{marginBottom:"20px"}}),"Description:",(0,n.jsx)(f.ZP,{placeholder:"Please input the description",onChange:e=>O(e.target.value),sx:{marginBottom:"20px"}})]}),(0,n.jsx)(j.Z,{variant:"outlined",onClick:async()=>{if(""===z){d.ZP.error("please input the name");return}if(""===T){d.ZP.error("please input the owner");return}if(""===E){d.ZP.error("please input the description");return}let e=await (0,w.PR)("/knowledge/space/add",{name:z,vector_type:"Chroma",owner:T,desc:E});if(e.success){d.ZP.success("success"),l(1);let e=await (0,w.PR)("/knowledge/space/list");e.success&&R(e.data)}else d.ZP.error(e.err_msg||"failed")},children:"Next"})]}):1===r?(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(u.Z,{sx:{margin:"30px auto"},children:F.map(e=>(0,n.jsxs)(p.Z,{sx:{boxSizing:"border-box",height:"80px",padding:"12px",display:"flex",flexDirection:"column",justifyContent:"space-between",border:"1px solid gray",borderRadius:"6px",marginBottom:"20px",cursor:"pointer"},onClick:()=>{v(e.type),l(2)},children:[(0,n.jsx)(p.Z,{sx:{fontSize:"20px",fontWeight:"bold"},children:e.title}),(0,n.jsx)(p.Z,{children:e.subTitle})]},e.type))})}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(u.Z,{sx:{margin:"30px auto"},children:["Name:",(0,n.jsx)(f.ZP,{placeholder:"Please input the name",onChange:e=>L(e.target.value),sx:{marginBottom:"20px"}}),"webPage"===x?(0,n.jsxs)(n.Fragment,{children:["Web Page URL:",(0,n.jsx)(f.ZP,{placeholder:"Please input the Web Page URL",onChange:e=>W(e.target.value)})]}):"file"===x?(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)(y,{name:"file",multiple:!1,onChange(e){var t;if(console.log(e),0===e.fileList.length){K(null),L("");return}K(e.file.originFileObj),L(null===(t=e.file.originFileObj)||void 0===t?void 0:t.name)},children:[(0,n.jsx)("p",{className:"ant-upload-drag-icon",children:(0,n.jsx)(a.Z,{})}),(0,n.jsx)("p",{style:{color:"rgb(22, 108, 255)",fontSize:"20px"},children:"Select or Drop file"}),(0,n.jsx)("p",{className:"ant-upload-hint",style:{color:"rgb(22, 108, 255)"},children:"PDF, PowerPoint, Excel, Word, Text, Markdown,"})]})}):(0,n.jsxs)(n.Fragment,{children:["Text Source(Optional):",(0,n.jsx)(f.ZP,{placeholder:"Please input the text source",onChange:e=>M(e.target.value),sx:{marginBottom:"20px"}}),"Text:",(0,n.jsx)(b.Z,{onChange:e=>I(e.target.value),minRows:4,sx:{marginBottom:"20px"}})]}),(0,n.jsx)(Z.ZP,{component:"label",sx:{marginTop:"20px"},endDecorator:(0,n.jsx)(P.Z,{checked:J,onChange:e=>X(e.target.checked)}),children:"Synch:"})]}),(0,n.jsxs)(g.Z,{direction:"row",justifyContent:"flex-start",alignItems:"center",sx:{marginBottom:"20px"},children:[(0,n.jsx)(j.Z,{variant:"outlined",sx:{marginRight:"20px"},onClick:()=>l(1),children:"< Back"}),(0,n.jsx)(j.Z,{variant:"outlined",onClick:async()=>{if(""===U){d.ZP.error("Please input the name");return}if("webPage"===x){if(""===D){d.ZP.error("Please input the Web Page URL");return}let e=await (0,w.PR)("/knowledge/".concat(z,"/document/add"),{doc_name:U,content:D,doc_type:"URL"});e.success?(d.ZP.success("success"),A(!1),J&&(0,w.PR)("/knowledge/".concat(z,"/document/sync"),{doc_ids:[e.data]})):d.ZP.error(e.err_msg||"failed")}else if("file"===x){if(!H){d.ZP.error("Please select a file");return}let e=new FormData;e.append("doc_name",U),e.append("doc_file",H),e.append("doc_type","DOCUMENT");let t=await (0,w.Ej)("/knowledge/".concat(z,"/document/upload"),e);t.success?(d.ZP.success("success"),A(!1),J&&(0,w.PR)("/knowledge/".concat(z,"/document/sync"),{doc_ids:[t.data]})):d.ZP.error(t.err_msg||"failed")}else{if(""===V){d.ZP.error("Please input the text");return}let e=await (0,w.PR)("/knowledge/".concat(z,"/document/add"),{doc_name:U,source:G,content:V,doc_type:"TEXT"});e.success?(d.ZP.success("success"),A(!1),J&&(0,w.PR)("/knowledge/".concat(z,"/document/sync"),{doc_ids:[e.data]})):d.ZP.error(e.err_msg||"failed")}},children:"Finish"})]})]})]})})]})}},78915:function(e,t,r){"use strict";r.d(t,{Tk:function(){return d},Kw:function(){return x},PR:function(){return p},Ej:function(){return h}});var n=r(21628),s=r(24214),o=r(52040);let a=s.Z.create({baseURL:o.env.API_BASE_URL});a.defaults.timeout=1e4,a.interceptors.response.use(e=>e.data,e=>Promise.reject(e));var i=r(84835);let c={"content-type":"application/json"},l=e=>{if(!(0,i.isPlainObject)(e))return JSON.stringify(e);let t={...e};for(let e in t){let r=t[e];"string"==typeof r&&(t[e]=r.trim())}return JSON.stringify(t)},d=(e,t)=>{if(t){let r=Object.keys(t).filter(e=>void 0!==t[e]&&""!==t[e]).map(e=>"".concat(e,"=").concat(t[e])).join("&");r&&(e+="?".concat(r))}return a.get("/api"+e,{headers:c}).then(e=>e).catch(e=>{n.ZP.error(e),Promise.reject(e)})},x=(e,t)=>{let r=l(t);return a.post("/api"+e,{body:r,headers:c}).then(e=>e).catch(e=>{n.ZP.error(e),Promise.reject(e)})},p=(e,t)=>{let r=l(t);return a.post(e,{body:r,headers:c}).then(e=>e).catch(e=>{n.ZP.error(e),Promise.reject(e)})},h=(e,t)=>a.post(e,{body:t}).then(e=>e).catch(e=>{n.ZP.error(e),Promise.reject(e)})}},function(e){e.O(0,[180,106,685,86,693,118,672,642,253,769,744],function(){return e(e.s=31982)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/app/layout-5cd4df61bdf482b4.js b/pilot/server/static/_next/static/chunks/app/layout-5cd4df61bdf482b4.js deleted file mode 100644 index 7ec37f076..000000000 --- a/pilot/server/static/_next/static/chunks/app/layout-5cd4df61bdf482b4.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[185],{72431:function(){},91541:function(e,t,r){Promise.resolve().then(r.bind(r,50902))},57931:function(e,t,r){"use strict";r.d(t,{ZP:function(){return d},Cg:function(){return o}});var n=r(9268),i=r(89081),s=r(78915),l=r(86006);let[o,a]=function(){let e=l.createContext(void 0);return[function(){let t=l.useContext(e);if(void 0===t)throw Error("useCtx must be inside a Provider with a value");return t},e.Provider]}();var d=e=>{let{children:t}=e,{run:r,data:l,refresh:o}=(0,i.Z)(async()=>await (0,s.Tk)("/v1/chat/dialogue/list"),{manual:!0});return(0,n.jsx)(a,{value:{dialogueList:l,queryDialogueList:r,refreshDialogList:o},children:t})}},50902:function(e,t,r){"use strict";let n,i;r.r(t),r.d(t,{default:function(){return K}});var s=r(9268);r(97402),r(23517);var l=r(86006),o=r(56008),a=r(35846),d=r.n(a),c=r(20837),u=r(78635),h=r(90545),f=r(22046),x=r(53113),m=r(18818),p=r(4882),v=r(70092),j=r(64579),g=r(53047),b=r(62921),y=r(40020),Z=r(11515),w=r(84892),k=r(601),C=r(1301),B=r(98703),P=r(57931),N=r(66664),_=r(78915),D=()=>{var e;let t=(0,o.usePathname)(),r=(0,o.useSearchParams)(),n=r.get("id"),i=(0,o.useRouter)(),{dialogueList:a,queryDialogueList:D,refreshDialogList:E}=(0,P.Cg)(),{mode:S,setMode:z}=(0,u.tv)(),F=(0,l.useMemo)(()=>[{label:"Knowledge Space",route:"/datastores",icon:(0,s.jsx)(y.Z,{fontSize:"small"}),active:"/datastores"===t}],[t]);return(0,l.useEffect)(()=>{(async()=>{await D()})()},[]),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("nav",{className:"flex h-12 items-center justify-between border-b px-4 dark:border-gray-800 dark:bg-gray-800/70 md:hidden",children:[(0,s.jsx)("div",{children:(0,s.jsx)(k.Z,{})}),(0,s.jsx)("span",{className:"truncate px-4",children:"New Chat"}),(0,s.jsx)("a",{href:"",className:"-mr-3 flex h-9 w-9 shrink-0 items-center justify-center",children:(0,s.jsx)(C.Z,{})})]}),(0,s.jsx)("nav",{className:"grid max-h-screen h-full max-md:hidden",children:(0,s.jsxs)(h.Z,{sx:{display:"flex",flexDirection:"column",borderRight:"1px solid",borderColor:"divider",maxHeight:"100vh",position:"sticky",left:"0px",top:"0px",overflow:"hidden"},children:[(0,s.jsx)(h.Z,{sx:{p:2,gap:2,display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"center"},children:(0,s.jsx)("div",{className:"flex items-center gap-3",children:(0,s.jsx)(f.ZP,{component:"h1",fontWeight:"xl",children:"DB-GPT"})})}),(0,s.jsx)(h.Z,{sx:{px:2},children:(0,s.jsx)(d(),{href:"/",children:(0,s.jsx)(x.Z,{color:"primary",className:"w-full bg-gradient-to-r from-[#31afff] to-[#1677ff] dark:bg-gradient-to-r dark:from-[#6a6a6a] dark:to-[#80868f]",style:{color:"#fff"},children:"+ New Chat"})})}),(0,s.jsx)(h.Z,{sx:{p:2,display:{xs:"none",sm:"initial"},maxHeight:"100%",overflow:"auto"},children:(0,s.jsx)(m.Z,{size:"sm",sx:{"--ListItem-radius":"8px"},children:(0,s.jsx)(p.Z,{nested:!0,children:(0,s.jsx)(m.Z,{size:"sm","aria-labelledby":"nav-list-browse",sx:{"& .JoyListItemButton-root":{p:"8px"},gap:"4px"},children:null==a?void 0:null===(e=a.data)||void 0===e?void 0:e.map(e=>{let l=("/chat"===t||"/chat/"===t)&&n===e.conv_uid;return(0,s.jsx)(p.Z,{children:(0,s.jsx)(v.Z,{selected:l,variant:l?"soft":"plain",sx:{"&:hover .del-btn":{visibility:"visible"}},children:(0,s.jsx)(j.Z,{children:(0,s.jsxs)(d(),{href:"/chat?id=".concat(e.conv_uid,"&scene=").concat(null==e?void 0:e.chat_mode),className:"flex items-center justify-between",children:[(0,s.jsxs)(f.ZP,{fontSize:14,noWrap:!0,children:[(0,s.jsx)(B.Z,{style:{marginRight:"0.5rem"}}),(null==e?void 0:e.user_name)||(null==e?void 0:e.user_input)||"undefined"]}),(0,s.jsx)(g.ZP,{color:"neutral",variant:"plain",size:"sm",onClick:n=>{n.preventDefault(),n.stopPropagation(),c.Z.confirm({title:"Delete Chat",content:"Are you sure delete this chat?",width:"276px",centered:!0,async onOk(){await (0,_.Kw)("/v1/chat/dialogue/delete?con_uid=".concat(e.conv_uid)),await E(),"/chat"===t&&r.get("id")===e.conv_uid&&i.push("/")}})},className:"del-btn invisible",children:(0,s.jsx)(N.Z,{})})]})})})},e.conv_uid)})})})})}),(0,s.jsxs)("div",{className:"flex flex-col justify-between flex-1",children:[(0,s.jsx)("div",{}),(0,s.jsx)(h.Z,{sx:{p:2,pt:3,pb:6,borderTop:"1px solid",borderColor:"divider",display:{xs:"none",sm:"initial"},position:"sticky",bottom:0,zIndex:100,background:"var(--joy-palette-background-body)"},children:(0,s.jsxs)(m.Z,{size:"sm",sx:{"--ListItem-radius":"8px"},children:[(0,s.jsx)(p.Z,{nested:!0,children:(0,s.jsx)(m.Z,{size:"sm","aria-labelledby":"nav-list-browse",sx:{"& .JoyListItemButton-root":{p:"8px"}},children:F.map(e=>(0,s.jsx)(d(),{href:e.route,children:(0,s.jsx)(p.Z,{children:(0,s.jsxs)(v.Z,{color:"neutral",sx:{marginBottom:1,height:"2.5rem"},selected:e.active,variant:e.active?"soft":"plain",children:[(0,s.jsx)(b.Z,{sx:{color:e.active?"inherit":"neutral.500"},children:e.icon}),(0,s.jsx)(j.Z,{children:e.label})]})})},e.route))})}),(0,s.jsx)(p.Z,{children:(0,s.jsxs)(v.Z,{sx:{height:"2.5rem"},onClick:()=>{"light"===S?z("dark"):z("light")},children:[(0,s.jsx)(b.Z,{children:"dark"===S?(0,s.jsx)(Z.Z,{fontSize:"small"}):(0,s.jsx)(w.Z,{fontSize:"small"})}),(0,s.jsx)(j.Z,{children:"Theme"})]})})]})})]})]})})]})},E=r(29720),S=r(41287),z=r(38230);let F=(0,S.Z)({colorSchemes:{light:{palette:{mode:"dark",primary:{...z.Z.grey,solidBg:"#e6f4ff",solidColor:"#1677ff",solidHoverBg:"#e6f4ff"},neutral:{plainColor:"#4d4d4d",plainHoverColor:"#131318",plainHoverBg:"#EBEBEF",plainActiveBg:"#D8D8DF",plainDisabledColor:"#B9B9C6"},background:{body:"#fff",surface:"#fff"},text:{primary:"#505050"}}},dark:{palette:{mode:"light",primary:{...z.Z.grey,softBg:"#353539",softHoverBg:"#35353978",softDisabledBg:"#353539",solidBg:"#51525beb",solidHoverBg:"#51525beb"},neutral:{plainColor:"#D8D8DF",plainHoverColor:"#F7F7F8",plainHoverBg:"#353539",plainActiveBg:"#434356",plainDisabledColor:"#434356",outlinedBorder:"#353539",outlinedHoverBorder:"#454651"},text:{primary:"#EBEBEF"},background:{body:"#212121",surface:"#51525beb"}}}},fontFamily:{body:"Josefin Sans, sans-serif",display:"Josefin Sans, sans-serif"},typography:{display1:{background:"linear-gradient(-30deg, var(--joy-palette-primary-900), var(--joy-palette-primary-400))",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent"}}});var H=r(53794),L=r.n(H),T=r(54486),O=r.n(T);let I=0;function J(){"loading"!==i&&(i="loading",n=setTimeout(function(){O().start()},250))}function R(){I>0||(i="stop",clearTimeout(n),O().done())}if(L().events.on("routeChangeStart",J),L().events.on("routeChangeComplete",R),L().events.on("routeChangeError",R),"function"==typeof(null==window?void 0:window.fetch)){let e=window.fetch;window.fetch=async function(){for(var t=arguments.length,r=Array(t),n=0;n{if((null==n?void 0:n.current)&&r){var e,t,i,s,l,o;null==n||null===(e=n.current)||void 0===e||null===(t=e.classList)||void 0===t||t.add(r),"light"===r?null==n||null===(i=n.current)||void 0===i||null===(s=i.classList)||void 0===s||s.remove("dark"):null==n||null===(l=n.current)||void 0===l||null===(o=l.classList)||void 0===o||o.remove("light")}},[n,r]),(0,s.jsxs)("div",{ref:n,className:"h-full",children:[(0,s.jsx)(A,{}),(0,s.jsx)(P.ZP,{children:(0,s.jsx)("div",{className:"contents h-full",children:(0,s.jsxs)("div",{className:"grid h-full w-screen grid-cols-1 grid-rows-[auto,1fr] overflow-hidden text-smd dark:text-gray-300 md:grid-cols-[280px,1fr] md:grid-rows-[1fr]",children:[(0,s.jsx)(D,{}),(0,s.jsx)("div",{className:"relative min-h-0 min-w-0",children:t})]})})})]})}var K=function(e){let{children:t}=e;return(0,s.jsx)("html",{lang:"en",className:"h-full font-sans",children:(0,s.jsx)("body",{className:"h-full font-sans",children:(0,s.jsx)(E.Z,{theme:F,children:(0,s.jsx)(u.lL,{theme:F,defaultMode:"light",children:(0,s.jsx)(W,{children:t})})})})})}},78915:function(e,t,r){"use strict";r.d(t,{Tk:function(){return d},Kw:function(){return c},PR:function(){return u},Ej:function(){return h}});var n=r(21628),i=r(24214);let s=i.Z.create({baseURL:"http://127.0.0.1:5000"});s.defaults.timeout=1e4,s.interceptors.response.use(e=>e.data,e=>Promise.reject(e));var l=r(84835);let o={"content-type":"application/json"},a=e=>{if(!(0,l.isPlainObject)(e))return JSON.stringify(e);let t={...e};for(let e in t){let r=t[e];"string"==typeof r&&(t[e]=r.trim())}return JSON.stringify(t)},d=(e,t)=>{if(t){let r=Object.keys(t).filter(e=>void 0!==t[e]&&""!==t[e]).map(e=>"".concat(e,"=").concat(t[e])).join("&");r&&(e+="?".concat(r))}return s.get("/api"+e,{headers:o}).then(e=>e).catch(e=>{n.ZP.error(e),Promise.reject(e)})},c=(e,t)=>{let r=a(t);return s.post("/api"+e,{body:r,headers:o}).then(e=>e).catch(e=>{n.ZP.error(e),Promise.reject(e)})},u=(e,t)=>{let r=a(t);return s.post(e,{body:r,headers:o}).then(e=>e).catch(e=>{n.ZP.error(e),Promise.reject(e)})},h=(e,t)=>s.post(e,{body:t}).then(e=>e).catch(e=>{n.ZP.error(e),Promise.reject(e)})},97402:function(){},23517:function(){}},function(e){e.O(0,[180,752,685,693,316,440,672,751,216,253,769,744],function(){return e(e.s=91541)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/app/layout-1851fcd483733ee4.js b/pilot/server/static/_next/static/chunks/app/layout-f0f8e514282ceb6a.js similarity index 98% rename from pilot/server/static/_next/static/chunks/app/layout-1851fcd483733ee4.js rename to pilot/server/static/_next/static/chunks/app/layout-f0f8e514282ceb6a.js index bea0b3a89..12f9bb130 100644 --- a/pilot/server/static/_next/static/chunks/app/layout-1851fcd483733ee4.js +++ b/pilot/server/static/_next/static/chunks/app/layout-f0f8e514282ceb6a.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[185],{72431:function(){},91541:function(e,t,r){Promise.resolve().then(r.bind(r,50902))},57931:function(e,t,r){"use strict";r.d(t,{ZP:function(){return d},Cg:function(){return o}});var n=r(9268),i=r(89081),s=r(78915),l=r(86006);let[o,a]=function(){let e=l.createContext(void 0);return[function(){let t=l.useContext(e);if(void 0===t)throw Error("useCtx must be inside a Provider with a value");return t},e.Provider]}();var d=e=>{let{children:t}=e,{run:r,data:l,refresh:o}=(0,i.Z)(async()=>await (0,s.Tk)("/v1/chat/dialogue/list"),{manual:!0});return(0,n.jsx)(a,{value:{dialogueList:l,queryDialogueList:r,refreshDialogList:o},children:t})}},50902:function(e,t,r){"use strict";let n,i;r.r(t),r.d(t,{default:function(){return K}});var s=r(9268);r(97402),r(23517);var l=r(86006),o=r(56008),a=r(35846),d=r.n(a),c=r(20837),u=r(78635),f=r(90545),h=r(22046),x=r(53113),m=r(18818),p=r(4882),v=r(70092),j=r(64579),g=r(53047),b=r(62921),y=r(40020),Z=r(11515),w=r(84892),k=r(601),C=r(1301),B=r(98703),P=r(57931),N=r(66664),_=r(78915),E=()=>{var e;let t=(0,o.usePathname)(),r=(0,o.useSearchParams)(),n=r.get("id"),i=(0,o.useRouter)(),{dialogueList:a,queryDialogueList:E,refreshDialogList:D}=(0,P.Cg)(),{mode:S,setMode:z}=(0,u.tv)(),F=(0,l.useMemo)(()=>[{label:"Knowledge Space",route:"/datastores",icon:(0,s.jsx)(y.Z,{fontSize:"small"}),active:"/datastores"===t}],[t]);return(0,l.useEffect)(()=>{(async()=>{await E()})()},[]),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("nav",{className:"flex h-12 items-center justify-between border-b px-4 dark:border-gray-800 dark:bg-gray-800/70 md:hidden",children:[(0,s.jsx)("div",{children:(0,s.jsx)(k.Z,{})}),(0,s.jsx)("span",{className:"truncate px-4",children:"New Chat"}),(0,s.jsx)("a",{href:"",className:"-mr-3 flex h-9 w-9 shrink-0 items-center justify-center",children:(0,s.jsx)(C.Z,{})})]}),(0,s.jsx)("nav",{className:"grid max-h-screen h-full max-md:hidden",children:(0,s.jsxs)(f.Z,{sx:{display:"flex",flexDirection:"column",borderRight:"1px solid",borderColor:"divider",maxHeight:"100vh",position:"sticky",left:"0px",top:"0px",overflow:"hidden"},children:[(0,s.jsx)(f.Z,{sx:{p:2,gap:2,display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"center"},children:(0,s.jsx)("div",{className:"flex items-center gap-3",children:(0,s.jsx)(h.ZP,{component:"h1",fontWeight:"xl",children:"DB-GPT"})})}),(0,s.jsx)(f.Z,{sx:{px:2},children:(0,s.jsx)(d(),{href:"/",children:(0,s.jsx)(x.Z,{color:"primary",className:"w-full bg-gradient-to-r from-[#31afff] to-[#1677ff] dark:bg-gradient-to-r dark:from-[#6a6a6a] dark:to-[#80868f]",style:{color:"#fff"},children:"+ New Chat"})})}),(0,s.jsx)(f.Z,{sx:{p:2,display:{xs:"none",sm:"initial"},maxHeight:"100%",overflow:"auto"},children:(0,s.jsx)(m.Z,{size:"sm",sx:{"--ListItem-radius":"8px"},children:(0,s.jsx)(p.Z,{nested:!0,children:(0,s.jsx)(m.Z,{size:"sm","aria-labelledby":"nav-list-browse",sx:{"& .JoyListItemButton-root":{p:"8px"},gap:"4px"},children:null==a?void 0:null===(e=a.data)||void 0===e?void 0:e.map(e=>{let l=("/chat"===t||"/chat/"===t)&&n===e.conv_uid;return(0,s.jsx)(p.Z,{children:(0,s.jsx)(v.Z,{selected:l,variant:l?"soft":"plain",sx:{"&:hover .del-btn":{visibility:"visible"}},children:(0,s.jsx)(j.Z,{children:(0,s.jsxs)(d(),{href:"/chat?id=".concat(e.conv_uid,"&scene=").concat(null==e?void 0:e.chat_mode),className:"flex items-center justify-between",children:[(0,s.jsxs)(h.ZP,{fontSize:14,noWrap:!0,children:[(0,s.jsx)(B.Z,{style:{marginRight:"0.5rem"}}),(null==e?void 0:e.user_name)||(null==e?void 0:e.user_input)||"undefined"]}),(0,s.jsx)(g.ZP,{color:"neutral",variant:"plain",size:"sm",onClick:n=>{n.preventDefault(),n.stopPropagation(),c.Z.confirm({title:"Delete Chat",content:"Are you sure delete this chat?",width:"276px",centered:!0,async onOk(){await (0,_.Kw)("/v1/chat/dialogue/delete?con_uid=".concat(e.conv_uid)),await D(),"/chat"===t&&r.get("id")===e.conv_uid&&i.push("/")}})},className:"del-btn invisible",children:(0,s.jsx)(N.Z,{})})]})})})},e.conv_uid)})})})})}),(0,s.jsxs)("div",{className:"flex flex-col justify-between flex-1",children:[(0,s.jsx)("div",{}),(0,s.jsx)(f.Z,{sx:{p:2,pt:3,pb:6,borderTop:"1px solid",borderColor:"divider",display:{xs:"none",sm:"initial"},position:"sticky",bottom:0,zIndex:100,background:"var(--joy-palette-background-body)"},children:(0,s.jsxs)(m.Z,{size:"sm",sx:{"--ListItem-radius":"8px"},children:[(0,s.jsx)(p.Z,{nested:!0,children:(0,s.jsx)(m.Z,{size:"sm","aria-labelledby":"nav-list-browse",sx:{"& .JoyListItemButton-root":{p:"8px"}},children:F.map(e=>(0,s.jsx)(d(),{href:e.route,children:(0,s.jsx)(p.Z,{children:(0,s.jsxs)(v.Z,{color:"neutral",sx:{marginBottom:1,height:"2.5rem"},selected:e.active,variant:e.active?"soft":"plain",children:[(0,s.jsx)(b.Z,{sx:{color:e.active?"inherit":"neutral.500"},children:e.icon}),(0,s.jsx)(j.Z,{children:e.label})]})})},e.route))})}),(0,s.jsx)(p.Z,{children:(0,s.jsxs)(v.Z,{sx:{height:"2.5rem"},onClick:()=>{"light"===S?z("dark"):z("light")},children:[(0,s.jsx)(b.Z,{children:"dark"===S?(0,s.jsx)(Z.Z,{fontSize:"small"}):(0,s.jsx)(w.Z,{fontSize:"small"})}),(0,s.jsx)(j.Z,{children:"Theme"})]})})]})})]})]})})]})},D=r(29720),S=r(41287),z=r(38230);let F=(0,S.Z)({colorSchemes:{light:{palette:{mode:"dark",primary:{...z.Z.grey,solidBg:"#e6f4ff",solidColor:"#1677ff",solidHoverBg:"#e6f4ff"},neutral:{plainColor:"#4d4d4d",plainHoverColor:"#131318",plainHoverBg:"#EBEBEF",plainActiveBg:"#D8D8DF",plainDisabledColor:"#B9B9C6"},background:{body:"#fff",surface:"#fff"},text:{primary:"#505050"}}},dark:{palette:{mode:"light",primary:{...z.Z.grey,softBg:"#353539",softHoverBg:"#35353978",softDisabledBg:"#353539",solidBg:"#51525beb",solidHoverBg:"#51525beb"},neutral:{plainColor:"#D8D8DF",plainHoverColor:"#F7F7F8",plainHoverBg:"#353539",plainActiveBg:"#434356",plainDisabledColor:"#434356",outlinedBorder:"#353539",outlinedHoverBorder:"#454651"},text:{primary:"#EBEBEF"},background:{body:"#212121",surface:"#51525beb"}}}},fontFamily:{body:"Josefin Sans, sans-serif",display:"Josefin Sans, sans-serif"},typography:{display1:{background:"linear-gradient(-30deg, var(--joy-palette-primary-900), var(--joy-palette-primary-400))",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent"}}});var H=r(53794),L=r.n(H),T=r(54486),I=r.n(T);let O=0;function R(){"loading"!==i&&(i="loading",n=setTimeout(function(){I().start()},250))}function A(){O>0||(i="stop",clearTimeout(n),I().done())}if(L().events.on("routeChangeStart",R),L().events.on("routeChangeComplete",A),L().events.on("routeChangeError",A),"function"==typeof(null==window?void 0:window.fetch)){let e=window.fetch;window.fetch=async function(){for(var t=arguments.length,r=Array(t),n=0;n{if((null==n?void 0:n.current)&&r){var e,t,i,s,l,o;null==n||null===(e=n.current)||void 0===e||null===(t=e.classList)||void 0===t||t.add(r),"light"===r?null==n||null===(i=n.current)||void 0===i||null===(s=i.classList)||void 0===s||s.remove("dark"):null==n||null===(l=n.current)||void 0===l||null===(o=l.classList)||void 0===o||o.remove("light")}},[n,r]),(0,s.jsxs)("div",{ref:n,className:"h-full",children:[(0,s.jsx)(J,{}),(0,s.jsx)(P.ZP,{children:(0,s.jsx)("div",{className:"contents h-full",children:(0,s.jsxs)("div",{className:"grid h-full w-screen grid-cols-1 grid-rows-[auto,1fr] overflow-hidden text-smd dark:text-gray-300 md:grid-cols-[280px,1fr] md:grid-rows-[1fr]",children:[(0,s.jsx)(E,{}),(0,s.jsx)("div",{className:"relative min-h-0 min-w-0",children:t})]})})})]})}var K=function(e){let{children:t}=e;return(0,s.jsx)("html",{lang:"en",className:"h-full font-sans",children:(0,s.jsx)("body",{className:"h-full font-sans",children:(0,s.jsx)(D.Z,{theme:F,children:(0,s.jsx)(u.lL,{theme:F,defaultMode:"light",children:(0,s.jsx)(W,{children:t})})})})})}},78915:function(e,t,r){"use strict";r.d(t,{Tk:function(){return c},Kw:function(){return u},PR:function(){return f},Ej:function(){return h}});var n=r(21628),i=r(24214),s=r(52040);let l=i.Z.create({baseURL:s.env.API_BASE_URL});l.defaults.timeout=1e4,l.interceptors.response.use(e=>e.data,e=>Promise.reject(e));var o=r(84835);let a={"content-type":"application/json"},d=e=>{if(!(0,o.isPlainObject)(e))return JSON.stringify(e);let t={...e};for(let e in t){let r=t[e];"string"==typeof r&&(t[e]=r.trim())}return JSON.stringify(t)},c=(e,t)=>{if(t){let r=Object.keys(t).filter(e=>void 0!==t[e]&&""!==t[e]).map(e=>"".concat(e,"=").concat(t[e])).join("&");r&&(e+="?".concat(r))}return l.get("/api"+e,{headers:a}).then(e=>e).catch(e=>{n.ZP.error(e),Promise.reject(e)})},u=(e,t)=>{let r=d(t);return l.post("/api"+e,{body:r,headers:a}).then(e=>e).catch(e=>{n.ZP.error(e),Promise.reject(e)})},f=(e,t)=>{let r=d(t);return l.post(e,{body:r,headers:a}).then(e=>e).catch(e=>{n.ZP.error(e),Promise.reject(e)})},h=(e,t)=>l.post(e,{body:t}).then(e=>e).catch(e=>{n.ZP.error(e),Promise.reject(e)})},97402:function(){},23517:function(){}},function(e){e.O(0,[180,797,577,214,693,316,440,672,751,216,253,769,744],function(){return e(e.s=91541)}),_N_E=e.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[185],{72431:function(){},91541:function(e,t,r){Promise.resolve().then(r.bind(r,50902))},57931:function(e,t,r){"use strict";r.d(t,{ZP:function(){return d},Cg:function(){return o}});var n=r(9268),i=r(89081),s=r(78915),l=r(86006);let[o,a]=function(){let e=l.createContext(void 0);return[function(){let t=l.useContext(e);if(void 0===t)throw Error("useCtx must be inside a Provider with a value");return t},e.Provider]}();var d=e=>{let{children:t}=e,{run:r,data:l,refresh:o}=(0,i.Z)(async()=>await (0,s.Tk)("/v1/chat/dialogue/list"),{manual:!0});return(0,n.jsx)(a,{value:{dialogueList:l,queryDialogueList:r,refreshDialogList:o},children:t})}},50902:function(e,t,r){"use strict";let n,i;r.r(t),r.d(t,{default:function(){return K}});var s=r(9268);r(97402),r(23517);var l=r(86006),o=r(56008),a=r(35846),d=r.n(a),c=r(20837),u=r(78635),f=r(90545),h=r(22046),x=r(53113),m=r(18818),p=r(4882),v=r(70092),j=r(64579),g=r(53047),b=r(62921),y=r(40020),Z=r(11515),w=r(84892),k=r(601),C=r(1301),B=r(98703),P=r(57931),N=r(66664),_=r(78915),E=()=>{var e;let t=(0,o.usePathname)(),r=(0,o.useSearchParams)(),n=r.get("id"),i=(0,o.useRouter)(),{dialogueList:a,queryDialogueList:E,refreshDialogList:D}=(0,P.Cg)(),{mode:S,setMode:z}=(0,u.tv)(),F=(0,l.useMemo)(()=>[{label:"Knowledge Space",route:"/datastores",icon:(0,s.jsx)(y.Z,{fontSize:"small"}),active:"/datastores"===t}],[t]);return(0,l.useEffect)(()=>{(async()=>{await E()})()},[]),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("nav",{className:"flex h-12 items-center justify-between border-b px-4 dark:border-gray-800 dark:bg-gray-800/70 md:hidden",children:[(0,s.jsx)("div",{children:(0,s.jsx)(k.Z,{})}),(0,s.jsx)("span",{className:"truncate px-4",children:"New Chat"}),(0,s.jsx)("a",{href:"",className:"-mr-3 flex h-9 w-9 shrink-0 items-center justify-center",children:(0,s.jsx)(C.Z,{})})]}),(0,s.jsx)("nav",{className:"grid max-h-screen h-full max-md:hidden",children:(0,s.jsxs)(f.Z,{sx:{display:"flex",flexDirection:"column",borderRight:"1px solid",borderColor:"divider",maxHeight:"100vh",position:"sticky",left:"0px",top:"0px",overflow:"hidden"},children:[(0,s.jsx)(f.Z,{sx:{p:2,gap:2,display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"center"},children:(0,s.jsx)("div",{className:"flex items-center gap-3",children:(0,s.jsx)(h.ZP,{component:"h1",fontWeight:"xl",children:"DB-GPT"})})}),(0,s.jsx)(f.Z,{sx:{px:2},children:(0,s.jsx)(d(),{href:"/",children:(0,s.jsx)(x.Z,{color:"primary",className:"w-full bg-gradient-to-r from-[#31afff] to-[#1677ff] dark:bg-gradient-to-r dark:from-[#6a6a6a] dark:to-[#80868f]",style:{color:"#fff"},children:"+ New Chat"})})}),(0,s.jsx)(f.Z,{sx:{p:2,display:{xs:"none",sm:"initial"},maxHeight:"100%",overflow:"auto"},children:(0,s.jsx)(m.Z,{size:"sm",sx:{"--ListItem-radius":"8px"},children:(0,s.jsx)(p.Z,{nested:!0,children:(0,s.jsx)(m.Z,{size:"sm","aria-labelledby":"nav-list-browse",sx:{"& .JoyListItemButton-root":{p:"8px"},gap:"4px"},children:null==a?void 0:null===(e=a.data)||void 0===e?void 0:e.map(e=>{let l=("/chat"===t||"/chat/"===t)&&n===e.conv_uid;return(0,s.jsx)(p.Z,{children:(0,s.jsx)(v.Z,{selected:l,variant:l?"soft":"plain",sx:{"&:hover .del-btn":{visibility:"visible"}},children:(0,s.jsx)(j.Z,{children:(0,s.jsxs)(d(),{href:"/chat?id=".concat(e.conv_uid,"&scene=").concat(null==e?void 0:e.chat_mode),className:"flex items-center justify-between",children:[(0,s.jsxs)(h.ZP,{fontSize:14,noWrap:!0,children:[(0,s.jsx)(B.Z,{style:{marginRight:"0.5rem"}}),(null==e?void 0:e.user_name)||(null==e?void 0:e.user_input)||"undefined"]}),(0,s.jsx)(g.ZP,{color:"neutral",variant:"plain",size:"sm",onClick:n=>{n.preventDefault(),n.stopPropagation(),c.Z.confirm({title:"Delete Chat",content:"Are you sure delete this chat?",width:"276px",centered:!0,async onOk(){await (0,_.Kw)("/v1/chat/dialogue/delete?con_uid=".concat(e.conv_uid)),await D(),"/chat"===t&&r.get("id")===e.conv_uid&&i.push("/")}})},className:"del-btn invisible",children:(0,s.jsx)(N.Z,{})})]})})})},e.conv_uid)})})})})}),(0,s.jsxs)("div",{className:"flex flex-col justify-between flex-1",children:[(0,s.jsx)("div",{}),(0,s.jsx)(f.Z,{sx:{p:2,pt:3,pb:6,borderTop:"1px solid",borderColor:"divider",display:{xs:"none",sm:"initial"},position:"sticky",bottom:0,zIndex:100,background:"var(--joy-palette-background-body)"},children:(0,s.jsxs)(m.Z,{size:"sm",sx:{"--ListItem-radius":"8px"},children:[(0,s.jsx)(p.Z,{nested:!0,children:(0,s.jsx)(m.Z,{size:"sm","aria-labelledby":"nav-list-browse",sx:{"& .JoyListItemButton-root":{p:"8px"}},children:F.map(e=>(0,s.jsx)(d(),{href:e.route,children:(0,s.jsx)(p.Z,{children:(0,s.jsxs)(v.Z,{color:"neutral",sx:{marginBottom:1,height:"2.5rem"},selected:e.active,variant:e.active?"soft":"plain",children:[(0,s.jsx)(b.Z,{sx:{color:e.active?"inherit":"neutral.500"},children:e.icon}),(0,s.jsx)(j.Z,{children:e.label})]})})},e.route))})}),(0,s.jsx)(p.Z,{children:(0,s.jsxs)(v.Z,{sx:{height:"2.5rem"},onClick:()=>{"light"===S?z("dark"):z("light")},children:[(0,s.jsx)(b.Z,{children:"dark"===S?(0,s.jsx)(Z.Z,{fontSize:"small"}):(0,s.jsx)(w.Z,{fontSize:"small"})}),(0,s.jsx)(j.Z,{children:"Theme"})]})})]})})]})]})})]})},D=r(29720),S=r(41287),z=r(38230);let F=(0,S.Z)({colorSchemes:{light:{palette:{mode:"dark",primary:{...z.Z.grey,solidBg:"#e6f4ff",solidColor:"#1677ff",solidHoverBg:"#e6f4ff"},neutral:{plainColor:"#4d4d4d",plainHoverColor:"#131318",plainHoverBg:"#EBEBEF",plainActiveBg:"#D8D8DF",plainDisabledColor:"#B9B9C6"},background:{body:"#fff",surface:"#fff"},text:{primary:"#505050"}}},dark:{palette:{mode:"light",primary:{...z.Z.grey,softBg:"#353539",softHoverBg:"#35353978",softDisabledBg:"#353539",solidBg:"#51525beb",solidHoverBg:"#51525beb"},neutral:{plainColor:"#D8D8DF",plainHoverColor:"#F7F7F8",plainHoverBg:"#353539",plainActiveBg:"#434356",plainDisabledColor:"#434356",outlinedBorder:"#353539",outlinedHoverBorder:"#454651"},text:{primary:"#EBEBEF"},background:{body:"#212121",surface:"#51525beb"}}}},fontFamily:{body:"Josefin Sans, sans-serif",display:"Josefin Sans, sans-serif"},typography:{display1:{background:"linear-gradient(-30deg, var(--joy-palette-primary-900), var(--joy-palette-primary-400))",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent"}}});var H=r(53794),L=r.n(H),T=r(54486),I=r.n(T);let O=0;function R(){"loading"!==i&&(i="loading",n=setTimeout(function(){I().start()},250))}function A(){O>0||(i="stop",clearTimeout(n),I().done())}if(L().events.on("routeChangeStart",R),L().events.on("routeChangeComplete",A),L().events.on("routeChangeError",A),"function"==typeof(null==window?void 0:window.fetch)){let e=window.fetch;window.fetch=async function(){for(var t=arguments.length,r=Array(t),n=0;n{if((null==n?void 0:n.current)&&r){var e,t,i,s,l,o;null==n||null===(e=n.current)||void 0===e||null===(t=e.classList)||void 0===t||t.add(r),"light"===r?null==n||null===(i=n.current)||void 0===i||null===(s=i.classList)||void 0===s||s.remove("dark"):null==n||null===(l=n.current)||void 0===l||null===(o=l.classList)||void 0===o||o.remove("light")}},[n,r]),(0,s.jsxs)("div",{ref:n,className:"h-full",children:[(0,s.jsx)(J,{}),(0,s.jsx)(P.ZP,{children:(0,s.jsx)("div",{className:"contents h-full",children:(0,s.jsxs)("div",{className:"grid h-full w-screen grid-cols-1 grid-rows-[auto,1fr] overflow-hidden text-smd dark:text-gray-300 md:grid-cols-[280px,1fr] md:grid-rows-[1fr]",children:[(0,s.jsx)(E,{}),(0,s.jsx)("div",{className:"relative min-h-0 min-w-0",children:t})]})})})]})}var K=function(e){let{children:t}=e;return(0,s.jsx)("html",{lang:"en",className:"h-full font-sans",children:(0,s.jsx)("body",{className:"h-full font-sans",children:(0,s.jsx)(D.Z,{theme:F,children:(0,s.jsx)(u.lL,{theme:F,defaultMode:"light",children:(0,s.jsx)(W,{children:t})})})})})}},78915:function(e,t,r){"use strict";r.d(t,{Tk:function(){return c},Kw:function(){return u},PR:function(){return f},Ej:function(){return h}});var n=r(21628),i=r(24214),s=r(52040);let l=i.Z.create({baseURL:s.env.API_BASE_URL});l.defaults.timeout=1e4,l.interceptors.response.use(e=>e.data,e=>Promise.reject(e));var o=r(84835);let a={"content-type":"application/json"},d=e=>{if(!(0,o.isPlainObject)(e))return JSON.stringify(e);let t={...e};for(let e in t){let r=t[e];"string"==typeof r&&(t[e]=r.trim())}return JSON.stringify(t)},c=(e,t)=>{if(t){let r=Object.keys(t).filter(e=>void 0!==t[e]&&""!==t[e]).map(e=>"".concat(e,"=").concat(t[e])).join("&");r&&(e+="?".concat(r))}return l.get("/api"+e,{headers:a}).then(e=>e).catch(e=>{n.ZP.error(e),Promise.reject(e)})},u=(e,t)=>{let r=d(t);return l.post("/api"+e,{body:r,headers:a}).then(e=>e).catch(e=>{n.ZP.error(e),Promise.reject(e)})},f=(e,t)=>{let r=d(t);return l.post(e,{body:r,headers:a}).then(e=>e).catch(e=>{n.ZP.error(e),Promise.reject(e)})},h=(e,t)=>l.post(e,{body:t}).then(e=>e).catch(e=>{n.ZP.error(e),Promise.reject(e)})},97402:function(){},23517:function(){}},function(e){e.O(0,[180,106,685,693,316,440,672,751,216,253,769,744],function(){return e(e.s=91541)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/app/page-5e29d81c2af5ad47.js b/pilot/server/static/_next/static/chunks/app/page-5e29d81c2af5ad47.js deleted file mode 100644 index 956f61940..000000000 --- a/pilot/server/static/_next/static/chunks/app/page-5e29d81c2af5ad47.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[931],{90545:function(e,r,t){"use strict";t.d(r,{Z:function(){return g}});var o=t(40431),i=t(46750),n=t(86006),a=t(89791),l=t(4323),s=t(51579),c=t(86601),d=t(95887),v=t(9268);let u=["className","component"];var p=t(47327),m=t(98918);let h=function(e={}){let{themeId:r,defaultTheme:t,defaultClassName:p="MuiBox-root",generateClassName:m}=e,h=(0,l.ZP)("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(s.Z),g=n.forwardRef(function(e,n){let l=(0,d.Z)(t),s=(0,c.Z)(e),{className:g,component:f="div"}=s,y=(0,i.Z)(s,u);return(0,v.jsx)(h,(0,o.Z)({as:f,ref:n,className:(0,a.Z)(g,m?m(p):p),theme:r&&l[r]||l},y))});return g}({defaultTheme:m.Z,defaultClassName:"MuiBox-root",generateClassName:p.Z.generate});var g=h},53113:function(e,r,t){"use strict";var o=t(46750),i=t(40431),n=t(86006),a=t(46319),l=t(47562),s=t(53832),c=t(99179),d=t(50645),v=t(88930),u=t(47093),p=t(326),m=t(94244),h=t(77614),g=t(9268);let f=["children","action","color","variant","size","fullWidth","startDecorator","endDecorator","loading","loadingPosition","loadingIndicator","disabled"],y=e=>{let{color:r,disabled:t,focusVisible:o,focusVisibleClassName:i,fullWidth:n,size:a,variant:c,loading:d}=e,v={root:["root",t&&"disabled",o&&"focusVisible",n&&"fullWidth",c&&`variant${(0,s.Z)(c)}`,r&&`color${(0,s.Z)(r)}`,a&&`size${(0,s.Z)(a)}`,d&&"loading"],startDecorator:["startDecorator"],endDecorator:["endDecorator"],loadingIndicatorCenter:["loadingIndicatorCenter"]},u=(0,l.Z)(v,h.F,{});return o&&i&&(u.root+=` ${i}`),u},x=(0,d.Z)("span",{name:"JoyButton",slot:"StartDecorator",overridesResolver:(e,r)=>r.startDecorator})({"--Icon-margin":"0 0 0 calc(var(--Button-gap) / -2)","--CircularProgress-margin":"0 0 0 calc(var(--Button-gap) / -2)",display:"inherit",marginRight:"var(--Button-gap)"}),Z=(0,d.Z)("span",{name:"JoyButton",slot:"EndDecorator",overridesResolver:(e,r)=>r.endDecorator})({"--Icon-margin":"0 calc(var(--Button-gap) / -2) 0 0","--CircularProgress-margin":"0 calc(var(--Button-gap) / -2) 0 0",display:"inherit",marginLeft:"var(--Button-gap)"}),D=(0,d.Z)("span",{name:"JoyButton",slot:"LoadingCenter",overridesResolver:(e,r)=>r.loadingIndicatorCenter})(({theme:e,ownerState:r})=>{var t,o,n,a;return(0,i.Z)({display:"inherit",position:"absolute",left:"50%",transform:"translateX(-50%)",color:null==(t=e.variants[r.variant])?void 0:null==(o=t[r.color])?void 0:o.color},r.disabled&&{color:null==(n=e.variants[`${r.variant}Disabled`])?void 0:null==(a=n[r.color])?void 0:a.color})}),b=(0,d.Z)("button",{name:"JoyButton",slot:"Root",overridesResolver:(e,r)=>r.root})(({theme:e,ownerState:r})=>{var t,o,n,a;return[(0,i.Z)({"--Icon-margin":"initial"},"sm"===r.size&&{"--Icon-fontSize":"1.25rem","--CircularProgress-size":"20px","--Button-gap":"0.375rem",minHeight:"var(--Button-minHeight, 2rem)",fontSize:e.vars.fontSize.sm,paddingBlock:"2px",paddingInline:"0.75rem"},"md"===r.size&&{"--Icon-fontSize":"1.5rem","--CircularProgress-size":"24px","--Button-gap":"0.5rem",minHeight:"var(--Button-minHeight, 2.5rem)",fontSize:e.vars.fontSize.sm,paddingBlock:"0.25rem",paddingInline:"1rem"},"lg"===r.size&&{"--Icon-fontSize":"1.75rem","--CircularProgress-size":"28px","--Button-gap":"0.75rem",minHeight:"var(--Button-minHeight, 3rem)",fontSize:e.vars.fontSize.md,paddingBlock:"0.375rem",paddingInline:"1.5rem"},{WebkitTapHighlightColor:"transparent",borderRadius:`var(--Button-radius, ${e.vars.radius.sm})`,margin:"var(--Button-margin)",border:"none",backgroundColor:"transparent",cursor:"pointer",display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",textDecoration:"none",fontFamily:e.vars.fontFamily.body,fontWeight:e.vars.fontWeight.lg,lineHeight:1},r.fullWidth&&{width:"100%"},{[e.focus.selector]:e.focus.default}),null==(t=e.variants[r.variant])?void 0:t[r.color],{"&:hover":null==(o=e.variants[`${r.variant}Hover`])?void 0:o[r.color]},{"&:active":null==(n=e.variants[`${r.variant}Active`])?void 0:n[r.color]},(0,i.Z)({[`&.${h.Z.disabled}`]:null==(a=e.variants[`${r.variant}Disabled`])?void 0:a[r.color]},"center"===r.loadingPosition&&{[`&.${h.Z.loading}`]:{color:"transparent"}})]}),P=n.forwardRef(function(e,r){let t=(0,v.Z)({props:e,name:"JoyButton"}),{children:l,action:s,color:d="primary",variant:h="solid",size:P="md",fullWidth:j=!1,startDecorator:S,endDecorator:B,loading:I=!1,loadingPosition:w="center",loadingIndicator:C,disabled:z}=t,k=(0,o.Z)(t,f),{getColor:N}=(0,u.VT)(h),T=N(e.color,d),R=n.useRef(null),_=(0,c.Z)(R,r),{focusVisible:F,setFocusVisible:$,getRootProps:W}=(0,a.Z)((0,i.Z)({},t,{disabled:z||I,ref:_})),J=null!=C?C:(0,g.jsx)(m.Z,(0,i.Z)({},"context"!==T&&{color:T},{thickness:{sm:2,md:3,lg:4}[P]||3}));n.useImperativeHandle(s,()=>({focusVisible:()=>{var e;$(!0),null==(e=R.current)||e.focus()}}),[$]);let M=(0,i.Z)({},t,{color:T,fullWidth:j,variant:h,size:P,focusVisible:F,loading:I,loadingPosition:w,disabled:z||I}),H=y(M),[O,E]=(0,p.Z)("root",{ref:r,className:H.root,elementType:b,externalForwardedProps:k,getSlotProps:W,ownerState:M}),[L,V]=(0,p.Z)("startDecorator",{className:H.startDecorator,elementType:x,externalForwardedProps:k,ownerState:M}),[A,K]=(0,p.Z)("endDecorator",{className:H.endDecorator,elementType:Z,externalForwardedProps:k,ownerState:M}),[q,G]=(0,p.Z)("loadingIndicatorCenter",{className:H.loadingIndicatorCenter,elementType:D,externalForwardedProps:k,ownerState:M});return(0,g.jsxs)(O,(0,i.Z)({},E,{children:[(S||I&&"start"===w)&&(0,g.jsx)(L,(0,i.Z)({},V,{children:I&&"start"===w?J:S})),l,I&&"center"===w&&(0,g.jsx)(q,(0,i.Z)({},G,{children:J})),(B||I&&"end"===w)&&(0,g.jsx)(A,(0,i.Z)({},K,{children:I&&"end"===w?J:B}))]}))});r.Z=P},77614:function(e,r,t){"use strict";t.d(r,{F:function(){return i}});var o=t(18587);function i(e){return(0,o.d6)("MuiButton",e)}let n=(0,o.sI)("MuiButton",["root","colorPrimary","colorNeutral","colorDanger","colorInfo","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","focusVisible","disabled","sizeSm","sizeMd","sizeLg","fullWidth","startDecorator","endDecorator","loading","loadingIndicatorCenter"]);r.Z=n},22046:function(e,r,t){"use strict";t.d(r,{eu:function(){return x},FR:function(){return y},ZP:function(){return B}});var o=t(46750),i=t(40431),n=t(86006),a=t(53832),l=t(86601),s=t(47562),c=t(50645),d=t(88930),v=t(47093),u=t(326),p=t(18587);function m(e){return(0,p.d6)("MuiTypography",e)}(0,p.sI)("MuiTypography",["root","h1","h2","h3","h4","h5","h6","body1","body2","body3","noWrap","gutterBottom","startDecorator","endDecorator","colorPrimary","colorNeutral","colorDanger","colorInfo","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid"]);var h=t(9268);let g=["color","textColor"],f=["component","gutterBottom","noWrap","level","levelMapping","children","endDecorator","startDecorator","variant"],y=n.createContext(!1),x=n.createContext(!1),Z=e=>{let{gutterBottom:r,noWrap:t,level:o,color:i,variant:n}=e,l={root:["root",o,r&&"gutterBottom",t&&"noWrap",i&&`color${(0,a.Z)(i)}`,n&&`variant${(0,a.Z)(n)}`],startDecorator:["startDecorator"],endDecorator:["endDecorator"]};return(0,s.Z)(l,m,{})},D=(0,c.Z)("span",{name:"JoyTypography",slot:"StartDecorator",overridesResolver:(e,r)=>r.startDecorator})(({ownerState:e})=>{var r;return(0,i.Z)({display:"inline-flex",marginInlineEnd:"clamp(4px, var(--Typography-gap, 0.375em), 0.75rem)"},"string"!=typeof e.startDecorator&&("flex-start"===e.alignItems||(null==(r=e.sx)?void 0:r.alignItems)==="flex-start")&&{marginTop:"2px"})}),b=(0,c.Z)("span",{name:"JoyTypography",slot:"endDecorator",overridesResolver:(e,r)=>r.endDecorator})(({ownerState:e})=>{var r;return(0,i.Z)({display:"inline-flex",marginInlineStart:"clamp(4px, var(--Typography-gap, 0.375em), 0.75rem)"},"string"!=typeof e.endDecorator&&("flex-start"===e.alignItems||(null==(r=e.sx)?void 0:r.alignItems)==="flex-start")&&{marginTop:"2px"})}),P=(0,c.Z)("span",{name:"JoyTypography",slot:"Root",overridesResolver:(e,r)=>r.root})(({theme:e,ownerState:r})=>{var t,o,n,a;return(0,i.Z)({"--Icon-fontSize":"1.25em",margin:"var(--Typography-margin, 0px)"},r.nesting?{display:"inline"}:{fontFamily:e.vars.fontFamily.body,display:"block"},(r.startDecorator||r.endDecorator)&&(0,i.Z)({display:"flex",alignItems:"center"},r.nesting&&(0,i.Z)({display:"inline-flex"},r.startDecorator&&{verticalAlign:"bottom"})),r.level&&"inherit"!==r.level&&e.typography[r.level],{fontSize:`var(--Typography-fontSize, ${r.level&&"inherit"!==r.level&&null!=(t=null==(o=e.typography[r.level])?void 0:o.fontSize)?t:"inherit"})`},r.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},r.gutterBottom&&{marginBottom:"0.35em"},r.color&&"context"!==r.color&&{color:`rgba(${null==(n=e.vars.palette[r.color])?void 0:n.mainChannel} / 1)`},r.variant&&(0,i.Z)({borderRadius:e.vars.radius.xs,paddingBlock:"min(0.15em, 4px)",paddingInline:"0.375em"},!r.nesting&&{marginInline:"-0.375em"},null==(a=e.variants[r.variant])?void 0:a[r.color]))}),j={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",display1:"h1",display2:"h2",body1:"p",body2:"p",body3:"span",body4:"span",body5:"span",inherit:"p"},S=n.forwardRef(function(e,r){let t=(0,d.Z)({props:e,name:"JoyTypography"}),{color:a,textColor:s}=t,c=(0,o.Z)(t,g),p=n.useContext(y),m=n.useContext(x),S=(0,l.Z)((0,i.Z)({},c,{color:s})),{component:B,gutterBottom:I=!1,noWrap:w=!1,level:C="body1",levelMapping:z={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",body1:"p",body2:"p",body3:"p",inherit:"p"},children:k,endDecorator:N,startDecorator:T,variant:R}=S,_=(0,o.Z)(S,f),{getColor:F}=(0,v.VT)(R),$=F(e.color,R?null!=a?a:"neutral":a),W=p||m?e.level||"inherit":C,J=B||(p?"span":z[W]||j[W]||"span"),M=(0,i.Z)({},S,{level:W,component:J,color:$,gutterBottom:I,noWrap:w,nesting:p,variant:R}),H=Z(M),O=(0,i.Z)({},_,{component:J}),[E,L]=(0,u.Z)("root",{ref:r,className:H.root,elementType:P,externalForwardedProps:O,ownerState:M}),[V,A]=(0,u.Z)("startDecorator",{className:H.startDecorator,elementType:D,externalForwardedProps:O,ownerState:M}),[K,q]=(0,u.Z)("endDecorator",{className:H.endDecorator,elementType:b,externalForwardedProps:O,ownerState:M});return(0,h.jsx)(y.Provider,{value:!0,children:(0,h.jsxs)(E,(0,i.Z)({},L,{children:[T&&(0,h.jsx)(V,(0,i.Z)({},A,{children:T})),k,N&&(0,h.jsx)(K,(0,i.Z)({},q,{children:N}))]}))})});var B=S},45825:function(e,r,t){Promise.resolve().then(t.bind(t,26925))},26925:function(e,r,t){"use strict";t.r(r),t.d(r,{default:function(){return k}});var o=t(9268),i=t(89081),n=t(86006),a=t(22046),l=t(46750),s=t(40431),c=t(89791),d=t(53832),v=t(47562),u=t(50645),p=t(88930),m=t(18587);function h(e){return(0,m.d6)("MuiDivider",e)}(0,m.sI)("MuiDivider",["root","horizontal","vertical","insetContext","insetNone"]);let g=["className","children","component","inset","orientation","role"],f=e=>{let{orientation:r,inset:t}=e,o={root:["root",r,t&&`inset${(0,d.Z)(t)}`]};return(0,v.Z)(o,h,{})},y=(0,u.Z)("hr",{name:"JoyDivider",slot:"Root",overridesResolver:(e,r)=>r.root})(({theme:e,ownerState:r})=>(0,s.Z)({"--Divider-thickness":"1px","--Divider-lineColor":e.vars.palette.divider},"none"===r.inset&&{"--_Divider-inset":"0px"},"context"===r.inset&&{"--_Divider-inset":"var(--Divider-inset, 0px)"},{margin:"initial",marginInline:"vertical"===r.orientation?"initial":"var(--_Divider-inset)",marginBlock:"vertical"===r.orientation?"var(--_Divider-inset)":"initial",position:"relative",alignSelf:"stretch",flexShrink:0},r.children?{"--Divider-gap":e.spacing(1),"--Divider-childPosition":"50%",display:"flex",flexDirection:"vertical"===r.orientation?"column":"row",alignItems:"center",whiteSpace:"nowrap",textAlign:"center",border:0,fontFamily:e.vars.fontFamily.body,fontSize:e.vars.fontSize.sm,"&::before, &::after":{position:"relative",inlineSize:"vertical"===r.orientation?"var(--Divider-thickness)":"initial",blockSize:"vertical"===r.orientation?"initial":"var(--Divider-thickness)",backgroundColor:"var(--Divider-lineColor)",content:'""'},"&::before":{marginInlineEnd:"vertical"===r.orientation?"initial":"min(var(--Divider-childPosition) * 999, var(--Divider-gap))",marginBlockEnd:"vertical"===r.orientation?"min(var(--Divider-childPosition) * 999, var(--Divider-gap))":"initial",flexBasis:"var(--Divider-childPosition)"},"&::after":{marginInlineStart:"vertical"===r.orientation?"initial":"min((100% - var(--Divider-childPosition)) * 999, var(--Divider-gap))",marginBlockStart:"vertical"===r.orientation?"min((100% - var(--Divider-childPosition)) * 999, var(--Divider-gap))":"initial",flexBasis:"calc(100% - var(--Divider-childPosition))"}}:{border:"none",listStyle:"none",backgroundColor:"var(--Divider-lineColor)",inlineSize:"vertical"===r.orientation?"var(--Divider-thickness)":"initial",blockSize:"vertical"===r.orientation?"initial":"var(--Divider-thickness)"})),x=n.forwardRef(function(e,r){let t=(0,p.Z)({props:e,name:"JoyDivider"}),{className:i,children:n,component:a=null!=n?"div":"hr",inset:d,orientation:v="horizontal",role:u="hr"!==a?"separator":void 0}=t,m=(0,l.Z)(t,g),h=(0,s.Z)({},t,{inset:d,role:u,orientation:v,component:a}),x=f(h);return(0,o.jsx)(y,(0,s.Z)({ref:r,as:a,className:(0,c.Z)(x.root,i),ownerState:h,role:u},"separator"===u&&"vertical"===v&&{"aria-orientation":"vertical"},m,{children:n}))});x.muiName="Divider";var Z=t(90545),D=t(77614),b=t(53113),P=t(35086),j=t(53047),S=t(54842),B=t(67830),I=t(19700),w=t(92391),C=t(78915),z=t(56008);function k(){var e;let r=w.z.object({query:w.z.string().min(1)}),t=(0,z.useRouter)(),[l,s]=(0,n.useState)(!1),c=(0,I.cI)({resolver:(0,B.F)(r),defaultValues:{}}),{data:d}=(0,i.Z)(async()=>await (0,C.Kw)("/v1/chat/dialogue/scenes")),v=async e=>{let{query:r}=e;try{var o,i;s(!0),c.reset();let e=await (0,C.Kw)("/v1/chat/dialogue/new",{chat_mode:"chat_normal"});(null==e?void 0:e.success)&&(null==e?void 0:null===(o=e.data)||void 0===o?void 0:o.conv_uid)&&t.push("/chat?id=".concat(null==e?void 0:null===(i=e.data)||void 0===i?void 0:i.conv_uid,"&initMessage=").concat(r))}catch(e){}finally{s(!1)}};return(0,o.jsx)(o.Fragment,{children:(0,o.jsxs)("div",{className:"mx-auto h-full justify-center flex max-w-3xl flex-col gap-8 px-5 pt-6 xl:max-w-4xl",children:[(0,o.jsxs)("div",{className:"max-w-xs my-0 mx-auto",children:[(0,o.jsx)(a.ZP,{level:"h3",className:"text-center",children:"DB-GPT"}),(0,o.jsx)(a.ZP,{level:"body1",className:"text-center pt-4",children:"Revolutionizing Database Interactions with Private LLM Technology"})]}),(0,o.jsx)("div",{className:"grid gap-8 lg:grid-cols-3",children:(0,o.jsxs)("div",{className:"lg:col-span-3",children:[(0,o.jsx)(x,{className:"text-[#878c93]",children:"Quick Start"}),(0,o.jsx)(Z.Z,{className:"grid pt-7 rounded-xl gap-2 lg:grid-cols-3 lg:gap-6",sx:{["& .".concat(D.Z.root)]:{color:"var(--joy-palette-primary-solidColor)",backgroundColor:"var(--joy-palette-primary-solidBg)",height:"52px","&: hover":{backgroundColor:"var(--joy-palette-primary-solidHoverBg)"}}},children:null==d?void 0:null===(e=d.data)||void 0===e?void 0:e.map(e=>(0,o.jsx)(b.Z,{size:"md",variant:"solid",className:"text-base rounded-none",onClick:async()=>{var r,o;let i=await (0,C.Kw)("/v1/chat/dialogue/new",{chat_mode:e.chat_scene});(null==i?void 0:i.success)&&(null==i?void 0:null===(r=i.data)||void 0===r?void 0:r.conv_uid)&&t.push("/chat?id=".concat(null==i?void 0:null===(o=i.data)||void 0===o?void 0:o.conv_uid,"&scene=").concat(e.chat_scene))},children:e.scene_name},e.chat_scene))})]})}),(0,o.jsx)("div",{className:"mt-6 mb-[10%] pointer-events-none inset-x-0 bottom-0 z-0 mx-auto flex w-full max-w-3xl flex-col items-center justify-center max-md:border-t xl:max-w-4xl [&>*]:pointer-events-auto",children:(0,o.jsx)("form",{style:{maxWidth:"100%",width:"100%",position:"relative",display:"flex",marginTop:"auto",overflow:"visible",background:"none",justifyContent:"center",marginLeft:"auto",marginRight:"auto",height:"52px"},onSubmit:e=>{c.handleSubmit(v)(e)},children:(0,o.jsx)(P.ZP,{sx:{width:"100%"},variant:"outlined",placeholder:"Ask anything",endDecorator:(0,o.jsx)(j.ZP,{type:"submit",disabled:l,children:(0,o.jsx)(S.Z,{})}),...c.register("query")})})})]})})}},78915:function(e,r,t){"use strict";t.d(r,{Tk:function(){return c},Kw:function(){return d},PR:function(){return v},Ej:function(){return u}});var o=t(21628),i=t(24214);let n=i.Z.create({baseURL:"http://127.0.0.1:5000"});n.defaults.timeout=1e4,n.interceptors.response.use(e=>e.data,e=>Promise.reject(e));var a=t(84835);let l={"content-type":"application/json"},s=e=>{if(!(0,a.isPlainObject)(e))return JSON.stringify(e);let r={...e};for(let e in r){let t=r[e];"string"==typeof t&&(r[e]=t.trim())}return JSON.stringify(r)},c=(e,r)=>{if(r){let t=Object.keys(r).filter(e=>void 0!==r[e]&&""!==r[e]).map(e=>"".concat(e,"=").concat(r[e])).join("&");t&&(e+="?".concat(t))}return n.get("/api"+e,{headers:l}).then(e=>e).catch(e=>{o.ZP.error(e),Promise.reject(e)})},d=(e,r)=>{let t=s(r);return n.post("/api"+e,{body:t,headers:l}).then(e=>e).catch(e=>{o.ZP.error(e),Promise.reject(e)})},v=(e,r)=>{let t=s(r);return n.post(e,{body:t,headers:l}).then(e=>e).catch(e=>{o.ZP.error(e),Promise.reject(e)})},u=(e,r)=>n.post(e,{body:r}).then(e=>e).catch(e=>{o.ZP.error(e),Promise.reject(e)})},56008:function(e,r,t){e.exports=t(30794)}},function(e){e.O(0,[180,752,685,86,316,259,253,769,744],function(){return e(e.s=45825)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/app/page-1212e9544d59c652.js b/pilot/server/static/_next/static/chunks/app/page-82f81a52b1831f3f.js similarity index 99% rename from pilot/server/static/_next/static/chunks/app/page-1212e9544d59c652.js rename to pilot/server/static/_next/static/chunks/app/page-82f81a52b1831f3f.js index 7c7ad70b5..fc78df4fd 100644 --- a/pilot/server/static/_next/static/chunks/app/page-1212e9544d59c652.js +++ b/pilot/server/static/_next/static/chunks/app/page-82f81a52b1831f3f.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[931],{90545:function(e,r,t){"use strict";t.d(r,{Z:function(){return g}});var o=t(40431),i=t(46750),n=t(86006),a=t(89791),l=t(4323),s=t(51579),c=t(86601),d=t(95887),v=t(9268);let u=["className","component"];var p=t(47327),m=t(98918);let h=function(e={}){let{themeId:r,defaultTheme:t,defaultClassName:p="MuiBox-root",generateClassName:m}=e,h=(0,l.ZP)("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(s.Z),g=n.forwardRef(function(e,n){let l=(0,d.Z)(t),s=(0,c.Z)(e),{className:g,component:f="div"}=s,y=(0,i.Z)(s,u);return(0,v.jsx)(h,(0,o.Z)({as:f,ref:n,className:(0,a.Z)(g,m?m(p):p),theme:r&&l[r]||l},y))});return g}({defaultTheme:m.Z,defaultClassName:"MuiBox-root",generateClassName:p.Z.generate});var g=h},53113:function(e,r,t){"use strict";var o=t(46750),i=t(40431),n=t(86006),a=t(46319),l=t(47562),s=t(53832),c=t(99179),d=t(50645),v=t(88930),u=t(47093),p=t(326),m=t(94244),h=t(77614),g=t(9268);let f=["children","action","color","variant","size","fullWidth","startDecorator","endDecorator","loading","loadingPosition","loadingIndicator","disabled"],y=e=>{let{color:r,disabled:t,focusVisible:o,focusVisibleClassName:i,fullWidth:n,size:a,variant:c,loading:d}=e,v={root:["root",t&&"disabled",o&&"focusVisible",n&&"fullWidth",c&&`variant${(0,s.Z)(c)}`,r&&`color${(0,s.Z)(r)}`,a&&`size${(0,s.Z)(a)}`,d&&"loading"],startDecorator:["startDecorator"],endDecorator:["endDecorator"],loadingIndicatorCenter:["loadingIndicatorCenter"]},u=(0,l.Z)(v,h.F,{});return o&&i&&(u.root+=` ${i}`),u},x=(0,d.Z)("span",{name:"JoyButton",slot:"StartDecorator",overridesResolver:(e,r)=>r.startDecorator})({"--Icon-margin":"0 0 0 calc(var(--Button-gap) / -2)","--CircularProgress-margin":"0 0 0 calc(var(--Button-gap) / -2)",display:"inherit",marginRight:"var(--Button-gap)"}),Z=(0,d.Z)("span",{name:"JoyButton",slot:"EndDecorator",overridesResolver:(e,r)=>r.endDecorator})({"--Icon-margin":"0 calc(var(--Button-gap) / -2) 0 0","--CircularProgress-margin":"0 calc(var(--Button-gap) / -2) 0 0",display:"inherit",marginLeft:"var(--Button-gap)"}),D=(0,d.Z)("span",{name:"JoyButton",slot:"LoadingCenter",overridesResolver:(e,r)=>r.loadingIndicatorCenter})(({theme:e,ownerState:r})=>{var t,o,n,a;return(0,i.Z)({display:"inherit",position:"absolute",left:"50%",transform:"translateX(-50%)",color:null==(t=e.variants[r.variant])?void 0:null==(o=t[r.color])?void 0:o.color},r.disabled&&{color:null==(n=e.variants[`${r.variant}Disabled`])?void 0:null==(a=n[r.color])?void 0:a.color})}),b=(0,d.Z)("button",{name:"JoyButton",slot:"Root",overridesResolver:(e,r)=>r.root})(({theme:e,ownerState:r})=>{var t,o,n,a;return[(0,i.Z)({"--Icon-margin":"initial"},"sm"===r.size&&{"--Icon-fontSize":"1.25rem","--CircularProgress-size":"20px","--Button-gap":"0.375rem",minHeight:"var(--Button-minHeight, 2rem)",fontSize:e.vars.fontSize.sm,paddingBlock:"2px",paddingInline:"0.75rem"},"md"===r.size&&{"--Icon-fontSize":"1.5rem","--CircularProgress-size":"24px","--Button-gap":"0.5rem",minHeight:"var(--Button-minHeight, 2.5rem)",fontSize:e.vars.fontSize.sm,paddingBlock:"0.25rem",paddingInline:"1rem"},"lg"===r.size&&{"--Icon-fontSize":"1.75rem","--CircularProgress-size":"28px","--Button-gap":"0.75rem",minHeight:"var(--Button-minHeight, 3rem)",fontSize:e.vars.fontSize.md,paddingBlock:"0.375rem",paddingInline:"1.5rem"},{WebkitTapHighlightColor:"transparent",borderRadius:`var(--Button-radius, ${e.vars.radius.sm})`,margin:"var(--Button-margin)",border:"none",backgroundColor:"transparent",cursor:"pointer",display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",textDecoration:"none",fontFamily:e.vars.fontFamily.body,fontWeight:e.vars.fontWeight.lg,lineHeight:1},r.fullWidth&&{width:"100%"},{[e.focus.selector]:e.focus.default}),null==(t=e.variants[r.variant])?void 0:t[r.color],{"&:hover":null==(o=e.variants[`${r.variant}Hover`])?void 0:o[r.color]},{"&:active":null==(n=e.variants[`${r.variant}Active`])?void 0:n[r.color]},(0,i.Z)({[`&.${h.Z.disabled}`]:null==(a=e.variants[`${r.variant}Disabled`])?void 0:a[r.color]},"center"===r.loadingPosition&&{[`&.${h.Z.loading}`]:{color:"transparent"}})]}),P=n.forwardRef(function(e,r){let t=(0,v.Z)({props:e,name:"JoyButton"}),{children:l,action:s,color:d="primary",variant:h="solid",size:P="md",fullWidth:S=!1,startDecorator:j,endDecorator:B,loading:I=!1,loadingPosition:w="center",loadingIndicator:C,disabled:z}=t,k=(0,o.Z)(t,f),{getColor:N}=(0,u.VT)(h),T=N(e.color,d),R=n.useRef(null),_=(0,c.Z)(R,r),{focusVisible:F,setFocusVisible:$,getRootProps:W}=(0,a.Z)((0,i.Z)({},t,{disabled:z||I,ref:_})),J=null!=C?C:(0,g.jsx)(m.Z,(0,i.Z)({},"context"!==T&&{color:T},{thickness:{sm:2,md:3,lg:4}[P]||3}));n.useImperativeHandle(s,()=>({focusVisible:()=>{var e;$(!0),null==(e=R.current)||e.focus()}}),[$]);let M=(0,i.Z)({},t,{color:T,fullWidth:S,variant:h,size:P,focusVisible:F,loading:I,loadingPosition:w,disabled:z||I}),H=y(M),[E,O]=(0,p.Z)("root",{ref:r,className:H.root,elementType:b,externalForwardedProps:k,getSlotProps:W,ownerState:M}),[L,A]=(0,p.Z)("startDecorator",{className:H.startDecorator,elementType:x,externalForwardedProps:k,ownerState:M}),[V,K]=(0,p.Z)("endDecorator",{className:H.endDecorator,elementType:Z,externalForwardedProps:k,ownerState:M}),[q,U]=(0,p.Z)("loadingIndicatorCenter",{className:H.loadingIndicatorCenter,elementType:D,externalForwardedProps:k,ownerState:M});return(0,g.jsxs)(E,(0,i.Z)({},O,{children:[(j||I&&"start"===w)&&(0,g.jsx)(L,(0,i.Z)({},A,{children:I&&"start"===w?J:j})),l,I&&"center"===w&&(0,g.jsx)(q,(0,i.Z)({},U,{children:J})),(B||I&&"end"===w)&&(0,g.jsx)(V,(0,i.Z)({},K,{children:I&&"end"===w?J:B}))]}))});r.Z=P},77614:function(e,r,t){"use strict";t.d(r,{F:function(){return i}});var o=t(18587);function i(e){return(0,o.d6)("MuiButton",e)}let n=(0,o.sI)("MuiButton",["root","colorPrimary","colorNeutral","colorDanger","colorInfo","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","focusVisible","disabled","sizeSm","sizeMd","sizeLg","fullWidth","startDecorator","endDecorator","loading","loadingIndicatorCenter"]);r.Z=n},22046:function(e,r,t){"use strict";t.d(r,{eu:function(){return x},FR:function(){return y},ZP:function(){return B}});var o=t(46750),i=t(40431),n=t(86006),a=t(53832),l=t(86601),s=t(47562),c=t(50645),d=t(88930),v=t(47093),u=t(326),p=t(18587);function m(e){return(0,p.d6)("MuiTypography",e)}(0,p.sI)("MuiTypography",["root","h1","h2","h3","h4","h5","h6","body1","body2","body3","noWrap","gutterBottom","startDecorator","endDecorator","colorPrimary","colorNeutral","colorDanger","colorInfo","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid"]);var h=t(9268);let g=["color","textColor"],f=["component","gutterBottom","noWrap","level","levelMapping","children","endDecorator","startDecorator","variant"],y=n.createContext(!1),x=n.createContext(!1),Z=e=>{let{gutterBottom:r,noWrap:t,level:o,color:i,variant:n}=e,l={root:["root",o,r&&"gutterBottom",t&&"noWrap",i&&`color${(0,a.Z)(i)}`,n&&`variant${(0,a.Z)(n)}`],startDecorator:["startDecorator"],endDecorator:["endDecorator"]};return(0,s.Z)(l,m,{})},D=(0,c.Z)("span",{name:"JoyTypography",slot:"StartDecorator",overridesResolver:(e,r)=>r.startDecorator})(({ownerState:e})=>{var r;return(0,i.Z)({display:"inline-flex",marginInlineEnd:"clamp(4px, var(--Typography-gap, 0.375em), 0.75rem)"},"string"!=typeof e.startDecorator&&("flex-start"===e.alignItems||(null==(r=e.sx)?void 0:r.alignItems)==="flex-start")&&{marginTop:"2px"})}),b=(0,c.Z)("span",{name:"JoyTypography",slot:"endDecorator",overridesResolver:(e,r)=>r.endDecorator})(({ownerState:e})=>{var r;return(0,i.Z)({display:"inline-flex",marginInlineStart:"clamp(4px, var(--Typography-gap, 0.375em), 0.75rem)"},"string"!=typeof e.endDecorator&&("flex-start"===e.alignItems||(null==(r=e.sx)?void 0:r.alignItems)==="flex-start")&&{marginTop:"2px"})}),P=(0,c.Z)("span",{name:"JoyTypography",slot:"Root",overridesResolver:(e,r)=>r.root})(({theme:e,ownerState:r})=>{var t,o,n,a;return(0,i.Z)({"--Icon-fontSize":"1.25em",margin:"var(--Typography-margin, 0px)"},r.nesting?{display:"inline"}:{fontFamily:e.vars.fontFamily.body,display:"block"},(r.startDecorator||r.endDecorator)&&(0,i.Z)({display:"flex",alignItems:"center"},r.nesting&&(0,i.Z)({display:"inline-flex"},r.startDecorator&&{verticalAlign:"bottom"})),r.level&&"inherit"!==r.level&&e.typography[r.level],{fontSize:`var(--Typography-fontSize, ${r.level&&"inherit"!==r.level&&null!=(t=null==(o=e.typography[r.level])?void 0:o.fontSize)?t:"inherit"})`},r.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},r.gutterBottom&&{marginBottom:"0.35em"},r.color&&"context"!==r.color&&{color:`rgba(${null==(n=e.vars.palette[r.color])?void 0:n.mainChannel} / 1)`},r.variant&&(0,i.Z)({borderRadius:e.vars.radius.xs,paddingBlock:"min(0.15em, 4px)",paddingInline:"0.375em"},!r.nesting&&{marginInline:"-0.375em"},null==(a=e.variants[r.variant])?void 0:a[r.color]))}),S={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",display1:"h1",display2:"h2",body1:"p",body2:"p",body3:"span",body4:"span",body5:"span",inherit:"p"},j=n.forwardRef(function(e,r){let t=(0,d.Z)({props:e,name:"JoyTypography"}),{color:a,textColor:s}=t,c=(0,o.Z)(t,g),p=n.useContext(y),m=n.useContext(x),j=(0,l.Z)((0,i.Z)({},c,{color:s})),{component:B,gutterBottom:I=!1,noWrap:w=!1,level:C="body1",levelMapping:z={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",body1:"p",body2:"p",body3:"p",inherit:"p"},children:k,endDecorator:N,startDecorator:T,variant:R}=j,_=(0,o.Z)(j,f),{getColor:F}=(0,v.VT)(R),$=F(e.color,R?null!=a?a:"neutral":a),W=p||m?e.level||"inherit":C,J=B||(p?"span":z[W]||S[W]||"span"),M=(0,i.Z)({},j,{level:W,component:J,color:$,gutterBottom:I,noWrap:w,nesting:p,variant:R}),H=Z(M),E=(0,i.Z)({},_,{component:J}),[O,L]=(0,u.Z)("root",{ref:r,className:H.root,elementType:P,externalForwardedProps:E,ownerState:M}),[A,V]=(0,u.Z)("startDecorator",{className:H.startDecorator,elementType:D,externalForwardedProps:E,ownerState:M}),[K,q]=(0,u.Z)("endDecorator",{className:H.endDecorator,elementType:b,externalForwardedProps:E,ownerState:M});return(0,h.jsx)(y.Provider,{value:!0,children:(0,h.jsxs)(O,(0,i.Z)({},L,{children:[T&&(0,h.jsx)(A,(0,i.Z)({},V,{children:T})),k,N&&(0,h.jsx)(K,(0,i.Z)({},q,{children:N}))]}))})});var B=j},45825:function(e,r,t){Promise.resolve().then(t.bind(t,26925))},26925:function(e,r,t){"use strict";t.r(r),t.d(r,{default:function(){return k}});var o=t(9268),i=t(89081),n=t(86006),a=t(22046),l=t(46750),s=t(40431),c=t(89791),d=t(53832),v=t(47562),u=t(50645),p=t(88930),m=t(18587);function h(e){return(0,m.d6)("MuiDivider",e)}(0,m.sI)("MuiDivider",["root","horizontal","vertical","insetContext","insetNone"]);let g=["className","children","component","inset","orientation","role"],f=e=>{let{orientation:r,inset:t}=e,o={root:["root",r,t&&`inset${(0,d.Z)(t)}`]};return(0,v.Z)(o,h,{})},y=(0,u.Z)("hr",{name:"JoyDivider",slot:"Root",overridesResolver:(e,r)=>r.root})(({theme:e,ownerState:r})=>(0,s.Z)({"--Divider-thickness":"1px","--Divider-lineColor":e.vars.palette.divider},"none"===r.inset&&{"--_Divider-inset":"0px"},"context"===r.inset&&{"--_Divider-inset":"var(--Divider-inset, 0px)"},{margin:"initial",marginInline:"vertical"===r.orientation?"initial":"var(--_Divider-inset)",marginBlock:"vertical"===r.orientation?"var(--_Divider-inset)":"initial",position:"relative",alignSelf:"stretch",flexShrink:0},r.children?{"--Divider-gap":e.spacing(1),"--Divider-childPosition":"50%",display:"flex",flexDirection:"vertical"===r.orientation?"column":"row",alignItems:"center",whiteSpace:"nowrap",textAlign:"center",border:0,fontFamily:e.vars.fontFamily.body,fontSize:e.vars.fontSize.sm,"&::before, &::after":{position:"relative",inlineSize:"vertical"===r.orientation?"var(--Divider-thickness)":"initial",blockSize:"vertical"===r.orientation?"initial":"var(--Divider-thickness)",backgroundColor:"var(--Divider-lineColor)",content:'""'},"&::before":{marginInlineEnd:"vertical"===r.orientation?"initial":"min(var(--Divider-childPosition) * 999, var(--Divider-gap))",marginBlockEnd:"vertical"===r.orientation?"min(var(--Divider-childPosition) * 999, var(--Divider-gap))":"initial",flexBasis:"var(--Divider-childPosition)"},"&::after":{marginInlineStart:"vertical"===r.orientation?"initial":"min((100% - var(--Divider-childPosition)) * 999, var(--Divider-gap))",marginBlockStart:"vertical"===r.orientation?"min((100% - var(--Divider-childPosition)) * 999, var(--Divider-gap))":"initial",flexBasis:"calc(100% - var(--Divider-childPosition))"}}:{border:"none",listStyle:"none",backgroundColor:"var(--Divider-lineColor)",inlineSize:"vertical"===r.orientation?"var(--Divider-thickness)":"initial",blockSize:"vertical"===r.orientation?"initial":"var(--Divider-thickness)"})),x=n.forwardRef(function(e,r){let t=(0,p.Z)({props:e,name:"JoyDivider"}),{className:i,children:n,component:a=null!=n?"div":"hr",inset:d,orientation:v="horizontal",role:u="hr"!==a?"separator":void 0}=t,m=(0,l.Z)(t,g),h=(0,s.Z)({},t,{inset:d,role:u,orientation:v,component:a}),x=f(h);return(0,o.jsx)(y,(0,s.Z)({ref:r,as:a,className:(0,c.Z)(x.root,i),ownerState:h,role:u},"separator"===u&&"vertical"===v&&{"aria-orientation":"vertical"},m,{children:n}))});x.muiName="Divider";var Z=t(90545),D=t(77614),b=t(53113),P=t(35086),S=t(53047),j=t(54842),B=t(67830),I=t(19700),w=t(92391),C=t(78915),z=t(56008);function k(){var e;let r=w.z.object({query:w.z.string().min(1)}),t=(0,z.useRouter)(),[l,s]=(0,n.useState)(!1),c=(0,I.cI)({resolver:(0,B.F)(r),defaultValues:{}}),{data:d}=(0,i.Z)(async()=>await (0,C.Kw)("/v1/chat/dialogue/scenes")),v=async e=>{let{query:r}=e;try{var o,i;s(!0),c.reset();let e=await (0,C.Kw)("/v1/chat/dialogue/new",{chat_mode:"chat_normal"});(null==e?void 0:e.success)&&(null==e?void 0:null===(o=e.data)||void 0===o?void 0:o.conv_uid)&&t.push("/chat?id=".concat(null==e?void 0:null===(i=e.data)||void 0===i?void 0:i.conv_uid,"&initMessage=").concat(r))}catch(e){}finally{s(!1)}};return(0,o.jsx)(o.Fragment,{children:(0,o.jsxs)("div",{className:"mx-auto h-full justify-center flex max-w-3xl flex-col gap-8 px-5 pt-6 xl:max-w-4xl",children:[(0,o.jsxs)("div",{className:"max-w-xs my-0 mx-auto",children:[(0,o.jsx)(a.ZP,{level:"h3",className:"text-center",children:"DB-GPT"}),(0,o.jsx)(a.ZP,{level:"body1",className:"text-center pt-4",children:"Revolutionizing Database Interactions with Private LLM Technology"})]}),(0,o.jsx)("div",{className:"grid gap-8 lg:grid-cols-3",children:(0,o.jsxs)("div",{className:"lg:col-span-3",children:[(0,o.jsx)(x,{className:"text-[#878c93]",children:"Quick Start"}),(0,o.jsx)(Z.Z,{className:"grid pt-7 rounded-xl gap-2 lg:grid-cols-3 lg:gap-6",sx:{["& .".concat(D.Z.root)]:{color:"var(--joy-palette-primary-solidColor)",backgroundColor:"var(--joy-palette-primary-solidBg)",height:"52px","&: hover":{backgroundColor:"var(--joy-palette-primary-solidHoverBg)"}}},children:null==d?void 0:null===(e=d.data)||void 0===e?void 0:e.map(e=>(0,o.jsx)(b.Z,{size:"md",variant:"solid",className:"text-base rounded-none",onClick:async()=>{var r,o;let i=await (0,C.Kw)("/v1/chat/dialogue/new",{chat_mode:e.chat_scene});(null==i?void 0:i.success)&&(null==i?void 0:null===(r=i.data)||void 0===r?void 0:r.conv_uid)&&t.push("/chat?id=".concat(null==i?void 0:null===(o=i.data)||void 0===o?void 0:o.conv_uid,"&scene=").concat(e.chat_scene))},children:e.scene_name},e.chat_scene))})]})}),(0,o.jsx)("div",{className:"mt-6 mb-[10%] pointer-events-none inset-x-0 bottom-0 z-0 mx-auto flex w-full max-w-3xl flex-col items-center justify-center max-md:border-t xl:max-w-4xl [&>*]:pointer-events-auto",children:(0,o.jsx)("form",{style:{maxWidth:"100%",width:"100%",position:"relative",display:"flex",marginTop:"auto",overflow:"visible",background:"none",justifyContent:"center",marginLeft:"auto",marginRight:"auto",height:"52px"},onSubmit:e=>{c.handleSubmit(v)(e)},children:(0,o.jsx)(P.ZP,{sx:{width:"100%"},variant:"outlined",placeholder:"Ask anything",endDecorator:(0,o.jsx)(S.ZP,{type:"submit",disabled:l,children:(0,o.jsx)(j.Z,{})}),...c.register("query")})})})]})})}},78915:function(e,r,t){"use strict";t.d(r,{Tk:function(){return d},Kw:function(){return v},PR:function(){return u},Ej:function(){return p}});var o=t(21628),i=t(24214),n=t(52040);let a=i.Z.create({baseURL:n.env.API_BASE_URL});a.defaults.timeout=1e4,a.interceptors.response.use(e=>e.data,e=>Promise.reject(e));var l=t(84835);let s={"content-type":"application/json"},c=e=>{if(!(0,l.isPlainObject)(e))return JSON.stringify(e);let r={...e};for(let e in r){let t=r[e];"string"==typeof t&&(r[e]=t.trim())}return JSON.stringify(r)},d=(e,r)=>{if(r){let t=Object.keys(r).filter(e=>void 0!==r[e]&&""!==r[e]).map(e=>"".concat(e,"=").concat(r[e])).join("&");t&&(e+="?".concat(t))}return a.get("/api"+e,{headers:s}).then(e=>e).catch(e=>{o.ZP.error(e),Promise.reject(e)})},v=(e,r)=>{let t=c(r);return a.post("/api"+e,{body:t,headers:s}).then(e=>e).catch(e=>{o.ZP.error(e),Promise.reject(e)})},u=(e,r)=>{let t=c(r);return a.post(e,{body:t,headers:s}).then(e=>e).catch(e=>{o.ZP.error(e),Promise.reject(e)})},p=(e,r)=>a.post(e,{body:r}).then(e=>e).catch(e=>{o.ZP.error(e),Promise.reject(e)})},56008:function(e,r,t){e.exports=t(30794)}},function(e){e.O(0,[180,797,577,214,86,316,259,253,769,744],function(){return e(e.s=45825)}),_N_E=e.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[931],{90545:function(e,r,t){"use strict";t.d(r,{Z:function(){return g}});var o=t(40431),i=t(46750),n=t(86006),a=t(89791),l=t(4323),s=t(51579),c=t(86601),d=t(95887),v=t(9268);let u=["className","component"];var p=t(47327),m=t(98918);let h=function(e={}){let{themeId:r,defaultTheme:t,defaultClassName:p="MuiBox-root",generateClassName:m}=e,h=(0,l.ZP)("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(s.Z),g=n.forwardRef(function(e,n){let l=(0,d.Z)(t),s=(0,c.Z)(e),{className:g,component:f="div"}=s,y=(0,i.Z)(s,u);return(0,v.jsx)(h,(0,o.Z)({as:f,ref:n,className:(0,a.Z)(g,m?m(p):p),theme:r&&l[r]||l},y))});return g}({defaultTheme:m.Z,defaultClassName:"MuiBox-root",generateClassName:p.Z.generate});var g=h},53113:function(e,r,t){"use strict";var o=t(46750),i=t(40431),n=t(86006),a=t(46319),l=t(47562),s=t(53832),c=t(99179),d=t(50645),v=t(88930),u=t(47093),p=t(326),m=t(94244),h=t(77614),g=t(9268);let f=["children","action","color","variant","size","fullWidth","startDecorator","endDecorator","loading","loadingPosition","loadingIndicator","disabled"],y=e=>{let{color:r,disabled:t,focusVisible:o,focusVisibleClassName:i,fullWidth:n,size:a,variant:c,loading:d}=e,v={root:["root",t&&"disabled",o&&"focusVisible",n&&"fullWidth",c&&`variant${(0,s.Z)(c)}`,r&&`color${(0,s.Z)(r)}`,a&&`size${(0,s.Z)(a)}`,d&&"loading"],startDecorator:["startDecorator"],endDecorator:["endDecorator"],loadingIndicatorCenter:["loadingIndicatorCenter"]},u=(0,l.Z)(v,h.F,{});return o&&i&&(u.root+=` ${i}`),u},x=(0,d.Z)("span",{name:"JoyButton",slot:"StartDecorator",overridesResolver:(e,r)=>r.startDecorator})({"--Icon-margin":"0 0 0 calc(var(--Button-gap) / -2)","--CircularProgress-margin":"0 0 0 calc(var(--Button-gap) / -2)",display:"inherit",marginRight:"var(--Button-gap)"}),Z=(0,d.Z)("span",{name:"JoyButton",slot:"EndDecorator",overridesResolver:(e,r)=>r.endDecorator})({"--Icon-margin":"0 calc(var(--Button-gap) / -2) 0 0","--CircularProgress-margin":"0 calc(var(--Button-gap) / -2) 0 0",display:"inherit",marginLeft:"var(--Button-gap)"}),D=(0,d.Z)("span",{name:"JoyButton",slot:"LoadingCenter",overridesResolver:(e,r)=>r.loadingIndicatorCenter})(({theme:e,ownerState:r})=>{var t,o,n,a;return(0,i.Z)({display:"inherit",position:"absolute",left:"50%",transform:"translateX(-50%)",color:null==(t=e.variants[r.variant])?void 0:null==(o=t[r.color])?void 0:o.color},r.disabled&&{color:null==(n=e.variants[`${r.variant}Disabled`])?void 0:null==(a=n[r.color])?void 0:a.color})}),b=(0,d.Z)("button",{name:"JoyButton",slot:"Root",overridesResolver:(e,r)=>r.root})(({theme:e,ownerState:r})=>{var t,o,n,a;return[(0,i.Z)({"--Icon-margin":"initial"},"sm"===r.size&&{"--Icon-fontSize":"1.25rem","--CircularProgress-size":"20px","--Button-gap":"0.375rem",minHeight:"var(--Button-minHeight, 2rem)",fontSize:e.vars.fontSize.sm,paddingBlock:"2px",paddingInline:"0.75rem"},"md"===r.size&&{"--Icon-fontSize":"1.5rem","--CircularProgress-size":"24px","--Button-gap":"0.5rem",minHeight:"var(--Button-minHeight, 2.5rem)",fontSize:e.vars.fontSize.sm,paddingBlock:"0.25rem",paddingInline:"1rem"},"lg"===r.size&&{"--Icon-fontSize":"1.75rem","--CircularProgress-size":"28px","--Button-gap":"0.75rem",minHeight:"var(--Button-minHeight, 3rem)",fontSize:e.vars.fontSize.md,paddingBlock:"0.375rem",paddingInline:"1.5rem"},{WebkitTapHighlightColor:"transparent",borderRadius:`var(--Button-radius, ${e.vars.radius.sm})`,margin:"var(--Button-margin)",border:"none",backgroundColor:"transparent",cursor:"pointer",display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",textDecoration:"none",fontFamily:e.vars.fontFamily.body,fontWeight:e.vars.fontWeight.lg,lineHeight:1},r.fullWidth&&{width:"100%"},{[e.focus.selector]:e.focus.default}),null==(t=e.variants[r.variant])?void 0:t[r.color],{"&:hover":null==(o=e.variants[`${r.variant}Hover`])?void 0:o[r.color]},{"&:active":null==(n=e.variants[`${r.variant}Active`])?void 0:n[r.color]},(0,i.Z)({[`&.${h.Z.disabled}`]:null==(a=e.variants[`${r.variant}Disabled`])?void 0:a[r.color]},"center"===r.loadingPosition&&{[`&.${h.Z.loading}`]:{color:"transparent"}})]}),P=n.forwardRef(function(e,r){let t=(0,v.Z)({props:e,name:"JoyButton"}),{children:l,action:s,color:d="primary",variant:h="solid",size:P="md",fullWidth:S=!1,startDecorator:j,endDecorator:B,loading:I=!1,loadingPosition:w="center",loadingIndicator:C,disabled:z}=t,k=(0,o.Z)(t,f),{getColor:N}=(0,u.VT)(h),T=N(e.color,d),R=n.useRef(null),_=(0,c.Z)(R,r),{focusVisible:F,setFocusVisible:$,getRootProps:W}=(0,a.Z)((0,i.Z)({},t,{disabled:z||I,ref:_})),J=null!=C?C:(0,g.jsx)(m.Z,(0,i.Z)({},"context"!==T&&{color:T},{thickness:{sm:2,md:3,lg:4}[P]||3}));n.useImperativeHandle(s,()=>({focusVisible:()=>{var e;$(!0),null==(e=R.current)||e.focus()}}),[$]);let M=(0,i.Z)({},t,{color:T,fullWidth:S,variant:h,size:P,focusVisible:F,loading:I,loadingPosition:w,disabled:z||I}),H=y(M),[E,O]=(0,p.Z)("root",{ref:r,className:H.root,elementType:b,externalForwardedProps:k,getSlotProps:W,ownerState:M}),[L,A]=(0,p.Z)("startDecorator",{className:H.startDecorator,elementType:x,externalForwardedProps:k,ownerState:M}),[V,K]=(0,p.Z)("endDecorator",{className:H.endDecorator,elementType:Z,externalForwardedProps:k,ownerState:M}),[q,U]=(0,p.Z)("loadingIndicatorCenter",{className:H.loadingIndicatorCenter,elementType:D,externalForwardedProps:k,ownerState:M});return(0,g.jsxs)(E,(0,i.Z)({},O,{children:[(j||I&&"start"===w)&&(0,g.jsx)(L,(0,i.Z)({},A,{children:I&&"start"===w?J:j})),l,I&&"center"===w&&(0,g.jsx)(q,(0,i.Z)({},U,{children:J})),(B||I&&"end"===w)&&(0,g.jsx)(V,(0,i.Z)({},K,{children:I&&"end"===w?J:B}))]}))});r.Z=P},77614:function(e,r,t){"use strict";t.d(r,{F:function(){return i}});var o=t(18587);function i(e){return(0,o.d6)("MuiButton",e)}let n=(0,o.sI)("MuiButton",["root","colorPrimary","colorNeutral","colorDanger","colorInfo","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","focusVisible","disabled","sizeSm","sizeMd","sizeLg","fullWidth","startDecorator","endDecorator","loading","loadingIndicatorCenter"]);r.Z=n},22046:function(e,r,t){"use strict";t.d(r,{eu:function(){return x},FR:function(){return y},ZP:function(){return B}});var o=t(46750),i=t(40431),n=t(86006),a=t(53832),l=t(86601),s=t(47562),c=t(50645),d=t(88930),v=t(47093),u=t(326),p=t(18587);function m(e){return(0,p.d6)("MuiTypography",e)}(0,p.sI)("MuiTypography",["root","h1","h2","h3","h4","h5","h6","body1","body2","body3","noWrap","gutterBottom","startDecorator","endDecorator","colorPrimary","colorNeutral","colorDanger","colorInfo","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid"]);var h=t(9268);let g=["color","textColor"],f=["component","gutterBottom","noWrap","level","levelMapping","children","endDecorator","startDecorator","variant"],y=n.createContext(!1),x=n.createContext(!1),Z=e=>{let{gutterBottom:r,noWrap:t,level:o,color:i,variant:n}=e,l={root:["root",o,r&&"gutterBottom",t&&"noWrap",i&&`color${(0,a.Z)(i)}`,n&&`variant${(0,a.Z)(n)}`],startDecorator:["startDecorator"],endDecorator:["endDecorator"]};return(0,s.Z)(l,m,{})},D=(0,c.Z)("span",{name:"JoyTypography",slot:"StartDecorator",overridesResolver:(e,r)=>r.startDecorator})(({ownerState:e})=>{var r;return(0,i.Z)({display:"inline-flex",marginInlineEnd:"clamp(4px, var(--Typography-gap, 0.375em), 0.75rem)"},"string"!=typeof e.startDecorator&&("flex-start"===e.alignItems||(null==(r=e.sx)?void 0:r.alignItems)==="flex-start")&&{marginTop:"2px"})}),b=(0,c.Z)("span",{name:"JoyTypography",slot:"endDecorator",overridesResolver:(e,r)=>r.endDecorator})(({ownerState:e})=>{var r;return(0,i.Z)({display:"inline-flex",marginInlineStart:"clamp(4px, var(--Typography-gap, 0.375em), 0.75rem)"},"string"!=typeof e.endDecorator&&("flex-start"===e.alignItems||(null==(r=e.sx)?void 0:r.alignItems)==="flex-start")&&{marginTop:"2px"})}),P=(0,c.Z)("span",{name:"JoyTypography",slot:"Root",overridesResolver:(e,r)=>r.root})(({theme:e,ownerState:r})=>{var t,o,n,a;return(0,i.Z)({"--Icon-fontSize":"1.25em",margin:"var(--Typography-margin, 0px)"},r.nesting?{display:"inline"}:{fontFamily:e.vars.fontFamily.body,display:"block"},(r.startDecorator||r.endDecorator)&&(0,i.Z)({display:"flex",alignItems:"center"},r.nesting&&(0,i.Z)({display:"inline-flex"},r.startDecorator&&{verticalAlign:"bottom"})),r.level&&"inherit"!==r.level&&e.typography[r.level],{fontSize:`var(--Typography-fontSize, ${r.level&&"inherit"!==r.level&&null!=(t=null==(o=e.typography[r.level])?void 0:o.fontSize)?t:"inherit"})`},r.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},r.gutterBottom&&{marginBottom:"0.35em"},r.color&&"context"!==r.color&&{color:`rgba(${null==(n=e.vars.palette[r.color])?void 0:n.mainChannel} / 1)`},r.variant&&(0,i.Z)({borderRadius:e.vars.radius.xs,paddingBlock:"min(0.15em, 4px)",paddingInline:"0.375em"},!r.nesting&&{marginInline:"-0.375em"},null==(a=e.variants[r.variant])?void 0:a[r.color]))}),S={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",display1:"h1",display2:"h2",body1:"p",body2:"p",body3:"span",body4:"span",body5:"span",inherit:"p"},j=n.forwardRef(function(e,r){let t=(0,d.Z)({props:e,name:"JoyTypography"}),{color:a,textColor:s}=t,c=(0,o.Z)(t,g),p=n.useContext(y),m=n.useContext(x),j=(0,l.Z)((0,i.Z)({},c,{color:s})),{component:B,gutterBottom:I=!1,noWrap:w=!1,level:C="body1",levelMapping:z={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",body1:"p",body2:"p",body3:"p",inherit:"p"},children:k,endDecorator:N,startDecorator:T,variant:R}=j,_=(0,o.Z)(j,f),{getColor:F}=(0,v.VT)(R),$=F(e.color,R?null!=a?a:"neutral":a),W=p||m?e.level||"inherit":C,J=B||(p?"span":z[W]||S[W]||"span"),M=(0,i.Z)({},j,{level:W,component:J,color:$,gutterBottom:I,noWrap:w,nesting:p,variant:R}),H=Z(M),E=(0,i.Z)({},_,{component:J}),[O,L]=(0,u.Z)("root",{ref:r,className:H.root,elementType:P,externalForwardedProps:E,ownerState:M}),[A,V]=(0,u.Z)("startDecorator",{className:H.startDecorator,elementType:D,externalForwardedProps:E,ownerState:M}),[K,q]=(0,u.Z)("endDecorator",{className:H.endDecorator,elementType:b,externalForwardedProps:E,ownerState:M});return(0,h.jsx)(y.Provider,{value:!0,children:(0,h.jsxs)(O,(0,i.Z)({},L,{children:[T&&(0,h.jsx)(A,(0,i.Z)({},V,{children:T})),k,N&&(0,h.jsx)(K,(0,i.Z)({},q,{children:N}))]}))})});var B=j},45825:function(e,r,t){Promise.resolve().then(t.bind(t,26925))},26925:function(e,r,t){"use strict";t.r(r),t.d(r,{default:function(){return k}});var o=t(9268),i=t(89081),n=t(86006),a=t(22046),l=t(46750),s=t(40431),c=t(89791),d=t(53832),v=t(47562),u=t(50645),p=t(88930),m=t(18587);function h(e){return(0,m.d6)("MuiDivider",e)}(0,m.sI)("MuiDivider",["root","horizontal","vertical","insetContext","insetNone"]);let g=["className","children","component","inset","orientation","role"],f=e=>{let{orientation:r,inset:t}=e,o={root:["root",r,t&&`inset${(0,d.Z)(t)}`]};return(0,v.Z)(o,h,{})},y=(0,u.Z)("hr",{name:"JoyDivider",slot:"Root",overridesResolver:(e,r)=>r.root})(({theme:e,ownerState:r})=>(0,s.Z)({"--Divider-thickness":"1px","--Divider-lineColor":e.vars.palette.divider},"none"===r.inset&&{"--_Divider-inset":"0px"},"context"===r.inset&&{"--_Divider-inset":"var(--Divider-inset, 0px)"},{margin:"initial",marginInline:"vertical"===r.orientation?"initial":"var(--_Divider-inset)",marginBlock:"vertical"===r.orientation?"var(--_Divider-inset)":"initial",position:"relative",alignSelf:"stretch",flexShrink:0},r.children?{"--Divider-gap":e.spacing(1),"--Divider-childPosition":"50%",display:"flex",flexDirection:"vertical"===r.orientation?"column":"row",alignItems:"center",whiteSpace:"nowrap",textAlign:"center",border:0,fontFamily:e.vars.fontFamily.body,fontSize:e.vars.fontSize.sm,"&::before, &::after":{position:"relative",inlineSize:"vertical"===r.orientation?"var(--Divider-thickness)":"initial",blockSize:"vertical"===r.orientation?"initial":"var(--Divider-thickness)",backgroundColor:"var(--Divider-lineColor)",content:'""'},"&::before":{marginInlineEnd:"vertical"===r.orientation?"initial":"min(var(--Divider-childPosition) * 999, var(--Divider-gap))",marginBlockEnd:"vertical"===r.orientation?"min(var(--Divider-childPosition) * 999, var(--Divider-gap))":"initial",flexBasis:"var(--Divider-childPosition)"},"&::after":{marginInlineStart:"vertical"===r.orientation?"initial":"min((100% - var(--Divider-childPosition)) * 999, var(--Divider-gap))",marginBlockStart:"vertical"===r.orientation?"min((100% - var(--Divider-childPosition)) * 999, var(--Divider-gap))":"initial",flexBasis:"calc(100% - var(--Divider-childPosition))"}}:{border:"none",listStyle:"none",backgroundColor:"var(--Divider-lineColor)",inlineSize:"vertical"===r.orientation?"var(--Divider-thickness)":"initial",blockSize:"vertical"===r.orientation?"initial":"var(--Divider-thickness)"})),x=n.forwardRef(function(e,r){let t=(0,p.Z)({props:e,name:"JoyDivider"}),{className:i,children:n,component:a=null!=n?"div":"hr",inset:d,orientation:v="horizontal",role:u="hr"!==a?"separator":void 0}=t,m=(0,l.Z)(t,g),h=(0,s.Z)({},t,{inset:d,role:u,orientation:v,component:a}),x=f(h);return(0,o.jsx)(y,(0,s.Z)({ref:r,as:a,className:(0,c.Z)(x.root,i),ownerState:h,role:u},"separator"===u&&"vertical"===v&&{"aria-orientation":"vertical"},m,{children:n}))});x.muiName="Divider";var Z=t(90545),D=t(77614),b=t(53113),P=t(35086),S=t(53047),j=t(54842),B=t(67830),I=t(19700),w=t(92391),C=t(78915),z=t(56008);function k(){var e;let r=w.z.object({query:w.z.string().min(1)}),t=(0,z.useRouter)(),[l,s]=(0,n.useState)(!1),c=(0,I.cI)({resolver:(0,B.F)(r),defaultValues:{}}),{data:d}=(0,i.Z)(async()=>await (0,C.Kw)("/v1/chat/dialogue/scenes")),v=async e=>{let{query:r}=e;try{var o,i;s(!0),c.reset();let e=await (0,C.Kw)("/v1/chat/dialogue/new",{chat_mode:"chat_normal"});(null==e?void 0:e.success)&&(null==e?void 0:null===(o=e.data)||void 0===o?void 0:o.conv_uid)&&t.push("/chat?id=".concat(null==e?void 0:null===(i=e.data)||void 0===i?void 0:i.conv_uid,"&initMessage=").concat(r))}catch(e){}finally{s(!1)}};return(0,o.jsx)(o.Fragment,{children:(0,o.jsxs)("div",{className:"mx-auto h-full justify-center flex max-w-3xl flex-col gap-8 px-5 pt-6 xl:max-w-4xl",children:[(0,o.jsxs)("div",{className:"max-w-xs my-0 mx-auto",children:[(0,o.jsx)(a.ZP,{level:"h3",className:"text-center",children:"DB-GPT"}),(0,o.jsx)(a.ZP,{level:"body1",className:"text-center pt-4",children:"Revolutionizing Database Interactions with Private LLM Technology"})]}),(0,o.jsx)("div",{className:"grid gap-8 lg:grid-cols-3",children:(0,o.jsxs)("div",{className:"lg:col-span-3",children:[(0,o.jsx)(x,{className:"text-[#878c93]",children:"Quick Start"}),(0,o.jsx)(Z.Z,{className:"grid pt-7 rounded-xl gap-2 lg:grid-cols-3 lg:gap-6",sx:{["& .".concat(D.Z.root)]:{color:"var(--joy-palette-primary-solidColor)",backgroundColor:"var(--joy-palette-primary-solidBg)",height:"52px","&: hover":{backgroundColor:"var(--joy-palette-primary-solidHoverBg)"}}},children:null==d?void 0:null===(e=d.data)||void 0===e?void 0:e.map(e=>(0,o.jsx)(b.Z,{size:"md",variant:"solid",className:"text-base rounded-none",onClick:async()=>{var r,o;let i=await (0,C.Kw)("/v1/chat/dialogue/new",{chat_mode:e.chat_scene});(null==i?void 0:i.success)&&(null==i?void 0:null===(r=i.data)||void 0===r?void 0:r.conv_uid)&&t.push("/chat?id=".concat(null==i?void 0:null===(o=i.data)||void 0===o?void 0:o.conv_uid,"&scene=").concat(e.chat_scene))},children:e.scene_name},e.chat_scene))})]})}),(0,o.jsx)("div",{className:"mt-6 mb-[10%] pointer-events-none inset-x-0 bottom-0 z-0 mx-auto flex w-full max-w-3xl flex-col items-center justify-center max-md:border-t xl:max-w-4xl [&>*]:pointer-events-auto",children:(0,o.jsx)("form",{style:{maxWidth:"100%",width:"100%",position:"relative",display:"flex",marginTop:"auto",overflow:"visible",background:"none",justifyContent:"center",marginLeft:"auto",marginRight:"auto",height:"52px"},onSubmit:e=>{c.handleSubmit(v)(e)},children:(0,o.jsx)(P.ZP,{sx:{width:"100%"},variant:"outlined",placeholder:"Ask anything",endDecorator:(0,o.jsx)(S.ZP,{type:"submit",disabled:l,children:(0,o.jsx)(j.Z,{})}),...c.register("query")})})})]})})}},78915:function(e,r,t){"use strict";t.d(r,{Tk:function(){return d},Kw:function(){return v},PR:function(){return u},Ej:function(){return p}});var o=t(21628),i=t(24214),n=t(52040);let a=i.Z.create({baseURL:n.env.API_BASE_URL});a.defaults.timeout=1e4,a.interceptors.response.use(e=>e.data,e=>Promise.reject(e));var l=t(84835);let s={"content-type":"application/json"},c=e=>{if(!(0,l.isPlainObject)(e))return JSON.stringify(e);let r={...e};for(let e in r){let t=r[e];"string"==typeof t&&(r[e]=t.trim())}return JSON.stringify(r)},d=(e,r)=>{if(r){let t=Object.keys(r).filter(e=>void 0!==r[e]&&""!==r[e]).map(e=>"".concat(e,"=").concat(r[e])).join("&");t&&(e+="?".concat(t))}return a.get("/api"+e,{headers:s}).then(e=>e).catch(e=>{o.ZP.error(e),Promise.reject(e)})},v=(e,r)=>{let t=c(r);return a.post("/api"+e,{body:t,headers:s}).then(e=>e).catch(e=>{o.ZP.error(e),Promise.reject(e)})},u=(e,r)=>{let t=c(r);return a.post(e,{body:t,headers:s}).then(e=>e).catch(e=>{o.ZP.error(e),Promise.reject(e)})},p=(e,r)=>a.post(e,{body:r}).then(e=>e).catch(e=>{o.ZP.error(e),Promise.reject(e)})},56008:function(e,r,t){e.exports=t(30794)}},function(e){e.O(0,[180,106,685,86,316,259,253,769,744],function(){return e(e.s=45825)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/pilot/server/static/agents/index.html b/pilot/server/static/agents/index.html index 524a3d945..cda49dc8e 100644 --- a/pilot/server/static/agents/index.html +++ b/pilot/server/static/agents/index.html @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/pilot/server/static/agents/index.txt b/pilot/server/static/agents/index.txt index 40312ecac..ecde25461 100644 --- a/pilot/server/static/agents/index.txt +++ b/pilot/server/static/agents/index.txt @@ -1,9 +1,9 @@ 1:HL["/_next/static/css/500e50384396563b.css",{"as":"style"}] -0:["JPbuEmHD8ANs5hbs6PVCC",[[["",{"children":["agents",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],"$L2",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/500e50384396563b.css","precedence":"next"}]],["$L3",null]]]]] -4:I{"id":"50902","chunks":["180:static/chunks/0e02fca3-615d0d51fa074d92.js","752:static/chunks/752-023c1974f6aa5ee4.js","685:static/chunks/685-9a51e8e6726368d3.js","693:static/chunks/693-ed79550f78fd681b.js","316:static/chunks/316-cdd7af28971b8ca4.js","440:static/chunks/440-96bb64772ec3a56d.js","672:static/chunks/672-860e1c1d53658862.js","751:static/chunks/751-9808572c67f2351c.js","216:static/chunks/216-7cd3d510ec0e1384.js","185:static/chunks/app/layout-5cd4df61bdf482b4.js"],"name":"","async":false} +0:["4ef3Zj0tsK1FEAj-0Rw_K",[[["",{"children":["agents",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],"$L2",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/500e50384396563b.css","precedence":"next"}]],["$L3",null]]]]] +4:I{"id":"50902","chunks":["180:static/chunks/0e02fca3-615d0d51fa074d92.js","106:static/chunks/106-a778485a4c5bcb5b.js","685:static/chunks/685-9a51e8e6726368d3.js","693:static/chunks/693-ed79550f78fd681b.js","316:static/chunks/316-cdd7af28971b8ca4.js","440:static/chunks/440-8431a38ed9f2e11b.js","672:static/chunks/672-860e1c1d53658862.js","751:static/chunks/751-9808572c67f2351c.js","216:static/chunks/216-7cd3d510ec0e1384.js","185:static/chunks/app/layout-f0f8e514282ceb6a.js"],"name":"","async":false} 5:I{"id":"13211","chunks":["272:static/chunks/webpack-053a725dccea4b75.js","253:static/chunks/bce60fc1-18c9f145b45d8f36.js","769:static/chunks/769-76f7aafd375fdd6b.js"],"name":"","async":false} 6:I{"id":"5767","chunks":["272:static/chunks/webpack-053a725dccea4b75.js","253:static/chunks/bce60fc1-18c9f145b45d8f36.js","769:static/chunks/769-76f7aafd375fdd6b.js"],"name":"","async":false} 7:I{"id":"37396","chunks":["272:static/chunks/webpack-053a725dccea4b75.js","253:static/chunks/bce60fc1-18c9f145b45d8f36.js","769:static/chunks/769-76f7aafd375fdd6b.js"],"name":"","async":false} -8:I{"id":"4191","chunks":["180:static/chunks/0e02fca3-615d0d51fa074d92.js","757:static/chunks/f60284a2-6891068c9ea7ce77.js","752:static/chunks/752-023c1974f6aa5ee4.js","685:static/chunks/685-9a51e8e6726368d3.js","86:static/chunks/86-3a20bc6b78835c59.js","316:static/chunks/316-cdd7af28971b8ca4.js","259:static/chunks/259-2c3490a9eca2f411.js","751:static/chunks/751-9808572c67f2351c.js","662:static/chunks/662-6f651dffca342bc9.js","481:static/chunks/481-55e7d47dd2c74b66.js","718:static/chunks/app/agents/page-51de336d41e2f893.js"],"name":"","async":false} +8:I{"id":"4191","chunks":["180:static/chunks/0e02fca3-615d0d51fa074d92.js","757:static/chunks/f60284a2-6891068c9ea7ce77.js","106:static/chunks/106-a778485a4c5bcb5b.js","685:static/chunks/685-9a51e8e6726368d3.js","86:static/chunks/86-3a20bc6b78835c59.js","316:static/chunks/316-cdd7af28971b8ca4.js","259:static/chunks/259-2c3490a9eca2f411.js","751:static/chunks/751-9808572c67f2351c.js","662:static/chunks/662-6f651dffca342bc9.js","481:static/chunks/481-55e7d47dd2c74b66.js","718:static/chunks/app/agents/page-d0e9747fec52ce80.js"],"name":"","async":false} 2:[["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"template":["$","$L6",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":[["$","$L5",null,{"parallelRouterKey":"children","segmentPath":["children","agents","children"],"error":"$undefined","errorStyles":"$undefined","loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"template":["$","$L6",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":[["$","$L7",null,{"propsForComponent":{"params":{}},"Component":"$8"}],null],"segment":"__PAGE__"},"styles":[]}],null],"segment":"agents"},"styles":[]}],"params":{}}],null] 3:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","link","2",{"rel":"icon","href":"/favicon.ico","type":"image/x-icon","sizes":"any"}]] diff --git a/pilot/server/static/chat/index.html b/pilot/server/static/chat/index.html index 148c07588..b55c1493e 100644 --- a/pilot/server/static/chat/index.html +++ b/pilot/server/static/chat/index.html @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/pilot/server/static/chat/index.txt b/pilot/server/static/chat/index.txt index 95998f32b..2056a9340 100644 --- a/pilot/server/static/chat/index.txt +++ b/pilot/server/static/chat/index.txt @@ -1,9 +1,9 @@ 1:HL["/_next/static/css/500e50384396563b.css",{"as":"style"}] -0:["JPbuEmHD8ANs5hbs6PVCC",[[["",{"children":["chat",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],"$L2",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/500e50384396563b.css","precedence":"next"}]],["$L3",null]]]]] -4:I{"id":"50902","chunks":["180:static/chunks/0e02fca3-615d0d51fa074d92.js","752:static/chunks/752-023c1974f6aa5ee4.js","685:static/chunks/685-9a51e8e6726368d3.js","693:static/chunks/693-ed79550f78fd681b.js","316:static/chunks/316-cdd7af28971b8ca4.js","440:static/chunks/440-96bb64772ec3a56d.js","672:static/chunks/672-860e1c1d53658862.js","751:static/chunks/751-9808572c67f2351c.js","216:static/chunks/216-7cd3d510ec0e1384.js","185:static/chunks/app/layout-5cd4df61bdf482b4.js"],"name":"","async":false} +0:["4ef3Zj0tsK1FEAj-0Rw_K",[[["",{"children":["chat",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],"$L2",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/500e50384396563b.css","precedence":"next"}]],["$L3",null]]]]] +4:I{"id":"50902","chunks":["180:static/chunks/0e02fca3-615d0d51fa074d92.js","106:static/chunks/106-a778485a4c5bcb5b.js","685:static/chunks/685-9a51e8e6726368d3.js","693:static/chunks/693-ed79550f78fd681b.js","316:static/chunks/316-cdd7af28971b8ca4.js","440:static/chunks/440-8431a38ed9f2e11b.js","672:static/chunks/672-860e1c1d53658862.js","751:static/chunks/751-9808572c67f2351c.js","216:static/chunks/216-7cd3d510ec0e1384.js","185:static/chunks/app/layout-f0f8e514282ceb6a.js"],"name":"","async":false} 5:I{"id":"13211","chunks":["272:static/chunks/webpack-053a725dccea4b75.js","253:static/chunks/bce60fc1-18c9f145b45d8f36.js","769:static/chunks/769-76f7aafd375fdd6b.js"],"name":"","async":false} 6:I{"id":"5767","chunks":["272:static/chunks/webpack-053a725dccea4b75.js","253:static/chunks/bce60fc1-18c9f145b45d8f36.js","769:static/chunks/769-76f7aafd375fdd6b.js"],"name":"","async":false} 7:I{"id":"37396","chunks":["272:static/chunks/webpack-053a725dccea4b75.js","253:static/chunks/bce60fc1-18c9f145b45d8f36.js","769:static/chunks/769-76f7aafd375fdd6b.js"],"name":"","async":false} -8:I{"id":"59498","chunks":["180:static/chunks/0e02fca3-615d0d51fa074d92.js","752:static/chunks/752-023c1974f6aa5ee4.js","685:static/chunks/685-9a51e8e6726368d3.js","86:static/chunks/86-3a20bc6b78835c59.js","316:static/chunks/316-cdd7af28971b8ca4.js","259:static/chunks/259-2c3490a9eca2f411.js","751:static/chunks/751-9808572c67f2351c.js","662:static/chunks/662-6f651dffca342bc9.js","929:static/chunks/app/chat/page-8ceef33e949c9fb7.js"],"name":"","async":false} +8:I{"id":"59498","chunks":["180:static/chunks/0e02fca3-615d0d51fa074d92.js","106:static/chunks/106-a778485a4c5bcb5b.js","685:static/chunks/685-9a51e8e6726368d3.js","86:static/chunks/86-3a20bc6b78835c59.js","316:static/chunks/316-cdd7af28971b8ca4.js","259:static/chunks/259-2c3490a9eca2f411.js","751:static/chunks/751-9808572c67f2351c.js","662:static/chunks/662-6f651dffca342bc9.js","929:static/chunks/app/chat/page-9b84c22e2aa86b93.js"],"name":"","async":false} 2:[["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"template":["$","$L6",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L5",null,{"parallelRouterKey":"children","segmentPath":["children","chat","children"],"error":"$undefined","errorStyles":"$undefined","loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"template":["$","$L6",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":[["$","$L7",null,{"propsForComponent":{"params":{}},"Component":"$8"}],null],"segment":"__PAGE__"},"styles":[]}],"segment":"chat"},"styles":[]}],"params":{}}],null] 3:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","link","2",{"rel":"icon","href":"/favicon.ico","type":"image/x-icon","sizes":"any"}]] diff --git a/pilot/server/static/datastores/documents/chunklist/index.html b/pilot/server/static/datastores/documents/chunklist/index.html index c426649a9..b7d83dae1 100644 --- a/pilot/server/static/datastores/documents/chunklist/index.html +++ b/pilot/server/static/datastores/documents/chunklist/index.html @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/pilot/server/static/datastores/documents/chunklist/index.txt b/pilot/server/static/datastores/documents/chunklist/index.txt index 66d240c3a..0a26e581e 100644 --- a/pilot/server/static/datastores/documents/chunklist/index.txt +++ b/pilot/server/static/datastores/documents/chunklist/index.txt @@ -1,9 +1,9 @@ 1:HL["/_next/static/css/500e50384396563b.css",{"as":"style"}] -0:["JPbuEmHD8ANs5hbs6PVCC",[[["",{"children":["datastores",{"children":["documents",{"children":["chunklist",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],"$L2",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/500e50384396563b.css","precedence":"next"}]],["$L3",null]]]]] -4:I{"id":"50902","chunks":["180:static/chunks/0e02fca3-615d0d51fa074d92.js","752:static/chunks/752-023c1974f6aa5ee4.js","685:static/chunks/685-9a51e8e6726368d3.js","693:static/chunks/693-ed79550f78fd681b.js","316:static/chunks/316-cdd7af28971b8ca4.js","440:static/chunks/440-96bb64772ec3a56d.js","672:static/chunks/672-860e1c1d53658862.js","751:static/chunks/751-9808572c67f2351c.js","216:static/chunks/216-7cd3d510ec0e1384.js","185:static/chunks/app/layout-5cd4df61bdf482b4.js"],"name":"","async":false} +0:["4ef3Zj0tsK1FEAj-0Rw_K",[[["",{"children":["datastores",{"children":["documents",{"children":["chunklist",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],"$L2",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/500e50384396563b.css","precedence":"next"}]],["$L3",null]]]]] +4:I{"id":"50902","chunks":["180:static/chunks/0e02fca3-615d0d51fa074d92.js","106:static/chunks/106-a778485a4c5bcb5b.js","685:static/chunks/685-9a51e8e6726368d3.js","693:static/chunks/693-ed79550f78fd681b.js","316:static/chunks/316-cdd7af28971b8ca4.js","440:static/chunks/440-8431a38ed9f2e11b.js","672:static/chunks/672-860e1c1d53658862.js","751:static/chunks/751-9808572c67f2351c.js","216:static/chunks/216-7cd3d510ec0e1384.js","185:static/chunks/app/layout-f0f8e514282ceb6a.js"],"name":"","async":false} 5:I{"id":"13211","chunks":["272:static/chunks/webpack-053a725dccea4b75.js","253:static/chunks/bce60fc1-18c9f145b45d8f36.js","769:static/chunks/769-76f7aafd375fdd6b.js"],"name":"","async":false} 6:I{"id":"5767","chunks":["272:static/chunks/webpack-053a725dccea4b75.js","253:static/chunks/bce60fc1-18c9f145b45d8f36.js","769:static/chunks/769-76f7aafd375fdd6b.js"],"name":"","async":false} 7:I{"id":"37396","chunks":["272:static/chunks/webpack-053a725dccea4b75.js","253:static/chunks/bce60fc1-18c9f145b45d8f36.js","769:static/chunks/769-76f7aafd375fdd6b.js"],"name":"","async":false} -8:I{"id":"26257","chunks":["180:static/chunks/0e02fca3-615d0d51fa074d92.js","752:static/chunks/752-023c1974f6aa5ee4.js","693:static/chunks/693-ed79550f78fd681b.js","118:static/chunks/118-46b95fe35f46f1b9.js","440:static/chunks/440-96bb64772ec3a56d.js","55:static/chunks/55-41778c7520ea1334.js","538:static/chunks/app/datastores/documents/chunklist/page-67ac3c5d8991ac73.js"],"name":"","async":false} +8:I{"id":"26257","chunks":["180:static/chunks/0e02fca3-615d0d51fa074d92.js","106:static/chunks/106-a778485a4c5bcb5b.js","693:static/chunks/693-ed79550f78fd681b.js","118:static/chunks/118-46b95fe35f46f1b9.js","440:static/chunks/440-8431a38ed9f2e11b.js","55:static/chunks/55-41778c7520ea1334.js","538:static/chunks/app/datastores/documents/chunklist/page-eff0493e5a094c84.js"],"name":"","async":false} 2:[["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"template":["$","$L6",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L5",null,{"parallelRouterKey":"children","segmentPath":["children","datastores","children"],"error":"$undefined","errorStyles":"$undefined","loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"template":["$","$L6",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L5",null,{"parallelRouterKey":"children","segmentPath":["children","datastores","children","documents","children"],"error":"$undefined","errorStyles":"$undefined","loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"template":["$","$L6",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L5",null,{"parallelRouterKey":"children","segmentPath":["children","datastores","children","documents","children","chunklist","children"],"error":"$undefined","errorStyles":"$undefined","loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"template":["$","$L6",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":[["$","$L7",null,{"propsForComponent":{"params":{}},"Component":"$8"}],null],"segment":"__PAGE__"},"styles":[]}],"segment":"chunklist"},"styles":[]}],"segment":"documents"},"styles":[]}],"segment":"datastores"},"styles":[]}],"params":{}}],null] 3:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","link","2",{"rel":"icon","href":"/favicon.ico","type":"image/x-icon","sizes":"any"}]] diff --git a/pilot/server/static/datastores/documents/index.html b/pilot/server/static/datastores/documents/index.html index 570f08321..e7f0c1b93 100644 --- a/pilot/server/static/datastores/documents/index.html +++ b/pilot/server/static/datastores/documents/index.html @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/pilot/server/static/datastores/documents/index.txt b/pilot/server/static/datastores/documents/index.txt index 3bfcbf5a2..5ac783c6f 100644 --- a/pilot/server/static/datastores/documents/index.txt +++ b/pilot/server/static/datastores/documents/index.txt @@ -1,9 +1,9 @@ 1:HL["/_next/static/css/500e50384396563b.css",{"as":"style"}] -0:["JPbuEmHD8ANs5hbs6PVCC",[[["",{"children":["datastores",{"children":["documents",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],"$L2",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/500e50384396563b.css","precedence":"next"}]],["$L3",null]]]]] -4:I{"id":"50902","chunks":["180:static/chunks/0e02fca3-615d0d51fa074d92.js","752:static/chunks/752-023c1974f6aa5ee4.js","685:static/chunks/685-9a51e8e6726368d3.js","693:static/chunks/693-ed79550f78fd681b.js","316:static/chunks/316-cdd7af28971b8ca4.js","440:static/chunks/440-96bb64772ec3a56d.js","672:static/chunks/672-860e1c1d53658862.js","751:static/chunks/751-9808572c67f2351c.js","216:static/chunks/216-7cd3d510ec0e1384.js","185:static/chunks/app/layout-5cd4df61bdf482b4.js"],"name":"","async":false} +0:["4ef3Zj0tsK1FEAj-0Rw_K",[[["",{"children":["datastores",{"children":["documents",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],"$L2",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/500e50384396563b.css","precedence":"next"}]],["$L3",null]]]]] +4:I{"id":"50902","chunks":["180:static/chunks/0e02fca3-615d0d51fa074d92.js","106:static/chunks/106-a778485a4c5bcb5b.js","685:static/chunks/685-9a51e8e6726368d3.js","693:static/chunks/693-ed79550f78fd681b.js","316:static/chunks/316-cdd7af28971b8ca4.js","440:static/chunks/440-8431a38ed9f2e11b.js","672:static/chunks/672-860e1c1d53658862.js","751:static/chunks/751-9808572c67f2351c.js","216:static/chunks/216-7cd3d510ec0e1384.js","185:static/chunks/app/layout-f0f8e514282ceb6a.js"],"name":"","async":false} 5:I{"id":"13211","chunks":["272:static/chunks/webpack-053a725dccea4b75.js","253:static/chunks/bce60fc1-18c9f145b45d8f36.js","769:static/chunks/769-76f7aafd375fdd6b.js"],"name":"","async":false} 6:I{"id":"5767","chunks":["272:static/chunks/webpack-053a725dccea4b75.js","253:static/chunks/bce60fc1-18c9f145b45d8f36.js","769:static/chunks/769-76f7aafd375fdd6b.js"],"name":"","async":false} 7:I{"id":"37396","chunks":["272:static/chunks/webpack-053a725dccea4b75.js","253:static/chunks/bce60fc1-18c9f145b45d8f36.js","769:static/chunks/769-76f7aafd375fdd6b.js"],"name":"","async":false} -8:I{"id":"16692","chunks":["180:static/chunks/0e02fca3-615d0d51fa074d92.js","550:static/chunks/925f3d25-1af7259455ef26bd.js","752:static/chunks/752-023c1974f6aa5ee4.js","685:static/chunks/685-9a51e8e6726368d3.js","86:static/chunks/86-3a20bc6b78835c59.js","693:static/chunks/693-ed79550f78fd681b.js","118:static/chunks/118-46b95fe35f46f1b9.js","440:static/chunks/440-96bb64772ec3a56d.js","672:static/chunks/672-860e1c1d53658862.js","55:static/chunks/55-41778c7520ea1334.js","642:static/chunks/642-df31c252aa27b391.js","470:static/chunks/app/datastores/documents/page-ac346836cec778e6.js"],"name":"","async":false} +8:I{"id":"16692","chunks":["180:static/chunks/0e02fca3-615d0d51fa074d92.js","550:static/chunks/925f3d25-1af7259455ef26bd.js","106:static/chunks/106-a778485a4c5bcb5b.js","685:static/chunks/685-9a51e8e6726368d3.js","86:static/chunks/86-3a20bc6b78835c59.js","693:static/chunks/693-ed79550f78fd681b.js","118:static/chunks/118-46b95fe35f46f1b9.js","440:static/chunks/440-8431a38ed9f2e11b.js","672:static/chunks/672-860e1c1d53658862.js","55:static/chunks/55-41778c7520ea1334.js","642:static/chunks/642-df31c252aa27b391.js","470:static/chunks/app/datastores/documents/page-aade80c3f0e3294d.js"],"name":"","async":false} 2:[["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"template":["$","$L6",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L5",null,{"parallelRouterKey":"children","segmentPath":["children","datastores","children"],"error":"$undefined","errorStyles":"$undefined","loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"template":["$","$L6",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L5",null,{"parallelRouterKey":"children","segmentPath":["children","datastores","children","documents","children"],"error":"$undefined","errorStyles":"$undefined","loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"template":["$","$L6",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":[["$","$L7",null,{"propsForComponent":{"params":{}},"Component":"$8"}],null],"segment":"__PAGE__"},"styles":[]}],"segment":"documents"},"styles":[]}],"segment":"datastores"},"styles":[]}],"params":{}}],null] 3:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","link","2",{"rel":"icon","href":"/favicon.ico","type":"image/x-icon","sizes":"any"}]] diff --git a/pilot/server/static/datastores/index.html b/pilot/server/static/datastores/index.html index 5d6575ad2..e583a8273 100644 --- a/pilot/server/static/datastores/index.html +++ b/pilot/server/static/datastores/index.html @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/pilot/server/static/datastores/index.txt b/pilot/server/static/datastores/index.txt index 761a290d6..c9f294b8a 100644 --- a/pilot/server/static/datastores/index.txt +++ b/pilot/server/static/datastores/index.txt @@ -1,9 +1,9 @@ 1:HL["/_next/static/css/500e50384396563b.css",{"as":"style"}] -0:["JPbuEmHD8ANs5hbs6PVCC",[[["",{"children":["datastores",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],"$L2",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/500e50384396563b.css","precedence":"next"}]],["$L3",null]]]]] -4:I{"id":"50902","chunks":["180:static/chunks/0e02fca3-615d0d51fa074d92.js","752:static/chunks/752-023c1974f6aa5ee4.js","685:static/chunks/685-9a51e8e6726368d3.js","693:static/chunks/693-ed79550f78fd681b.js","316:static/chunks/316-cdd7af28971b8ca4.js","440:static/chunks/440-96bb64772ec3a56d.js","672:static/chunks/672-860e1c1d53658862.js","751:static/chunks/751-9808572c67f2351c.js","216:static/chunks/216-7cd3d510ec0e1384.js","185:static/chunks/app/layout-5cd4df61bdf482b4.js"],"name":"","async":false} +0:["4ef3Zj0tsK1FEAj-0Rw_K",[[["",{"children":["datastores",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],"$L2",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/500e50384396563b.css","precedence":"next"}]],["$L3",null]]]]] +4:I{"id":"50902","chunks":["180:static/chunks/0e02fca3-615d0d51fa074d92.js","106:static/chunks/106-a778485a4c5bcb5b.js","685:static/chunks/685-9a51e8e6726368d3.js","693:static/chunks/693-ed79550f78fd681b.js","316:static/chunks/316-cdd7af28971b8ca4.js","440:static/chunks/440-8431a38ed9f2e11b.js","672:static/chunks/672-860e1c1d53658862.js","751:static/chunks/751-9808572c67f2351c.js","216:static/chunks/216-7cd3d510ec0e1384.js","185:static/chunks/app/layout-f0f8e514282ceb6a.js"],"name":"","async":false} 5:I{"id":"13211","chunks":["272:static/chunks/webpack-053a725dccea4b75.js","253:static/chunks/bce60fc1-18c9f145b45d8f36.js","769:static/chunks/769-76f7aafd375fdd6b.js"],"name":"","async":false} 6:I{"id":"5767","chunks":["272:static/chunks/webpack-053a725dccea4b75.js","253:static/chunks/bce60fc1-18c9f145b45d8f36.js","769:static/chunks/769-76f7aafd375fdd6b.js"],"name":"","async":false} 7:I{"id":"37396","chunks":["272:static/chunks/webpack-053a725dccea4b75.js","253:static/chunks/bce60fc1-18c9f145b45d8f36.js","769:static/chunks/769-76f7aafd375fdd6b.js"],"name":"","async":false} -8:I{"id":"44323","chunks":["180:static/chunks/0e02fca3-615d0d51fa074d92.js","752:static/chunks/752-023c1974f6aa5ee4.js","685:static/chunks/685-9a51e8e6726368d3.js","86:static/chunks/86-3a20bc6b78835c59.js","693:static/chunks/693-ed79550f78fd681b.js","118:static/chunks/118-46b95fe35f46f1b9.js","672:static/chunks/672-860e1c1d53658862.js","642:static/chunks/642-df31c252aa27b391.js","43:static/chunks/app/datastores/page-b6dadf0c78055de8.js"],"name":"","async":false} +8:I{"id":"44323","chunks":["180:static/chunks/0e02fca3-615d0d51fa074d92.js","106:static/chunks/106-a778485a4c5bcb5b.js","685:static/chunks/685-9a51e8e6726368d3.js","86:static/chunks/86-3a20bc6b78835c59.js","693:static/chunks/693-ed79550f78fd681b.js","118:static/chunks/118-46b95fe35f46f1b9.js","672:static/chunks/672-860e1c1d53658862.js","642:static/chunks/642-df31c252aa27b391.js","43:static/chunks/app/datastores/page-b20f7e6815096335.js"],"name":"","async":false} 2:[["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"template":["$","$L6",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L5",null,{"parallelRouterKey":"children","segmentPath":["children","datastores","children"],"error":"$undefined","errorStyles":"$undefined","loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"template":["$","$L6",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":[["$","$L7",null,{"propsForComponent":{"params":{}},"Component":"$8"}],null],"segment":"__PAGE__"},"styles":[]}],"segment":"datastores"},"styles":[]}],"params":{}}],null] 3:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","link","2",{"rel":"icon","href":"/favicon.ico","type":"image/x-icon","sizes":"any"}]] diff --git a/pilot/server/static/index.html b/pilot/server/static/index.html index 0a4d45432..a012d9dcc 100644 --- a/pilot/server/static/index.html +++ b/pilot/server/static/index.html @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/pilot/server/static/index.txt b/pilot/server/static/index.txt index b3bd4e225..32d935d92 100644 --- a/pilot/server/static/index.txt +++ b/pilot/server/static/index.txt @@ -1,9 +1,9 @@ 1:HL["/_next/static/css/500e50384396563b.css",{"as":"style"}] -0:["JPbuEmHD8ANs5hbs6PVCC",[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",true],"$L2",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/500e50384396563b.css","precedence":"next"}]],["$L3",null]]]]] -4:I{"id":"50902","chunks":["180:static/chunks/0e02fca3-615d0d51fa074d92.js","752:static/chunks/752-023c1974f6aa5ee4.js","685:static/chunks/685-9a51e8e6726368d3.js","693:static/chunks/693-ed79550f78fd681b.js","316:static/chunks/316-cdd7af28971b8ca4.js","440:static/chunks/440-96bb64772ec3a56d.js","672:static/chunks/672-860e1c1d53658862.js","751:static/chunks/751-9808572c67f2351c.js","216:static/chunks/216-7cd3d510ec0e1384.js","185:static/chunks/app/layout-5cd4df61bdf482b4.js"],"name":"","async":false} +0:["4ef3Zj0tsK1FEAj-0Rw_K",[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",true],"$L2",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/500e50384396563b.css","precedence":"next"}]],["$L3",null]]]]] +4:I{"id":"50902","chunks":["180:static/chunks/0e02fca3-615d0d51fa074d92.js","106:static/chunks/106-a778485a4c5bcb5b.js","685:static/chunks/685-9a51e8e6726368d3.js","693:static/chunks/693-ed79550f78fd681b.js","316:static/chunks/316-cdd7af28971b8ca4.js","440:static/chunks/440-8431a38ed9f2e11b.js","672:static/chunks/672-860e1c1d53658862.js","751:static/chunks/751-9808572c67f2351c.js","216:static/chunks/216-7cd3d510ec0e1384.js","185:static/chunks/app/layout-f0f8e514282ceb6a.js"],"name":"","async":false} 5:I{"id":"13211","chunks":["272:static/chunks/webpack-053a725dccea4b75.js","253:static/chunks/bce60fc1-18c9f145b45d8f36.js","769:static/chunks/769-76f7aafd375fdd6b.js"],"name":"","async":false} 6:I{"id":"5767","chunks":["272:static/chunks/webpack-053a725dccea4b75.js","253:static/chunks/bce60fc1-18c9f145b45d8f36.js","769:static/chunks/769-76f7aafd375fdd6b.js"],"name":"","async":false} 7:I{"id":"37396","chunks":["272:static/chunks/webpack-053a725dccea4b75.js","253:static/chunks/bce60fc1-18c9f145b45d8f36.js","769:static/chunks/769-76f7aafd375fdd6b.js"],"name":"","async":false} -8:I{"id":"26925","chunks":["180:static/chunks/0e02fca3-615d0d51fa074d92.js","752:static/chunks/752-023c1974f6aa5ee4.js","685:static/chunks/685-9a51e8e6726368d3.js","86:static/chunks/86-3a20bc6b78835c59.js","316:static/chunks/316-cdd7af28971b8ca4.js","259:static/chunks/259-2c3490a9eca2f411.js","931:static/chunks/app/page-5e29d81c2af5ad47.js"],"name":"","async":false} +8:I{"id":"26925","chunks":["180:static/chunks/0e02fca3-615d0d51fa074d92.js","106:static/chunks/106-a778485a4c5bcb5b.js","685:static/chunks/685-9a51e8e6726368d3.js","86:static/chunks/86-3a20bc6b78835c59.js","316:static/chunks/316-cdd7af28971b8ca4.js","259:static/chunks/259-2c3490a9eca2f411.js","931:static/chunks/app/page-82f81a52b1831f3f.js"],"name":"","async":false} 2:[["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"template":["$","$L6",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":[["$","$L7",null,{"propsForComponent":{"params":{}},"Component":"$8"}],null],"segment":"__PAGE__"},"styles":[]}],"params":{}}],null] 3:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","link","2",{"rel":"icon","href":"/favicon.ico","type":"image/x-icon","sizes":"any"}]]