From 5ca38154e100fcfbb52d9e53a65f28bf12fed1ee Mon Sep 17 00:00:00 2001 From: yhjun1026 <460342015@qq.com> Date: Fri, 25 Aug 2023 11:03:17 +0800 Subject: [PATCH] feat(editor): ChatExcel MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🔥ChatExcel Mode Complete --- pilot/server/static/404.html | 2 +- pilot/server/static/404/index.html | 2 +- .../Gu4-qD_TOa_w-MTIPzoiR/_buildManifest.js | 1 + .../Gu4-qD_TOa_w-MTIPzoiR/_ssgManifest.js | 1 + .../static/chunks/1191-7c19fe87ec12a6a3.js | 1 + .../static/chunks/2662-2fa1e0a9a375836b.js | 84 +++++++++++++++++++ .../chunks/app/chat/page-bd8d42093551dba8.js | 1 + .../app/database/page-72733593bef9b377.js | 1 + .../chunklist/page-6f077c687d3aab06.js | 1 + .../documents/page-2a23f8eeb08f61ac.js | 1 + .../app/datastores/page-afd97080a310de67.js | 1 + .../chunks/app/layout-48c874a19a5f6e05.js | 1 + .../chunks/app/page-c3848dc1e7320f8b.js | 1 + pilot/server/static/chat/index.html | 2 +- pilot/server/static/chat/index.txt | 6 +- pilot/server/static/database/index.html | 2 +- pilot/server/static/database/index.txt | 6 +- .../datastores/documents/chunklist/index.html | 2 +- .../datastores/documents/chunklist/index.txt | 6 +- .../static/datastores/documents/index.html | 2 +- .../static/datastores/documents/index.txt | 6 +- pilot/server/static/datastores/index.html | 2 +- pilot/server/static/datastores/index.txt | 6 +- pilot/server/static/index.html | 2 +- pilot/server/static/index.txt | 6 +- 25 files changed, 120 insertions(+), 26 deletions(-) create mode 100644 pilot/server/static/_next/static/Gu4-qD_TOa_w-MTIPzoiR/_buildManifest.js create mode 100644 pilot/server/static/_next/static/Gu4-qD_TOa_w-MTIPzoiR/_ssgManifest.js create mode 100644 pilot/server/static/_next/static/chunks/1191-7c19fe87ec12a6a3.js create mode 100644 pilot/server/static/_next/static/chunks/2662-2fa1e0a9a375836b.js create mode 100644 pilot/server/static/_next/static/chunks/app/chat/page-bd8d42093551dba8.js create mode 100644 pilot/server/static/_next/static/chunks/app/database/page-72733593bef9b377.js create mode 100644 pilot/server/static/_next/static/chunks/app/datastores/documents/chunklist/page-6f077c687d3aab06.js create mode 100644 pilot/server/static/_next/static/chunks/app/datastores/documents/page-2a23f8eeb08f61ac.js create mode 100644 pilot/server/static/_next/static/chunks/app/datastores/page-afd97080a310de67.js create mode 100644 pilot/server/static/_next/static/chunks/app/layout-48c874a19a5f6e05.js create mode 100644 pilot/server/static/_next/static/chunks/app/page-c3848dc1e7320f8b.js diff --git a/pilot/server/static/404.html b/pilot/server/static/404.html index 8ba104762..17f033434 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 8ba104762..17f033434 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/Gu4-qD_TOa_w-MTIPzoiR/_buildManifest.js b/pilot/server/static/_next/static/Gu4-qD_TOa_w-MTIPzoiR/_buildManifest.js new file mode 100644 index 000000000..8b3a3e1ad --- /dev/null +++ b/pilot/server/static/_next/static/Gu4-qD_TOa_w-MTIPzoiR/_buildManifest.js @@ -0,0 +1 @@ +self.__BUILD_MANIFEST={__rewrites:{beforeFiles:[],afterFiles:[],fallback:[]},"/_error":["static/chunks/pages/_error-bcb3296e330590f7.js"],sortedPages:["/_app","/_error"]},self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file diff --git a/pilot/server/static/_next/static/Gu4-qD_TOa_w-MTIPzoiR/_ssgManifest.js b/pilot/server/static/_next/static/Gu4-qD_TOa_w-MTIPzoiR/_ssgManifest.js new file mode 100644 index 000000000..5b3ff592f --- /dev/null +++ b/pilot/server/static/_next/static/Gu4-qD_TOa_w-MTIPzoiR/_ssgManifest.js @@ -0,0 +1 @@ +self.__SSG_MANIFEST=new Set([]);self.__SSG_MANIFEST_CB&&self.__SSG_MANIFEST_CB() \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/1191-7c19fe87ec12a6a3.js b/pilot/server/static/_next/static/chunks/1191-7c19fe87ec12a6a3.js new file mode 100644 index 000000000..dac48da39 --- /dev/null +++ b/pilot/server/static/_next/static/chunks/1191-7c19fe87ec12a6a3.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1191],{61191:function(e,t,r){r.d(t,{RV:function(){return o},Rk:function(){return l},Ux:function(){return f},aM:function(){return c},q3:function(){return s},qI:function(){return u}});var n=r(40942),i=r(73234),a=r(86006);let s=a.createContext({labelAlign:"right",vertical:!1,itemRef:()=>{}}),u=a.createContext(null),o=e=>{let t=(0,i.Z)(e,["prefixCls"]);return a.createElement(n.RV,Object.assign({},t))},l=a.createContext({prefixCls:""}),c=a.createContext({}),f=e=>{let{children:t,status:r,override:n}=e,i=(0,a.useContext)(c),s=(0,a.useMemo)(()=>{let e=Object.assign({},i);return n&&delete e.isFormItemInput,r&&(delete e.status,delete e.hasFeedback,delete e.feedbackIcon),e},[r,n,i]);return a.createElement(c.Provider,{value:s},t)}},40942:function(e,t,r){r.d(t,{gN:function(){return ep},zb:function(){return b},RV:function(){return ek},aV:function(){return em},ZM:function(){return E},ZP:function(){return eR},cI:function(){return eP},qo:function(){return eq}});var n,i=r(86006),a=r(40431),s=r(89301),u=r(65877),o=r(88684),l=r(90151),c=r(18050),f=r(49449),d=r(70184),g=r(43663),h=r(38340),v=r(25912),p=r(5004),m=r(81027),y="RC_FORM_INTERNAL_HOOKS",F=function(){(0,p.ZP)(!1,"Can not find FormContext. Please make sure you wrap Field under Form.")},b=i.createContext({getFieldValue:F,getFieldsValue:F,getFieldError:F,getFieldWarning:F,getFieldsError:F,isFieldsTouched:F,isFieldTouched:F,isFieldValidating:F,isFieldsValidating:F,resetFields:F,setFields:F,setFieldValue:F,setFieldsValue:F,validateFields:F,submit:F,getInternalHooks:function(){return F(),{dispatch:F,initEntityValue:F,registerField:F,useSubscribe:F,setInitialValues:F,destroyForm:F,setCallbacks:F,registerWatch:F,getFields:F,setValidateMessages:F,setPreserve:F,getInitialValue:F}}}),E=i.createContext(null);function w(e){return null==e?[]:Array.isArray(e)?e:[e]}var Z=r(71971),P=r(27859),V=r(52040);function k(){return(k=Object.assign?Object.assign.bind():function(e){for(var t=1;t1?t-1:0),n=1;n=a)return e;switch(e){case"%s":return String(r[i++]);case"%d":return Number(r[i++]);case"%j":try{return JSON.stringify(r[i++])}catch(e){return"[Circular]"}break;default:return e}}):e}function j(e,t){return!!(null==e||"array"===t&&Array.isArray(e)&&!e.length)||("string"===t||"url"===t||"hex"===t||"email"===t||"date"===t||"pattern"===t)&&"string"==typeof e&&!e}function M(e,t,r){var n=0,i=e.length;!function a(s){if(s&&s.length){r(s);return}var u=n;n+=1,u()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},L={integer:function(e){return L.number(e)&&parseInt(e,10)===e},float:function(e){return L.number(e)&&!L.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return new RegExp(e),!0}catch(e){return!1}},date:function(e){return"function"==typeof e.getTime&&"function"==typeof e.getMonth&&"function"==typeof e.getYear&&!isNaN(e.getTime())},number:function(e){return!isNaN(e)&&"number"==typeof e},object:function(e){return"object"==typeof e&&!L.array(e)},method:function(e){return"function"==typeof e},email:function(e){return"string"==typeof e&&e.length<=320&&!!e.match(U.email)},url:function(e){return"string"==typeof e&&e.length<=2048&&!!e.match(_())},hex:function(e){return"string"==typeof e&&!!e.match(U.hex)}},W="enum",D={required:S,whitespace:function(e,t,r,n,i){(/^\s+$/.test(t)||""===t)&&n.push(N(i.messages.whitespace,e.fullField))},type:function(e,t,r,n,i){if(e.required&&void 0===t){S(e,t,r,n,i);return}var a=e.type;["integer","float","array","regexp","object","method","email","number","date","url","hex"].indexOf(a)>-1?L[a](t)||n.push(N(i.messages.types[a],e.fullField,e.type)):a&&typeof t!==e.type&&n.push(N(i.messages.types[a],e.fullField,e.type))},range:function(e,t,r,n,i){var a="number"==typeof e.len,s="number"==typeof e.min,u="number"==typeof e.max,o=t,l=null,c="number"==typeof t,f="string"==typeof t,d=Array.isArray(t);if(c?l="number":f?l="string":d&&(l="array"),!l)return!1;d&&(o=t.length),f&&(o=t.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"_").length),a?o!==e.len&&n.push(N(i.messages[l].len,e.fullField,e.len)):s&&!u&&oe.max?n.push(N(i.messages[l].max,e.fullField,e.max)):s&&u&&(oe.max)&&n.push(N(i.messages[l].range,e.fullField,e.min,e.max))},enum:function(e,t,r,n,i){e[W]=Array.isArray(e[W])?e[W]:[],-1===e[W].indexOf(t)&&n.push(N(i.messages[W],e.fullField,e[W].join(", ")))},pattern:function(e,t,r,n,i){!e.pattern||(e.pattern instanceof RegExp?(e.pattern.lastIndex=0,e.pattern.test(t)||n.push(N(i.messages.pattern.mismatch,e.fullField,t,e.pattern))):"string"!=typeof e.pattern||new RegExp(e.pattern).test(t)||n.push(N(i.messages.pattern.mismatch,e.fullField,t,e.pattern)))}},H=function(e,t,r,n,i){var a=e.type,s=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(j(t,a)&&!e.required)return r();D.required(e,t,n,s,i,a),j(t,a)||D.type(e,t,n,s,i)}r(s)},z={string:function(e,t,r,n,i){var a=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(j(t,"string")&&!e.required)return r();D.required(e,t,n,a,i,"string"),j(t,"string")||(D.type(e,t,n,a,i),D.range(e,t,n,a,i),D.pattern(e,t,n,a,i),!0===e.whitespace&&D.whitespace(e,t,n,a,i))}r(a)},method:function(e,t,r,n,i){var a=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(j(t)&&!e.required)return r();D.required(e,t,n,a,i),void 0!==t&&D.type(e,t,n,a,i)}r(a)},number:function(e,t,r,n,i){var a=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(""===t&&(t=void 0),j(t)&&!e.required)return r();D.required(e,t,n,a,i),void 0!==t&&(D.type(e,t,n,a,i),D.range(e,t,n,a,i))}r(a)},boolean:function(e,t,r,n,i){var a=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(j(t)&&!e.required)return r();D.required(e,t,n,a,i),void 0!==t&&D.type(e,t,n,a,i)}r(a)},regexp:function(e,t,r,n,i){var a=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(j(t)&&!e.required)return r();D.required(e,t,n,a,i),j(t)||D.type(e,t,n,a,i)}r(a)},integer:function(e,t,r,n,i){var a=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(j(t)&&!e.required)return r();D.required(e,t,n,a,i),void 0!==t&&(D.type(e,t,n,a,i),D.range(e,t,n,a,i))}r(a)},float:function(e,t,r,n,i){var a=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(j(t)&&!e.required)return r();D.required(e,t,n,a,i),void 0!==t&&(D.type(e,t,n,a,i),D.range(e,t,n,a,i))}r(a)},array:function(e,t,r,n,i){var a=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(null==t&&!e.required)return r();D.required(e,t,n,a,i,"array"),null!=t&&(D.type(e,t,n,a,i),D.range(e,t,n,a,i))}r(a)},object:function(e,t,r,n,i){var a=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(j(t)&&!e.required)return r();D.required(e,t,n,a,i),void 0!==t&&D.type(e,t,n,a,i)}r(a)},enum:function(e,t,r,n,i){var a=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(j(t)&&!e.required)return r();D.required(e,t,n,a,i),void 0!==t&&D.enum(e,t,n,a,i)}r(a)},pattern:function(e,t,r,n,i){var a=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(j(t,"string")&&!e.required)return r();D.required(e,t,n,a,i),j(t,"string")||D.pattern(e,t,n,a,i)}r(a)},date:function(e,t,r,n,i){var a,s=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(j(t,"date")&&!e.required)return r();D.required(e,t,n,s,i),!j(t,"date")&&(a=t instanceof Date?t:new Date(t),D.type(e,a,n,s,i),a&&D.range(e,a.getTime(),n,s,i))}r(s)},url:H,hex:H,email:H,required:function(e,t,r,n,i){var a=[],s=Array.isArray(t)?"array":typeof t;D.required(e,t,n,a,i,s),r(a)},any:function(e,t,r,n,i){var a=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(j(t)&&!e.required)return r();D.required(e,t,n,a,i)}r(a)}};function J(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var B=J(),K=function(){function e(e){this.rules=null,this._messages=B,this.define(e)}var t=e.prototype;return t.define=function(e){var t=this;if(!e)throw Error("Cannot configure a schema with no rules");if("object"!=typeof e||Array.isArray(e))throw Error("Rules must be an object");this.rules={},Object.keys(e).forEach(function(r){var n=e[r];t.rules[r]=Array.isArray(n)?n:[n]})},t.messages=function(e){return e&&(this._messages=T(J(),e)),this._messages},t.validate=function(t,r,n){var i=this;void 0===r&&(r={}),void 0===n&&(n=function(){});var a=t,s=r,u=n;if("function"==typeof s&&(u=s,s={}),!this.rules||0===Object.keys(this.rules).length)return u&&u(null,a),Promise.resolve(a);if(s.messages){var o=this.messages();o===B&&(o=J()),T(o,s.messages),s.messages=o}else s.messages=this.messages();var l={};(s.keys||Object.keys(this.rules)).forEach(function(e){var r=i.rules[e],n=a[e];r.forEach(function(r){var s=r;"function"==typeof s.transform&&(a===t&&(a=k({},a)),n=a[e]=s.transform(n)),(s="function"==typeof s?{validator:s}:k({},s)).validator=i.getValidationMethod(s),s.validator&&(s.field=e,s.fullField=s.fullField||e,s.type=i.getType(s),l[e]=l[e]||[],l[e].push({rule:s,value:n,source:a,field:e}))})});var c={};return function(e,t,r,n,i){if(t.first){var a=new Promise(function(t,a){var s;M((s=[],Object.keys(e).forEach(function(t){s.push.apply(s,e[t]||[])}),s),r,function(e){return n(e),e.length?a(new I(e,R(e))):t(i)})});return a.catch(function(e){return e}),a}var s=!0===t.firstFields?Object.keys(e):t.firstFields||[],u=Object.keys(e),o=u.length,l=0,c=[],f=new Promise(function(t,a){var f=function(e){if(c.push.apply(c,e),++l===o)return n(c),c.length?a(new I(c,R(c))):t(i)};u.length||(n(c),t(i)),u.forEach(function(t){var n=e[t];-1!==s.indexOf(t)?M(n,r,f):function(e,t,r){var n=[],i=0,a=e.length;function s(e){n.push.apply(n,e||[]),++i===a&&r(n)}e.forEach(function(e){t(e,s)})}(n,r,f)})});return f.catch(function(e){return e}),f}(l,s,function(t,r){var n,i=t.rule,u=("object"===i.type||"array"===i.type)&&("object"==typeof i.fields||"object"==typeof i.defaultField);function o(e,t){return k({},t,{fullField:i.fullField+"."+e,fullFields:i.fullFields?[].concat(i.fullFields,[e]):[e]})}function l(n){void 0===n&&(n=[]);var l=Array.isArray(n)?n:[n];!s.suppressWarning&&l.length&&e.warning("async-validator:",l),l.length&&void 0!==i.message&&(l=[].concat(i.message));var f=l.map($(i,a));if(s.first&&f.length)return c[i.field]=1,r(f);if(u){if(i.required&&!t.value)return void 0!==i.message?f=[].concat(i.message).map($(i,a)):s.error&&(f=[s.error(i,N(s.messages.required,i.field))]),r(f);var d={};i.defaultField&&Object.keys(t.value).map(function(e){d[e]=i.defaultField});var g={};Object.keys(d=k({},d,t.rule.fields)).forEach(function(e){var t=d[e],r=Array.isArray(t)?t:[t];g[e]=r.map(o.bind(null,e))});var h=new e(g);h.messages(s.messages),t.rule.options&&(t.rule.options.messages=s.messages,t.rule.options.error=s.error),h.validate(t.value,t.rule.options||s,function(e){var t=[];f&&f.length&&t.push.apply(t,f),e&&e.length&&t.push.apply(t,e),r(t.length?t:null)})}else r(f)}if(u=u&&(i.required||!i.required&&t.value),i.field=t.field,i.asyncValidator)n=i.asyncValidator(i,t.value,l,t.source,s);else if(i.validator){try{n=i.validator(i,t.value,l,t.source,s)}catch(e){null==console.error||console.error(e),s.suppressValidatorError||setTimeout(function(){throw e},0),l(e.message)}!0===n?l():!1===n?l("function"==typeof i.message?i.message(i.fullField||i.field):i.message||(i.fullField||i.field)+" fails"):n instanceof Array?l(n):n instanceof Error&&l(n.message)}n&&n.then&&n.then(function(){return l()},function(e){return l(e)})},function(e){!function(e){for(var t=[],r={},n=0;n=n||r<0||r>=n)return e;var i=e[t],a=t-r;return a>0?[].concat((0,l.Z)(e.slice(0,r)),[i],(0,l.Z)(e.slice(r,t)),(0,l.Z)(e.slice(t+1,n))):a<0?[].concat((0,l.Z)(e.slice(0,t)),(0,l.Z)(e.slice(t+1,r+1)),[i],(0,l.Z)(e.slice(r+1,n))):e}var ed=["name"],eg=[];function eh(e,t,r,n,i,a){return"function"==typeof e?e(t,r,"source"in a?{source:a.source}:{}):n!==i}var ev=function(e){(0,g.Z)(r,e);var t=(0,h.Z)(r);function r(e){var n;return(0,c.Z)(this,r),(n=t.call(this,e)).state={resetCount:0},n.cancelRegisterFunc=null,n.mounted=!1,n.touched=!1,n.dirty=!1,n.validatePromise=void 0,n.prevValidating=void 0,n.errors=eg,n.warnings=eg,n.cancelRegister=function(){var e=n.props,t=e.preserve,r=e.isListField,i=e.name;n.cancelRegisterFunc&&n.cancelRegisterFunc(r,t,es(i)),n.cancelRegisterFunc=null},n.getNamePath=function(){var e=n.props,t=e.name,r=e.fieldContext.prefixName,i=void 0===r?[]:r;return void 0!==t?[].concat((0,l.Z)(i),(0,l.Z)(t)):[]},n.getRules=function(){var e=n.props,t=e.rules,r=e.fieldContext;return(void 0===t?[]:t).map(function(e){return"function"==typeof e?e(r):e})},n.refresh=function(){n.mounted&&n.setState(function(e){return{resetCount:e.resetCount+1}})},n.metaCache=null,n.triggerMetaEvent=function(e){var t=n.props.onMetaChange;if(t){var r=(0,o.Z)((0,o.Z)({},n.getMeta()),{},{destroy:e});(0,m.Z)(n.metaCache,r)||t(r),n.metaCache=r}else n.metaCache=null},n.onStoreChange=function(e,t,r){var i=n.props,a=i.shouldUpdate,s=i.dependencies,u=void 0===s?[]:s,o=i.onReset,l=r.store,c=n.getNamePath(),f=n.getValue(e),d=n.getValue(l),g=t&&eo(t,c);switch("valueUpdate"===r.type&&"external"===r.source&&f!==d&&(n.touched=!0,n.dirty=!0,n.validatePromise=null,n.errors=eg,n.warnings=eg,n.triggerMetaEvent()),r.type){case"reset":if(!t||g){n.touched=!1,n.dirty=!1,n.validatePromise=void 0,n.errors=eg,n.warnings=eg,n.triggerMetaEvent(),null==o||o(),n.refresh();return}break;case"remove":if(a){n.reRender();return}break;case"setField":if(g){var h=r.data;"touched"in h&&(n.touched=h.touched),"validating"in h&&!("originRCField"in h)&&(n.validatePromise=h.validating?Promise.resolve([]):null),"errors"in h&&(n.errors=h.errors||eg),"warnings"in h&&(n.warnings=h.warnings||eg),n.dirty=!0,n.triggerMetaEvent(),n.reRender();return}if(a&&!c.length&&eh(a,e,l,f,d,r)){n.reRender();return}break;case"dependenciesUpdate":if(u.map(es).some(function(e){return eo(r.relatedFields,e)})){n.reRender();return}break;default:if(g||(!u.length||c.length||a)&&eh(a,e,l,f,d,r)){n.reRender();return}}!0===a&&n.reRender()},n.validateRules=function(e){var t=n.getNamePath(),r=n.getValue(),i=e||{},a=i.triggerName,s=i.validateOnly,u=Promise.resolve().then(function(){if(!n.mounted)return[];var i=n.props,s=i.validateFirst,c=void 0!==s&&s,f=i.messageVariables,d=n.getRules();a&&(d=d.filter(function(e){return e}).filter(function(e){var t=e.validateTrigger;return!t||w(t).includes(a)}));var g=function(e,t,r,n,i,a){var s,u,l=e.join("."),c=r.map(function(e,t){var r=e.validator,n=(0,o.Z)((0,o.Z)({},e),{},{ruleIndex:t});return r&&(n.validator=function(e,t,n){var i=!1,a=r(e,t,function(){for(var e=arguments.length,t=Array(e),r=0;r0&&void 0!==arguments[0]?arguments[0]:eg;if(n.validatePromise===u){n.validatePromise=null;var t,r=[],i=[];null===(t=e.forEach)||void 0===t||t.call(e,function(e){var t=e.rule.warningOnly,n=e.errors,a=void 0===n?eg:n;t?i.push.apply(i,(0,l.Z)(a)):r.push.apply(r,(0,l.Z)(a))}),n.errors=r,n.warnings=i,n.triggerMetaEvent(),n.reRender()}}),g});return void 0!==s&&s||(n.validatePromise=u,n.dirty=!0,n.errors=eg,n.warnings=eg,n.triggerMetaEvent(),n.reRender()),u},n.isFieldValidating=function(){return!!n.validatePromise},n.isFieldTouched=function(){return n.touched},n.isFieldDirty=function(){return!!n.dirty||void 0!==n.props.initialValue||void 0!==(0,n.props.fieldContext.getInternalHooks(y).getInitialValue)(n.getNamePath())},n.getErrors=function(){return n.errors},n.getWarnings=function(){return n.warnings},n.isListField=function(){return n.props.isListField},n.isList=function(){return n.props.isList},n.isPreserve=function(){return n.props.preserve},n.getMeta=function(){return n.prevValidating=n.isFieldValidating(),{touched:n.isFieldTouched(),validating:n.prevValidating,errors:n.errors,warnings:n.warnings,name:n.getNamePath(),validated:null===n.validatePromise}},n.getOnlyChild=function(e){if("function"==typeof e){var t=n.getMeta();return(0,o.Z)((0,o.Z)({},n.getOnlyChild(e(n.getControlled(),t,n.props.fieldContext))),{},{isFunction:!0})}var r=(0,v.Z)(e);return 1===r.length&&i.isValidElement(r[0])?{child:r[0],isFunction:!1}:{child:r,isFunction:!1}},n.getValue=function(e){var t=n.props.fieldContext.getFieldsValue,r=n.getNamePath();return(0,ea.Z)(e||t(!0),r)},n.getControlled=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=n.props,r=t.trigger,i=t.validateTrigger,a=t.getValueFromEvent,s=t.normalize,l=t.valuePropName,c=t.getValueProps,f=t.fieldContext,d=void 0!==i?i:f.validateTrigger,g=n.getNamePath(),h=f.getInternalHooks,v=f.getFieldsValue,p=h(y).dispatch,m=n.getValue(),F=c||function(e){return(0,u.Z)({},l,e)},b=e[r],E=(0,o.Z)((0,o.Z)({},e),F(m));return E[r]=function(){n.touched=!0,n.dirty=!0,n.triggerMetaEvent();for(var e,t=arguments.length,r=Array(t),i=0;i=0&&t<=r.length?(d.keys=[].concat((0,l.Z)(d.keys.slice(0,t)),[d.id],(0,l.Z)(d.keys.slice(t))),i([].concat((0,l.Z)(r.slice(0,t)),[e],(0,l.Z)(r.slice(t))))):(d.keys=[].concat((0,l.Z)(d.keys),[d.id]),i([].concat((0,l.Z)(r),[e]))),d.id+=1},remove:function(e){var t=s(),r=new Set(Array.isArray(e)?e:[e]);r.size<=0||(d.keys=d.keys.filter(function(e,t){return!r.has(t)}),i(t.filter(function(e,t){return!r.has(t)})))},move:function(e,t){if(e!==t){var r=s();e<0||e>=r.length||t<0||t>=r.length||(d.keys=ef(d.keys,e,t),i(ef(r,e,t)))}}},t)})))},ey=r(60456),eF="__@field_split__";function eb(e){return e.map(function(e){return"".concat((0,ei.Z)(e),":").concat(e)}).join(eF)}var eE=function(){function e(){(0,c.Z)(this,e),this.kvs=new Map}return(0,f.Z)(e,[{key:"set",value:function(e,t){this.kvs.set(eb(e),t)}},{key:"get",value:function(e){return this.kvs.get(eb(e))}},{key:"update",value:function(e,t){var r=t(this.get(e));r?this.set(e,r):this.delete(e)}},{key:"delete",value:function(e){this.kvs.delete(eb(e))}},{key:"map",value:function(e){return(0,l.Z)(this.kvs.entries()).map(function(t){var r=(0,ey.Z)(t,2),n=r[0],i=r[1];return e({key:n.split(eF).map(function(e){var t=e.match(/^([^:]*):(.*)$/),r=(0,ey.Z)(t,3),n=r[1],i=r[2];return"number"===n?Number(i):i}),value:i})})}},{key:"toJSON",value:function(){var e={};return this.map(function(t){var r=t.key,n=t.value;return e[r.join(".")]=n,null}),e}}]),e}(),ew=["name"],eZ=(0,f.Z)(function e(t){var r=this;(0,c.Z)(this,e),this.formHooked=!1,this.forceRootUpdate=void 0,this.subscribable=!0,this.store={},this.fieldEntities=[],this.initialValues={},this.callbacks={},this.validateMessages=null,this.preserve=null,this.lastValidatePromise=null,this.getForm=function(){return{getFieldValue:r.getFieldValue,getFieldsValue:r.getFieldsValue,getFieldError:r.getFieldError,getFieldWarning:r.getFieldWarning,getFieldsError:r.getFieldsError,isFieldsTouched:r.isFieldsTouched,isFieldTouched:r.isFieldTouched,isFieldValidating:r.isFieldValidating,isFieldsValidating:r.isFieldsValidating,resetFields:r.resetFields,setFields:r.setFields,setFieldValue:r.setFieldValue,setFieldsValue:r.setFieldsValue,validateFields:r.validateFields,submit:r.submit,_init:!0,getInternalHooks:r.getInternalHooks}},this.getInternalHooks=function(e){return e===y?(r.formHooked=!0,{dispatch:r.dispatch,initEntityValue:r.initEntityValue,registerField:r.registerField,useSubscribe:r.useSubscribe,setInitialValues:r.setInitialValues,destroyForm:r.destroyForm,setCallbacks:r.setCallbacks,setValidateMessages:r.setValidateMessages,getFields:r.getFields,setPreserve:r.setPreserve,getInitialValue:r.getInitialValue,registerWatch:r.registerWatch}):((0,p.ZP)(!1,"`getInternalHooks` is internal usage. Should not call directly."),null)},this.useSubscribe=function(e){r.subscribable=e},this.prevWithoutPreserves=null,this.setInitialValues=function(e,t){if(r.initialValues=e||{},t){var n,i=(0,Q.T)(e,r.store);null===(n=r.prevWithoutPreserves)||void 0===n||n.map(function(t){var r=t.key;i=(0,Q.Z)(i,r,(0,ea.Z)(e,r))}),r.prevWithoutPreserves=null,r.updateStore(i)}},this.destroyForm=function(){var e=new eE;r.getFieldEntities(!0).forEach(function(t){r.isMergedPreserve(t.isPreserve())||e.set(t.getNamePath(),!0)}),r.prevWithoutPreserves=e},this.getInitialValue=function(e){var t=(0,ea.Z)(r.initialValues,e);return e.length?(0,Q.T)(t):t},this.setCallbacks=function(e){r.callbacks=e},this.setValidateMessages=function(e){r.validateMessages=e},this.setPreserve=function(e){r.preserve=e},this.watchList=[],this.registerWatch=function(e){return r.watchList.push(e),function(){r.watchList=r.watchList.filter(function(t){return t!==e})}},this.notifyWatch=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(r.watchList.length){var t=r.getFieldsValue(),n=r.getFieldsValue(!0);r.watchList.forEach(function(r){r(t,n,e)})}},this.timeoutId=null,this.warningUnhooked=function(){},this.updateStore=function(e){r.store=e},this.getFieldEntities=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return e?r.fieldEntities.filter(function(e){return e.getNamePath().length}):r.fieldEntities},this.getFieldsMap=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=new eE;return r.getFieldEntities(e).forEach(function(e){var r=e.getNamePath();t.set(r,e)}),t},this.getFieldEntitiesForNamePathList=function(e){if(!e)return r.getFieldEntities(!0);var t=r.getFieldsMap(!0);return e.map(function(e){var r=es(e);return t.get(r)||{INVALIDATE_NAME_PATH:es(e)}})},this.getFieldsValue=function(e,t){if(r.warningUnhooked(),!0===e||Array.isArray(e)?(n=e,i=t):e&&"object"===(0,ei.Z)(e)&&(a=e.strict,i=e.filter),!0===n&&!i)return r.store;var n,i,a,s=r.getFieldEntitiesForNamePathList(Array.isArray(n)?n:null),u=[];return s.forEach(function(e){var t,r,s="INVALIDATE_NAME_PATH"in e?e.INVALIDATE_NAME_PATH:e.getNamePath();if(a){if(null===(r=e.isList)||void 0===r?void 0:r.call(e))return}else if(!n&&(null===(t=e.isListField)||void 0===t?void 0:t.call(e)))return;i?i("getMeta"in e?e.getMeta():null)&&u.push(s):u.push(s)}),eu(r.store,u.map(es))},this.getFieldValue=function(e){r.warningUnhooked();var t=es(e);return(0,ea.Z)(r.store,t)},this.getFieldsError=function(e){return r.warningUnhooked(),r.getFieldEntitiesForNamePathList(e).map(function(t,r){return!t||"INVALIDATE_NAME_PATH"in t?{name:es(e[r]),errors:[],warnings:[]}:{name:t.getNamePath(),errors:t.getErrors(),warnings:t.getWarnings()}})},this.getFieldError=function(e){r.warningUnhooked();var t=es(e);return r.getFieldsError([t])[0].errors},this.getFieldWarning=function(e){r.warningUnhooked();var t=es(e);return r.getFieldsError([t])[0].warnings},this.isFieldsTouched=function(){r.warningUnhooked();for(var e,t=arguments.length,n=Array(t),i=0;i0&&void 0!==arguments[0]?arguments[0]:{},n=new eE,i=r.getFieldEntities(!0);i.forEach(function(e){var t=e.props.initialValue,r=e.getNamePath();if(void 0!==t){var i=n.get(r)||new Set;i.add({entity:e,value:t}),n.set(r,i)}}),t.entities?e=t.entities:t.namePathList?(e=[],t.namePathList.forEach(function(t){var r,i=n.get(t);i&&(r=e).push.apply(r,(0,l.Z)((0,l.Z)(i).map(function(e){return e.entity})))})):e=i,function(e){e.forEach(function(e){if(void 0!==e.props.initialValue){var i=e.getNamePath();if(void 0!==r.getInitialValue(i))(0,p.ZP)(!1,"Form already set 'initialValues' with path '".concat(i.join("."),"'. Field can not overwrite it."));else{var a=n.get(i);if(a&&a.size>1)(0,p.ZP)(!1,"Multiple Field with path '".concat(i.join("."),"' set 'initialValue'. Can not decide which one to pick."));else if(a){var s=r.getFieldValue(i);t.skipExist&&void 0!==s||r.updateStore((0,Q.Z)(r.store,i,(0,l.Z)(a)[0].value))}}}})}(e)},this.resetFields=function(e){r.warningUnhooked();var t=r.store;if(!e){r.updateStore((0,Q.T)(r.initialValues)),r.resetWithFieldInitialValue(),r.notifyObservers(t,null,{type:"reset"}),r.notifyWatch();return}var n=e.map(es);n.forEach(function(e){var t=r.getInitialValue(e);r.updateStore((0,Q.Z)(r.store,e,t))}),r.resetWithFieldInitialValue({namePathList:n}),r.notifyObservers(t,n,{type:"reset"}),r.notifyWatch(n)},this.setFields=function(e){r.warningUnhooked();var t=r.store,n=[];e.forEach(function(e){var i=e.name,a=(0,s.Z)(e,ew),u=es(i);n.push(u),"value"in a&&r.updateStore((0,Q.Z)(r.store,u,a.value)),r.notifyObservers(t,[u],{type:"setField",data:e})}),r.notifyWatch(n)},this.getFields=function(){return r.getFieldEntities(!0).map(function(e){var t=e.getNamePath(),n=e.getMeta(),i=(0,o.Z)((0,o.Z)({},n),{},{name:t,value:r.getFieldValue(t)});return Object.defineProperty(i,"originRCField",{value:!0}),i})},this.initEntityValue=function(e){var t=e.props.initialValue;if(void 0!==t){var n=e.getNamePath();void 0===(0,ea.Z)(r.store,n)&&r.updateStore((0,Q.Z)(r.store,n,t))}},this.isMergedPreserve=function(e){var t=void 0!==e?e:r.preserve;return null==t||t},this.registerField=function(e){r.fieldEntities.push(e);var t=e.getNamePath();if(r.notifyWatch([t]),void 0!==e.props.initialValue){var n=r.store;r.resetWithFieldInitialValue({entities:[e],skipExist:!0}),r.notifyObservers(n,[e.getNamePath()],{type:"valueUpdate",source:"internal"})}return function(n,i){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];if(r.fieldEntities=r.fieldEntities.filter(function(t){return t!==e}),!r.isMergedPreserve(i)&&(!n||a.length>1)){var s=n?void 0:r.getInitialValue(t);if(t.length&&r.getFieldValue(t)!==s&&r.fieldEntities.every(function(e){return!el(e.getNamePath(),t)})){var u=r.store;r.updateStore((0,Q.Z)(u,t,s,!0)),r.notifyObservers(u,[t],{type:"remove"}),r.triggerDependenciesUpdate(u,t)}}r.notifyWatch([t])}},this.dispatch=function(e){switch(e.type){case"updateValue":var t=e.namePath,n=e.value;r.updateValue(t,n);break;case"validateField":var i=e.namePath,a=e.triggerName;r.validateFields([i],{triggerName:a})}},this.notifyObservers=function(e,t,n){if(r.subscribable){var i=(0,o.Z)((0,o.Z)({},n),{},{store:r.getFieldsValue(!0)});r.getFieldEntities().forEach(function(r){(0,r.onStoreChange)(e,t,i)})}else r.forceRootUpdate()},this.triggerDependenciesUpdate=function(e,t){var n=r.getDependencyChildrenFields(t);return n.length&&r.validateFields(n),r.notifyObservers(e,n,{type:"dependenciesUpdate",relatedFields:[t].concat((0,l.Z)(n))}),n},this.updateValue=function(e,t){var n=es(e),i=r.store;r.updateStore((0,Q.Z)(r.store,n,t)),r.notifyObservers(i,[n],{type:"valueUpdate",source:"internal"}),r.notifyWatch([n]);var a=r.triggerDependenciesUpdate(i,n),s=r.callbacks.onValuesChange;s&&s(eu(r.store,[n]),r.getFieldsValue()),r.triggerOnFieldsChange([n].concat((0,l.Z)(a)))},this.setFieldsValue=function(e){r.warningUnhooked();var t=r.store;if(e){var n=(0,Q.T)(r.store,e);r.updateStore(n)}r.notifyObservers(t,null,{type:"valueUpdate",source:"external"}),r.notifyWatch()},this.setFieldValue=function(e,t){r.setFields([{name:e,value:t}])},this.getDependencyChildrenFields=function(e){var t=new Set,n=[],i=new eE;return r.getFieldEntities().forEach(function(e){(e.props.dependencies||[]).forEach(function(t){var r=es(t);i.update(r,function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Set;return t.add(e),t})})}),function e(r){(i.get(r)||new Set).forEach(function(r){if(!t.has(r)){t.add(r);var i=r.getNamePath();r.isFieldDirty()&&i.length&&(n.push(i),e(i))}})}(e),n},this.triggerOnFieldsChange=function(e,t){var n=r.callbacks.onFieldsChange;if(n){var i=r.getFields();if(t){var a=new eE;t.forEach(function(e){var t=e.name,r=e.errors;a.set(t,r)}),i.forEach(function(e){e.errors=a.get(e.name)||e.errors})}var s=i.filter(function(t){return eo(e,t.name)});s.length&&n(s,i)}},this.validateFields=function(e,t){r.warningUnhooked(),Array.isArray(e)||"string"==typeof e||"string"==typeof t?(s=e,u=t):u=e;var n,i,a,s,u,c=!!s,f=c?s.map(es):[],d=[],g=String(Date.now()),h=new Set;r.getFieldEntities(!0).forEach(function(e){if(c||f.push(e.getNamePath()),(null===(t=u)||void 0===t?void 0:t.recursive)&&c){var t,n=e.getNamePath();n.every(function(e,t){return s[t]===e||void 0===s[t]})&&f.push(n)}if(e.props.rules&&e.props.rules.length){var i=e.getNamePath();if(h.add(i.join(g)),!c||eo(f,i)){var a=e.validateRules((0,o.Z)({validateMessages:(0,o.Z)((0,o.Z)({},G),r.validateMessages)},u));d.push(a.then(function(){return{name:i,errors:[],warnings:[]}}).catch(function(e){var t,r=[],n=[];return(null===(t=e.forEach)||void 0===t||t.call(e,function(e){var t=e.rule.warningOnly,i=e.errors;t?n.push.apply(n,(0,l.Z)(i)):r.push.apply(r,(0,l.Z)(i))}),r.length)?Promise.reject({name:i,errors:r,warnings:n}):{name:i,errors:r,warnings:n}}))}}});var v=(n=!1,i=d.length,a=[],d.length?new Promise(function(e,t){d.forEach(function(r,s){r.catch(function(e){return n=!0,e}).then(function(r){i-=1,a[s]=r,i>0||(n&&t(a),e(a))})})}):Promise.resolve([]));r.lastValidatePromise=v,v.catch(function(e){return e}).then(function(e){var t=e.map(function(e){return e.name});r.notifyObservers(r.store,t,{type:"validateFinish"}),r.triggerOnFieldsChange(t,e)});var p=v.then(function(){return r.lastValidatePromise===v?Promise.resolve(r.getFieldsValue(f)):Promise.reject([])}).catch(function(e){var t=e.filter(function(e){return e&&e.errors.length});return Promise.reject({values:r.getFieldsValue(f),errorFields:t,outOfDate:r.lastValidatePromise!==v})});p.catch(function(e){return e});var m=f.filter(function(e){return h.has(e.join(g))});return r.triggerOnFieldsChange(m),p},this.submit=function(){r.warningUnhooked(),r.validateFields().then(function(e){var t=r.callbacks.onFinish;if(t)try{t(e)}catch(e){console.error(e)}}).catch(function(e){var t=r.callbacks.onFinishFailed;t&&t(e)})},this.forceRootUpdate=t}),eP=function(e){var t=i.useRef(),r=i.useState({}),n=(0,ey.Z)(r,2)[1];if(!t.current){if(e)t.current=e;else{var a=new eZ(function(){n({})});t.current=a.getForm()}}return[t.current]},eV=i.createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}}),ek=function(e){var t=e.validateMessages,r=e.onFormChange,n=e.onFormFinish,a=e.children,s=i.useContext(eV),l=i.useRef({});return i.createElement(eV.Provider,{value:(0,o.Z)((0,o.Z)({},s),{},{validateMessages:(0,o.Z)((0,o.Z)({},s.validateMessages),t),triggerFormChange:function(e,t){r&&r(e,{changedFields:t,forms:l.current}),s.triggerFormChange(e,t)},triggerFormFinish:function(e,t){n&&n(e,{values:t,forms:l.current}),s.triggerFormFinish(e,t)},registerForm:function(e,t){e&&(l.current=(0,o.Z)((0,o.Z)({},l.current),{},(0,u.Z)({},e,t))),s.registerForm(e,t)},unregisterForm:function(e){var t=(0,o.Z)({},l.current);delete t[e],l.current=t,s.unregisterForm(e)}})},a)},ex=["name","initialValues","fields","form","preserve","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed"];function eC(e){try{return JSON.stringify(e)}catch(e){return Math.random()}}var eO=function(){},eq=function(){for(var e=arguments.length,t=Array(e),r=0;r1?t-1:0),i=1;i=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},84596:function(e,t,r){"use strict";r.d(t,{E4:function(){return ew},jG:function(){return A},t2:function(){return N},fp:function(){return H},xy:function(){return eC}});var n,o=r(90151),i=r(88684),a=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)},l=r(86006),s=r.t(l,2);r(55567),r(81027);var c=r(18050),u=r(49449),f=r(65877),d=function(){function e(t){(0,c.Z)(this,e),(0,f.Z)(this,"instanceId",void 0),(0,f.Z)(this,"cache",new Map),this.instanceId=t}return(0,u.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}(),p="data-token-hash",h="data-css-hash",g="__cssinjs_instance__",m=l.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(h,"]"))||[],r=document.head.firstChild;Array.from(t).forEach(function(t){t[g]=t[g]||e,t[g]===e&&document.head.insertBefore(t,r)});var n={};Array.from(document.querySelectorAll("style[".concat(h,"]"))).forEach(function(t){var r,o=t.getAttribute(h);n[o]?t[g]===e&&(null===(r=t.parentNode)||void 0===r||r.removeChild(t)):n[o]=!0})}return new d(e)}(),defaultCache:!0}),v=r(965),y=r(71693),b=r(52160),x=r(60456),C=function(){function e(){(0,c.Z)(this,e),(0,f.Z)(this,"cache",void 0),(0,f.Z)(this,"keys",void 0),(0,f.Z)(this,"cacheCallTimes",void 0),this.cache=new Map,this.keys=[],this.cacheCallTimes=0}return(0,u.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,x.Z)(e,2)[1];return n.internalGet(t)[1]0,"[Ant Design CSS-in-JS] Theme should have at least one derivative function."),S+=1}return(0,u.Z)(e,[{key:"getDerivativeToken",value:function(e){return this.derivatives.reduce(function(t,r){return r(e,t)},void 0)}}]),e}(),k=new C;function A(e){var t=Array.isArray(e)?e:[e];return k.has(t)||k.set(t,new E(t)),k.get(t)}function O(e){var t="";return Object.keys(e).forEach(function(r){var n=e[r];t+=r,n instanceof E?t+=n.id:n&&"object"===(0,v.Z)(n)?t+=O(n):t+=n}),t}var $="random-".concat(Date.now(),"-").concat(Math.random()).replace(/\./g,""),Z="_bAmBoO_",j=void 0,B=r(38358),T=(0,i.Z)({},s).useInsertionEffect,P=T?function(e,t,r){return T(function(){return e(),t()},r)}:function(e,t,r){l.useMemo(e,r),(0,B.Z)(function(){return t(!0)},r)},R=void 0!==(0,i.Z)({},s).useInsertionEffect?function(e){var t=[],r=!1;return l.useEffect(function(){return r=!1,function(){r=!0,t.length&&t.forEach(function(e){return e()})}},e),function(e){r||t.push(e)}}:function(){return function(e){e()}};function M(e,t,r,n,i){var a=l.useContext(m).cache,s=[e].concat((0,o.Z)(t)),c=s.join("_"),u=R([c]),f=function(e){a.update(s,function(t){var n=(0,x.Z)(t||[],2),o=n[0],i=[void 0===o?0:o,n[1]||r()];return e?e(i):i})};l.useMemo(function(){f()},[c]);var d=a.get(s)[1];return P(function(){null==i||i(d)},function(e){return f(function(t){var r=(0,x.Z)(t,2),n=r[0],o=r[1];return e&&0===n&&(null==i||i(d)),[n+1,o]}),function(){a.update(s,function(e){var t=(0,x.Z)(e||[],2),r=t[0],o=void 0===r?0:r,i=t[1];return 0==o-1?(u(function(){return null==n?void 0:n(i,!1)}),null):[o-1,i]})}},[c]),d}var _={},F=new Map,N=function(e,t,r,n){var o=r.getDerivativeToken(e),a=(0,i.Z)((0,i.Z)({},o),t);return n&&(a=n(a)),a};function H(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=(0,l.useContext)(m).cache.instanceId,i=r.salt,s=void 0===i?"":i,c=r.override,u=void 0===c?_:c,f=r.formatToken,d=r.getComputedToken,h=l.useMemo(function(){return Object.assign.apply(Object,[{}].concat((0,o.Z)(t)))},[t]),v=l.useMemo(function(){return O(h)},[h]),y=l.useMemo(function(){return O(u)},[u]);return M("token",[s,e.id,v,y],function(){var t=d?d(h,u,e):N(h,u,e,f),r=a("".concat(s,"_").concat(O(t)));t._tokenKey=r,F.set(r,(F.get(r)||0)+1);var n="".concat("css","-").concat(a(r));return t._hashId=n,[t,n]},function(e){var t,r,o;t=e[0]._tokenKey,F.set(t,(F.get(t)||0)-1),o=(r=Array.from(F.keys())).filter(function(e){return 0>=(F.get(e)||0)}),r.length-o.length>0&&o.forEach(function(e){"undefined"!=typeof document&&document.querySelectorAll("style[".concat(p,'="').concat(e,'"]')).forEach(function(e){if(e[g]===n){var t;null===(t=e.parentNode)||void 0===t||t.removeChild(e)}}),F.delete(e)})})}var L=r(40431),D={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},I="comm",z="rule",U="decl",W=Math.abs,K=String.fromCharCode;function G(e,t,r){return e.replace(t,r)}function q(e,t){return 0|e.charCodeAt(t)}function V(e,t,r){return e.slice(t,r)}function X(e){return e.length}function Y(e,t){return t.push(e),e}function J(e,t){for(var r="",n=0;n0?p[y]+" "+b:G(b,/&\f/g,p[y])).trim())&&(s[v++]=x);return ea(e,t,r,0===o?z:l,s,c,u,f)}function ed(e,t,r,n,o){return ea(e,t,r,U,V(e,0,n),V(e,n+1,-1),n,o)}var ep="data-ant-cssinjs-cache-path",eh="_FILE_STYLE__",eg=!0,em=(0,y.Z)(),ev="_multi_value_";function ey(e){var t,r,n;return J((n=function e(t,r,n,o,i,a,l,s,c){for(var u,f=0,d=0,p=l,h=0,g=0,m=0,v=1,y=1,b=1,x=0,C="",w=i,S=a,E=o,k=C;y;)switch(m=x,x=el()){case 40:if(108!=m&&58==q(k,p-1)){-1!=(k+=G(eu(x),"&","&\f")).indexOf("&\f")&&(b=-1);break}case 34:case 39:case 91:k+=eu(x);break;case 9:case 10:case 13:case 32:k+=function(e){for(;eo=es();)if(eo<33)el();else break;return ec(e)>2||ec(eo)>3?"":" "}(m);break;case 92:k+=function(e,t){for(var r;--t&&el()&&!(eo<48)&&!(eo>102)&&(!(eo>57)||!(eo<65))&&(!(eo>70)||!(eo<97)););return r=en+(t<6&&32==es()&&32==el()),V(ei,e,r)}(en-1,7);continue;case 47:switch(es()){case 42:case 47:Y(ea(u=function(e,t){for(;el();)if(e+eo===57)break;else if(e+eo===84&&47===es())break;return"/*"+V(ei,t,en-1)+"*"+K(47===e?e:el())}(el(),en),r,n,I,K(eo),V(u,2,-2),0,c),c);break;default:k+="/"}break;case 123*v:s[f++]=X(k)*b;case 125*v:case 59:case 0:switch(x){case 0:case 125:y=0;case 59+d:-1==b&&(k=G(k,/\f/g,"")),g>0&&X(k)-p&&Y(g>32?ed(k+";",o,n,p-1,c):ed(G(k," ","")+";",o,n,p-2,c),c);break;case 59:k+=";";default:if(Y(E=ef(k,r,n,f,d,i,s,C,w=[],S=[],p,a),a),123===x){if(0===d)e(k,r,E,E,w,a,p,s,S);else switch(99===h&&110===q(k,3)?100:h){case 100:case 108:case 109:case 115:e(t,E,E,o&&Y(ef(t,E,E,0,0,i,s,C,i,w=[],p,S),S),i,S,p,s,o?w:S);break;default:e(k,E,E,E,[""],S,0,s,S)}}}f=d=g=0,v=b=1,C=k="",p=l;break;case 58:p=1+X(k),g=m;default:if(v<1){if(123==x)--v;else if(125==x&&0==v++&&125==(eo=en>0?q(ei,--en):0,et--,10===eo&&(et=1,ee--),eo))continue}switch(k+=K(x),x*v){case 38:b=d>0?1:(k+="\f",-1);break;case 44:s[f++]=(X(k)-1)*b,b=1;break;case 64:45===es()&&(k+=eu(el())),h=es(),d=p=X(C=k+=function(e){for(;!ec(es());)el();return V(ei,e,en)}(en)),x++;break;case 45:45===m&&2==X(k)&&(v=0)}}return a}("",null,null,null,[""],(r=t=e,ee=et=1,er=X(ei=r),en=0,t=[]),0,[0],t),ei="",n),Q).replace(/\{%%%\:[^;];}/g,";")}var eb=function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{root:!0,parentSelectors:[]},a=n.root,l=n.injectHash,s=n.parentSelectors,c=r.hashId,u=r.layer,f=(r.path,r.hashPriority),d=r.transformers,p=void 0===d?[]:d;r.linters;var h="",g={};function m(t){var n=t.getName(c);if(!g[n]){var o=e(t.style,r,{root:!1,parentSelectors:s}),i=(0,x.Z)(o,1)[0];g[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 n="string"!=typeof t||a?t:{};if("string"==typeof n)h+="".concat(n,"\n");else if(n._keyframe)m(n);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},n);Object.keys(u).forEach(function(t){var n=u[t];if("object"!==(0,v.Z)(n)||!n||"animationName"===t&&n._keyframe||"object"===(0,v.Z)(n)&&n&&("_skip_check_"in n||ev in n)){function d(e,t){var r=e.replace(/[A-Z]/g,function(e){return"-".concat(e.toLowerCase())}),n=t;D[e]||"number"!=typeof n||0===n||(n="".concat(n,"px")),"animationName"===e&&null!=t&&t._keyframe&&(m(t),n=t.getName(c)),h+="".concat(r,":").concat(n,";")}var p,y=null!==(p=null==n?void 0:n.value)&&void 0!==p?p:n;"object"===(0,v.Z)(n)&&null!=n&&n[ev]&&Array.isArray(y)?y.forEach(function(e){d(t,e)}):d(t,y)}else{var b=!1,C=t.trim(),w=!1;(a||l)&&c?C.startsWith("@")?b=!0:C=function(e,t,r){if(!t)return e;var n=".".concat(t),i="low"===r?":where(".concat(n,")"):n;return e.split(",").map(function(e){var t,r=e.trim().split(/\s+/),n=r[0]||"",a=(null===(t=n.match(/^\w+/))||void 0===t?void 0:t[0])||"";return[n="".concat(a).concat(i).concat(n.slice(a.length))].concat((0,o.Z)(r.slice(1))).join(" ")}).join(",")}(t,c,f):a&&!c&&("&"===C||""===C)&&(C="",w=!0);var S=e(n,r,{root:w,injectHash:b,parentSelectors:[].concat((0,o.Z)(s),[C])}),E=(0,x.Z)(S,2),k=E[0],A=E[1];g=(0,i.Z)((0,i.Z)({},g),A),h+="".concat(C).concat(k)}})}}),a){if(u&&(void 0===j&&(j=function(e,t,r){if((0,y.Z)()){(0,b.hq)(e,$);var n,o,i=document.createElement("div");i.style.position="fixed",i.style.left="0",i.style.top="0",null==t||t(i),document.body.appendChild(i);var a=r?r(i):null===(n=getComputedStyle(i).content)||void 0===n?void 0:n.includes(Z);return null===(o=i.parentNode)||void 0===o||o.removeChild(i),(0,b.jL)($),a}return!1}("@layer ".concat($," { .").concat($,' { content: "').concat(Z,'"!important; } }'),function(e){e.className=$})),j)){var C=u.split(","),w=C[C.length-1].trim();h="@layer ".concat(w," {").concat(h,"}"),C.length>1&&(h="@layer ".concat(u,"{%%%:%}").concat(h))}}else h="{".concat(h,"}");return[h,g]};function ex(){return null}function eC(e,t){var r=e.token,i=e.path,s=e.hashId,c=e.layer,u=e.nonce,d=e.clientOnly,v=e.order,C=void 0===v?0:v,w=l.useContext(m),S=w.autoClear,E=(w.mock,w.defaultCache),k=w.hashPriority,A=w.container,O=w.ssrInline,$=w.transformers,Z=w.linters,j=w.cache,B=r._tokenKey,T=[B].concat((0,o.Z)(i)),P=M("style",T,function(){var e=T.join("|");if(!function(){if(!n&&(n={},(0,y.Z)())){var e,t=document.createElement("div");t.className=ep,t.style.position="fixed",t.style.visibility="hidden",t.style.top="-9999px",document.body.appendChild(t);var r=getComputedStyle(t).content||"";(r=r.replace(/^"/,"").replace(/"$/,"")).split(";").forEach(function(e){var t=e.split(":"),r=(0,x.Z)(t,2),o=r[0],i=r[1];n[o]=i});var o=document.querySelector("style[".concat(ep,"]"));o&&(eg=!1,null===(e=o.parentNode)||void 0===e||e.removeChild(o)),document.body.removeChild(t)}}(),n[e]){var r=function(e){var t=n[e],r=null;if(t&&(0,y.Z)()){if(eg)r=eh;else{var o=document.querySelector("style[".concat(h,'="').concat(n[e],'"]'));o?r=o.innerHTML:delete n[e]}}return[r,t]}(e),o=(0,x.Z)(r,2),l=o[0],u=o[1];if(l)return[l,B,u,{},d,C]}var f=eb(t(),{hashId:s,hashPriority:k,layer:c,path:i.join("-"),transformers:$,linters:Z}),p=(0,x.Z)(f,2),g=p[0],m=p[1],v=ey(g),b=a("".concat(T.join("%")).concat(v));return[v,B,b,m,d,C]},function(e,t){var r=(0,x.Z)(e,3)[2];(t||S)&&em&&(0,b.jL)(r,{mark:h})},function(e){var t=(0,x.Z)(e,4),r=t[0],n=(t[1],t[2]),o=t[3];if(em&&r!==eh){var i={mark:h,prepend:"queue",attachTo:A,priority:C},a="function"==typeof u?u():u;a&&(i.csp={nonce:a});var l=(0,b.hq)(r,n,i);l[g]=j.instanceId,l.setAttribute(p,B),Object.keys(o).forEach(function(e){(0,b.hq)(ey(o[e]),"_effect-".concat(e),i)})}}),R=(0,x.Z)(P,3),_=R[0],F=R[1],N=R[2];return function(e){var t,r;return t=O&&!em&&E?l.createElement("style",(0,L.Z)({},(r={},(0,f.Z)(r,p,F),(0,f.Z)(r,h,N),r),{dangerouslySetInnerHTML:{__html:_}})):l.createElement(ex,null),l.createElement(l.Fragment,null,t,e)}}var ew=function(){function e(t,r){(0,c.Z)(this,e),(0,f.Z)(this,"name",void 0),(0,f.Z)(this,"style",void 0),(0,f.Z)(this,"_keyframe",!0),this.name=t,this.style=r}return(0,u.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}();function eS(e){return e.notSplit=!0,e}eS(["borderTop","borderBottom"]),eS(["borderTop"]),eS(["borderBottom"]),eS(["borderLeft","borderRight"]),eS(["borderLeft"]),eS(["borderRight"])},1240:function(e,t,r){"use strict";r.d(t,{Z:function(){return j}});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(76135),g=r.n(h),m=r(52160),v=r(60618),y=r(5004);function b(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 x(){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):(delete t[r],t[g()(r)]=n),t},{})}function C(e){return(0,u.R_)(e)[0]}function w(e){return e?Array.isArray(e)?e:[e]:[]}var S=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,v.A)(t);(0,m.hq)(o,"@ant-design-icons",{prepend:!0,csp:r,attachTo:n})},[])},E=["icon","className","onClick","style","primaryColor","secondaryColor"],k={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1},A=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,E),p=l.useRef(),h=k;if(c&&(h={primaryColor:c,secondaryColor:u||C(c)}),S(p),t=b(n),r="icon should be icon definiton, but got ".concat(n),(0,y.ZP)(t,"[@ant-design/icons] ".concat(r)),!b(n))return null;var g=n;return g&&"function"==typeof g.icon&&(g=(0,d.Z)((0,d.Z)({},g),{},{icon:g.icon(h.primaryColor,h.secondaryColor)})),function e(t,r,n){return n?l.createElement(t.tag,(0,d.Z)((0,d.Z)({key:r},x(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},x(t.attrs)),(t.children||[]).map(function(n,o){return e(n,"".concat(r,"-").concat(t.tag,"-").concat(o))}))}(g.icon,"svg-".concat(g.name),(0,d.Z)((0,d.Z)({className:o,onClick:i,style:s,"data-icon":g.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},f),{},{ref:p}))};function O(e){var t=w(e),r=(0,o.Z)(t,2),n=r[0],i=r[1];return A.setTwoToneColors({primaryColor:n,secondaryColor:i})}A.displayName="IconReact",A.getTwoToneColors=function(){return(0,d.Z)({},k)},A.setTwoToneColors=function(e){var t=e.primaryColor,r=e.secondaryColor;k.primaryColor=t,k.secondaryColor=r||C(t),k.calculated=!!r};var $=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];O(u.iN.primary);var Z=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,$),y=l.useContext(f.Z),b=y.prefixCls,x=void 0===b?"anticon":b,C=y.rootClassName,S=c()(C,x,(r={},(0,i.Z)(r,"".concat(x,"-").concat(u.name),!!u.name),(0,i.Z)(r,"".concat(x,"-spin"),!!d||"loading"===u.name),r),s),E=h;void 0===E&&g&&(E=-1);var k=w(m),O=(0,o.Z)(k,2),Z=O[0],j=O[1];return l.createElement("span",(0,n.Z)({role:"img","aria-label":u.name},v,{ref:t,tabIndex:E,onClick:g,className:S}),l.createElement(A,{icon:u,primaryColor:Z,secondaryColor:j,style:p?{msTransform:"rotate(".concat(p,"deg)"),transform:"rotate(".concat(p,"deg)")}:void 0}))});Z.displayName="AntdIcon",Z.getTwoToneColor=function(){var e=A.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor},Z.setTwoToneColor=O;var j=Z},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:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z"}}]},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:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"}}]},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}})},89620:function(e,t,r){"use strict";r.d(t,{Z:function(){return U}});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;t0?g[C]+" "+w:l(w,/&\f/g,g[C])).trim())&&(f[x++]=S);return b(e,t,r,0===i?j:c,f,d,p)}function _(e,t,r,n){return b(e,t,r,B,u(e,0,n),u(e,n+1,-1),n)}var F=function(e,t,r){for(var n=0,o=0;n=o,o=w(),38===n&&12===o&&(t[r]=1),!S(o);)C();return u(y,e,m)},N=function(e,t){var r=-1,n=44;do switch(S(n)){case 0:38===n&&12===w()&&(t[r]=1),e[r]+=F(m-1,t,r);break;case 2:e[r]+=k(n);break;case 4:if(44===n){e[++r]=58===w()?"&\f":"",t[r]=e[r].length;break}default:e[r]+=i(n)}while(n=C());return e},H=function(e,t){var r;return r=N(E(e),t),y="",r},L=new WeakMap,D=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,r=e.parent,n=e.column===r.column&&e.line===r.line;"rule"!==r.type;)if(!(r=r.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||L.get(r))&&!n){L.set(e,!0);for(var o=[],i=H(t,o),a=r.props,l=0,s=0;l-1&&!e.return)switch(e.type){case B:e.return=function e(t,r){switch(45^c(t,0)?(((r<<2^c(t,0))<<2^c(t,1))<<2^c(t,2))<<2^c(t,3):0){case 5103:return $+"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 $+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return $+t+O+t+A+t+t;case 6828:case 4268:return $+t+A+t+t;case 6165:return $+t+A+"flex-"+t+t;case 5187:return $+t+l(t,/(\w+).+(:[^]+)/,$+"box-$1$2"+A+"flex-$1$2")+t;case 5443:return $+t+A+"flex-item-"+l(t,/flex-|-self/,"")+t;case 4675:return $+t+A+"flex-line-pack"+l(t,/align-content|flex-|-self/,"")+t;case 5548:return $+t+A+l(t,"shrink","negative")+t;case 5292:return $+t+A+l(t,"basis","preferred-size")+t;case 6060:return $+"box-"+l(t,"-grow","")+$+t+A+l(t,"grow","positive")+t;case 4554:return $+l(t,/([^-])(transform)/g,"$1"+$+"$2")+t;case 6187:return l(l(l(t,/(zoom-|grab)/,$+"$1"),/(image-set)/,$+"$1"),t,"")+t;case 5495:case 3959:return l(t,/(image-set\([^]*)/,$+"$1$`$1");case 4968:return l(l(t,/(.+:)(flex-)?(.*)/,$+"box-pack:$3"+A+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+$+t+t;case 4095:case 3583:case 4068:case 2532:return l(t,/(.+)-inline(.+)/,$+"$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(f(t)-1-r>6)switch(c(t,r+1)){case 109:if(45!==c(t,r+4))break;case 102:return l(t,/(.+:)(.+)-([^]+)/,"$1"+$+"$2-$3$1"+O+(108==c(t,r+3)?"$3":"$2-$3"))+t;case 115:return~s(t,"stretch")?e(l(t,"stretch","fill-available"),r)+t:t}break;case 4949:if(115!==c(t,r+1))break;case 6444:switch(c(t,f(t)-3-(~s(t,"!important")&&10))){case 107:return l(t,":",":"+$)+t;case 101:return l(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+$+(45===c(t,14)?"inline-":"")+"box$3$1"+$+"$2$3$1"+A+"$2box$3")+t}break;case 5936:switch(c(t,r+11)){case 114:return $+t+A+l(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return $+t+A+l(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return $+t+A+l(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return $+t+A+t+t}return t}(e.value,e.length);break;case T:return P([x(e,{value:l(e.value,"@","@"+$)})],n);case j:if(e.length)return e.props.map(function(t){var r;switch(r=t,(r=/(::plac\w+|:read-\w+)/.exec(r))?r[0]:r){case":read-only":case":read-write":return P([x(e,{props:[l(t,/:(read-\w+)/,":"+O+"$1")]})],n);case"::placeholder":return P([x(e,{props:[l(t,/:(plac\w+)/,":"+$+"input-$1")]}),x(e,{props:[l(t,/:(plac\w+)/,":"+O+"$1")]}),x(e,{props:[l(t,/:(plac\w+)/,A+"input-$1")]})],n)}return""}).join("")}}],U=function(e){var t,r,o,a,g,x=e.key;if("css"===x){var A=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(A,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var O=e.stylisPlugins||z,$={},j=[];a=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+x+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),r=1;r2||S(v)>3?"":" "}(R);break;case 92:W+=function(e,t){for(var r;--t&&C()&&!(v<48)&&!(v>102)&&(!(v>57)||!(v<65))&&(!(v>70)||!(v<97)););return r=m+(t<6&&32==w()&&32==C()),u(y,e,r)}(m-1,7);continue;case 47:switch(w()){case 42:case 47:d(b(O=function(e,t){for(;C();)if(e+v===57)break;else if(e+v===84&&47===w())break;return"/*"+u(y,t,m-1)+"*"+i(47===e?e:C())}(C(),m),r,n,Z,i(v),u(O,2,-2),0),A);break;default:W+="/"}break;case 123*F:E[$++]=f(W)*H;case 125*F:case 59:case 0:switch(L){case 0:case 125:N=0;case 59+j:-1==H&&(W=l(W,/\f/g,"")),P>0&&f(W)-B&&d(P>32?_(W+";",o,n,B-1):_(l(W," ","")+";",o,n,B-2),A);break;case 59:W+=";";default:if(d(U=M(W,r,n,$,j,a,E,D,I=[],z=[],B),g),123===L){if(0===j)e(W,r,U,U,I,g,B,E,z);else switch(99===T&&110===c(W,3)?100:T){case 100:case 108:case 109:case 115:e(t,U,U,o&&d(M(t,U,U,0,0,a,E,D,a,I=[],B),z),a,z,B,E,o?I:z);break;default:e(W,U,U,U,[""],z,0,E,z)}}}$=j=P=0,F=H=1,D=W="",B=x;break;case 58:B=1+f(W),P=R;default:if(F<1){if(123==L)--F;else if(125==L&&0==F++&&125==(v=m>0?c(y,--m):0,h--,10===v&&(h=1,p--),v))continue}switch(W+=i(L),L*F){case 38:H=j>0?1:(W+="\f",-1);break;case 44:E[$++]=(f(W)-1)*H,H=1;break;case 64:45===w()&&(W+=k(C())),T=w(),j=B=f(D=W+=function(e){for(;!S(w());)C();return u(y,e,m)}(m)),L++;break;case 45:45===R&&2==f(W)&&(F=0)}}return g}("",null,null,null,[""],t=E(t=e),0,[0],t),y="",r),B)},F={key:x,sheet:new n({key:x,container:a,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:$,registered:{},insert:function(e,t,r,n){g=r,T(e?e+"{"+t.styles+"}":t.styles),n&&(F.inserted[t.name]=!0)}};return F.sheet.hydrate(j),F}},83596:function(e,t,r){"use strict";function n(e){var t=Object.create(null);return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}r.d(t,{Z:function(){return n}})},17464:function(e,t,r){"use strict";r.d(t,{T:function(){return s},i:function(){return i},w:function(){return l}});var n=r(86006),o=r(89620);r(50558),r(85124);var i=!0,a=n.createContext("undefined"!=typeof HTMLElement?(0,o.Z)({key:"css"}):null);a.Provider;var l=function(e){return(0,n.forwardRef)(function(t,r){return e(t,(0,n.useContext)(a),r)})};i||(l=function(e){return function(t){var r=(0,n.useContext)(a);return null===r?(r=(0,o.Z)({key:"css"}),n.createElement(a.Provider,{value:r},e(t,r))):e(t,r)}});var s=n.createContext({})},72120:function(e,t,r){"use strict";r.d(t,{F4:function(){return u},iv:function(){return c},xB:function(){return s}});var n=r(17464),o=r(86006),i=r(75941),a=r(85124),l=r(50558);r(89620),r(86979);var s=(0,n.w)(function(e,t){var r=e.styles,s=(0,l.O)([r],void 0,o.useContext(n.T));if(!n.i){for(var c,u=s.name,f=s.styles,d=s.next;void 0!==d;)u+=" "+d.name,f+=d.styles,d=d.next;var p=!0===t.compat,h=t.insert("",{name:u,styles:f},t.sheet,p);return p?null:o.createElement("style",((c={})["data-emotion"]=t.key+"-global "+u,c.dangerouslySetInnerHTML={__html:h},c.nonce=t.sheet.nonce,c))}var g=o.useRef();return(0,a.j)(function(){var e=t.key+"-global",r=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),n=!1,o=document.querySelector('style[data-emotion="'+e+" "+s.name+'"]');return t.sheet.tags.length&&(r.before=t.sheet.tags[0]),null!==o&&(n=!0,o.setAttribute("data-emotion",e),r.hydrate([o])),g.current=[r,n],function(){r.flush()}},[t]),(0,a.j)(function(){var e=g.current,r=e[0];if(e[1]){e[1]=!1;return}if(void 0!==s.next&&(0,i.My)(t,s.next,!0),r.tags.length){var n=r.tags[r.tags.length-1].nextElementSibling;r.before=n,r.flush()}t.insert("",s,r,!1)},[t,s.name]),null});function c(){for(var e=arguments.length,t=Array(e),r=0;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)}}},46240: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)})}},50487: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}})},28426:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var n=r(40431),o=r(89791),i=r(50487);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}}},61914:function(e,t,r){"use strict";function n(e,t,r){return"function"==typeof e?e(t,r):e}r.d(t,{Z:function(){return n}})},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"}}},47093:function(e,t,r){"use strict";r.d(t,{VT:function(){return s},do:function(){return c}});var n=r(86006),o=r(29720),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.F)();return(0,a.jsx)(l.Provider,{value:t?(null!=(r=n.colorInversionConfig)?r:i.Z.colorInversionConfig)[t]:void 0,children:e})}t.ZP=l},29720:function(e,t,r){"use strict";r.d(t,{F:function(){return c},Z:function(){return u}}),r(86006);var n=r(95887),o=r(14446),i=r(98918),a=r(41287),l=r(8622),s=r(9268);let c=()=>{let e=(0,n.Z)(i.Z);return e[l.Z]||e};function u({children:e,theme:t}){let r=i.Z;return t&&(r=(0,a.Z)(l.Z in t?t[l.Z]:t)),(0,s.jsx)(o.Z,{theme:r,themeId:t&&l.Z in t?l.Z:void 0,children:e})}},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"],k=["colorSchemes"],A=(e="joy")=>(0,a.Z)(e);function O(e){var t,r,a,u,f,d,p,h,g,y,O,$,Z,j,B,T,P,R,M,_,F,N,H,L,D,I,z,U,W,K,G,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;let eb=e||{},{cssVarPrefix:ex="joy",breakpoints:eC,spacing:ew,components:eS,variants:eE,colorInversion:ek,shouldSkipGeneratingVar:eA=C}=eb,eO=(0,o.Z)(eb,E),e$=A(ex),eZ={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"}},ej=e=>{var t;let r=e.split("-"),n=r[1],o=r[2];return e$(e,null==(t=eZ[n])?void 0:t[o])},eB=e=>({plainColor:ej(`palette-${e}-600`),plainHoverBg:ej(`palette-${e}-100`),plainActiveBg:ej(`palette-${e}-200`),plainDisabledColor:ej(`palette-${e}-200`),outlinedColor:ej(`palette-${e}-500`),outlinedBorder:ej(`palette-${e}-200`),outlinedHoverBg:ej(`palette-${e}-100`),outlinedHoverBorder:ej(`palette-${e}-300`),outlinedActiveBg:ej(`palette-${e}-200`),outlinedDisabledColor:ej(`palette-${e}-100`),outlinedDisabledBorder:ej(`palette-${e}-100`),softColor:ej(`palette-${e}-600`),softBg:ej(`palette-${e}-100`),softHoverBg:ej(`palette-${e}-200`),softActiveBg:ej(`palette-${e}-300`),softDisabledColor:ej(`palette-${e}-300`),softDisabledBg:ej(`palette-${e}-50`),solidColor:"#fff",solidBg:ej(`palette-${e}-500`),solidHoverBg:ej(`palette-${e}-600`),solidActiveBg:ej(`palette-${e}-700`),solidDisabledColor:"#fff",solidDisabledBg:ej(`palette-${e}-200`)}),eT=e=>({plainColor:ej(`palette-${e}-300`),plainHoverBg:ej(`palette-${e}-800`),plainActiveBg:ej(`palette-${e}-700`),plainDisabledColor:ej(`palette-${e}-800`),outlinedColor:ej(`palette-${e}-200`),outlinedBorder:ej(`palette-${e}-700`),outlinedHoverBg:ej(`palette-${e}-800`),outlinedHoverBorder:ej(`palette-${e}-600`),outlinedActiveBg:ej(`palette-${e}-900`),outlinedDisabledColor:ej(`palette-${e}-800`),outlinedDisabledBorder:ej(`palette-${e}-800`),softColor:ej(`palette-${e}-200`),softBg:ej(`palette-${e}-900`),softHoverBg:ej(`palette-${e}-800`),softActiveBg:ej(`palette-${e}-700`),softDisabledColor:ej(`palette-${e}-800`),softDisabledBg:ej(`palette-${e}-900`),solidColor:"#fff",solidBg:ej(`palette-${e}-600`),solidHoverBg:ej(`palette-${e}-700`),solidActiveBg:ej(`palette-${e}-800`),solidDisabledColor:ej(`palette-${e}-700`),solidDisabledBg:ej(`palette-${e}-900`)}),eP={palette:{mode:"light",primary:(0,n.Z)({},eZ.primary,eB("primary")),neutral:(0,n.Z)({},eZ.neutral,{plainColor:ej("palette-neutral-800"),plainHoverColor:ej("palette-neutral-900"),plainHoverBg:ej("palette-neutral-100"),plainActiveBg:ej("palette-neutral-200"),plainDisabledColor:ej("palette-neutral-300"),outlinedColor:ej("palette-neutral-800"),outlinedBorder:ej("palette-neutral-200"),outlinedHoverColor:ej("palette-neutral-900"),outlinedHoverBg:ej("palette-neutral-100"),outlinedHoverBorder:ej("palette-neutral-300"),outlinedActiveBg:ej("palette-neutral-200"),outlinedDisabledColor:ej("palette-neutral-300"),outlinedDisabledBorder:ej("palette-neutral-100"),softColor:ej("palette-neutral-800"),softBg:ej("palette-neutral-100"),softHoverColor:ej("palette-neutral-900"),softHoverBg:ej("palette-neutral-200"),softActiveBg:ej("palette-neutral-300"),softDisabledColor:ej("palette-neutral-300"),softDisabledBg:ej("palette-neutral-50"),solidColor:ej("palette-common-white"),solidBg:ej("palette-neutral-600"),solidHoverBg:ej("palette-neutral-700"),solidActiveBg:ej("palette-neutral-800"),solidDisabledColor:ej("palette-neutral-300"),solidDisabledBg:ej("palette-neutral-50")}),danger:(0,n.Z)({},eZ.danger,eB("danger")),info:(0,n.Z)({},eZ.info,eB("info")),success:(0,n.Z)({},eZ.success,eB("success")),warning:(0,n.Z)({},eZ.warning,eB("warning"),{solidColor:ej("palette-warning-800"),solidBg:ej("palette-warning-200"),solidHoverBg:ej("palette-warning-300"),solidActiveBg:ej("palette-warning-400"),solidDisabledColor:ej("palette-warning-200"),solidDisabledBg:ej("palette-warning-50"),softColor:ej("palette-warning-800"),softBg:ej("palette-warning-50"),softHoverBg:ej("palette-warning-100"),softActiveBg:ej("palette-warning-200"),softDisabledColor:ej("palette-warning-200"),softDisabledBg:ej("palette-warning-50"),outlinedColor:ej("palette-warning-800"),outlinedHoverBg:ej("palette-warning-50"),plainColor:ej("palette-warning-800"),plainHoverBg:ej("palette-warning-50")}),common:{white:"#FFF",black:"#09090D"},text:{primary:ej("palette-neutral-800"),secondary:ej("palette-neutral-600"),tertiary:ej("palette-neutral-500")},background:{body:ej("palette-common-white"),surface:ej("palette-common-white"),popup:ej("palette-common-white"),level1:ej("palette-neutral-50"),level2:ej("palette-neutral-100"),level3:ej("palette-neutral-200"),tooltip:ej("palette-neutral-800"),backdrop:"rgba(255 255 255 / 0.5)"},divider:`rgba(${e$("palette-neutral-mainChannel",(0,l.n8)(eZ.neutral[500]))} / 0.28)`,focusVisible:ej("palette-primary-500")},shadowRing:"0 0 #000",shadowChannel:"187 187 187"},eR={palette:{mode:"dark",primary:(0,n.Z)({},eZ.primary,eT("primary")),neutral:(0,n.Z)({},eZ.neutral,{plainColor:ej("palette-neutral-200"),plainHoverColor:ej("palette-neutral-50"),plainHoverBg:ej("palette-neutral-800"),plainActiveBg:ej("palette-neutral-700"),plainDisabledColor:ej("palette-neutral-700"),outlinedColor:ej("palette-neutral-200"),outlinedBorder:ej("palette-neutral-800"),outlinedHoverColor:ej("palette-neutral-50"),outlinedHoverBg:ej("palette-neutral-800"),outlinedHoverBorder:ej("palette-neutral-700"),outlinedActiveBg:ej("palette-neutral-800"),outlinedDisabledColor:ej("palette-neutral-800"),outlinedDisabledBorder:ej("palette-neutral-800"),softColor:ej("palette-neutral-200"),softBg:ej("palette-neutral-800"),softHoverColor:ej("palette-neutral-50"),softHoverBg:ej("palette-neutral-700"),softActiveBg:ej("palette-neutral-600"),softDisabledColor:ej("palette-neutral-700"),softDisabledBg:ej("palette-neutral-900"),solidColor:ej("palette-common-white"),solidBg:ej("palette-neutral-600"),solidHoverBg:ej("palette-neutral-700"),solidActiveBg:ej("palette-neutral-800"),solidDisabledColor:ej("palette-neutral-700"),solidDisabledBg:ej("palette-neutral-900")}),danger:(0,n.Z)({},eZ.danger,eT("danger")),info:(0,n.Z)({},eZ.info,eT("info")),success:(0,n.Z)({},eZ.success,eT("success"),{solidColor:"#fff",solidBg:ej("palette-success-600"),solidHoverBg:ej("palette-success-700"),solidActiveBg:ej("palette-success-800")}),warning:(0,n.Z)({},eZ.warning,eT("warning"),{solidColor:ej("palette-common-black"),solidBg:ej("palette-warning-300"),solidHoverBg:ej("palette-warning-400"),solidActiveBg:ej("palette-warning-500")}),common:{white:"#FFF",black:"#09090D"},text:{primary:ej("palette-neutral-100"),secondary:ej("palette-neutral-300"),tertiary:ej("palette-neutral-400")},background:{body:ej("palette-neutral-900"),surface:ej("palette-common-black"),popup:ej("palette-neutral-900"),level1:ej("palette-neutral-800"),level2:ej("palette-neutral-700"),level3:ej("palette-neutral-600"),tooltip:ej("palette-neutral-600"),backdrop:`rgba(${e$("palette-neutral-darkChannel",(0,l.n8)(eZ.neutral[800]))} / 0.5)`},divider:`rgba(${e$("palette-neutral-mainChannel",(0,l.n8)(eZ.neutral[500]))} / 0.24)`,focusVisible:ej("palette-primary-500")},shadowRing:"0 0 #000",shadowChannel:"0 0 0"},eM='-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',e_=(0,n.Z)({body:`"Public Sans", ${e$(`fontFamily-fallback, ${eM}`)}`,display:`"Public Sans", ${e$(`fontFamily-fallback, ${eM}`)}`,code:"Source Code Pro,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace",fallback:eM},eO.fontFamily),eF=(0,n.Z)({xs:200,sm:300,md:500,lg:600,xl:700,xl2:800,xl3:900},eO.fontWeight),eN=(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"},eO.fontSize),eH=(0,n.Z)({sm:1.25,md:1.5,lg:1.7},eO.lineHeight),eL=(0,n.Z)({sm:"-0.01em",md:"0.083em",lg:"0.125em"},eO.letterSpacing),eD={colorSchemes:{light:eP,dark:eR},fontSize:eN,fontFamily:e_,fontWeight:eF,focus:{thickness:"2px",selector:`&.${(0,w.d6)("","focusVisible")}, &:focus-visible`,default:{outlineOffset:`var(--focus-outline-offset, ${e$("focus-thickness",null!=(t=null==(r=eO.focus)?void 0:r.thickness)?t:"2px")})`,outline:`${e$("focus-thickness",null!=(a=null==(u=eO.focus)?void 0:u.thickness)?a:"2px")} solid ${e$("palette-focusVisible",eZ.primary[500])}`}},lineHeight:eH,letterSpacing:eL,radius:{xs:"4px",sm:"8px",md:"12px",lg:"16px",xl:"20px"},shadow:{xs:`${e$("shadowRing",null!=(f=null==(d=eO.colorSchemes)||null==(d=d.light)?void 0:d.shadowRing)?f:eP.shadowRing)}, 0 1px 2px 0 rgba(${e$("shadowChannel",null!=(p=null==(h=eO.colorSchemes)||null==(h=h.light)?void 0:h.shadowChannel)?p:eP.shadowChannel)} / 0.12)`,sm:`${e$("shadowRing",null!=(g=null==(y=eO.colorSchemes)||null==(y=y.light)?void 0:y.shadowRing)?g:eP.shadowRing)}, 0.3px 0.8px 1.1px rgba(${e$("shadowChannel",null!=(O=null==($=eO.colorSchemes)||null==($=$.light)?void 0:$.shadowChannel)?O:eP.shadowChannel)} / 0.11), 0.5px 1.3px 1.8px -0.6px rgba(${e$("shadowChannel",null!=(Z=null==(j=eO.colorSchemes)||null==(j=j.light)?void 0:j.shadowChannel)?Z:eP.shadowChannel)} / 0.18), 1.1px 2.7px 3.8px -1.2px rgba(${e$("shadowChannel",null!=(B=null==(T=eO.colorSchemes)||null==(T=T.light)?void 0:T.shadowChannel)?B:eP.shadowChannel)} / 0.26)`,md:`${e$("shadowRing",null!=(P=null==(R=eO.colorSchemes)||null==(R=R.light)?void 0:R.shadowRing)?P:eP.shadowRing)}, 0.3px 0.8px 1.1px rgba(${e$("shadowChannel",null!=(M=null==(_=eO.colorSchemes)||null==(_=_.light)?void 0:_.shadowChannel)?M:eP.shadowChannel)} / 0.12), 1.1px 2.8px 3.9px -0.4px rgba(${e$("shadowChannel",null!=(F=null==(N=eO.colorSchemes)||null==(N=N.light)?void 0:N.shadowChannel)?F:eP.shadowChannel)} / 0.17), 2.4px 6.1px 8.6px -0.8px rgba(${e$("shadowChannel",null!=(H=null==(L=eO.colorSchemes)||null==(L=L.light)?void 0:L.shadowChannel)?H:eP.shadowChannel)} / 0.23), 5.3px 13.3px 18.8px -1.2px rgba(${e$("shadowChannel",null!=(D=null==(I=eO.colorSchemes)||null==(I=I.light)?void 0:I.shadowChannel)?D:eP.shadowChannel)} / 0.29)`,lg:`${e$("shadowRing",null!=(z=null==(U=eO.colorSchemes)||null==(U=U.light)?void 0:U.shadowRing)?z:eP.shadowRing)}, 0.3px 0.8px 1.1px rgba(${e$("shadowChannel",null!=(W=null==(K=eO.colorSchemes)||null==(K=K.light)?void 0:K.shadowChannel)?W:eP.shadowChannel)} / 0.11), 1.8px 4.5px 6.4px -0.2px rgba(${e$("shadowChannel",null!=(G=null==(q=eO.colorSchemes)||null==(q=q.light)?void 0:q.shadowChannel)?G:eP.shadowChannel)} / 0.13), 3.2px 7.9px 11.2px -0.4px rgba(${e$("shadowChannel",null!=(V=null==(X=eO.colorSchemes)||null==(X=X.light)?void 0:X.shadowChannel)?V:eP.shadowChannel)} / 0.16), 4.8px 12px 17px -0.5px rgba(${e$("shadowChannel",null!=(Y=null==(J=eO.colorSchemes)||null==(J=J.light)?void 0:J.shadowChannel)?Y:eP.shadowChannel)} / 0.19), 7px 17.5px 24.7px -0.7px rgba(${e$("shadowChannel",null!=(Q=null==(ee=eO.colorSchemes)||null==(ee=ee.light)?void 0:ee.shadowChannel)?Q:eP.shadowChannel)} / 0.21)`,xl:`${e$("shadowRing",null!=(et=null==(er=eO.colorSchemes)||null==(er=er.light)?void 0:er.shadowRing)?et:eP.shadowRing)}, 0.3px 0.8px 1.1px rgba(${e$("shadowChannel",null!=(en=null==(eo=eO.colorSchemes)||null==(eo=eo.light)?void 0:eo.shadowChannel)?en:eP.shadowChannel)} / 0.11), 1.8px 4.5px 6.4px -0.2px rgba(${e$("shadowChannel",null!=(ei=null==(ea=eO.colorSchemes)||null==(ea=ea.light)?void 0:ea.shadowChannel)?ei:eP.shadowChannel)} / 0.13), 3.2px 7.9px 11.2px -0.4px rgba(${e$("shadowChannel",null!=(el=null==(es=eO.colorSchemes)||null==(es=es.light)?void 0:es.shadowChannel)?el:eP.shadowChannel)} / 0.16), 4.8px 12px 17px -0.5px rgba(${e$("shadowChannel",null!=(ec=null==(eu=eO.colorSchemes)||null==(eu=eu.light)?void 0:eu.shadowChannel)?ec:eP.shadowChannel)} / 0.19), 7px 17.5px 24.7px -0.7px rgba(${e$("shadowChannel",null!=(ef=null==(ed=eO.colorSchemes)||null==(ed=ed.light)?void 0:ed.shadowChannel)?ef:eP.shadowChannel)} / 0.21), 10.2px 25.5px 36px -0.9px rgba(${e$("shadowChannel",null!=(ep=null==(eh=eO.colorSchemes)||null==(eh=eh.light)?void 0:eh.shadowChannel)?ep:eP.shadowChannel)} / 0.24), 14.8px 36.8px 52.1px -1.1px rgba(${e$("shadowChannel",null!=(eg=null==(em=eO.colorSchemes)||null==(em=em.light)?void 0:em.shadowChannel)?eg:eP.shadowChannel)} / 0.27), 21px 52.3px 74px -1.2px rgba(${e$("shadowChannel",null!=(ev=null==(ey=eO.colorSchemes)||null==(ey=ey.light)?void 0:ey.shadowChannel)?ev:eP.shadowChannel)} / 0.29)`},zIndex:{badge:1,table:10,popup:1e3,modal:1300,tooltip:1500},typography:{display1:{fontFamily:e$(`fontFamily-display, ${e_.display}`),fontWeight:e$(`fontWeight-xl, ${eF.xl}`),fontSize:e$(`fontSize-xl7, ${eN.xl7}`),lineHeight:e$(`lineHeight-sm, ${eH.sm}`),letterSpacing:e$(`letterSpacing-sm, ${eL.sm}`),color:e$("palette-text-primary",eP.palette.text.primary)},display2:{fontFamily:e$(`fontFamily-display, ${e_.display}`),fontWeight:e$(`fontWeight-xl, ${eF.xl}`),fontSize:e$(`fontSize-xl6, ${eN.xl6}`),lineHeight:e$(`lineHeight-sm, ${eH.sm}`),letterSpacing:e$(`letterSpacing-sm, ${eL.sm}`),color:e$("palette-text-primary",eP.palette.text.primary)},h1:{fontFamily:e$(`fontFamily-display, ${e_.display}`),fontWeight:e$(`fontWeight-lg, ${eF.lg}`),fontSize:e$(`fontSize-xl5, ${eN.xl5}`),lineHeight:e$(`lineHeight-sm, ${eH.sm}`),letterSpacing:e$(`letterSpacing-sm, ${eL.sm}`),color:e$("palette-text-primary",eP.palette.text.primary)},h2:{fontFamily:e$(`fontFamily-display, ${e_.display}`),fontWeight:e$(`fontWeight-lg, ${eF.lg}`),fontSize:e$(`fontSize-xl4, ${eN.xl4}`),lineHeight:e$(`lineHeight-sm, ${eH.sm}`),letterSpacing:e$(`letterSpacing-sm, ${eL.sm}`),color:e$("palette-text-primary",eP.palette.text.primary)},h3:{fontFamily:e$(`fontFamily-body, ${e_.body}`),fontWeight:e$(`fontWeight-md, ${eF.md}`),fontSize:e$(`fontSize-xl3, ${eN.xl3}`),lineHeight:e$(`lineHeight-sm, ${eH.sm}`),color:e$("palette-text-primary",eP.palette.text.primary)},h4:{fontFamily:e$(`fontFamily-body, ${e_.body}`),fontWeight:e$(`fontWeight-md, ${eF.md}`),fontSize:e$(`fontSize-xl2, ${eN.xl2}`),lineHeight:e$(`lineHeight-md, ${eH.md}`),color:e$("palette-text-primary",eP.palette.text.primary)},h5:{fontFamily:e$(`fontFamily-body, ${e_.body}`),fontWeight:e$(`fontWeight-md, ${eF.md}`),fontSize:e$(`fontSize-xl, ${eN.xl}`),lineHeight:e$(`lineHeight-md, ${eH.md}`),color:e$("palette-text-primary",eP.palette.text.primary)},h6:{fontFamily:e$(`fontFamily-body, ${e_.body}`),fontWeight:e$(`fontWeight-md, ${eF.md}`),fontSize:e$(`fontSize-lg, ${eN.lg}`),lineHeight:e$(`lineHeight-md, ${eH.md}`),color:e$("palette-text-primary",eP.palette.text.primary)},body1:{fontFamily:e$(`fontFamily-body, ${e_.body}`),fontSize:e$(`fontSize-md, ${eN.md}`),lineHeight:e$(`lineHeight-md, ${eH.md}`),color:e$("palette-text-primary",eP.palette.text.primary)},body2:{fontFamily:e$(`fontFamily-body, ${e_.body}`),fontSize:e$(`fontSize-sm, ${eN.sm}`),lineHeight:e$(`lineHeight-md, ${eH.md}`),color:e$("palette-text-secondary",eP.palette.text.secondary)},body3:{fontFamily:e$(`fontFamily-body, ${e_.body}`),fontSize:e$(`fontSize-xs, ${eN.xs}`),lineHeight:e$(`lineHeight-md, ${eH.md}`),color:e$("palette-text-tertiary",eP.palette.text.tertiary)},body4:{fontFamily:e$(`fontFamily-body, ${e_.body}`),fontSize:e$(`fontSize-xs2, ${eN.xs2}`),lineHeight:e$(`lineHeight-md, ${eH.md}`),color:e$("palette-text-tertiary",eP.palette.text.tertiary)},body5:{fontFamily:e$(`fontFamily-body, ${e_.body}`),fontSize:e$(`fontSize-xs3, ${eN.xs3}`),lineHeight:e$(`lineHeight-md, ${eH.md}`),color:e$("palette-text-tertiary",eP.palette.text.tertiary)}}},eI=eO?(0,i.Z)(eD,eO):eD,{colorSchemes:ez}=eI,eU=(0,o.Z)(eI,k),eW=(0,n.Z)({colorSchemes:ez},eU,{breakpoints:(0,s.Z)(null!=eC?eC:{}),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]})}}}},eS),cssVarPrefix:ex,getCssVar:e$,spacing:(0,c.Z)(ew),colorInversionConfig:{soft:["plain","outlined","soft","solid"],solid:["plain","outlined","soft","solid"]}});Object.entries(eW.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:eK,generateCssVars:eG}=m((0,n.Z)({colorSchemes:ez},eU),{prefix:ex,shouldSkipGeneratingVar:eA});eW.vars=eK,eW.generateCssVars=eG,eW.unstable_sxConfig=(0,n.Z)({},b,null==e?void 0:e.unstable_sxConfig),eW.unstable_sx=function(e){return(0,v.Z)({sx:e,theme:this})},eW.getColorSchemeSelector=e=>"light"===e?"&":`&[data-joy-color-scheme="${e}"], [data-joy-color-scheme="${e}"] &`;let eq={getCssVar:e$,palette:eW.colorSchemes.light.palette};return eW.variants=(0,i.Z)({plain:(0,S.Zm)("plain",eq),plainHover:(0,S.Zm)("plainHover",eq),plainActive:(0,S.Zm)("plainActive",eq),plainDisabled:(0,S.Zm)("plainDisabled",eq),outlined:(0,S.Zm)("outlined",eq),outlinedHover:(0,S.Zm)("outlinedHover",eq),outlinedActive:(0,S.Zm)("outlinedActive",eq),outlinedDisabled:(0,S.Zm)("outlinedDisabled",eq),soft:(0,S.Zm)("soft",eq),softHover:(0,S.Zm)("softHover",eq),softActive:(0,S.Zm)("softActive",eq),softDisabled:(0,S.Zm)("softDisabled",eq),solid:(0,S.Zm)("solid",eq),solidHover:(0,S.Zm)("solidHover",eq),solidActive:(0,S.Zm)("solidActive",eq),solidDisabled:(0,S.Zm)("solidDisabled",eq)},eE),eW.palette=(0,n.Z)({},eW.colorSchemes.light.palette,{colorScheme:"light"}),eW.shouldSkipGeneratingVar=eA,eW.colorInversion="function"==typeof ek?ek:(0,i.Z)({soft:(0,S.pP)(eW,!0),solid:(0,S.Lo)(eW,!0)},ek||{},{clone:!1}),eW}},8622:function(e,t){"use strict";t.Z="$$joy"},50645:function(e,t,r){"use strict";var n=r(9312),o=r(98918),i=r(8622);let a=(0,n.ZP)({defaultTheme:o.Z,themeId:i.Z});t.Z=a},88930:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var n=r(40431),o=r(38295),i=r(98918),a=r(8622);function l({props:e,name:t}){return(0,o.Z)({props:e,name:t,defaultTheme:(0,n.Z)({},i.Z,{components:{}}),themeId:a.Z})}},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;let o=t.split("-"),i=o[1],a=o[2];return r(t,null==(n=e.palette)||null==(n=n[i])?void 0:n[a])}: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}-darkChannel`)} / 0.8)`,"--variant-plainHoverColor":`rgba(${l(`palette-${r}-darkChannel`)} / 1)`,"--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(61914),l=r(28426),s=r(46240),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,k=(0,a.Z)(w[e],g),A=(0,l.Z)((0,n.Z)({className:r},b,{externalForwardedProps:"root"===e?S:void 0,externalSlotProps:k})),{props:{component:O},internalRef:$}=A,Z=(0,o.Z)(A.props,d),j=(0,i.Z)($,null==k?void 0:k.ref,t.ref),B=v?v(Z):{},{disableColorInversion:T=!1}=B,P=(0,o.Z)(B,p),R=(0,n.Z)({},g,P),{getColor:M}=(0,c.VT)(R.variant);if("root"===e){var _;R.color=null!=(_=Z.color)?_:g.color}else T||(R.color=M(Z.color,R.color));let F="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,F&&{as:F},{ref:j}),R);return Object.keys(P).forEach(e=>{delete N[e]}),[E,N]}},44169:function(e,t,r){"use strict";var n=r(86006);let o=n.createContext(null);t.Z=o},63678:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(86006),o=r(44169);function i(){let e=n.useContext(o.Z);return e}},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(50558),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))}},14446:function(e,t,r){"use strict";r.d(t,{Z:function(){return g}});var n=r(40431),o=r(86006),i=r(63678),a=r(44169);let l="function"==typeof Symbol&&Symbol.for;var s=l?Symbol.for("mui.nested"):"__THEME_NESTED__",c=r(9268),u=function(e){let{children:t,theme:r}=e,l=(0,i.Z)(),u=o.useMemo(()=>{let e=null===l?r:function(e,t){if("function"==typeof t){let r=t(e);return r}return(0,n.Z)({},e,t)}(l,r);return null!=e&&(e[s]=null!==l),e},[r,l]);return(0,c.jsx)(a.Z.Provider,{value:u,children:t})},f=r(17464),d=r(65396);let p={};function h(e,t,r,i=!1){return o.useMemo(()=>{let o=e&&t[e]||t;if("function"==typeof r){let a=r(o),l=e?(0,n.Z)({},t,{[e]:a}):a;return i?()=>l:l}return e?(0,n.Z)({},t,{[e]:r}):(0,n.Z)({},t,r)},[e,t,r,i])}var g=function(e){let{children:t,theme:r,themeId:n}=e,o=(0,d.Z)(p),a=(0,i.Z)()||p,l=h(n,o,r),s=h(n,a,r,!0);return(0,c.jsx)(u,{theme:s,children:(0,c.jsx)(f.T.Provider,{value:l,children:t})})}},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 x},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;let{ownerState:i={}}=e,a=[],l=null==r||null==(o=r.components)||null==(o=o[n])?void 0:o.variants;return l&&l.forEach(r=>{let n=!0;Object.keys(r.props).forEach(t=>{i[t]!==r.props[t]&&e[t]!==r.props[t]&&(n=!1)}),n&&a.push(t[u(r.props)])}),a};function m(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}let v=(0,a.Z)(),y=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function b({defaultTheme:e,theme:t,themeId:r}){return 0===Object.keys(t).length?e:t[r]||t}function x(e={}){let{themeId:t,defaultTheme:r=v,rootShouldForwardProp:a=m,slotShouldForwardProp:l=m}=e,s=e=>(0,f.Z)((0,o.Z)({},e,{theme:b((0,o.Z)({},e,{defaultTheme:r,themeId:t}))}));return s.__mui_systemSx=!0,(e,c={})=>{var u;let f;(0,i.Co)(e,e=>e.filter(e=>!(null!=e&&e.__mui_systemSx)));let{name:v,slot:x,skipVariantsResolver:C,skipSx:w,overridesResolver:S=(u=y(x))?(e,t)=>t[u]:null}=c,E=(0,n.Z)(c,d),k=void 0!==C?C:x&&"Root"!==x&&"root"!==x||!1,A=w||!1,O=m;"Root"===x||"root"===x?O=a:x?O=l:"string"==typeof e&&e.charCodeAt(0)>96&&(O=void 0);let $=(0,i.ZP)(e,(0,o.Z)({shouldForwardProp:O,label:f},E)),Z=(n,...i)=>{let a=i?i.map(e=>"function"==typeof e&&e.__emotion_real!==e?n=>e((0,o.Z)({},n,{theme:b((0,o.Z)({},n,{defaultTheme:r,themeId:t}))})):e):[],l=n;v&&S&&a.push(e=>{let n=b((0,o.Z)({},e,{defaultTheme:r,themeId:t})),i=p(v,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}),S(e,t)}return null}),v&&!k&&a.push(e=>{let n=b((0,o.Z)({},e,{defaultTheme:r,themeId:t}));return g(e,h(v,n),n,v)}),A||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:b((0,o.Z)({},e,{defaultTheme:r,themeId:t}))})));let u=$(l,...a);return e.muiName&&(u.muiName=e.muiName),u};return $.withConfig&&(Z.withConfig=$.withConfig),Z}}},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"}),k=(0,o.ZP)({prop:"gridAutoFlow"}),A=(0,o.ZP)({prop:"gridAutoColumns"}),O=(0,o.ZP)({prop:"gridAutoRows"}),$=(0,o.ZP)({prop:"gridTemplateColumns"}),Z=(0,o.ZP)({prop:"gridTemplateRows"}),j=(0,o.ZP)({prop:"gridTemplateAreas"}),B=(0,o.ZP)({prop:"gridArea"});function T(e,t){return"grey"===t?t:e}a(x,C,w,S,E,k,A,O,$,Z,j,B);let P=(0,o.ZP)({prop:"color",themeKey:"palette",transform:T}),R=(0,o.ZP)({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:T}),M=(0,o.ZP)({prop:"backgroundColor",themeKey:"palette",transform:T});function _(e){return e<=1&&0!==e?`${100*e}%`:e}a(P,R,M);let F=(0,o.ZP)({prop:"width",transform:_}),N=e=>void 0!==e.maxWidth&&null!==e.maxWidth?(0,l.k9)(e,e.maxWidth,t=>{var r;let n=(null==(r=e.theme)||null==(r=r.breakpoints)||null==(r=r.values)?void 0:r[t])||l.VO[t];return{maxWidth:n||_(t)}}):null;N.filterProps=["maxWidth"];let H=(0,o.ZP)({prop:"minWidth",transform:_}),L=(0,o.ZP)({prop:"height",transform:_}),D=(0,o.ZP)({prop:"maxHeight",transform:_}),I=(0,o.ZP)({prop:"minHeight",transform:_});(0,o.ZP)({prop:"size",cssProperty:"width",transform:_}),(0,o.ZP)({prop:"size",cssProperty:"height",transform:_});let z=(0,o.ZP)({prop:"boxSizing"});a(F,N,H,L,D,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:_},maxWidth:{style:N},minWidth:{transform:_},height:{transform:_},maxHeight:{transform:_},minHeight:{transform:_},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},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}},44542:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var n=r(86006);function o(e,t){return n.isValidElement(e)&&-1!==t.indexOf(e.type.muiName)}},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 i}});var n=r(86006);let o=n.createContext(void 0),i=e=>{let{children:t,size:r}=e,i=n.useContext(o);return n.createElement(o.Provider,{value:r||i},t)};t.Z=o},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},46134:function(e,t,r){"use strict";let n,o,i;r.d(t,{ZP:function(){return H},w6:function(){return _}});var a=r(84596),l=r(83346),s=r(55567),c=r(79035),u=r(86006),f=r(94986),d=r(66255),p=r(67044),h=e=>{let{locale:t={},children:r,_ANT_MARK__:n}=e;u.useEffect(()=>{let e=(0,d.f)(t&&t.Modal);return e},[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(60632),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),k=r(25844),A=r(81027),O=r(78641),$=r(3184);function Z(e){let{children:t}=e,[,r]=(0,$.Z)(),{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 j=r(98663),B=(e,t)=>{let[r,n]=(0,$.Z)();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,j.Ro)()),{[`.${e} .${e}-icon`]:{display:"block"}})}])},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 P=["getTargetContainer","getPopupContainer","renderEmpty","pageHeader","input","pagination","form","select","button"];function R(){return n||"ant"}function M(){return o||y.oR}let _=()=>({getPrefixCls:(e,t)=>t||(e?`${R()}-${e}`:R()),getIconPrefixCls:M,getRootPrefixCls:()=>n||R(),getTheme:()=>i}),F=e=>{let{children:t,csp:r,autoInsertSpaceInButton:n,alert:o,anchor:i,form:d,locale:p,componentSize:b,direction:x,space:C,virtual:w,dropdownMatchSelectWidth:S,popupMatchSelectWidth:O,popupOverflow:$,legacyLocale:j,parentContext:R,iconPrefixCls:M,theme:_,componentDisabled:F,segmented:N,statistic:H,spin:L,calendar:D,carousel:I,cascader:z,collapse:U,typography:W,checkbox:K,descriptions:G,divider:q,drawer:V,skeleton:X,steps:Y,image:J,layout:Q,list:ee,mentions:et,modal:er,progress:en,result:eo,slider:ei,breadcrumb:ea,menu:el,pagination:es,input:ec,empty:eu,badge:ef,radio:ed,rate:ep,switch:eh,transfer:eg,avatar:em,message:ev,tag:ey,table:eb,card:ex,tabs:eC,timeline:ew,timePicker:eS,upload:eE,notification:ek,tree:eA,colorPicker:eO,datePicker:e$,wave:eZ}=e,ej=u.useCallback((t,r)=>{let{prefixCls:n}=e;if(r)return r;let o=n||R.getPrefixCls("");return t?`${o}-${t}`:o},[R.getPrefixCls,e.prefixCls]),eB=M||R.iconPrefixCls||y.oR,eT=eB!==R.iconPrefixCls,eP=r||R.csp,eR=B(eB,eP),eM=function(e,t){let r=e||{},n=!1!==r.inherit&&t?t:m.u_;return(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,A.Z)(e,n,!0)}))}(_,R.theme),e_={csp:eP,autoInsertSpaceInButton:n,alert:o,anchor:i,locale:p||j,direction:x,space:C,virtual:w,popupMatchSelectWidth:null!=O?O:S,popupOverflow:$,getPrefixCls:ej,iconPrefixCls:eB,theme:eM,segmented:N,statistic:H,spin:L,calendar:D,carousel:I,cascader:z,collapse:U,typography:W,checkbox:K,descriptions:G,divider:q,drawer:V,skeleton:X,steps:Y,image:J,input:ec,layout:Q,list:ee,mentions:et,modal:er,progress:en,result:eo,slider:ei,breadcrumb:ea,menu:el,pagination:es,empty:eu,badge:ef,radio:ed,rate:ep,switch:eh,transfer:eg,avatar:em,message:ev,tag:ey,table:eb,card:ex,tabs:eC,timeline:ew,timePicker:eS,upload:eE,notification:ek,tree:eA,colorPicker:eO,datePicker:e$,wave:eZ},eF=Object.assign({},R);Object.keys(e_).forEach(e=>{void 0!==e_[e]&&(eF[e]=e_[e])}),P.forEach(t=>{let r=e[t];r&&(eF[t]=r)});let eN=(0,s.Z)(()=>eF,eF,(e,t)=>{let r=Object.keys(e),n=Object.keys(t);return r.length!==n.length||r.some(r=>e[r]!==t[r])}),eH=u.useMemo(()=>({prefixCls:eB,csp:eP}),[eB,eP]),eL=eT?eR(t):t,eD=u.useMemo(()=>{var e,t,r,n;return(0,c.T)((null===(e=g.Z.Form)||void 0===e?void 0:e.defaultValidateMessages)||{},(null===(r=null===(t=eN.locale)||void 0===t?void 0:t.Form)||void 0===r?void 0:r.defaultValidateMessages)||{},(null===(n=eN.form)||void 0===n?void 0:n.validateMessages)||{},(null==d?void 0:d.validateMessages)||{})},[eN,null==d?void 0:d.validateMessages]);Object.keys(eD).length>0&&(eL=u.createElement(f.Z.Provider,{value:eD},t)),p&&(eL=u.createElement(h,{locale:p,_ANT_MARK__:"internalMark"},eL)),(eB||eP)&&(eL=u.createElement(l.Z.Provider,{value:eH},eL)),b&&(eL=u.createElement(k.q,{size:b},eL)),eL=u.createElement(Z,null,eL);let eI=u.useMemo(()=>{let e=eM||{},{algorithm:t,token:r,components:n}=e,o=T(e,["algorithm","token","components"]),i=t&&(!Array.isArray(t)||t.length>0)?(0,a.jG)(t):m.uH,l={};return Object.entries(n||{}).forEach(e=>{let[t,r]=e,n=Object.assign({},r);"algorithm"in n&&(!0===n.algorithm?n.theme=i:(Array.isArray(n.algorithm)||"function"==typeof n.algorithm)&&(n.theme=(0,a.jG)(n.algorithm)),delete n.algorithm),l[t]=n}),Object.assign(Object.assign({},o),{theme:i,token:Object.assign(Object.assign({},v.Z),r),components:l})},[eM]);return _&&(eL=u.createElement(m.Mj.Provider,{value:eI},eL)),void 0!==F&&(eL=u.createElement(E.n,{disabled:F},eL)),u.createElement(y.E_.Provider,{value:eN},eL)},N=e=>{let t=u.useContext(y.E_),r=u.useContext(p.Z);return u.createElement(F,Object.assign({parentContext:t,legacyLocale:r},e))};N.ConfigContext=y.E_,N.SizeContext=k.Z,N.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`)}(R(),a):i=a)},N.useConfig=function(){let e=(0,u.useContext)(E.Z),t=(0,u.useContext)(k.Z);return{componentDisabled:e,componentSize:t}},Object.defineProperty(N,"SizeContext",{get:()=>k.Z});var H=N},94986:function(e,t,r){"use strict";var n=r(86006);t.Z=(0,n.createContext)(void 0)},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(46134),l=r(34777),s=r(56222),c=r(27977),u=r(49132),f=r(75710),d=r(8683),p=r.n(d),h=r(60456),g=r(89301),m=r(40431),v=r(88684),y=r(8431),b=r(78641),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,d=void 0===f?"x":f,g=e.props,v=e.onClick,y=e.onNoticeClose,b=e.times,w=i.useState(!1),S=(0,h.Z)(w,2),E=S[0],k=S[1],A=function(){y(s)};i.useEffect(function(){if(!E&&l>0){var e=setTimeout(function(){A()},1e3*l);return function(){clearTimeout(e)}}},[l,E,b]);var O="".concat(r,"-notice");return i.createElement("div",(0,m.Z)({},g,{ref:t,className:p()(O,o,(0,x.Z)({},"".concat(O,"-closable"),u)),style:n,onMouseEnter:function(){k(!0)},onMouseLeave:function(){k(!1)},onClick:v}),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)&&A()},onClick:function(e){e.preventDefault(),e.stopPropagation(),A()}},d))}),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,d=i.useState([]),g=(0,h.Z)(d,2),x=g[0],C=g[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,v.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({}),k=(0,h.Z)(E,2),A=k[0],O=k[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(A).forEach(function(t){e[t]=e[t]||[]}),O(e)},[x]);var $=function(e){O(function(t){var r=(0,v.Z)({},t);return(r[e]||[]).length||delete r[e],r})},Z=i.useRef(!1);if(i.useEffect(function(){Object.keys(A).length>0?Z.current=!0:Z.current&&(null==f||f(),Z.current=!1)},[A]),!a)return null;var j=Object.keys(A);return(0,y.createPortal)(i.createElement(i.Fragment,null,j.map(function(e){var t=A[e].map(function(e){return{config:e,key:e.key}}),r="function"==typeof l?l(e):l;return i.createElement(b.V4,(0,m.Z)({key:e,className:p()(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,m.Z)({},r,{ref:t,prefixCls:o,className:p()(n,c),style:(0,v.Z)((0,v.Z)({},a),u),times:s,key:l,eventKey:l,onNoticeClose:S}))})})),a)}),E=["getContainer","motion","prefixCls","maxCount","className","style","onAllRemoved"],k=function(){return document.body},A=0,O=r(79746),$=r(84596),Z=r(98663),j=r(40650),B=r(70721);let T=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 $.E4("MessageMoveIn",{"0%":{padding:0,transform:"translateY(-100%)",opacity:0},"100%":{padding:p,transform:"translateY(0)",opacity:1}}),x=new $.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,Z.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 P=(0,j.Z)("Message",e=>{let t=(0,B.TS)(e,{height:150});return[T(t)]},e=>({zIndexPopup:e.zIndexPopupBase+10,contentBg:e.colorBgElevated,contentPadding:`${(e.controlHeightLG-e.fontSize*e.lineHeight)/2}px ${e.paddingSM}px`}),{clientOnly:!0}),R=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(u.Z,null),success:i.createElement(l.Z,null),error:i.createElement(s.Z,null),warning:i.createElement(c.Z,null),loading:i.createElement(f.Z,null)},_=e=>{let{prefixCls:t,type:r,icon:n,children:o}=e;return i.createElement("div",{className:p()(`${t}-custom-content`,`${t}-${r}`)},n||M[r],i.createElement("span",null,o))};var F=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 L=i.forwardRef((e,t)=>{let{top:r,prefixCls:o,getContainer:a,maxCount:l,duration:s=3,rtl:c,transitionName:u,onAllRemoved:f}=e,{getPrefixCls:d,getPopupContainer:m,message:v}=i.useContext(O.E_),y=o||d("message"),[,b]=P(y),x=i.createElement("span",{className:`${y}-close-x`},i.createElement(F.Z,{className:`${y}-close-icon`})),[C,w]=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.getContainer,r=void 0===t?k:t,o=e.motion,a=e.prefixCls,l=e.maxCount,s=e.className,c=e.style,u=e.onAllRemoved,f=(0,g.Z)(e,E),d=i.useState(),p=(0,h.Z)(d,2),m=p[0],v=p[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,h.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:()=>p()(b,{[`${y}-rtl`]:c}),motion:()=>({motionName:null!=u?u:`${y}-move-up`}),closable:!1,closeIcon:x,duration:s,getContainer:()=>(null==a?void 0:a())||(null==m?void 0:m())||document.body,maxCount:l,onAllRemoved:f});return i.useImperativeHandle(t,()=>Object.assign(Object.assign({},C),{prefixCls:y,hashId:b,message:v})),w}),D=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,message:l}=t.current,s=`${o}-notice`,{content:c,icon:u,type:f,key:d,className:h,style:g,onClose:m}=r,v=H(r,["content","icon","type","key","className","style","onClose"]),y=d;return null==y&&(D+=1,y=`antd-message-${D}`),N(t=>(n(Object.assign(Object.assign({},v),{key:y,content:i.createElement(_,{prefixCls:o,type:f,icon:u},c),placement:"top",className:p()(f&&`${s}-${f}`,a,h,null==l?void 0:l.className),style:Object.assign(Object.assign({},null==l?void 0:l.style),g),onClose:()=>{null==m||m(),t()}})),()=>{e(y)}))},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(L,Object.assign({key:"message-holder"},e,{ref:t}))]}let z=null,U=e=>e(),W=[],K={},G=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}=K,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(G,{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({},K),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){K=Object.assign(Object.assign({},K),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:e=>{let{prefixCls:t,className:r,type:n,icon:o,content:a}=e,l=R(e,["prefixCls","className","type","icon","content"]),{getPrefixCls:s}=i.useContext(O.E_),c=t||s("message"),[,u]=P(c);return i.createElement(w,Object.assign({},l,{prefixCls:c,className:p()(r,u,`${c}-notice-pure-panel`),eventKey:"pure",duration:null,content:i.createElement(_,{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 s},f:function(){return l}});var n=r(91295);let o=Object.assign({},n.Z.Modal),i=[],a=()=>i.reduce((e,t)=>Object.assign(Object.assign({},e),t),n.Z.Modal);function l(e){if(e){let t=Object.assign({},e);return i.push(t),o=a(),()=>{i=i.filter(e=>e!==t),o=a()}}o=Object.assign({},n.Z.Modal)}function s(){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))})},60632:function(e,t,r){"use strict";r.d(t,{Mj:function(){return c},uH:function(){return l},u_:function(){return s}});var n=r(84596),o=r(86006),i=r(47794),a=r(99528);let l=(0,n.jG)(i.Z),s={token:a.Z,hashed:!0},c=o.createContext(s)},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",colorLink:"",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),y=e.colorLink||e.colorInfo,b=r(y);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],colorLinkHover:b[4],colorLink:b[6],colorLinkActive:b[7],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]}}},3184:function(e,t,r){"use strict";r.d(t,{Z:function(){return u}});var n=r(84596),o=r(86006),i=r(60632),a=r(99528),l=r(85207),s=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 c=(e,t,r)=>{let n=r.getDerivativeToken(e),{override:o}=t,i=s(t,["override"]),a=Object.assign(Object.assign({},n),{override:o});return a=(0,l.Z)(a),i&&Object.entries(i).forEach(e=>{let[t,r]=e,{theme:n}=r,o=s(r,["theme"]),i=o;n&&(i=c(Object.assign(Object.assign({},a),o),{override:o},n)),a[t]=i}),a};function u(){let{token:e,hashed:t,theme:r,components:l}=o.useContext(i.Mj),s=`5.8.2-${t||""}`,u=r||i.uH,[f,d]=(0,n.fp)(u,[a.Z,e],{salt:s,override:Object.assign({override:e},l),getComputedToken:c});return[u,f,t?d:""]}},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),{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:` + 0 6px 16px 0 rgba(0, 0, 0, 0.08), + 0 3px 6px -4px rgba(0, 0, 0, 0.12), + 0 9px 28px 8px rgba(0, 0, 0, 0.05) + `,boxShadowSecondary:` + 0 6px 16px 0 rgba(0, 0, 0, 0.08), + 0 3px 6px -4px rgba(0, 0, 0, 0.12), + 0 9px 28px 8px rgba(0, 0, 0, 0.05) + `,boxShadowTertiary:` + 0 1px 2px 0 rgba(0, 0, 0, 0.03), + 0 1px 6px -1px rgba(0, 0, 0, 0.02), + 0 2px 4px 0 rgba(0, 0, 0, 0.02) + `,screenXS:480,screenXSMin:480,screenXSMax:575,screenSM:576,screenSMMin:576,screenSMMax:767,screenMD:768,screenMDMin:768,screenMDMax:991,screenLG:992,screenLGMin:992,screenLGMax:1199,screenXL:1200,screenXLMin:1200,screenXLMax:1599,screenXXL:1600,screenXXLMin:1600,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:` + 0 1px 2px -2px ${new n.C("rgba(0, 0, 0, 0.16)").toRgbString()}, + 0 3px 6px 0 ${new n.C("rgba(0, 0, 0, 0.12)").toRgbString()}, + 0 5px 12px 4px ${new n.C("rgba(0, 0, 0, 0.09)").toRgbString()} + `,boxShadowDrawerRight:` + -6px 0 16px 0 rgba(0, 0, 0, 0.08), + -3px 0 6px -4px rgba(0, 0, 0, 0.12), + -9px 0 28px 8px rgba(0, 0, 0, 0.05) + `,boxShadowDrawerLeft:` + 6px 0 16px 0 rgba(0, 0, 0, 0.08), + 3px 0 6px -4px rgba(0, 0, 0, 0.12), + 9px 0 28px 8px rgba(0, 0, 0, 0.05) + `,boxShadowDrawerUp:` + 0 6px 16px 0 rgba(0, 0, 0, 0.08), + 0 3px 6px -4px rgba(0, 0, 0, 0.12), + 0 9px 28px 8px rgba(0, 0, 0, 0.05) + `,boxShadowDrawerDown:` + 0 -6px 16px 0 rgba(0, 0, 0, 0.08), + 0 -3px 6px -4px rgba(0, 0, 0, 0.12), + 0 -9px 28px 8px rgba(0, 0, 0, 0.05) + `,boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)"}),i);return c}},40650:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var n=r(84596);r(65493);var o=r(86006),i=r(79746),a=r(98663),l=r(3184),s=r(70721);function c(e,t,r,c){return u=>{let[f,d,p]=(0,l.Z)(),{getPrefixCls:h,iconPrefixCls:g,csp:m}=(0,o.useContext)(i.E_),v=h(),y={theme:f,token:d,hashId:p,nonce:()=>null==m?void 0:m.nonce,clientOnly:null==c?void 0:c.clientOnly,order:-999};return(0,n.xy)(Object.assign(Object.assign({},y),{clientOnly:!1,path:["Shared",v]}),()=>[{"&":(0,a.Lx)(d)}]),[(0,n.xy)(Object.assign(Object.assign({},y),{path:[e,u,g]}),()=>{let{token:n,flush:o}=(0,s.ZP)(d),i=Object.assign({},d[e]);if(null==c?void 0:c.deprecatedTokens){let{deprecatedTokens:e}=c;e.forEach(e=>{var t;let[r,n]=e;((null==i?void 0:i[r])||(null==i?void 0:i[n]))&&(null!==(t=i[n])&&void 0!==t||(i[n]=null==i?void 0:i[r]))})}let l="function"==typeof r?r((0,s.TS)(n,null!=i?i:{})):r,f=Object.assign(Object.assign({},l),i),h=`.${u}`,m=(0,s.TS)(n,{componentCls:h,prefixCls:u,iconCls:`.${g}`,antCls:`.${v}`},f),y=t(m,{hashId:p,prefixCls:u,rootPrefixCls:v,iconPrefixCls:g,overrideComponentToken:i});return o(e,f),[(null==c?void 0:c.resetStyle)===!1?null:(0,a.du)(d,u),y]}),p]}}},70721:function(e,t,r){"use strict";r.d(t,{TS:function(){return i},ZP:function(){return s}});let n="undefined"!=typeof CSSINJS_STATISTIC,o=!0;function i(){for(var e=arguments.length,t=Array(e),r=0;r{let t=Object.keys(e);t.forEach(t=>{Object.defineProperty(i,t,{configurable:!0,enumerable:!0,get:()=>e[t]})})}),o=!0,i}let a={};function l(){}function s(e){let t;let r=e,i=l;return n&&(t=new Set,r=new Proxy(e,{get:(e,r)=>(o&&t.add(r),e[r])}),i=(e,r)=>{a[e]={global:Array.from(t),component:r}}),{token:r,keys:t,flush:i}}},8683:function(e,t){var r;/*! + 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;to?0:o+t),(r=r>o?o:r)<0&&(r+=o),o=t>r?0:r-t>>>0,t>>>=0;for(var i=Array(o);++n0?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 k(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:k(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 A(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 j=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=[T,P,R,"end"],Q=[T,M];function ee(e){return e===R||"end"===e}var et=function(e,t,r){var n=(0,A.Z)(B),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!==B&&"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,k=n.onAppearEnd,B=n.onEnterEnd,_=n.onLeaveEnd,F=n.onVisibleChanged,N=(0,A.Z)(),H=(0,u.Z)(N,2),L=H[0],D=H[1],I=(0,A.Z)(O),z=(0,u.Z)(I,2),U=z[0],W=z[1],K=(0,A.Z)(null),G=(0,u.Z)(K,2),X=G[0],Y=G[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==k?void 0:k(n,e):U===Z&&o?t=null==B?void 0:B(n,e):U===j&&o&&(t=null==_?void 0:_(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,P,b),(0,s.Z)(t,R,w),t;case Z:return r={},(0,s.Z)(r,T,v),(0,s.Z)(r,P,x),(0,s.Z)(r,R,S),r;case j:return n={},(0,s.Z)(n,T,y),(0,s.Z)(n,P,C),(0,s.Z)(n,R,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===R&&(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(){D(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=j);var o=el(r);r&&(e||o[T])?(W(r),ef()):W(O)},[t]),(0,m.useEffect)(function(){(U!==$||l)&&(U!==Z||i)&&(U!==j||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(){L&&(eh.current=!0),void 0!==L&&U===O&&((eh.current||L)&&(null==F||F(L)),eh.current=!0)},[L,U]);var eg=X;return es[T]&&ed===P&&(eg=(0,c.Z)({transition:"none"},eg)),[U,ed,eg,null!=L?L:t]}(C,n,function(){try{return w.current instanceof HTMLElement?w.current:(0,h.Z)(S.current)}catch(e){return null}},e),B=(0,u.Z)(E,4),_=B[0],F=B[1],N=B[2],H=B[3],L=m.useRef(H);H&&(L.current=!0);var D=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(_===O)z=H?f((0,c.Z)({},I),D):!i&&L.current&&v?f((0,c.Z)((0,c.Z)({},I),{},{className:v}),D):!l&&(i||v)?null:f((0,c.Z)((0,c.Z)({},I),{},{style:{display:"none"}}),D);else{F===T?W="prepare":ee(F)?W="active":F===P&&(W="start");var z,U,W,K=G(d,"".concat(_,"-").concat(W));z=f((0,c.Z)((0,c.Z)({},I),{},{className:p()(G(d,_),(U={},(0,s.Z)(U,K,K&&W),(0,s.Z)(U,d,"string"==typeof d),U)),style:N}),D)}}else z=null;return m.isValidElement(z)&&(0,g.Yr)(z)&&!z.ref&&(z=m.cloneElement(z,{ref:D})),m.createElement(k,{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 h},jL:function(){return p}});var n=r(71693),o=r(14071),i="data-rc-order",a="data-rc-priority",l=new Map;function s(){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 c(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function u(e){return Array.from((l.get(e)||e).children).filter(function(e){return"STYLE"===e.tagName})}function f(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,l=t.priority,s=void 0===l?0:l,f="queue"===o?"prependQueue":o?"prepend":"append",d="prependQueue"===f,p=document.createElement("style");p.setAttribute(i,f),d&&s&&p.setAttribute(a,"".concat(s)),null!=r&&r.nonce&&(p.nonce=null==r?void 0:r.nonce),p.innerHTML=e;var h=c(t),g=h.firstChild;if(o){if(d){var m=u(h).filter(function(e){return!!["prepend","prependQueue"].includes(e.getAttribute(i))&&s>=Number(e.getAttribute(a)||0)});if(m.length)return h.insertBefore(p,m[m.length-1].nextSibling),p}h.insertBefore(p,g)}else h.appendChild(p);return p}function d(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return u(c(t)).find(function(r){return r.getAttribute(s(t))===e})}function p(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=d(e,t);r&&c(t).removeChild(r)}function h(e,t){var r,n,i,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};!function(e,t){var r=l.get(e);if(!r||!(0,o.Z)(document,r)){var n=f("",t),i=n.parentNode;l.set(e,i),e.removeChild(n)}}(c(a),a);var u=d(t,a);if(u)return null!==(r=a.csp)&&void 0!==r&&r.nonce&&u.nonce!==(null===(n=a.csp)||void 0===n?void 0:n.nonce)&&(u.nonce=null===(i=a.csp)||void 0===i?void 0:i.nonce),u.innerHTML!==e&&(u.innerHTML=e),u;var p=f(e,a);return p.setAttribute(s(a),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) instanceof ShadowRoot?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(24488),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 k(n||[]),a="suspendedStart",function(t,n){if("executing"===a)throw Error("Generator is already running");if("completed"===a){if("throw"===t)throw n;return{value:void 0,done:!0}}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(A([])));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 k(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function A(e){if(e||""===e){var t=e[l];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function t(){for(;++o=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:A(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 ez}});let{toString:i}=Object.prototype,{getPrototypeOf:a}=Object,l=(_=Object.create(null),e=>{let t=i.call(e);return _[t]||(_[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 k="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,A=e=>!f(e)&&e!==k,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),j=s("RegExp"),B=(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",P="0123456789",R={DIGIT:P,ALPHA:T,ALPHA_DIGIT:T+T.toUpperCase()+P},M=s("AsyncFunction");var _,F,N={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;return e&&("function"==typeof FormData&&e instanceof FormData||h(e.append)&&("formdata"===(t=l(e))||"object"===t&&h(e.toString)&&"[object FormData]"===e.toString()))},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:j,isFunction:h,isStream:e=>m(e)&&h(e.pipe),isURLSearchParams:w,isTypedArray:O,isFileList:C,forEach:S,merge:function e(){let{caseless:t}=A(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:B,freezeMethods:e=>{B(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:k,isContextDefined:A,ALPHABET:R,generateString:(e=16,t=R.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)},isAsyncFn:M,isThenable:e=>e&&(m(e)||h(e))&&h(e.then)&&h(e.catch)};function H(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)}N.inherits(H,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:N.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});let L=H.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(H,D),Object.defineProperty(L,"isAxiosError",{value:!0}),H.from=(e,t,r,n,o,i)=>{let a=Object.create(L);return N.toFlatObject(e,a,function(e){return e!==Error.prototype},e=>"isAxiosError"!==e),H.call(a,e.message,t,r,n,o),a.cause=e,a.name=e.name,i&&Object.assign(a,i),a};var I=r(91083).Buffer;function z(e){return N.isPlainObject(e)||N.isArray(e)}function U(e){return N.endsWith(e,"[]")?e.slice(0,-2):e}function W(e,t,r){return e?e.concat(t).map(function(e,t){return e=U(e),!r&&t?"["+e+"]":e}).join(r?".":""):t}let K=N.toFlatObject(N,{},null,function(e){return/^is[A-Z]/.test(e)});var G=function(e,t,r){if(!N.isObject(e))throw TypeError("target must be an object");t=t||new FormData,r=N.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!N.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&&N.isSpecCompliantForm(t);if(!N.isFunction(o))throw TypeError("visitor must be a function");function c(e){if(null===e)return"";if(N.isDate(e))return e.toISOString();if(!s&&N.isBlob(e))throw new H("Blob is not supported. Use a Buffer instead.");return N.isArrayBuffer(e)||N.isTypedArray(e)?s&&"function"==typeof Blob?new Blob([e]):I.from(e):e}function u(e,r,o){let l=e;if(e&&!o&&"object"==typeof e){if(N.endsWith(r,"{}"))r=n?r:r.slice(0,-2),e=JSON.stringify(e);else{var s;if(N.isArray(e)&&(s=e,N.isArray(s)&&!s.some(z))||(N.isFileList(e)||N.endsWith(r,"[]"))&&(l=N.toArray(e)))return r=U(r),l.forEach(function(e,n){N.isUndefined(e)||null===e||t.append(!0===a?W([r],n,i):null===a?r:r+"[]",c(e))}),!1}}return!!z(e)||(t.append(W(o,r,i),c(e)),!1)}let f=[],d=Object.assign(K,{defaultVisitor:u,convertValue:c,isVisitable:z});if(!N.isObject(e))throw TypeError("data must be an object");return!function e(r,n){if(!N.isUndefined(r)){if(-1!==f.indexOf(r))throw Error("Circular reference detected in "+n.join("."));f.push(r),N.forEach(r,function(r,i){let a=!(N.isUndefined(r)||null===r)&&o.call(t,r,N.isString(i)?i.trim():i,n,d);!0===a&&e(r,n?n.concat(i):[i])}),f.pop()}}(e),t};function q(e){let t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\x00"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(e){return t[e]})}function V(e,t){this._pairs=[],e&&G(e,this,t)}let X=V.prototype;function Y(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function J(e,t,r){let n;if(!t)return e;let o=r&&r.encode||Y,i=r&&r.serialize;if(n=i?i(t,r):N.isURLSearchParams(t)?t.toString():new V(t,r).toString(o)){let t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+n}return e}X.append=function(e,t){this._pairs.push([e,t])},X.toString=function(e){let t=e?function(t){return e.call(this,t,q)}:q;return this._pairs.map(function(e){return t(e[0])+"="+t(e[1])},"").join("&")};var Q=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){N.forEach(this.handlers,function(t){null!==t&&e(t)})}},ee={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},et="undefined"!=typeof URLSearchParams?URLSearchParams:V,er="undefined"!=typeof FormData?FormData:null,en="undefined"!=typeof Blob?Blob:null;let eo=("undefined"==typeof navigator||"ReactNative"!==(n=navigator.product)&&"NativeScript"!==n&&"NS"!==n)&&"undefined"!=typeof window&&"undefined"!=typeof document,ei="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts;var ea={isBrowser:!0,classes:{URLSearchParams:et,FormData:er,Blob:en},isStandardBrowserEnv:eo,isStandardBrowserWebWorkerEnv:ei,protocols:["http","https","file","blob","url","data"]},el=function(e){if(N.isFormData(e)&&N.isFunction(e.entries)){let t={};return N.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&&N.isArray(n)?n.length:i,l)return N.hasOwnProp(n,i)?n[i]=[n[i],r]:n[i]=r,!a;n[i]&&N.isObject(n[i])||(n[i]=[]);let s=e(t,r,n[i],o);return s&&N.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 es={"Content-Type":void 0},ec={transitional:ee,adapter:["xhr","http"],transformRequest:[function(e,t){let r;let n=t.getContentType()||"",o=n.indexOf("application/json")>-1,i=N.isObject(e);i&&N.isHTMLForm(e)&&(e=new FormData(e));let a=N.isFormData(e);if(a)return o&&o?JSON.stringify(el(e)):e;if(N.isArrayBuffer(e)||N.isBuffer(e)||N.isStream(e)||N.isFile(e)||N.isBlob(e))return e;if(N.isArrayBufferView(e))return e.buffer;if(N.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 ea.classes.URLSearchParams,Object.assign({visitor:function(e,t,r,n){return ea.isNode&&N.isBuffer(e)?(this.append(t,e.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)}},s))).toString()}if((r=N.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(N.isString(e))try{return(0,JSON.parse)(e),N.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){let t=this.transitional||ec.transitional,r=t&&t.forcedJSONParsing,n="json"===this.responseType;if(e&&N.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 H.from(e,H.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:ea.classes.FormData,Blob:ea.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};N.forEach(["delete","get","head"],function(e){ec.headers[e]={}}),N.forEach(["post","put","patch"],function(e){ec.headers[e]=N.merge(es)});let eu=N.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 ef=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]&&eu[t]||("set-cookie"===t?o[t]?o[t].push(r):o[t]=[r]:o[t]=o[t]?o[t]+", "+r:r)}),o};let ed=Symbol("internals");function ep(e){return e&&String(e).trim().toLowerCase()}function eh(e){return!1===e||null==e?e:N.isArray(e)?e.map(eh):String(e)}let eg=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function em(e,t,r,n,o){if(N.isFunction(n))return n.call(this,t,r);if(o&&(t=r),N.isString(t)){if(N.isString(n))return -1!==t.indexOf(n);if(N.isRegExp(n))return n.test(t)}}class ev{constructor(e){e&&this.set(e)}set(e,t,r){let n=this;function o(e,t,r){let o=ep(t);if(!o)throw Error("header name must be a non-empty string");let i=N.findKey(n,o);i&&void 0!==n[i]&&!0!==r&&(void 0!==r||!1===n[i])||(n[i||t]=eh(e))}let i=(e,t)=>N.forEach(e,(e,r)=>o(e,r,t));return N.isPlainObject(e)||e instanceof this.constructor?i(e,t):N.isString(e)&&(e=e.trim())&&!eg(e)?i(ef(e),t):null!=e&&o(t,e,r),this}get(e,t){if(e=ep(e)){let r=N.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(N.isFunction(t))return t.call(this,e,r);if(N.isRegExp(t))return t.exec(e);throw TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=ep(e)){let r=N.findKey(this,e);return!!(r&&void 0!==this[r]&&(!t||em(this,this[r],r,t)))}return!1}delete(e,t){let r=this,n=!1;function o(e){if(e=ep(e)){let o=N.findKey(r,e);o&&(!t||em(r,r[o],o,t))&&(delete r[o],n=!0)}}return N.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||em(this,this[o],o,e,!0))&&(delete this[o],n=!0)}return n}normalize(e){let t=this,r={};return N.forEach(this,(n,o)=>{let i=N.findKey(r,o);if(i){t[i]=eh(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]=eh(n),r[a]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){let t=Object.create(null);return N.forEach(this,(r,n)=>{null!=r&&!1!==r&&(t[n]=e&&N.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[ed]=this[ed]={accessors:{}},r=t.accessors,n=this.prototype;function o(e){let t=ep(e);r[t]||(!function(e,t){let r=N.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 N.isArray(e)?e.forEach(o):o(e),this}}function ey(e,t){let r=this||ec,n=t||r,o=ev.from(n.headers),i=n.data;return N.forEach(e,function(e){i=e.call(r,i,o.normalize(),t?t.status:void 0)}),o.normalize(),i}function eb(e){return!!(e&&e.__CANCEL__)}function ex(e,t,r){H.call(this,null==e?"canceled":e,H.ERR_CANCELED,t,r),this.name="CanceledError"}ev.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),N.freezeMethods(ev.prototype),N.freezeMethods(ev),N.inherits(ex,H,{__CANCEL__:!0});var eC=ea.isStandardBrowserEnv?{write:function(e,t,r,n,o,i){let a=[];a.push(e+"="+encodeURIComponent(t)),N.isNumber(r)&&a.push("expires="+new Date(r).toGMTString()),N.isString(n)&&a.push("path="+n),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 ew(e,t){return e&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)?t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e:t}var eS=ea.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=N.isString(t)?n(t):t;return r.protocol===e.protocol&&r.host===e.host}}():function(){return!0},eE=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 eA="undefined"!=typeof XMLHttpRequest;var eO=eA&&function(e){return new Promise(function(t,r){let n,o=e.data,i=ev.from(e.headers).normalize(),a=e.responseType;function l(){e.cancelToken&&e.cancelToken.unsubscribe(n),e.signal&&e.signal.removeEventListener("abort",n)}N.isFormData(o)&&(ea.isStandardBrowserEnv||ea.isStandardBrowserWebWorkerEnv?i.setContentType(!1):i.setContentType("multipart/form-data;",!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=ew(e.baseURL,e.url);function u(){if(!s)return;let n=ev.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 H("Request failed with status code "+r.status,[H.ERR_BAD_REQUEST,H.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(),J(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 H("Request aborted",H.ECONNABORTED,e,s)),s=null)},s.onerror=function(){r(new H("Network Error",H.ERR_NETWORK,e,s)),s=null},s.ontimeout=function(){let t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",n=e.transitional||ee;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),r(new H(t,n.clarifyTimeoutError?H.ETIMEDOUT:H.ECONNABORTED,e,s)),s=null},ea.isStandardBrowserEnv){let t=(e.withCredentials||eS(c))&&e.xsrfCookieName&&eC.read(e.xsrfCookieName);t&&i.set(e.xsrfHeaderName,t)}void 0===o&&i.setContentType(null),"setRequestHeader"in s&&N.forEach(i.toJSON(),function(e,t){s.setRequestHeader(t,e)}),N.isUndefined(e.withCredentials)||(s.withCredentials=!!e.withCredentials),a&&"json"!==a&&(s.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&s.addEventListener("progress",ek(e.onDownloadProgress,!0)),"function"==typeof e.onUploadProgress&&s.upload&&s.upload.addEventListener("progress",ek(e.onUploadProgress)),(e.cancelToken||e.signal)&&(n=t=>{s&&(r(!t||t.type?new ex(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===ea.protocols.indexOf(f)){r(new H("Unsupported protocol "+f+":",H.ERR_BAD_REQUEST,e));return}s.send(o||null)})};let e$={http:null,xhr:eO};N.forEach(e$,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}});var eZ={getAdapter:e=>{let t,r;e=N.isArray(e)?e:[e];let{length:n}=e;for(let o=0;oe instanceof ev?e.toJSON():e;function eP(e,t){t=t||{};let r={};function n(e,t,r){return N.isPlainObject(e)&&N.isPlainObject(t)?N.merge.call({caseless:r},e,t):N.isPlainObject(t)?N.merge({},t):N.isArray(t)?t.slice():t}function o(e,t,r){return N.isUndefined(t)?N.isUndefined(e)?void 0:n(void 0,e,r):n(e,t,r)}function i(e,t){if(!N.isUndefined(t))return n(void 0,t)}function a(e,t){return N.isUndefined(t)?N.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(eT(e),eT(t),!0)};return N.forEach(Object.keys(Object.assign({},e,t)),function(n){let i=s[n]||o,a=i(e[n],t[n],n);N.isUndefined(a)&&i!==l||(r[n]=a)}),r}let eR="1.4.0",eM={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{eM[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});let e_={};eM.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 H(n(o," has been removed"+(t?" in "+t:"")),H.ERR_DEPRECATED);return t&&!e_[o]&&(e_[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 eF={assertOptions:function(e,t,r){if("object"!=typeof e)throw new H("options must be an object",H.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 H("option "+i+" must be "+r,H.ERR_BAD_OPTION_VALUE);continue}if(!0!==r)throw new H("Unknown option "+i,H.ERR_BAD_OPTION)}},validators:eM};let eN=eF.validators;class eH{constructor(e){this.defaults=e,this.interceptors={request:new Q,response:new Q}}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&&eF.assertOptions(i,{silentJSONParsing:eN.transitional(eN.boolean),forcedJSONParsing:eN.transitional(eN.boolean),clarifyTimeoutError:eN.transitional(eN.boolean)},!1),null!=a&&(N.isFunction(a)?t.paramsSerializer={serialize:a}:eF.assertOptions(a,{encode:eN.function,serialize:eN.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase(),(r=l&&N.merge(l.common,l[t.method]))&&N.forEach(["delete","get","head","post","put","patch","common"],e=>{delete l[e]}),t.headers=ev.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=[eB.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 ex(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 eL(function(t){e=t});return{token:t,cancel:e}}}let eD={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(eD).forEach(([e,t])=>{eD[t]=e});let eI=function e(t){let r=new eH(t),n=o(eH.prototype.request,r);return N.extend(n,eH.prototype,r,{allOwnKeys:!0}),N.extend(n,r,null,{allOwnKeys:!0}),n.create=function(r){return e(eP(t,r))},n}(ec);eI.Axios=eH,eI.CanceledError=ex,eI.CancelToken=eL,eI.isCancel=eb,eI.VERSION=eR,eI.toFormData=G,eI.AxiosError=H,eI.Cancel=eI.CanceledError,eI.all=function(e){return Promise.all(e)},eI.spread=function(e){return function(t){return e.apply(null,t)}},eI.isAxiosError=function(e){return N.isObject(e)&&!0===e.isAxiosError},eI.mergeConfig=eP,eI.AxiosHeaders=ev,eI.formToJSON=e=>el(N.isHTMLForm(e)?new FormData(e):e),eI.HttpStatusCode=eD,eI.default=eI;var ez=eI}}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/app/chat/page-bd8d42093551dba8.js b/pilot/server/static/_next/static/chunks/app/chat/page-bd8d42093551dba8.js new file mode 100644 index 000000000..35f76cb43 --- /dev/null +++ b/pilot/server/static/_next/static/chunks/app/chat/page-bd8d42093551dba8.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1929],{86066:function(e,l,t){Promise.resolve().then(t.bind(t,11453))},11453:function(e,l,t){"use strict";t.r(l),t.d(l,{default:function(){return eg}});var n=t(9268),a=t(86006),i=t(57931),r=t(44972),s=t(89081),o=t(83192),d=t(35891),c=t(22046),u=t(71451),v=t(24857),h=t(53113),x=t(90545),m=t(48755),f=t(56959),p=t(76447),g=t(61469),j=t(57746);function y(){}function b(e){let{width:l="100%",height:i="100%",value:r,defaultValue:s,language:o,theme:d,options:c,overrideServices:u,editorWillMount:v,editorDidMount:h,editorWillUnmount:x,className:m,description:f,uri:p,editorInstanceRef:g,handleChange:j}=e,y=a.useMemo(()=>{if("function"==typeof(null==window?void 0:window.fetch)){let e=t(12116);return e}},[]),b=(0,a.useRef)(null),w=(0,a.useRef)(null),Z=(0,a.useRef)(null),_=(0,a.useRef)(null),N=a.useMemo(()=>({width:l,height:i,overflow:"hidden"}),[l,i]),S=()=>{let e=null==v?void 0:v(y);return e||{}},P=()=>{if(!(null==w?void 0:w.current)){console.error("Can not get editor element!");return}if(null==h||h(null==w?void 0:w.current,y),null==g||g(null==w?void 0:w.current),Z){var e,l;Z.current=null==w?void 0:null===(e=w.current)||void 0===e?void 0:null===(l=e.onDidChangeModelContent)||void 0===l?void 0:l.call(e,e=>{if(!_.current){var l,t,n,a;let e=null==w?void 0:null===(l=w.current)||void 0===l?void 0:l.getModel(),i=null==w?void 0:null===(t=w.current)||void 0===t?void 0:t.getVisibleRanges(),r=null==e?void 0:e.getDecorationsInRange(null==i?void 0:i[0]);if(r){let l;for(let e=0;e<(null==r?void 0:r.length);e++){let t=r[e],n=t.options;n&&"my-description"===n.className&&(l=t)}if(l){let t=null==e?void 0:e.getValueInRange(new y.Range(l.range.startLineNumber,1,l.range.endLineNumber+1,1)),n=null==e?void 0:e.getLinesContent(),a=null==n?void 0:n.slice(l.range.endLineNumber);j(null==a?void 0:a.join("\n"),t);return}}null==j||j(null==w?void 0:null===(n=w.current)||void 0===n?void 0:null===(a=n.getValue)||void 0===a?void 0:a.call(n),void 0)}})}},k=()=>{if(!(null==w?void 0:w.current)){console.error("Can not get editor element!");return}null==x||x(null==w?void 0:w.current,y)};return(0,a.useEffect)(()=>{let e=null!==r?r:s;if(b.current){let l={...c,...S()},t=null==p?void 0:p(y),n=t&&y.editor.getModel(t);n?(n.setValue(e),y.editor.setModelLanguage(n,o)):n=y.editor.createModel(e,o,t),w.current=y.editor.create(b.current,{model:n,...m?{extraEditorClassName:m}:{},...l,...d?{theme:d}:{},automaticLayout:!0},u),P()}},[]),(0,a.useEffect)(()=>{if(w.current){var e;let l=w.current.getModel();_.current=!0,w.current.pushUndoStop(),null==l||l.pushEditOperations([],[{range:null==l?void 0:l.getFullModelRange(),text:"\n".concat(f?"-- "+f:"","\n\n")+r}],void 0);let t=null==w?void 0:null===(e=w.current)||void 0===e?void 0:e.getVisibleRanges(),n=null==l?void 0:l.getDecorationsInRange(null==t?void 0:t[0]),a=[];null==n||n.forEach(e=>{var l;(null==e?void 0:null===(l=e.options)||void 0===l?void 0:l.className)==="my-description"&&a.push(e.id)}),null==l||l.deltaDecorations(a,[{range:new y.Range(1,1,3,1),options:{before:{content:"-- 注释开始"},after:{content:"-- 注释结束"},className:"my-description"}}]),w.current.pushUndoStop(),_.current=!1}},[r,f]),(0,a.useEffect)(()=>{if(w.current){let e=w.current.getModel();y.editor.setModelLanguage(e,o)}},[o]),(0,a.useEffect)(()=>{if(w.current){let{model:e,...l}=c;w.current.updateOptions({...m?{extraEditorClassName:m}:{},...l,wordWrap:"on"})}},[m,c]),(0,a.useEffect)(()=>{y.editor.setTheme(d)},[d]),(0,a.useEffect)(()=>()=>{if(w.current){k(),w.current.dispose();let e=w.current.getModel();e&&e.dispose()}Z.current&&Z.current.dispose()},[]),(0,n.jsx)("div",{ref:b,className:"react-monaco-editor-container",style:N})}b.defaultProps={value:null,defaultValue:"",language:"javascript",theme:null,options:{},overrideServices:{},editorWillMount:y,editorDidMount:y,editorWillUnmount:y,onChange:y,className:null},b.displayName="MonacoEditor";var w=t(89749),Z=t(56008),_=t(90022),N=t(8997),S=t(91440),P=t(84835),k=t.n(P),C=function(e){let{type:l,values:t,title:i,description:r}=e,s=a.useMemo(()=>{if(!((null==t?void 0:t.length)>0))return(0,n.jsx)("div",{className:"h-full",children:(0,n.jsx)(p.Z,{image:p.Z.PRESENTED_IMAGE_SIMPLE,description:"图表数据为空"})});if("IndicatorValue"!==l){if("Table"===l){var e,a,i;let l=k().groupBy(t,"type");return(0,n.jsx)("div",{className:"flex-1 overflow-auto",children:(0,n.jsxs)(o.Z,{"aria-label":"basic table",hoverRow:!0,stickyHeader:!0,children:[(0,n.jsx)("thead",{children:(0,n.jsx)("tr",{children:Object.keys(l).map(e=>(0,n.jsx)("th",{children:e},e))})}),(0,n.jsx)("tbody",{children:null===(e=Object.values(l))||void 0===e?void 0:null===(a=e[0])||void 0===a?void 0:null===(i=a.map)||void 0===i?void 0:i.call(a,(e,t)=>{var a;return(0,n.jsx)("tr",{children:null===(a=Object.keys(l))||void 0===a?void 0:a.map(e=>{var a;return(0,n.jsx)("td",{children:(null==l?void 0:null===(a=l[e])||void 0===a?void 0:a[t].value)||""},e)})},t)})})]})})}return"BarChart"===l?(0,n.jsx)("div",{className:"flex-1 h-full",children:(0,n.jsxs)(S.Chart,{autoFit:!0,data:t||[],forceUpdate:!0,children:[(0,n.jsx)(S.Interval,{position:"name*value",style:{lineWidth:3,stroke:(0,S.getTheme)().colors10[0]}}),(0,n.jsx)(S.Tooltip,{shared:!0})]})}):"LineChart"===l?(0,n.jsx)("div",{className:"flex-1 h-full",children:(0,n.jsx)(S.Chart,{forceUpdate:!0,autoFit:!0,data:t||[],children:(0,n.jsx)(S.LineAdvance,{shape:"smooth",point:!0,area:!0,position:"name*value",color:"type"})})}):(0,n.jsx)("div",{className:"h-full",children:(0,n.jsx)(p.Z,{image:p.Z.PRESENTED_IMAGE_SIMPLE,description:"暂不支持该图表类型"})})}},[t,l]);return"IndicatorValue"===l&&(null==t?void 0:t.length)>0?(0,n.jsx)("div",{className:"flex flex-row gap-3",children:t.map(e=>(0,n.jsx)("div",{className:"flex-1",children:(0,n.jsx)(_.Z,{sx:{background:"transparent"},children:(0,n.jsxs)(N.Z,{className:"justify-around",children:[(0,n.jsx)(c.ZP,{gutterBottom:!0,component:"div",children:e.name}),(0,n.jsx)(c.ZP,{children:"".concat(e.type,": ").concat(e.value)})]})})},e.name))}):(0,n.jsx)("div",{className:"flex-1 h-full",children:(0,n.jsx)(_.Z,{className:"h-full overflow-auto",sx:{background:"transparent"},children:(0,n.jsxs)(N.Z,{className:"h-full",children:[i&&(0,n.jsx)(c.ZP,{gutterBottom:!0,component:"div",children:i}),r&&(0,n.jsx)(c.ZP,{gutterBottom:!0,level:"body3",children:r}),s]})})})};let{Search:E}=f.default;function R(e){var l,t,i;let{editorValue:r,chartData:s,tableData:d,handleChange:c}=e,u=a.useMemo(()=>s?(0,n.jsx)("div",{className:"flex-1 overflow-auto p-3",style:{flexShrink:0,overflow:"hidden"},children:(0,n.jsx)(C,{...s})}):(0,n.jsx)("div",{}),[s]);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:"flex-1 flex overflow-hidden",children:[(0,n.jsx)("div",{className:"flex-1",style:{flexShrink:0,overflow:"auto"},children:(0,n.jsx)(b,{value:null==r?void 0:r.sql,language:"mysql",handleChange:c,description:null==r?void 0:r.thoughts})}),u]}),(0,n.jsx)("div",{className:"h-60 border-[var(--joy-palette-divider)] border-t border-solid overflow-auto",children:(null==d?void 0:null===(l=d.values)||void 0===l?void 0:l.length)>0?(0,n.jsxs)(o.Z,{"aria-label":"basic table",stickyHeader:!0,children:[(0,n.jsx)("thead",{children:(0,n.jsx)("tr",{children:null==d?void 0:null===(t=d.columns)||void 0===t?void 0:t.map((e,l)=>(0,n.jsx)("th",{children:e},e+l))})}),(0,n.jsx)("tbody",{children:null==d?void 0:null===(i=d.values)||void 0===i?void 0:i.map((e,l)=>{var t;return(0,n.jsx)("tr",{children:null===(t=Object.keys(e))||void 0===t?void 0:t.map(l=>(0,n.jsx)("td",{children:e[l]},l))},l)})})]}):(0,n.jsx)("div",{className:"h-full flex justify-center items-center",children:(0,n.jsx)(p.Z,{})})})]})}var O=function(){var e,l,t,i,r;let[o,f]=a.useState([]),[p,y]=a.useState(""),[b,_]=a.useState(),[N,S]=a.useState(!0),[P,k]=a.useState(),[C,O]=a.useState(),[M,L]=a.useState(),[q,I]=a.useState(),[T,D]=a.useState(),A=(0,Z.useSearchParams)(),B=A.get("id"),F=A.get("scene"),{data:U,loading:V}=(0,s.Z)(async()=>await (0,w.Tk)("/v1/editor/sql/rounds",{con_uid:B}),{onSuccess:e=>{var l,t;let n=null==e?void 0:null===(l=e.data)||void 0===l?void 0:l[(null==e?void 0:null===(t=e.data)||void 0===t?void 0:t.length)-1];n&&_(null==n?void 0:n.round)}}),{run:J,loading:W}=(0,s.Z)(async()=>{var e,l;let t=null===(e=null==U?void 0:null===(l=U.data)||void 0===l?void 0:l.find(e=>e.round===b))||void 0===e?void 0:e.db_name;return await (0,w.PR)("/api/v1/editor/sql/run",{db_name:t,sql:null==M?void 0:M.sql})},{manual:!0,onSuccess:e=>{var l,t;I({columns:null==e?void 0:null===(l=e.data)||void 0===l?void 0:l.colunms,values:null==e?void 0:null===(t=e.data)||void 0===t?void 0:t.values})}}),{run:z,loading:H}=(0,s.Z)(async()=>{var e,l;let t=null===(e=null==U?void 0:null===(l=U.data)||void 0===l?void 0:l.find(e=>e.round===b))||void 0===e?void 0:e.db_name,n={db_name:t,sql:null==M?void 0:M.sql};return"chat_dashboard"===F&&(n.chart_type=null==M?void 0:M.showcase),await (0,w.PR)("/api/v1/editor/chart/run",n)},{manual:!0,ready:!!(null==M?void 0:M.sql),onSuccess:e=>{if(null==e?void 0:e.success){var l,t,n,a,i,r,s;I({columns:(null==e?void 0:null===(l=e.data)||void 0===l?void 0:null===(t=l.sql_data)||void 0===t?void 0:t.colunms)||[],values:(null==e?void 0:null===(n=e.data)||void 0===n?void 0:null===(a=n.sql_data)||void 0===a?void 0:a.values)||[]}),(null==e?void 0:null===(i=e.data)||void 0===i?void 0:i.chart_values)?k({type:null==e?void 0:null===(r=e.data)||void 0===r?void 0:r.chart_type,values:null==e?void 0:null===(s=e.data)||void 0===s?void 0:s.chart_values,title:null==M?void 0:M.title,description:null==M?void 0:M.thoughts}):k(void 0)}}}),{run:G,loading:K}=(0,s.Z)(async()=>{var e,l,t,n,a;let i=null===(e=null==U?void 0:null===(l=U.data)||void 0===l?void 0:l.find(e=>e.round===b))||void 0===e?void 0:e.db_name;return await (0,w.PR)("/api/v1/sql/editor/submit",{conv_uid:B,db_name:i,conv_round:b,old_sql:null==C?void 0:C.sql,old_speak:null==C?void 0:C.thoughts,new_sql:null==M?void 0:M.sql,new_speak:(null===(t=null==M?void 0:null===(n=M.thoughts)||void 0===n?void 0:n.match(/^\n--(.*)\n\n$/))||void 0===t?void 0:null===(a=t[1])||void 0===a?void 0:a.trim())||(null==M?void 0:M.thoughts)})},{manual:!0,onSuccess:e=>{(null==e?void 0:e.success)&&J()}}),{run:Y,loading:$}=(0,s.Z)(async()=>{var e,l,t,n,a,i;let r=null===(e=null==U?void 0:null===(l=U.data)||void 0===l?void 0:l.find(e=>e.round===b))||void 0===e?void 0:e.db_name;return await (0,w.PR)("/api/v1/chart/editor/submit",{conv_uid:B,chart_title:null==M?void 0:M.title,db_name:r,old_sql:null==C?void 0:null===(t=C[T])||void 0===t?void 0:t.sql,new_chart_type:null==M?void 0:M.showcase,new_sql:null==M?void 0:M.sql,new_comment:(null===(n=null==M?void 0:null===(a=M.thoughts)||void 0===a?void 0:a.match(/^\n--(.*)\n\n$/))||void 0===n?void 0:null===(i=n[1])||void 0===i?void 0:i.trim())||(null==M?void 0:M.thoughts),gmt_create:new Date().getTime()})},{manual:!0,onSuccess:e=>{(null==e?void 0:e.success)&&z()}}),{data:Q}=(0,s.Z)(async()=>{var e,l;let t=null===(e=null==U?void 0:null===(l=U.data)||void 0===l?void 0:l.find(e=>e.round===b))||void 0===e?void 0:e.db_name;return await (0,w.Tk)("/v1/editor/db/tables",{db_name:t,page_index:1,page_size:200})},{ready:!!(null===(e=null==U?void 0:null===(l=U.data)||void 0===l?void 0:l.find(e=>e.round===b))||void 0===e?void 0:e.db_name),refreshDeps:[null===(t=null==U?void 0:null===(i=U.data)||void 0===i?void 0:i.find(e=>e.round===b))||void 0===t?void 0:t.db_name]}),{run:X}=(0,s.Z)(async e=>await (0,w.Tk)("/v1/editor/sql",{con_uid:B,round:e}),{manual:!0,onSuccess:e=>{let l;try{if(Array.isArray(null==e?void 0:e.data))l=null==e?void 0:e.data,D("0");else if("string"==typeof(null==e?void 0:e.data)){let t=JSON.parse(null==e?void 0:e.data);l=t}else l=null==e?void 0:e.data}catch(e){console.log(e)}finally{O(l),Array.isArray(l)?L(null==l?void 0:l[Number(T||0)]):L(l)}}}),ee=a.useMemo(()=>{let e=(l,t)=>l.map(l=>{let a=l.title,i=a.indexOf(p),r=a.substring(0,i),s=a.slice(i+p.length),o=i>-1?(0,n.jsx)(d.Z,{title:((null==l?void 0:l.comment)||(null==l?void 0:l.title))+((null==l?void 0:l.can_null)==="YES"?"(can null)":"(can't null)"),children:(0,n.jsxs)("span",{children:[r,(0,n.jsx)("span",{className:"text-[#1677ff]",children:p}),s,(null==l?void 0:l.type)&&(0,n.jsx)(c.ZP,{gutterBottom:!0,level:"body3",className:"pl-0.5",style:{display:"inline"},children:"[".concat(null==l?void 0:l.type,"]")})]})}):(0,n.jsx)(d.Z,{title:((null==l?void 0:l.comment)||(null==l?void 0:l.title))+((null==l?void 0:l.can_null)==="YES"?"(can null)":"(can't null)"),children:(0,n.jsxs)("span",{children:[a,(null==l?void 0:l.type)&&(0,n.jsx)(c.ZP,{gutterBottom:!0,level:"body3",className:"pl-0.5",style:{display:"inline"},children:"[".concat(null==l?void 0:l.type,"]")})]})});if(l.children){let n=t?String(t)+"_"+l.key:l.key;return{title:a,showTitle:o,key:n,children:e(l.children,n)}}return{title:a,showTitle:o,key:l.key}});return(null==Q?void 0:Q.data)?e([null==Q?void 0:Q.data]):[]},[p,Q]),el=a.useMemo(()=>{let e=[],l=(t,n)=>{if(t&&!((null==t?void 0:t.length)<=0))for(let a=0;a{let t;for(let n=0;nl.key===e)?t=a.key:et(e,a.children)&&(t=et(e,a.children)))}return t};return a.useEffect(()=>{b&&X(b)},[X,b]),a.useEffect(()=>{C&&"chat_dashboard"===F&&T&&z()},[T,F,C,z]),a.useEffect(()=>{C&&"chat_dashboard"!==F&&J()},[F,C,J]),(0,n.jsxs)("div",{className:"flex flex-col w-full h-full",children:[(0,n.jsxs)("div",{className:"bg-[#f8f8f8] border-[var(--joy-palette-divider)] border-b border-solid flex items-center px-3 justify-between",children:[(0,n.jsxs)("div",{className:"flex items-center py-3",children:[(0,n.jsx)(m.Z,{className:"mr-2"}),(0,n.jsx)(u.Z,{className:"h-4 min-w-[240px]",size:"sm",value:b,onChange:(e,l)=>{_(l)},children:null==U?void 0:null===(r=U.data)||void 0===r?void 0:r.map(e=>(0,n.jsx)(v.Z,{value:null==e?void 0:e.round,children:null==e?void 0:e.round_name},null==e?void 0:e.round))})]}),(0,n.jsxs)("div",{children:[(0,n.jsx)(h.Z,{className:"bg-[#1677ff] text-[#fff] hover:bg-[#1c558e]",loading:W||H,onClick:async()=>{"chat_dashboard"===F?z():J()},children:"Run"}),(0,n.jsx)(h.Z,{variant:"outlined",className:"ml-3",loading:K||$,onClick:async()=>{"chat_dashboard"===F?await Y():await G()},children:"Save"})]})]}),(0,n.jsxs)("div",{className:"flex flex-1 overflow-auto",children:[(0,n.jsxs)("div",{className:"text h-full border-[var(--joy-palette-divider)] border-r border-solid p-3 max-h-full overflow-auto",style:{width:"300px"},children:[(0,n.jsx)(E,{style:{marginBottom:8},placeholder:"Search",onChange:e=>{let{value:l}=e.target;if(null==Q?void 0:Q.data){if(l){let e=el.map(e=>e.title.indexOf(l)>-1?et(e.key,ee):null).filter((e,l,t)=>e&&t.indexOf(e)===l);f(e)}else f([]);y(l),S(!0)}}}),(0,n.jsx)(g.Z,{onExpand:e=>{f(e),S(!1)},expandedKeys:o,autoExpandParent:N,treeData:ee,fieldNames:{title:"showTitle"}})]}),(0,n.jsx)("div",{className:"flex flex-col flex-1 max-w-full overflow-hidden",children:Array.isArray(C)?(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(x.Z,{className:"h-full",sx:{".ant-tabs-content, .ant-tabs-tabpane-active":{height:"100%"},"& .ant-tabs-card.ant-tabs-top >.ant-tabs-nav .ant-tabs-tab, & .ant-tabs-card.ant-tabs-top >div>.ant-tabs-nav .ant-tabs-tab":{borderRadius:"0"}},children:(0,n.jsx)(j.Z,{className:"h-full",type:"card",activeKey:T,onChange:e=>{D(e),L(null==C?void 0:C[Number(e)])},items:null==C?void 0:C.map((e,l)=>({key:l+"",label:null==e?void 0:e.title,children:(0,n.jsx)("div",{className:"flex flex-col h-full",children:(0,n.jsx)(R,{editorValue:e,handleChange:(e,l)=>{if(M){let t=JSON.parse(JSON.stringify(M));t.sql=e,t.thoughts=l,L(t)}},tableData:q,chartData:P})})}))})})}):(0,n.jsx)(R,{editorValue:C,handleChange:(e,l)=>{L({thoughts:l,sql:e})},tableData:q,chartData:void 0})})]})]})},M=t(69962),L=t(97287),q=t(73141),I=t(45642),T=t(71990),D=e=>{let l=(0,a.useReducer)((e,l)=>({...e,...l}),{...e});return l},A=t(21628),B=t(52040),F=e=>{let{queryAgentURL:l,channel:t,queryBody:n,initHistory:r,runHistoryList:s}=e,[o,d]=D({history:r||[]}),c=(0,Z.useSearchParams)(),u=c.get("id"),{refreshDialogList:v}=(0,i.Cg)(),h=new AbortController;(0,a.useEffect)(()=>{r&&d({history:r})},[r]);let x=async(e,a)=>{if(!e)return;let i=[...o.history,{role:"human",context:e}],r=i.length;d({history:i});let s={conv_uid:u,...a,...n,user_input:e,channel:t};if(!(null==s?void 0:s.conv_uid)){A.ZP.error("conv_uid 不存在,请刷新后重试");return}try{await (0,T.L)("".concat(B.env.API_BASE_URL?B.env.API_BASE_URL:"").concat("/api"+l),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(s),signal:h.signal,openWhenHidden:!0,async onopen(e){if(i.length<=1){var l;v();let e=new URLSearchParams(window.location.search);e.delete("initMessage"),null===(l=window.history)||void 0===l||l.replaceState(null,null,"?".concat(e.toString()))}(!e.ok||e.headers.get("content-type")!==T.a)&&e.status>=400&&e.status<500&&429!==e.status&&e.status},onclose(){console.log("onclose")},onerror(e){throw console.log("onerror"),Error(e)},onmessage:e=>{var l,t,n;if(e.data=null===(l=e.data)||void 0===l?void 0:l.replaceAll("\\n","\n"),"[DONE]"===e.data);else if(null===(t=e.data)||void 0===t?void 0:t.startsWith("[ERROR]"))d({history:[...i,{role:"view",context:null===(n=e.data)||void 0===n?void 0:n.replace("[ERROR]","")}]});else{let l=[...i];e.data&&((null==l?void 0:l[r])?l[r].context="".concat(e.data):l.push({role:"view",context:e.data}),d({history:l}))}}})}catch(e){console.log(e),d({history:[...i,{role:"view",context:"请求出错"}]})}};return{handleChatSubmit:x,history:o.history}},U=t(67830),V=t(54842),J=t(80937),W=t(311),z=t(94244),H=t(35086),G=t(53047),K=t(34112),Y=t(30530),$=t(64747),Q=t(19700),X=t(92391),ee=t(55749),el=t(70781),et=t(42599),en=t(99398),ea=t(49064),ei=t(15241),er=t(86362),es=t(50946),eo=t(52276),ed=t(53534),ec=t(24946),eu=t(98479),ev=t(81616),eh=function(e){var l,t;let{convUid:i,chatMode:r,fileName:s,onComplete:o,...d}=e,[c,u]=(0,a.useState)(!1),[v,h]=(0,a.useState)([]),[x,m]=(0,a.useState)(),[f,p]=(0,a.useState)(),g=async e=>{var l;if(!e){A.ZP.error("Please select the *.(csv|xlsx|xls) file");return}if(!/\.(csv|xlsx|xls)$/.test(null!==(l=e.file.name)&&void 0!==l?l:"")){A.ZP.error("File type must be csv, xlsx or xls");return}h([e.file])},j=async()=>{u(!0),p("normal");try{let e=new FormData;e.append("doc_file",v[0]);let{success:l,err_msg:t}=await ed.Z.post("/api/v1/chat/mode/params/file/load?conv_uid=".concat(i,"&chat_mode=").concat(r),e,{timeout:36e5,headers:{"Content-Type":"multipart/form-data"},onUploadProgress(e){let l=Math.ceil(e.loaded/(e.total||0)*100);m(l)}});if(!l){A.ZP.error(t);return}A.ZP.success("success"),p("success"),o()}catch(e){p("exception"),A.ZP.error((null==e?void 0:e.message)||"Upload Error")}finally{u(!1)}};return(0,n.jsxs)("div",{className:"w-full",children:[!s&&(0,n.jsxs)("div",{className:"flex items-start",children:[(0,n.jsx)(ei.Z,{placement:"topLeft",title:"Files cannot be changed after upload",children:(0,n.jsx)(er.default,{disabled:c,className:"mr-1",beforeUpload:()=>!1,fileList:v,name:"file",accept:".csv,.xlsx,.xls",multiple:!1,onChange:g,showUploadList:{showDownloadIcon:!1,showPreviewIcon:!1,showRemoveIcon:!1},itemRender:()=>(0,n.jsx)(n.Fragment,{}),...d,children:(0,n.jsx)(es.ZP,{className:"flex justify-center items-center dark:bg-[#4e4f56] dark:text-gray-200",disabled:c,icon:(0,n.jsx)(ec.Z,{}),children:"Select File"})})}),(0,n.jsx)(es.ZP,{type:"primary",loading:c,className:"flex justify-center items-center",disabled:!v.length,icon:(0,n.jsx)(eu.Z,{}),onClick:j,children:c?100===x?"Analysis":"Uploading":"Upload"})]}),(!!v.length||s)&&(0,n.jsxs)("div",{className:"mt-2 text-gray-500 text-sm flex items-center",children:[(0,n.jsx)(ev.Z,{className:"mr-2"}),(0,n.jsx)("span",{children:null!==(t=null==v?void 0:null===(l=v[0])||void 0===l?void 0:l.name)&&void 0!==t?t:s})]}),("number"==typeof x||!!s)&&(0,n.jsx)(eo.Z,{className:"mb-0",percent:s?100:x,size:"small",status:s?"success":f})]})};let ex=X.z.object({query:X.z.string().min(1)});var em=e=>{var l;let{messages:i,dialogue:r,onSubmit:s,readOnly:o,paramsList:d,onRefreshHistory:c,clearIntialMessage:m,setChartsData:f}=e,p=(0,Z.useSearchParams)(),g=p.get("initMessage"),j=p.get("spaceNameOriginal"),y=p.get("id"),b=p.get("scene"),w="chat_dashboard"===b,N=(0,a.useRef)(null),[S,P]=(0,a.useState)(!1),[C,E]=(0,a.useState)(),[R,O]=(0,a.useState)(!1),[M,L]=(0,a.useState)(),[q,I]=(0,a.useState)(i),[T,D]=(0,a.useState)(""),B=(0,Q.cI)({resolver:(0,U.F)(ex),defaultValues:{}}),F=async e=>{let{query:l}=e;try{P(!0),B.reset(),await s(l,{select_param:"chat_excel"===b?null==r?void 0:r.select_param:null==d?void 0:d[C]})}catch(e){}finally{P(!1)}},X=async()=>{try{var e;let l=new URLSearchParams(window.location.search),t=l.get("initMessage");l.delete("initMessage"),null===(e=window.history)||void 0===e||e.replaceState(null,null,"?".concat(l.toString())),await F({query:t})}catch(e){console.log(e)}finally{null==m||m()}},ei={overrides:{code:e=>{let{children:l}=e;return(0,n.jsx)(en.Z,{language:"javascript",style:ea.Z,children:l})}},wrapper:a.Fragment},er=e=>{let l=e;try{l=JSON.parse(e)}catch(e){console.log(e)}return l},es=(0,a.useMemo)(()=>{if("function"==typeof(null==window?void 0:window.fetch)){let e=t(62631);return t(25204),t(82372),e.default}},[]);return(0,a.useEffect)(()=>{N.current&&N.current.scrollTo(0,N.current.scrollHeight)},[null==i?void 0:i.length]),(0,a.useEffect)(()=>{g&&i.length<=0&&X()},[g,i.length]),(0,a.useEffect)(()=>{var e,l;d&&(null===(e=Object.keys(d||{}))||void 0===e?void 0:e.length)>0&&E(j||(null===(l=Object.keys(d||{}))||void 0===l?void 0:l[0]))},[d]),(0,a.useEffect)(()=>{if(w){let e=k().cloneDeep(i);e.forEach(e=>{(null==e?void 0:e.role)==="view"&&"string"==typeof(null==e?void 0:e.context)&&(e.context=er(null==e?void 0:e.context))}),I(e.filter(e=>["view","human"].includes(e.role)))}else I(i.filter(e=>["view","human"].includes(e.role)))},[w,i]),(0,n.jsxs)("div",{className:"w-full h-full",children:[(0,n.jsxs)(J.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,n.jsxs)(J.Z,{ref:N,direction:"column",sx:{overflowY:"auto",maxHeight:"100%",flex:1},children:[null==q?void 0:q.map((e,l)=>{var t,a;return(0,n.jsx)(J.Z,{children:(0,n.jsx)(_.Z,{size:"sm",variant:"outlined",color:"view"===e.role?"primary":"neutral",sx:l=>({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,n.jsxs)(x.Z,{sx:{width:"76%",margin:"0 auto"},className:"flex flex-row",children:[(0,n.jsx)("div",{className:"mr-3 inline",children:"view"===e.role?(0,n.jsx)(el.Z,{}):(0,n.jsx)(ee.Z,{})}),(0,n.jsx)("div",{className:"inline align-middle mt-0.5 max-w-full flex-1 overflow-auto",children:w&&"view"===e.role&&"object"==typeof(null==e?void 0:e.context)?(0,n.jsxs)(n.Fragment,{children:["[".concat(e.context.template_name,"]: "),(0,n.jsx)(W.Z,{sx:{color:"#1677ff"},component:"button",onClick:()=>{O(!0),L(l),D(JSON.stringify(null==e?void 0:e.context,null,2))},children:e.context.template_introduce||"暂无介绍"})]}):(0,n.jsx)(n.Fragment,{children:"string"==typeof e.context&&(0,n.jsx)(et.Z,{options:ei,children:null===(t=e.context)||void 0===t?void 0:null===(a=t.replaceAll)||void 0===a?void 0:a.call(t,"\\n","\n")})})})]})})},l)}),S&&(0,n.jsx)(z.Z,{variant:"soft",color:"neutral",size:"sm",sx:{mx:"auto",my:2}})]}),!o&&(0,n.jsx)(x.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,n.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(),B.handleSubmit(F)(e)},children:[(0,n.jsxs)("div",{style:{display:"flex",gap:"8px"},children:[Object.keys(d||{}).length>0&&(0,n.jsx)("div",{className:"flex items-center gap-3",children:(0,n.jsx)(u.Z,{value:C,onChange:(e,l)=>{E(l)},sx:{maxWidth:"100%"},children:null===(l=Object.keys(d||{}))||void 0===l?void 0:l.map(e=>(0,n.jsx)(v.Z,{value:e,children:e},e))})}),"chat_excel"===b&&(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(eh,{convUid:y,chatMode:b,fileName:null==r?void 0:r.select_param,onComplete:()=>{null==m||m(),null==c||c()}})})]}),(0,n.jsx)(H.ZP,{disabled:"chat_excel"===b&&!(null==r?void 0:r.select_param),className:"w-full h-12",variant:"outlined",endDecorator:(0,n.jsx)(G.ZP,{type:"submit",disabled:S,children:(0,n.jsx)(V.Z,{})}),...B.register("query")})]})})]}),(0,n.jsx)(K.Z,{open:R,onClose:()=>{O(!1)},children:(0,n.jsxs)(Y.Z,{"aria-labelledby":"variant-modal-title","aria-describedby":"variant-modal-description",children:[(0,n.jsx)($.Z,{}),(0,n.jsxs)(x.Z,{sx:{marginTop:"32px"},children:[!!es&&(0,n.jsx)(es,{mode:"json",value:T,height:"600px",width:"820px",onChange:D,placeholder:"默认json数据",debounceChangePeriod:100,showPrintMargin:!0,showGutter:!0,highlightActiveLine:!0,setOptions:{useWorker:!0,showLineNumbers:!0,highlightSelectedWord:!0,tabSize:2}}),(0,n.jsx)(h.Z,{variant:"outlined",className:"w-full",sx:{marginTop:"12px"},onClick:()=>{if(M)try{let e=k().cloneDeep(q),l=JSON.parse(T);e[M].context=l,I(e),null==f||f(null==l?void 0:l.charts),O(!1),D("")}catch(e){A.ZP.error("JSON 格式化出错")}},children:"Submit"})]})]})})]})};let ef=()=>(0,n.jsxs)(_.Z,{className:"h-full w-full flex bg-transparent",children:[(0,n.jsx)(M.Z,{animation:"wave",variant:"text",level:"body2"}),(0,n.jsx)(M.Z,{animation:"wave",variant:"text",level:"body2"}),(0,n.jsx)(L.Z,{ratio:"21/9",className:"flex-1",sx:{["& .".concat(q.Z.content)]:{height:"100%"}},children:(0,n.jsx)(M.Z,{variant:"overlay",className:"h-full"})})]});var ep=()=>{var e;let[l,t]=(0,a.useState)();a.useRef(null);let[r,d]=a.useState(!1),u=(0,Z.useSearchParams)(),{dialogueList:v,refreshDialogList:h}=(0,i.Cg)(),m=u.get("id"),f=u.get("scene"),p=(0,a.useMemo)(()=>(null!==(e=null==v?void 0:v.data)&&void 0!==e?e:[]).find(e=>e.conv_uid===m),[m,v]),{data:g,run:j}=(0,s.Z)(async()=>await (0,w.Tk)("/v1/chat/dialogue/messages/history",{con_uid:m}),{ready:!!m,refreshDeps:[m]}),{data:y,run:b}=(0,s.Z)(async()=>await (0,w.Tk)("/v1/chat/db/list"),{ready:!!f&&!!["chat_with_db_execute","chat_with_db_qa"].includes(f)}),{data:P}=(0,s.Z)(async()=>await (0,w.Tk)("/v1/chat/db/support/type"),{ready:!!f&&!!["chat_with_db_execute","chat_with_db_qa"].includes(f)}),{data:C,run:E}=(0,s.Z)(async()=>await (0,w.Kw)("/v1/chat/mode/params/list?chat_mode=".concat(f)),{ready:!!f,refreshDeps:[m,f]}),{history:R,handleChatSubmit:O}=F({queryAgentURL:"/v1/chat/completions",queryBody:{conv_uid:m,chat_mode:f||"chat_normal"},initHistory:null==g?void 0:g.data,runHistoryList:j});(0,a.useEffect)(()=>{try{var e;let l=null==R?void 0:null===(e=R[R.length-1])||void 0===e?void 0:e.context,n=JSON.parse(l);t((null==n?void 0:n.template_name)==="report"?null==n?void 0:n.charts:void 0)}catch(e){t(void 0)}},[R]);let M=(0,a.useMemo)(()=>{if(l){let e=[],t=null==l?void 0:l.filter(e=>"IndicatorValue"===e.chart_type);t.length>0&&e.push({rowIndex:e.length,cols:t,type:"IndicatorValue"});let n=null==l?void 0:l.filter(e=>"IndicatorValue"!==e.chart_type),a=n.length,i=0;return[[0],[1],[2],[1,2],[1,3],[2,1,2],[2,1,3],[3,1,3],[3,2,3]][a].forEach(l=>{if(l>0){let t=n.slice(i,i+l);i+=l,e.push({rowIndex:e.length,cols:t})}}),e}},[l]);return(0,n.jsxs)(I.Z,{container:!0,spacing:2,className:"h-full",sx:{flexGrow:1},children:[l&&(0,n.jsx)(I.Z,{xs:8,className:"max-h-full",children:(0,n.jsx)("div",{className:"flex flex-col gap-3 h-full",children:null==M?void 0:M.map(e=>(0,n.jsx)("div",{className:"".concat((null==e?void 0:e.type)!=="IndicatorValue"?"flex flex-1 gap-3 overflow-hidden":""),children:e.cols.map(e=>{if("IndicatorValue"===e.chart_type)return(0,n.jsx)("div",{className:"flex flex-row gap-3",children:e.values.map(e=>(0,n.jsx)("div",{className:"flex-1",children:(0,n.jsx)(_.Z,{sx:{background:"transparent"},children:(0,n.jsxs)(N.Z,{className:"justify-around",children:[(0,n.jsx)(c.ZP,{gutterBottom:!0,component:"div",children:e.name}),(0,n.jsx)(c.ZP,{children:e.value})]})})},e.name))},e.chart_uid);if("LineChart"===e.chart_type)return(0,n.jsx)("div",{className:"flex-1 overflow-hidden",children:(0,n.jsx)(_.Z,{className:"h-full",sx:{background:"transparent"},children:(0,n.jsxs)(N.Z,{className:"h-full",children:[(0,n.jsx)(c.ZP,{gutterBottom:!0,component:"div",children:e.chart_name}),(0,n.jsx)(c.ZP,{gutterBottom:!0,level:"body3",children:e.chart_desc}),(0,n.jsx)("div",{className:"flex-1 h-full",children:(0,n.jsx)(S.Chart,{padding:[10,20,50,40],autoFit:!0,data:e.values,children:(0,n.jsx)(S.LineAdvance,{shape:"smooth",point:!0,area:!0,position:"name*value",color:"type"})})})]})})},e.chart_uid);if("BarChart"===e.chart_type)return(0,n.jsx)("div",{className:"flex-1",children:(0,n.jsx)(_.Z,{className:"h-full",sx:{background:"transparent"},children:(0,n.jsxs)(N.Z,{className:"h-full",children:[(0,n.jsx)(c.ZP,{gutterBottom:!0,component:"div",children:e.chart_name}),(0,n.jsx)(c.ZP,{gutterBottom:!0,level:"body3",children:e.chart_desc}),(0,n.jsx)("div",{className:"flex-1",children:(0,n.jsxs)(S.Chart,{autoFit:!0,data:e.values,children:[(0,n.jsx)(S.Interval,{position:"name*value",style:{lineWidth:3,stroke:(0,S.getTheme)().colors10[0]}}),(0,n.jsx)(S.Tooltip,{shared:!0})]})})]})})},e.chart_uid);if("Table"===e.chart_type){var l,t;let a=k().groupBy(e.values,"type");return(0,n.jsx)("div",{className:"flex-1",children:(0,n.jsx)(_.Z,{className:"h-full overflow-auto",sx:{background:"transparent"},children:(0,n.jsxs)(N.Z,{className:"h-full",children:[(0,n.jsx)(c.ZP,{gutterBottom:!0,component:"div",children:e.chart_name}),(0,n.jsx)(c.ZP,{gutterBottom:!0,level:"body3",children:e.chart_desc}),(0,n.jsx)("div",{className:"flex-1",children:(0,n.jsxs)(o.Z,{"aria-label":"basic table",stripe:"odd",hoverRow:!0,borderAxis:"bothBetween",children:[(0,n.jsx)("thead",{children:(0,n.jsx)("tr",{children:Object.keys(a).map(e=>(0,n.jsx)("th",{children:e},e))})}),(0,n.jsx)("tbody",{children:null===(l=Object.values(a))||void 0===l?void 0:null===(t=l[0])||void 0===t?void 0:t.map((e,l)=>{var t;return(0,n.jsx)("tr",{children:null===(t=Object.keys(a))||void 0===t?void 0:t.map(e=>{var t;return(0,n.jsx)("td",{children:(null==a?void 0:null===(t=a[e])||void 0===t?void 0:t[l].value)||""},e)})},l)})})]})})]})})},e.chart_uid)}})},e.rowIndex))})}),!l&&"chat_dashboard"===f&&(0,n.jsx)(I.Z,{xs:8,className:"max-h-full p-6",children:(0,n.jsx)("div",{className:"flex flex-col gap-3 h-full",children:(0,n.jsxs)(I.Z,{container:!0,spacing:2,sx:{flexGrow:1},children:[(0,n.jsx)(I.Z,{xs:8,children:(0,n.jsx)(x.Z,{className:"h-full w-full",sx:{display:"flex",gap:2},children:(0,n.jsx)(ef,{})})}),(0,n.jsx)(I.Z,{xs:4,children:(0,n.jsx)(ef,{})}),(0,n.jsx)(I.Z,{xs:4,children:(0,n.jsx)(ef,{})}),(0,n.jsx)(I.Z,{xs:8,children:(0,n.jsx)(ef,{})})]})})}),(0,n.jsx)(I.Z,{xs:"chat_dashboard"===f?4:12,className:"h-full max-h-full",children:(0,n.jsx)("div",{className:"h-full",style:{boxShadow:"chat_dashboard"===f?"0px 0px 9px 0px #c1c0c080":"unset"},children:(0,n.jsx)(em,{clearIntialMessage:async()=>{await h()},dialogue:p,dbList:null==y?void 0:y.data,runDbList:b,supportTypes:null==P?void 0:P.data,isChartChat:"chat_dashboard"===f,messages:R||[],onSubmit:O,onRefreshHistory:j,paramsList:null==C?void 0:C.data,runParamsList:E,setChartsData:t})})})]})},eg=()=>{let{isContract:e,setIsContract:l}=(0,i.Cg)(),t=(0,Z.useSearchParams)(),a=t.get("scene"),s=a&&["chat_with_db_execute","chat_dashboard"].includes(a);return(0,n.jsxs)(n.Fragment,{children:[!e&&s&&(0,n.jsx)("div",{className:"leading-[3rem] text-right pr-3 mb-3 border-b flex justify-end",children:(0,n.jsxs)("div",{className:"flex items-center cursor-pointer",onClick:()=>{l(!e)},children:[(0,n.jsx)(r.Z,{style:{marginRight:"4px"}}),"Change Mode"]})}),e?(0,n.jsx)(O,{}):(0,n.jsx)(ep,{})]})}},57931:function(e,l,t){"use strict";t.d(l,{ZP:function(){return d},Cg:function(){return s}});var n=t(9268),a=t(89081),i=t(89749),r=t(86006);let[s,o]=function(){let e=r.createContext(void 0);return[function(){let l=r.useContext(e);if(void 0===l)throw Error("useCtx must be inside a Provider with a value");return l},e.Provider]}();var d=e=>{let{children:l}=e,[t,s]=r.useState(!1),{run:d,data:c,refresh:u}=(0,a.Z)(async()=>await (0,i.Tk)("/v1/chat/dialogue/list"),{manual:!0});return(0,n.jsx)(o,{value:{isContract:t,dialogueList:c,setIsContract:s,queryDialogueList:d,refreshDialogList:u},children:l})}},53534:function(e,l,t){"use strict";var n=t(24214),a=t(52040);let i=n.Z.create({baseURL:a.env.API_BASE_URL});i.defaults.timeout=1e4,i.interceptors.response.use(e=>e.data,e=>Promise.reject(e)),l.Z=i},89749:function(e,l,t){"use strict";t.d(l,{Ej:function(){return u},Kw:function(){return d},PR:function(){return c},Tk:function(){return o}});var n=t(21628),a=t(53534),i=t(84835);let r={"content-type":"application/json"},s=e=>{if(!(0,i.isPlainObject)(e))return JSON.stringify(e);let l={...e};for(let e in l){let t=l[e];"string"==typeof t&&(l[e]=t.trim())}return JSON.stringify(l)},o=(e,l)=>{if(l){let t=Object.keys(l).filter(e=>void 0!==l[e]&&""!==l[e]).map(e=>"".concat(e,"=").concat(l[e])).join("&");t&&(e+="?".concat(t))}return a.Z.get("/api"+e,{headers:r}).then(e=>e).catch(e=>{n.ZP.error(e),Promise.reject(e)})},d=(e,l)=>{let t=s(l);return a.Z.post("/api"+e,{body:t,headers:r}).then(e=>e).catch(e=>{n.ZP.error(e),Promise.reject(e)})},c=(e,l)=>a.Z.post(e,l,{headers:r}).then(e=>e).catch(e=>{n.ZP.error(e),Promise.reject(e)}),u=(e,l)=>a.Z.post(e,l).then(e=>e).catch(e=>{n.ZP.error(e),Promise.reject(e)})}},function(e){e.O(0,[2180,7991,5757,7282,2662,7487,8358,4344,1191,9081,6259,2569,2606,5086,1630,1767,4341,1506,7746,2657,1160,9253,5769,1744],function(){return e(e.s=86066)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/app/database/page-72733593bef9b377.js b/pilot/server/static/_next/static/chunks/app/database/page-72733593bef9b377.js new file mode 100644 index 000000000..6600fc7a1 --- /dev/null +++ b/pilot/server/static/_next/static/chunks/app/database/page-72733593bef9b377.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8504],{72981:function(e,s,t){Promise.resolve().then(t.bind(t,4121))},4121:function(e,s,t){"use strict";t.r(s),t.d(s,{dbOptions:function(){return k},default:function(){return C},isFileDb:function(){return q}});var a=t(9268),r=t(86006),l=t(87726),n=t(91321),i=t(32226),c=t(89081),d=t(89749),o=t(53113),m=t(90022),u=t(35891),x=t(8997),b=t(76394),h=t.n(b),p=t(67713),f=t(21628),j=t(87451),y=t(50148),Z=t(86401),v=t(56959),N=t(44244),_=t(50946),w=t(53534),P=function(e){let{open:s,editValue:t,dbNames:l,onClose:n,onSuccess:i}=e,[c,d]=(0,r.useState)(!1),[o]=y.Z.useForm(),m=y.Z.useWatch("db_type",o);(0,r.useEffect)(()=>{t&&o.setFieldsValue({...t})},[t]),(0,r.useEffect)(()=>{s||o.resetFields()},[s]);let u=async e=>{let{db_host:s,db_path:a,db_port:r,...n}=e;if(!t&&l.some(e=>e===n.db_name)){f.ZP.error("The database already exists!");return}let c=q(m),o={db_host:c?void 0:s,db_port:c?void 0:r,file_path:c?a:void 0,...n};d(!0);try{let e;if(!(e=t?await w.Z.post("/api/v1/chat/db/edit",o):await w.Z.post("/api/v1/chat/db/add",o)).success){f.ZP.error(e.err_msg);return}f.ZP.success("success"),null==i||i()}catch(e){f.ZP.error(e.message)}finally{d(!1)}};return(0,a.jsx)(p.Z,{open:s,width:400,title:t?"Edit DB Connect":"Create DB Connenct",maskClosable:!1,footer:null,onCancel:n,children:(0,a.jsxs)(y.Z,{form:o,className:"pt-2",labelCol:{span:6},labelAlign:"left",onFinish:u,children:[(0,a.jsx)(y.Z.Item,{name:"db_type",label:"SQL Type",className:"mb-3",rules:[{required:!0}],children:(0,a.jsx)(Z.Z,{options:k})}),(0,a.jsx)(y.Z.Item,{name:"db_name",label:"DB Name",className:"mb-3",rules:[{required:!0}],children:(0,a.jsx)(v.default,{readOnly:!!t,disabled:!!t})}),(0,a.jsx)(y.Z.Item,{name:"db_user",label:"Username",className:"mb-3",rules:[{required:!0}],children:(0,a.jsx)(v.default,{})}),(0,a.jsx)(y.Z.Item,{name:"db_pwd",label:"Password",className:"mb-3",rules:[{required:!0}],children:(0,a.jsx)(v.default,{type:"password"})}),q(m)?(0,a.jsx)(y.Z.Item,{name:"db_path",label:"Path",className:"mb-3",rules:[{required:!0}],children:(0,a.jsx)(v.default,{})}):(0,a.jsx)(y.Z.Item,{name:"db_host",label:"Host",className:"mb-3",rules:[{required:!0}],children:(0,a.jsx)(v.default,{})}),!q(m)&&(0,a.jsx)(y.Z.Item,{name:"db_port",label:"Port",className:"mb-3",rules:[{required:!0}],children:(0,a.jsx)(N.Z,{min:1,step:1,max:65535})}),(0,a.jsx)(y.Z.Item,{name:"comment",label:"Remark",className:"mb-3",children:(0,a.jsx)(v.default,{})}),(0,a.jsxs)(y.Z.Item,{className:"flex flex-row-reverse pt-1 mb-0",children:[(0,a.jsx)(_.ZP,{htmlType:"submit",type:"primary",size:"middle",className:"mr-1",loading:c,children:"Save"}),(0,a.jsx)(_.ZP,{size:"middle",onClick:n,children:"Cancel"})]})]})})};let g={mysql:"/icons/mysql.png",mssql:"/icons/mssql.png",duckdb:"/icons/sql.png"},k=[{label:"Mysql",value:"mysql"},{label:"Mssql",value:"mssql"},{label:"Duckdb",value:"duckdb",isFileDb:!0}];function q(e){var s;return null===(s=k.find(s=>s.value===e))||void 0===s?void 0:s.isFileDb}var C=function(){let[e,s]=(0,r.useState)(!1),[t,b]=(0,r.useState)({open:!1}),{data:{data:y}={data:[]},run:Z}=(0,c.Z)(async()=>{try{return s(!0),await (0,d.Tk)("/v1/chat/db/list")}finally{s(!1)}}),v=e=>{b({open:!0,info:e})},N=e=>{p.Z.confirm({title:"Tips",content:"Do you Want to delete the ".concat(e.db_name,"?"),onOk:()=>new Promise(async(s,t)=>{try{let{success:a,err_msg:r}=await w.Z.post("/api/v1/chat/db/delete?db_name=".concat(e.db_name));a||(f.ZP.error(r),t()),f.ZP.success("success"),Z(),s()}catch(e){f.ZP.error(e.message),t()}})})};return(0,a.jsxs)("div",{className:"relative p-4 bg-slate-50 dark:bg-transparent min-h-full overflow-y-auto",children:[(0,a.jsxs)(j.Z,{spinning:e,className:"dark:bg-black dark:bg-opacity-5",children:[(0,a.jsx)("div",{className:"px-1 mb-4",children:(0,a.jsxs)(o.Z,{type:"primary",size:"sm",onClick:()=>{b({open:!0})},children:[(0,a.jsx)(l.Z,{fontSize:"small"}),"Create"]})}),(0,a.jsx)("div",{className:"flex flex-wrap",children:y.map(e=>{var s;let t=q(e.db_type);return(0,a.jsx)("div",{className:"px-1 w-full mb-2 sm:w-1/2 md:w-1/2 lg:w-1/3 xl:w-1/4 2xl:w-1/5",children:(0,a.jsxs)(m.Z,{variant:"outlined",sx:{boxShadow:"unset",transition:"box-shadow .3s ease",":hover":{boxShadow:"0 10px 16px -6px rgba(0,0,0,0.08)"}},children:[(0,a.jsxs)("div",{className:"flex w-full items-center justify-between",children:[(0,a.jsxs)("div",{className:"flex items-center flex-wrap",children:[(0,a.jsx)(h(),{className:"rounded-full border border-gray-200 mr-3",src:null!==(s=g[e.db_type])&&void 0!==s?s:"/icons/sql.png",alt:e.db_type,width:44,height:44,unoptimized:!0}),(0,a.jsx)(u.Z,{title:e.db_name,children:(0,a.jsxs)("div",{className:"flex flex-col flex-1 ",children:[(0,a.jsxs)("span",{className:"text-xs text-gray-500 font-normal",children:["[",e.db_type,"]"]}),(0,a.jsx)("div",{className:"font-bold text-base line-clamp-1 break-all",children:e.db_name})]})})]}),(0,a.jsxs)("div",{className:"flex items-center justify-center",children:[(0,a.jsx)("div",{className:"mr-1 cursor-pointer",onClick:()=>{v(e)},children:(0,a.jsx)(n.Z,{color:"primary"})}),(0,a.jsx)("div",{className:"cursor-pointer",onClick:()=>{N(e)},children:(0,a.jsx)(i.Z,{className:"text-red-500"})})]})]}),(0,a.jsxs)(x.Z,{children:[(0,a.jsxs)("div",{className:"flex items-center justify-start text-sm text-gray-500",children:[(0,a.jsx)("label",{className:"w-20",children:"Username:"}),(0,a.jsx)("span",{children:e.db_user})]}),(0,a.jsxs)("div",{className:"flex items-center justify-start text-sm text-gray-500",children:[(0,a.jsxs)("label",{className:"w-20",children:[t?"Path":"Host",":"]}),(0,a.jsx)("span",{children:t?e.db_path:e.db_host})]}),(0,a.jsxs)("div",{className:"flex items-center justify-start text-sm text-gray-500",children:[(0,a.jsx)("label",{className:"w-20",children:"Port:"}),(0,a.jsx)("span",{children:t?"-":e.db_port})]}),(0,a.jsxs)("div",{className:"flex items-center justify-start text-sm text-gray-500",children:[(0,a.jsx)("label",{className:"w-20",children:"Remark:"}),(0,a.jsx)("span",{children:e.comment})]})]})]})},e.db_name)})})]}),(0,a.jsx)(P,{open:t.open,editValue:t.info,dbNames:y.map(e=>e.db_name),onSuccess:()=>{b({open:!1,info:void 0}),Z()},onClose:()=>{b({open:!1,info:void 0})}})]})}},53534:function(e,s,t){"use strict";var a=t(24214),r=t(52040);let l=a.Z.create({baseURL:r.env.API_BASE_URL});l.defaults.timeout=1e4,l.interceptors.response.use(e=>e.data,e=>Promise.reject(e)),s.Z=l},89749:function(e,s,t){"use strict";t.d(s,{Ej:function(){return m},Kw:function(){return d},PR:function(){return o},Tk:function(){return c}});var a=t(21628),r=t(53534),l=t(84835);let n={"content-type":"application/json"},i=e=>{if(!(0,l.isPlainObject)(e))return JSON.stringify(e);let s={...e};for(let e in s){let t=s[e];"string"==typeof t&&(s[e]=t.trim())}return JSON.stringify(s)},c=(e,s)=>{if(s){let t=Object.keys(s).filter(e=>void 0!==s[e]&&""!==s[e]).map(e=>"".concat(e,"=").concat(s[e])).join("&");t&&(e+="?".concat(t))}return r.Z.get("/api"+e,{headers:n}).then(e=>e).catch(e=>{a.ZP.error(e),Promise.reject(e)})},d=(e,s)=>{let t=i(s);return r.Z.post("/api"+e,{body:t,headers:n}).then(e=>e).catch(e=>{a.ZP.error(e),Promise.reject(e)})},o=(e,s)=>r.Z.post(e,s,{headers:n}).then(e=>e).catch(e=>{a.ZP.error(e),Promise.reject(e)}),m=(e,s)=>r.Z.post(e,s).then(e=>e).catch(e=>{a.ZP.error(e),Promise.reject(e)})}},function(e){e.O(0,[2180,2662,7487,8358,4344,1191,9081,6259,2569,6394,9743,1506,7713,8656,9253,5769,1744],function(){return e(e.s=72981)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/app/datastores/documents/chunklist/page-6f077c687d3aab06.js b/pilot/server/static/_next/static/chunks/app/datastores/documents/chunklist/page-6f077c687d3aab06.js new file mode 100644 index 000000000..08201a148 --- /dev/null +++ b/pilot/server/static/_next/static/chunks/app/datastores/documents/chunklist/page-6f077c687d3aab06.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4538],{90545:function(e,t,r){"use strict";r.d(t,{Z:function(){return y}});var n=r(40431),o=r(46750),a=r(86006),i=r(73702),l=r(4323),s=r(51579),c=r(86601),u=r(95887),d=r(9268);let p=["className","component"];var h=r(47327),f=r(98918),m=r(8622);let g=function(e={}){let{themeId:t,defaultTheme:r,defaultClassName:h="MuiBox-root",generateClassName:f}=e,m=(0,l.ZP)("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(s.Z),g=a.forwardRef(function(e,a){let l=(0,u.Z)(r),s=(0,c.Z)(e),{className:g,component:y="div"}=s,v=(0,o.Z)(s,p);return(0,d.jsx)(m,(0,n.Z)({as:y,ref:a,className:(0,i.Z)(g,f?f(h):h),theme:t&&l[t]||l},v))});return g}({themeId:m.Z,defaultTheme:f.Z,defaultClassName:"MuiBox-root",generateClassName:h.Z.generate});var y=g},80937:function(e,t,r){"use strict";r.d(t,{Z:function(){return D}});var n=r(46750),o=r(40431),a=r(86006),i=r(73702),l=r(95135),s=r(47562),c=r(13809),u=r(96263),d=r(38295),p=r(86601),h=r(89587),f=r(91559),m=r(48527),g=r(9268);let y=["component","direction","spacing","divider","children","className","useFlexGap"],v=(0,h.Z)(),Z=(0,u.Z)("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root});function x(e){return(0,d.Z)({props:e,name:"MuiStack",defaultTheme:v})}let j=e=>({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[e],b=({ownerState:e,theme:t})=>{let r=(0,o.Z)({display:"flex",flexDirection:"column"},(0,f.k9)({theme:t},(0,f.P$)({values:e.direction,breakpoints:t.breakpoints.values}),e=>({flexDirection:e})));if(e.spacing){let n=(0,m.hB)(t),o=Object.keys(t.breakpoints.values).reduce((t,r)=>(("object"==typeof e.spacing&&null!=e.spacing[r]||"object"==typeof e.direction&&null!=e.direction[r])&&(t[r]=!0),t),{}),a=(0,f.P$)({values:e.direction,base:o}),i=(0,f.P$)({values:e.spacing,base:o});"object"==typeof a&&Object.keys(a).forEach((e,t,r)=>{let n=a[e];if(!n){let n=t>0?a[r[t-1]]:"column";a[e]=n}}),r=(0,l.Z)(r,(0,f.k9)({theme:t},i,(t,r)=>e.useFlexGap?{gap:(0,m.NA)(n,t)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${j(r?a[r]:e.direction)}`]:(0,m.NA)(n,t)}}))}return(0,f.dt)(t.breakpoints,r)};var P=r(50645),S=r(88930);let k=function(e={}){let{createStyledComponent:t=Z,useThemeProps:r=x,componentName:l="MuiStack"}=e,u=()=>(0,s.Z)({root:["root"]},e=>(0,c.Z)(l,e),{}),d=t(b),h=a.forwardRef(function(e,t){let l=r(e),s=(0,p.Z)(l),{component:c="div",direction:h="column",spacing:f=0,divider:m,children:v,className:Z,useFlexGap:x=!1}=s,j=(0,n.Z)(s,y),b=u();return(0,g.jsx)(d,(0,o.Z)({as:c,ownerState:{direction:h,spacing:f,useFlexGap:x},ref:t,className:(0,i.Z)(b.root,Z)},j,{children:m?function(e,t){let r=a.Children.toArray(e).filter(Boolean);return r.reduce((e,n,o)=>(e.push(n),ot.root}),useThemeProps:e=>(0,S.Z)({props:e,name:"JoyStack"})});var D=k},22046:function(e,t,r){"use strict";r.d(t,{eu:function(){return x},FR:function(){return Z},ZP:function(){return w}});var n=r(46750),o=r(40431),a=r(86006),i=r(53832),l=r(44542),s=r(86601),c=r(47562),u=r(50645),d=r(88930),p=r(47093),h=r(326),f=r(18587);function m(e){return(0,f.d6)("MuiTypography",e)}(0,f.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 g=r(9268);let y=["color","textColor"],v=["component","gutterBottom","noWrap","level","levelMapping","children","endDecorator","startDecorator","variant","slots","slotProps"],Z=a.createContext(!1),x=a.createContext(!1),j=e=>{let{gutterBottom:t,noWrap:r,level:n,color:o,variant:a}=e,l={root:["root",n,t&&"gutterBottom",r&&"noWrap",o&&`color${(0,i.Z)(o)}`,a&&`variant${(0,i.Z)(a)}`],startDecorator:["startDecorator"],endDecorator:["endDecorator"]};return(0,c.Z)(l,m,{})},b=(0,u.Z)("span",{name:"JoyTypography",slot:"StartDecorator",overridesResolver:(e,t)=>t.startDecorator})(({ownerState:e})=>{var t;return(0,o.Z)({display:"inline-flex",marginInlineEnd:"clamp(4px, var(--Typography-gap, 0.375em), 0.75rem)"},"string"!=typeof e.startDecorator&&("flex-start"===e.alignItems||(null==(t=e.sx)?void 0:t.alignItems)==="flex-start")&&{marginTop:"2px"})}),P=(0,u.Z)("span",{name:"JoyTypography",slot:"endDecorator",overridesResolver:(e,t)=>t.endDecorator})(({ownerState:e})=>{var t;return(0,o.Z)({display:"inline-flex",marginInlineStart:"clamp(4px, var(--Typography-gap, 0.375em), 0.75rem)"},"string"!=typeof e.endDecorator&&("flex-start"===e.alignItems||(null==(t=e.sx)?void 0:t.alignItems)==="flex-start")&&{marginTop:"2px"})}),S=(0,u.Z)("span",{name:"JoyTypography",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e,ownerState:t})=>{var r,n,a,i;return(0,o.Z)({"--Icon-fontSize":"1.25em",margin:"var(--Typography-margin, 0px)"},t.nesting?{display:"inline"}:{fontFamily:e.vars.fontFamily.body,display:"block"},(t.startDecorator||t.endDecorator)&&(0,o.Z)({display:"flex",alignItems:"center"},t.nesting&&(0,o.Z)({display:"inline-flex"},t.startDecorator&&{verticalAlign:"bottom"})),t.level&&"inherit"!==t.level&&e.typography[t.level],{fontSize:`var(--Typography-fontSize, ${t.level&&"inherit"!==t.level&&null!=(r=null==(n=e.typography[t.level])?void 0:n.fontSize)?r:"inherit"})`},t.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t.gutterBottom&&{marginBottom:"0.35em"},t.color&&"context"!==t.color&&{color:`rgba(${null==(a=e.vars.palette[t.color])?void 0:a.mainChannel} / 1)`},t.variant&&(0,o.Z)({borderRadius:e.vars.radius.xs,paddingBlock:"min(0.15em, 4px)",paddingInline:"0.375em"},!t.nesting&&{marginInline:"-0.375em"},null==(i=e.variants[t.variant])?void 0:i[t.color]))}),k={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"},D=a.forwardRef(function(e,t){let r=(0,d.Z)({props:e,name:"JoyTypography"}),{color:i,textColor:c}=r,u=(0,n.Z)(r,y),f=a.useContext(Z),m=a.useContext(x),D=(0,s.Z)((0,o.Z)({},u,{color:c})),{component:w,gutterBottom:C=!1,noWrap:N=!1,level:R="body1",levelMapping:T={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",body1:"p",body2:"p",body3:"p",inherit:"p"},children:_,endDecorator:I,startDecorator:B,variant:O,slots:z={},slotProps:E={}}=D,A=(0,n.Z)(D,v),{getColor:J}=(0,p.VT)(O),M=J(e.color,O?null!=i?i:"neutral":i),$=f||m?e.level||"inherit":R,F=w||(f?"span":T[$]||k[$]||"span"),W=(0,o.Z)({},D,{level:$,component:F,color:M,gutterBottom:C,noWrap:N,nesting:f,variant:O}),K=j(W),L=(0,o.Z)({},A,{component:F,slots:z,slotProps:E}),[G,U]=(0,h.Z)("root",{ref:t,className:K.root,elementType:S,externalForwardedProps:L,ownerState:W}),[V,q]=(0,h.Z)("startDecorator",{className:K.startDecorator,elementType:b,externalForwardedProps:L,ownerState:W}),[H,Q]=(0,h.Z)("endDecorator",{className:K.endDecorator,elementType:P,externalForwardedProps:L,ownerState:W});return(0,g.jsx)(Z.Provider,{value:!0,children:(0,g.jsxs)(G,(0,o.Z)({},U,{children:[B&&(0,g.jsx)(V,(0,o.Z)({},q,{children:B})),(0,l.Z)(_,["Skeleton"])?a.cloneElement(_,{variant:_.props.variant||"inline"}):_,I&&(0,g.jsx)(H,(0,o.Z)({},Q,{children:I}))]}))})});var w=D},86601:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var n=r(40431),o=r(46750),a=r(95135),i=r(2272);let l=["sx"],s=e=>{var t,r;let n={systemProps:{},otherProps:{}},o=null!=(t=null==e||null==(r=e.theme)?void 0:r.unstable_sxConfig)?t:i.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,i=(0,o.Z)(e,l),{systemProps:c,otherProps:u}=s(i);return t=Array.isArray(r)?[c,...r]:"function"==typeof r?(...e)=>{let t=r(...e);return(0,a.P)(t)?(0,n.Z)({},c,t):c}:(0,n.Z)({},c,r),(0,n.Z)({},u,{sx:t})}},96263:function(e,t,r){"use strict";var n=r(9312);let o=(0,n.ZP)();t.Z=o},3146:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var n=r(86006);function o(){let[,e]=n.useReducer(e=>e+1,0);return e}},30976:function(e,t,r){Promise.resolve().then(r.bind(r,26257))},26257:function(e,t,r){"use strict";r.r(t);var n=r(9268),o=r(56008),a=r(86006),i=r(78635),l=r(90545),s=r(80937),c=r(44334),u=r(311),d=r(22046),p=r(83192),h=r(23910),f=r(90734),m=r(89749);t.default=()=>{let e=(0,o.useRouter)(),{mode:t}=(0,i.tv)(),r=(0,o.useSearchParams)().get("spacename"),g=(0,o.useSearchParams)().get("documentid"),[y,v]=(0,a.useState)(0),[Z,x]=(0,a.useState)(0),[j,b]=(0,a.useState)([]);return(0,a.useEffect)(()=>{(async function(){let e=await (0,m.PR)("/knowledge/".concat(r,"/chunk/list"),{document_id:g,page:1,page_size:20});e.success&&(b(e.data.data),v(e.data.total),x(e.data.page))})()},[]),(0,n.jsxs)(l.Z,{className:"p-4",sx:{"&":{height:"90%"}},children:[(0,n.jsx)(s.Z,{direction:"row",justifyContent:"flex-start",alignItems:"center",sx:{marginBottom:"20px"},children:(0,n.jsxs)(c.Z,{"aria-label":"breadcrumbs",children:[(0,n.jsx)(u.Z,{onClick:()=>{e.push("/datastores")},underline:"hover",color:"neutral",fontSize:"inherit",children:"Knowledge Space"},"Knowledge Space"),(0,n.jsx)(u.Z,{onClick:()=>{e.push("/datastores/documents?name=".concat(r))},underline:"hover",color:"neutral",fontSize:"inherit",children:"Documents"},"Knowledge Space"),(0,n.jsx)(d.ZP,{fontSize:"inherit",children:"Chunks"})]})}),(0,n.jsx)(l.Z,{className:"p-4",sx:{"&":{height:"90%",overflow:"auto"},"&::-webkit-scrollbar":{display:"none"}},children:j.length?(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)(p.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,n.jsx)("thead",{children:(0,n.jsxs)("tr",{children:[(0,n.jsx)("th",{children:"Name"}),(0,n.jsx)("th",{children:"Content"}),(0,n.jsx)("th",{children:"Meta Data"})]})}),(0,n.jsx)("tbody",{children:j.map(e=>(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:e.doc_name}),(0,n.jsx)("td",{children:(0,n.jsx)(h.Z,{content:e.content,trigger:"hover",children:e.content.length>10?"".concat(e.content.slice(0,10),"..."):e.content})}),(0,n.jsx)("td",{children:(0,n.jsx)(h.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,n.jsx)(n.Fragment,{})}),(0,n.jsx)(s.Z,{direction:"row",justifyContent:"flex-end",sx:{marginTop:"20px"},children:(0,n.jsx)(f.Z,{defaultPageSize:20,showSizeChanger:!1,current:Z,total:y,onChange:async e=>{let t=await (0,m.PR)("/knowledge/".concat(r,"/chunk/list"),{document_id:g,page:e,page_size:20});t.success&&(b(t.data.data),v(t.data.total),x(t.data.page))},hideOnSinglePage:!0})})]})}},53534:function(e,t,r){"use strict";var n=r(24214),o=r(52040);let a=n.Z.create({baseURL:o.env.API_BASE_URL});a.defaults.timeout=1e4,a.interceptors.response.use(e=>e.data,e=>Promise.reject(e)),t.Z=a},89749:function(e,t,r){"use strict";r.d(t,{Ej:function(){return d},Kw:function(){return c},PR:function(){return u},Tk:function(){return s}});var n=r(21628),o=r(53534),a=r(84835);let i={"content-type":"application/json"},l=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)},s=(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.Z.get("/api"+e,{headers:i}).then(e=>e).catch(e=>{n.ZP.error(e),Promise.reject(e)})},c=(e,t)=>{let r=l(t);return o.Z.post("/api"+e,{body:r,headers:i}).then(e=>e).catch(e=>{n.ZP.error(e),Promise.reject(e)})},u=(e,t)=>o.Z.post(e,t,{headers:i}).then(e=>e).catch(e=>{n.ZP.error(e),Promise.reject(e)}),d=(e,t)=>o.Z.post(e,t).then(e=>e).catch(e=>{n.ZP.error(e),Promise.reject(e)})},56008:function(e,t,r){e.exports=r(30794)},73702:function(e,t,r){"use strict";t.Z=function(){for(var e,t,r=0,n="";r{var t,n,a,i,l,d,x,u,g,m,v,y,b,w,P,k,_,S;let{spaceName:C}=e,[B,A]=(0,r.useState)(!1),[U,V]=(0,r.useState)({}),{data:M}=(0,T.Z)(()=>(0,L.PR)("/knowledge/".concat(C,"/arguments")),{onSuccess(e){V(e.data)}}),W=[{key:"Embedding",label:(0,s.jsxs)(j.Z,{children:[(0,s.jsx)(F.Z,{sx:{marginRight:"5px"}}),"Embedding"]}),children:(0,s.jsxs)(j.Z,{children:[(0,s.jsxs)(c.Z,{direction:"row",justifyContent:"space-between",sx:{marginTop:"20px",marginBottom:"20px"},children:[(0,s.jsxs)(j.Z,{sx:{marginBottom:"20px",flex:"1 1 0",marginRight:"30px"},children:[(0,s.jsxs)(j.Z,{sx:{marginBottom:"10px"},children:["topk",(0,s.jsx)(R.Z,{content:"the top k vectors based on similarity score",trigger:"hover",style:{marginLeft:"20px"},children:(0,s.jsx)(D.Z,{sx:{marginLeft:"10px"}})})]}),(0,s.jsx)(j.Z,{children:(0,s.jsx)(Z.ZP,{defaultValue:(null==M?void 0:null===(t=M.data)||void 0===t?void 0:null===(n=t.embedding)||void 0===n?void 0:n.topk)||"",onChange:e=>{U.embedding.topk=e.target.value,V({...U})}})})]}),(0,s.jsxs)(j.Z,{sx:{marginBottom:"20px",flex:"1 1 0"},children:[(0,s.jsxs)(j.Z,{sx:{marginBottom:"10px"},children:["recall_score",(0,s.jsx)(R.Z,{content:"Set a threshold score for the retrieval of similar vectors",trigger:"hover",style:{marginLeft:"20px"},children:(0,s.jsx)(D.Z,{sx:{marginLeft:"10px"}})})]}),(0,s.jsx)(j.Z,{children:(0,s.jsx)(Z.ZP,{defaultValue:""+(null==M?void 0:null===(a=M.data)||void 0===a?void 0:null===(i=a.embedding)||void 0===i?void 0:i.recall_score)||"",onChange:e=>{U.embedding.recall_score=e.target.value,V({...U})},disabled:!0})})]})]}),(0,s.jsxs)(c.Z,{direction:"row",justifyContent:"space-between",sx:{marginTop:"20px",marginBottom:"20px"},children:[(0,s.jsxs)(j.Z,{sx:{marginBottom:"20px",flex:"1 1 0",marginRight:"30px"},children:[(0,s.jsxs)(j.Z,{sx:{marginBottom:"10px"},children:["recall_type",(0,s.jsx)(R.Z,{content:"recall type",trigger:"hover",style:{marginLeft:"20px"},children:(0,s.jsx)(D.Z,{sx:{marginLeft:"10px"}})})]}),(0,s.jsx)(j.Z,{children:(0,s.jsx)(Z.ZP,{defaultValue:(null==M?void 0:null===(l=M.data)||void 0===l?void 0:null===(d=l.embedding)||void 0===d?void 0:d.recall_type)||"",onChange:e=>{U.embedding.recall_type=e.target.value,V({...U})},disabled:!0})})]}),(0,s.jsxs)(j.Z,{sx:{marginBottom:"20px",flex:"1 1 0"},children:[(0,s.jsxs)(j.Z,{sx:{marginBottom:"10px"},children:["model",(0,s.jsx)(R.Z,{content:"A model used to create vector representations of text or other data",trigger:"hover",style:{marginLeft:"20px"},children:(0,s.jsx)(D.Z,{sx:{marginLeft:"10px"}})})]}),(0,s.jsx)(j.Z,{children:(0,s.jsx)(Z.ZP,{defaultValue:(null==M?void 0:null===(x=M.data)||void 0===x?void 0:null===(u=x.embedding)||void 0===u?void 0:u.model)||"",onChange:e=>{U.embedding.model=e.target.value,V({...U})},disabled:!0,startDecorator:(0,s.jsx)(I(),{src:"/huggingface_logo.svg",alt:"huggingface logo",width:20,height:20})})})]})]}),(0,s.jsxs)(c.Z,{direction:"row",justifyContent:"space-between",sx:{marginTop:"20px",marginBottom:"20px"},children:[(0,s.jsxs)(j.Z,{sx:{marginBottom:"20px",flex:"1 1 0",marginRight:"30px"},children:[(0,s.jsxs)(j.Z,{sx:{marginBottom:"10px"},children:["chunk_size",(0,s.jsx)(R.Z,{content:"The size of the data chunks used in processing",trigger:"hover",style:{marginLeft:"20px"},children:(0,s.jsx)(D.Z,{sx:{marginLeft:"10px"}})})]}),(0,s.jsx)(j.Z,{children:(0,s.jsx)(Z.ZP,{defaultValue:(null==M?void 0:null===(g=M.data)||void 0===g?void 0:null===(m=g.embedding)||void 0===m?void 0:m.chunk_size)||"",onChange:e=>{U.embedding.chunk_size=e.target.value,V({...U})}})})]}),(0,s.jsxs)(j.Z,{sx:{marginBottom:"20px",flex:"1 1 0"},children:[(0,s.jsxs)(j.Z,{sx:{marginBottom:"10px"},children:["chunk_overlap",(0,s.jsx)(R.Z,{content:"The amount of overlap between adjacent data chunks",trigger:"hover",style:{marginLeft:"20px"},children:(0,s.jsx)(D.Z,{sx:{marginLeft:"10px"}})})]}),(0,s.jsx)(j.Z,{children:(0,s.jsx)(Z.ZP,{defaultValue:(null==M?void 0:null===(v=M.data)||void 0===v?void 0:null===(y=v.embedding)||void 0===y?void 0:y.chunk_overlap)||"",onChange:e=>{U.embedding.chunk_overlap=e.target.value,V({...U})}})})]})]})]})},{key:"Prompt",label:(0,s.jsxs)(j.Z,{children:[(0,s.jsx)(E.Z,{sx:{marginRight:"5px"}}),"Prompt"]}),children:(0,s.jsxs)(j.Z,{sx:{maxHeight:"600px",overflow:"auto","&::-webkit-scrollbar":{display:"none"}},children:[(0,s.jsxs)(j.Z,{sx:{marginBottom:"20px",marginTop:"20px"},children:[(0,s.jsxs)(j.Z,{sx:{marginBottom:"10px"},children:["scene",(0,s.jsx)(R.Z,{content:"A contextual parameter used to define the setting or environment in which the prompt is being used",trigger:"hover",style:{marginLeft:"20px"},children:(0,s.jsx)(D.Z,{sx:{marginLeft:"10px"}})})]}),(0,s.jsx)(j.Z,{children:(0,s.jsx)(f.Z,{defaultValue:(null==M?void 0:null===(b=M.data)||void 0===b?void 0:null===(w=b.prompt)||void 0===w?void 0:w.scene)||"",onChange:e=>{U.prompt.scene=e.target.value,V({...U})}})})]}),(0,s.jsxs)(j.Z,{sx:{marginBottom:"20px"},children:[(0,s.jsxs)(j.Z,{sx:{marginBottom:"10px"},children:["template",(0,s.jsx)(R.Z,{content:"A pre-defined structure or format for the prompt, which can help ensure that the AI system generates responses that are consistent with the desired style or tone.",trigger:"hover",style:{marginLeft:"20px"},children:(0,s.jsx)(D.Z,{sx:{marginLeft:"10px"}})})]}),(0,s.jsx)(j.Z,{children:(0,s.jsx)(f.Z,{defaultValue:(null==M?void 0:null===(P=M.data)||void 0===P?void 0:null===(k=P.prompt)||void 0===k?void 0:k.template)||"",onChange:e=>{U.prompt.template=e.target.value,V({...U})}})})]}),(0,s.jsxs)(j.Z,{sx:{marginBottom:"20px"},children:[(0,s.jsxs)(j.Z,{sx:{marginBottom:"10px"},children:["max_token",(0,s.jsx)(R.Z,{content:"The maximum number of tokens or words allowed in a prompt",trigger:"hover",style:{marginLeft:"20px"},children:(0,s.jsx)(D.Z,{sx:{marginLeft:"10px"}})})]}),(0,s.jsx)(j.Z,{children:(0,s.jsx)(Z.ZP,{defaultValue:(null==M?void 0:null===(_=M.data)||void 0===_?void 0:null===(S=_.prompt)||void 0===S?void 0:S.max_token)||"",onChange:e=>{U.prompt.max_token=e.target.value,V({...U})}})})]})]})}];return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(h.Z,{variant:"outlined",onClick:()=>A(!0),children:[(0,s.jsx)(N.Z,{sx:{marginRight:"6px",fontSize:"18px"}}),"Arguments"]}),(0,s.jsx)(p.Z,{sx:{display:"flex",justifyContent:"center",alignItems:"center","z-index":1e3},open:B,onClose:()=>A(!1),children:(0,s.jsxs)(o.Z,{variant:"outlined",sx:{width:800,borderRadius:"md",p:3,boxShadow:"lg"},children:[(0,s.jsx)(O.Z,{defaultActiveKey:"Embedding",items:W}),(0,s.jsx)(c.Z,{direction:"row",justifyContent:"flex-start",sx:{marginTop:"20px",marginBottom:"20px"},children:(0,s.jsx)(h.Z,{variant:"outlined",onClick:()=>{(0,L.PR)("/knowledge/".concat(C,"/argument/save"),{argument:JSON.stringify(U)}).then(e=>{e.success?(window.location.reload(),z.ZP.success("success")):z.ZP.error(e.err_msg||"failed")})},children:"Submit"})})]})})]})};let{Dragger:V}=C.default,M=(0,i.Z)(o.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}}),W=["Choose a Datasource type","Setup the Datasource"],H=[{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 K=()=>{let e=(0,a.useRouter)(),t=(0,a.useSearchParams)().get("name"),{mode:n}=(0,l.tv)(),[i,y]=(0,r.useState)(!1),[C,T]=(0,r.useState)(0),[D,N]=(0,r.useState)(""),[F,E]=(0,r.useState)([]),[O,A]=(0,r.useState)(""),[I,K]=(0,r.useState)(""),[Y,J]=(0,r.useState)(""),[G,X]=(0,r.useState)(""),[q,Q]=(0,r.useState)(null),[$,ee]=(0,r.useState)(0),[et,en]=(0,r.useState)(0),[es,ea]=(0,r.useState)(!0);return(0,r.useEffect)(()=>{(async function(){let e=await (0,L.PR)("/knowledge/".concat(t,"/document/list"),{page:1,page_size:20});e.success&&(E(e.data.data),ee(e.data.total),en(e.data.page))})()},[]),(0,s.jsxs)("div",{className:"p-4",children:[(0,s.jsxs)(c.Z,{direction:"row",justifyContent:"space-between",alignItems:"center",sx:{marginBottom:"20px"},children:[(0,s.jsxs)(d.Z,{"aria-label":"breadcrumbs",children:[(0,s.jsx)(x.Z,{onClick:()=>{e.push("/datastores")},underline:"hover",color:"neutral",fontSize:"inherit",children:"Knowledge Space"},"Knowledge Space"),(0,s.jsx)(u.ZP,{fontSize:"inherit",children:"Documents"})]}),(0,s.jsxs)(c.Z,{direction:"row",alignItems:"center",children:[(0,s.jsxs)(h.Z,{variant:"outlined",onClick:async()=>{var n,s;let a=await (0,L.PR)("/api/v1/chat/dialogue/new",{chat_mode:"chat_knowledge"});(null==a?void 0:a.success)&&(null==a?void 0:null===(n=a.data)||void 0===n?void 0:n.conv_uid)&&e.push("/chat?id=".concat(null==a?void 0:null===(s=a.data)||void 0===s?void 0:s.conv_uid,"&scene=chat_knowledge&spaceNameOriginal=").concat(t))},sx:{marginRight:"20px",backgroundColor:"rgb(39, 155, 255) !important",color:"white",border:"none"},children:[(0,s.jsx)(S.Z,{sx:{marginRight:"6px",fontSize:"18px"}}),"Chat"]}),(0,s.jsx)(h.Z,{variant:"outlined",onClick:()=>y(!0),sx:{marginRight:"20px"},children:"+ Add Datasource"}),(0,s.jsx)(U,{spaceName:t})]})]}),F.length?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(g.Z,{color:"primary",variant:"plain",size:"sm",sx:{"& tbody tr: hover":{backgroundColor:"light"===n?"rgb(246, 246, 246)":"rgb(33, 33, 40)"},"& tbody tr: hover a":{textDecoration:"underline"},"& tr > *:last-child":{textAlign:"right"}},children:[(0,s.jsx)("thead",{children:(0,s.jsxs)("tr",{children:[(0,s.jsx)("th",{children:"Name"}),(0,s.jsx)("th",{children:"Type"}),(0,s.jsx)("th",{children:"Size"}),(0,s.jsx)("th",{children:"Last Synch"}),(0,s.jsx)("th",{children:"Status"}),(0,s.jsx)("th",{children:"Result"}),(0,s.jsx)("th",{style:{width:"30%"},children:"Operation"})]})}),(0,s.jsx)("tbody",{children:F.map(n=>(0,s.jsxs)("tr",{children:[(0,s.jsx)("td",{children:n.doc_name}),(0,s.jsx)("td",{children:(0,s.jsx)(m.Z,{size:"sm",variant:"solid",color:"neutral",sx:{opacity:.5},children:n.doc_type})}),(0,s.jsxs)("td",{children:[n.chunk_size," chunks"]}),(0,s.jsx)("td",{children:b()(n.last_sync).format("YYYY-MM-DD HH:MM:SS")}),(0,s.jsx)("td",{children:(0,s.jsx)(m.Z,{size:"sm",sx:{opacity:.5},variant:"solid",color:function(){switch(n.status){case"TODO":return"neutral";case"RUNNING":return"primary";case"FINISHED":return"success";case"FAILED":return"danger"}}(),children:n.status})}),(0,s.jsx)("td",{children:"TODO"===n.status||"RUNNING"===n.status?"":"FINISHED"===n.status?(0,s.jsx)(R.Z,{content:n.result,trigger:"hover",children:(0,s.jsx)(m.Z,{size:"sm",variant:"solid",color:"success",sx:{opacity:.5},children:"SUCCESS"})}):(0,s.jsx)(R.Z,{content:n.result,trigger:"hover",children:(0,s.jsx)(m.Z,{size:"sm",variant:"solid",color:"danger",sx:{opacity:.5},children:"FAILED"})})}),(0,s.jsx)("td",{children:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(h.Z,{variant:"outlined",size:"sm",sx:{marginRight:"2px"},onClick:async()=>{let e=await (0,L.PR)("/knowledge/".concat(t,"/document/sync"),{doc_ids:[n.id]});e.success?z.ZP.success("success"):z.ZP.error(e.err_msg||"failed")},children:["Synch",(0,s.jsx)(k.Z,{})]}),(0,s.jsx)(h.Z,{variant:"outlined",size:"sm",sx:{marginRight:"2px"},onClick:()=>{e.push("/datastores/documents/chunklist?spacename=".concat(t,"&documentid=").concat(n.id))},children:"Details"}),(0,s.jsxs)(h.Z,{variant:"outlined",size:"sm",color:"danger",onClick:async()=>{let e=await (0,L.PR)("/knowledge/".concat(t,"/document/delete"),{doc_name:n.doc_name});if(e.success){z.ZP.success("success");let e=await (0,L.PR)("/knowledge/".concat(t,"/document/list"),{page:et,page_size:20});e.success&&(E(e.data.data),ee(e.data.total),en(e.data.page))}else z.ZP.error(e.err_msg||"failed")},children:["Delete",(0,s.jsx)(_.Z,{})]})]})})]},n.id))})]}),(0,s.jsx)(c.Z,{direction:"row",justifyContent:"flex-end",sx:{marginTop:"20px"},children:(0,s.jsx)(B.Z,{defaultPageSize:20,showSizeChanger:!1,current:et,total:$,onChange:async e=>{let n=await (0,L.PR)("/knowledge/".concat(t,"/document/list"),{page:e,page_size:20});n.success&&(E(n.data.data),ee(n.data.total),en(n.data.page))},hideOnSinglePage:!0})})]}):(0,s.jsx)(s.Fragment,{}),(0,s.jsx)(p.Z,{sx:{display:"flex",justifyContent:"center",alignItems:"center","z-index":1e3},open:i,onClose:()=>y(!1),children:(0,s.jsxs)(o.Z,{variant:"outlined",sx:{width:800,borderRadius:"md",p:3,boxShadow:"lg"},children:[(0,s.jsx)(j.Z,{sx:{width:"100%"},children:(0,s.jsx)(c.Z,{spacing:2,direction:"row",children:W.map((e,t)=>(0,s.jsxs)(M,{sx:{fontWeight:C===t?"bold":"",color:C===t?"#2AA3FF":""},children:[t(0,s.jsxs)(o.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:()=>{N(e.type),T(1)},children:[(0,s.jsx)(o.Z,{sx:{fontSize:"20px",fontWeight:"bold"},children:e.title}),(0,s.jsx)(o.Z,{children:e.subTitle})]},e.type))})}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(j.Z,{sx:{margin:"30px auto"},children:["Name:",(0,s.jsx)(Z.ZP,{placeholder:"Please input the name",onChange:e=>K(e.target.value),sx:{marginBottom:"20px"}}),"webPage"===D?(0,s.jsxs)(s.Fragment,{children:["Web Page URL:",(0,s.jsx)(Z.ZP,{placeholder:"Please input the Web Page URL",onChange:e=>A(e.target.value)})]}):"file"===D?(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)(V,{name:"file",multiple:!1,beforeUpload:()=>!1,onChange(e){if(0===e.fileList.length){Q(null),K("");return}Q(e.file),K(e.file.name)},children:[(0,s.jsx)("p",{className:"ant-upload-drag-icon",children:(0,s.jsx)(w.Z,{})}),(0,s.jsx)("p",{style:{color:"rgb(22, 108, 255)",fontSize:"20px"},children:"Select or Drop file"}),(0,s.jsx)("p",{className:"ant-upload-hint",style:{color:"rgb(22, 108, 255)"},children:"PDF, PowerPoint, Excel, Word, Text, Markdown,"})]})}):(0,s.jsxs)(s.Fragment,{children:["Text Source(Optional):",(0,s.jsx)(Z.ZP,{placeholder:"Please input the text source",onChange:e=>J(e.target.value),sx:{marginBottom:"20px"}}),"Text:",(0,s.jsx)(f.Z,{onChange:e=>X(e.target.value),minRows:4,sx:{marginBottom:"20px"}})]}),(0,s.jsx)(u.ZP,{component:"label",sx:{marginTop:"20px"},endDecorator:(0,s.jsx)(v.Z,{checked:es,onChange:e=>ea(e.target.checked)}),children:"Synch:"})]}),(0,s.jsxs)(c.Z,{direction:"row",justifyContent:"flex-start",alignItems:"center",sx:{marginBottom:"20px"},children:[(0,s.jsx)(h.Z,{variant:"outlined",sx:{marginRight:"20px"},onClick:()=>T(0),children:"< Back"}),(0,s.jsx)(h.Z,{variant:"outlined",onClick:async()=>{if(""===I){z.ZP.error("Please input the name");return}if("webPage"===D){if(""===O){z.ZP.error("Please input the Web Page URL");return}let e=await (0,L.PR)("/knowledge/".concat(t,"/document/add"),{doc_name:I,content:O,doc_type:"URL"});if(e.success&&es&&(0,L.PR)("/knowledge/".concat(t,"/document/sync"),{doc_ids:[e.data]}),e.success){z.ZP.success("success"),y(!1);let e=await (0,L.PR)("/knowledge/".concat(t,"/document/list"),{page:et,page_size:20});e.success&&(E(e.data.data),ee(e.data.total),en(e.data.page))}else z.ZP.error(e.err_msg||"failed")}else if("file"===D){if(!q){z.ZP.error("Please select a file");return}let e=new FormData;e.append("doc_name",I),e.append("doc_file",q),e.append("doc_type","DOCUMENT");let n=await (0,L.Ej)("/knowledge/".concat(t,"/document/upload"),e);if(n.success&&es&&(0,L.PR)("/knowledge/".concat(t,"/document/sync"),{doc_ids:[n.data]}),n.success){z.ZP.success("success"),y(!1);let e=await (0,L.PR)("/knowledge/".concat(t,"/document/list"),{page:et,page_size:20});e.success&&(E(e.data.data),ee(e.data.total),en(e.data.page))}else z.ZP.error(n.err_msg||"failed")}else{if(""===G){z.ZP.error("Please input the text");return}let e=await (0,L.PR)("/knowledge/".concat(t,"/document/add"),{doc_name:I,source:Y,content:G,doc_type:"TEXT"});if(e.success&&es&&(0,L.PR)("/knowledge/".concat(t,"/document/sync"),{doc_ids:[e.data]}),e.success){z.ZP.success("success"),y(!1);let e=await (0,L.PR)("/knowledge/".concat(t,"/document/list"),{page:et,page_size:20});e.success&&(E(e.data.data),ee(e.data.total),en(e.data.page))}else z.ZP.error(e.err_msg||"failed")}},children:"Finish"})]})]})]})})]})}},53534:function(e,t,n){"use strict";var s=n(24214),a=n(52040);let r=s.Z.create({baseURL:a.env.API_BASE_URL});r.defaults.timeout=1e4,r.interceptors.response.use(e=>e.data,e=>Promise.reject(e)),t.Z=r},89749:function(e,t,n){"use strict";n.d(t,{Ej:function(){return x},Kw:function(){return c},PR:function(){return d},Tk:function(){return l}});var s=n(21628),a=n(53534),r=n(84835);let i={"content-type":"application/json"},o=e=>{if(!(0,r.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 a.Z.get("/api"+e,{headers:i}).then(e=>e).catch(e=>{s.ZP.error(e),Promise.reject(e)})},c=(e,t)=>{let n=o(t);return a.Z.post("/api"+e,{body:n,headers:i}).then(e=>e).catch(e=>{s.ZP.error(e),Promise.reject(e)})},d=(e,t)=>a.Z.post(e,t,{headers:i}).then(e=>e).catch(e=>{s.ZP.error(e),Promise.reject(e)}),x=(e,t)=>a.Z.post(e,t).then(e=>e).catch(e=>{s.ZP.error(e),Promise.reject(e)})}},function(e){e.O(0,[2180,4550,2662,7487,8358,4344,1191,9081,6259,2569,2606,6394,5086,9743,1630,1767,8635,7746,5548,3318,8582,9253,5769,1744],function(){return e(e.s=4797)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/app/datastores/page-afd97080a310de67.js b/pilot/server/static/_next/static/chunks/app/datastores/page-afd97080a310de67.js new file mode 100644 index 000000000..a3704e166 --- /dev/null +++ b/pilot/server/static/_next/static/chunks/app/datastores/page-afd97080a310de67.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6043],{29382:function(e,i,t){"use strict";var a=t(78997);i.Z=void 0;var r=a(t(76906)),o=t(9268),n=(0,r.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");i.Z=n},74852:function(e,i,t){"use strict";var a=t(78997);i.Z=void 0;var r=a(t(76906)),o=t(9268),n=(0,r.default)((0,o.jsx)("path",{d:"M4.47 21h15.06c1.54 0 2.5-1.67 1.73-3L13.73 4.99c-.77-1.33-2.69-1.33-3.46 0L2.74 18c-.77 1.33.19 3 1.73 3zM12 14c-.55 0-1-.45-1-1v-2c0-.55.45-1 1-1s1 .45 1 1v2c0 .55-.45 1-1 1zm1 4h-2v-2h2v2z"}),"WarningRounded");i.Z=n},50318:function(e,i,t){"use strict";t.d(i,{Z:function(){return Z}});var a=t(46750),r=t(40431),o=t(86006),n=t(89791),s=t(53832),l=t(47562),c=t(50645),d=t(88930),p=t(18587);function x(e){return(0,p.d6)("MuiDivider",e)}(0,p.sI)("MuiDivider",["root","horizontal","vertical","insetContext","insetNone"]);var g=t(326),u=t(9268);let h=["className","children","component","inset","orientation","role","slots","slotProps"],v=e=>{let{orientation:i,inset:t}=e,a={root:["root",i,t&&`inset${(0,s.Z)(t)}`]};return(0,l.Z)(a,x,{})},f=(0,c.Z)("hr",{name:"JoyDivider",slot:"Root",overridesResolver:(e,i)=>i.root})(({theme:e,ownerState:i})=>(0,r.Z)({"--Divider-thickness":"1px","--Divider-lineColor":e.vars.palette.divider},"none"===i.inset&&{"--_Divider-inset":"0px"},"context"===i.inset&&{"--_Divider-inset":"var(--Divider-inset, 0px)"},{margin:"initial",marginInline:"vertical"===i.orientation?"initial":"var(--_Divider-inset)",marginBlock:"vertical"===i.orientation?"var(--_Divider-inset)":"initial",position:"relative",alignSelf:"stretch",flexShrink:0},i.children?{"--Divider-gap":e.spacing(1),"--Divider-childPosition":"50%",display:"flex",flexDirection:"vertical"===i.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"===i.orientation?"var(--Divider-thickness)":"initial",blockSize:"vertical"===i.orientation?"initial":"var(--Divider-thickness)",backgroundColor:"var(--Divider-lineColor)",content:'""'},"&::before":{marginInlineEnd:"vertical"===i.orientation?"initial":"min(var(--Divider-childPosition) * 999, var(--Divider-gap))",marginBlockEnd:"vertical"===i.orientation?"min(var(--Divider-childPosition) * 999, var(--Divider-gap))":"initial",flexBasis:"var(--Divider-childPosition)"},"&::after":{marginInlineStart:"vertical"===i.orientation?"initial":"min((100% - var(--Divider-childPosition)) * 999, var(--Divider-gap))",marginBlockStart:"vertical"===i.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"===i.orientation?"var(--Divider-thickness)":"initial",blockSize:"vertical"===i.orientation?"initial":"var(--Divider-thickness)"})),m=o.forwardRef(function(e,i){let t=(0,d.Z)({props:e,name:"JoyDivider"}),{className:o,children:s,component:l=null!=s?"div":"hr",inset:c,orientation:p="horizontal",role:x="hr"!==l?"separator":void 0,slots:m={},slotProps:Z={}}=t,j=(0,a.Z)(t,h),b=(0,r.Z)({},t,{inset:c,role:x,orientation:p,component:l}),P=v(b),y=(0,r.Z)({},j,{component:l,slots:m,slotProps:Z}),[D,w]=(0,g.Z)("root",{ref:i,className:(0,n.Z)(P.root,o),elementType:f,externalForwardedProps:y,ownerState:b,additionalProps:(0,r.Z)({as:l,role:x},"separator"===x&&"vertical"===p&&{"aria-orientation":"vertical"})});return(0,u.jsx)(D,(0,r.Z)({},w,{children:s}))});m.muiName="Divider";var Z=m},30530:function(e,i,t){"use strict";t.d(i,{Z:function(){return D}});var a=t(46750),r=t(40431),o=t(86006),n=t(89791),s=t(47562),l=t(53832),c=t(44542),d=t(50645),p=t(88930),x=t(47093),g=t(5737),u=t(18587);function h(e){return(0,u.d6)("MuiModalDialog",e)}(0,u.sI)("MuiModalDialog",["root","colorPrimary","colorNeutral","colorDanger","colorInfo","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","sizeSm","sizeMd","sizeLg","layoutCenter","layoutFullscreen"]);var v=t(66752),f=t(69586),m=t(326),Z=t(9268);let j=["className","children","color","component","variant","size","layout","slots","slotProps"],b=e=>{let{variant:i,color:t,size:a,layout:r}=e,o={root:["root",i&&`variant${(0,l.Z)(i)}`,t&&`color${(0,l.Z)(t)}`,a&&`size${(0,l.Z)(a)}`,r&&`layout${(0,l.Z)(r)}`]};return(0,s.Z)(o,h,{})},P=(0,d.Z)(g.U,{name:"JoyModalDialog",slot:"Root",overridesResolver:(e,i)=>i.root})(({theme:e,ownerState:i})=>(0,r.Z)({"--Divider-inset":"calc(-1 * var(--ModalDialog-padding))","--ModalClose-radius":"max((var(--ModalDialog-radius) - var(--variant-borderWidth, 0px)) - var(--ModalClose-inset), min(var(--ModalClose-inset) / 2, (var(--ModalDialog-radius) - var(--variant-borderWidth, 0px)) / 2))"},"sm"===i.size&&{"--ModalDialog-padding":e.spacing(2),"--ModalDialog-radius":e.vars.radius.sm,"--ModalDialog-gap":e.spacing(.75),"--ModalDialog-titleOffset":e.spacing(.25),"--ModalDialog-descriptionOffset":e.spacing(.25),"--ModalClose-inset":e.spacing(1.25),fontSize:e.vars.fontSize.sm},"md"===i.size&&{"--ModalDialog-padding":e.spacing(2.5),"--ModalDialog-radius":e.vars.radius.md,"--ModalDialog-gap":e.spacing(1.5),"--ModalDialog-titleOffset":e.spacing(.25),"--ModalDialog-descriptionOffset":e.spacing(.75),"--ModalClose-inset":e.spacing(1.5),fontSize:e.vars.fontSize.md},"lg"===i.size&&{"--ModalDialog-padding":e.spacing(3),"--ModalDialog-radius":e.vars.radius.md,"--ModalDialog-gap":e.spacing(2),"--ModalDialog-titleOffset":e.spacing(.75),"--ModalDialog-descriptionOffset":e.spacing(1),"--ModalClose-inset":e.spacing(1.5),fontSize:e.vars.fontSize.lg},{boxSizing:"border-box",boxShadow:e.shadow.md,borderRadius:"var(--ModalDialog-radius)",fontFamily:e.vars.fontFamily.body,lineHeight:e.vars.lineHeight.md,padding:"var(--ModalDialog-padding)",minWidth:"min(calc(100vw - 2 * var(--ModalDialog-padding)), var(--ModalDialog-minWidth, 300px))",outline:0,position:"absolute",display:"flex",flexDirection:"column"},"fullscreen"===i.layout&&{top:0,left:0,right:0,bottom:0,border:0,borderRadius:0},"center"===i.layout&&{top:"50%",left:"50%",transform:"translate(-50%, -50%)",maxWidth:"min(calc(100vw - 2 * var(--ModalDialog-padding)), var(--ModalDialog-maxWidth, 100vw))",maxHeight:"calc(100% - 2 * var(--ModalDialog-padding))"},{[`& [id="${i["aria-labelledby"]}"]`]:{"--Typography-margin":"calc(-1 * var(--ModalDialog-titleOffset)) 0 var(--ModalDialog-gap) 0","--Typography-fontSize":"1.125em",[`& + [id="${i["aria-describedby"]}"]`]:{"--unstable_ModalDialog-descriptionOffset":"calc(-1 * var(--ModalDialog-descriptionOffset))"}},[`& [id="${i["aria-describedby"]}"]`]:{"--Typography-fontSize":"1em","--Typography-margin":"var(--unstable_ModalDialog-descriptionOffset, var(--ModalDialog-gap)) 0 0 0","&:not(:last-child)":{"--Typography-margin":"var(--unstable_ModalDialog-descriptionOffset, var(--ModalDialog-gap)) 0 var(--ModalDialog-gap) 0"}}})),y=o.forwardRef(function(e,i){let t=(0,p.Z)({props:e,name:"JoyModalDialog"}),{className:s,children:l,color:d="neutral",component:g="div",variant:u="outlined",size:h="md",layout:y="center",slots:D={},slotProps:w={}}=t,S=(0,a.Z)(t,j),{getColor:k}=(0,x.VT)(u),C=k(e.color,d),M=(0,r.Z)({},t,{color:C,component:g,layout:y,size:h,variant:u}),z=b(M),R=(0,r.Z)({},S,{component:g,slots:D,slotProps:w}),F=o.useMemo(()=>({variant:u,color:"context"===C?void 0:C}),[C,u]),[_,O]=(0,m.Z)("root",{ref:i,className:(0,n.Z)(z.root,s),elementType:P,externalForwardedProps:R,ownerState:M,additionalProps:{as:g,role:"dialog","aria-modal":"true"}});return(0,Z.jsx)(v.Z.Provider,{value:h,children:(0,Z.jsx)(f.Z.Provider,{value:F,children:(0,Z.jsx)(_,(0,r.Z)({},O,{children:o.Children.map(l,e=>{if(!o.isValidElement(e))return e;if((0,c.Z)(e,["Divider"])){let i={};return i.inset="inset"in e.props?e.props.inset:"context",o.cloneElement(e,i)}return e})}))})})});var D=y},66752:function(e,i,t){"use strict";var a=t(86006);let r=a.createContext(void 0);i.Z=r},69586:function(e,i,t){"use strict";var a=t(86006);let r=a.createContext(void 0);i.Z=r},66162:function(e,i,t){Promise.resolve().then(t.bind(t,44323))},44323:function(e,i,t){"use strict";t.r(i);var a=t(9268),r=t(56008),o=t(86006),n=t(72474),s=t(59534),l=t(29382),c=t(68949),d=t(74852),p=t(86362),x=t(21628),g=t(50645),u=t(5737),h=t(90545),v=t(80937),f=t(34112),m=t(35086),Z=t(53113),j=t(96323),b=t(22046),P=t(47611),y=t(30530),D=t(50318),w=t(89749);let{Dragger:S}=p.default,k=(0,g.Z)(u.Z)(e=>{let{theme:i}=e;return{width:"33%",backgroundColor:"dark"===i.palette.mode?i.palette.background.level1:"#fff",...i.typography.body2,padding:i.spacing(1),textAlign:"center",borderRadius:4,color:i.vars.palette.text.secondary}}),C=["Knowledge Space Config","Choose a Datasource type","Setup the Datasource"],M=[{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"}];i.default=()=>{let e=(0,r.useRouter)(),[i,t]=(0,o.useState)(0),[p,g]=(0,o.useState)(""),[z,R]=(0,o.useState)([]),[F,_]=(0,o.useState)(!1),[O,T]=(0,o.useState)(""),[N,A]=(0,o.useState)(""),[W,B]=(0,o.useState)(""),[E,L]=(0,o.useState)(""),[U,I]=(0,o.useState)(""),[$,V]=(0,o.useState)(""),[H,J]=(0,o.useState)(""),[G,K]=(0,o.useState)(null),[X,Y]=(0,o.useState)(!0),[q,Q]=(0,o.useState)(!1),[ee,ei]=(0,o.useState)({});return(0,o.useEffect)(()=>{(async function(){let e=await (0,w.PR)("/knowledge/space/list",{});e.success&&R(e.data)})()},[]),(0,a.jsxs)(h.Z,{sx:{width:"100%",height:"100%"},className:"bg-[#F1F2F5] dark:bg-[#212121]",children:[(0,a.jsx)(h.Z,{className:"page-body p-4",sx:{"&":{height:"90%",overflow:"auto"},"&::-webkit-scrollbar":{display:"none"}},children:(0,a.jsxs)(v.Z,{direction:"row",justifyContent:"space-between",alignItems:"center",flexWrap:"wrap",sx:{"& i":{width:"430px",marginRight:"30px"}},children:[(0,a.jsxs)(h.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:()=>_(!0),className:"bg-[#E9EBEE] dark:bg-[#484848]",children:[(0,a.jsx)(h.Z,{sx:{width:"32px",height:"32px",lineHeight:"28px",border:"1px solid #2AA3FF",textAlign:"center",borderRadius:"5px",marginRight:"5px",fontWeight:"300",color:"#2AA3FF"},children:"+"}),(0,a.jsx)(h.Z,{sx:{fontSize:"16px"},children:"space"})]}),z.map((i,t)=>(0,a.jsxs)(h.Z,{sx:{position:"relative",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(i.name))},className:"bg-[#FFFFFF] dark:bg-[#484848]",children:[(0,a.jsxs)(h.Z,{sx:{fontSize:"18px",marginBottom:"10px",fontWeight:"bold",color:"black"},children:[(0,a.jsx)(l.Z,{sx:{marginRight:"5px",color:"#2AA3FF"}}),i.name]}),(0,a.jsxs)(h.Z,{sx:{display:"flex",justifyContent:"flex-start"},children:[(0,a.jsxs)(h.Z,{sx:{width:"130px",flexGrow:0,flexShrink:0},children:[(0,a.jsx)(h.Z,{sx:{color:"#2AA3FF"},children:i.vector_type}),(0,a.jsx)(h.Z,{sx:{fontSize:"12px",color:"black"},children:"Vector"})]}),(0,a.jsxs)(h.Z,{sx:{width:"130px",flexGrow:0,flexShrink:0},children:[(0,a.jsx)(h.Z,{sx:{color:"#2AA3FF"},children:i.owner}),(0,a.jsx)(h.Z,{sx:{fontSize:"12px",color:"black"},children:"Owner"})]}),(0,a.jsxs)(h.Z,{sx:{width:"130px",flexGrow:0,flexShrink:0},children:[(0,a.jsx)(h.Z,{sx:{color:"#2AA3FF"},children:i.docs||0}),(0,a.jsx)(h.Z,{sx:{fontSize:"12px",color:"black"},children:"Docs"})]})]}),(0,a.jsx)(h.Z,{sx:{position:"absolute",right:"10px",top:"10px",color:"rgb(205, 32, 41)"},onClick:e=>{e.stopPropagation(),ei(i),Q(!0)},children:(0,a.jsx)(c.Z,{sx:{fontSize:"30px"}})})]},t)),(0,a.jsx)("i",{}),(0,a.jsx)("i",{}),(0,a.jsx)("i",{}),(0,a.jsx)("i",{}),(0,a.jsx)("i",{}),(0,a.jsx)("i",{}),(0,a.jsx)("i",{}),(0,a.jsx)("i",{}),(0,a.jsx)("i",{}),(0,a.jsx)("i",{}),(0,a.jsx)("i",{}),(0,a.jsx)("i",{}),(0,a.jsx)("i",{}),(0,a.jsx)("i",{}),(0,a.jsx)("i",{}),(0,a.jsx)("i",{}),(0,a.jsx)("i",{}),(0,a.jsx)("i",{}),(0,a.jsx)("i",{}),(0,a.jsx)("i",{})]})}),(0,a.jsx)(f.Z,{sx:{display:"flex",justifyContent:"center",alignItems:"center","z-index":1e3},open:F,onClose:()=>_(!1),children:(0,a.jsxs)(u.Z,{variant:"outlined",sx:{width:800,borderRadius:"md",p:3,boxShadow:"lg"},children:[(0,a.jsx)(h.Z,{sx:{width:"100%"},children:(0,a.jsx)(v.Z,{spacing:2,direction:"row",children:C.map((e,t)=>(0,a.jsxs)(k,{sx:{fontWeight:i===t?"bold":"",color:i===t?"#2AA3FF":""},children:[tT(e.target.value),sx:{marginBottom:"20px"}}),"Owner:",(0,a.jsx)(m.ZP,{placeholder:"Please input the owner",onChange:e=>A(e.target.value),sx:{marginBottom:"20px"}}),"Description:",(0,a.jsx)(m.ZP,{placeholder:"Please input the description",onChange:e=>B(e.target.value),sx:{marginBottom:"20px"}})]}),(0,a.jsx)(Z.Z,{variant:"outlined",onClick:async()=>{if(""===O){x.ZP.error("please input the name");return}if(/[^\u4e00-\u9fa50-9a-zA-Z_-]/.test(O)){x.ZP.error('the name can only contain numbers, letters, Chinese characters, "-" and "_"');return}if(""===N){x.ZP.error("please input the owner");return}if(""===W){x.ZP.error("please input the description");return}let e=await (0,w.PR)("/knowledge/space/add",{name:O,vector_type:"Chroma",owner:N,desc:W});if(e.success){x.ZP.success("success"),t(1);let e=await (0,w.PR)("/knowledge/space/list",{});e.success&&R(e.data)}else x.ZP.error(e.err_msg||"failed")},children:"Next"})]}):1===i?(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(h.Z,{sx:{margin:"30px auto"},children:M.map(e=>(0,a.jsxs)(u.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:()=>{g(e.type),t(2)},children:[(0,a.jsx)(u.Z,{sx:{fontSize:"20px",fontWeight:"bold"},children:e.title}),(0,a.jsx)(u.Z,{children:e.subTitle})]},e.type))})}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(h.Z,{sx:{margin:"30px auto"},children:["Name:",(0,a.jsx)(m.ZP,{placeholder:"Please input the name",onChange:e=>I(e.target.value),sx:{marginBottom:"20px"}}),"webPage"===p?(0,a.jsxs)(a.Fragment,{children:["Web Page URL:",(0,a.jsx)(m.ZP,{placeholder:"Please input the Web Page URL",onChange:e=>L(e.target.value)})]}):"file"===p?(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)(S,{name:"file",multiple:!1,beforeUpload:()=>!1,onChange(e){if(0===e.fileList.length){K(null),I("");return}K(e.file),I(e.file.name)},children:[(0,a.jsx)("p",{className:"ant-upload-drag-icon",children:(0,a.jsx)(n.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)(m.ZP,{placeholder:"Please input the text source",onChange:e=>V(e.target.value),sx:{marginBottom:"20px"}}),"Text:",(0,a.jsx)(j.Z,{onChange:e=>J(e.target.value),minRows:4,sx:{marginBottom:"20px"}})]}),(0,a.jsx)(b.ZP,{component:"label",sx:{marginTop:"20px"},endDecorator:(0,a.jsx)(P.Z,{checked:X,onChange:e=>Y(e.target.checked)}),children:"Synch:"})]}),(0,a.jsxs)(v.Z,{direction:"row",justifyContent:"flex-start",alignItems:"center",sx:{marginBottom:"20px"},children:[(0,a.jsx)(Z.Z,{variant:"outlined",sx:{marginRight:"20px"},onClick:()=>t(1),children:"< Back"}),(0,a.jsx)(Z.Z,{variant:"outlined",onClick:async()=>{if(""===U){x.ZP.error("Please input the name");return}if("webPage"===p){if(""===E){x.ZP.error("Please input the Web Page URL");return}let e=await (0,w.PR)("/knowledge/".concat(O,"/document/add"),{doc_name:U,content:E,doc_type:"URL"});e.success?(x.ZP.success("success"),_(!1),X&&(0,w.PR)("/knowledge/".concat(O,"/document/sync"),{doc_ids:[e.data]})):x.ZP.error(e.err_msg||"failed")}else if("file"===p){if(!G){x.ZP.error("Please select a file");return}let e=new FormData;e.append("doc_name",U),e.append("doc_file",G),e.append("doc_type","DOCUMENT");let i=await (0,w.Ej)("/knowledge/".concat(O,"/document/upload"),e);i.success?(x.ZP.success("success"),_(!1),X&&(0,w.PR)("/knowledge/".concat(O,"/document/sync"),{doc_ids:[i.data]})):x.ZP.error(i.err_msg||"failed")}else{if(""===H){x.ZP.error("Please input the text");return}let e=await (0,w.PR)("/knowledge/".concat(O,"/document/add"),{doc_name:U,source:$,content:H,doc_type:"TEXT"});e.success?(x.ZP.success("success"),_(!1),X&&(0,w.PR)("/knowledge/".concat(O,"/document/sync"),{doc_ids:[e.data]})):x.ZP.error(e.err_msg||"failed")}},children:"Finish"})]})]})]})}),(0,a.jsx)(f.Z,{open:q,onClose:()=>Q(!1),children:(0,a.jsxs)(y.Z,{variant:"outlined",role:"alertdialog","aria-labelledby":"alert-dialog-modal-title","aria-describedby":"alert-dialog-modal-description",children:[(0,a.jsx)(b.ZP,{id:"alert-dialog-modal-title",component:"h2",startDecorator:(0,a.jsx)(d.Z,{style:{color:"rgb(205, 32, 41)"}}),sx:{color:"black"},children:"Confirmation"}),(0,a.jsx)(D.Z,{}),(0,a.jsxs)(b.ZP,{id:"alert-dialog-modal-description",textColor:"text.tertiary",sx:{fontWeight:"500",color:"black"},children:["Sure to delete ",null==ee?void 0:ee.name,"?"]}),(0,a.jsxs)(h.Z,{sx:{display:"flex",gap:1,justifyContent:"flex-end",pt:2},children:[(0,a.jsx)(Z.Z,{variant:"outlined",color:"neutral",onClick:()=>Q(!1),children:"Cancel"}),(0,a.jsx)(Z.Z,{variant:"outlined",color:"danger",onClick:async()=>{Q(!1);let e=await (0,w.PR)("/knowledge/space/delete",{name:null==ee?void 0:ee.name});if(e.success){x.ZP.success("success");let e=await (0,w.PR)("/knowledge/space/list",{});e.success&&R(e.data)}else x.ZP.error(e.err_msg||"failed")},children:"Yes"})]})]})})]})}},53534:function(e,i,t){"use strict";var a=t(24214),r=t(52040);let o=a.Z.create({baseURL:r.env.API_BASE_URL});o.defaults.timeout=1e4,o.interceptors.response.use(e=>e.data,e=>Promise.reject(e)),i.Z=o},89749:function(e,i,t){"use strict";t.d(i,{Ej:function(){return p},Kw:function(){return c},PR:function(){return d},Tk:function(){return l}});var a=t(21628),r=t(53534),o=t(84835);let n={"content-type":"application/json"},s=e=>{if(!(0,o.isPlainObject)(e))return JSON.stringify(e);let i={...e};for(let e in i){let t=i[e];"string"==typeof t&&(i[e]=t.trim())}return JSON.stringify(i)},l=(e,i)=>{if(i){let t=Object.keys(i).filter(e=>void 0!==i[e]&&""!==i[e]).map(e=>"".concat(e,"=").concat(i[e])).join("&");t&&(e+="?".concat(t))}return r.Z.get("/api"+e,{headers:n}).then(e=>e).catch(e=>{a.ZP.error(e),Promise.reject(e)})},c=(e,i)=>{let t=s(i);return r.Z.post("/api"+e,{body:t,headers:n}).then(e=>e).catch(e=>{a.ZP.error(e),Promise.reject(e)})},d=(e,i)=>r.Z.post(e,i,{headers:n}).then(e=>e).catch(e=>{a.ZP.error(e),Promise.reject(e)}),p=(e,i)=>r.Z.post(e,i).then(e=>e).catch(e=>{a.ZP.error(e),Promise.reject(e)})}},function(e){e.O(0,[2180,2662,7487,8358,4344,6259,2606,5086,1630,3318,9253,5769,1744],function(){return e(e.s=66162)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/app/layout-48c874a19a5f6e05.js b/pilot/server/static/_next/static/chunks/app/layout-48c874a19a5f6e05.js new file mode 100644 index 000000000..1641a7034 --- /dev/null +++ b/pilot/server/static/_next/static/chunks/app/layout-48c874a19a5f6e05.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3185],{72431:function(){},91909:function(e,t,i){Promise.resolve().then(i.bind(i,51689))},57931:function(e,t,i){"use strict";i.d(t,{ZP:function(){return c},Cg:function(){return a}});var r=i(9268),n=i(89081),s=i(89749),l=i(86006);let[a,o]=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 c=e=>{let{children:t}=e,[i,a]=l.useState(!1),{run:c,data:d,refresh:h}=(0,n.Z)(async()=>await (0,s.Tk)("/v1/chat/dialogue/list"),{manual:!0});return(0,r.jsx)(o,{value:{isContract:i,dialogueList:d,setIsContract:a,queryDialogueList:c,refreshDialogList:h},children:t})}},51689:function(e,t,i){"use strict";let r,n;i.r(t),i.d(t,{default:function(){return ei}});var s=i(9268);i(97402),i(23517);var l=i(86006),a=i(56008),o=i(35846),c=i.n(o),d=i(67713),h=i(78635),u=i(18818),x=i(64521),f=i(68113),m=i(70092),p=i(64579),v=i(22046),j=i(53047),g=i(62921),b=i(90545),Z=i(53113),y=i(40020),w=i(18936),k=i(11515),C=i(84892),N=i(601),P=i(1301),_=i(98703),B=i(57931),S=i(66664),z=i(89749),D=i(76394),E=i.n(D),O=()=>{var e,t;let i=(0,a.usePathname)(),r=(0,a.useSearchParams)(),n=r.get("id"),o=(0,a.useRouter)(),[D,O]=(0,l.useState)("/LOGO_1.png"),{dialogueList:I,queryDialogueList:L,refreshDialogList:H,isContract:T}=(0,B.Cg)(),{mode:F,setMode:R}=(0,h.tv)(),A=(0,l.useMemo)(()=>[{label:"Database",route:"/database",icon:(0,s.jsx)(w.Z,{}),active:"/database"===i},{label:"Knowledge Space",route:"/datastores",icon:(0,s.jsx)(y.Z,{fontSize:"small"}),active:"/datastores"===i}],[i]),J=()=>{"light"===F?R("dark"):R("light")};return(0,l.useEffect)(()=>{"light"===F?O("/LOGO_1.png"):O("/WHITE_LOGO.png")},[F]),(0,l.useEffect)(()=>{(async()=>{await L()})()},[]),T?(0,s.jsxs)(u.Z,{className:"flex flex-col h-full",children:[(0,s.jsxs)(x.Z,{nested:!0,className:"h-full flex-1 overflow-auto",children:[(0,s.jsx)(f.Z,{children:"Dialogue"}),(0,s.jsx)(u.Z,{children:null==I?void 0:null===(e=I.data)||void 0===e?void 0:e.map(e=>{let t=("/chat"===i||"/chat/"===i)&&n===e.conv_uid;return(0,s.jsx)(x.Z,{children:(0,s.jsx)(m.Z,{selected:t,variant:t?"soft":"plain",sx:{"&:hover .del-btn":{visibility:"visible"}},children:(0,s.jsx)(p.Z,{children:(0,s.jsxs)(c(),{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)(v.ZP,{fontSize:14,noWrap:!0,children:[(0,s.jsx)(_.Z,{style:{marginRight:"0.5rem"}}),(null==e?void 0:e.user_name)||(null==e?void 0:e.user_input)||"undefined"]}),(0,s.jsx)(j.ZP,{color:"neutral",variant:"plain",size:"sm",onClick:t=>{t.preventDefault(),t.stopPropagation(),d.Z.confirm({title:"Delete Chat",content:"Are you sure delete this chat?",width:"276px",zIndex:1002,centered:!0,async onOk(){await (0,z.Kw)("/v1/chat/dialogue/delete?con_uid=".concat(e.conv_uid)),await H(),"/chat"===i&&r.get("id")===e.conv_uid&&o.push("/")}})},className:"del-btn invisible",children:(0,s.jsx)(S.Z,{})})]})})})},e.conv_uid)})})]}),(0,s.jsxs)(x.Z,{nested:!0,className:"h-32",sx:{borderTop:"1px solid",borderColor:"divider"},children:[(0,s.jsx)(f.Z,{children:"Others"}),(0,s.jsxs)(u.Z,{children:[A.map(e=>(0,s.jsx)(c(),{href:e.route,children:(0,s.jsx)(x.Z,{children:(0,s.jsxs)(m.Z,{color:"neutral",sx:{height:"2.5rem",fontSize:"14px"},selected:e.active,variant:e.active?"soft":"plain",children:[(0,s.jsx)(g.Z,{sx:{color:e.active?"inherit":"neutral.500",minInlineSize:"unset",marginRight:"0.5rem"},children:e.icon}),(0,s.jsx)(p.Z,{children:e.label})]})})},e.route)),(0,s.jsx)(x.Z,{children:(0,s.jsxs)(m.Z,{onClick:J,sx:{fontSize:"14px"},children:[(0,s.jsx)(g.Z,{sx:{minInlineSize:"unset",marginRight:"0.5rem"},children:"dark"===F?(0,s.jsx)(k.Z,{fontSize:"small"}):(0,s.jsx)(C.Z,{fontSize:"small"})}),(0,s.jsx)(p.Z,{children:"Theme"})]})})]})]})]}):(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)(N.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)(P.Z,{})})]}),(0,s.jsx)("nav",{className:"grid max-h-screen h-full max-md:hidden",children:(0,s.jsxs)(b.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)(b.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)(E(),{src:D,alt:"DB-GPT",width:633,height:157,className:"w-full max-w-full",unoptimized:!0})})}),(0,s.jsx)(b.Z,{sx:{px:2},children:(0,s.jsx)(c(),{href:"/",children:(0,s.jsx)(Z.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)(b.Z,{sx:{p:2,display:{xs:"none",sm:"initial"},maxHeight:"100%",overflow:"auto"},children:(0,s.jsx)(u.Z,{size:"sm",sx:{"--ListItem-radius":"8px"},children:(0,s.jsx)(x.Z,{nested:!0,children:(0,s.jsx)(u.Z,{size:"sm","aria-labelledby":"nav-list-browse",sx:{"& .JoyListItemButton-root":{p:"8px"},gap:"4px"},children:null==I?void 0:null===(t=I.data)||void 0===t?void 0:t.map(e=>{let t=("/chat"===i||"/chat/"===i)&&n===e.conv_uid;return(0,s.jsx)(x.Z,{children:(0,s.jsx)(m.Z,{selected:t,variant:t?"soft":"plain",sx:{"&:hover .del-btn":{visibility:"visible"}},children:(0,s.jsx)(p.Z,{children:(0,s.jsxs)(c(),{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)(v.ZP,{fontSize:14,noWrap:!0,children:[(0,s.jsx)(_.Z,{style:{marginRight:"0.5rem"}}),(null==e?void 0:e.user_name)||(null==e?void 0:e.user_input)||"undefined"]}),(0,s.jsx)(j.ZP,{color:"neutral",variant:"plain",size:"sm",onClick:t=>{t.preventDefault(),t.stopPropagation(),d.Z.confirm({title:"Delete Chat",content:"Are you sure delete this chat?",width:"276px",centered:!0,async onOk(){await (0,z.Kw)("/v1/chat/dialogue/delete?con_uid=".concat(e.conv_uid)),await H(),"/chat"===i&&r.get("id")===e.conv_uid&&o.push("/")}})},className:"del-btn invisible",children:(0,s.jsx)(S.Z,{})})]})})})},e.conv_uid)})})})})}),(0,s.jsxs)("div",{className:"flex flex-col justify-between flex-1",children:[(0,s.jsx)("div",{}),(0,s.jsx)(b.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)(u.Z,{size:"sm",sx:{"--ListItem-radius":"8px"},children:[(0,s.jsx)(x.Z,{nested:!0,children:(0,s.jsx)(u.Z,{size:"sm","aria-labelledby":"nav-list-browse",sx:{"& .JoyListItemButton-root":{p:"8px"}},children:A.map(e=>(0,s.jsx)(c(),{href:e.route,children:(0,s.jsx)(x.Z,{children:(0,s.jsxs)(m.Z,{color:"neutral",sx:{marginBottom:1,height:"2.5rem"},selected:e.active,variant:e.active?"soft":"plain",children:[(0,s.jsx)(g.Z,{sx:{color:e.active?"inherit":"neutral.500"},children:e.icon}),(0,s.jsx)(p.Z,{children:e.label})]})})},e.route))})}),(0,s.jsx)(x.Z,{children:(0,s.jsxs)(m.Z,{sx:{height:"2.5rem"},onClick:J,children:[(0,s.jsx)(g.Z,{children:"dark"===F?(0,s.jsx)(k.Z,{fontSize:"small"}):(0,s.jsx)(C.Z,{fontSize:"small"})}),(0,s.jsx)(p.Z,{children:"Theme"})]})})]})})]})]})})]})},I=i(29720),L=i(41287),H=i(38230);let T=(0,L.Z)({colorSchemes:{light:{palette:{mode:"dark",primary:{...H.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:{...H.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"}},zIndex:{modal:1001}});var F=i(53794),R=i.n(F),A=i(54486),J=i.n(A);let W=0;function G(){"loading"!==n&&(n="loading",r=setTimeout(function(){J().start()},250))}function K(){W>0||(n="stop",clearTimeout(r),J().done())}if(R().events.on("routeChangeStart",G),R().events.on("routeChangeComplete",K),R().events.on("routeChangeError",K),"function"==typeof(null==window?void 0:window.fetch)){let e=window.fetch;window.fetch=async function(){for(var t=arguments.length,i=Array(t),r=0;r{if((null==r?void 0:r.current)&&i){var e,t,n,s,l,a;null==r||null===(e=r.current)||void 0===e||null===(t=e.classList)||void 0===t||t.add(i),"light"===i?null==r||null===(n=r.current)||void 0===n||null===(s=n.classList)||void 0===s||s.remove("dark"):null==r||null===(l=r.current)||void 0===l||null===(a=l.classList)||void 0===a||a.remove("light")}},[r,i]),(0,s.jsxs)("div",{ref:r,className:"h-full",children:[(0,s.jsx)(M,{}),(0,s.jsx)(B.ZP,{children:t})]})}function et(e){let{children:t}=e,{isContract:i,setIsContract:r}=(0,B.Cg)(),[n,a]=l.useState(!1);return(0,s.jsxs)(s.Fragment,{children:[i?(0,s.jsxs)("div",{className:"grid h-full w-screen grid-rows-1 grid-cols-[auto,1fr] overflow-hidden text-smd dark:text-gray-300 md:grid-rows-[60px,1fr] md:grid-cols-[1fr]",children:[(0,s.jsxs)("div",{className:"border-[var(--joy-palette-divider)] bg-[#282828] text-[#f4f4f4] border-b border-solid flex items-center px-3 justify-between",children:[(0,s.jsx)(N.Z,{className:"cursor-pointer",onClick:()=>{a(!0)}}),(0,s.jsxs)("div",{className:"flex items-center cursor-pointer",onClick:()=>{r(!i)},children:[(0,s.jsx)($.Z,{style:{marginRight:"4px"}}),"Change Mode"]})]}),(0,s.jsx)("div",{className:"relative min-h-0 min-w-0",children:t})]}):(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)(O,{}),(0,s.jsx)("div",{className:"relative min-h-0 min-w-0",children:t})]}),(0,s.jsx)(V,{title:"DB-GPT",position:"left",open:n,onClose:()=>a(!1),children:(0,s.jsx)(O,{})})]})}var ei=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)(I.Z,{theme:T,children:(0,s.jsx)(h.lL,{theme:T,defaultMode:"light",children:(0,s.jsx)(ee,{children:(0,s.jsx)("div",{className:"contents h-full",children:(0,s.jsx)(et,{children:t})})})})})})})}},53534:function(e,t,i){"use strict";var r=i(24214),n=i(52040);let s=r.Z.create({baseURL:n.env.API_BASE_URL});s.defaults.timeout=1e4,s.interceptors.response.use(e=>e.data,e=>Promise.reject(e)),t.Z=s},89749:function(e,t,i){"use strict";i.d(t,{Ej:function(){return h},Kw:function(){return c},PR:function(){return d},Tk:function(){return o}});var r=i(21628),n=i(53534),s=i(84835);let l={"content-type":"application/json"},a=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)},o=(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.Z.get("/api"+e,{headers:l}).then(e=>e).catch(e=>{r.ZP.error(e),Promise.reject(e)})},c=(e,t)=>{let i=a(t);return n.Z.post("/api"+e,{body:i,headers:l}).then(e=>e).catch(e=>{r.ZP.error(e),Promise.reject(e)})},d=(e,t)=>n.Z.post(e,t,{headers:l}).then(e=>e).catch(e=>{r.ZP.error(e),Promise.reject(e)}),h=(e,t)=>n.Z.post(e,t).then(e=>e).catch(e=>{r.ZP.error(e),Promise.reject(e)})},97402:function(){},23517:function(){}},function(e){e.O(0,[2180,2662,7487,8358,1191,9081,6259,2606,6394,8635,7713,2657,8638,9253,5769,1744],function(){return e(e.s=91909)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/pilot/server/static/_next/static/chunks/app/page-c3848dc1e7320f8b.js b/pilot/server/static/_next/static/chunks/app/page-c3848dc1e7320f8b.js new file mode 100644 index 000000000..5d33973f5 --- /dev/null +++ b/pilot/server/static/_next/static/chunks/app/page-c3848dc1e7320f8b.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1931],{76906:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n.createSvgIcon}});var n=i(62793)},90545:function(e,t,i){"use strict";i.d(t,{Z:function(){return g}});var n=i(40431),r=i(46750),o=i(86006),a=i(73702),l=i(4323),s=i(51579),c=i(86601),u=i(95887),d=i(9268);let v=["className","component"];var f=i(47327),p=i(98918),h=i(8622);let m=function(e={}){let{themeId:t,defaultTheme:i,defaultClassName:f="MuiBox-root",generateClassName:p}=e,h=(0,l.ZP)("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(s.Z),m=o.forwardRef(function(e,o){let l=(0,u.Z)(i),s=(0,c.Z)(e),{className:m,component:g="div"}=s,Z=(0,r.Z)(s,v);return(0,d.jsx)(h,(0,n.Z)({as:g,ref:o,className:(0,a.Z)(m,p?p(f):f),theme:t&&l[t]||l},Z))});return m}({themeId:h.Z,defaultTheme:p.Z,defaultClassName:"MuiBox-root",generateClassName:f.Z.generate});var g=m},50318:function(e,t,i){"use strict";i.d(t,{Z:function(){return x}});var n=i(46750),r=i(40431),o=i(86006),a=i(89791),l=i(53832),s=i(47562),c=i(50645),u=i(88930),d=i(18587);function v(e){return(0,d.d6)("MuiDivider",e)}(0,d.sI)("MuiDivider",["root","horizontal","vertical","insetContext","insetNone"]);var f=i(326),p=i(9268);let h=["className","children","component","inset","orientation","role","slots","slotProps"],m=e=>{let{orientation:t,inset:i}=e,n={root:["root",t,i&&`inset${(0,l.Z)(i)}`]};return(0,s.Z)(n,v,{})},g=(0,c.Z)("hr",{name:"JoyDivider",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e,ownerState:t})=>(0,r.Z)({"--Divider-thickness":"1px","--Divider-lineColor":e.vars.palette.divider},"none"===t.inset&&{"--_Divider-inset":"0px"},"context"===t.inset&&{"--_Divider-inset":"var(--Divider-inset, 0px)"},{margin:"initial",marginInline:"vertical"===t.orientation?"initial":"var(--_Divider-inset)",marginBlock:"vertical"===t.orientation?"var(--_Divider-inset)":"initial",position:"relative",alignSelf:"stretch",flexShrink:0},t.children?{"--Divider-gap":e.spacing(1),"--Divider-childPosition":"50%",display:"flex",flexDirection:"vertical"===t.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"===t.orientation?"var(--Divider-thickness)":"initial",blockSize:"vertical"===t.orientation?"initial":"var(--Divider-thickness)",backgroundColor:"var(--Divider-lineColor)",content:'""'},"&::before":{marginInlineEnd:"vertical"===t.orientation?"initial":"min(var(--Divider-childPosition) * 999, var(--Divider-gap))",marginBlockEnd:"vertical"===t.orientation?"min(var(--Divider-childPosition) * 999, var(--Divider-gap))":"initial",flexBasis:"var(--Divider-childPosition)"},"&::after":{marginInlineStart:"vertical"===t.orientation?"initial":"min((100% - var(--Divider-childPosition)) * 999, var(--Divider-gap))",marginBlockStart:"vertical"===t.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"===t.orientation?"var(--Divider-thickness)":"initial",blockSize:"vertical"===t.orientation?"initial":"var(--Divider-thickness)"})),Z=o.forwardRef(function(e,t){let i=(0,u.Z)({props:e,name:"JoyDivider"}),{className:o,children:l,component:s=null!=l?"div":"hr",inset:c,orientation:d="horizontal",role:v="hr"!==s?"separator":void 0,slots:Z={},slotProps:x={}}=i,y=(0,n.Z)(i,h),b=(0,r.Z)({},i,{inset:c,role:v,orientation:d,component:s}),j=m(b),P=(0,r.Z)({},y,{component:s,slots:Z,slotProps:x}),[D,w]=(0,f.Z)("root",{ref:t,className:(0,a.Z)(j.root,o),elementType:g,externalForwardedProps:P,ownerState:b,additionalProps:(0,r.Z)({as:s,role:v},"separator"===v&&"vertical"===d&&{"aria-orientation":"vertical"})});return(0,p.jsx)(D,(0,r.Z)({},w,{children:l}))});Z.muiName="Divider";var x=Z},62793:function(e,t,i){"use strict";i.r(t),i.d(t,{capitalize:function(){return r.Z},createChainedFunction:function(){return o},createSvgIcon:function(){return a.Z},debounce:function(){return l},deprecatedPropType:function(){return s},isMuiElement:function(){return c},ownerDocument:function(){return u},ownerWindow:function(){return d},requirePropFactory:function(){return v},setRef:function(){return f},unstable_ClassNameGenerator:function(){return b},unstable_useEnhancedEffect:function(){return p},unstable_useId:function(){return h},unsupportedProp:function(){return m},useControlled:function(){return g},useEventCallback:function(){return Z},useForkRef:function(){return x},useIsFocusVisible:function(){return y}});var n=i(47327),r=i(78473),o=function(...e){return e.reduce((e,t)=>null==t?e:function(...i){e.apply(this,i),t.apply(this,i)},()=>{})},a=i(82005),l=i(22099).Z,s=function(e,t){return()=>null},c=i(44542).Z,u=i(47375).Z,d=i(30165).Z;i(40431);var v=function(e,t){return()=>null},f=i(65464).Z,p=i(11059).Z,h=i(49657).Z,m=function(e,t,i,n,r){return null},g=i(24263).Z,Z=i(66519).Z,x=i(99179).Z,y=i(21454).Z;let b={configure:e=>{n.Z.configure(e)}}},86601:function(e,t,i){"use strict";i.d(t,{Z:function(){return c}});var n=i(40431),r=i(46750),o=i(95135),a=i(2272);let l=["sx"],s=e=>{var t,i;let n={systemProps:{},otherProps:{}},r=null!=(t=null==e||null==(i=e.theme)?void 0:i.unstable_sxConfig)?t:a.Z;return Object.keys(e).forEach(t=>{r[t]?n.systemProps[t]=e[t]:n.otherProps[t]=e[t]}),n};function c(e){let t;let{sx:i}=e,a=(0,r.Z)(e,l),{systemProps:c,otherProps:u}=s(a);return t=Array.isArray(i)?[c,...i]:"function"==typeof i?(...e)=>{let t=i(...e);return(0,o.P)(t)?(0,n.Z)({},c,t):c}:(0,n.Z)({},c,i),(0,n.Z)({},u,{sx:t})}},22099:function(e,t,i){"use strict";function n(e,t=166){let i;function n(...r){clearTimeout(i),i=setTimeout(()=>{e.apply(this,r)},t)}return n.clear=()=>{clearTimeout(i)},n}i.d(t,{Z:function(){return n}})},30165:function(e,t,i){"use strict";i.d(t,{Z:function(){return r}});var n=i(47375);function r(e){let t=(0,n.Z)(e);return t.defaultView||window}},20736:function(e,t,i){Promise.resolve().then(i.bind(i,93768))},93768:function(e,t,i){"use strict";i.r(t);var n=i(9268),r=i(89081),o=i(86006),a=i(50318),l=i(90545),s=i(77614),c=i(53113),u=i(35086),d=i(53047),v=i(54842),f=i(67830),p=i(19700),h=i(92391),m=i(89749),g=i(56008),Z=i(76394),x=i.n(Z);t.default=function(){var e;let t=h.z.object({query:h.z.string().min(1)}),i=(0,g.useRouter)(),[Z,y]=(0,o.useState)(!1),b=(0,p.cI)({resolver:(0,f.F)(t),defaultValues:{}}),{data:j}=(0,r.Z)(async()=>await (0,m.Kw)("/v1/chat/dialogue/scenes")),P=async e=>{let{query:t}=e;try{var n,r;y(!0),b.reset();let e=await (0,m.Kw)("/v1/chat/dialogue/new",{chat_mode:"chat_normal"});(null==e?void 0:e.success)&&(null==e?void 0:null===(n=e.data)||void 0===n?void 0:n.conv_uid)&&i.push("/chat?id=".concat(null==e?void 0:null===(r=e.data)||void 0===r?void 0:r.conv_uid,"&initMessage=").concat(t))}catch(e){}finally{y(!1)}};return(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("div",{className:"mx-auto h-full justify-center flex max-w-3xl flex-col gap-8 px-5 pt-6",children:[(0,n.jsx)("div",{className:"my-0 mx-auto",children:(0,n.jsx)(x(),{src:"/LOGO.png",alt:"Revolutionizing Database Interactions with Private LLM Technology",width:856,height:160,className:"w-full",unoptimized:!0})}),(0,n.jsx)("div",{className:"grid gap-8 lg:grid-cols-3",children:(0,n.jsxs)("div",{className:"lg:col-span-3",children:[(0,n.jsx)(a.Z,{className:"text-[#878c93]",children:"Quick Start"}),(0,n.jsx)(l.Z,{className:"grid pt-7 rounded-xl gap-2 lg:grid-cols-3 lg:gap-6",sx:{["& .".concat(s.Z.root)]:{color:"var(--joy-palette-primary-solidColor)",backgroundColor:"var(--joy-palette-primary-solidBg)",height:"52px","&: hover":{backgroundColor:"var(--joy-palette-primary-solidHoverBg)"}},["& .".concat(s.Z.disabled)]:{cursor:"not-allowed",pointerEvents:"unset",color:"var(--joy-palette-primary-plainColor)",backgroundColor:"var(--joy-palette-primary-softDisabledBg)","&: hover":{backgroundColor:"var(--joy-palette-primary-softDisabledBg)"}}},children:null==j?void 0:null===(e=j.data)||void 0===e?void 0:e.map(e=>(0,n.jsx)(c.Z,{disabled:null==e?void 0:e.show_disable,size:"md",variant:"solid",className:"text-base rounded-none",onClick:async()=>{var t,n;let r=await (0,m.Kw)("/v1/chat/dialogue/new",{chat_mode:e.chat_scene});(null==r?void 0:r.success)&&(null==r?void 0:null===(t=r.data)||void 0===t?void 0:t.conv_uid)&&i.push("/chat?id=".concat(null==r?void 0:null===(n=r.data)||void 0===n?void 0:n.conv_uid,"&scene=").concat(e.chat_scene))},children:e.scene_name},e.chat_scene))})]})}),(0,n.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,n.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=>{b.handleSubmit(P)(e)},children:(0,n.jsx)(u.ZP,{sx:{width:"100%"},variant:"outlined",placeholder:"Ask anything",endDecorator:(0,n.jsx)(d.ZP,{type:"submit",disabled:Z,children:(0,n.jsx)(v.Z,{})}),...b.register("query")})})})]})})}},53534:function(e,t,i){"use strict";var n=i(24214),r=i(52040);let o=n.Z.create({baseURL:r.env.API_BASE_URL});o.defaults.timeout=1e4,o.interceptors.response.use(e=>e.data,e=>Promise.reject(e)),t.Z=o},89749:function(e,t,i){"use strict";i.d(t,{Ej:function(){return d},Kw:function(){return c},PR:function(){return u},Tk:function(){return s}});var n=i(21628),r=i(53534),o=i(84835);let a={"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)},s=(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 r.Z.get("/api"+e,{headers:a}).then(e=>e).catch(e=>{n.ZP.error(e),Promise.reject(e)})},c=(e,t)=>{let i=l(t);return r.Z.post("/api"+e,{body:i,headers:a}).then(e=>e).catch(e=>{n.ZP.error(e),Promise.reject(e)})},u=(e,t)=>r.Z.post(e,t,{headers:a}).then(e=>e).catch(e=>{n.ZP.error(e),Promise.reject(e)}),d=(e,t)=>r.Z.post(e,t).then(e=>e).catch(e=>{n.ZP.error(e),Promise.reject(e)})},56008:function(e,t,i){e.exports=i(30794)},78997:function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},73702:function(e,t,i){"use strict";t.Z=function(){for(var e,t,i=0,n="";i \ 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 bb2f398cd..d42b1b482 100644 --- a/pilot/server/static/chat/index.txt +++ b/pilot/server/static/chat/index.txt @@ -1,10 +1,10 @@ 1:HL["/_next/static/css/e86c9be39f610690.css",{"as":"style"}] -0:["yA4tI-2mGxp7JeeGVHPYX",[[["",{"children":["chat",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],"$L2",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/e86c9be39f610690.css","precedence":"next"}]],["$L3",null]]]]] +0:["Gu4-qD_TOa_w-MTIPzoiR",[[["",{"children":["chat",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],"$L2",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/e86c9be39f610690.css","precedence":"next"}]],["$L3",null]]]]] 4:HL["/_next/static/css/ec9df88ad6669611.css",{"as":"style"}] -5:I{"id":"51689","chunks":["2180:static/chunks/0e02fca3-fd0318c0bbb142cf.js","4518:static/chunks/4518-7e23702392053cb5.js","7487:static/chunks/7487-8fae47a73361b2a8.js","8358:static/chunks/8358-006db8314e7f90e6.js","1191:static/chunks/1191-6ed6367cd2d09bb9.js","9081:static/chunks/9081-1a7a8d34754e88a0.js","6259:static/chunks/6259-1223c65658c5b56f.js","2606:static/chunks/2606-54d96c1f331d01f9.js","6394:static/chunks/6394-7070e0aaab5f2d3a.js","8635:static/chunks/8635-e40959f5023df021.js","7713:static/chunks/7713-ba1d39a85621df0a.js","2657:static/chunks/2657-e46086fdcd61f7cb.js","8638:static/chunks/8638-2f5e2000cb136650.js","3185:static/chunks/app/layout-0de45730ace296d1.js"],"name":"","async":false} +5:I{"id":"51689","chunks":["2180:static/chunks/0e02fca3-fd0318c0bbb142cf.js","2662:static/chunks/2662-2fa1e0a9a375836b.js","7487:static/chunks/7487-8fae47a73361b2a8.js","8358:static/chunks/8358-006db8314e7f90e6.js","1191:static/chunks/1191-7c19fe87ec12a6a3.js","9081:static/chunks/9081-1a7a8d34754e88a0.js","6259:static/chunks/6259-1223c65658c5b56f.js","2606:static/chunks/2606-54d96c1f331d01f9.js","6394:static/chunks/6394-7070e0aaab5f2d3a.js","8635:static/chunks/8635-e40959f5023df021.js","7713:static/chunks/7713-ba1d39a85621df0a.js","2657:static/chunks/2657-e46086fdcd61f7cb.js","8638:static/chunks/8638-2f5e2000cb136650.js","3185:static/chunks/app/layout-48c874a19a5f6e05.js"],"name":"","async":false} 6:I{"id":"13211","chunks":["2272:static/chunks/webpack-c2811450a636ab98.js","9253:static/chunks/bce60fc1-7faba1922cfb2a57.js","5769:static/chunks/5769-89d205915588ae01.js"],"name":"","async":false} 7:I{"id":"5767","chunks":["2272:static/chunks/webpack-c2811450a636ab98.js","9253:static/chunks/bce60fc1-7faba1922cfb2a57.js","5769:static/chunks/5769-89d205915588ae01.js"],"name":"","async":false} 8:I{"id":"37396","chunks":["2272:static/chunks/webpack-c2811450a636ab98.js","9253:static/chunks/bce60fc1-7faba1922cfb2a57.js","5769:static/chunks/5769-89d205915588ae01.js"],"name":"","async":false} -9:I{"id":"11453","chunks":["2180:static/chunks/0e02fca3-fd0318c0bbb142cf.js","7991:static/chunks/622c0659-3c9696626cce0028.js","5757:static/chunks/f60284a2-52a62effdbb5a3dd.js","7282:static/chunks/7e4358a0-84b1a1bdb5d5f6dd.js","4518:static/chunks/4518-7e23702392053cb5.js","7487:static/chunks/7487-8fae47a73361b2a8.js","8358:static/chunks/8358-006db8314e7f90e6.js","4344:static/chunks/4344-506143d50e8cae48.js","1191:static/chunks/1191-6ed6367cd2d09bb9.js","9081:static/chunks/9081-1a7a8d34754e88a0.js","6259:static/chunks/6259-1223c65658c5b56f.js","2569:static/chunks/2569-06bcde13edea6c6d.js","2606:static/chunks/2606-54d96c1f331d01f9.js","5086:static/chunks/5086-983fa7352852bb4a.js","1630:static/chunks/1630-50ebd41889c930a9.js","1767:static/chunks/1767-95ebb5075453e360.js","4341:static/chunks/4341-bd4289adcfa8584c.js","1506:static/chunks/1506-6a768872dc5b4f91.js","7746:static/chunks/7746-c386d3790bf96ffb.js","2657:static/chunks/2657-e46086fdcd61f7cb.js","1160:static/chunks/1160-f112d2a6d43c53fb.js","1929:static/chunks/app/chat/page-fccf457e30cad257.js"],"name":"","async":false} +9:I{"id":"11453","chunks":["2180:static/chunks/0e02fca3-fd0318c0bbb142cf.js","7991:static/chunks/622c0659-3c9696626cce0028.js","5757:static/chunks/f60284a2-52a62effdbb5a3dd.js","7282:static/chunks/7e4358a0-84b1a1bdb5d5f6dd.js","2662:static/chunks/2662-2fa1e0a9a375836b.js","7487:static/chunks/7487-8fae47a73361b2a8.js","8358:static/chunks/8358-006db8314e7f90e6.js","4344:static/chunks/4344-506143d50e8cae48.js","1191:static/chunks/1191-7c19fe87ec12a6a3.js","9081:static/chunks/9081-1a7a8d34754e88a0.js","6259:static/chunks/6259-1223c65658c5b56f.js","2569:static/chunks/2569-06bcde13edea6c6d.js","2606:static/chunks/2606-54d96c1f331d01f9.js","5086:static/chunks/5086-983fa7352852bb4a.js","1630:static/chunks/1630-50ebd41889c930a9.js","1767:static/chunks/1767-95ebb5075453e360.js","4341:static/chunks/4341-bd4289adcfa8584c.js","1506:static/chunks/1506-6a768872dc5b4f91.js","7746:static/chunks/7746-c386d3790bf96ffb.js","2657:static/chunks/2657-e46086fdcd61f7cb.js","1160:static/chunks/1160-f112d2a6d43c53fb.js","1929:static/chunks/app/chat/page-bd8d42093551dba8.js"],"name":"","async":false} 2:[["$","$L5",null,{"children":["$","$L6",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"template":["$","$L7",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L6",null,{"parallelRouterKey":"children","segmentPath":["children","chat","children"],"error":"$undefined","errorStyles":"$undefined","loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"template":["$","$L7",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":[["$","$L8",null,{"propsForComponent":{"params":{}},"Component":"$9"}],null],"segment":"__PAGE__"},"styles":[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/ec9df88ad6669611.css","precedence":"next"}]]}],"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/database/index.html b/pilot/server/static/database/index.html index 97208126e..5ec5696cd 100644 --- a/pilot/server/static/database/index.html +++ b/pilot/server/static/database/index.html @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/pilot/server/static/database/index.txt b/pilot/server/static/database/index.txt index ba15fd378..ccce37b22 100644 --- a/pilot/server/static/database/index.txt +++ b/pilot/server/static/database/index.txt @@ -1,9 +1,9 @@ 1:HL["/_next/static/css/e86c9be39f610690.css",{"as":"style"}] -0:["yA4tI-2mGxp7JeeGVHPYX",[[["",{"children":["database",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],"$L2",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/e86c9be39f610690.css","precedence":"next"}]],["$L3",null]]]]] -4:I{"id":"51689","chunks":["2180:static/chunks/0e02fca3-fd0318c0bbb142cf.js","4518:static/chunks/4518-7e23702392053cb5.js","7487:static/chunks/7487-8fae47a73361b2a8.js","8358:static/chunks/8358-006db8314e7f90e6.js","1191:static/chunks/1191-6ed6367cd2d09bb9.js","9081:static/chunks/9081-1a7a8d34754e88a0.js","6259:static/chunks/6259-1223c65658c5b56f.js","2606:static/chunks/2606-54d96c1f331d01f9.js","6394:static/chunks/6394-7070e0aaab5f2d3a.js","8635:static/chunks/8635-e40959f5023df021.js","7713:static/chunks/7713-ba1d39a85621df0a.js","2657:static/chunks/2657-e46086fdcd61f7cb.js","8638:static/chunks/8638-2f5e2000cb136650.js","3185:static/chunks/app/layout-0de45730ace296d1.js"],"name":"","async":false} +0:["Gu4-qD_TOa_w-MTIPzoiR",[[["",{"children":["database",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],"$L2",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/e86c9be39f610690.css","precedence":"next"}]],["$L3",null]]]]] +4:I{"id":"51689","chunks":["2180:static/chunks/0e02fca3-fd0318c0bbb142cf.js","2662:static/chunks/2662-2fa1e0a9a375836b.js","7487:static/chunks/7487-8fae47a73361b2a8.js","8358:static/chunks/8358-006db8314e7f90e6.js","1191:static/chunks/1191-7c19fe87ec12a6a3.js","9081:static/chunks/9081-1a7a8d34754e88a0.js","6259:static/chunks/6259-1223c65658c5b56f.js","2606:static/chunks/2606-54d96c1f331d01f9.js","6394:static/chunks/6394-7070e0aaab5f2d3a.js","8635:static/chunks/8635-e40959f5023df021.js","7713:static/chunks/7713-ba1d39a85621df0a.js","2657:static/chunks/2657-e46086fdcd61f7cb.js","8638:static/chunks/8638-2f5e2000cb136650.js","3185:static/chunks/app/layout-48c874a19a5f6e05.js"],"name":"","async":false} 5:I{"id":"13211","chunks":["2272:static/chunks/webpack-c2811450a636ab98.js","9253:static/chunks/bce60fc1-7faba1922cfb2a57.js","5769:static/chunks/5769-89d205915588ae01.js"],"name":"","async":false} 6:I{"id":"5767","chunks":["2272:static/chunks/webpack-c2811450a636ab98.js","9253:static/chunks/bce60fc1-7faba1922cfb2a57.js","5769:static/chunks/5769-89d205915588ae01.js"],"name":"","async":false} 7:I{"id":"37396","chunks":["2272:static/chunks/webpack-c2811450a636ab98.js","9253:static/chunks/bce60fc1-7faba1922cfb2a57.js","5769:static/chunks/5769-89d205915588ae01.js"],"name":"","async":false} -8:I{"id":"4121","chunks":["2180:static/chunks/0e02fca3-fd0318c0bbb142cf.js","4518:static/chunks/4518-7e23702392053cb5.js","7487:static/chunks/7487-8fae47a73361b2a8.js","8358:static/chunks/8358-006db8314e7f90e6.js","4344:static/chunks/4344-506143d50e8cae48.js","1191:static/chunks/1191-6ed6367cd2d09bb9.js","9081:static/chunks/9081-1a7a8d34754e88a0.js","6259:static/chunks/6259-1223c65658c5b56f.js","2569:static/chunks/2569-06bcde13edea6c6d.js","6394:static/chunks/6394-7070e0aaab5f2d3a.js","9743:static/chunks/9743-c387e29b19a10bcf.js","1506:static/chunks/1506-6a768872dc5b4f91.js","7713:static/chunks/7713-ba1d39a85621df0a.js","8656:static/chunks/8656-01bc430529fc05eb.js","8504:static/chunks/app/database/page-196052f9a84bfc36.js"],"name":"","async":false} +8:I{"id":"4121","chunks":["2180:static/chunks/0e02fca3-fd0318c0bbb142cf.js","2662:static/chunks/2662-2fa1e0a9a375836b.js","7487:static/chunks/7487-8fae47a73361b2a8.js","8358:static/chunks/8358-006db8314e7f90e6.js","4344:static/chunks/4344-506143d50e8cae48.js","1191:static/chunks/1191-7c19fe87ec12a6a3.js","9081:static/chunks/9081-1a7a8d34754e88a0.js","6259:static/chunks/6259-1223c65658c5b56f.js","2569:static/chunks/2569-06bcde13edea6c6d.js","6394:static/chunks/6394-7070e0aaab5f2d3a.js","9743:static/chunks/9743-c387e29b19a10bcf.js","1506:static/chunks/1506-6a768872dc5b4f91.js","7713:static/chunks/7713-ba1d39a85621df0a.js","8656:static/chunks/8656-01bc430529fc05eb.js","8504:static/chunks/app/database/page-72733593bef9b377.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","database","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":"database"},"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 b41419556..922625252 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 c9be30c9e..756020143 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/e86c9be39f610690.css",{"as":"style"}] -0:["yA4tI-2mGxp7JeeGVHPYX",[[["",{"children":["datastores",{"children":["documents",{"children":["chunklist",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],"$L2",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/e86c9be39f610690.css","precedence":"next"}]],["$L3",null]]]]] -4:I{"id":"51689","chunks":["2180:static/chunks/0e02fca3-fd0318c0bbb142cf.js","4518:static/chunks/4518-7e23702392053cb5.js","7487:static/chunks/7487-8fae47a73361b2a8.js","8358:static/chunks/8358-006db8314e7f90e6.js","1191:static/chunks/1191-6ed6367cd2d09bb9.js","9081:static/chunks/9081-1a7a8d34754e88a0.js","6259:static/chunks/6259-1223c65658c5b56f.js","2606:static/chunks/2606-54d96c1f331d01f9.js","6394:static/chunks/6394-7070e0aaab5f2d3a.js","8635:static/chunks/8635-e40959f5023df021.js","7713:static/chunks/7713-ba1d39a85621df0a.js","2657:static/chunks/2657-e46086fdcd61f7cb.js","8638:static/chunks/8638-2f5e2000cb136650.js","3185:static/chunks/app/layout-0de45730ace296d1.js"],"name":"","async":false} +0:["Gu4-qD_TOa_w-MTIPzoiR",[[["",{"children":["datastores",{"children":["documents",{"children":["chunklist",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],"$L2",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/e86c9be39f610690.css","precedence":"next"}]],["$L3",null]]]]] +4:I{"id":"51689","chunks":["2180:static/chunks/0e02fca3-fd0318c0bbb142cf.js","2662:static/chunks/2662-2fa1e0a9a375836b.js","7487:static/chunks/7487-8fae47a73361b2a8.js","8358:static/chunks/8358-006db8314e7f90e6.js","1191:static/chunks/1191-7c19fe87ec12a6a3.js","9081:static/chunks/9081-1a7a8d34754e88a0.js","6259:static/chunks/6259-1223c65658c5b56f.js","2606:static/chunks/2606-54d96c1f331d01f9.js","6394:static/chunks/6394-7070e0aaab5f2d3a.js","8635:static/chunks/8635-e40959f5023df021.js","7713:static/chunks/7713-ba1d39a85621df0a.js","2657:static/chunks/2657-e46086fdcd61f7cb.js","8638:static/chunks/8638-2f5e2000cb136650.js","3185:static/chunks/app/layout-48c874a19a5f6e05.js"],"name":"","async":false} 5:I{"id":"13211","chunks":["2272:static/chunks/webpack-c2811450a636ab98.js","9253:static/chunks/bce60fc1-7faba1922cfb2a57.js","5769:static/chunks/5769-89d205915588ae01.js"],"name":"","async":false} 6:I{"id":"5767","chunks":["2272:static/chunks/webpack-c2811450a636ab98.js","9253:static/chunks/bce60fc1-7faba1922cfb2a57.js","5769:static/chunks/5769-89d205915588ae01.js"],"name":"","async":false} 7:I{"id":"37396","chunks":["2272:static/chunks/webpack-c2811450a636ab98.js","9253:static/chunks/bce60fc1-7faba1922cfb2a57.js","5769:static/chunks/5769-89d205915588ae01.js"],"name":"","async":false} -8:I{"id":"26257","chunks":["2180:static/chunks/0e02fca3-fd0318c0bbb142cf.js","4518:static/chunks/4518-7e23702392053cb5.js","8358:static/chunks/8358-006db8314e7f90e6.js","4344:static/chunks/4344-506143d50e8cae48.js","1191:static/chunks/1191-6ed6367cd2d09bb9.js","2569:static/chunks/2569-06bcde13edea6c6d.js","9743:static/chunks/9743-c387e29b19a10bcf.js","1767:static/chunks/1767-95ebb5075453e360.js","8635:static/chunks/8635-e40959f5023df021.js","5548:static/chunks/5548-48ee10d7c4db91de.js","4538:static/chunks/app/datastores/documents/chunklist/page-338f0d33a4bd4e5b.js"],"name":"","async":false} +8:I{"id":"26257","chunks":["2180:static/chunks/0e02fca3-fd0318c0bbb142cf.js","2662:static/chunks/2662-2fa1e0a9a375836b.js","8358:static/chunks/8358-006db8314e7f90e6.js","4344:static/chunks/4344-506143d50e8cae48.js","1191:static/chunks/1191-7c19fe87ec12a6a3.js","2569:static/chunks/2569-06bcde13edea6c6d.js","9743:static/chunks/9743-c387e29b19a10bcf.js","1767:static/chunks/1767-95ebb5075453e360.js","8635:static/chunks/8635-e40959f5023df021.js","5548:static/chunks/5548-48ee10d7c4db91de.js","4538:static/chunks/app/datastores/documents/chunklist/page-6f077c687d3aab06.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 5d4d6cf1e..394d24b0f 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 5010a7275..6b383180c 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/e86c9be39f610690.css",{"as":"style"}] -0:["yA4tI-2mGxp7JeeGVHPYX",[[["",{"children":["datastores",{"children":["documents",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],"$L2",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/e86c9be39f610690.css","precedence":"next"}]],["$L3",null]]]]] -4:I{"id":"51689","chunks":["2180:static/chunks/0e02fca3-fd0318c0bbb142cf.js","4518:static/chunks/4518-7e23702392053cb5.js","7487:static/chunks/7487-8fae47a73361b2a8.js","8358:static/chunks/8358-006db8314e7f90e6.js","1191:static/chunks/1191-6ed6367cd2d09bb9.js","9081:static/chunks/9081-1a7a8d34754e88a0.js","6259:static/chunks/6259-1223c65658c5b56f.js","2606:static/chunks/2606-54d96c1f331d01f9.js","6394:static/chunks/6394-7070e0aaab5f2d3a.js","8635:static/chunks/8635-e40959f5023df021.js","7713:static/chunks/7713-ba1d39a85621df0a.js","2657:static/chunks/2657-e46086fdcd61f7cb.js","8638:static/chunks/8638-2f5e2000cb136650.js","3185:static/chunks/app/layout-0de45730ace296d1.js"],"name":"","async":false} +0:["Gu4-qD_TOa_w-MTIPzoiR",[[["",{"children":["datastores",{"children":["documents",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],"$L2",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/e86c9be39f610690.css","precedence":"next"}]],["$L3",null]]]]] +4:I{"id":"51689","chunks":["2180:static/chunks/0e02fca3-fd0318c0bbb142cf.js","2662:static/chunks/2662-2fa1e0a9a375836b.js","7487:static/chunks/7487-8fae47a73361b2a8.js","8358:static/chunks/8358-006db8314e7f90e6.js","1191:static/chunks/1191-7c19fe87ec12a6a3.js","9081:static/chunks/9081-1a7a8d34754e88a0.js","6259:static/chunks/6259-1223c65658c5b56f.js","2606:static/chunks/2606-54d96c1f331d01f9.js","6394:static/chunks/6394-7070e0aaab5f2d3a.js","8635:static/chunks/8635-e40959f5023df021.js","7713:static/chunks/7713-ba1d39a85621df0a.js","2657:static/chunks/2657-e46086fdcd61f7cb.js","8638:static/chunks/8638-2f5e2000cb136650.js","3185:static/chunks/app/layout-48c874a19a5f6e05.js"],"name":"","async":false} 5:I{"id":"13211","chunks":["2272:static/chunks/webpack-c2811450a636ab98.js","9253:static/chunks/bce60fc1-7faba1922cfb2a57.js","5769:static/chunks/5769-89d205915588ae01.js"],"name":"","async":false} 6:I{"id":"5767","chunks":["2272:static/chunks/webpack-c2811450a636ab98.js","9253:static/chunks/bce60fc1-7faba1922cfb2a57.js","5769:static/chunks/5769-89d205915588ae01.js"],"name":"","async":false} 7:I{"id":"37396","chunks":["2272:static/chunks/webpack-c2811450a636ab98.js","9253:static/chunks/bce60fc1-7faba1922cfb2a57.js","5769:static/chunks/5769-89d205915588ae01.js"],"name":"","async":false} -8:I{"id":"87278","chunks":["2180:static/chunks/0e02fca3-fd0318c0bbb142cf.js","4550:static/chunks/925f3d25-783f9f38cc865d95.js","4518:static/chunks/4518-7e23702392053cb5.js","7487:static/chunks/7487-8fae47a73361b2a8.js","8358:static/chunks/8358-006db8314e7f90e6.js","4344:static/chunks/4344-506143d50e8cae48.js","1191:static/chunks/1191-6ed6367cd2d09bb9.js","9081:static/chunks/9081-1a7a8d34754e88a0.js","6259:static/chunks/6259-1223c65658c5b56f.js","2569:static/chunks/2569-06bcde13edea6c6d.js","2606:static/chunks/2606-54d96c1f331d01f9.js","6394:static/chunks/6394-7070e0aaab5f2d3a.js","5086:static/chunks/5086-983fa7352852bb4a.js","9743:static/chunks/9743-c387e29b19a10bcf.js","1630:static/chunks/1630-50ebd41889c930a9.js","1767:static/chunks/1767-95ebb5075453e360.js","8635:static/chunks/8635-e40959f5023df021.js","7746:static/chunks/7746-c386d3790bf96ffb.js","5548:static/chunks/5548-48ee10d7c4db91de.js","3318:static/chunks/3318-80ebf179691127d0.js","8582:static/chunks/8582-c8bcc62f5b0aabc2.js","1470:static/chunks/app/datastores/documents/page-624fdbee548f08f1.js"],"name":"","async":false} +8:I{"id":"87278","chunks":["2180:static/chunks/0e02fca3-fd0318c0bbb142cf.js","4550:static/chunks/925f3d25-783f9f38cc865d95.js","2662:static/chunks/2662-2fa1e0a9a375836b.js","7487:static/chunks/7487-8fae47a73361b2a8.js","8358:static/chunks/8358-006db8314e7f90e6.js","4344:static/chunks/4344-506143d50e8cae48.js","1191:static/chunks/1191-7c19fe87ec12a6a3.js","9081:static/chunks/9081-1a7a8d34754e88a0.js","6259:static/chunks/6259-1223c65658c5b56f.js","2569:static/chunks/2569-06bcde13edea6c6d.js","2606:static/chunks/2606-54d96c1f331d01f9.js","6394:static/chunks/6394-7070e0aaab5f2d3a.js","5086:static/chunks/5086-983fa7352852bb4a.js","9743:static/chunks/9743-c387e29b19a10bcf.js","1630:static/chunks/1630-50ebd41889c930a9.js","1767:static/chunks/1767-95ebb5075453e360.js","8635:static/chunks/8635-e40959f5023df021.js","7746:static/chunks/7746-c386d3790bf96ffb.js","5548:static/chunks/5548-48ee10d7c4db91de.js","3318:static/chunks/3318-80ebf179691127d0.js","8582:static/chunks/8582-c8bcc62f5b0aabc2.js","1470:static/chunks/app/datastores/documents/page-2a23f8eeb08f61ac.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 f335ea2fb..c33119941 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 5c171b68d..affba2d14 100644 --- a/pilot/server/static/datastores/index.txt +++ b/pilot/server/static/datastores/index.txt @@ -1,9 +1,9 @@ 1:HL["/_next/static/css/e86c9be39f610690.css",{"as":"style"}] -0:["yA4tI-2mGxp7JeeGVHPYX",[[["",{"children":["datastores",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],"$L2",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/e86c9be39f610690.css","precedence":"next"}]],["$L3",null]]]]] -4:I{"id":"51689","chunks":["2180:static/chunks/0e02fca3-fd0318c0bbb142cf.js","4518:static/chunks/4518-7e23702392053cb5.js","7487:static/chunks/7487-8fae47a73361b2a8.js","8358:static/chunks/8358-006db8314e7f90e6.js","1191:static/chunks/1191-6ed6367cd2d09bb9.js","9081:static/chunks/9081-1a7a8d34754e88a0.js","6259:static/chunks/6259-1223c65658c5b56f.js","2606:static/chunks/2606-54d96c1f331d01f9.js","6394:static/chunks/6394-7070e0aaab5f2d3a.js","8635:static/chunks/8635-e40959f5023df021.js","7713:static/chunks/7713-ba1d39a85621df0a.js","2657:static/chunks/2657-e46086fdcd61f7cb.js","8638:static/chunks/8638-2f5e2000cb136650.js","3185:static/chunks/app/layout-0de45730ace296d1.js"],"name":"","async":false} +0:["Gu4-qD_TOa_w-MTIPzoiR",[[["",{"children":["datastores",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],"$L2",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/e86c9be39f610690.css","precedence":"next"}]],["$L3",null]]]]] +4:I{"id":"51689","chunks":["2180:static/chunks/0e02fca3-fd0318c0bbb142cf.js","2662:static/chunks/2662-2fa1e0a9a375836b.js","7487:static/chunks/7487-8fae47a73361b2a8.js","8358:static/chunks/8358-006db8314e7f90e6.js","1191:static/chunks/1191-7c19fe87ec12a6a3.js","9081:static/chunks/9081-1a7a8d34754e88a0.js","6259:static/chunks/6259-1223c65658c5b56f.js","2606:static/chunks/2606-54d96c1f331d01f9.js","6394:static/chunks/6394-7070e0aaab5f2d3a.js","8635:static/chunks/8635-e40959f5023df021.js","7713:static/chunks/7713-ba1d39a85621df0a.js","2657:static/chunks/2657-e46086fdcd61f7cb.js","8638:static/chunks/8638-2f5e2000cb136650.js","3185:static/chunks/app/layout-48c874a19a5f6e05.js"],"name":"","async":false} 5:I{"id":"13211","chunks":["2272:static/chunks/webpack-c2811450a636ab98.js","9253:static/chunks/bce60fc1-7faba1922cfb2a57.js","5769:static/chunks/5769-89d205915588ae01.js"],"name":"","async":false} 6:I{"id":"5767","chunks":["2272:static/chunks/webpack-c2811450a636ab98.js","9253:static/chunks/bce60fc1-7faba1922cfb2a57.js","5769:static/chunks/5769-89d205915588ae01.js"],"name":"","async":false} 7:I{"id":"37396","chunks":["2272:static/chunks/webpack-c2811450a636ab98.js","9253:static/chunks/bce60fc1-7faba1922cfb2a57.js","5769:static/chunks/5769-89d205915588ae01.js"],"name":"","async":false} -8:I{"id":"44323","chunks":["2180:static/chunks/0e02fca3-fd0318c0bbb142cf.js","4518:static/chunks/4518-7e23702392053cb5.js","7487:static/chunks/7487-8fae47a73361b2a8.js","8358:static/chunks/8358-006db8314e7f90e6.js","4344:static/chunks/4344-506143d50e8cae48.js","6259:static/chunks/6259-1223c65658c5b56f.js","2606:static/chunks/2606-54d96c1f331d01f9.js","5086:static/chunks/5086-983fa7352852bb4a.js","1630:static/chunks/1630-50ebd41889c930a9.js","3318:static/chunks/3318-80ebf179691127d0.js","6043:static/chunks/app/datastores/page-451da57ebc9dac70.js"],"name":"","async":false} +8:I{"id":"44323","chunks":["2180:static/chunks/0e02fca3-fd0318c0bbb142cf.js","2662:static/chunks/2662-2fa1e0a9a375836b.js","7487:static/chunks/7487-8fae47a73361b2a8.js","8358:static/chunks/8358-006db8314e7f90e6.js","4344:static/chunks/4344-506143d50e8cae48.js","6259:static/chunks/6259-1223c65658c5b56f.js","2606:static/chunks/2606-54d96c1f331d01f9.js","5086:static/chunks/5086-983fa7352852bb4a.js","1630:static/chunks/1630-50ebd41889c930a9.js","3318:static/chunks/3318-80ebf179691127d0.js","6043:static/chunks/app/datastores/page-afd97080a310de67.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 1e5b82e08..e4139ab34 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 af1f6a60d..72fd13d64 100644 --- a/pilot/server/static/index.txt +++ b/pilot/server/static/index.txt @@ -1,9 +1,9 @@ 1:HL["/_next/static/css/e86c9be39f610690.css",{"as":"style"}] -0:["yA4tI-2mGxp7JeeGVHPYX",[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",true],"$L2",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/e86c9be39f610690.css","precedence":"next"}]],["$L3",null]]]]] -4:I{"id":"51689","chunks":["2180:static/chunks/0e02fca3-fd0318c0bbb142cf.js","4518:static/chunks/4518-7e23702392053cb5.js","7487:static/chunks/7487-8fae47a73361b2a8.js","8358:static/chunks/8358-006db8314e7f90e6.js","1191:static/chunks/1191-6ed6367cd2d09bb9.js","9081:static/chunks/9081-1a7a8d34754e88a0.js","6259:static/chunks/6259-1223c65658c5b56f.js","2606:static/chunks/2606-54d96c1f331d01f9.js","6394:static/chunks/6394-7070e0aaab5f2d3a.js","8635:static/chunks/8635-e40959f5023df021.js","7713:static/chunks/7713-ba1d39a85621df0a.js","2657:static/chunks/2657-e46086fdcd61f7cb.js","8638:static/chunks/8638-2f5e2000cb136650.js","3185:static/chunks/app/layout-0de45730ace296d1.js"],"name":"","async":false} +0:["Gu4-qD_TOa_w-MTIPzoiR",[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",true],"$L2",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/e86c9be39f610690.css","precedence":"next"}]],["$L3",null]]]]] +4:I{"id":"51689","chunks":["2180:static/chunks/0e02fca3-fd0318c0bbb142cf.js","2662:static/chunks/2662-2fa1e0a9a375836b.js","7487:static/chunks/7487-8fae47a73361b2a8.js","8358:static/chunks/8358-006db8314e7f90e6.js","1191:static/chunks/1191-7c19fe87ec12a6a3.js","9081:static/chunks/9081-1a7a8d34754e88a0.js","6259:static/chunks/6259-1223c65658c5b56f.js","2606:static/chunks/2606-54d96c1f331d01f9.js","6394:static/chunks/6394-7070e0aaab5f2d3a.js","8635:static/chunks/8635-e40959f5023df021.js","7713:static/chunks/7713-ba1d39a85621df0a.js","2657:static/chunks/2657-e46086fdcd61f7cb.js","8638:static/chunks/8638-2f5e2000cb136650.js","3185:static/chunks/app/layout-48c874a19a5f6e05.js"],"name":"","async":false} 5:I{"id":"13211","chunks":["2272:static/chunks/webpack-c2811450a636ab98.js","9253:static/chunks/bce60fc1-7faba1922cfb2a57.js","5769:static/chunks/5769-89d205915588ae01.js"],"name":"","async":false} 6:I{"id":"5767","chunks":["2272:static/chunks/webpack-c2811450a636ab98.js","9253:static/chunks/bce60fc1-7faba1922cfb2a57.js","5769:static/chunks/5769-89d205915588ae01.js"],"name":"","async":false} 7:I{"id":"37396","chunks":["2272:static/chunks/webpack-c2811450a636ab98.js","9253:static/chunks/bce60fc1-7faba1922cfb2a57.js","5769:static/chunks/5769-89d205915588ae01.js"],"name":"","async":false} -8:I{"id":"93768","chunks":["2180:static/chunks/0e02fca3-fd0318c0bbb142cf.js","4518:static/chunks/4518-7e23702392053cb5.js","7487:static/chunks/7487-8fae47a73361b2a8.js","9081:static/chunks/9081-1a7a8d34754e88a0.js","6394:static/chunks/6394-7070e0aaab5f2d3a.js","5086:static/chunks/5086-983fa7352852bb4a.js","4341:static/chunks/4341-bd4289adcfa8584c.js","1931:static/chunks/app/page-286277d79733e236.js"],"name":"","async":false} +8:I{"id":"93768","chunks":["2180:static/chunks/0e02fca3-fd0318c0bbb142cf.js","2662:static/chunks/2662-2fa1e0a9a375836b.js","7487:static/chunks/7487-8fae47a73361b2a8.js","9081:static/chunks/9081-1a7a8d34754e88a0.js","6394:static/chunks/6394-7070e0aaab5f2d3a.js","5086:static/chunks/5086-983fa7352852bb4a.js","4341:static/chunks/4341-bd4289adcfa8584c.js","1931:static/chunks/app/page-c3848dc1e7320f8b.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"}]]