hn-workflow-components 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/logo.svg +21 -0
- package/dist/mockServiceWorker.js +349 -0
- package/dist/workflow-components.es.js +39930 -0
- package/dist/workflow-components.umd.js +1161 -0
- package/package.json +53 -0
|
@@ -0,0 +1,1161 @@
|
|
|
1
|
+
(function(Ot,w){typeof exports=="object"&&typeof module<"u"?w(exports,require("react"),require("react/jsx-runtime"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","react/jsx-runtime","react-dom"],w):(Ot=typeof globalThis<"u"?globalThis:Ot||self,w(Ot.WorkflowComponents={},Ot.React,Ot.jsxRuntime,Ot.ReactDOM))})(this,(function(Ot,w,O,tr){"use strict";var _L=Object.defineProperty;var Lw=Ot=>{throw TypeError(Ot)};var TL=(Ot,w,O)=>w in Ot?_L(Ot,w,{enumerable:!0,configurable:!0,writable:!0,value:O}):Ot[w]=O;var rn=(Ot,w,O)=>TL(Ot,typeof w!="symbol"?w+"":w,O),Fw=(Ot,w,O)=>w.has(Ot)||Lw("Cannot "+O);var _o=(Ot,w,O)=>(Fw(Ot,w,"read from private field"),O?O.call(Ot):w.get(Ot)),Fc=(Ot,w,O)=>w.has(Ot)?Lw("Cannot add the same private member more than once"):w instanceof WeakSet?w.add(Ot):w.set(Ot,O),yp=(Ot,w,O,tr)=>(Fw(Ot,w,"write to private field"),tr?tr.call(Ot,O):w.set(Ot,O),O);var gr,zw,Aw,Es,ai,sa;function Cp(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const u=Cp(w),xp=Cp(tr);function gn(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];if(process.env.NODE_ENV!=="production"){var o=Xw[e],a=o?typeof o=="function"?o.apply(null,n):o:"unknown error nr: "+e;throw Error("[Immer] "+a)}throw Error("[Immer] minified error nr: "+e+(n.length?" "+n.map((function(i){return"'"+i+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function jo(e){return!!e&&!!e[Gt]}function Mo(e){var t;return!!e&&((function(n){if(!n||typeof n!="object")return!1;var r=Object.getPrototypeOf(n);if(r===null)return!0;var o=Object.hasOwnProperty.call(r,"constructor")&&r.constructor;return o===Object||typeof o=="function"&&Function.toString.call(o)===Yw})(e)||Array.isArray(e)||!!e[_p]||!!(!((t=e.constructor)===null||t===void 0)&&t[_p])||Rc(e)||Bc(e))}function zo(e,t,n){n===void 0&&(n=!1),ca(e)===0?(n?Object.keys:fa)(e).forEach((function(r){n&&typeof r=="symbol"||t(r,e[r],e)})):e.forEach((function(r,o){return t(o,r,e)}))}function ca(e){var t=e[Gt];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:Rc(e)?2:Bc(e)?3:0}function ua(e,t){return ca(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function Bw(e,t){return ca(e)===2?e.get(t):e[t]}function wp(e,t,n){var r=ca(e);r===2?e.set(t,n):r===3?e.add(n):e[t]=n}function Sp(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function Rc(e){return Gw&&e instanceof Map}function Bc(e){return Kw&&e instanceof Set}function io(e){return e.o||e.t}function Vc(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=Tp(e);delete t[Gt];for(var n=fa(t),r=0;r<n.length;r++){var o=n[r],a=t[o];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(t[o]={configurable:!0,writable:!0,enumerable:a.enumerable,value:e[o]})}return Object.create(Object.getPrototypeOf(e),t)}function Hc(e,t){return t===void 0&&(t=!1),Wc(e)||jo(e)||!Mo(e)||(ca(e)>1&&(e.set=e.add=e.clear=e.delete=Vw),Object.freeze(e),t&&zo(e,(function(n,r){return Hc(r,!0)}),!0)),e}function Vw(){gn(2)}function Wc(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function Pr(e){var t=Qc[e];return t||gn(18,e),t}function Hw(e,t){Qc[e]||(Qc[e]=t)}function qc(){return process.env.NODE_ENV==="production"||da||gn(0),da}function Uc(e,t){t&&(Pr("Patches"),e.u=[],e.s=[],e.v=t)}function Is(e){Gc(e),e.p.forEach(Ww),e.p=null}function Gc(e){e===da&&(da=e.l)}function Ep(e){return da={p:[],l:da,h:e,m:!0,_:0}}function Ww(e){var t=e[Gt];t.i===0||t.i===1?t.j():t.g=!0}function Kc(e,t){t._=t.p.length;var n=t.p[0],r=e!==void 0&&e!==n;return t.h.O||Pr("ES5").S(t,e,r),r?(n[Gt].P&&(Is(t),gn(4)),Mo(e)&&(e=Ns(t,e),t.l||Ps(t,e)),t.u&&Pr("Patches").M(n[Gt].t,e,t.u,t.s)):e=Ns(t,n,[]),Is(t),t.u&&t.v(t.u,t.s),e!==Pp?e:void 0}function Ns(e,t,n){if(Wc(t))return t;var r=t[Gt];if(!r)return zo(t,(function(s,l){return $p(e,r,t,s,l,n)}),!0),t;if(r.A!==e)return t;if(!r.P)return Ps(e,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var o=r.i===4||r.i===5?r.o=Vc(r.k):r.o,a=o,i=!1;r.i===3&&(a=new Set(o),o.clear(),i=!0),zo(a,(function(s,l){return $p(e,r,o,s,l,n,i)})),Ps(e,o,!1),n&&e.u&&Pr("Patches").N(r,n,e.u,e.s)}return r.o}function $p(e,t,n,r,o,a,i){if(process.env.NODE_ENV!=="production"&&o===n&&gn(5),jo(o)){var s=Ns(e,o,a&&t&&t.i!==3&&!ua(t.R,r)?a.concat(r):void 0);if(wp(n,r,s),!jo(s))return;e.m=!1}else i&&n.add(o);if(Mo(o)&&!Wc(o)){if(!e.h.D&&e._<1)return;Ns(e,o),t&&t.A.l||Ps(e,o)}}function Ps(e,t,n){n===void 0&&(n=!1),!e.l&&e.h.D&&e.m&&Hc(t,n)}function Xc(e,t){var n=e[Gt];return(n?io(n):e)[t]}function kp(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function so(e){e.P||(e.P=!0,e.l&&so(e.l))}function Yc(e){e.o||(e.o=Vc(e.t))}function Jc(e,t,n){var r=Rc(t)?Pr("MapSet").F(t,n):Bc(t)?Pr("MapSet").T(t,n):e.O?(function(o,a){var i=Array.isArray(o),s={i:i?1:0,A:a?a.A:qc(),P:!1,I:!1,R:{},l:a,t:o,k:null,o:null,j:null,C:!1},l=s,c=si;i&&(l=[s],c=li);var d=Proxy.revocable(l,c),f=d.revoke,m=d.proxy;return s.k=m,s.j=f,m})(t,n):Pr("ES5").J(t,n);return(n?n.A:qc()).p.push(r),r}function qw(e){return jo(e)||gn(22,e),(function t(n){if(!Mo(n))return n;var r,o=n[Gt],a=ca(n);if(o){if(!o.P&&(o.i<4||!Pr("ES5").K(o)))return o.t;o.I=!0,r=Op(n,a),o.I=!1}else r=Op(n,a);return zo(r,(function(i,s){o&&Bw(o.t,i)===s||wp(r,i,t(s))})),a===3?new Set(r):r})(e)}function Op(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return Vc(e)}function Uw(){function e(i,s){var l=a[i];return l?l.enumerable=s:a[i]=l={configurable:!0,enumerable:s,get:function(){var c=this[Gt];return process.env.NODE_ENV!=="production"&&o(c),si.get(c,i)},set:function(c){var d=this[Gt];process.env.NODE_ENV!=="production"&&o(d),si.set(d,i,c)}},l}function t(i){for(var s=i.length-1;s>=0;s--){var l=i[s][Gt];if(!l.P)switch(l.i){case 5:r(l)&&so(l);break;case 4:n(l)&&so(l)}}}function n(i){for(var s=i.t,l=i.k,c=fa(l),d=c.length-1;d>=0;d--){var f=c[d];if(f!==Gt){var m=s[f];if(m===void 0&&!ua(s,f))return!0;var p=l[f],h=p&&p[Gt];if(h?h.t!==m:!Sp(p,m))return!0}}var v=!!s[Gt];return c.length!==fa(s).length+(v?0:1)}function r(i){var s=i.k;if(s.length!==i.t.length)return!0;var l=Object.getOwnPropertyDescriptor(s,s.length-1);if(l&&!l.get)return!0;for(var c=0;c<s.length;c++)if(!s.hasOwnProperty(c))return!0;return!1}function o(i){i.g&&gn(3,JSON.stringify(io(i)))}var a={};Hw("ES5",{J:function(i,s){var l=Array.isArray(i),c=(function(f,m){if(f){for(var p=Array(m.length),h=0;h<m.length;h++)Object.defineProperty(p,""+h,e(h,!0));return p}var v=Tp(m);delete v[Gt];for(var g=fa(v),b=0;b<g.length;b++){var y=g[b];v[y]=e(y,f||!!v[y].enumerable)}return Object.create(Object.getPrototypeOf(m),v)})(l,i),d={i:l?5:4,A:s?s.A:qc(),P:!1,I:!1,R:{},l:s,t:i,k:c,o:null,g:!1,C:!1};return Object.defineProperty(c,Gt,{value:d,writable:!0}),c},S:function(i,s,l){l?jo(s)&&s[Gt].A===i&&t(i.p):(i.u&&(function c(d){if(d&&typeof d=="object"){var f=d[Gt];if(f){var m=f.t,p=f.k,h=f.R,v=f.i;if(v===4)zo(p,(function(C){C!==Gt&&(m[C]!==void 0||ua(m,C)?h[C]||c(p[C]):(h[C]=!0,so(f)))})),zo(m,(function(C){p[C]!==void 0||ua(p,C)||(h[C]=!1,so(f))}));else if(v===5){if(r(f)&&(so(f),h.length=!0),p.length<m.length)for(var g=p.length;g<m.length;g++)h[g]=!1;else for(var b=m.length;b<p.length;b++)h[b]=!0;for(var y=Math.min(p.length,m.length),x=0;x<y;x++)p.hasOwnProperty(x)||(h[x]=!0),h[x]===void 0&&c(p[x])}}}})(i.p[0]),t(i.p))},K:function(i){return i.i===4?n(i):r(i)}})}var Ip,da,Zc=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Gw=typeof Map<"u",Kw=typeof Set<"u",Np=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Pp=Zc?Symbol.for("immer-nothing"):((Ip={})["immer-nothing"]=!0,Ip),_p=Zc?Symbol.for("immer-draftable"):"__$immer_draftable",Gt=Zc?Symbol.for("immer-state"):"__$immer_state",Xw={0:"Illegal state",1:"Immer drafts cannot have computed properties",2:"This object has been frozen and should not be mutated",3:function(e){return"Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? "+e},4:"An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.",5:"Immer forbids circular references",6:"The first or second argument to `produce` must be a function",7:"The third argument to `produce` must be a function or undefined",8:"First argument to `createDraft` must be a plain object, an array, or an immerable object",9:"First argument to `finishDraft` must be a draft returned by `createDraft`",10:"The given draft is already finalized",11:"Object.defineProperty() cannot be used on an Immer draft",12:"Object.setPrototypeOf() cannot be used on an Immer draft",13:"Immer only supports deleting array indices",14:"Immer only supports setting array indices and the 'length' property",15:function(e){return"Cannot apply patch, path doesn't resolve: "+e},16:'Sets cannot have "replace" patches.',17:function(e){return"Unsupported patch operation: "+e},18:function(e){return"The plugin for '"+e+"' has not been loaded into Immer. To enable the plugin, import and call `enable"+e+"()` when initializing your application."},20:"Cannot use proxies if Proxy, Proxy.revocable or Reflect are not available",21:function(e){return"produce can only be called on things that are draftable: plain objects, arrays, Map, Set or classes that are marked with '[immerable]: true'. Got '"+e+"'"},22:function(e){return"'current' expects a draft, got: "+e},23:function(e){return"'original' expects a draft, got: "+e},24:"Patching reserved attributes like __proto__, prototype and constructor is not allowed"},Yw=""+Object.prototype.constructor,fa=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,Tp=Object.getOwnPropertyDescriptors||function(e){var t={};return fa(e).forEach((function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)})),t},Qc={},si={get:function(e,t){if(t===Gt)return e;var n=io(e);if(!ua(n,t))return(function(o,a,i){var s,l=kp(a,i);return l?"value"in l?l.value:(s=l.get)===null||s===void 0?void 0:s.call(o.k):void 0})(e,n,t);var r=n[t];return e.I||!Mo(r)?r:r===Xc(e.t,t)?(Yc(e),e.o[t]=Jc(e.A.h,r,e)):r},has:function(e,t){return t in io(e)},ownKeys:function(e){return Reflect.ownKeys(io(e))},set:function(e,t,n){var r=kp(io(e),t);if(r!=null&&r.set)return r.set.call(e.k,n),!0;if(!e.P){var o=Xc(io(e),t),a=o==null?void 0:o[Gt];if(a&&a.t===n)return e.o[t]=n,e.R[t]=!1,!0;if(Sp(n,o)&&(n!==void 0||ua(e.t,t)))return!0;Yc(e),so(e)}return e.o[t]===n&&(n!==void 0||t in e.o)||Number.isNaN(n)&&Number.isNaN(e.o[t])||(e.o[t]=n,e.R[t]=!0),!0},deleteProperty:function(e,t){return Xc(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,Yc(e),so(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var n=io(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:r.enumerable,value:n[t]}},defineProperty:function(){gn(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){gn(12)}},li={};zo(si,(function(e,t){li[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),li.deleteProperty=function(e,t){return process.env.NODE_ENV!=="production"&&isNaN(parseInt(t))&&gn(13),li.set.call(this,e,t,void 0)},li.set=function(e,t,n){return process.env.NODE_ENV!=="production"&&t!=="length"&&isNaN(parseInt(t))&&gn(14),si.set.call(this,e[0],t,n,e[0])};var Jw=(function(){function e(n){var r=this;this.O=Np,this.D=!0,this.produce=function(o,a,i){if(typeof o=="function"&&typeof a!="function"){var s=a;a=o;var l=r;return function(v){var g=this;v===void 0&&(v=s);for(var b=arguments.length,y=Array(b>1?b-1:0),x=1;x<b;x++)y[x-1]=arguments[x];return l.produce(v,(function(C){var S;return(S=a).call.apply(S,[g,C].concat(y))}))}}var c;if(typeof a!="function"&&gn(6),i!==void 0&&typeof i!="function"&&gn(7),Mo(o)){var d=Ep(r),f=Jc(r,o,void 0),m=!0;try{c=a(f),m=!1}finally{m?Is(d):Gc(d)}return typeof Promise<"u"&&c instanceof Promise?c.then((function(v){return Uc(d,i),Kc(v,d)}),(function(v){throw Is(d),v})):(Uc(d,i),Kc(c,d))}if(!o||typeof o!="object"){if((c=a(o))===void 0&&(c=o),c===Pp&&(c=void 0),r.D&&Hc(c,!0),i){var p=[],h=[];Pr("Patches").M(o,c,p,h),i(p,h)}return c}gn(21,o)},this.produceWithPatches=function(o,a){if(typeof o=="function")return function(c){for(var d=arguments.length,f=Array(d>1?d-1:0),m=1;m<d;m++)f[m-1]=arguments[m];return r.produceWithPatches(c,(function(p){return o.apply(void 0,[p].concat(f))}))};var i,s,l=r.produce(o,a,(function(c,d){i=c,s=d}));return typeof Promise<"u"&&l instanceof Promise?l.then((function(c){return[c,i,s]})):[l,i,s]},typeof(n==null?void 0:n.useProxies)=="boolean"&&this.setUseProxies(n.useProxies),typeof(n==null?void 0:n.autoFreeze)=="boolean"&&this.setAutoFreeze(n.autoFreeze)}var t=e.prototype;return t.createDraft=function(n){Mo(n)||gn(8),jo(n)&&(n=qw(n));var r=Ep(this),o=Jc(this,n,void 0);return o[Gt].C=!0,Gc(r),o},t.finishDraft=function(n,r){var o=n&&n[Gt];process.env.NODE_ENV!=="production"&&(o&&o.C||gn(9),o.I&&gn(10));var a=o.A;return Uc(a,r),Kc(void 0,a)},t.setAutoFreeze=function(n){this.D=n},t.setUseProxies=function(n){n&&!Np&&gn(20),this.O=n},t.applyPatches=function(n,r){var o;for(o=r.length-1;o>=0;o--){var a=r[o];if(a.path.length===0&&a.op==="replace"){n=a.value;break}}o>-1&&(r=r.slice(o+1));var i=Pr("Patches").$;return jo(n)?i(n,r):this.produce(n,(function(s){return i(s,r)}))},e})(),Vn=new Jw;Vn.produce,Vn.produceWithPatches.bind(Vn),Vn.setAutoFreeze.bind(Vn),Vn.setUseProxies.bind(Vn),Vn.applyPatches.bind(Vn),Vn.createDraft.bind(Vn),Vn.finishDraft.bind(Vn);function Ae(e){"@babel/helpers - typeof";return Ae=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ae(e)}function Zw(e,t){if(Ae(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Ae(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function jp(e){var t=Zw(e,"string");return Ae(t)=="symbol"?t:t+""}function F(e,t,n){return(t=jp(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Mp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function R(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Mp(Object(n),!0).forEach(function(r){F(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Mp(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function On(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var zp=(function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"})(),eu=function(){return Math.random().toString(36).substring(7).split("").join(".")},Ao={INIT:"@@redux/INIT"+eu(),REPLACE:"@@redux/REPLACE"+eu(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+eu()}};function Ap(e){if(typeof e!="object"||e===null)return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function Qw(e){if(e===void 0)return"undefined";if(e===null)return"null";var t=typeof e;switch(t){case"boolean":case"string":case"number":case"symbol":case"function":return t}if(Array.isArray(e))return"array";if(nS(e))return"date";if(tS(e))return"error";var n=eS(e);switch(n){case"Symbol":case"Promise":case"WeakMap":case"WeakSet":case"Map":case"Set":return n}return t.slice(8,-1).toLowerCase().replace(/\s/g,"")}function eS(e){return typeof e.constructor=="function"?e.constructor.name:null}function tS(e){return e instanceof Error||typeof e.message=="string"&&e.constructor&&typeof e.constructor.stackTraceLimit=="number"}function nS(e){return e instanceof Date?!0:typeof e.toDateString=="function"&&typeof e.getDate=="function"&&typeof e.setDate=="function"}function Do(e){var t=typeof e;return process.env.NODE_ENV!=="production"&&(t=Qw(e)),t}function Dp(e,t,n){var r;if(typeof t=="function"&&typeof n=="function"||typeof n=="function"&&typeof arguments[3]=="function")throw new Error(process.env.NODE_ENV==="production"?On(0):"It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function. See https://redux.js.org/tutorials/fundamentals/part-4-store#creating-a-store-with-enhancers for an example.");if(typeof t=="function"&&typeof n>"u"&&(n=t,t=void 0),typeof n<"u"){if(typeof n!="function")throw new Error(process.env.NODE_ENV==="production"?On(1):"Expected the enhancer to be a function. Instead, received: '"+Do(n)+"'");return n(Dp)(e,t)}if(typeof e!="function")throw new Error(process.env.NODE_ENV==="production"?On(2):"Expected the root reducer to be a function. Instead, received: '"+Do(e)+"'");var o=e,a=t,i=[],s=i,l=!1;function c(){s===i&&(s=i.slice())}function d(){if(l)throw new Error(process.env.NODE_ENV==="production"?On(3):"You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return a}function f(v){if(typeof v!="function")throw new Error(process.env.NODE_ENV==="production"?On(4):"Expected the listener to be a function. Instead, received: '"+Do(v)+"'");if(l)throw new Error(process.env.NODE_ENV==="production"?On(5):"You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api/store#subscribelistener for more details.");var g=!0;return c(),s.push(v),function(){if(g){if(l)throw new Error(process.env.NODE_ENV==="production"?On(6):"You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api/store#subscribelistener for more details.");g=!1,c();var y=s.indexOf(v);s.splice(y,1),i=null}}}function m(v){if(!Ap(v))throw new Error(process.env.NODE_ENV==="production"?On(7):"Actions must be plain objects. Instead, the actual type was: '"+Do(v)+"'. You may need to add middleware to your store setup to handle dispatching other values, such as 'redux-thunk' to handle dispatching functions. See https://redux.js.org/tutorials/fundamentals/part-4-store#middleware and https://redux.js.org/tutorials/fundamentals/part-6-async-logic#using-the-redux-thunk-middleware for examples.");if(typeof v.type>"u")throw new Error(process.env.NODE_ENV==="production"?On(8):'Actions may not have an undefined "type" property. You may have misspelled an action type string constant.');if(l)throw new Error(process.env.NODE_ENV==="production"?On(9):"Reducers may not dispatch actions.");try{l=!0,a=o(a,v)}finally{l=!1}for(var g=i=s,b=0;b<g.length;b++){var y=g[b];y()}return v}function p(v){if(typeof v!="function")throw new Error(process.env.NODE_ENV==="production"?On(10):"Expected the nextReducer to be a function. Instead, received: '"+Do(v));o=v,m({type:Ao.REPLACE})}function h(){var v,g=f;return v={subscribe:function(y){if(typeof y!="object"||y===null)throw new Error(process.env.NODE_ENV==="production"?On(11):"Expected the observer to be an object. Instead, received: '"+Do(y)+"'");function x(){y.next&&y.next(d())}x();var C=g(x);return{unsubscribe:C}}},v[zp]=function(){return this},v}return m({type:Ao.INIT}),r={dispatch:m,subscribe:f,getState:d,replaceReducer:p},r[zp]=h,r}function Lp(e){typeof console<"u"&&typeof console.error=="function"&&console.error(e);try{throw new Error(e)}catch{}}function rS(e,t,n,r){var o=Object.keys(t),a=n&&n.type===Ao.INIT?"preloadedState argument passed to createStore":"previous state received by the reducer";if(o.length===0)return"Store does not have a valid reducer. Make sure the argument passed to combineReducers is an object whose values are reducers.";if(!Ap(e))return"The "+a+' has unexpected type of "'+Do(e)+'". Expected argument to be an object with the following '+('keys: "'+o.join('", "')+'"');var i=Object.keys(e).filter(function(s){return!t.hasOwnProperty(s)&&!r[s]});if(i.forEach(function(s){r[s]=!0}),!(n&&n.type===Ao.REPLACE)&&i.length>0)return"Unexpected "+(i.length>1?"keys":"key")+" "+('"'+i.join('", "')+'" found in '+a+". ")+"Expected to find one of the known reducer keys instead: "+('"'+o.join('", "')+'". Unexpected keys will be ignored.')}function oS(e){Object.keys(e).forEach(function(t){var n=e[t],r=n(void 0,{type:Ao.INIT});if(typeof r>"u")throw new Error(process.env.NODE_ENV==="production"?On(12):'The slice reducer for key "'+t+`" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.`);if(typeof n(void 0,{type:Ao.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(process.env.NODE_ENV==="production"?On(13):'The slice reducer for key "'+t+'" returned undefined when probed with a random type. '+("Don't try to handle '"+Ao.INIT+`' or other actions in "redux/*" `)+"namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.")})}function aS(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++){var o=t[r];process.env.NODE_ENV!=="production"&&typeof e[o]>"u"&&Lp('No reducer provided for key "'+o+'"'),typeof e[o]=="function"&&(n[o]=e[o])}var a=Object.keys(n),i;process.env.NODE_ENV!=="production"&&(i={});var s;try{oS(n)}catch(l){s=l}return function(c,d){if(c===void 0&&(c={}),s)throw s;if(process.env.NODE_ENV!=="production"){var f=rS(c,n,d,i);f&&Lp(f)}for(var m=!1,p={},h=0;h<a.length;h++){var v=a[h],g=n[v],b=c[v],y=g(b,d);if(typeof y>"u"){var x=d&&d.type;throw new Error(process.env.NODE_ENV==="production"?On(14):"When called with an action of type "+(x?'"'+String(x)+'"':"(unknown type)")+', the slice reducer for key "'+v+'" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.')}p[v]=y,m=m||y!==b}return m=m||a.length!==Object.keys(c).length,m?p:c}}function _s(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.length===0?function(r){return r}:t.length===1?t[0]:t.reduce(function(r,o){return function(){return r(o.apply(void 0,arguments))}})}function iS(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(r){return function(){var o=r.apply(void 0,arguments),a=function(){throw new Error(process.env.NODE_ENV==="production"?On(15):"Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},i={getState:o.getState,dispatch:function(){return a.apply(void 0,arguments)}},s=t.map(function(l){return l(i)});return a=_s.apply(void 0,s)(o.dispatch),R(R({},o),{},{dispatch:a})}}}function Fp(e){var t=function(r){var o=r.dispatch,a=r.getState;return function(i){return function(s){return typeof s=="function"?s(o,a,e):i(s)}}};return t}var tu=Fp();tu.withExtraArgument=Fp;var Rp=(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var a in o)Object.prototype.hasOwnProperty.call(o,a)&&(r[a]=o[a])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}})(),sS=function(e,t){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},r,o,a,i;return i={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(c){return function(d){return l([c,d])}}function l(c){if(r)throw new TypeError("Generator is already executing.");for(;n;)try{if(r=1,o&&(a=c[0]&2?o.return:c[0]?o.throw||((a=o.return)&&a.call(o),0):o.next)&&!(a=a.call(o,c[1])).done)return a;switch(o=0,a&&(c=[c[0]&2,a.value]),c[0]){case 0:case 1:a=c;break;case 4:return n.label++,{value:c[1],done:!1};case 5:n.label++,o=c[1],c=[0];continue;case 7:c=n.ops.pop(),n.trys.pop();continue;default:if(a=n.trys,!(a=a.length>0&&a[a.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!a||c[1]>a[0]&&c[1]<a[3])){n.label=c[1];break}if(c[0]===6&&n.label<a[1]){n.label=a[1],a=c;break}if(a&&n.label<a[2]){n.label=a[2],n.ops.push(c);break}a[2]&&n.ops.pop(),n.trys.pop();continue}c=t.call(e,n)}catch(d){c=[6,d],o=0}finally{r=a=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}},ci=function(e,t){for(var n=0,r=t.length,o=e.length;n<r;n++,o++)e[o]=t[n];return e},lS=Object.defineProperty,cS=Object.defineProperties,uS=Object.getOwnPropertyDescriptors,Bp=Object.getOwnPropertySymbols,dS=Object.prototype.hasOwnProperty,fS=Object.prototype.propertyIsEnumerable,Vp=function(e,t,n){return t in e?lS(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n},ma=function(e,t){for(var n in t||(t={}))dS.call(t,n)&&Vp(e,n,t[n]);if(Bp)for(var r=0,o=Bp(t);r<o.length;r++){var n=o[r];fS.call(t,n)&&Vp(e,n,t[n])}return e},nu=function(e,t){return cS(e,uS(t))},mS=function(e,t,n){return new Promise(function(r,o){var a=function(l){try{s(n.next(l))}catch(c){o(c)}},i=function(l){try{s(n.throw(l))}catch(c){o(c)}},s=function(l){return l.done?r(l.value):Promise.resolve(l.value).then(a,i)};s((n=n.apply(e,t)).next())})},pS=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?_s:_s.apply(null,arguments)};function Hp(e){if(typeof e!="object"||e===null)return!1;var t=Object.getPrototypeOf(e);if(t===null)return!0;for(var n=t;Object.getPrototypeOf(n)!==null;)n=Object.getPrototypeOf(n);return t===n}var gS=function(e){return e&&typeof e.match=="function"};function pa(e,t){function n(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];if(t){var a=t.apply(void 0,r);if(!a)throw new Error("prepareAction did not return an object");return ma(ma({type:e,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:e,payload:r[0]}}return n.toString=function(){return""+e},n.type=e,n.match=function(r){return r.type===e},n}function hS(e){return typeof e=="function"&&"type"in e&&gS(e)}function vS(e){var t=e?(""+e).split("/"):[],n=t[t.length-1]||"actionCreator";return'Detected an action creator with type "'+(e||"unknown")+`" being dispatched.
|
|
2
|
+
Make sure you're calling the action creator before dispatching, i.e. \`dispatch(`+n+"())` instead of `dispatch("+n+")`. This is necessary even if the action has no payload."}function bS(e){if(e===void 0&&(e={}),process.env.NODE_ENV==="production")return function(){return function(r){return function(o){return r(o)}}};var t=e.isActionCreator,n=t===void 0?hS:t;return function(){return function(r){return function(o){return n(o)&&console.warn(vS(o.type)),r(o)}}}}function Wp(e,t){var n=0;return{measureTime:function(r){var o=Date.now();try{return r()}finally{var a=Date.now();n+=a-o}},warnIfExceeded:function(){n>e&&console.warn(t+" took "+n+"ms, which is more than the warning threshold of "+e+`ms.
|
|
3
|
+
If your state or actions are very large, you may want to disable the middleware as it might cause too much of a slowdown in development mode. See https://redux-toolkit.js.org/api/getDefaultMiddleware for instructions.
|
|
4
|
+
It is disabled in production builds, so you don't need to worry about that.`)}}}var yS=(function(e){Rp(t,e);function t(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var o=e.apply(this,n)||this;return Object.setPrototypeOf(o,t.prototype),o}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return e.prototype.concat.apply(this,n)},t.prototype.prepend=function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return n.length===1&&Array.isArray(n[0])?new(t.bind.apply(t,ci([void 0],n[0].concat(this)))):new(t.bind.apply(t,ci([void 0],n.concat(this))))},t})(Array),CS=(function(e){Rp(t,e);function t(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var o=e.apply(this,n)||this;return Object.setPrototypeOf(o,t.prototype),o}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return e.prototype.concat.apply(this,n)},t.prototype.prepend=function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return n.length===1&&Array.isArray(n[0])?new(t.bind.apply(t,ci([void 0],n[0].concat(this)))):new(t.bind.apply(t,ci([void 0],n.concat(this))))},t})(Array),xS=process.env.NODE_ENV==="production",qp="Invariant failed";function Up(e,t){if(!e)throw xS?new Error(qp):new Error(qp+": "+(t||""))}function wS(e,t,n,r){return JSON.stringify(e,SS(t,r),n)}function SS(e,t){var n=[],r=[];return t||(t=function(o,a){return n[0]===a?"[Circular ~]":"[Circular ~."+r.slice(0,n.indexOf(a)).join(".")+"]"}),function(o,a){if(n.length>0){var i=n.indexOf(this);~i?n.splice(i+1):n.push(this),~i?r.splice(i,1/0,o):r.push(o),~n.indexOf(a)&&(a=t.call(this,o,a))}else n.push(a);return e==null?a:e.call(this,o,a)}}function ES(e){return typeof e!="object"||e==null||Object.isFrozen(e)}function $S(e,t,n){var r=Gp(e,t,n);return{detectMutations:function(){return Kp(e,t,r,n)}}}function Gp(e,t,n,r,o){t===void 0&&(t=[]),r===void 0&&(r=""),o===void 0&&(o=new Set);var a={value:n};if(!e(n)&&!o.has(n)){o.add(n),a.children={};for(var i in n){var s=r?r+"."+i:i;t.length&&t.indexOf(s)!==-1||(a.children[i]=Gp(e,t,n[i],s))}}return a}function Kp(e,t,n,r,o,a){t===void 0&&(t=[]),o===void 0&&(o=!1),a===void 0&&(a="");var i=n?n.value:void 0,s=i===r;if(o&&!s&&!Number.isNaN(r))return{wasMutated:!0,path:a};if(e(i)||e(r))return{wasMutated:!1};var l={};for(var c in n.children)l[c]=!0;for(var c in r)l[c]=!0;var d=t.length>0,f=function(p){var h=a?a+"."+p:p;if(d){var v=t.some(function(b){return b instanceof RegExp?b.test(h):h===b});if(v)return"continue"}var g=Kp(e,t,n.children[p],r[p],s,h);if(g.wasMutated)return{value:g}};for(var c in l){var m=f(c);if(typeof m=="object")return m.value}return{wasMutated:!1}}function kS(e){if(e===void 0&&(e={}),process.env.NODE_ENV==="production")return function(){return function(l){return function(c){return l(c)}}};var t=e.isImmutable,n=t===void 0?ES:t,r=e.ignoredPaths,o=e.warnAfter,a=o===void 0?32:o,i=e.ignore;r=r||i;var s=$S.bind(null,n,r);return function(l){var c=l.getState,d=c(),f=s(d),m;return function(p){return function(h){var v=Wp(a,"ImmutableStateInvariantMiddleware");v.measureTime(function(){d=c(),m=f.detectMutations(),f=s(d),Up(!m.wasMutated,"A state mutation was detected between dispatches, in the path '"+(m.path||"")+"'. This may cause incorrect behavior. (https://redux.js.org/style-guide/style-guide#do-not-mutate-state)")});var g=p(h);return v.measureTime(function(){d=c(),m=f.detectMutations(),f=s(d),m.wasMutated&&Up(!m.wasMutated,"A state mutation was detected inside a dispatch, in the path: "+(m.path||"")+". Take a look at the reducer(s) handling the action "+wS(h)+". (https://redux.js.org/style-guide/style-guide#do-not-mutate-state)")}),v.warnIfExceeded(),g}}}}function Xp(e){var t=typeof e;return e==null||t==="string"||t==="boolean"||t==="number"||Array.isArray(e)||Hp(e)}function ru(e,t,n,r,o,a){t===void 0&&(t=""),n===void 0&&(n=Xp),o===void 0&&(o=[]);var i;if(!n(e))return{keyPath:t||"<root>",value:e};if(typeof e!="object"||e===null||a!=null&&a.has(e))return!1;for(var s=r!=null?r(e):Object.entries(e),l=o.length>0,c=function(g,b){var y=t?t+"."+g:g;if(l){var x=o.some(function(C){return C instanceof RegExp?C.test(y):y===C});if(x)return"continue"}if(!n(b))return{value:{keyPath:y,value:b}};if(typeof b=="object"&&(i=ru(b,y,n,r,o,a),i))return{value:i}},d=0,f=s;d<f.length;d++){var m=f[d],p=m[0],h=m[1],v=c(p,h);if(typeof v=="object")return v.value}return a&&Yp(e)&&a.add(e),!1}function Yp(e){if(!Object.isFrozen(e))return!1;for(var t=0,n=Object.values(e);t<n.length;t++){var r=n[t];if(!(typeof r!="object"||r===null)&&!Yp(r))return!1}return!0}function OS(e){if(e===void 0&&(e={}),process.env.NODE_ENV==="production")return function(){return function(x){return function(C){return x(C)}}};var t=e.isSerializable,n=t===void 0?Xp:t,r=e.getEntries,o=e.ignoredActions,a=o===void 0?[]:o,i=e.ignoredActionPaths,s=i===void 0?["meta.arg","meta.baseQueryMeta"]:i,l=e.ignoredPaths,c=l===void 0?[]:l,d=e.warnAfter,f=d===void 0?32:d,m=e.ignoreState,p=m===void 0?!1:m,h=e.ignoreActions,v=h===void 0?!1:h,g=e.disableCache,b=g===void 0?!1:g,y=!b&&WeakSet?new WeakSet:void 0;return function(x){return function(C){return function(S){var $=C(S),k=Wp(f,"SerializableStateInvariantMiddleware");return!v&&!(a.length&&a.indexOf(S.type)!==-1)&&k.measureTime(function(){var E=ru(S,"",n,r,s,y);if(E){var I=E.keyPath,N=E.value;console.error("A non-serializable value was detected in an action, in the path: `"+I+"`. Value:",N,`
|
|
5
|
+
Take a look at the logic that dispatched this action: `,S,`
|
|
6
|
+
(See https://redux.js.org/faq/actions#why-should-type-be-a-string-or-at-least-serializable-why-should-my-action-types-be-constants)`,`
|
|
7
|
+
(To allow non-serializable values see: https://redux-toolkit.js.org/usage/usage-guide#working-with-non-serializable-data)`)}}),p||(k.measureTime(function(){var E=x.getState(),I=ru(E,"",n,r,c,y);if(I){var N=I.keyPath,P=I.value;console.error("A non-serializable value was detected in the state, in the path: `"+N+"`. Value:",P,`
|
|
8
|
+
Take a look at the reducer(s) handling this action type: `+S.type+`.
|
|
9
|
+
(See https://redux.js.org/faq/organizing-state#can-i-put-functions-promises-or-other-non-serializable-items-in-my-store-state)`)}}),k.warnIfExceeded()),$}}}}function Ts(e){return typeof e=="boolean"}function IS(){return function(t){return NS(t)}}function NS(e){e===void 0&&(e={});var t=e.thunk,n=t===void 0?!0:t,r=e.immutableCheck,o=r===void 0?!0:r,a=e.serializableCheck,i=a===void 0?!0:a,s=e.actionCreatorCheck,l=s===void 0?!0:s,c=new yS;if(n&&(Ts(n)?c.push(tu):c.push(tu.withExtraArgument(n.extraArgument))),process.env.NODE_ENV!=="production"){if(o){var d={};Ts(o)||(d=o),c.unshift(kS(d))}if(i){var f={};Ts(i)||(f=i),c.push(OS(f))}if(l){var m={};Ts(l)||(m=l),c.unshift(bS(m))}}return c}var ou=process.env.NODE_ENV==="production";function PS(e){var t=IS(),n=e||{},r=n.reducer,o=r===void 0?void 0:r,a=n.middleware,i=a===void 0?t():a,s=n.devTools,l=s===void 0?!0:s,c=n.preloadedState,d=c===void 0?void 0:c,f=n.enhancers,m=f===void 0?void 0:f,p;if(typeof o=="function")p=o;else if(Hp(o))p=aS(o);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var h=i;if(typeof h=="function"&&(h=h(t),!ou&&!Array.isArray(h)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!ou&&h.some(function(C){return typeof C!="function"}))throw new Error("each middleware provided to configureStore must be a function");var v=iS.apply(void 0,h),g=_s;l&&(g=pS(ma({trace:!ou},typeof l=="object"&&l)));var b=new CS(v),y=b;Array.isArray(m)?y=ci([v],m):typeof m=="function"&&(y=m(b));var x=g.apply(void 0,y);return Dp(p,d,x)}var _S="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",TS=function(e){e===void 0&&(e=21);for(var t="",n=e;n--;)t+=_S[Math.random()*64|0];return t},jS=["name","message","stack","code"],au=(function(){function e(t,n){this.payload=t,this.meta=n}return e})(),Jp=(function(){function e(t,n){this.payload=t,this.meta=n}return e})(),MS=function(e){if(typeof e=="object"&&e!==null){for(var t={},n=0,r=jS;n<r.length;n++){var o=r[n];typeof e[o]=="string"&&(t[o]=e[o])}return t}return{message:String(e)}};(function(){function e(t,n,r){var o=pa(t+"/fulfilled",function(d,f,m,p){return{payload:d,meta:nu(ma({},p||{}),{arg:m,requestId:f,requestStatus:"fulfilled"})}}),a=pa(t+"/pending",function(d,f,m){return{payload:void 0,meta:nu(ma({},m||{}),{arg:f,requestId:d,requestStatus:"pending"})}}),i=pa(t+"/rejected",function(d,f,m,p,h){return{payload:p,error:(r&&r.serializeError||MS)(d||"Rejected"),meta:nu(ma({},h||{}),{arg:m,requestId:f,rejectedWithValue:!!p,requestStatus:"rejected",aborted:(d==null?void 0:d.name)==="AbortError",condition:(d==null?void 0:d.name)==="ConditionError"})}}),s=!1,l=typeof AbortController<"u"?AbortController:(function(){function d(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return d.prototype.abort=function(){process.env.NODE_ENV!=="production"&&(s||(s=!0,console.info("This platform does not implement AbortController. \nIf you want to use the AbortController to react to `abort` events, please consider importing a polyfill like 'abortcontroller-polyfill/dist/abortcontroller-polyfill-only'.")))},d})();function c(d){return function(f,m,p){var h=r!=null&&r.idGenerator?r.idGenerator(d):TS(),v=new l,g;function b(x){g=x,v.abort()}var y=(function(){return mS(this,null,function(){var x,C,S,$,k,E,I;return sS(this,function(N){switch(N.label){case 0:return N.trys.push([0,4,,5]),$=(x=r==null?void 0:r.condition)==null?void 0:x.call(r,d,{getState:m,extra:p}),AS($)?[4,$]:[3,2];case 1:$=N.sent(),N.label=2;case 2:if($===!1||v.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return k=new Promise(function(P,T){return v.signal.addEventListener("abort",function(){return T({name:"AbortError",message:g||"Aborted"})})}),f(a(h,d,(C=r==null?void 0:r.getPendingMeta)==null?void 0:C.call(r,{requestId:h,arg:d},{getState:m,extra:p}))),[4,Promise.race([k,Promise.resolve(n(d,{dispatch:f,getState:m,extra:p,requestId:h,signal:v.signal,abort:b,rejectWithValue:function(P,T){return new au(P,T)},fulfillWithValue:function(P,T){return new Jp(P,T)}})).then(function(P){if(P instanceof au)throw P;return P instanceof Jp?o(P.payload,h,d,P.meta):o(P,h,d)})])];case 3:return S=N.sent(),[3,5];case 4:return E=N.sent(),S=E instanceof au?i(null,h,d,E.payload,E.meta):i(E,h,d),[3,5];case 5:return I=r&&!r.dispatchConditionRejection&&i.match(S)&&S.meta.condition,I||f(S),[2,S]}})})})();return Object.assign(y,{abort:b,requestId:h,arg:d,unwrap:function(){return y.then(zS)}})}}return Object.assign(c,{pending:a,rejected:i,fulfilled:o,typePrefix:t})}return e.withTypes=function(){return e},e})();function zS(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function AS(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var iu="listenerMiddleware";pa(iu+"/add"),pa(iu+"/removeAll"),pa(iu+"/remove");var Zp;typeof queueMicrotask=="function"&&queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis),Uw();var wt=(e=>(e.SET_CHANGE_FLAG="workflow/SET_CHANGE_FLAG",e.DELETE_NODE="workflow/DELETE_NODE",e.DELETE_CONDITION="workflow/DELETE_CONDITION",e.ADD_NODE="workflow/ADD_NODE",e.ADD_CONDITION="workflow/ADD_CONDITION",e.SET_REDOLIST="workflow/SET_REDOLIST",e.SET_UNOLIST="workflow/SET_UNOLIST",e.SET_START_NODE="workflow/SET_START_NODE",e.CHANGE_NODE="workflow/CHANGE_NODE",e.SELECT_NODE="workflow/SELECTED_NODE",e.SET_VALIDATED="workflow/SET_VALIDATED",e.SET_ERRORS="workflow/SET_ERRORS",e))(wt||{}),dt=(e=>(e.start="start",e.approver="approver",e.notifier="notifier",e.message="message",e.service="service",e.exclusive="exclusive",e.parallel="parallel",e.inclusive="inclusive",e.condition="condition",e.subProcess="subProcess",e.asyncSubProcess="asyncSubProcess",e.trigger="trigger",e))(dt||{});const DS={changeFlag:!1,undoList:[],redoList:[],startNode:{id:"start",nodeType:dt.start,config:{initiator:"所有人"}},errors:{}};function LS(e,t){var n;switch(t.type){case wt.SET_CHANGE_FLAG:return(n=t.payload)==null?void 0:n.changeFlag;case wt.SET_START_NODE:return!1;case wt.SET_REDOLIST:case wt.SET_UNOLIST:return!0}return e}function FS(e,t){var n;switch(t.type){case wt.SET_ERRORS:return(n=t.payload)==null?void 0:n.errors}return e}function RS(e,t){switch(t.type){case wt.SET_REDOLIST:return t.payload.list}return e}function BS(e,t){var n;switch(t.type){case wt.SELECT_NODE:return(n=t.payload)==null?void 0:n.id}return e}var Lr=(e=>(e.Expression="expression",e.Group="group",e))(Lr||{}),lo=(e=>(e.And="and",e.Or="or",e))(lo||{});function ui(e){return[dt.inclusive,dt.exclusive,dt.parallel].includes(e)}function VS(e){switch(e){case dt.inclusive:return"添加包容条件";case dt.exclusive:return"添加条件分支";case dt.parallel:return"添加并行条件"}}function su(e,t){var a;const n=t,r=t,o=t;switch(t.type){case wt.DELETE_NODE:return n.payload.id===((a=e.childNode)==null?void 0:a.id)?{...e,childNode:e.childNode.childNode}:lu(e,t);case wt.ADD_NODE:return e.id===r.payload.parentId?{...e,childNode:{...r.payload.node,childNode:e.childNode}}:lu(e,t);case wt.CHANGE_NODE:return e.id===o.payload.node.id?o.payload.node:lu(e,t)}return e}function lu(e,t){let n=e.childNode,r=e;if(e.childNode&&(n=su(e.childNode,t)),n!==e.childNode&&(r={...e,childNode:n}),ui(r.nodeType)){r===e&&(r={...e});const o=r;o.conditionNodeList=o.conditionNodeList.map(a=>su(a,t))}return r}function HS(e,t){switch(t.type){case wt.SET_START_NODE:return t.payload.node;case wt.DELETE_NODE:case wt.ADD_NODE:case wt.CHANGE_NODE:return su(e,t)}return e}function WS(e,t){switch(t.type){case wt.SET_UNOLIST:return t.payload.list}return e}function qS(e,t){var n;switch(t.type){case wt.SET_VALIDATED:return(n=t.payload)==null?void 0:n.validated}return e}function US({changeFlag:e,redoList:t,undoList:n,startNode:r,selectedId:o,validated:a,errors:i}=DS,s){return{changeFlag:LS(e,s),redoList:RS(t,s),undoList:WS(n,s),startNode:HS(r,s),selectedId:BS(o,s),validated:qS(a,s),errors:FS(i,s)}}const xn=[];for(let e=0;e<256;++e)xn.push((e+256).toString(16).slice(1));function GS(e,t=0){return(xn[e[t+0]]+xn[e[t+1]]+xn[e[t+2]]+xn[e[t+3]]+"-"+xn[e[t+4]]+xn[e[t+5]]+"-"+xn[e[t+6]]+xn[e[t+7]]+"-"+xn[e[t+8]]+xn[e[t+9]]+"-"+xn[e[t+10]]+xn[e[t+11]]+xn[e[t+12]]+xn[e[t+13]]+xn[e[t+14]]+xn[e[t+15]]).toLowerCase()}let cu;const KS=new Uint8Array(16);function XS(){if(!cu){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");cu=crypto.getRandomValues.bind(crypto)}return cu(KS)}const Qp={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function YS(e,t,n){var o;if(Qp.randomUUID&&!e)return Qp.randomUUID();e=e||{};const r=e.random??((o=e.rng)==null?void 0:o.call(e))??XS();if(r.length<16)throw new Error("Random bytes length must be >= 16");return r[6]=r[6]&15|64,r[8]=r[8]&63|128,GS(r)}function hn(){return YS()}class JS{constructor(t){rn(this,"store");rn(this,"t",t=>t);rn(this,"materials",[]);rn(this,"materialUis",{});rn(this,"validate",()=>{const t={type:wt.SET_VALIDATED,payload:{validated:!0}};this.dispatch(t);const n={};return this.setErrors({}),this.doValidateNode(this.store.getState().startNode,n),Object.keys(n).length>0?(this.setErrors(n),n):!0});rn(this,"dispatch",t=>{this.store.dispatch(t)});rn(this,"backup",()=>{const t=this.store.getState(),n={type:wt.SET_UNOLIST,payload:{list:[...t.undoList,{startNode:t.startNode,validated:t.validated}]}};this.dispatch(n);const r={type:wt.SET_REDOLIST,payload:{list:[]}};this.dispatch(r)});rn(this,"undo",()=>{const t=this.store.getState(),n=[...t.undoList],r=n.pop();if(!r){console.error("No element in undo list");return}const o={type:wt.SET_UNOLIST,payload:{list:n}};this.dispatch(o);const a={type:wt.SET_REDOLIST,payload:{list:[...t.redoList,{startNode:t.startNode}]}};this.dispatch(a);const i={type:wt.SET_START_NODE,payload:{node:r==null?void 0:r.startNode}};this.dispatch(i);const s={type:wt.SET_VALIDATED,payload:{validated:r==null?void 0:r.validated}};this.dispatch(s)});rn(this,"redo",()=>{const t=this.store.getState(),n=[...t.redoList],r=n.pop();if(!r){console.error("No element in redo list");return}const o={type:wt.SET_REDOLIST,payload:{list:n}};this.dispatch(o);const a={type:wt.SET_UNOLIST,payload:{list:[...t.undoList,{startNode:t.startNode}]}};this.dispatch(a);const i={type:wt.SET_START_NODE,payload:{node:r==null?void 0:r.startNode}};this.dispatch(i);const s={type:wt.SET_VALIDATED,payload:{validated:r==null?void 0:r.validated}};this.dispatch(s)});rn(this,"revalidate",()=>{this.store.getState().validated&&this.validate()});rn(this,"doValidateNode",(t,n)=>{const r=this.materialUis[t.nodeType];if(r!=null&&r.validate){const o=r.validate(t,{t:this.t});o!==!0&&o!==void 0&&(n[t.id]=o)}if(t.childNode&&this.doValidateNode(t.childNode,n),ui(t.nodeType))for(const o of t.conditionNodeList)this.doValidateNode(o,n)});this.store=ZS(t||!1)}getNode(t,n){const r=n||this.store.getState().startNode;if((r==null?void 0:r.id)===t&&t)return r;if(r!=null&&r.childNode){const o=this.getNode(t,r==null?void 0:r.childNode);if(o)return o}if(ui(r==null?void 0:r.nodeType))for(const o of r.conditionNodeList){const a=this.getNode(t,o);if(a)return a}}setErrors(t){const n={type:wt.SET_ERRORS,payload:{errors:t}};this.store.dispatch(n)}setStartNode(t){this.backup();const n={type:wt.SET_START_NODE,payload:{node:t}};this.dispatch(n),this.revalidate()}changeNode(t){this.backup();const n={type:wt.CHANGE_NODE,payload:{node:t}};this.dispatch(n),this.revalidate()}changeNodeConfig(t,n){const r=this.getNode(t);r&&this.changeNode({...r,config:n})}addCondition(t,n){const r={...t,conditionNodeList:[...t.conditionNodeList,n]};this.changeNode(r)}changeCondition(t,n){const r={...t,conditionNodeList:t.conditionNodeList.map(o=>o.id===n.id?n:o)};this.changeNode(r)}removeCondition(t,n){if(t.conditionNodeList.length<=2){this.removeNode(t.id);return}this.backup();const r={...t,conditionNodeList:t.conditionNodeList.filter(o=>o.id!==n)};this.changeNode(r)}clearLastCondition(t){t.length>1&&(t[t.length-1].config={})}transConditionOneStepToLeft(t,n){if(n>0){this.backup();const r=[...t.conditionNodeList];r[n]=r.splice(n-1,1,r[n])[0],this.clearLastCondition(r);const o={...t,conditionNodeList:r};this.changeNode(o)}}transConditionOneStepToRight(t,n){const r=[...t.conditionNodeList];if(n<r.length-1){this.backup(),r[n]=r.splice(n+1,1,r[n])[0],this.clearLastCondition(r);const o={...t,conditionNodeList:r};this.changeNode(o)}}cloneCondition(t,n){var s;const r=JSON.parse(JSON.stringify(n));r.name=r.name+((s=this.t)==null?void 0:s.call(this,"ofCopy")),uu(r);const o=t.conditionNodeList.indexOf(n),a=[...t.conditionNodeList];a.splice(o+1,0,r);const i={...t,conditionNodeList:a};this.changeNode(i)}addNode(t,n){this.backup();const r={type:wt.ADD_NODE,payload:{parentId:t,node:n}};this.store.dispatch(r),this.revalidate()}selectNode(t){const n={type:wt.SELECT_NODE,payload:{id:t}};this.store.dispatch(n)}removeNode(t){if(t){this.backup();const n={type:wt.DELETE_NODE,payload:{id:t}};this.store.dispatch(n),this.revalidate()}}subscribeStartNodeChange(t){let n=this.store.getState().startNode;const r=()=>{const o=this.store.getState().startNode;o!==n&&(n=o,t(o))};return this.store.subscribe(r)}subscribeSelectedChange(t){let n=this.store.getState().selectedId;const r=()=>{const o=this.store.getState().selectedId;o!==n&&(n=o,t(o))};return this.store.subscribe(r)}subscribeUndoListChange(t){let n=this.store.getState().undoList;const r=()=>{const o=this.store.getState().undoList;o!==n&&(n=o,t(o))};return this.store.subscribe(r)}subscribeRedoListChange(t){let n=this.store.getState().redoList;const r=()=>{const o=this.store.getState().redoList;o!==n&&(n=o,t(o))};return this.store.subscribe(r)}subscribeErrorsChange(t){let n=this.store.getState().errors;const r=()=>{const o=this.store.getState().errors;o!==n&&(n=o,t(o))};return this.store.subscribe(r)}}function uu(e){if(e.id=hn(),e.childNode&&uu(e.childNode),ui(e.nodeType))for(const t of e.conditionNodeList)uu(t)}function ZS(e){const t=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__;return PS({reducer:US,middleware:n=>n({immutableCheck:!1,serializableCheck:!1}),devTools:e&&t&&t({name:"dnd-core",instanceId:"dnd-core"})})}function QS(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var du={exports:{}};/*!
|
|
10
|
+
Copyright (c) 2018 Jed Watson.
|
|
11
|
+
Licensed under the MIT License (MIT), see
|
|
12
|
+
http://jedwatson.github.io/classnames
|
|
13
|
+
*/var eg;function e2(){return eg||(eg=1,(function(e){(function(){var t={}.hasOwnProperty;function n(){for(var a="",i=0;i<arguments.length;i++){var s=arguments[i];s&&(a=o(a,r(s)))}return a}function r(a){if(typeof a=="string"||typeof a=="number")return a;if(typeof a!="object")return"";if(Array.isArray(a))return n.apply(null,a);if(a.toString!==Object.prototype.toString&&!a.toString.toString().includes("[native code]"))return a.toString();var i="";for(var s in a)t.call(a,s)&&a[s]&&(i=o(i,s));return i}function o(a,i){return i?a?a+" "+i:a+i:a}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(du)),du.exports}var t2=e2();const G=QS(t2);function ge(){return ge=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ge.apply(null,arguments)}var n2=Symbol.for("react.element"),r2=Symbol.for("react.transitional.element"),o2=Symbol.for("react.fragment");function tg(e){return e&&Ae(e)==="object"&&(e.$$typeof===n2||e.$$typeof===r2)&&e.type===o2}function Hn(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=[];return w.Children.forEach(e,function(r){r==null&&!t.keepEmpty||(Array.isArray(r)?n=n.concat(Hn(r)):tg(r)&&r.props?n=n.concat(Hn(r.props.children,t)):n.push(r))}),n}var fu={},mu=[],a2=function(t){mu.push(t)};function Fr(e,t){if(process.env.NODE_ENV!=="production"&&!e&&console!==void 0){var n=mu.reduce(function(r,o){return o(r??"","warning")},t);n&&console.error("Warning: ".concat(n))}}function i2(e,t){if(process.env.NODE_ENV!=="production"&&!e&&console!==void 0){var n=mu.reduce(function(r,o){return o(r??"","note")},t);n&&console.warn("Note: ".concat(n))}}function ng(){fu={}}function rg(e,t,n){!t&&!fu[n]&&(e(!1,n),fu[n]=!0)}function Ze(e,t){rg(Fr,e,t)}function pu(e,t){rg(i2,e,t)}Ze.preMessage=a2,Ze.resetWarned=ng,Ze.noteOnce=pu;function di(e){return e instanceof HTMLElement||e instanceof SVGElement}function og(e){return e&&Ae(e)==="object"&&di(e.nativeElement)?e.nativeElement:di(e)?e:null}function js(e){var t=og(e);if(t)return t;if(e instanceof w.Component){var n;return(n=tr.findDOMNode)===null||n===void 0?void 0:n.call(tr,e)}return null}var Ms={exports:{}},jt={};/**
|
|
14
|
+
* @license React
|
|
15
|
+
* react-is.production.min.js
|
|
16
|
+
*
|
|
17
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
18
|
+
*
|
|
19
|
+
* This source code is licensed under the MIT license found in the
|
|
20
|
+
* LICENSE file in the root directory of this source tree.
|
|
21
|
+
*/var ag;function s2(){if(ag)return jt;ag=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),i=Symbol.for("react.context"),s=Symbol.for("react.server_context"),l=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),p=Symbol.for("react.offscreen"),h;h=Symbol.for("react.module.reference");function v(g){if(typeof g=="object"&&g!==null){var b=g.$$typeof;switch(b){case e:switch(g=g.type,g){case n:case o:case r:case c:case d:return g;default:switch(g=g&&g.$$typeof,g){case s:case i:case l:case m:case f:case a:return g;default:return b}}case t:return b}}}return jt.ContextConsumer=i,jt.ContextProvider=a,jt.Element=e,jt.ForwardRef=l,jt.Fragment=n,jt.Lazy=m,jt.Memo=f,jt.Portal=t,jt.Profiler=o,jt.StrictMode=r,jt.Suspense=c,jt.SuspenseList=d,jt.isAsyncMode=function(){return!1},jt.isConcurrentMode=function(){return!1},jt.isContextConsumer=function(g){return v(g)===i},jt.isContextProvider=function(g){return v(g)===a},jt.isElement=function(g){return typeof g=="object"&&g!==null&&g.$$typeof===e},jt.isForwardRef=function(g){return v(g)===l},jt.isFragment=function(g){return v(g)===n},jt.isLazy=function(g){return v(g)===m},jt.isMemo=function(g){return v(g)===f},jt.isPortal=function(g){return v(g)===t},jt.isProfiler=function(g){return v(g)===o},jt.isStrictMode=function(g){return v(g)===r},jt.isSuspense=function(g){return v(g)===c},jt.isSuspenseList=function(g){return v(g)===d},jt.isValidElementType=function(g){return typeof g=="string"||typeof g=="function"||g===n||g===o||g===r||g===c||g===d||g===p||typeof g=="object"&&g!==null&&(g.$$typeof===m||g.$$typeof===f||g.$$typeof===a||g.$$typeof===i||g.$$typeof===l||g.$$typeof===h||g.getModuleId!==void 0)},jt.typeOf=v,jt}var Mt={};/**
|
|
22
|
+
* @license React
|
|
23
|
+
* react-is.development.js
|
|
24
|
+
*
|
|
25
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
26
|
+
*
|
|
27
|
+
* This source code is licensed under the MIT license found in the
|
|
28
|
+
* LICENSE file in the root directory of this source tree.
|
|
29
|
+
*/var ig;function l2(){return ig||(ig=1,process.env.NODE_ENV!=="production"&&(function(){var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),i=Symbol.for("react.context"),s=Symbol.for("react.server_context"),l=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),p=Symbol.for("react.offscreen"),h=!1,v=!1,g=!1,b=!1,y=!1,x;x=Symbol.for("react.module.reference");function C(Z){return!!(typeof Z=="string"||typeof Z=="function"||Z===n||Z===o||y||Z===r||Z===c||Z===d||b||Z===p||h||v||g||typeof Z=="object"&&Z!==null&&(Z.$$typeof===m||Z.$$typeof===f||Z.$$typeof===a||Z.$$typeof===i||Z.$$typeof===l||Z.$$typeof===x||Z.getModuleId!==void 0))}function S(Z){if(typeof Z=="object"&&Z!==null){var oe=Z.$$typeof;switch(oe){case e:var re=Z.type;switch(re){case n:case o:case r:case c:case d:return re;default:var ce=re&&re.$$typeof;switch(ce){case s:case i:case l:case m:case f:case a:return ce;default:return oe}}case t:return oe}}}var $=i,k=a,E=e,I=l,N=n,P=m,T=f,j=t,_=o,M=r,z=c,A=d,D=!1,W=!1;function U(Z){return D||(D=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function q(Z){return W||(W=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function B(Z){return S(Z)===i}function L(Z){return S(Z)===a}function V(Z){return typeof Z=="object"&&Z!==null&&Z.$$typeof===e}function H(Z){return S(Z)===l}function X(Z){return S(Z)===n}function ie(Z){return S(Z)===m}function K(Z){return S(Z)===f}function ee(Z){return S(Z)===t}function te(Z){return S(Z)===o}function Y(Z){return S(Z)===r}function J(Z){return S(Z)===c}function ae(Z){return S(Z)===d}Mt.ContextConsumer=$,Mt.ContextProvider=k,Mt.Element=E,Mt.ForwardRef=I,Mt.Fragment=N,Mt.Lazy=P,Mt.Memo=T,Mt.Portal=j,Mt.Profiler=_,Mt.StrictMode=M,Mt.Suspense=z,Mt.SuspenseList=A,Mt.isAsyncMode=U,Mt.isConcurrentMode=q,Mt.isContextConsumer=B,Mt.isContextProvider=L,Mt.isElement=V,Mt.isForwardRef=H,Mt.isFragment=X,Mt.isLazy=ie,Mt.isMemo=K,Mt.isPortal=ee,Mt.isProfiler=te,Mt.isStrictMode=Y,Mt.isSuspense=J,Mt.isSuspenseList=ae,Mt.isValidElementType=C,Mt.typeOf=S})()),Mt}var sg;function c2(){return sg||(sg=1,process.env.NODE_ENV==="production"?Ms.exports=s2():Ms.exports=l2()),Ms.exports}var gu=c2();function fi(e,t,n){var r=u.useRef({});return(!("value"in r.current)||n(r.current.condition,t))&&(r.current.value=e(),r.current.condition=t),r.current.value}var u2=Number(w.version.split(".")[0]),hu=function(t,n){typeof t=="function"?t(n):Ae(t)==="object"&&t&&"current"in t&&(t.current=n)},wn=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=n.filter(Boolean);return o.length<=1?o[0]:function(a){n.forEach(function(i){hu(i,a)})}},Rr=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return fi(function(){return wn.apply(void 0,n)},n,function(o,a){return o.length!==a.length||o.every(function(i,s){return i!==a[s]})})},Br=function(t){var n,r;if(!t)return!1;if(vu(t)&&u2>=19)return!0;var o=gu.isMemo(t)?t.type.type:t.type;return!(typeof o=="function"&&!((n=o.prototype)!==null&&n!==void 0&&n.render)&&o.$$typeof!==gu.ForwardRef||typeof t=="function"&&!((r=t.prototype)!==null&&r!==void 0&&r.render)&&t.$$typeof!==gu.ForwardRef)};function vu(e){return w.isValidElement(e)&&!tg(e)}var d2=function(t){return vu(t)&&Br(t)},co=function(t){if(t&&vu(t)){var n=t;return n.props.propertyIsEnumerable("ref")?n.props.ref:n.ref}return null},bu=u.createContext(null);function f2(e){var t=e.children,n=e.onBatchResize,r=u.useRef(0),o=u.useRef([]),a=u.useContext(bu),i=u.useCallback(function(s,l,c){r.current+=1;var d=r.current;o.current.push({size:s,element:l,data:c}),Promise.resolve().then(function(){d===r.current&&(n==null||n(o.current),o.current=[])}),a==null||a(s,l,c)},[n,a]);return u.createElement(bu.Provider,{value:i},t)}var lg=(function(){if(typeof Map<"u")return Map;function e(t,n){var r=-1;return t.some(function(o,a){return o[0]===n?(r=a,!0):!1}),r}return(function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(n){var r=e(this.__entries__,n),o=this.__entries__[r];return o&&o[1]},t.prototype.set=function(n,r){var o=e(this.__entries__,n);~o?this.__entries__[o][1]=r:this.__entries__.push([n,r])},t.prototype.delete=function(n){var r=this.__entries__,o=e(r,n);~o&&r.splice(o,1)},t.prototype.has=function(n){return!!~e(this.__entries__,n)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(n,r){r===void 0&&(r=null);for(var o=0,a=this.__entries__;o<a.length;o++){var i=a[o];n.call(r,i[1],i[0])}},t})()})(),yu=typeof window<"u"&&typeof document<"u"&&window.document===document,zs=(function(){return typeof global<"u"&&global.Math===Math?global:typeof self<"u"&&self.Math===Math?self:typeof window<"u"&&window.Math===Math?window:Function("return this")()})(),m2=(function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(zs):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)}})(),p2=2;function g2(e,t){var n=!1,r=!1,o=0;function a(){n&&(n=!1,e()),r&&s()}function i(){m2(a)}function s(){var l=Date.now();if(n){if(l-o<p2)return;r=!0}else n=!0,r=!1,setTimeout(i,t);o=l}return s}var h2=20,v2=["top","right","bottom","left","width","height","size","weight"],b2=typeof MutationObserver<"u",y2=(function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=g2(this.refresh.bind(this),h2)}return e.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},e.prototype.removeObserver=function(t){var n=this.observers_,r=n.indexOf(t);~r&&n.splice(r,1),!n.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){var t=this.updateObservers_();t&&this.refresh()},e.prototype.updateObservers_=function(){var t=this.observers_.filter(function(n){return n.gatherActive(),n.hasActive()});return t.forEach(function(n){return n.broadcastActive()}),t.length>0},e.prototype.connect_=function(){!yu||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),b2?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){!yu||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(t){var n=t.propertyName,r=n===void 0?"":n,o=v2.some(function(a){return!!~r.indexOf(a)});o&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e})(),cg=(function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var o=r[n];Object.defineProperty(e,o,{value:t[o],enumerable:!1,writable:!1,configurable:!0})}return e}),ga=(function(e){var t=e&&e.ownerDocument&&e.ownerDocument.defaultView;return t||zs}),ug=Ds(0,0,0,0);function As(e){return parseFloat(e)||0}function dg(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce(function(r,o){var a=e["border-"+o+"-width"];return r+As(a)},0)}function C2(e){for(var t=["top","right","bottom","left"],n={},r=0,o=t;r<o.length;r++){var a=o[r],i=e["padding-"+a];n[a]=As(i)}return n}function x2(e){var t=e.getBBox();return Ds(0,0,t.width,t.height)}function w2(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return ug;var r=ga(e).getComputedStyle(e),o=C2(r),a=o.left+o.right,i=o.top+o.bottom,s=As(r.width),l=As(r.height);if(r.boxSizing==="border-box"&&(Math.round(s+a)!==t&&(s-=dg(r,"left","right")+a),Math.round(l+i)!==n&&(l-=dg(r,"top","bottom")+i)),!E2(e)){var c=Math.round(s+a)-t,d=Math.round(l+i)-n;Math.abs(c)!==1&&(s-=c),Math.abs(d)!==1&&(l-=d)}return Ds(o.left,o.top,s,l)}var S2=(function(){return typeof SVGGraphicsElement<"u"?function(e){return e instanceof ga(e).SVGGraphicsElement}:function(e){return e instanceof ga(e).SVGElement&&typeof e.getBBox=="function"}})();function E2(e){return e===ga(e).document.documentElement}function $2(e){return yu?S2(e)?x2(e):w2(e):ug}function k2(e){var t=e.x,n=e.y,r=e.width,o=e.height,a=typeof DOMRectReadOnly<"u"?DOMRectReadOnly:Object,i=Object.create(a.prototype);return cg(i,{x:t,y:n,width:r,height:o,top:n,right:t+r,bottom:o+n,left:t}),i}function Ds(e,t,n,r){return{x:e,y:t,width:n,height:r}}var O2=(function(){function e(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=Ds(0,0,0,0),this.target=t}return e.prototype.isActive=function(){var t=$2(this.target);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t},e})(),I2=(function(){function e(t,n){var r=k2(n);cg(this,{target:t,contentRect:r})}return e})(),N2=(function(){function e(t,n,r){if(this.activeObservations_=[],this.observations_=new lg,typeof t!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=n,this.callbackCtx_=r}return e.prototype.observe=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(t instanceof ga(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(t)||(n.set(t,new O2(t)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(t instanceof ga(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(t)&&(n.delete(t),n.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach(function(n){n.isActive()&&t.activeObservations_.push(n)})},e.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,n=this.activeObservations_.map(function(r){return new I2(r.target,r.broadcastRect())});this.callback_.call(t,n,t),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e})(),fg=typeof WeakMap<"u"?new WeakMap:new lg,mg=(function(){function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=y2.getInstance(),r=new N2(t,n,this);fg.set(this,r)}return e})();["observe","unobserve","disconnect"].forEach(function(e){mg.prototype[e]=function(){var t;return(t=fg.get(this))[e].apply(t,arguments)}});var P2=(function(){return typeof zs.ResizeObserver<"u"?zs.ResizeObserver:mg})(),Vr=new Map;function pg(e){e.forEach(function(t){var n,r=t.target;(n=Vr.get(r))===null||n===void 0||n.forEach(function(o){return o(r)})})}var gg=new P2(pg);process.env.NODE_ENV,process.env.NODE_ENV;function _2(e,t){Vr.has(e)||(Vr.set(e,new Set),gg.observe(e)),Vr.get(e).add(t)}function T2(e,t){Vr.has(e)&&(Vr.get(e).delete(t),Vr.get(e).size||(gg.unobserve(e),Vr.delete(e)))}function Yt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hg(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,jp(r.key),r)}}function Jt(e,t,n){return t&&hg(e.prototype,t),n&&hg(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function mi(e,t){return mi=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},mi(e,t)}function Hr(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&mi(e,t)}function pi(e){return pi=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},pi(e)}function Cu(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Cu=function(){return!!e})()}function lt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function j2(e,t){if(t&&(Ae(t)=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return lt(e)}function Wr(e){var t=Cu();return function(){var n,r=pi(e);if(t){var o=pi(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return j2(this,n)}}var M2=(function(e){Hr(n,e);var t=Wr(n);function n(){return Yt(this,n),t.apply(this,arguments)}return Jt(n,[{key:"render",value:function(){return this.props.children}}]),n})(u.Component);function z2(e,t){var n=e.children,r=e.disabled,o=u.useRef(null),a=u.useRef(null),i=u.useContext(bu),s=typeof n=="function",l=s?n(o):n,c=u.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),d=!s&&u.isValidElement(l)&&Br(l),f=d?co(l):null,m=Rr(f,o),p=function(){var b;return js(o.current)||(o.current&&Ae(o.current)==="object"?js((b=o.current)===null||b===void 0?void 0:b.nativeElement):null)||js(a.current)};u.useImperativeHandle(t,function(){return p()});var h=u.useRef(e);h.current=e;var v=u.useCallback(function(g){var b=h.current,y=b.onResize,x=b.data,C=g.getBoundingClientRect(),S=C.width,$=C.height,k=g.offsetWidth,E=g.offsetHeight,I=Math.floor(S),N=Math.floor($);if(c.current.width!==I||c.current.height!==N||c.current.offsetWidth!==k||c.current.offsetHeight!==E){var P={width:I,height:N,offsetWidth:k,offsetHeight:E};c.current=P;var T=k===Math.round(S)?S:k,j=E===Math.round($)?$:E,_=R(R({},P),{},{offsetWidth:T,offsetHeight:j});i==null||i(_,g,x),y&&Promise.resolve().then(function(){y(_,g)})}},[]);return u.useEffect(function(){var g=p();return g&&!r&&_2(g,v),function(){return T2(g,v)}},[o.current,r]),u.createElement(M2,{ref:a},d?u.cloneElement(l,{ref:m}):l)}var vg=u.forwardRef(z2);process.env.NODE_ENV!=="production"&&(vg.displayName="SingleObserver");var A2="rc-observer-key";function D2(e,t){var n=e.children,r=typeof n=="function"?[n]:Hn(n);return process.env.NODE_ENV!=="production"&&(r.length>1?Fr(!1,"Find more than one child node with `children` in ResizeObserver. Please use ResizeObserver.Collection instead."):r.length===0&&Fr(!1,"`children` of ResizeObserver is empty. Nothing is in observe.")),r.map(function(o,a){var i=(o==null?void 0:o.key)||"".concat(A2,"-").concat(a);return u.createElement(vg,ge({},e,{key:i,ref:a===0?t:void 0}),o)})}var _r=u.forwardRef(D2);process.env.NODE_ENV!=="production"&&(_r.displayName="ResizeObserver"),_r.Collection=f2;function xu(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function L2(e){if(Array.isArray(e))return xu(e)}function bg(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function wu(e,t){if(e){if(typeof e=="string")return xu(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?xu(e,t):void 0}}function F2(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
30
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ve(e){return L2(e)||bg(e)||wu(e)||F2()}var yg=function(t){return+setTimeout(t,16)},Cg=function(t){return clearTimeout(t)};typeof window<"u"&&"requestAnimationFrame"in window&&(yg=function(t){return window.requestAnimationFrame(t)},Cg=function(t){return window.cancelAnimationFrame(t)});var xg=0,Ls=new Map;function wg(e){Ls.delete(e)}var vt=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;xg+=1;var r=xg;function o(a){if(a===0)wg(r),t();else{var i=yg(function(){o(a-1)});Ls.set(r,i)}}return o(n),r};vt.cancel=function(e){var t=Ls.get(e);return wg(e),Cg(t)},process.env.NODE_ENV!=="production"&&(vt.ids=function(){return Ls});function Sg(e){if(Array.isArray(e))return e}function R2(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,o,a,i,s=[],l=!0,c=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(d){c=!0,o=d}finally{try{if(!l&&n.return!=null&&(i=n.return(),Object(i)!==i))return}finally{if(c)throw o}}return s}}function Eg(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
31
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Q(e,t){return Sg(e)||R2(e,t)||wu(e,t)||Eg()}function gi(e){for(var t=0,n,r=0,o=e.length;o>=4;++r,o-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}function Sn(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function Su(e,t){if(!e)return!1;if(e.contains)return e.contains(t);for(var n=t;n;){if(n===e)return!0;n=n.parentNode}return!1}var $g="data-rc-order",kg="data-rc-priority",B2="rc-util-key",Eu=new Map;function Og(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.mark;return t?t.startsWith("data-")?t:"data-".concat(t):B2}function Fs(e){if(e.attachTo)return e.attachTo;var t=document.querySelector("head");return t||document.body}function V2(e){return e==="queue"?"prependQueue":e?"prepend":"append"}function $u(e){return Array.from((Eu.get(e)||e).children).filter(function(t){return t.tagName==="STYLE"})}function Ig(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!Sn())return null;var n=t.csp,r=t.prepend,o=t.priority,a=o===void 0?0:o,i=V2(r),s=i==="prependQueue",l=document.createElement("style");l.setAttribute($g,i),s&&a&&l.setAttribute(kg,"".concat(a)),n!=null&&n.nonce&&(l.nonce=n==null?void 0:n.nonce),l.innerHTML=e;var c=Fs(t),d=c.firstChild;if(r){if(s){var f=(t.styles||$u(c)).filter(function(m){if(!["prepend","prependQueue"].includes(m.getAttribute($g)))return!1;var p=Number(m.getAttribute(kg)||0);return a>=p});if(f.length)return c.insertBefore(l,f[f.length-1].nextSibling),l}c.insertBefore(l,d)}else c.appendChild(l);return l}function Ng(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=Fs(t);return(t.styles||$u(n)).find(function(r){return r.getAttribute(Og(t))===e})}function hi(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=Ng(e,t);if(n){var r=Fs(t);r.removeChild(n)}}function H2(e,t){var n=Eu.get(e);if(!n||!Su(document,n)){var r=Ig("",t),o=r.parentNode;Eu.set(e,o),e.removeChild(r)}}function qr(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=Fs(n),o=$u(r),a=R(R({},n),{},{styles:o});H2(r,a);var i=Ng(t,a);if(i){var s,l;if((s=a.csp)!==null&&s!==void 0&&s.nonce&&i.nonce!==((l=a.csp)===null||l===void 0?void 0:l.nonce)){var c;i.nonce=(c=a.csp)===null||c===void 0?void 0:c.nonce}return i.innerHTML!==e&&(i.innerHTML=e),i}var d=Ig(e,a);return d.setAttribute(Og(a),t),d}function W2(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function Qe(e,t){if(e==null)return{};var n,r,o=W2(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function vi(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,r=new Set;function o(a,i){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,l=r.has(a);if(Ze(!l,"Warning: There may be circular references"),l)return!1;if(a===i)return!0;if(n&&s>1)return!1;r.add(a);var c=s+1;if(Array.isArray(a)){if(!Array.isArray(i)||a.length!==i.length)return!1;for(var d=0;d<a.length;d++)if(!o(a[d],i[d],c))return!1;return!0}if(a&&i&&Ae(a)==="object"&&Ae(i)==="object"){var f=Object.keys(a);return f.length!==Object.keys(i).length?!1:f.every(function(m){return o(a[m],i[m],c)})}return!1}return o(e,t)}var q2="%";function ku(e){return e.join(q2)}var U2=(function(){function e(t){Yt(this,e),F(this,"instanceId",void 0),F(this,"cache",new Map),F(this,"extracted",new Set),this.instanceId=t}return Jt(e,[{key:"get",value:function(n){return this.opGet(ku(n))}},{key:"opGet",value:function(n){return this.cache.get(n)||null}},{key:"update",value:function(n,r){return this.opUpdate(ku(n),r)}},{key:"opUpdate",value:function(n,r){var o=this.cache.get(n),a=r(o);a===null?this.cache.delete(n):this.cache.set(n,a)}}]),e})(),ha="data-token-hash",yr="data-css-hash",G2="data-cache-path",uo="__cssinjs_instance__";function K2(){var e=Math.random().toString(12).slice(2);if(typeof document<"u"&&document.head&&document.body){var t=document.body.querySelectorAll("style[".concat(yr,"]"))||[],n=document.head.firstChild;Array.from(t).forEach(function(o){o[uo]=o[uo]||e,o[uo]===e&&document.head.insertBefore(o,n)});var r={};Array.from(document.querySelectorAll("style[".concat(yr,"]"))).forEach(function(o){var a=o.getAttribute(yr);if(r[a]){if(o[uo]===e){var i;(i=o.parentNode)===null||i===void 0||i.removeChild(o)}}else r[a]=!0})}return new U2(e)}var bi=u.createContext({hashPriority:"low",cache:K2(),defaultCache:!0});function X2(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}var Ou=(function(){function e(){Yt(this,e),F(this,"cache",void 0),F(this,"keys",void 0),F(this,"cacheCallTimes",void 0),this.cache=new Map,this.keys=[],this.cacheCallTimes=0}return Jt(e,[{key:"size",value:function(){return this.keys.length}},{key:"internalGet",value:function(n){var r,o,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,i={map:this.cache};return n.forEach(function(s){if(!i)i=void 0;else{var l;i=(l=i)===null||l===void 0||(l=l.map)===null||l===void 0?void 0:l.get(s)}}),(r=i)!==null&&r!==void 0&&r.value&&a&&(i.value[1]=this.cacheCallTimes++),(o=i)===null||o===void 0?void 0:o.value}},{key:"get",value:function(n){var r;return(r=this.internalGet(n,!0))===null||r===void 0?void 0:r[0]}},{key:"has",value:function(n){return!!this.internalGet(n)}},{key:"set",value:function(n,r){var o=this;if(!this.has(n)){if(this.size()+1>e.MAX_CACHE_SIZE+e.MAX_CACHE_OFFSET){var a=this.keys.reduce(function(c,d){var f=Q(c,2),m=f[1];return o.internalGet(d)[1]<m?[d,o.internalGet(d)[1]]:c},[this.keys[0],this.cacheCallTimes]),i=Q(a,1),s=i[0];this.delete(s)}this.keys.push(n)}var l=this.cache;n.forEach(function(c,d){if(d===n.length-1)l.set(c,{value:[r,o.cacheCallTimes++]});else{var f=l.get(c);f?f.map||(f.map=new Map):l.set(c,{map:new Map}),l=l.get(c).map}})}},{key:"deleteByPath",value:function(n,r){var o=n.get(r[0]);if(r.length===1){var a;return o.map?n.set(r[0],{map:o.map}):n.delete(r[0]),(a=o.value)===null||a===void 0?void 0:a[0]}var i=this.deleteByPath(o.map,r.slice(1));return(!o.map||o.map.size===0)&&!o.value&&n.delete(r[0]),i}},{key:"delete",value:function(n){if(this.has(n))return this.keys=this.keys.filter(function(r){return!X2(r,n)}),this.deleteByPath(this.cache,n)}}]),e})();F(Ou,"MAX_CACHE_SIZE",20),F(Ou,"MAX_CACHE_OFFSET",5);var Pg=0,_g=(function(){function e(t){Yt(this,e),F(this,"derivatives",void 0),F(this,"id",void 0),this.derivatives=Array.isArray(t)?t:[t],this.id=Pg,t.length===0&&Fr(t.length>0,"[Ant Design CSS-in-JS] Theme should have at least one derivative function."),Pg+=1}return Jt(e,[{key:"getDerivativeToken",value:function(n){return this.derivatives.reduce(function(r,o){return o(n,r)},void 0)}}]),e})(),Iu=new Ou;function Nu(e){var t=Array.isArray(e)?e:[e];return Iu.has(t)||Iu.set(t,new _g(t)),Iu.get(t)}var Y2=new WeakMap,Pu={};function J2(e,t){for(var n=Y2,r=0;r<t.length;r+=1){var o=t[r];n.has(o)||n.set(o,new WeakMap),n=n.get(o)}return n.has(Pu)||n.set(Pu,e()),n.get(Pu)}var Tg=new WeakMap;function yi(e){var t=Tg.get(e)||"";return t||(Object.keys(e).forEach(function(n){var r=e[n];t+=n,r instanceof _g?t+=r.id:r&&Ae(r)==="object"?t+=yi(r):t+=r}),t=gi(t),Tg.set(e,t)),t}function jg(e,t){return gi("".concat(t,"_").concat(yi(e)))}var _u=Sn();function ne(e){return typeof e=="number"?"".concat(e,"px"):e}function Rs(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1;if(o)return e;var a=R(R({},r),{},F(F({},ha,t),yr,n)),i=Object.keys(a).map(function(s){var l=a[s];return l?"".concat(s,'="').concat(l,'"'):null}).filter(function(s){return s}).join(" ");return"<style ".concat(i,">").concat(e,"</style>")}var Bs=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return"--".concat(n?"".concat(n,"-"):"").concat(t).replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/([A-Z]+)([A-Z][a-z0-9]+)/g,"$1-$2").replace(/([a-z])([A-Z0-9])/g,"$1-$2").toLowerCase()},Z2=function(t,n,r){return Object.keys(t).length?".".concat(n).concat(r!=null&&r.scope?".".concat(r.scope):"","{").concat(Object.entries(t).map(function(o){var a=Q(o,2),i=a[0],s=a[1];return"".concat(i,":").concat(s,";")}).join(""),"}"):""},Mg=function(t,n,r){var o={},a={};return Object.entries(t).forEach(function(i){var s,l,c=Q(i,2),d=c[0],f=c[1];if(r!=null&&(s=r.preserve)!==null&&s!==void 0&&s[d])a[d]=f;else if((typeof f=="string"||typeof f=="number")&&!(r!=null&&(l=r.ignore)!==null&&l!==void 0&&l[d])){var m,p=Bs(d,r==null?void 0:r.prefix);o[p]=typeof f=="number"&&!(r!=null&&(m=r.unitless)!==null&&m!==void 0&&m[d])?"".concat(f,"px"):String(f),a[d]="var(".concat(p,")")}}),[a,Z2(o,n,{scope:r==null?void 0:r.scope})]},zg=process.env.NODE_ENV!=="test"&&Sn()?u.useLayoutEffect:u.useEffect,It=function(t,n){var r=u.useRef(!0);zg(function(){return t(r.current)},n),zg(function(){return r.current=!1,function(){r.current=!0}},[])},Ci=function(t,n){It(function(r){if(!r)return t()},n)},Q2=R({},u),Ag=Q2.useInsertionEffect,eE=function(t,n,r){u.useMemo(t,r),It(function(){return n(!0)},r)},tE=Ag?function(e,t,n){return Ag(function(){return e(),t()},n)}:eE,nE=R({},u),rE=nE.useInsertionEffect,oE=function(t){var n=[],r=!1;function o(a){if(r){process.env.NODE_ENV!=="production"&&Fr(!1,"[Ant Design CSS-in-JS] You are registering a cleanup function after unmount, which will not have any effect.");return}n.push(a)}return u.useEffect(function(){return r=!1,function(){r=!0,n.length&&n.forEach(function(a){return a()})}},t),o},aE=function(){return function(t){t()}},iE=typeof rE<"u"?oE:aE;function sE(){return!1}var Tu=!1;function lE(){return Tu}const cE=process.env.NODE_ENV==="production"?sE:lE;if(process.env.NODE_ENV!=="production"&&typeof module<"u"&&module&&module.hot&&typeof window<"u"){var Vs=typeof globalThis<"u"?globalThis:typeof window<"u"?window:null;if(Vs&&typeof Vs.webpackHotUpdate=="function"){var uE=Vs.webpackHotUpdate;Vs.webpackHotUpdate=function(){return Tu=!0,setTimeout(function(){Tu=!1},0),uE.apply(void 0,arguments)}}}function ju(e,t,n,r,o){var a=u.useContext(bi),i=a.cache,s=[e].concat(ve(t)),l=ku(s),c=iE([l]),d=cE(),f=function(v){i.opUpdate(l,function(g){var b=g||[void 0,void 0],y=Q(b,2),x=y[0],C=x===void 0?0:x,S=y[1],$=S;process.env.NODE_ENV!=="production"&&S&&d&&(r==null||r($,d),$=null);var k=$||n(),E=[C,k];return v?v(E):E})};u.useMemo(function(){f()},[l]);var m=i.opGet(l);process.env.NODE_ENV!=="production"&&!m&&(f(),m=i.opGet(l));var p=m[1];return tE(function(){o==null||o(p)},function(h){return f(function(v){var g=Q(v,2),b=g[0],y=g[1];return h&&b===0&&(o==null||o(p)),[b+1,y]}),function(){i.opUpdate(l,function(v){var g=v||[],b=Q(g,2),y=b[0],x=y===void 0?0:y,C=b[1],S=x-1;return S===0?(c(function(){(h||!i.opGet(l))&&(r==null||r(C,!1))}),null):[x-1,C]})}},[l]),p}var dE={},fE=process.env.NODE_ENV!=="production"?"css-dev-only-do-not-override":"css",Lo=new Map;function mE(e){Lo.set(e,(Lo.get(e)||0)+1)}function pE(e,t){if(typeof document<"u"){var n=document.querySelectorAll("style[".concat(ha,'="').concat(e,'"]'));n.forEach(function(r){if(r[uo]===t){var o;(o=r.parentNode)===null||o===void 0||o.removeChild(r)}})}}var gE=0;function hE(e,t){Lo.set(e,(Lo.get(e)||0)-1);var n=new Set;Lo.forEach(function(r,o){r<=0&&n.add(o)}),Lo.size-n.size>gE&&n.forEach(function(r){pE(r,t),Lo.delete(r)})}var vE=function(t,n,r,o){var a=r.getDerivativeToken(t),i=R(R({},a),n);return o&&(i=o(i)),i},Dg="token";function bE(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=w.useContext(bi),o=r.cache.instanceId,a=r.container,i=n.salt,s=i===void 0?"":i,l=n.override,c=l===void 0?dE:l,d=n.formatToken,f=n.getComputedToken,m=n.cssVar,p=J2(function(){return Object.assign.apply(Object,[{}].concat(ve(t)))},t),h=yi(p),v=yi(c),g=m?yi(m):"",b=ju(Dg,[s,e.id,h,v,g],function(){var y,x=f?f(p,c,e):vE(p,c,e,d),C=R({},x),S="";if(m){var $=Mg(x,m.key,{prefix:m.prefix,ignore:m.ignore,unitless:m.unitless,preserve:m.preserve}),k=Q($,2);x=k[0],S=k[1]}var E=jg(x,s);x._tokenKey=E,C._tokenKey=jg(C,s);var I=(y=m==null?void 0:m.key)!==null&&y!==void 0?y:E;x._themeKey=I,mE(I);var N="".concat(fE,"-").concat(gi(E));return x._hashId=N,[x,N,C,S,(m==null?void 0:m.key)||""]},function(y){hE(y[0]._themeKey,o)},function(y){var x=Q(y,4),C=x[0],S=x[3];if(m&&S){var $=qr(S,gi("css-variables-".concat(C._themeKey)),{mark:yr,prepend:"queue",attachTo:a,priority:-999});$[uo]=o,$.setAttribute(ha,C._themeKey)}});return b}var yE=function(t,n,r){var o=Q(t,5),a=o[2],i=o[3],s=o[4],l=r||{},c=l.plain;if(!i)return null;var d=a._tokenKey,f=-999,m={"data-rc-order":"prependQueue","data-rc-priority":"".concat(f)},p=Rs(i,s,d,m,c);return[f,d,p]},CE={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},Lg="comm",Fg="rule",Rg="decl",xE="@import",wE="@namespace",SE="@keyframes",EE="@layer",$E=Math.abs,xi=String.fromCharCode;function Bg(e){return e.trim()}function Mu(e,t,n){return e.replace(t,n)}function va(e,t){return e.charCodeAt(t)|0}function ba(e,t,n){return e.slice(t,n)}function Tr(e){return e.length}function kE(e){return e.length}function Hs(e,t){return t.push(e),e}var Ws=1,ya=1,Vg=0,nr=0,on=0,Ca="";function zu(e,t,n,r,o,a,i,s){return{value:e,root:t,parent:n,type:r,props:o,children:a,line:Ws,column:ya,length:i,return:"",siblings:s}}function OE(){return on}function IE(){return on=nr>0?va(Ca,--nr):0,ya--,on===10&&(ya=1,Ws--),on}function Cr(){return on=nr<Vg?va(Ca,nr++):0,ya++,on===10&&(ya=1,Ws++),on}function fo(){return va(Ca,nr)}function qs(){return nr}function Us(e,t){return ba(Ca,e,t)}function wi(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function NE(e){return Ws=ya=1,Vg=Tr(Ca=e),nr=0,[]}function PE(e){return Ca="",e}function Au(e){return Bg(Us(nr-1,Du(e===91?e+2:e===40?e+1:e)))}function _E(e){for(;(on=fo())&&on<33;)Cr();return wi(e)>2||wi(on)>3?"":" "}function TE(e,t){for(;--t&&Cr()&&!(on<48||on>102||on>57&&on<65||on>70&&on<97););return Us(e,qs()+(t<6&&fo()==32&&Cr()==32))}function Du(e){for(;Cr();)switch(on){case e:return nr;case 34:case 39:e!==34&&e!==39&&Du(on);break;case 40:e===41&&Du(e);break;case 92:Cr();break}return nr}function jE(e,t){for(;Cr()&&e+on!==57;)if(e+on===84&&fo()===47)break;return"/*"+Us(t,nr-1)+"*"+xi(e===47?e:Cr())}function ME(e){for(;!wi(fo());)Cr();return Us(e,nr)}function zE(e){return PE(Gs("",null,null,null,[""],e=NE(e),0,[0],e))}function Gs(e,t,n,r,o,a,i,s,l){for(var c=0,d=0,f=i,m=0,p=0,h=0,v=1,g=1,b=1,y=0,x=0,C="",S=o,$=a,k=r,E=C;g;)switch(h=x,x=Cr()){case 40:h!=108&&va(E,f-1)==58?(y++,E+="("):E+=Au(x);break;case 41:y--,E+=")";break;case 34:case 39:case 91:E+=Au(x);break;case 9:case 10:case 13:case 32:if(y>0){E+=xi(x);break}E+=_E(h);break;case 92:E+=TE(qs()-1,7);continue;case 47:switch(fo()){case 42:case 47:Hs(AE(jE(Cr(),qs()),t,n,l),l),(wi(h||1)==5||wi(fo()||1)==5)&&Tr(E)&&ba(E,-1,void 0)!==" "&&(E+=" ");break;default:E+="/"}break;case 123*v:s[c++]=Tr(E)*b;case 125*v:case 59:case 0:if(y>0&&x){E+=xi(x);break}switch(x){case 0:case 125:g=0;case 59+d:b==-1&&(E=Mu(E,/\f/g,"")),p>0&&(Tr(E)-f||v===0)&&Hs(p>32?Wg(E+";",r,n,f-1,l):Wg(Mu(E," ","")+";",r,n,f-2,l),l);break;case 59:E+=";";default:if(Hs(k=Hg(E,t,n,c,d,o,s,C,S=[],$=[],f,a),a),x===123)if(d===0)Gs(E,t,k,k,S,a,f,s,$);else{switch(m){case 99:if(va(E,3)===110)break;case 108:if(va(E,2)===97)break;default:d=0;case 100:case 109:case 115:}d?Gs(e,k,k,r&&Hs(Hg(e,k,k,0,0,o,s,C,o,S=[],f,$),$),o,$,f,s,r?S:$):Gs(E,k,k,k,[""],$,0,s,$)}}c=d=p=0,v=b=1,C=E="",f=i;break;case 58:f=1+Tr(E),p=h;default:if(v<1){if(x==123)--v;else if(x==125&&v++==0&&IE()==125)continue}switch(E+=xi(x),x*v){case 38:b=d>0?1:(E+="\f",-1);break;case 44:if(y>0)break;s[c++]=(Tr(E)-1)*b,b=1;break;case 64:fo()===45&&(E+=Au(Cr())),m=fo(),d=f=Tr(C=E+=ME(qs())),x++;break;case 45:h===45&&Tr(E)==2&&(v=0)}}return a}function Hg(e,t,n,r,o,a,i,s,l,c,d,f){for(var m=o-1,p=o===0?a:[""],h=kE(p),v=0,g=0,b=0;v<r;++v)for(var y=0,x=ba(e,m+1,m=$E(g=i[v])),C=e;y<h;++y)(C=Bg(g>0?p[y]+" "+x:Mu(x,/&\f/g,p[y])))&&(l[b++]=C);return zu(e,t,n,o===0?Fg:s,l,c,d,f)}function AE(e,t,n,r){return zu(e,t,n,Lg,xi(OE()),ba(e,2,-2),0,r)}function Wg(e,t,n,r,o){return zu(e,t,n,Rg,ba(e,0,r),ba(e,r+1,-1),r,o)}function Lu(e,t){for(var n="",r=0;r<e.length;r++)n+=t(e[r],r,e,t)||"";return n}function DE(e,t,n,r){switch(e.type){case EE:if(e.children.length)break;case xE:case wE:case Rg:return e.return=e.return||e.value;case Lg:return"";case SE:return e.return=e.value+"{"+Lu(e.children,r)+"}";case Fg:if(!Tr(e.value=e.props.join(",")))return""}return Tr(n=Lu(e.children,r))?e.return=e.value+"{"+n+"}":""}function qg(e,t){var n=t.path,r=t.parentSelectors;Ze(!1,"[Ant Design CSS-in-JS] ".concat(n?"Error in ".concat(n,": "):"").concat(e).concat(r.length?" Selector: ".concat(r.join(" | ")):""))}var LE=function(t,n,r){if(t==="content"){var o=/(attr|counters?|url|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,a=["normal","none","initial","inherit","unset"];(typeof n!="string"||a.indexOf(n)===-1&&!o.test(n)&&(n.charAt(0)!==n.charAt(n.length-1)||n.charAt(0)!=='"'&&n.charAt(0)!=="'"))&&qg("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\"".concat(n,"\"'`."),r)}},FE=function(t,n,r){t==="animation"&&r.hashId&&n!=="none"&&qg("You seem to be using hashed animation '".concat(n,"', in which case 'animationName' with Keyframe as value is recommended."),r)},Ug="data-ant-cssinjs-cache-path",Gg="_FILE_STYLE__",Fo,Kg=!0;function RE(){if(!Fo&&(Fo={},Sn())){var e=document.createElement("div");e.className=Ug,e.style.position="fixed",e.style.visibility="hidden",e.style.top="-9999px",document.body.appendChild(e);var t=getComputedStyle(e).content||"";t=t.replace(/^"/,"").replace(/"$/,""),t.split(";").forEach(function(o){var a=o.split(":"),i=Q(a,2),s=i[0],l=i[1];Fo[s]=l});var n=document.querySelector("style[".concat(Ug,"]"));if(n){var r;Kg=!1,(r=n.parentNode)===null||r===void 0||r.removeChild(n)}document.body.removeChild(e)}}function BE(e){return RE(),!!Fo[e]}function VE(e){var t=Fo[e],n=null;if(t&&Sn())if(Kg)n=Gg;else{var r=document.querySelector("style[".concat(yr,'="').concat(Fo[e],'"]'));r?n=r.innerHTML:delete Fo[e]}return[n,t]}var Xg="_skip_check_",Yg="_multi_value_";function Ks(e){var t=Lu(zE(e),DE);return t.replace(/\{%%%\:[^;];}/g,";")}function HE(e){return Ae(e)==="object"&&e&&(Xg in e||Yg in e)}function Jg(e,t,n){if(!t)return e;var r=".".concat(t),o=n==="low"?":where(".concat(r,")"):r,a=e.split(",").map(function(i){var s,l=i.trim().split(/\s+/),c=l[0]||"",d=((s=c.match(/^\w+/))===null||s===void 0?void 0:s[0])||"";return c="".concat(d).concat(o).concat(c.slice(d.length)),[c].concat(ve(l.slice(1))).join(" ")});return a.join(",")}var WE=function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{root:!0,parentSelectors:[]},o=r.root,a=r.injectHash,i=r.parentSelectors,s=n.hashId,l=n.layer,c=n.path,d=n.hashPriority,f=n.transformers,m=f===void 0?[]:f,p=n.linters,h=p===void 0?[]:p,v="",g={};function b(C){var S=C.getName(s);if(!g[S]){var $=e(C.style,n,{root:!1,parentSelectors:i}),k=Q($,1),E=k[0];g[S]="@keyframes ".concat(C.getName(s)).concat(E)}}function y(C){var S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return C.forEach(function($){Array.isArray($)?y($,S):$&&S.push($)}),S}var x=y(Array.isArray(t)?t:[t]);return x.forEach(function(C){var S=typeof C=="string"&&!o?{}:C;if(typeof S=="string")v+="".concat(S,`
|
|
32
|
+
`);else if(S._keyframe)b(S);else{var $=m.reduce(function(k,E){var I;return(E==null||(I=E.visit)===null||I===void 0?void 0:I.call(E,k))||k},S);Object.keys($).forEach(function(k){var E=$[k];if(Ae(E)==="object"&&E&&(k!=="animationName"||!E._keyframe)&&!HE(E)){var I=!1,N=k.trim(),P=!1;(o||a)&&s?N.startsWith("@")?I=!0:N==="&"?N=Jg("",s,d):N=Jg(k,s,d):o&&!s&&(N==="&"||N==="")&&(N="",P=!0);var T=e(E,n,{root:P,injectHash:I,parentSelectors:[].concat(ve(i),[N])}),j=Q(T,2),_=j[0],M=j[1];g=R(R({},g),M),v+="".concat(N).concat(_)}else{let D=function(W,U){process.env.NODE_ENV!=="production"&&(Ae(E)!=="object"||!(E!=null&&E[Xg]))&&[LE,FE].concat(ve(h)).forEach(function(L){return L(W,U,{path:c,hashId:s,parentSelectors:i})});var q=W.replace(/[A-Z]/g,function(L){return"-".concat(L.toLowerCase())}),B=U;!CE[W]&&typeof B=="number"&&B!==0&&(B="".concat(B,"px")),W==="animationName"&&U!==null&&U!==void 0&&U._keyframe&&(b(U),B=U.getName(s)),v+="".concat(q,":").concat(B,";")};var z,A=(z=E==null?void 0:E.value)!==null&&z!==void 0?z:E;Ae(E)==="object"&&E!==null&&E!==void 0&&E[Yg]&&Array.isArray(A)?A.forEach(function(W){D(k,W)}):D(k,A)}})}}),o?l&&(v&&(v="@layer ".concat(l.name," {").concat(v,"}")),l.dependencies&&(g["@layer ".concat(l.name)]=l.dependencies.map(function(C){return"@layer ".concat(C,", ").concat(l.name,";")}).join(`
|
|
33
|
+
`))):v="{".concat(v,"}"),[v,g]};function Zg(e,t){return gi("".concat(e.join("%")).concat(t))}function qE(){return null}var Qg="style";function Fu(e,t){var n=e.token,r=e.path,o=e.hashId,a=e.layer,i=e.nonce,s=e.clientOnly,l=e.order,c=l===void 0?0:l,d=u.useContext(bi),f=d.autoClear,m=d.mock,p=d.defaultCache,h=d.hashPriority,v=d.container,g=d.ssrInline,b=d.transformers,y=d.linters,x=d.cache,C=d.layer,S=n._tokenKey,$=[S];C&&$.push("layer"),$.push.apply($,ve(r));var k=_u;process.env.NODE_ENV!=="production"&&m!==void 0&&(k=m==="client");var E=ju(Qg,$,function(){var j=$.join("|");if(BE(j)){var _=VE(j),M=Q(_,2),z=M[0],A=M[1];if(z)return[z,S,A,{},s,c]}var D=t(),W=WE(D,{hashId:o,hashPriority:h,layer:C?a:void 0,path:r.join("-"),transformers:b,linters:y}),U=Q(W,2),q=U[0],B=U[1],L=Ks(q),V=Zg($,L);return[L,S,V,B,s,c]},function(j,_){var M=Q(j,3),z=M[2];(_||f)&&_u&&hi(z,{mark:yr,attachTo:v})},function(j){var _=Q(j,4),M=_[0];_[1];var z=_[2],A=_[3];if(k&&M!==Gg){var D={mark:yr,prepend:C?!1:"queue",attachTo:v,priority:c},W=typeof i=="function"?i():i;W&&(D.csp={nonce:W});var U=[],q=[];Object.keys(A).forEach(function(L){L.startsWith("@layer")?U.push(L):q.push(L)}),U.forEach(function(L){qr(Ks(A[L]),"_layer-".concat(L),R(R({},D),{},{prepend:!0}))});var B=qr(M,z,D);B[uo]=x.instanceId,B.setAttribute(ha,S),process.env.NODE_ENV!=="production"&&B.setAttribute(G2,$.join("|")),q.forEach(function(L){qr(Ks(A[L]),"_effect-".concat(L),D)})}}),I=Q(E,3),N=I[0],P=I[1],T=I[2];return function(j){var _;return!g||k||!p?_=u.createElement(qE,null):_=u.createElement("style",ge({},F(F({},ha,P),yr,T),{dangerouslySetInnerHTML:{__html:N}})),u.createElement(u.Fragment,null,_,j)}}var UE=function(t,n,r){var o=Q(t,6),a=o[0],i=o[1],s=o[2],l=o[3],c=o[4],d=o[5],f=r||{},m=f.plain;if(c)return null;var p=a,h={"data-rc-order":"prependQueue","data-rc-priority":"".concat(d)};return p=Rs(a,i,s,h,m),l&&Object.keys(l).forEach(function(v){if(!n[v]){n[v]=!0;var g=Ks(l[v]),b=Rs(g,i,"_effect-".concat(v),h,m);v.startsWith("@layer")?p=b+p:p+=b}}),[d,s,p]},eh="cssVar",GE=function(t,n){var r=t.key,o=t.prefix,a=t.unitless,i=t.ignore,s=t.token,l=t.scope,c=l===void 0?"":l,d=w.useContext(bi),f=d.cache.instanceId,m=d.container,p=s._tokenKey,h=[].concat(ve(t.path),[r,c,p]),v=ju(eh,h,function(){var g=n(),b=Mg(g,r,{prefix:o,unitless:a,ignore:i,scope:c}),y=Q(b,2),x=y[0],C=y[1],S=Zg(h,C);return[x,C,S,r]},function(g){var b=Q(g,3),y=b[2];_u&&hi(y,{mark:yr,attachTo:m})},function(g){var b=Q(g,3),y=b[1],x=b[2];if(y){var C=qr(y,x,{mark:yr,prepend:"queue",attachTo:m,priority:-999});C[uo]=f,C.setAttribute(ha,r)}});return v},KE=function(t,n,r){var o=Q(t,4),a=o[1],i=o[2],s=o[3],l=r||{},c=l.plain;if(!a)return null;var d=-999,f={"data-rc-order":"prependQueue","data-rc-priority":"".concat(d)},m=Rs(a,s,i,f,c);return[d,i,m]};F(F(F({},Qg,UE),Dg,yE),eh,KE);var St=(function(){function e(t,n){Yt(this,e),F(this,"name",void 0),F(this,"style",void 0),F(this,"_keyframe",!0),this.name=t,this.style=n}return Jt(e,[{key:"getName",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return n?"".concat(n,"-").concat(this.name):this.name}}]),e})();function xa(e){return e.notSplit=!0,e}xa(["borderTop","borderBottom"]),xa(["borderTop"]),xa(["borderBottom"]),xa(["borderLeft","borderRight"]),xa(["borderLeft"]),xa(["borderRight"]);var Ru=w.createContext({});function th(e){return Sg(e)||bg(e)||wu(e)||Eg()}function rr(e,t){for(var n=e,r=0;r<t.length;r+=1){if(n==null)return;n=n[t[r]]}return n}function nh(e,t,n,r){if(!t.length)return n;var o=th(t),a=o[0],i=o.slice(1),s;return!e&&typeof a=="number"?s=[]:Array.isArray(e)?s=ve(e):s=R({},e),r&&n===void 0&&i.length===1?delete s[a][i[0]]:s[a]=nh(s[a],i,n,r),s}function or(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return t.length&&r&&n===void 0&&!rr(e,t.slice(0,-1))?e:nh(e,t,n,r)}function XE(e){return Ae(e)==="object"&&e!==null&&Object.getPrototypeOf(e)===Object.prototype}function rh(e){return Array.isArray(e)?[]:{}}var YE=typeof Reflect>"u"?Object.keys:Reflect.ownKeys;function wa(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=rh(t[0]);return t.forEach(function(o){function a(i,s){var l=new Set(s),c=rr(o,i),d=Array.isArray(c);if(d||XE(c)){if(!l.has(c)){l.add(c);var f=rr(r,i);d?r=or(r,i,[]):(!f||Ae(f)!=="object")&&(r=or(r,i,rh(c))),YE(c).forEach(function(m){a([].concat(ve(i),[m]),l)})}}else r=or(r,i,c)}a([])}),r}function oh(){}let Ur=null;function JE(){Ur=null,ng()}let ah=oh;process.env.NODE_ENV!=="production"&&(ah=(e,t,n)=>{Ze(e,`[antd: ${t}] ${n}`),process.env.NODE_ENV==="test"&&JE()});const Gr=ah,ih=u.createContext({}),Et=process.env.NODE_ENV!=="production"?e=>{const{strict:t}=u.useContext(ih),n=(r,o,a)=>{if(!r)if(t===!1&&o==="deprecated"){const i=Ur;Ur||(Ur={}),Ur[e]=Ur[e]||[],Ur[e].includes(a||"")||Ur[e].push(a||""),i||console.warn("[antd] There exists deprecated usage in your code:",Ur)}else process.env.NODE_ENV!=="production"&&Gr(r,e,a)};return n.deprecated=(r,o,a,i)=>{n(r,"deprecated",`\`${o}\` is deprecated. Please use \`${a}\` instead.${i?` ${i}`:""}`)},n}:()=>{const e=()=>{};return e.deprecated=oh,e},sh=w.createContext(void 0);var ZE={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"},QE={yearFormat:"YYYY",dayFormat:"D",cellMeridiemFormat:"A",monthBeforeYear:!0},e$=R(R({},QE),{},{locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"OK",clear:"Clear",week:"Week",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",dateFormat:"M/D/YYYY",dateTimeFormat:"M/D/YYYY HH:mm:ss",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"});const lh={placeholder:"Select time",rangePlaceholder:["Start time","End time"]},ch={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"]},e$),timePickerLocale:Object.assign({},lh)},Wn="${label} is not a valid ${type}",Kr={locale:"en",Pagination:ZE,DatePicker:ch,TimePicker:lh,Calendar:ch,global:{placeholder:"Please select",close:"Close"},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",deselectAll:"Deselect 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",collapse:"Collapse"},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:Wn,method:Wn,array:Wn,object:Wn,number:Wn,date:Wn,boolean:Wn,integer:Wn,float:Wn,regexp:Wn,email:Wn,url:Wn,hex:Wn},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",scanned:"Scanned"},ColorPicker:{presetEmpty:"Empty",transparent:"Transparent",singleColor:"Single",gradientColor:"Gradient"}};let Xs=Object.assign({},Kr.Modal),Ys=[];const uh=()=>Ys.reduce((e,t)=>Object.assign(Object.assign({},e),t),Kr.Modal);function t$(e){if(e){const t=Object.assign({},e);return Ys.push(t),Xs=uh(),()=>{Ys=Ys.filter(n=>n!==t),Xs=uh()}}Xs=Object.assign({},Kr.Modal)}function dh(){return Xs}const Bu=w.createContext(void 0),mo=(e,t)=>{const n=u.useContext(Bu),r=u.useMemo(()=>{var a;const i=t||Kr[e],s=(a=n==null?void 0:n[e])!==null&&a!==void 0?a:{};return Object.assign(Object.assign({},typeof i=="function"?i():i),s||{})},[e,t,n]),o=u.useMemo(()=>{const a=n==null?void 0:n.locale;return n!=null&&n.exist&&!a?Kr.locale:a},[n]);return[r,o]},fh="internalMark",mh=e=>{const{locale:t={},children:n,_ANT_MARK__:r}=e;if(process.env.NODE_ENV!=="production"){const a=Et("LocaleProvider");process.env.NODE_ENV!=="production"&&a(r===fh,"deprecated","`LocaleProvider` is deprecated. Please use `locale` with `ConfigProvider` instead: http://u.ant.design/locale")}u.useEffect(()=>t$(t==null?void 0:t.Modal),[t]);const o=u.useMemo(()=>Object.assign(Object.assign({},t),{exist:!0}),[t]);return u.createElement(Bu.Provider,{value:o},n)};process.env.NODE_ENV!=="production"&&(mh.displayName="LocaleProvider");const Vu={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"},Si=Object.assign(Object.assign({},Vu),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
|
|
34
|
+
'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
|
|
35
|
+
'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}),vn=Math.round;function Hu(e,t){const n=e.replace(/^[^(]*\((.*)/,"$1").replace(/\).*/,"").match(/\d*\.?\d+%?/g)||[],r=n.map(o=>parseFloat(o));for(let o=0;o<3;o+=1)r[o]=t(r[o]||0,n[o]||"",o);return n[3]?r[3]=n[3].includes("%")?r[3]/100:r[3]:r[3]=1,r}const ph=(e,t,n)=>n===0?e:e/100;function Ei(e,t){const n=t||255;return e>n?n:e<0?0:e}class $t{constructor(t){F(this,"isValid",!0),F(this,"r",0),F(this,"g",0),F(this,"b",0),F(this,"a",1),F(this,"_h",void 0),F(this,"_s",void 0),F(this,"_l",void 0),F(this,"_v",void 0),F(this,"_max",void 0),F(this,"_min",void 0),F(this,"_brightness",void 0);function n(r){return r[0]in t&&r[1]in t&&r[2]in t}if(t)if(typeof t=="string"){let o=function(a){return r.startsWith(a)};const r=t.trim();/^#?[A-F\d]{3,8}$/i.test(r)?this.fromHexString(r):o("rgb")?this.fromRgbString(r):o("hsl")?this.fromHslString(r):(o("hsv")||o("hsb"))&&this.fromHsvString(r)}else if(t instanceof $t)this.r=t.r,this.g=t.g,this.b=t.b,this.a=t.a,this._h=t._h,this._s=t._s,this._l=t._l,this._v=t._v;else if(n("rgb"))this.r=Ei(t.r),this.g=Ei(t.g),this.b=Ei(t.b),this.a=typeof t.a=="number"?Ei(t.a,1):1;else if(n("hsl"))this.fromHsl(t);else if(n("hsv"))this.fromHsv(t);else throw new Error("@ant-design/fast-color: unsupported input "+JSON.stringify(t))}setR(t){return this._sc("r",t)}setG(t){return this._sc("g",t)}setB(t){return this._sc("b",t)}setA(t){return this._sc("a",t,1)}setHue(t){const n=this.toHsv();return n.h=t,this._c(n)}getLuminance(){function t(a){const i=a/255;return i<=.03928?i/12.92:Math.pow((i+.055)/1.055,2.4)}const n=t(this.r),r=t(this.g),o=t(this.b);return .2126*n+.7152*r+.0722*o}getHue(){if(typeof this._h>"u"){const t=this.getMax()-this.getMin();t===0?this._h=0:this._h=vn(60*(this.r===this.getMax()?(this.g-this.b)/t+(this.g<this.b?6:0):this.g===this.getMax()?(this.b-this.r)/t+2:(this.r-this.g)/t+4))}return this._h}getSaturation(){if(typeof this._s>"u"){const t=this.getMax()-this.getMin();t===0?this._s=0:this._s=t/this.getMax()}return this._s}getLightness(){return typeof this._l>"u"&&(this._l=(this.getMax()+this.getMin())/510),this._l}getValue(){return typeof this._v>"u"&&(this._v=this.getMax()/255),this._v}getBrightness(){return typeof this._brightness>"u"&&(this._brightness=(this.r*299+this.g*587+this.b*114)/1e3),this._brightness}darken(t=10){const n=this.getHue(),r=this.getSaturation();let o=this.getLightness()-t/100;return o<0&&(o=0),this._c({h:n,s:r,l:o,a:this.a})}lighten(t=10){const n=this.getHue(),r=this.getSaturation();let o=this.getLightness()+t/100;return o>1&&(o=1),this._c({h:n,s:r,l:o,a:this.a})}mix(t,n=50){const r=this._c(t),o=n/100,a=s=>(r[s]-this[s])*o+this[s],i={r:vn(a("r")),g:vn(a("g")),b:vn(a("b")),a:vn(a("a")*100)/100};return this._c(i)}tint(t=10){return this.mix({r:255,g:255,b:255,a:1},t)}shade(t=10){return this.mix({r:0,g:0,b:0,a:1},t)}onBackground(t){const n=this._c(t),r=this.a+n.a*(1-this.a),o=a=>vn((this[a]*this.a+n[a]*n.a*(1-this.a))/r);return this._c({r:o("r"),g:o("g"),b:o("b"),a:r})}isDark(){return this.getBrightness()<128}isLight(){return this.getBrightness()>=128}equals(t){return this.r===t.r&&this.g===t.g&&this.b===t.b&&this.a===t.a}clone(){return this._c(this)}toHexString(){let t="#";const n=(this.r||0).toString(16);t+=n.length===2?n:"0"+n;const r=(this.g||0).toString(16);t+=r.length===2?r:"0"+r;const o=(this.b||0).toString(16);if(t+=o.length===2?o:"0"+o,typeof this.a=="number"&&this.a>=0&&this.a<1){const a=vn(this.a*255).toString(16);t+=a.length===2?a:"0"+a}return t}toHsl(){return{h:this.getHue(),s:this.getSaturation(),l:this.getLightness(),a:this.a}}toHslString(){const t=this.getHue(),n=vn(this.getSaturation()*100),r=vn(this.getLightness()*100);return this.a!==1?`hsla(${t},${n}%,${r}%,${this.a})`:`hsl(${t},${n}%,${r}%)`}toHsv(){return{h:this.getHue(),s:this.getSaturation(),v:this.getValue(),a:this.a}}toRgb(){return{r:this.r,g:this.g,b:this.b,a:this.a}}toRgbString(){return this.a!==1?`rgba(${this.r},${this.g},${this.b},${this.a})`:`rgb(${this.r},${this.g},${this.b})`}toString(){return this.toRgbString()}_sc(t,n,r){const o=this.clone();return o[t]=Ei(n,r),o}_c(t){return new this.constructor(t)}getMax(){return typeof this._max>"u"&&(this._max=Math.max(this.r,this.g,this.b)),this._max}getMin(){return typeof this._min>"u"&&(this._min=Math.min(this.r,this.g,this.b)),this._min}fromHexString(t){const n=t.replace("#","");function r(o,a){return parseInt(n[o]+n[a||o],16)}n.length<6?(this.r=r(0),this.g=r(1),this.b=r(2),this.a=n[3]?r(3)/255:1):(this.r=r(0,1),this.g=r(2,3),this.b=r(4,5),this.a=n[6]?r(6,7)/255:1)}fromHsl({h:t,s:n,l:r,a:o}){if(this._h=t%360,this._s=n,this._l=r,this.a=typeof o=="number"?o:1,n<=0){const m=vn(r*255);this.r=m,this.g=m,this.b=m}let a=0,i=0,s=0;const l=t/60,c=(1-Math.abs(2*r-1))*n,d=c*(1-Math.abs(l%2-1));l>=0&&l<1?(a=c,i=d):l>=1&&l<2?(a=d,i=c):l>=2&&l<3?(i=c,s=d):l>=3&&l<4?(i=d,s=c):l>=4&&l<5?(a=d,s=c):l>=5&&l<6&&(a=c,s=d);const f=r-c/2;this.r=vn((a+f)*255),this.g=vn((i+f)*255),this.b=vn((s+f)*255)}fromHsv({h:t,s:n,v:r,a:o}){this._h=t%360,this._s=n,this._v=r,this.a=typeof o=="number"?o:1;const a=vn(r*255);if(this.r=a,this.g=a,this.b=a,n<=0)return;const i=t/60,s=Math.floor(i),l=i-s,c=vn(r*(1-n)*255),d=vn(r*(1-n*l)*255),f=vn(r*(1-n*(1-l))*255);switch(s){case 0:this.g=f,this.b=c;break;case 1:this.r=d,this.b=c;break;case 2:this.r=c,this.b=f;break;case 3:this.r=c,this.g=d;break;case 4:this.r=f,this.g=c;break;case 5:default:this.g=c,this.b=d;break}}fromHsvString(t){const n=Hu(t,ph);this.fromHsv({h:n[0],s:n[1],v:n[2],a:n[3]})}fromHslString(t){const n=Hu(t,ph);this.fromHsl({h:n[0],s:n[1],l:n[2],a:n[3]})}fromRgbString(t){const n=Hu(t,(r,o)=>o.includes("%")?vn(r/100*255):r);this.r=n[0],this.g=n[1],this.b=n[2],this.a=n[3]}}var Js=2,gh=.16,n$=.05,r$=.05,o$=.15,hh=5,vh=4,a$=[{index:7,amount:15},{index:6,amount:25},{index:5,amount:30},{index:5,amount:45},{index:5,amount:65},{index:5,amount:85},{index:4,amount:90},{index:3,amount:95},{index:2,amount:97},{index:1,amount:98}];function bh(e,t,n){var r;return Math.round(e.h)>=60&&Math.round(e.h)<=240?r=n?Math.round(e.h)-Js*t:Math.round(e.h)+Js*t:r=n?Math.round(e.h)+Js*t:Math.round(e.h)-Js*t,r<0?r+=360:r>=360&&(r-=360),r}function yh(e,t,n){if(e.h===0&&e.s===0)return e.s;var r;return n?r=e.s-gh*t:t===vh?r=e.s+gh:r=e.s+n$*t,r>1&&(r=1),n&&t===hh&&r>.1&&(r=.1),r<.06&&(r=.06),Math.round(r*100)/100}function Ch(e,t,n){var r;return n?r=e.v+r$*t:r=e.v-o$*t,r=Math.max(0,Math.min(1,r)),Math.round(r*100)/100}function Ro(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=[],r=new $t(e),o=r.toHsv(),a=hh;a>0;a-=1){var i=new $t({h:bh(o,a,!0),s:yh(o,a,!0),v:Ch(o,a,!0)});n.push(i)}n.push(r);for(var s=1;s<=vh;s+=1){var l=new $t({h:bh(o,s),s:yh(o,s),v:Ch(o,s)});n.push(l)}return t.theme==="dark"?a$.map(function(c){var d=c.index,f=c.amount;return new $t(t.backgroundColor||"#141414").mix(n[d],f).toHexString()}):n.map(function(c){return c.toHexString()})}var Wu={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"},qu=["#fff1f0","#ffccc7","#ffa39e","#ff7875","#ff4d4f","#f5222d","#cf1322","#a8071a","#820014","#5c0011"];qu.primary=qu[5];var Uu=["#fff2e8","#ffd8bf","#ffbb96","#ff9c6e","#ff7a45","#fa541c","#d4380d","#ad2102","#871400","#610b00"];Uu.primary=Uu[5];var Gu=["#fff7e6","#ffe7ba","#ffd591","#ffc069","#ffa940","#fa8c16","#d46b08","#ad4e00","#873800","#612500"];Gu.primary=Gu[5];var Ku=["#fffbe6","#fff1b8","#ffe58f","#ffd666","#ffc53d","#faad14","#d48806","#ad6800","#874d00","#613400"];Ku.primary=Ku[5];var Xu=["#feffe6","#ffffb8","#fffb8f","#fff566","#ffec3d","#fadb14","#d4b106","#ad8b00","#876800","#614700"];Xu.primary=Xu[5];var Yu=["#fcffe6","#f4ffb8","#eaff8f","#d3f261","#bae637","#a0d911","#7cb305","#5b8c00","#3f6600","#254000"];Yu.primary=Yu[5];var Ju=["#f6ffed","#d9f7be","#b7eb8f","#95de64","#73d13d","#52c41a","#389e0d","#237804","#135200","#092b00"];Ju.primary=Ju[5];var Zu=["#e6fffb","#b5f5ec","#87e8de","#5cdbd3","#36cfc9","#13c2c2","#08979c","#006d75","#00474f","#002329"];Zu.primary=Zu[5];var Zs=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];Zs.primary=Zs[5];var Qu=["#f0f5ff","#d6e4ff","#adc6ff","#85a5ff","#597ef7","#2f54eb","#1d39c4","#10239e","#061178","#030852"];Qu.primary=Qu[5];var ed=["#f9f0ff","#efdbff","#d3adf7","#b37feb","#9254de","#722ed1","#531dab","#391085","#22075e","#120338"];ed.primary=ed[5];var td=["#fff0f6","#ffd6e7","#ffadd2","#ff85c0","#f759ab","#eb2f96","#c41d7f","#9e1068","#780650","#520339"];td.primary=td[5];var nd=["#a6a6a6","#999999","#8c8c8c","#808080","#737373","#666666","#404040","#1a1a1a","#000000","#000000"];nd.primary=nd[5];var rd={red:qu,volcano:Uu,orange:Gu,gold:Ku,yellow:Xu,lime:Yu,green:Ju,cyan:Zu,blue:Zs,geekblue:Qu,purple:ed,magenta:td,grey:nd};function xh(e,{generateColorPalettes:t,generateNeutralColorPalettes:n}){const{colorSuccess:r,colorWarning:o,colorError:a,colorInfo:i,colorPrimary:s,colorBgBase:l,colorTextBase:c}=e,d=t(s),f=t(r),m=t(o),p=t(a),h=t(i),v=n(l,c),g=e.colorLink||e.colorInfo,b=t(g),y=new $t(p[1]).mix(new $t(p[3]),50).toHexString();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:f[1],colorSuccessBgHover:f[2],colorSuccessBorder:f[3],colorSuccessBorderHover:f[4],colorSuccessHover:f[4],colorSuccess:f[6],colorSuccessActive:f[7],colorSuccessTextHover:f[8],colorSuccessText:f[9],colorSuccessTextActive:f[10],colorErrorBg:p[1],colorErrorBgHover:p[2],colorErrorBgFilledHover:y,colorErrorBgActive:p[3],colorErrorBorder:p[3],colorErrorBorderHover:p[4],colorErrorHover:p[5],colorError:p[6],colorErrorActive:p[7],colorErrorTextHover:p[8],colorErrorText:p[9],colorErrorTextActive:p[10],colorWarningBg:m[1],colorWarningBgHover:m[2],colorWarningBorder:m[3],colorWarningBorderHover:m[4],colorWarningHover:m[4],colorWarning:m[6],colorWarningActive:m[7],colorWarningTextHover:m[8],colorWarningText:m[9],colorWarningTextActive:m[10],colorInfoBg:h[1],colorInfoBgHover:h[2],colorInfoBorder:h[3],colorInfoBorderHover:h[4],colorInfoHover:h[4],colorInfo:h[6],colorInfoActive:h[7],colorInfoTextHover:h[8],colorInfoText:h[9],colorInfoTextActive:h[10],colorLinkHover:b[4],colorLink:b[6],colorLinkActive:b[7],colorBgMask:new $t("#000").setA(.45).toRgbString(),colorWhite:"#fff"})}const i$=e=>{let t=e,n=e,r=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?n=4:e<8&&e>=7?n=5:e<14&&e>=8?n=6:e<16&&e>=14?n=7:e>=16&&(n=8),e<6&&e>=2?r=1:e>=6&&(r=2),e>4&&e<8?o=4:e>=8&&(o=6),{borderRadius:e,borderRadiusXS:r,borderRadiusSM:n,borderRadiusLG:t,borderRadiusOuter:o}};function s$(e){const{motionUnit:t,motionBase:n,borderRadius:r,lineWidth:o}=e;return Object.assign({motionDurationFast:`${(n+t).toFixed(1)}s`,motionDurationMid:`${(n+t*2).toFixed(1)}s`,motionDurationSlow:`${(n+t*3).toFixed(1)}s`,lineWidthBold:o+1},i$(r))}const l$=e=>{const{controlHeight:t}=e;return{controlHeightSM:t*.75,controlHeightXS:t*.5,controlHeightLG:t*1.25}};function Qs(e){return(e+8)/e}function c$(e){const t=Array.from({length:10}).map((n,r)=>{const o=r-1,a=e*Math.pow(Math.E,o/5),i=r>1?Math.floor(a):Math.ceil(a);return Math.floor(i/2)*2});return t[1]=e,t.map(n=>({size:n,lineHeight:Qs(n)}))}const u$=e=>{const t=c$(e),n=t.map(d=>d.size),r=t.map(d=>d.lineHeight),o=n[1],a=n[0],i=n[2],s=r[1],l=r[0],c=r[2];return{fontSizeSM:a,fontSize:o,fontSizeLG:i,fontSizeXL:n[3],fontSizeHeading1:n[6],fontSizeHeading2:n[5],fontSizeHeading3:n[4],fontSizeHeading4:n[3],fontSizeHeading5:n[2],lineHeight:s,lineHeightLG:c,lineHeightSM:l,fontHeight:Math.round(s*o),fontHeightLG:Math.round(c*i),fontHeightSM:Math.round(l*a),lineHeightHeading1:r[6],lineHeightHeading2:r[5],lineHeightHeading3:r[4],lineHeightHeading4:r[3],lineHeightHeading5:r[2]}};function d$(e){const{sizeUnit:t,sizeStep:n}=e;return{sizeXXL:t*(n+8),sizeXL:t*(n+4),sizeLG:t*(n+2),sizeMD:t*(n+1),sizeMS:t*n,size:t*n,sizeSM:t*(n-1),sizeXS:t*(n-2),sizeXXS:t*(n-3)}}const ar=(e,t)=>new $t(e).setA(t).toRgbString(),$i=(e,t)=>new $t(e).darken(t).toHexString(),f$=e=>{const t=Ro(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]}},m$=(e,t)=>{const n=e||"#fff",r=t||"#000";return{colorBgBase:n,colorTextBase:r,colorText:ar(r,.88),colorTextSecondary:ar(r,.65),colorTextTertiary:ar(r,.45),colorTextQuaternary:ar(r,.25),colorFill:ar(r,.15),colorFillSecondary:ar(r,.06),colorFillTertiary:ar(r,.04),colorFillQuaternary:ar(r,.02),colorBgSolid:ar(r,1),colorBgSolidHover:ar(r,.75),colorBgSolidActive:ar(r,.95),colorBgLayout:$i(n,4),colorBgContainer:$i(n,0),colorBgElevated:$i(n,0),colorBgSpotlight:ar(r,.85),colorBgBlur:"transparent",colorBorder:$i(n,15),colorBorderSecondary:$i(n,6)}};function od(e){Wu.pink=Wu.magenta,rd.pink=rd.magenta;const t=Object.keys(Vu).map(n=>{const r=e[n]===Wu[n]?rd[n]:Ro(e[n]);return Array.from({length:10},()=>1).reduce((o,a,i)=>(o[`${n}-${i+1}`]=r[i],o[`${n}${i+1}`]=r[i],o),{})}).reduce((n,r)=>(n=Object.assign(Object.assign({},n),r),n),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},e),t),xh(e,{generateColorPalettes:f$,generateNeutralColorPalettes:m$})),u$(e.fontSize)),d$(e)),l$(e)),s$(e))}const wh=Nu(od),el={token:Si,override:{override:Si},hashed:!0},Sh=w.createContext(el),ki="ant",tl="anticon",p$=["outlined","borderless","filled","underlined"],g$=(e,t)=>t||(e?`${ki}-${e}`:ki),Ue=u.createContext({getPrefixCls:g$,iconPrefixCls:tl}),{Consumer:ML}=Ue,Eh={};function qn(e){const t=u.useContext(Ue),{getPrefixCls:n,direction:r,getPopupContainer:o}=t,a=t[e];return Object.assign(Object.assign({classNames:Eh,styles:Eh},a),{getPrefixCls:n,direction:r,getPopupContainer:o})}const h$=`-ant-${Date.now()}-${Math.random()}`;function v$(e,t){const n={},r=(i,s)=>{let l=i.clone();return l=(s==null?void 0:s(l))||l,l.toRgbString()},o=(i,s)=>{const l=new $t(i),c=Ro(l.toRgbString());n[`${s}-color`]=r(l),n[`${s}-color-disabled`]=c[1],n[`${s}-color-hover`]=c[4],n[`${s}-color-active`]=c[6],n[`${s}-color-outline`]=l.clone().setA(.2).toRgbString(),n[`${s}-color-deprecated-bg`]=c[0],n[`${s}-color-deprecated-border`]=c[2]};if(t.primaryColor){o(t.primaryColor,"primary");const i=new $t(t.primaryColor),s=Ro(i.toRgbString());s.forEach((c,d)=>{n[`primary-${d+1}`]=c}),n["primary-color-deprecated-l-35"]=r(i,c=>c.lighten(35)),n["primary-color-deprecated-l-20"]=r(i,c=>c.lighten(20)),n["primary-color-deprecated-t-20"]=r(i,c=>c.tint(20)),n["primary-color-deprecated-t-50"]=r(i,c=>c.tint(50)),n["primary-color-deprecated-f-12"]=r(i,c=>c.setA(c.a*.12));const l=new $t(s[0]);n["primary-color-active-deprecated-f-30"]=r(l,c=>c.setA(c.a*.3)),n["primary-color-active-deprecated-d-02"]=r(l,c=>c.darken(2))}return t.successColor&&o(t.successColor,"success"),t.warningColor&&o(t.warningColor,"warning"),t.errorColor&&o(t.errorColor,"error"),t.infoColor&&o(t.infoColor,"info"),`
|
|
36
|
+
:root {
|
|
37
|
+
${Object.keys(n).map(i=>`--${e}-${i}: ${n[i]};`).join(`
|
|
38
|
+
`)}
|
|
39
|
+
}
|
|
40
|
+
`.trim()}function b$(e,t){const n=v$(e,t);Sn()?qr(n,`${h$}-dynamic-theme`):process.env.NODE_ENV!=="production"&&Gr(!1,"ConfigProvider","SSR do not support dynamic theme with css variables.")}const Un=u.createContext(!1),ad=({children:e,disabled:t})=>{const n=u.useContext(Un);return u.createElement(Un.Provider,{value:t??n},e)},Bo=u.createContext(void 0),y$=({children:e,size:t})=>{const n=u.useContext(Bo);return u.createElement(Bo.Provider,{value:t||n},e)};function C$(){const e=w.useContext(Un),t=w.useContext(Bo);return{componentDisabled:e,componentSize:t}}var $h=Jt(function e(){Yt(this,e)}),kh="CALC_UNIT",x$=new RegExp(kh,"g");function id(e){return typeof e=="number"?"".concat(e).concat(kh):e}var w$=(function(e){Hr(n,e);var t=Wr(n);function n(r,o){var a;Yt(this,n),a=t.call(this),F(lt(a),"result",""),F(lt(a),"unitlessCssVar",void 0),F(lt(a),"lowPriority",void 0);var i=Ae(r);return a.unitlessCssVar=o,r instanceof n?a.result="(".concat(r.result,")"):i==="number"?a.result=id(r):i==="string"&&(a.result=r),a}return Jt(n,[{key:"add",value:function(o){return o instanceof n?this.result="".concat(this.result," + ").concat(o.getResult()):(typeof o=="number"||typeof o=="string")&&(this.result="".concat(this.result," + ").concat(id(o))),this.lowPriority=!0,this}},{key:"sub",value:function(o){return o instanceof n?this.result="".concat(this.result," - ").concat(o.getResult()):(typeof o=="number"||typeof o=="string")&&(this.result="".concat(this.result," - ").concat(id(o))),this.lowPriority=!0,this}},{key:"mul",value:function(o){return this.lowPriority&&(this.result="(".concat(this.result,")")),o instanceof n?this.result="".concat(this.result," * ").concat(o.getResult(!0)):(typeof o=="number"||typeof o=="string")&&(this.result="".concat(this.result," * ").concat(o)),this.lowPriority=!1,this}},{key:"div",value:function(o){return this.lowPriority&&(this.result="(".concat(this.result,")")),o instanceof n?this.result="".concat(this.result," / ").concat(o.getResult(!0)):(typeof o=="number"||typeof o=="string")&&(this.result="".concat(this.result," / ").concat(o)),this.lowPriority=!1,this}},{key:"getResult",value:function(o){return this.lowPriority||o?"(".concat(this.result,")"):this.result}},{key:"equal",value:function(o){var a=this,i=o||{},s=i.unit,l=!0;return typeof s=="boolean"?l=s:Array.from(this.unitlessCssVar).some(function(c){return a.result.includes(c)})&&(l=!1),this.result=this.result.replace(x$,l?"px":""),typeof this.lowPriority<"u"?"calc(".concat(this.result,")"):this.result}}]),n})($h),S$=(function(e){Hr(n,e);var t=Wr(n);function n(r){var o;return Yt(this,n),o=t.call(this),F(lt(o),"result",0),r instanceof n?o.result=r.result:typeof r=="number"&&(o.result=r),o}return Jt(n,[{key:"add",value:function(o){return o instanceof n?this.result+=o.result:typeof o=="number"&&(this.result+=o),this}},{key:"sub",value:function(o){return o instanceof n?this.result-=o.result:typeof o=="number"&&(this.result-=o),this}},{key:"mul",value:function(o){return o instanceof n?this.result*=o.result:typeof o=="number"&&(this.result*=o),this}},{key:"div",value:function(o){return o instanceof n?this.result/=o.result:typeof o=="number"&&(this.result/=o),this}},{key:"equal",value:function(){return this.result}}]),n})($h),E$=function(t,n){var r=t==="css"?w$:S$;return function(o){return new r(o,n)}},Oh=function(t,n){return"".concat([n,t.replace(/([A-Z]+)([A-Z][a-z]+)/g,"$1-$2").replace(/([a-z])([A-Z])/g,"$1-$2")].filter(Boolean).join("-"))};function Wt(e){var t=u.useRef();t.current=e;var n=u.useCallback(function(){for(var r,o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];return(r=t.current)===null||r===void 0?void 0:r.call.apply(r,[t].concat(a))},[]);return n}function Vo(e){var t=u.useRef(!1),n=u.useState(e),r=Q(n,2),o=r[0],a=r[1];u.useEffect(function(){return t.current=!1,function(){t.current=!0}},[]);function i(s,l){l&&t.current||a(s)}return[o,i]}function sd(e){return e!==void 0}function sn(e,t){var n=t||{},r=n.defaultValue,o=n.value,a=n.onChange,i=n.postState,s=Vo(function(){return sd(o)?o:sd(r)?typeof r=="function"?r():r:typeof e=="function"?e():e}),l=Q(s,2),c=l[0],d=l[1],f=o!==void 0?o:c,m=i?i(f):f,p=Wt(a),h=Vo([f]),v=Q(h,2),g=v[0],b=v[1];Ci(function(){var x=g[0];c!==x&&p(c,x)},[g]),Ci(function(){sd(o)||d(o)},[o]);var y=Wt(function(x,C){d(x,C),b([f],C)});return[m,y]}function Ih(e,t,n,r){var o=R({},t[e]);if(r!=null&&r.deprecatedTokens){var a=r.deprecatedTokens;a.forEach(function(s){var l=Q(s,2),c=l[0],d=l[1];if(process.env.NODE_ENV!=="production"&&Ze(!(o!=null&&o[c]),"Component Token `".concat(String(c),"` of ").concat(String(e)," is deprecated. Please use `").concat(String(d),"` instead.")),o!=null&&o[c]||o!=null&&o[d]){var f;(f=o[d])!==null&&f!==void 0||(o[d]=o==null?void 0:o[c])}})}var i=R(R({},n),o);return Object.keys(i).forEach(function(s){i[s]===t[s]&&delete i[s]}),i}var Nh=process.env.NODE_ENV!=="production"||typeof CSSINJS_STATISTIC<"u",ld=!0;function ft(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(!Nh)return Object.assign.apply(Object,[{}].concat(t));ld=!1;var r={};return t.forEach(function(o){if(Ae(o)==="object"){var a=Object.keys(o);a.forEach(function(i){Object.defineProperty(r,i,{configurable:!0,enumerable:!0,get:function(){return o[i]}})})}}),ld=!0,r}var Ph={};function $$(){}var k$=function(t){var n,r=t,o=$$;return Nh&&typeof Proxy<"u"&&(n=new Set,r=new Proxy(t,{get:function(i,s){if(ld){var l;(l=n)===null||l===void 0||l.add(s)}return i[s]}}),o=function(i,s){var l;Ph[i]={global:Array.from(n),component:R(R({},(l=Ph[i])===null||l===void 0?void 0:l.component),s)}}),{token:r,keys:n,flush:o}};function _h(e,t,n){if(typeof n=="function"){var r;return n(ft(t,(r=t[e])!==null&&r!==void 0?r:{}))}return n??{}}function O$(e){return e==="js"?{max:Math.max,min:Math.min}:{max:function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return"max(".concat(r.map(function(a){return ne(a)}).join(","),")")},min:function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return"min(".concat(r.map(function(a){return ne(a)}).join(","),")")}}}var I$=1e3*60*10,N$=(function(){function e(){Yt(this,e),F(this,"map",new Map),F(this,"objectIDMap",new WeakMap),F(this,"nextID",0),F(this,"lastAccessBeat",new Map),F(this,"accessBeat",0)}return Jt(e,[{key:"set",value:function(n,r){this.clear();var o=this.getCompositeKey(n);this.map.set(o,r),this.lastAccessBeat.set(o,Date.now())}},{key:"get",value:function(n){var r=this.getCompositeKey(n),o=this.map.get(r);return this.lastAccessBeat.set(r,Date.now()),this.accessBeat+=1,o}},{key:"getCompositeKey",value:function(n){var r=this,o=n.map(function(a){return a&&Ae(a)==="object"?"obj_".concat(r.getObjectID(a)):"".concat(Ae(a),"_").concat(a)});return o.join("|")}},{key:"getObjectID",value:function(n){if(this.objectIDMap.has(n))return this.objectIDMap.get(n);var r=this.nextID;return this.objectIDMap.set(n,r),this.nextID+=1,r}},{key:"clear",value:function(){var n=this;if(this.accessBeat>1e4){var r=Date.now();this.lastAccessBeat.forEach(function(o,a){r-o>I$&&(n.map.delete(a),n.lastAccessBeat.delete(a))}),this.accessBeat=0}}}]),e})(),Th=new N$;function P$(e,t){return w.useMemo(function(){var n=Th.get(t);if(n)return n;var r=e();return Th.set(t,r),r},t)}var _$=function(){return{}};function T$(e){var t=e.useCSP,n=t===void 0?_$:t,r=e.useToken,o=e.usePrefix,a=e.getResetStyles,i=e.getCommonStyle,s=e.getCompUnitless;function l(m,p,h,v){var g=Array.isArray(m)?m[0]:m;function b(E){return"".concat(String(g)).concat(E.slice(0,1).toUpperCase()).concat(E.slice(1))}var y=(v==null?void 0:v.unitless)||{},x=typeof s=="function"?s(m):{},C=R(R({},x),{},F({},b("zIndexPopup"),!0));Object.keys(y).forEach(function(E){C[b(E)]=y[E]});var S=R(R({},v),{},{unitless:C,prefixToken:b}),$=d(m,p,h,S),k=c(g,h,S);return function(E){var I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:E,N=$(E,I),P=Q(N,2),T=P[1],j=k(I),_=Q(j,2),M=_[0],z=_[1];return[M,T,z]}}function c(m,p,h){var v=h.unitless,g=h.injectStyle,b=g===void 0?!0:g,y=h.prefixToken,x=h.ignore,C=function(k){var E=k.rootCls,I=k.cssVar,N=I===void 0?{}:I,P=r(),T=P.realToken;return GE({path:[m],prefix:N.prefix,key:N.key,unitless:v,ignore:x,token:T,scope:E},function(){var j=_h(m,T,p),_=Ih(m,T,j,{deprecatedTokens:h==null?void 0:h.deprecatedTokens});return Object.keys(j).forEach(function(M){_[y(M)]=_[M],delete _[M]}),_}),null},S=function(k){var E=r(),I=E.cssVar;return[function(N){return b&&I?w.createElement(w.Fragment,null,w.createElement(C,{rootCls:k,cssVar:I,component:m}),N):N},I==null?void 0:I.key]};return S}function d(m,p,h){var v=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},g=Array.isArray(m)?m:[m,m],b=Q(g,1),y=b[0],x=g.join("-"),C=e.layer||{name:"antd"};return function(S){var $=arguments.length>1&&arguments[1]!==void 0?arguments[1]:S,k=r(),E=k.theme,I=k.realToken,N=k.hashId,P=k.token,T=k.cssVar,j=o(),_=j.rootPrefixCls,M=j.iconPrefixCls,z=n(),A=T?"css":"js",D=P$(function(){var V=new Set;return T&&Object.keys(v.unitless||{}).forEach(function(H){V.add(Bs(H,T.prefix)),V.add(Bs(H,Oh(y,T.prefix)))}),E$(A,V)},[A,y,T==null?void 0:T.prefix]),W=O$(A),U=W.max,q=W.min,B={theme:E,token:P,hashId:N,nonce:function(){return z.nonce},clientOnly:v.clientOnly,layer:C,order:v.order||-999};typeof a=="function"&&Fu(R(R({},B),{},{clientOnly:!1,path:["Shared",_]}),function(){return a(P,{prefix:{rootPrefixCls:_,iconPrefixCls:M},csp:z})});var L=Fu(R(R({},B),{},{path:[x,S,M]}),function(){if(v.injectStyle===!1)return[];var V=k$(P),H=V.token,X=V.flush,ie=_h(y,I,h),K=".".concat(S),ee=Ih(y,I,ie,{deprecatedTokens:v.deprecatedTokens});T&&ie&&Ae(ie)==="object"&&Object.keys(ie).forEach(function(ae){ie[ae]="var(".concat(Bs(ae,Oh(y,T.prefix)),")")});var te=ft(H,{componentCls:K,prefixCls:S,iconCls:".".concat(M),antCls:".".concat(_),calc:D,max:U,min:q},T?ie:ee),Y=p(te,{hashId:N,prefixCls:S,rootPrefixCls:_,iconPrefixCls:M});X(y,ee);var J=typeof i=="function"?i(te,S,$,v.resetFont):null;return[v.resetStyle===!1?null:J,Y]});return[L,N]}}function f(m,p,h){var v=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},g=d(m,p,h,R({resetStyle:!1,order:-998},v)),b=function(x){var C=x.prefixCls,S=x.rootCls,$=S===void 0?C:S;return g(C,$),null};return process.env.NODE_ENV!=="production"&&(b.displayName="SubStyle_".concat(String(Array.isArray(m)?m.join("."):m))),b}return{genStyleHooks:l,genSubStyleComponent:f,genComponentStyleHook:d}}const po=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"],j$="5.29.3";function cd(e){return e>=0&&e<=255}function Oi(e,t){const{r:n,g:r,b:o,a}=new $t(e).toRgb();if(a<1)return e;const{r:i,g:s,b:l}=new $t(t).toRgb();for(let c=.01;c<=1;c+=.01){const d=Math.round((n-i*(1-c))/c),f=Math.round((r-s*(1-c))/c),m=Math.round((o-l*(1-c))/c);if(cd(d)&&cd(f)&&cd(m))return new $t({r:d,g:f,b:m,a:Math.round(c*100)/100}).toRgbString()}return new $t({r:n,g:r,b:o,a:1}).toRgbString()}var M$=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function jh(e){const{override:t}=e,n=M$(e,["override"]),r=Object.assign({},t);Object.keys(Si).forEach(m=>{delete r[m]});const o=Object.assign(Object.assign({},n),r),a=480,i=576,s=768,l=992,c=1200,d=1600;return o.motion===!1&&(o.motionDurationFast="0s",o.motionDurationMid="0s",o.motionDurationSlow="0s"),Object.assign(Object.assign(Object.assign({},o),{colorFillContent:o.colorFillSecondary,colorFillContentHover:o.colorFill,colorFillAlter:o.colorFillQuaternary,colorBgContainerDisabled:o.colorFillTertiary,colorBorderBg:o.colorBgContainer,colorSplit:Oi(o.colorBorderSecondary,o.colorBgContainer),colorTextPlaceholder:o.colorTextQuaternary,colorTextDisabled:o.colorTextQuaternary,colorTextHeading:o.colorText,colorTextLabel:o.colorTextSecondary,colorTextDescription:o.colorTextTertiary,colorTextLightSolid:o.colorWhite,colorHighlight:o.colorError,colorBgTextHover:o.colorFillSecondary,colorBgTextActive:o.colorFill,colorIcon:o.colorTextTertiary,colorIconHover:o.colorText,colorErrorOutline:Oi(o.colorErrorBg,o.colorBgContainer),colorWarningOutline:Oi(o.colorWarningBg,o.colorBgContainer),fontSizeIcon:o.fontSizeSM,lineWidthFocus:o.lineWidth*3,lineWidth:o.lineWidth,controlOutlineWidth:o.lineWidth*2,controlInteractiveSize:o.controlHeight/2,controlItemBgHover:o.colorFillTertiary,controlItemBgActive:o.colorPrimaryBg,controlItemBgActiveHover:o.colorPrimaryBgHover,controlItemBgActiveDisabled:o.colorFill,controlTmpOutline:o.colorFillQuaternary,controlOutline:Oi(o.colorPrimaryBg,o.colorBgContainer),lineType:o.lineType,borderRadius:o.borderRadius,borderRadiusXS:o.borderRadiusXS,borderRadiusSM:o.borderRadiusSM,borderRadiusLG:o.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:o.sizeXXS,paddingXS:o.sizeXS,paddingSM:o.sizeSM,padding:o.size,paddingMD:o.sizeMD,paddingLG:o.sizeLG,paddingXL:o.sizeXL,paddingContentHorizontalLG:o.sizeLG,paddingContentVerticalLG:o.sizeMS,paddingContentHorizontal:o.sizeMS,paddingContentVertical:o.sizeSM,paddingContentHorizontalSM:o.size,paddingContentVerticalSM:o.sizeXS,marginXXS:o.sizeXXS,marginXS:o.sizeXS,marginSM:o.sizeSM,margin:o.size,marginMD:o.sizeMD,marginLG:o.sizeLG,marginXL:o.sizeXL,marginXXL:o.sizeXXL,boxShadow:`
|
|
41
|
+
0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
42
|
+
0 3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
43
|
+
0 9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
44
|
+
`,boxShadowSecondary:`
|
|
45
|
+
0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
46
|
+
0 3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
47
|
+
0 9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
48
|
+
`,boxShadowTertiary:`
|
|
49
|
+
0 1px 2px 0 rgba(0, 0, 0, 0.03),
|
|
50
|
+
0 1px 6px -1px rgba(0, 0, 0, 0.02),
|
|
51
|
+
0 2px 4px 0 rgba(0, 0, 0, 0.02)
|
|
52
|
+
`,screenXS:a,screenXSMin:a,screenXSMax:i-1,screenSM:i,screenSMMin:i,screenSMMax:s-1,screenMD:s,screenMDMin:s,screenMDMax:l-1,screenLG:l,screenLGMin:l,screenLGMax:c-1,screenXL:c,screenXLMin:c,screenXLMax:d-1,screenXXL:d,screenXXLMin:d,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:`
|
|
53
|
+
0 1px 2px -2px ${new $t("rgba(0, 0, 0, 0.16)").toRgbString()},
|
|
54
|
+
0 3px 6px 0 ${new $t("rgba(0, 0, 0, 0.12)").toRgbString()},
|
|
55
|
+
0 5px 12px 4px ${new $t("rgba(0, 0, 0, 0.09)").toRgbString()}
|
|
56
|
+
`,boxShadowDrawerRight:`
|
|
57
|
+
-6px 0 16px 0 rgba(0, 0, 0, 0.08),
|
|
58
|
+
-3px 0 6px -4px rgba(0, 0, 0, 0.12),
|
|
59
|
+
-9px 0 28px 8px rgba(0, 0, 0, 0.05)
|
|
60
|
+
`,boxShadowDrawerLeft:`
|
|
61
|
+
6px 0 16px 0 rgba(0, 0, 0, 0.08),
|
|
62
|
+
3px 0 6px -4px rgba(0, 0, 0, 0.12),
|
|
63
|
+
9px 0 28px 8px rgba(0, 0, 0, 0.05)
|
|
64
|
+
`,boxShadowDrawerUp:`
|
|
65
|
+
0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
66
|
+
0 3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
67
|
+
0 9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
68
|
+
`,boxShadowDrawerDown:`
|
|
69
|
+
0 -6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
70
|
+
0 -3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
71
|
+
0 -9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
72
|
+
`,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)"}),r)}var Mh=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const zh={lineHeight:!0,lineHeightSM:!0,lineHeightLG:!0,lineHeightHeading1:!0,lineHeightHeading2:!0,lineHeightHeading3:!0,lineHeightHeading4:!0,lineHeightHeading5:!0,opacityLoading:!0,fontWeightStrong:!0,zIndexPopupBase:!0,zIndexBase:!0,opacityImage:!0},z$={motionBase:!0,motionUnit:!0},A$={screenXS:!0,screenXSMin:!0,screenXSMax:!0,screenSM:!0,screenSMMin:!0,screenSMMax:!0,screenMD:!0,screenMDMin:!0,screenMDMax:!0,screenLG:!0,screenLGMin:!0,screenLGMax:!0,screenXL:!0,screenXLMin:!0,screenXLMax:!0,screenXXL:!0,screenXXLMin:!0},Ah=(e,t,n)=>{const r=n.getDerivativeToken(e),{override:o}=t,a=Mh(t,["override"]);let i=Object.assign(Object.assign({},r),{override:o});return i=jh(i),a&&Object.entries(a).forEach(([s,l])=>{const{theme:c}=l,d=Mh(l,["theme"]);let f=d;c&&(f=Ah(Object.assign(Object.assign({},i),d),{override:d},c)),i[s]=f}),i};function _n(){const{token:e,hashed:t,theme:n,override:r,cssVar:o}=w.useContext(Sh),a=`${j$}-${t||""}`,i=n||wh,[s,l,c]=bE(i,[Si,e],{salt:a,override:r,getComputedToken:Ah,formatToken:jh,cssVar:o&&{prefix:o.prefix,key:o.key,unitless:zh,ignore:z$,preserve:A$}});return[i,c,t?l:"",s,o]}const nl={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},qt=(e,t=!1)=>({boxSizing:"border-box",margin:0,padding:0,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,listStyle:"none",fontFamily:t?"inherit":e.fontFamily}),Sa=()=>({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"}}),rl=()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),D$=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"}}}),L$=(e,t,n,r)=>{const o=`[class^="${t}"], [class*=" ${t}"]`,a=n?`.${n}`:o,i={boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}};let s={};return r!==!1&&(s={fontFamily:e.fontFamily,fontSize:e.fontSize}),{[a]:Object.assign(Object.assign(Object.assign({},s),i),{[o]:i})}},Ii=(e,t)=>({outline:`${ne(e.lineWidthFocus)} solid ${e.colorPrimaryBorder}`,outlineOffset:t??1,transition:"outline-offset 0s, outline 0s"}),Ea=(e,t)=>({"&:focus-visible":Ii(e,t)}),Dh=e=>({[`.${e}`]:Object.assign(Object.assign({},Sa()),{[`.${e} .${e}-icon`]:{display:"block"}})}),{genStyleHooks:zt,genComponentStyleHook:F$,genSubStyleComponent:ud}=T$({usePrefix:()=>{const{getPrefixCls:e,iconPrefixCls:t}=w.useContext(Ue);return{rootPrefixCls:e(),iconPrefixCls:t}},useToken:()=>{const[e,t,n,r,o]=_n();return{theme:e,realToken:t,hashId:n,token:r,cssVar:o}},useCSP:()=>{const{csp:e}=w.useContext(Ue);return e??{}},getResetStyles:(e,t)=>{var n;const r=D$(e);return[r,{"&":r},Dh((n=t==null?void 0:t.prefix.iconPrefixCls)!==null&&n!==void 0?n:tl)]},getCommonStyle:L$,getCompUnitless:()=>zh});function R$(e,t){return po.reduce((n,r)=>{const o=e[`${r}1`],a=e[`${r}3`],i=e[`${r}6`],s=e[`${r}7`];return Object.assign(Object.assign({},n),t(r,{lightColor:o,lightBorderColor:a,darkColor:i,textColor:s}))},{})}const B$=(e,t)=>{const[n,r]=_n();return Fu({token:r,hashId:"",path:["ant-design-icons",e],nonce:()=>t==null?void 0:t.nonce,layer:{name:"antd"}},()=>Dh(e))},V$=Object.assign({},u),{useId:Lh}=V$,H$=typeof Lh>"u"?()=>"":Lh;function W$(e,t,n){var r,o;const a=Et("ConfigProvider"),i=e||{},s=i.inherit===!1||!t?Object.assign(Object.assign({},el),{hashed:(r=t==null?void 0:t.hashed)!==null&&r!==void 0?r:el.hashed,cssVar:t==null?void 0:t.cssVar}):t,l=H$();if(process.env.NODE_ENV!=="production"){const c=i.cssVar||s.cssVar,d=!!(typeof i.cssVar=="object"&&(!((o=i.cssVar)===null||o===void 0)&&o.key)||l);process.env.NODE_ENV!=="production"&&a(!c||d,"breaking","Missing key in `cssVar` config. Please upgrade to React 18 or set `cssVar.key` manually in each ConfigProvider inside `cssVar` enabled ConfigProvider.")}return fi(()=>{var c,d;if(!e)return t;const f=Object.assign({},s.components);Object.keys(e.components||{}).forEach(h=>{f[h]=Object.assign(Object.assign({},f[h]),e.components[h])});const m=`css-var-${l.replace(/:/g,"")}`,p=((c=i.cssVar)!==null&&c!==void 0?c:s.cssVar)&&Object.assign(Object.assign(Object.assign({prefix:n==null?void 0:n.prefixCls},typeof s.cssVar=="object"?s.cssVar:{}),typeof i.cssVar=="object"?i.cssVar:{}),{key:typeof i.cssVar=="object"&&((d=i.cssVar)===null||d===void 0?void 0:d.key)||m});return Object.assign(Object.assign(Object.assign({},s),i),{token:Object.assign(Object.assign({},s.token),i.token),components:f,cssVar:p})},[i,s],(c,d)=>c.some((f,m)=>{const p=d[m];return!vi(f,p,!0)}))}var q$=["children"],Fh=u.createContext({});function U$(e){var t=e.children,n=Qe(e,q$);return u.createElement(Fh.Provider,{value:n},t)}var G$=(function(e){Hr(n,e);var t=Wr(n);function n(){return Yt(this,n),t.apply(this,arguments)}return Jt(n,[{key:"render",value:function(){return this.props.children}}]),n})(u.Component);function K$(e){var t=u.useReducer(function(s){return s+1},0),n=Q(t,2),r=n[1],o=u.useRef(e),a=Wt(function(){return o.current}),i=Wt(function(s){o.current=typeof s=="function"?s(o.current):s,r()});return[a,i]}var go="none",ol="appear",al="enter",il="leave",Rh="none",xr="prepare",$a="start",ka="active",dd="end",Bh="prepared";function Vh(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit".concat(e)]="webkit".concat(t),n["Moz".concat(e)]="moz".concat(t),n["ms".concat(e)]="MS".concat(t),n["O".concat(e)]="o".concat(t.toLowerCase()),n}function X$(e,t){var n={animationend:Vh("Animation","AnimationEnd"),transitionend:Vh("Transition","TransitionEnd")};return e&&("AnimationEvent"in t||delete n.animationend.animation,"TransitionEvent"in t||delete n.transitionend.transition),n}var Y$=X$(Sn(),typeof window<"u"?window:{}),Hh={};if(Sn()){var J$=document.createElement("div");Hh=J$.style}var sl={};function Wh(e){if(sl[e])return sl[e];var t=Y$[e];if(t)for(var n=Object.keys(t),r=n.length,o=0;o<r;o+=1){var a=n[o];if(Object.prototype.hasOwnProperty.call(t,a)&&a in Hh)return sl[e]=t[a],sl[e]}return""}var qh=Wh("animationend"),Uh=Wh("transitionend"),Gh=!!(qh&&Uh),Kh=qh||"animationend",Xh=Uh||"transitionend";function Yh(e,t){if(!e)return null;if(Ae(e)==="object"){var n=t.replace(/-\w/g,function(r){return r[1].toUpperCase()});return e[n]}return"".concat(e,"-").concat(t)}const Z$=(function(e){var t=w.useRef();function n(o){o&&(o.removeEventListener(Xh,e),o.removeEventListener(Kh,e))}function r(o){t.current&&t.current!==o&&n(t.current),o&&o!==t.current&&(o.addEventListener(Xh,e),o.addEventListener(Kh,e),t.current=o)}return u.useEffect(function(){return function(){n(t.current)}},[]),[r,n]});var Jh=Sn()?w.useLayoutEffect:w.useEffect;const Q$=(function(){var e=u.useRef(null);function t(){vt.cancel(e.current)}function n(r){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;t();var a=vt(function(){o<=1?r({isCanceled:function(){return a!==e.current}}):n(r,o-1)});e.current=a}return u.useEffect(function(){return function(){t()}},[]),[n,t]});var ek=[xr,$a,ka,dd],tk=[xr,Bh],Zh=!1,nk=!0;function Qh(e){return e===ka||e===dd}const rk=(function(e,t,n){var r=Vo(Rh),o=Q(r,2),a=o[0],i=o[1],s=Q$(),l=Q(s,2),c=l[0],d=l[1];function f(){i(xr,!0)}var m=t?tk:ek;return Jh(function(){if(a!==Rh&&a!==dd){var p=m.indexOf(a),h=m[p+1],v=n(a);v===Zh?i(h,!0):h&&c(function(g){function b(){g.isCanceled()||i(h,!0)}v===!0?b():Promise.resolve(v).then(b)})}},[e,a]),u.useEffect(function(){return function(){d()}},[]),[f,a]});function ok(e,t,n,r){var o=r.motionEnter,a=o===void 0?!0:o,i=r.motionAppear,s=i===void 0?!0:i,l=r.motionLeave,c=l===void 0?!0:l,d=r.motionDeadline,f=r.motionLeaveImmediately,m=r.onAppearPrepare,p=r.onEnterPrepare,h=r.onLeavePrepare,v=r.onAppearStart,g=r.onEnterStart,b=r.onLeaveStart,y=r.onAppearActive,x=r.onEnterActive,C=r.onLeaveActive,S=r.onAppearEnd,$=r.onEnterEnd,k=r.onLeaveEnd,E=r.onVisibleChanged,I=Vo(),N=Q(I,2),P=N[0],T=N[1],j=K$(go),_=Q(j,2),M=_[0],z=_[1],A=Vo(null),D=Q(A,2),W=D[0],U=D[1],q=M(),B=w.useRef(!1),L=w.useRef(null);function V(){return n()}var H=w.useRef(!1);function X(){z(go),U(null,!0)}var ie=Wt(function(de){var ye=M();if(ye!==go){var be=V();if(!(de&&!de.deadline&&de.target!==be)){var le=H.current,Ce;ye===ol&&le?Ce=S==null?void 0:S(be,de):ye===al&&le?Ce=$==null?void 0:$(be,de):ye===il&&le&&(Ce=k==null?void 0:k(be,de)),le&&Ce!==!1&&X()}}}),K=Z$(ie),ee=Q(K,1),te=ee[0],Y=function(ye){switch(ye){case ol:return F(F(F({},xr,m),$a,v),ka,y);case al:return F(F(F({},xr,p),$a,g),ka,x);case il:return F(F(F({},xr,h),$a,b),ka,C);default:return{}}},J=u.useMemo(function(){return Y(q)},[q]),ae=rk(q,!e,function(de){if(de===xr){var ye=J[xr];return ye?ye(V()):Zh}if(re in J){var be;U(((be=J[re])===null||be===void 0?void 0:be.call(J,V(),null))||null)}return re===ka&&q!==go&&(te(V()),d>0&&(clearTimeout(L.current),L.current=setTimeout(function(){ie({deadline:!0})},d))),re===Bh&&X(),nk}),Z=Q(ae,2),oe=Z[0],re=Z[1],ce=Qh(re);H.current=ce;var se=w.useRef(null);Jh(function(){if(!(B.current&&se.current===t)){T(t);var de=B.current;B.current=!0;var ye;!de&&t&&s&&(ye=ol),de&&t&&a&&(ye=al),(de&&!t&&c||!de&&f&&!t&&c)&&(ye=il);var be=Y(ye);ye&&(e||be[xr])?(z(ye),oe()):z(go),se.current=t}},[t]),w.useEffect(function(){(q===ol&&!s||q===al&&!a||q===il&&!c)&&z(go)},[s,a,c]),w.useEffect(function(){return function(){B.current=!1,clearTimeout(L.current)}},[]);var ue=u.useRef(!1);w.useEffect(function(){P&&(ue.current=!0),P!==void 0&&q===go&&((ue.current||P)&&(E==null||E(P)),ue.current=!0)},[P,q]);var he=W;return J[xr]&&re===$a&&(he=R({transition:"none"},he)),[q,re,he,P??t]}function ak(e){var t=e;Ae(e)==="object"&&(t=e.transitionSupport);function n(o,a){return!!(o.motionName&&t&&a!==!1)}var r=u.forwardRef(function(o,a){var i=o.visible,s=i===void 0?!0:i,l=o.removeOnLeave,c=l===void 0?!0:l,d=o.forceRender,f=o.children,m=o.motionName,p=o.leavedClassName,h=o.eventProps,v=u.useContext(Fh),g=v.motion,b=n(o,g),y=w.useRef(),x=w.useRef();function C(){try{return y.current instanceof HTMLElement?y.current:js(x.current)}catch{return null}}var S=ok(b,s,C,o),$=Q(S,4),k=$[0],E=$[1],I=$[2],N=$[3],P=u.useRef(N);N&&(P.current=!0);var T=u.useCallback(function(D){y.current=D,hu(a,D)},[a]),j,_=R(R({},h),{},{visible:s});if(!f)j=null;else if(k===go)N?j=f(R({},_),T):!c&&P.current&&p?j=f(R(R({},_),{},{className:p}),T):d||!c&&!p?j=f(R(R({},_),{},{style:{display:"none"}}),T):j=null;else{var M;E===xr?M="prepare":Qh(E)?M="active":E===$a&&(M="start");var z=Yh(m,"".concat(k,"-").concat(M));j=f(R(R({},_),{},{className:G(Yh(m,k),F(F({},z,z&&M),m,typeof m=="string")),style:I}),T)}if(u.isValidElement(j)&&Br(j)){var A=co(j);A||(j=u.cloneElement(j,{ref:T}))}return u.createElement(G$,{ref:x},j)});return r.displayName="CSSMotion",r}const wr=ak(Gh);var fd="add",md="keep",pd="remove",gd="removed";function ik(e){var t;return e&&Ae(e)==="object"&&"key"in e?t=e:t={key:e},R(R({},t),{},{key:String(t.key)})}function hd(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return e.map(ik)}function sk(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],n=[],r=0,o=t.length,a=hd(e),i=hd(t);a.forEach(function(c){for(var d=!1,f=r;f<o;f+=1){var m=i[f];if(m.key===c.key){r<f&&(n=n.concat(i.slice(r,f).map(function(p){return R(R({},p),{},{status:fd})})),r=f),n.push(R(R({},m),{},{status:md})),r+=1,d=!0;break}}d||n.push(R(R({},c),{},{status:pd}))}),r<o&&(n=n.concat(i.slice(r).map(function(c){return R(R({},c),{},{status:fd})})));var s={};n.forEach(function(c){var d=c.key;s[d]=(s[d]||0)+1});var l=Object.keys(s).filter(function(c){return s[c]>1});return l.forEach(function(c){n=n.filter(function(d){var f=d.key,m=d.status;return f!==c||m!==pd}),n.forEach(function(d){d.key===c&&(d.status=md)})}),n}var lk=["component","children","onVisibleChanged","onAllRemoved"],ck=["status"],uk=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function dk(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:wr,n=(function(r){Hr(a,r);var o=Wr(a);function a(){var i;Yt(this,a);for(var s=arguments.length,l=new Array(s),c=0;c<s;c++)l[c]=arguments[c];return i=o.call.apply(o,[this].concat(l)),F(lt(i),"state",{keyEntities:[]}),F(lt(i),"removeKey",function(d){i.setState(function(f){var m=f.keyEntities.map(function(p){return p.key!==d?p:R(R({},p),{},{status:gd})});return{keyEntities:m}},function(){var f=i.state.keyEntities,m=f.filter(function(p){var h=p.status;return h!==gd}).length;m===0&&i.props.onAllRemoved&&i.props.onAllRemoved()})}),i}return Jt(a,[{key:"render",value:function(){var s=this,l=this.state.keyEntities,c=this.props,d=c.component,f=c.children,m=c.onVisibleChanged;c.onAllRemoved;var p=Qe(c,lk),h=d||u.Fragment,v={};return uk.forEach(function(g){v[g]=p[g],delete p[g]}),delete p.keys,u.createElement(h,p,l.map(function(g,b){var y=g.status,x=Qe(g,ck),C=y===fd||y===md;return u.createElement(t,ge({},v,{key:x.key,visible:C,eventProps:x,onVisibleChanged:function($){m==null||m($,{key:x.key}),$||s.removeKey(x.key)}}),function(S,$){return f(R(R({},S),{},{index:b}),$)})}))}}],[{key:"getDerivedStateFromProps",value:function(s,l){var c=s.keys,d=l.keyEntities,f=hd(c),m=sk(d,f);return{keyEntities:m.filter(function(p){var h=d.find(function(v){var g=v.key;return p.key===g});return!(h&&h.status===gd&&p.status===pd)})}}}]),a})(u.Component);return F(n,"defaultProps",{component:"div"}),n}const ev=dk(Gh),vd=u.createContext(!0);process.env.NODE_ENV!=="production"&&(vd.displayName="MotionCacheContext");function fk(e){const t=u.useContext(vd),{children:n}=e,[,r]=_n(),{motion:o}=r,a=u.useRef(!1);return a.current||(a.current=t!==o),a.current?u.createElement(vd.Provider,{value:o},u.createElement(U$,{motion:o},n)):n}const tv=u.memo(({dropdownMatchSelectWidth:e})=>(Et("ConfigProvider").deprecated(e===void 0,"dropdownMatchSelectWidth","popupMatchSelectWidth"),null));process.env.NODE_ENV!=="production"&&(tv.displayName="PropWarning");const mk=process.env.NODE_ENV!=="production"?tv:()=>null;var pk=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let bd=!1;const nv=process.env.NODE_ENV!=="production"?e=>{process.env.NODE_ENV!=="production"&&Gr(!bd,e,"Static function can not consume context like dynamic theme. Please use 'App' component instead.")}:null,gk=["getTargetContainer","getPopupContainer","renderEmpty","input","pagination","form","select","button"];let ll,rv,ov,av;function cl(){return ll||ki}function hk(){return rv||tl}function vk(e){return Object.keys(e).some(t=>t.endsWith("Color"))}const bk=e=>{const{prefixCls:t,iconPrefixCls:n,theme:r,holderRender:o}=e;t!==void 0&&(ll=t),n!==void 0&&(rv=n),"holderRender"in e&&(av=o),r&&(vk(r)?(process.env.NODE_ENV!=="production"&&Gr(!1,"ConfigProvider","`config` of css variable theme is not work in v5. Please use new `theme` config instead."),b$(cl(),r)):ov=r)},yd=()=>({getPrefixCls:(e,t)=>t||(e?`${cl()}-${e}`:cl()),getIconPrefixCls:hk,getRootPrefixCls:()=>ll||cl(),getTheme:()=>ov,holderRender:av}),yk=e=>{const{children:t,csp:n,autoInsertSpaceInButton:r,alert:o,anchor:a,form:i,locale:s,componentSize:l,direction:c,space:d,splitter:f,virtual:m,dropdownMatchSelectWidth:p,popupMatchSelectWidth:h,popupOverflow:v,legacyLocale:g,parentContext:b,iconPrefixCls:y,theme:x,componentDisabled:C,segmented:S,statistic:$,spin:k,calendar:E,carousel:I,cascader:N,collapse:P,typography:T,checkbox:j,descriptions:_,divider:M,drawer:z,skeleton:A,steps:D,image:W,layout:U,list:q,mentions:B,modal:L,progress:V,result:H,slider:X,breadcrumb:ie,menu:K,pagination:ee,input:te,textArea:Y,empty:J,badge:ae,radio:Z,rate:oe,switch:re,transfer:ce,avatar:se,message:ue,tag:he,table:de,card:ye,tabs:be,timeline:le,timePicker:Ce,upload:Le,notification:We,tree:Me,colorPicker:we,datePicker:Re,rangePicker:fe,flex:qe,wave:Ne,dropdown:Ee,warning:Be,tour:Xe,tooltip:Ye,popover:yt,popconfirm:Je,floatButton:_t,floatButtonGroup:Lt,variant:Ve,inputNumber:Pe,treeSelect:Ge}=e,Ie=u.useCallback((je,ct)=>{const{prefixCls:Ct}=e;if(ct)return ct;const Tt=Ct||b.getPrefixCls("");return je?`${Tt}-${je}`:Tt},[b.getPrefixCls,e.prefixCls]),Ke=y||b.iconPrefixCls||tl,mt=n||b.csp;B$(Ke,mt);const pt=W$(x,b.theme,{prefixCls:Ie("")});process.env.NODE_ENV!=="production"&&(bd=bd||!!pt);const He={csp:mt,autoInsertSpaceInButton:r,alert:o,anchor:a,locale:s||g,direction:c,space:d,splitter:f,virtual:m,popupMatchSelectWidth:h??p,popupOverflow:v,getPrefixCls:Ie,iconPrefixCls:Ke,theme:pt,segmented:S,statistic:$,spin:k,calendar:E,carousel:I,cascader:N,collapse:P,typography:T,checkbox:j,descriptions:_,divider:M,drawer:z,skeleton:A,steps:D,image:W,input:te,textArea:Y,layout:U,list:q,mentions:B,modal:L,progress:V,result:H,slider:X,breadcrumb:ie,menu:K,pagination:ee,empty:J,badge:ae,radio:Z,rate:oe,switch:re,transfer:ce,avatar:se,message:ue,tag:he,table:de,card:ye,tabs:be,timeline:le,timePicker:Ce,upload:Le,notification:We,tree:Me,colorPicker:we,datePicker:Re,rangePicker:fe,flex:qe,wave:Ne,dropdown:Ee,warning:Be,tour:Xe,tooltip:Ye,popover:yt,popconfirm:Je,floatButton:_t,floatButtonGroup:Lt,variant:Ve,inputNumber:Pe,treeSelect:Ge};process.env.NODE_ENV!=="production"&&Et("ConfigProvider")(!("autoInsertSpaceInButton"in e),"deprecated","`autoInsertSpaceInButton` is deprecated. Please use `{ button: { autoInsertSpace: boolean }}` instead.");const et=Object.assign({},b);Object.keys(He).forEach(je=>{He[je]!==void 0&&(et[je]=He[je])}),gk.forEach(je=>{const ct=e[je];ct&&(et[je]=ct)}),typeof r<"u"&&(et.button=Object.assign({autoInsertSpace:r},et.button));const at=fi(()=>et,et,(je,ct)=>{const Ct=Object.keys(je),Tt=Object.keys(ct);return Ct.length!==Tt.length||Ct.some(ut=>je[ut]!==ct[ut])}),{layer:ke}=u.useContext(bi),pe=u.useMemo(()=>({prefixCls:Ke,csp:mt,layer:ke?"antd":void 0}),[Ke,mt,ke]);let me=u.createElement(u.Fragment,null,u.createElement(mk,{dropdownMatchSelectWidth:p}),t);const xe=u.useMemo(()=>{var je,ct,Ct,Tt;return wa(((je=Kr.Form)===null||je===void 0?void 0:je.defaultValidateMessages)||{},((Ct=(ct=at.locale)===null||ct===void 0?void 0:ct.Form)===null||Ct===void 0?void 0:Ct.defaultValidateMessages)||{},((Tt=at.form)===null||Tt===void 0?void 0:Tt.validateMessages)||{},(i==null?void 0:i.validateMessages)||{})},[at,i==null?void 0:i.validateMessages]);Object.keys(xe).length>0&&(me=u.createElement(sh.Provider,{value:xe},me)),s&&(me=u.createElement(mh,{locale:s,_ANT_MARK__:fh},me)),me=u.createElement(Ru.Provider,{value:pe},me),l&&(me=u.createElement(y$,{size:l},me)),me=u.createElement(fk,null,me);const Fe=u.useMemo(()=>{const je=pt||{},{algorithm:ct,token:Ct,components:Tt,cssVar:ut}=je,Vt=pk(je,["algorithm","token","components","cssVar"]),Bt=ct&&(!Array.isArray(ct)||ct.length>0)?Nu(ct):wh,tn={};Object.entries(Tt||{}).forEach(([Ht,nn])=>{const Se=Object.assign({},nn);"algorithm"in Se&&(Se.algorithm===!0?Se.theme=Bt:(Array.isArray(Se.algorithm)||typeof Se.algorithm=="function")&&(Se.theme=Nu(Se.algorithm)),delete Se.algorithm),tn[Ht]=Se});const kn=Object.assign(Object.assign({},Si),Ct);return Object.assign(Object.assign({},Vt),{theme:Bt,token:kn,components:tn,override:Object.assign({override:kn},tn),cssVar:ut})},[pt]);return x&&(me=u.createElement(Sh.Provider,{value:Fe},me)),at.warning&&(me=u.createElement(ih.Provider,{value:at.warning},me)),C!==void 0&&(me=u.createElement(ad,{disabled:C},me)),u.createElement(Ue.Provider,{value:at},me)},ir=e=>{const t=u.useContext(Ue),n=u.useContext(Bu);return u.createElement(yk,Object.assign({parentContext:t,legacyLocale:n},e))};ir.ConfigContext=Ue,ir.SizeContext=Bo,ir.config=bk,ir.useConfig=C$,Object.defineProperty(ir,"SizeContext",{get:()=>(process.env.NODE_ENV!=="production"&&Gr(!1,"ConfigProvider","ConfigProvider.SizeContext is deprecated. Please use `ConfigProvider.useConfig().componentSize` instead."),Bo)}),process.env.NODE_ENV!=="production"&&(ir.displayName="ConfigProvider");var Ck={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"};function iv(e){var t;return e==null||(t=e.getRootNode)===null||t===void 0?void 0:t.call(e)}function xk(e){return iv(e)instanceof ShadowRoot}function ul(e){return xk(e)?iv(e):null}function wk(e){return e.replace(/-(.)/g,function(t,n){return n.toUpperCase()})}function Sk(e,t){Ze(e,"[@ant-design/icons] ".concat(t))}function sv(e){return Ae(e)==="object"&&typeof e.name=="string"&&typeof e.theme=="string"&&(Ae(e.icon)==="object"||typeof e.icon=="function")}function lv(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(e).reduce(function(t,n){var r=e[n];switch(n){case"class":t.className=r,delete t.class;break;default:delete t[n],t[wk(n)]=r}return t},{})}function Cd(e,t,n){return n?w.createElement(e.tag,R(R({key:t},lv(e.attrs)),n),(e.children||[]).map(function(r,o){return Cd(r,"".concat(t,"-").concat(e.tag,"-").concat(o))})):w.createElement(e.tag,R({key:t},lv(e.attrs)),(e.children||[]).map(function(r,o){return Cd(r,"".concat(t,"-").concat(e.tag,"-").concat(o))}))}function cv(e){return Ro(e)[0]}function uv(e){return e?Array.isArray(e)?e:[e]:[]}var Ek=`
|
|
73
|
+
.anticon {
|
|
74
|
+
display: inline-flex;
|
|
75
|
+
align-items: center;
|
|
76
|
+
color: inherit;
|
|
77
|
+
font-style: normal;
|
|
78
|
+
line-height: 0;
|
|
79
|
+
text-align: center;
|
|
80
|
+
text-transform: none;
|
|
81
|
+
vertical-align: -0.125em;
|
|
82
|
+
text-rendering: optimizeLegibility;
|
|
83
|
+
-webkit-font-smoothing: antialiased;
|
|
84
|
+
-moz-osx-font-smoothing: grayscale;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.anticon > * {
|
|
88
|
+
line-height: 1;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.anticon svg {
|
|
92
|
+
display: inline-block;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.anticon::before {
|
|
96
|
+
display: none;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.anticon .anticon-icon {
|
|
100
|
+
display: block;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.anticon[tabindex] {
|
|
104
|
+
cursor: pointer;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.anticon-spin::before,
|
|
108
|
+
.anticon-spin {
|
|
109
|
+
display: inline-block;
|
|
110
|
+
-webkit-animation: loadingCircle 1s infinite linear;
|
|
111
|
+
animation: loadingCircle 1s infinite linear;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
@-webkit-keyframes loadingCircle {
|
|
115
|
+
100% {
|
|
116
|
+
-webkit-transform: rotate(360deg);
|
|
117
|
+
transform: rotate(360deg);
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
@keyframes loadingCircle {
|
|
122
|
+
100% {
|
|
123
|
+
-webkit-transform: rotate(360deg);
|
|
124
|
+
transform: rotate(360deg);
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
`,$k=function(t){var n=w.useContext(Ru),r=n.csp,o=n.prefixCls,a=n.layer,i=Ek;o&&(i=i.replace(/anticon/g,o)),a&&(i="@layer ".concat(a,` {
|
|
128
|
+
`).concat(i,`
|
|
129
|
+
}`)),w.useEffect(function(){var s=t.current,l=ul(s);qr(i,"@ant-design-icons",{prepend:!a,csp:r,attachTo:l})},[])},kk=["icon","className","onClick","style","primaryColor","secondaryColor"],Ni={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function Ok(e){var t=e.primaryColor,n=e.secondaryColor;Ni.primaryColor=t,Ni.secondaryColor=n||cv(t),Ni.calculated=!!n}function Ik(){return R({},Ni)}var Oa=function(t){var n=t.icon,r=t.className,o=t.onClick,a=t.style,i=t.primaryColor,s=t.secondaryColor,l=Qe(t,kk),c=u.useRef(),d=Ni;if(i&&(d={primaryColor:i,secondaryColor:s||cv(i)}),$k(c),Sk(sv(n),"icon should be icon definiton, but got ".concat(n)),!sv(n))return null;var f=n;return f&&typeof f.icon=="function"&&(f=R(R({},f),{},{icon:f.icon(d.primaryColor,d.secondaryColor)})),Cd(f.icon,"svg-".concat(f.name),R(R({className:r,onClick:o,style:a,"data-icon":f.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},l),{},{ref:c}))};Oa.displayName="IconReact",Oa.getTwoToneColors=Ik,Oa.setTwoToneColors=Ok;function dv(e){var t=uv(e),n=Q(t,2),r=n[0],o=n[1];return Oa.setTwoToneColors({primaryColor:r,secondaryColor:o})}function Nk(){var e=Oa.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor}var Pk=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];dv(Zs.primary);var Nt=u.forwardRef(function(e,t){var n=e.className,r=e.icon,o=e.spin,a=e.rotate,i=e.tabIndex,s=e.onClick,l=e.twoToneColor,c=Qe(e,Pk),d=u.useContext(Ru),f=d.prefixCls,m=f===void 0?"anticon":f,p=d.rootClassName,h=G(p,m,F(F({},"".concat(m,"-").concat(r.name),!!r.name),"".concat(m,"-spin"),!!o||r.name==="loading"),n),v=i;v===void 0&&s&&(v=-1);var g=a?{msTransform:"rotate(".concat(a,"deg)"),transform:"rotate(".concat(a,"deg)")}:void 0,b=uv(l),y=Q(b,2),x=y[0],C=y[1];return u.createElement("span",ge({role:"img","aria-label":r.name},c,{ref:t,tabIndex:v,onClick:s,className:h}),u.createElement(Oa,{icon:r,primaryColor:x,secondaryColor:C,style:g}))});Nt.displayName="AntdIcon",Nt.getTwoToneColor=Nk,Nt.setTwoToneColor=dv;var _k=function(t,n){return u.createElement(Nt,ge({},t,{ref:n,icon:Ck}))},dl=u.forwardRef(_k);process.env.NODE_ENV!=="production"&&(dl.displayName="CheckCircleFilled");var Tk={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"},jk=function(t,n){return u.createElement(Nt,ge({},t,{ref:n,icon:Tk}))},Ia=u.forwardRef(jk);process.env.NODE_ENV!=="production"&&(Ia.displayName="CloseCircleFilled");var Mk={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"},zk=function(t,n){return u.createElement(Nt,ge({},t,{ref:n,icon:Mk}))},Xr=u.forwardRef(zk);process.env.NODE_ENV!=="production"&&(Xr.displayName="CloseOutlined");var Ak={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"},Dk=function(t,n){return u.createElement(Nt,ge({},t,{ref:n,icon:Ak}))},fl=u.forwardRef(Dk);process.env.NODE_ENV!=="production"&&(fl.displayName="ExclamationCircleFilled");var Lk={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"},Fk=function(t,n){return u.createElement(Nt,ge({},t,{ref:n,icon:Lk}))},xd=u.forwardRef(Fk);process.env.NODE_ENV!=="production"&&(xd.displayName="InfoCircleFilled");var Rk=`accept acceptCharset accessKey action allowFullScreen allowTransparency
|
|
130
|
+
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
|
|
131
|
+
charSet checked classID className colSpan cols content contentEditable contextMenu
|
|
132
|
+
controls coords crossOrigin data dateTime default defer dir disabled download draggable
|
|
133
|
+
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
|
|
134
|
+
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
|
|
135
|
+
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
|
|
136
|
+
mediaGroup method min minLength multiple muted name noValidate nonce open
|
|
137
|
+
optimum pattern placeholder poster preload radioGroup readOnly rel required
|
|
138
|
+
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
|
|
139
|
+
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
|
|
140
|
+
summary tabIndex target title type useMap value width wmode wrap`,Bk=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
|
|
141
|
+
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
|
|
142
|
+
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
|
|
143
|
+
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
|
|
144
|
+
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
|
|
145
|
+
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
|
|
146
|
+
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,Vk="".concat(Rk," ").concat(Bk).split(/[\s\n]+/),Hk="aria-",Wk="data-";function fv(e,t){return e.indexOf(t)===0}function Gn(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n;t===!1?n={aria:!0,data:!0,attr:!0}:t===!0?n={aria:!0}:n=R({},t);var r={};return Object.keys(e).forEach(function(o){(n.aria&&(o==="role"||fv(o,Hk))||n.data&&fv(o,Wk)||n.attr&&Vk.includes(o))&&(r[o]=e[o])}),r}function mv(e){return e&&w.isValidElement(e)&&e.type===w.Fragment}const qk=(e,t,n)=>w.isValidElement(e)?w.cloneElement(e,typeof n=="function"?n(e.props||{}):n):t;function sr(e,t){return qk(e,e,t)}const pv=e=>typeof e=="object"&&e!=null&&e.nodeType===1,gv=(e,t)=>(!t||e!=="hidden")&&e!=="visible"&&e!=="clip",ml=(e,t)=>{if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){const n=getComputedStyle(e,null);return gv(n.overflowY,t)||gv(n.overflowX,t)||(r=>{const o=(a=>{if(!a.ownerDocument||!a.ownerDocument.defaultView)return null;try{return a.ownerDocument.defaultView.frameElement}catch{return null}})(r);return!!o&&(o.clientHeight<r.scrollHeight||o.clientWidth<r.scrollWidth)})(e)}return!1},pl=(e,t,n,r,o,a,i,s)=>a<e&&i>t||a>e&&i<t?0:a<=e&&s<=n||i>=t&&s>=n?a-e-r:i>t&&s<n||a<e&&s>n?i-t+o:0,Uk=e=>{const t=e.parentElement;return t??(e.getRootNode().host||null)},hv=(e,t)=>{var n,r,o,a;if(typeof document>"u")return[];const{scrollMode:i,block:s,inline:l,boundary:c,skipOverflowHiddenElements:d}=t,f=typeof c=="function"?c:z=>z!==c;if(!pv(e))throw new TypeError("Invalid target");const m=document.scrollingElement||document.documentElement,p=[];let h=e;for(;pv(h)&&f(h);){if(h=Uk(h),h===m){p.push(h);break}h!=null&&h===document.body&&ml(h)&&!ml(document.documentElement)||h!=null&&ml(h,d)&&p.push(h)}const v=(r=(n=window.visualViewport)==null?void 0:n.width)!=null?r:innerWidth,g=(a=(o=window.visualViewport)==null?void 0:o.height)!=null?a:innerHeight,{scrollX:b,scrollY:y}=window,{height:x,width:C,top:S,right:$,bottom:k,left:E}=e.getBoundingClientRect(),{top:I,right:N,bottom:P,left:T}=(z=>{const A=window.getComputedStyle(z);return{top:parseFloat(A.scrollMarginTop)||0,right:parseFloat(A.scrollMarginRight)||0,bottom:parseFloat(A.scrollMarginBottom)||0,left:parseFloat(A.scrollMarginLeft)||0}})(e);let j=s==="start"||s==="nearest"?S-I:s==="end"?k+P:S+x/2-I+P,_=l==="center"?E+C/2-T+N:l==="end"?$+N:E-T;const M=[];for(let z=0;z<p.length;z++){const A=p[z],{height:D,width:W,top:U,right:q,bottom:B,left:L}=A.getBoundingClientRect();if(i==="if-needed"&&S>=0&&E>=0&&k<=g&&$<=v&&(A===m&&!ml(A)||S>=U&&k<=B&&E>=L&&$<=q))return M;const V=getComputedStyle(A),H=parseInt(V.borderLeftWidth,10),X=parseInt(V.borderTopWidth,10),ie=parseInt(V.borderRightWidth,10),K=parseInt(V.borderBottomWidth,10);let ee=0,te=0;const Y="offsetWidth"in A?A.offsetWidth-A.clientWidth-H-ie:0,J="offsetHeight"in A?A.offsetHeight-A.clientHeight-X-K:0,ae="offsetWidth"in A?A.offsetWidth===0?0:W/A.offsetWidth:0,Z="offsetHeight"in A?A.offsetHeight===0?0:D/A.offsetHeight:0;if(m===A)ee=s==="start"?j:s==="end"?j-g:s==="nearest"?pl(y,y+g,g,X,K,y+j,y+j+x,x):j-g/2,te=l==="start"?_:l==="center"?_-v/2:l==="end"?_-v:pl(b,b+v,v,H,ie,b+_,b+_+C,C),ee=Math.max(0,ee+y),te=Math.max(0,te+b);else{ee=s==="start"?j-U-X:s==="end"?j-B+K+J:s==="nearest"?pl(U,B,D,X,K+J,j,j+x,x):j-(U+D/2)+J/2,te=l==="start"?_-L-H:l==="center"?_-(L+W/2)+Y/2:l==="end"?_-q+ie+Y:pl(L,q,W,H,ie+Y,_,_+C,C);const{scrollLeft:oe,scrollTop:re}=A;ee=Z===0?0:Math.max(0,Math.min(re+ee/Z,A.scrollHeight-D/Z+J)),te=ae===0?0:Math.max(0,Math.min(oe+te/ae,A.scrollWidth-W/ae+Y)),j+=re-ee,_+=oe-te}M.push({el:A,top:ee,left:te})}return M},Gk=e=>e===!1?{block:"end",inline:"nearest"}:(t=>t===Object(t)&&Object.keys(t).length!==0)(e)?e:{block:"start",inline:"nearest"};function Kk(e,t){if(!e.isConnected||!(o=>{let a=o;for(;a&&a.parentNode;){if(a.parentNode===document)return!0;a=a.parentNode instanceof ShadowRoot?a.parentNode.host:a.parentNode}return!1})(e))return;const n=(o=>{const a=window.getComputedStyle(o);return{top:parseFloat(a.scrollMarginTop)||0,right:parseFloat(a.scrollMarginRight)||0,bottom:parseFloat(a.scrollMarginBottom)||0,left:parseFloat(a.scrollMarginLeft)||0}})(e);if((o=>typeof o=="object"&&typeof o.behavior=="function")(t))return t.behavior(hv(e,t));const r=typeof t=="boolean"||t==null?void 0:t.behavior;for(const{el:o,top:a,left:i}of hv(e,Gk(t))){const s=a-n.top+n.bottom,l=i-n.left+n.right;o.scroll({top:s,left:l,behavior:r})}}const ln=e=>{const[,,,,t]=_n();return t?`${e}-css-var`:""};var De={BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CTRL:17,ALT:18,CAPS_LOCK:20,ESC:27,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,N:78,P:80,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,SEMICOLON:186,EQUALS:187,WIN_KEY:224},vv=u.forwardRef(function(e,t){var n=e.prefixCls,r=e.style,o=e.className,a=e.duration,i=a===void 0?4.5:a,s=e.showProgress,l=e.pauseOnHover,c=l===void 0?!0:l,d=e.eventKey,f=e.content,m=e.closable,p=e.closeIcon,h=p===void 0?"x":p,v=e.props,g=e.onClick,b=e.onNoticeClose,y=e.times,x=e.hovering,C=u.useState(!1),S=Q(C,2),$=S[0],k=S[1],E=u.useState(0),I=Q(E,2),N=I[0],P=I[1],T=u.useState(0),j=Q(T,2),_=j[0],M=j[1],z=x||$,A=i>0&&s,D=function(){b(d)},W=function(H){(H.key==="Enter"||H.code==="Enter"||H.keyCode===De.ENTER)&&D()};u.useEffect(function(){if(!z&&i>0){var V=Date.now()-_,H=setTimeout(function(){D()},i*1e3-_);return function(){c&&clearTimeout(H),M(Date.now()-V)}}},[i,z,y]),u.useEffect(function(){if(!z&&A&&(c||_===0)){var V=performance.now(),H,X=function ie(){cancelAnimationFrame(H),H=requestAnimationFrame(function(K){var ee=K+_-V,te=Math.min(ee/(i*1e3),1);P(te*100),te<1&&ie()})};return X(),function(){c&&cancelAnimationFrame(H)}}},[i,_,z,A,y]);var U=u.useMemo(function(){return Ae(m)==="object"&&m!==null?m:m?{closeIcon:h}:{}},[m,h]),q=Gn(U,!0),B=100-(!N||N<0?0:N>100?100:N),L="".concat(n,"-notice");return u.createElement("div",ge({},v,{ref:t,className:G(L,o,F({},"".concat(L,"-closable"),m)),style:r,onMouseEnter:function(H){var X;k(!0),v==null||(X=v.onMouseEnter)===null||X===void 0||X.call(v,H)},onMouseLeave:function(H){var X;k(!1),v==null||(X=v.onMouseLeave)===null||X===void 0||X.call(v,H)},onClick:g}),u.createElement("div",{className:"".concat(L,"-content")},f),m&&u.createElement("a",ge({tabIndex:0,className:"".concat(L,"-close"),onKeyDown:W,"aria-label":"Close"},q,{onClick:function(H){H.preventDefault(),H.stopPropagation(),D()}}),U.closeIcon),A&&u.createElement("progress",{className:"".concat(L,"-progress"),max:"100",value:B},B+"%"))}),bv=w.createContext({}),Xk=function(t){var n=t.children,r=t.classNames;return w.createElement(bv.Provider,{value:{classNames:r}},n)},yv=8,Cv=3,xv=16,Yk=function(t){var n={offset:yv,threshold:Cv,gap:xv};if(t&&Ae(t)==="object"){var r,o,a;n.offset=(r=t.offset)!==null&&r!==void 0?r:yv,n.threshold=(o=t.threshold)!==null&&o!==void 0?o:Cv,n.gap=(a=t.gap)!==null&&a!==void 0?a:xv}return[!!t,n]},Jk=["className","style","classNames","styles"],wv=function(t){var n=t.configList,r=t.placement,o=t.prefixCls,a=t.className,i=t.style,s=t.motion,l=t.onAllNoticeRemoved,c=t.onNoticeClose,d=t.stack,f=w.useContext(bv),m=f.classNames,p=w.useRef({}),h=w.useState(null),v=Q(h,2),g=v[0],b=v[1],y=w.useState([]),x=Q(y,2),C=x[0],S=x[1],$=n.map(function(z){return{config:z,key:String(z.key)}}),k=Yk(d),E=Q(k,2),I=E[0],N=E[1],P=N.offset,T=N.threshold,j=N.gap,_=I&&(C.length>0||$.length<=T),M=typeof s=="function"?s(r):s;return w.useEffect(function(){I&&C.length>1&&S(function(z){return z.filter(function(A){return $.some(function(D){var W=D.key;return A===W})})})},[C,$,I]),w.useEffect(function(){var z;if(I&&p.current[(z=$[$.length-1])===null||z===void 0?void 0:z.key]){var A;b(p.current[(A=$[$.length-1])===null||A===void 0?void 0:A.key])}},[$,I]),w.createElement(ev,ge({key:r,className:G(o,"".concat(o,"-").concat(r),m==null?void 0:m.list,a,F(F({},"".concat(o,"-stack"),!!I),"".concat(o,"-stack-expanded"),_)),style:i,keys:$,motionAppear:!0},M,{onAllRemoved:function(){l(r)}}),function(z,A){var D=z.config,W=z.className,U=z.style,q=z.index,B=D,L=B.key,V=B.times,H=String(L),X=D,ie=X.className,K=X.style,ee=X.classNames,te=X.styles,Y=Qe(X,Jk),J=$.findIndex(function(le){return le.key===H}),ae={};if(I){var Z=$.length-1-(J>-1?J:q-1),oe=r==="top"||r==="bottom"?"-50%":"0";if(Z>0){var re,ce,se;ae.height=_?(re=p.current[H])===null||re===void 0?void 0:re.offsetHeight:g==null?void 0:g.offsetHeight;for(var ue=0,he=0;he<Z;he++){var de;ue+=((de=p.current[$[$.length-1-he].key])===null||de===void 0?void 0:de.offsetHeight)+j}var ye=(_?ue:Z*P)*(r.startsWith("top")?1:-1),be=!_&&g!==null&&g!==void 0&&g.offsetWidth&&(ce=p.current[H])!==null&&ce!==void 0&&ce.offsetWidth?((g==null?void 0:g.offsetWidth)-P*2*(Z<3?Z:3))/((se=p.current[H])===null||se===void 0?void 0:se.offsetWidth):1;ae.transform="translate3d(".concat(oe,", ").concat(ye,"px, 0) scaleX(").concat(be,")")}else ae.transform="translate3d(".concat(oe,", 0, 0)")}return w.createElement("div",{ref:A,className:G("".concat(o,"-notice-wrapper"),W,ee==null?void 0:ee.wrapper),style:R(R(R({},U),ae),te==null?void 0:te.wrapper),onMouseEnter:function(){return S(function(Ce){return Ce.includes(H)?Ce:[].concat(ve(Ce),[H])})},onMouseLeave:function(){return S(function(Ce){return Ce.filter(function(Le){return Le!==H})})}},w.createElement(vv,ge({},Y,{ref:function(Ce){J>-1?p.current[H]=Ce:delete p.current[H]},prefixCls:o,classNames:ee,styles:te,className:G(ie,m==null?void 0:m.notice),style:K,times:V,key:L,eventKey:L,onNoticeClose:c,hovering:I&&C.length>0})))})};process.env.NODE_ENV!=="production"&&(wv.displayName="NoticeList");var Sv=u.forwardRef(function(e,t){var n=e.prefixCls,r=n===void 0?"rc-notification":n,o=e.container,a=e.motion,i=e.maxCount,s=e.className,l=e.style,c=e.onAllRemoved,d=e.stack,f=e.renderNotifications,m=u.useState([]),p=Q(m,2),h=p[0],v=p[1],g=function(I){var N,P=h.find(function(T){return T.key===I});P==null||(N=P.onClose)===null||N===void 0||N.call(P),v(function(T){return T.filter(function(j){return j.key!==I})})};u.useImperativeHandle(t,function(){return{open:function(I){v(function(N){var P=ve(N),T=P.findIndex(function(M){return M.key===I.key}),j=R({},I);if(T>=0){var _;j.times=(((_=N[T])===null||_===void 0?void 0:_.times)||0)+1,P[T]=j}else j.times=0,P.push(j);return i>0&&P.length>i&&(P=P.slice(-i)),P})},close:function(I){g(I)},destroy:function(){v([])}}});var b=u.useState({}),y=Q(b,2),x=y[0],C=y[1];u.useEffect(function(){var E={};h.forEach(function(I){var N=I.placement,P=N===void 0?"topRight":N;P&&(E[P]=E[P]||[],E[P].push(I))}),Object.keys(x).forEach(function(I){E[I]=E[I]||[]}),C(E)},[h]);var S=function(I){C(function(N){var P=R({},N),T=P[I]||[];return T.length||delete P[I],P})},$=u.useRef(!1);if(u.useEffect(function(){Object.keys(x).length>0?$.current=!0:$.current&&(c==null||c(),$.current=!1)},[x]),!o)return null;var k=Object.keys(x);return tr.createPortal(u.createElement(u.Fragment,null,k.map(function(E){var I=x[E],N=u.createElement(wv,{key:E,configList:I,placement:E,prefixCls:r,className:s==null?void 0:s(E),style:l==null?void 0:l(E),motion:a,onNoticeClose:g,onAllNoticeRemoved:S,stack:d});return f?f(N,{prefixCls:r,key:E}):N})),o)});process.env.NODE_ENV!=="production"&&(Sv.displayName="Notifications");var Zk=["getContainer","motion","prefixCls","maxCount","className","style","onAllRemoved","stack","renderNotifications"],Qk=function(){return document.body},Ev=0;function eO(){for(var e={},t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return n.forEach(function(o){o&&Object.keys(o).forEach(function(a){var i=o[a];i!==void 0&&(e[a]=i)})}),e}function tO(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.getContainer,n=t===void 0?Qk:t,r=e.motion,o=e.prefixCls,a=e.maxCount,i=e.className,s=e.style,l=e.onAllRemoved,c=e.stack,d=e.renderNotifications,f=Qe(e,Zk),m=u.useState(),p=Q(m,2),h=p[0],v=p[1],g=u.useRef(),b=u.createElement(Sv,{container:h,ref:g,prefixCls:o,motion:r,maxCount:a,className:i,style:s,onAllRemoved:l,stack:c,renderNotifications:d}),y=u.useState([]),x=Q(y,2),C=x[0],S=x[1],$=Wt(function(E){var I=eO(f,E);(I.key===null||I.key===void 0)&&(I.key="rc-notification-".concat(Ev),Ev+=1),S(function(N){return[].concat(ve(N),[{type:"open",config:I}])})}),k=u.useMemo(function(){return{open:$,close:function(I){S(function(N){return[].concat(ve(N),[{type:"close",key:I}])})},destroy:function(){S(function(I){return[].concat(ve(I),[{type:"destroy"}])})}}},[]);return u.useEffect(function(){v(n())}),u.useEffect(function(){if(g.current&&C.length){C.forEach(function(N){switch(N.type){case"open":g.current.open(N.config);break;case"close":g.current.close(N.key);break;case"destroy":g.current.destroy();break}});var E,I;S(function(N){return(E!==N||!I)&&(E=N,I=N.filter(function(P){return!C.includes(P)})),I})}},[C]),[k,b]}var nO={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"},rO=function(t,n){return u.createElement(Nt,ge({},t,{ref:n,icon:nO}))},Na=u.forwardRef(rO);process.env.NODE_ENV!=="production"&&(Na.displayName="LoadingOutlined");function $v(...e){const t={};return e.forEach(n=>{n&&Object.keys(n).forEach(r=>{n[r]!==void 0&&(t[r]=n[r])})}),t}function gl(e){if(!e)return;const{closable:t,closeIcon:n}=e;return{closable:t,closeIcon:n}}function kv(e){const{closable:t,closeIcon:n}=e||{};return w.useMemo(()=>{if(!t&&(t===!1||n===!1||n===null))return!1;if(t===void 0&&n===void 0)return null;let r={closeIcon:typeof n!="boolean"&&n!==null?n:void 0};return t&&typeof t=="object"&&(r=Object.assign(Object.assign({},r),t)),r},[t,n])}const oO={},Ov=(e,t,n=oO)=>{const r=kv(e),o=kv(t),[a]=mo("global",Kr.global),i=typeof r!="boolean"?!!(r!=null&&r.disabled):!1,s=w.useMemo(()=>Object.assign({closeIcon:w.createElement(Xr,null)},n),[n]),l=w.useMemo(()=>r===!1?!1:r?$v(s,o,r):o===!1?!1:o?$v(s,o):s.closable?s:!1,[r,o,s]);return w.useMemo(()=>{var c,d;if(l===!1)return[!1,null,i,{}];const{closeIconRender:f}=s,{closeIcon:m}=l;let p=m;const h=Gn(l,!0);return p!=null&&(f&&(p=f(m)),p=w.isValidElement(p)?w.cloneElement(p,Object.assign(Object.assign(Object.assign({},p.props),{"aria-label":(d=(c=p.props)===null||c===void 0?void 0:c["aria-label"])!==null&&d!==void 0?d:a.close}),h)):w.createElement("span",Object.assign({"aria-label":a.close},h),p)),[!0,p,i,h]},[i,a.close,l,s])},aO=()=>w.useReducer(e=>e+1,0),iO=()=>{const[e,t]=u.useState([]),n=u.useCallback(r=>(t(o=>[].concat(ve(o),[r])),()=>{t(o=>o.filter(a=>a!==r))}),[]);return[e,n]},Pa=w.createContext(void 0);process.env.NODE_ENV!=="production"&&(Pa.displayName="zIndexContext");const Yr=100,wd=Yr*10,sO=wd+Yr,Iv={Modal:Yr,Drawer:Yr,Popover:Yr,Popconfirm:Yr,Tooltip:Yr,Tour:Yr,FloatButton:Yr},lO={SelectLike:50,Dropdown:50,DatePicker:50,Menu:50,ImagePreview:1};function cO(e){return e in Iv}const _a=(e,t)=>{const[,n]=_n(),r=w.useContext(Pa),o=cO(e);let a;if(t!==void 0)a=[t,t];else{let i=r??0;o?i+=(r?0:n.zIndexPopupBase)+Iv[e]:i+=lO[e],a=[r===void 0?t:i,i]}if(process.env.NODE_ENV!=="production"){const i=Et(e),s=n.zIndexPopupBase+sO,l=a[0]||0;process.env.NODE_ENV!=="production"&&i(t!==void 0||l<=s,"usage","`zIndex` is over design token `zIndexPopupBase` too much. It may cause unexpected override.")}return a},uO=e=>{const{componentCls:t,iconCls:n,boxShadow:r,colorText:o,colorSuccess:a,colorError:i,colorWarning:s,colorInfo:l,fontSizeLG:c,motionEaseInOutCirc:d,motionDurationSlow:f,marginXS:m,paddingXS:p,borderRadiusLG:h,zIndexPopup:v,contentPadding:g,contentBg:b}=e,y=`${t}-notice`,x=new St("MessageMoveIn",{"0%":{padding:0,transform:"translateY(-100%)",opacity:0},"100%":{padding:p,transform:"translateY(0)",opacity:1}}),C=new St("MessageMoveOut",{"0%":{maxHeight:e.height,padding:p,opacity:1},"100%":{maxHeight:0,padding:0,opacity:0}}),S={padding:p,textAlign:"center",[`${t}-custom-content`]:{display:"flex",alignItems:"center"},[`${t}-custom-content > ${n}`]:{marginInlineEnd:m,fontSize:c},[`${y}-content`]:{display:"inline-block",padding:g,background:b,borderRadius:h,boxShadow:r,pointerEvents:"all"},[`${t}-success > ${n}`]:{color:a},[`${t}-error > ${n}`]:{color:i},[`${t}-warning > ${n}`]:{color:s},[`${t}-info > ${n},
|
|
147
|
+
${t}-loading > ${n}`]:{color:l}};return[{[t]:Object.assign(Object.assign({},qt(e)),{color:o,position:"fixed",top:m,width:"100%",pointerEvents:"none",zIndex:v,[`${t}-move-up`]:{animationFillMode:"forwards"},[`
|
|
148
|
+
${t}-move-up-appear,
|
|
149
|
+
${t}-move-up-enter
|
|
150
|
+
`]:{animationName:x,animationDuration:f,animationPlayState:"paused",animationTimingFunction:d},[`
|
|
151
|
+
${t}-move-up-appear${t}-move-up-appear-active,
|
|
152
|
+
${t}-move-up-enter${t}-move-up-enter-active
|
|
153
|
+
`]:{animationPlayState:"running"},[`${t}-move-up-leave`]:{animationName:C,animationDuration:f,animationPlayState:"paused",animationTimingFunction:d},[`${t}-move-up-leave${t}-move-up-leave-active`]:{animationPlayState:"running"},"&-rtl":{direction:"rtl",span:{direction:"rtl"}}})},{[t]:{[`${y}-wrapper`]:Object.assign({},S)}},{[`${t}-notice-pure-panel`]:Object.assign(Object.assign({},S),{padding:0,textAlign:"start"})}]},Nv=zt("Message",e=>{const t=ft(e,{height:150});return uO(t)},e=>({zIndexPopup:e.zIndexPopupBase+wd+10,contentBg:e.colorBgElevated,contentPadding:`${(e.controlHeightLG-e.fontSize*e.lineHeight)/2}px ${e.paddingSM}px`}));var dO=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const fO={info:u.createElement(xd,null),success:u.createElement(dl,null),error:u.createElement(Ia,null),warning:u.createElement(fl,null),loading:u.createElement(Na,null)},Pv=({prefixCls:e,type:t,icon:n,children:r})=>u.createElement("div",{className:G(`${e}-custom-content`,`${e}-${t}`)},n||fO[t],u.createElement("span",null,r)),mO=e=>{const{prefixCls:t,className:n,type:r,icon:o,content:a}=e,i=dO(e,["prefixCls","className","type","icon","content"]),{getPrefixCls:s}=u.useContext(Ue),l=t||s("message"),c=ln(l),[d,f,m]=Nv(l,c);return d(u.createElement(vv,Object.assign({},i,{prefixCls:l,className:G(n,f,`${l}-notice-pure-panel`,m,c),eventKey:"pure",duration:null,content:u.createElement(Pv,{prefixCls:l,type:r,icon:o},a)})))};function pO(e,t){return{motionName:t??`${e}-move-up`}}function Sd(e){let t;const n=new Promise(o=>{t=e(()=>{o(!0)})}),r=()=>{t==null||t()};return r.then=(o,a)=>n.then(o,a),r.promise=n,r}var gO=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const hO=8,vO=3,bO=({children:e,prefixCls:t})=>{const n=ln(t),[r,o,a]=Nv(t,n);return r(u.createElement(Xk,{classNames:{list:G(o,a,n)}},e))},yO=(e,{prefixCls:t,key:n})=>u.createElement(bO,{prefixCls:t,key:n},e),CO=u.forwardRef((e,t)=>{const{top:n,prefixCls:r,getContainer:o,maxCount:a,duration:i=vO,rtl:s,transitionName:l,onAllRemoved:c}=e,{getPrefixCls:d,getPopupContainer:f,message:m,direction:p}=u.useContext(Ue),h=r||d("message"),v=()=>({left:"50%",transform:"translateX(-50%)",top:n??hO}),g=()=>G({[`${h}-rtl`]:s??p==="rtl"}),b=()=>pO(h,l),y=u.createElement("span",{className:`${h}-close-x`},u.createElement(Xr,{className:`${h}-close-icon`})),[x,C]=tO({prefixCls:h,style:v,className:g,motion:b,closable:!1,closeIcon:y,duration:i,getContainer:()=>(o==null?void 0:o())||(f==null?void 0:f())||document.body,maxCount:a,onAllRemoved:c,renderNotifications:yO});return u.useImperativeHandle(t,()=>Object.assign(Object.assign({},x),{prefixCls:h,message:m})),C});let _v=0;function Tv(e){const t=u.useRef(null),n=Et("Message");return[u.useMemo(()=>{const o=c=>{var d;(d=t.current)===null||d===void 0||d.close(c)},a=c=>{if(!t.current){process.env.NODE_ENV!=="production"&&n(!1,"usage","You are calling notice in render which will break in React 18 concurrent mode. Please trigger in effect instead.");const k=()=>{};return k.then=()=>{},k}const{open:d,prefixCls:f,message:m}=t.current,p=`${f}-notice`,{content:h,icon:v,type:g,key:b,className:y,style:x,onClose:C}=c,S=gO(c,["content","icon","type","key","className","style","onClose"]);let $=b;return $==null&&(_v+=1,$=`antd-message-${_v}`),Sd(k=>(d(Object.assign(Object.assign({},S),{key:$,content:u.createElement(Pv,{prefixCls:f,type:g,icon:v},h),placement:"top",className:G(g&&`${p}-${g}`,y,m==null?void 0:m.className),style:Object.assign(Object.assign({},m==null?void 0:m.style),x),onClose:()=>{C==null||C(),k()}})),()=>{o($)}))},s={open:a,destroy:c=>{var d;c!==void 0?o(c):(d=t.current)===null||d===void 0||d.destroy()}};return["info","success","warning","error","loading"].forEach(c=>{const d=(f,m,p)=>{let h;f&&typeof f=="object"&&"content"in f?h=f:h={content:f};let v,g;typeof m=="function"?g=m:(v=m,g=p);const b=Object.assign(Object.assign({onClose:g,duration:v},h),{type:c});return a(b)};s[c]=d}),s},[]),u.createElement(CO,Object.assign({key:"message-holder"},e,{ref:t}))]}function xO(e){return Tv(e)}function jv(e,t){this.v=e,this.k=t}function In(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch{o=0}In=function(i,s,l,c){function d(f,m){In(i,f,function(p){return this._invoke(f,m,p)})}s?o?o(i,s,{value:l,enumerable:!c,configurable:!c,writable:!c}):i[s]=l:(d("next",0),d("throw",1),d("return",2))},In(e,t,n,r)}function Ed(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var e,t,n=typeof Symbol=="function"?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function a(p,h,v,g){var b=h&&h.prototype instanceof s?h:s,y=Object.create(b.prototype);return In(y,"_invoke",(function(x,C,S){var $,k,E,I=0,N=S||[],P=!1,T={p:0,n:0,v:e,a:j,f:j.bind(e,4),d:function(M,z){return $=M,k=0,E=e,T.n=z,i}};function j(_,M){for(k=_,E=M,t=0;!P&&I&&!z&&t<N.length;t++){var z,A=N[t],D=T.p,W=A[2];_>3?(z=W===M)&&(E=A[(k=A[4])?5:(k=3,3)],A[4]=A[5]=e):A[0]<=D&&((z=_<2&&D<A[1])?(k=0,T.v=M,T.n=A[1]):D<W&&(z=_<3||A[0]>M||M>W)&&(A[4]=_,A[5]=M,T.n=W,k=0))}if(z||_>1)return i;throw P=!0,M}return function(_,M,z){if(I>1)throw TypeError("Generator is already running");for(P&&M===1&&j(M,z),k=M,E=z;(t=k<2?e:E)||!P;){$||(k?k<3?(k>1&&(T.n=-1),j(k,E)):T.n=E:T.v=E);try{if(I=2,$){if(k||(_="next"),t=$[_]){if(!(t=t.call($,E)))throw TypeError("iterator result is not an object");if(!t.done)return t;E=t.value,k<2&&(k=0)}else k===1&&(t=$.return)&&t.call($),k<2&&(E=TypeError("The iterator does not provide a '"+_+"' method"),k=1);$=e}else if((t=(P=T.n<0)?E:x.call(C,T))!==i)break}catch(A){$=e,k=1,E=A}finally{I=1}}return{value:t,done:P}}})(p,v,g),!0),y}var i={};function s(){}function l(){}function c(){}t=Object.getPrototypeOf;var d=[][r]?t(t([][r]())):(In(t={},r,function(){return this}),t),f=c.prototype=s.prototype=Object.create(d);function m(p){return Object.setPrototypeOf?Object.setPrototypeOf(p,c):(p.__proto__=c,In(p,o,"GeneratorFunction")),p.prototype=Object.create(f),p}return l.prototype=c,In(f,"constructor",c),In(c,"constructor",l),l.displayName="GeneratorFunction",In(c,o,"GeneratorFunction"),In(f),In(f,o,"Generator"),In(f,r,function(){return this}),In(f,"toString",function(){return"[object Generator]"}),(Ed=function(){return{w:a,m}})()}function hl(e,t){function n(o,a,i,s){try{var l=e[o](a),c=l.value;return c instanceof jv?t.resolve(c.v).then(function(d){n("next",d,i,s)},function(d){n("throw",d,i,s)}):t.resolve(c).then(function(d){l.value=d,i(l)},function(d){return n("throw",d,i,s)})}catch(d){s(d)}}var r;this.next||(In(hl.prototype),In(hl.prototype,typeof Symbol=="function"&&Symbol.asyncIterator||"@asyncIterator",function(){return this})),In(this,"_invoke",function(o,a,i){function s(){return new t(function(l,c){n(o,i,l,c)})}return r=r?r.then(s,s):s()},!0)}function Mv(e,t,n,r,o){return new hl(Ed().w(e,t,n,r),o||Promise)}function wO(e,t,n,r,o){var a=Mv(e,t,n,r,o);return a.next().then(function(i){return i.done?i.value:a.next()})}function SO(e){var t=Object(e),n=[];for(var r in t)n.unshift(r);return function o(){for(;n.length;)if((r=n.pop())in t)return o.value=r,o.done=!1,o;return o.done=!0,o}}function zv(e){if(e!=null){var t=e[typeof Symbol=="function"&&Symbol.iterator||"@@iterator"],n=0;if(t)return t.call(e);if(typeof e.next=="function")return e;if(!isNaN(e.length))return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}throw new TypeError(Ae(e)+" is not iterable")}function Nn(){var e=Ed(),t=e.m(Nn),n=(Object.getPrototypeOf?Object.getPrototypeOf(t):t.__proto__).constructor;function r(i){var s=typeof i=="function"&&i.constructor;return!!s&&(s===n||(s.displayName||s.name)==="GeneratorFunction")}var o={throw:1,return:2,break:3,continue:3};function a(i){var s,l;return function(c){s||(s={stop:function(){return l(c.a,2)},catch:function(){return c.v},abrupt:function(f,m){return l(c.a,o[f],m)},delegateYield:function(f,m,p){return s.resultName=m,l(c.d,zv(f),p)},finish:function(f){return l(c.f,f)}},l=function(f,m,p){c.p=s.prev,c.n=s.next;try{return f(m,p)}finally{s.next=c.n}}),s.resultName&&(s[s.resultName]=c.v,s.resultName=void 0),s.sent=c.v,s.next=c.n;try{return i.call(this,s)}finally{c.p=s.prev,c.n=s.next}}}return(Nn=function(){return{wrap:function(l,c,d,f){return e.w(a(l),c,d,f&&f.reverse())},isGeneratorFunction:r,mark:e.m,awrap:function(l,c){return new jv(l,c)},AsyncIterator:hl,async:function(l,c,d,f,m){return(r(c)?Mv:wO)(a(l),c,d,f,m)},keys:SO,values:zv}})()}function Av(e,t,n,r,o,a,i){try{var s=e[a](i),l=s.value}catch(c){return void n(c)}s.done?t(l):Promise.resolve(l).then(r,o)}function Ho(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var a=e.apply(t,n);function i(l){Av(a,r,o,i,s,"next",l)}function s(l){Av(a,r,o,i,s,"throw",l)}i(void 0)})}}var Pi=R({},xp),EO=Pi.version,$d=Pi.render,$O=Pi.unmountComponentAtNode,vl;try{var kO=Number((EO||"").split(".")[0]);kO>=18&&(vl=Pi.createRoot)}catch{}function Dv(e){var t=Pi.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&Ae(t)==="object"&&(t.usingClientEntryPoint=e)}var bl="__rc_react_root__";function OO(e,t){Dv(!0);var n=t[bl]||vl(t);Dv(!1),n.render(e),t[bl]=n}function IO(e,t){$d==null||$d(e,t)}function NO(e,t){if(vl){OO(e,t);return}IO(e,t)}function PO(e){return kd.apply(this,arguments)}function kd(){return kd=Ho(Nn().mark(function e(t){return Nn().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",Promise.resolve().then(function(){var o;(o=t[bl])===null||o===void 0||o.unmount(),delete t[bl]}));case 1:case"end":return r.stop()}},e)})),kd.apply(this,arguments)}function _O(e){$O(e)}function TO(e){return Od.apply(this,arguments)}function Od(){return Od=Ho(Nn().mark(function e(t){return Nn().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(vl===void 0){r.next=2;break}return r.abrupt("return",PO(t));case 2:_O(t);case 3:case"end":return r.stop()}},e)})),Od.apply(this,arguments)}let jO=(e,t)=>{if(process.env.NODE_ENV!=="production"){const n=Number.parseInt(u.version.split(".")[0],10),r=Object.keys(xp);process.env.NODE_ENV!=="production"&&Gr(n<19||r.includes("createRoot"),"compatible","antd v5 support React is 16 ~ 18. see https://u.ant.design/v5-for-19 for compatible.")}return NO(e,t),()=>TO(t)};function Id(e){return jO}const Nd=()=>({height:0,opacity:0}),Lv=e=>{const{scrollHeight:t}=e;return{height:t,opacity:1}},MO=e=>({height:e?e.offsetHeight:0}),Pd=(e,t)=>(t==null?void 0:t.deadline)===!0||t.propertyName==="height",_d=(e=ki)=>({motionName:`${e}-motion-collapse`,onAppearStart:Nd,onEnterStart:Nd,onAppearActive:Lv,onEnterActive:Lv,onLeaveStart:MO,onLeaveActive:Nd,onAppearEnd:Pd,onEnterEnd:Pd,onLeaveEnd:Pd,motionDeadline:500}),Jr=(e,t,n)=>n!==void 0?n:`${e}-${t}`;function cn(e,t){var n=Object.assign({},e);return Array.isArray(t)&&t.forEach(function(r){delete n[r]}),n}const yl=(function(e){if(!e)return!1;if(e instanceof Element){if(e.offsetParent)return!0;if(e.getBBox){var t=e.getBBox(),n=t.width,r=t.height;if(n||r)return!0}if(e.getBoundingClientRect){var o=e.getBoundingClientRect(),a=o.width,i=o.height;if(a||i)return!0}}return!1}),zO=F$("Wave",e=>{const{componentCls:t,colorPrimary:n}=e;return{[t]:{position:"absolute",background:"transparent",pointerEvents:"none",boxSizing:"border-box",color:`var(--wave-color, ${n})`,boxShadow:"0 0 0 0 currentcolor",opacity:.2,"&.wave-motion-appear":{transition:[`box-shadow 0.4s ${e.motionEaseOutCirc}`,`opacity 2s ${e.motionEaseOutCirc}`].join(","),"&-active":{boxShadow:"0 0 0 6px currentcolor",opacity:0},"&.wave-quick":{transition:[`box-shadow ${e.motionDurationSlow} ${e.motionEaseInOut}`,`opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`].join(",")}}}}}),Cl=`${ki}-wave-target`;function AO(e){return e&&e!=="#fff"&&e!=="#ffffff"&&e!=="rgb(255, 255, 255)"&&e!=="rgba(255, 255, 255, 1)"&&!/rgba\((?:\d*, ){3}0\)/.test(e)&&e!=="transparent"&&e!=="canvastext"}function DO(e){var t;const{borderTopColor:n,borderColor:r,backgroundColor:o}=getComputedStyle(e);return(t=[n,r,o].find(AO))!==null&&t!==void 0?t:null}function Td(e){return Number.isNaN(e)?0:e}const LO=e=>{const{className:t,target:n,component:r,registerUnmount:o}=e,a=u.useRef(null),i=u.useRef(null);u.useEffect(()=>{i.current=o()},[]);const[s,l]=u.useState(null),[c,d]=u.useState([]),[f,m]=u.useState(0),[p,h]=u.useState(0),[v,g]=u.useState(0),[b,y]=u.useState(0),[x,C]=u.useState(!1),S={left:f,top:p,width:v,height:b,borderRadius:c.map(E=>`${E}px`).join(" ")};s&&(S["--wave-color"]=s);function $(){const E=getComputedStyle(n);l(DO(n));const I=E.position==="static",{borderLeftWidth:N,borderTopWidth:P}=E;m(I?n.offsetLeft:Td(-Number.parseFloat(N))),h(I?n.offsetTop:Td(-Number.parseFloat(P))),g(n.offsetWidth),y(n.offsetHeight);const{borderTopLeftRadius:T,borderTopRightRadius:j,borderBottomLeftRadius:_,borderBottomRightRadius:M}=E;d([T,j,M,_].map(z=>Td(Number.parseFloat(z))))}if(u.useEffect(()=>{if(n){const E=vt(()=>{$(),C(!0)});let I;return typeof ResizeObserver<"u"&&(I=new ResizeObserver($),I.observe(n)),()=>{vt.cancel(E),I==null||I.disconnect()}}},[n]),!x)return null;const k=(r==="Checkbox"||r==="Radio")&&(n==null?void 0:n.classList.contains(Cl));return u.createElement(wr,{visible:!0,motionAppear:!0,motionName:"wave-motion",motionDeadline:5e3,onAppearEnd:(E,I)=>{var N,P;if(I.deadline||I.propertyName==="opacity"){const T=(N=a.current)===null||N===void 0?void 0:N.parentElement;(P=i.current)===null||P===void 0||P.call(i).then(()=>{T==null||T.remove()})}return!1}},({className:E},I)=>u.createElement("div",{ref:wn(a,I),className:G(t,E,{"wave-quick":k}),style:S}))},FO=(e,t)=>{var n;const{component:r}=t;if(r==="Checkbox"&&!(!((n=e.querySelector("input"))===null||n===void 0)&&n.checked))return;const o=document.createElement("div");o.style.position="absolute",o.style.left="0px",o.style.top="0px",e==null||e.insertBefore(o,e==null?void 0:e.firstChild);const a=Id();let i=null;function s(){return i}i=a(u.createElement(LO,Object.assign({},t,{target:e,registerUnmount:s})),o)},RO=(e,t,n)=>{const{wave:r}=u.useContext(Ue),[,o,a]=_n(),i=Wt(c=>{const d=e.current;if(r!=null&&r.disabled||!d)return;const f=d.querySelector(`.${Cl}`)||d,{showEffect:m}=r||{};(m||FO)(f,{className:t,token:o,component:n,event:c,hashId:a})}),s=u.useRef(null);return c=>{vt.cancel(s.current),s.current=vt(()=>{i(c)})}},_i=e=>{const{children:t,disabled:n,component:r}=e,{getPrefixCls:o}=w.useContext(Ue),a=w.useRef(null),i=o("wave"),[,s]=zO(i),l=RO(a,G(i,s),r);if(w.useEffect(()=>{const d=a.current;if(!d||d.nodeType!==window.Node.ELEMENT_NODE||n)return;const f=m=>{!yl(m.target)||!d.getAttribute||d.getAttribute("disabled")||d.disabled||d.className.includes("disabled")&&!d.className.includes("disabled:")||d.getAttribute("aria-disabled")==="true"||d.className.includes("-leave")||l(m)};return d.addEventListener("click",f,!0),()=>{d.removeEventListener("click",f,!0)}},[n]),!w.isValidElement(t))return t??null;const c=Br(t)?wn(co(t),a):a;return sr(t,{ref:c})};process.env.NODE_ENV!=="production"&&(_i.displayName="Wave");const Kn=e=>{const t=w.useContext(Bo);return w.useMemo(()=>e?typeof e=="string"?e??t:typeof e=="function"?e(t):t:t,[e,t])},BO=e=>{const{componentCls:t}=e;return{[t]:{display:"inline-flex","&-block":{display:"flex",width:"100%"},"&-vertical":{flexDirection:"column"},"&-rtl":{direction:"rtl"}}}},VO=zt(["Space","Compact"],e=>[BO(e)],()=>({}),{resetStyle:!1});var Fv=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const xl=u.createContext(null),ho=(e,t)=>{const n=u.useContext(xl),r=u.useMemo(()=>{if(!n)return"";const{compactDirection:o,isFirstItem:a,isLastItem:i}=n,s=o==="vertical"?"-vertical-":"-";return G(`${e}-compact${s}item`,{[`${e}-compact${s}first-item`]:a,[`${e}-compact${s}last-item`]:i,[`${e}-compact${s}item-rtl`]:t==="rtl"})},[e,t,n]);return{compactSize:n==null?void 0:n.compactSize,compactDirection:n==null?void 0:n.compactDirection,compactItemClassnames:r}},HO=e=>{const{children:t}=e;return u.createElement(xl.Provider,{value:null},t)},WO=e=>{const{children:t}=e,n=Fv(e,["children"]);return u.createElement(xl.Provider,{value:u.useMemo(()=>n,[n])},t)},qO=e=>{const{getPrefixCls:t,direction:n}=u.useContext(Ue),{size:r,direction:o,block:a,prefixCls:i,className:s,rootClassName:l,children:c}=e,d=Fv(e,["size","direction","block","prefixCls","className","rootClassName","children"]),f=Kn(x=>r??x),m=t("space-compact",i),[p,h]=VO(m),v=G(m,h,{[`${m}-rtl`]:n==="rtl",[`${m}-block`]:a,[`${m}-vertical`]:o==="vertical"},s,l),g=u.useContext(xl),b=Hn(c),y=u.useMemo(()=>b.map((x,C)=>{const S=(x==null?void 0:x.key)||`${m}-item-${C}`;return u.createElement(WO,{key:S,compactSize:f,compactDirection:o,isFirstItem:C===0&&(!g||(g==null?void 0:g.isFirstItem)),isLastItem:C===b.length-1&&(!g||(g==null?void 0:g.isLastItem))},x)}),[b,g,o,f,m]);return b.length===0?null:p(u.createElement("div",Object.assign({className:v},d),y))};var UO=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const Rv=u.createContext(void 0),GO=e=>{const{getPrefixCls:t,direction:n}=u.useContext(Ue),{prefixCls:r,size:o,className:a}=e,i=UO(e,["prefixCls","size","className"]),s=t("btn-group",r),[,,l]=_n(),c=u.useMemo(()=>{switch(o){case"large":return"lg";case"small":return"sm";default:return""}},[o]);if(process.env.NODE_ENV!=="production"){const f=Et("Button.Group");f.deprecated(!1,"Button.Group","Space.Compact"),process.env.NODE_ENV!=="production"&&f(!o||["large","small","middle"].includes(o),"usage","Invalid prop `size`.")}const d=G(s,{[`${s}-${c}`]:c,[`${s}-rtl`]:n==="rtl"},a,l);return u.createElement(Rv.Provider,{value:o},u.createElement("div",Object.assign({},i,{className:d})))},Bv=/^[\u4E00-\u9FA5]{2}$/,jd=Bv.test.bind(Bv);function Vv(e){return e==="danger"?{danger:!0}:{type:e}}function Hv(e){return typeof e=="string"}function wl(e){return e==="text"||e==="link"}function KO(e,t){if(e==null)return;const n=t?" ":"";return typeof e!="string"&&typeof e!="number"&&Hv(e.type)&&jd(e.props.children)?sr(e,{children:e.props.children.split("").join(n)}):Hv(e)?jd(e)?w.createElement("span",null,e.split("").join(n)):w.createElement("span",null,e):mv(e)?w.createElement("span",null,e):e}function XO(e,t){let n=!1;const r=[];return w.Children.forEach(e,o=>{const a=typeof o,i=a==="string"||a==="number";if(n&&i){const s=r.length-1,l=r[s];r[s]=`${l}${o}`}else r.push(o);n=i}),w.Children.map(r,o=>KO(o,t))}["default","primary","danger"].concat(ve(po));const Wv=w.forwardRef((e,t)=>{const{className:n,style:r,children:o,prefixCls:a}=e,i=G(`${a}-icon`,n);return w.createElement("span",{ref:t,className:i,style:r},o)}),qv=w.forwardRef((e,t)=>{const{prefixCls:n,className:r,style:o,iconClassName:a}=e,i=G(`${n}-loading-icon`,r);return w.createElement(Wv,{prefixCls:n,className:i,style:o,ref:t},w.createElement(Na,{className:a}))}),Md=()=>({width:0,opacity:0,transform:"scale(0)"}),zd=e=>({width:e.scrollWidth,opacity:1,transform:"scale(1)"}),YO=e=>{const{prefixCls:t,loading:n,existIcon:r,className:o,style:a,mount:i}=e,s=!!n;return r?w.createElement(qv,{prefixCls:t,className:o,style:a}):w.createElement(wr,{visible:s,motionName:`${t}-loading-icon-motion`,motionAppear:!i,motionEnter:!i,motionLeave:!i,removeOnLeave:!0,onAppearStart:Md,onAppearActive:zd,onEnterStart:Md,onEnterActive:zd,onLeaveStart:zd,onLeaveActive:Md},({className:l,style:c},d)=>{const f=Object.assign(Object.assign({},a),c);return w.createElement(qv,{prefixCls:t,className:G(o,l),style:f,ref:d})})},Uv=(e,t)=>({[`> span, > ${e}`]:{"&:not(:last-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineEndColor:t}}},"&:not(:first-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineStartColor:t}}}}}),JO=e=>{const{componentCls:t,fontSize:n,lineWidth:r,groupBorderColor:o,colorErrorHover:a}=e;return{[`${t}-group`]:[{position:"relative",display:"inline-flex",[`> span, > ${t}`]:{"&:not(:last-child)":{[`&, & > ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},"&:not(:first-child)":{marginInlineStart:e.calc(r).mul(-1).equal(),[`&, & > ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[t]:{position:"relative",zIndex:1,"&:hover, &:focus, &:active":{zIndex:2},"&[disabled]":{zIndex:0}},[`${t}-icon-only`]:{fontSize:n}},Uv(`${t}-primary`,o),Uv(`${t}-danger`,a)]}};var ZO=["b"],QO=["v"],Ad=function(t){return Math.round(Number(t||0))},e4=function(t){if(t instanceof $t)return t;if(t&&Ae(t)==="object"&&"h"in t&&"b"in t){var n=t,r=n.b,o=Qe(n,ZO);return R(R({},o),{},{v:r})}return typeof t=="string"&&/hsb/.test(t)?t.replace(/hsb/,"hsv"):t},Zr=(function(e){Hr(n,e);var t=Wr(n);function n(r){return Yt(this,n),t.call(this,e4(r))}return Jt(n,[{key:"toHsbString",value:function(){var o=this.toHsb(),a=Ad(o.s*100),i=Ad(o.b*100),s=Ad(o.h),l=o.a,c="hsb(".concat(s,", ").concat(a,"%, ").concat(i,"%)"),d="hsba(".concat(s,", ").concat(a,"%, ").concat(i,"%, ").concat(l.toFixed(l===0?0:2),")");return l===1?c:d}},{key:"toHsb",value:function(){var o=this.toHsv(),a=o.v,i=Qe(o,QO);return R(R({},i),{},{b:a,a:this.a})}}]),n})($t),t4="rc-color-picker",Ta=function(t){return t instanceof Zr?t:new Zr(t)},n4=Ta("#1677ff"),Gv=function(t){var n=t.offset,r=t.targetRef,o=t.containerRef,a=t.color,i=t.type,s=o.current.getBoundingClientRect(),l=s.width,c=s.height,d=r.current.getBoundingClientRect(),f=d.width,m=d.height,p=f/2,h=m/2,v=(n.x+p)/l,g=1-(n.y+h)/c,b=a.toHsb(),y=v,x=(n.x+p)/l*360;if(i)switch(i){case"hue":return Ta(R(R({},b),{},{h:x<=0?0:x}));case"alpha":return Ta(R(R({},b),{},{a:y<=0?0:y}))}return Ta({h:b.h,s:v<=0?0:v,b:g>=1?1:g,a:b.a})},Kv=function(t,n){var r=t.toHsb();switch(n){case"hue":return{x:r.h/360*100,y:50};case"alpha":return{x:t.a*100,y:50};default:return{x:r.s*100,y:(1-r.b)*100}}},r4=function(t){var n=t.color,r=t.prefixCls,o=t.className,a=t.style,i=t.onClick,s="".concat(r,"-color-block");return w.createElement("div",{className:G(s,o),style:a,onClick:i},w.createElement("div",{className:"".concat(s,"-inner"),style:{background:n}}))};function o4(e){var t="touches"in e?e.touches[0]:e,n=document.documentElement.scrollLeft||document.body.scrollLeft||window.pageXOffset,r=document.documentElement.scrollTop||document.body.scrollTop||window.pageYOffset;return{pageX:t.pageX-n,pageY:t.pageY-r}}function Xv(e){var t=e.targetRef,n=e.containerRef,r=e.direction,o=e.onDragChange,a=e.onDragChangeComplete,i=e.calculate,s=e.color,l=e.disabledDrag,c=w.useState({x:0,y:0}),d=Q(c,2),f=d[0],m=d[1],p=w.useRef(null),h=w.useRef(null);w.useEffect(function(){m(i())},[s]),w.useEffect(function(){return function(){document.removeEventListener("mousemove",p.current),document.removeEventListener("mouseup",h.current),document.removeEventListener("touchmove",p.current),document.removeEventListener("touchend",h.current),p.current=null,h.current=null}},[]);var v=function(C){var S=o4(C),$=S.pageX,k=S.pageY,E=n.current.getBoundingClientRect(),I=E.x,N=E.y,P=E.width,T=E.height,j=t.current.getBoundingClientRect(),_=j.width,M=j.height,z=_/2,A=M/2,D=Math.max(0,Math.min($-I,P))-z,W=Math.max(0,Math.min(k-N,T))-A,U={x:D,y:r==="x"?f.y:W};if(_===0&&M===0||_!==M)return!1;o==null||o(U)},g=function(C){C.preventDefault(),v(C)},b=function(C){C.preventDefault(),document.removeEventListener("mousemove",p.current),document.removeEventListener("mouseup",h.current),document.removeEventListener("touchmove",p.current),document.removeEventListener("touchend",h.current),p.current=null,h.current=null,a==null||a()},y=function(C){document.removeEventListener("mousemove",p.current),document.removeEventListener("mouseup",h.current),!l&&(v(C),document.addEventListener("mousemove",g),document.addEventListener("mouseup",b),document.addEventListener("touchmove",g),document.addEventListener("touchend",b),p.current=g,h.current=b)};return[f,y]}var Yv=function(t){var n=t.size,r=n===void 0?"default":n,o=t.color,a=t.prefixCls;return w.createElement("div",{className:G("".concat(a,"-handler"),F({},"".concat(a,"-handler-sm"),r==="small")),style:{backgroundColor:o}})},Jv=function(t){var n=t.children,r=t.style,o=t.prefixCls;return w.createElement("div",{className:"".concat(o,"-palette"),style:R({position:"relative"},r)},n)},Zv=w.forwardRef(function(e,t){var n=e.children,r=e.x,o=e.y;return w.createElement("div",{ref:t,style:{position:"absolute",left:"".concat(r,"%"),top:"".concat(o,"%"),zIndex:1,transform:"translate(-50%, -50%)"}},n)}),a4=function(t){var n=t.color,r=t.onChange,o=t.prefixCls,a=t.onChangeComplete,i=t.disabled,s=w.useRef(),l=w.useRef(),c=w.useRef(n),d=Wt(function(v){var g=Gv({offset:v,targetRef:l,containerRef:s,color:n});c.current=g,r(g)}),f=Xv({color:n,containerRef:s,targetRef:l,calculate:function(){return Kv(n)},onDragChange:d,onDragChangeComplete:function(){return a==null?void 0:a(c.current)},disabledDrag:i}),m=Q(f,2),p=m[0],h=m[1];return w.createElement("div",{ref:s,className:"".concat(o,"-select"),onMouseDown:h,onTouchStart:h},w.createElement(Jv,{prefixCls:o},w.createElement(Zv,{x:p.x,y:p.y,ref:l},w.createElement(Yv,{color:n.toRgbString(),prefixCls:o})),w.createElement("div",{className:"".concat(o,"-saturation"),style:{backgroundColor:"hsl(".concat(n.toHsb().h,",100%, 50%)"),backgroundImage:"linear-gradient(0deg, #000, transparent),linear-gradient(90deg, #fff, hsla(0, 0%, 100%, 0))"}})))},i4=function(t,n){var r=sn(t,{value:n}),o=Q(r,2),a=o[0],i=o[1],s=w.useMemo(function(){return Ta(a)},[a]);return[s,i]},s4=function(t){var n=t.colors,r=t.children,o=t.direction,a=o===void 0?"to right":o,i=t.type,s=t.prefixCls,l=w.useMemo(function(){return n.map(function(c,d){var f=Ta(c);return i==="alpha"&&d===n.length-1&&(f=new Zr(f.setA(1))),f.toRgbString()}).join(",")},[n,i]);return w.createElement("div",{className:"".concat(s,"-gradient"),style:{position:"absolute",inset:0,background:"linear-gradient(".concat(a,", ").concat(l,")")}},r)},l4=function(t){var n=t.prefixCls,r=t.colors,o=t.disabled,a=t.onChange,i=t.onChangeComplete,s=t.color,l=t.type,c=w.useRef(),d=w.useRef(),f=w.useRef(s),m=function(S){return l==="hue"?S.getHue():S.a*100},p=Wt(function(C){var S=Gv({offset:C,targetRef:d,containerRef:c,color:s,type:l});f.current=S,a(m(S))}),h=Xv({color:s,targetRef:d,containerRef:c,calculate:function(){return Kv(s,l)},onDragChange:p,onDragChangeComplete:function(){i(m(f.current))},direction:"x",disabledDrag:o}),v=Q(h,2),g=v[0],b=v[1],y=w.useMemo(function(){if(l==="hue"){var C=s.toHsb();C.s=1,C.b=1,C.a=1;var S=new Zr(C);return S}return s},[s,l]),x=w.useMemo(function(){return r.map(function(C){return"".concat(C.color," ").concat(C.percent,"%")})},[r]);return w.createElement("div",{ref:c,className:G("".concat(n,"-slider"),"".concat(n,"-slider-").concat(l)),onMouseDown:b,onTouchStart:b},w.createElement(Jv,{prefixCls:n},w.createElement(Zv,{x:g.x,y:g.y,ref:d},w.createElement(Yv,{size:"small",color:y.toHexString(),prefixCls:n})),w.createElement(s4,{colors:x,type:l,prefixCls:n})))};function c4(e){return u.useMemo(function(){var t=e||{},n=t.slider;return[n||l4]},[e])}var u4=[{color:"rgb(255, 0, 0)",percent:0},{color:"rgb(255, 255, 0)",percent:17},{color:"rgb(0, 255, 0)",percent:33},{color:"rgb(0, 255, 255)",percent:50},{color:"rgb(0, 0, 255)",percent:67},{color:"rgb(255, 0, 255)",percent:83},{color:"rgb(255, 0, 0)",percent:100}],d4=w.forwardRef(function(e,t){var n=e.value,r=e.defaultValue,o=e.prefixCls,a=o===void 0?t4:o,i=e.onChange,s=e.onChangeComplete,l=e.className,c=e.style,d=e.panelRender,f=e.disabledAlpha,m=f===void 0?!1:f,p=e.disabled,h=p===void 0?!1:p,v=e.components,g=c4(v),b=Q(g,1),y=b[0],x=i4(r||n4,n),C=Q(x,2),S=C[0],$=C[1],k=w.useMemo(function(){return S.setA(1).toRgbString()},[S]),E=function(W,U){n||$(W),i==null||i(W,U)},I=function(W){return new Zr(S.setHue(W))},N=function(W){return new Zr(S.setA(W/100))},P=function(W){E(I(W),{type:"hue",value:W})},T=function(W){E(N(W),{type:"alpha",value:W})},j=function(W){s&&s(I(W))},_=function(W){s&&s(N(W))},M=G("".concat(a,"-panel"),l,F({},"".concat(a,"-panel-disabled"),h)),z={prefixCls:a,disabled:h,color:S},A=w.createElement(w.Fragment,null,w.createElement(a4,ge({onChange:E},z,{onChangeComplete:s})),w.createElement("div",{className:"".concat(a,"-slider-container")},w.createElement("div",{className:G("".concat(a,"-slider-group"),F({},"".concat(a,"-slider-group-disabled-alpha"),m))},w.createElement(y,ge({},z,{type:"hue",colors:u4,min:0,max:359,value:S.getHue(),onChange:P,onChangeComplete:j})),!m&&w.createElement(y,ge({},z,{type:"alpha",colors:[{percent:0,color:"rgba(255, 0, 4, 0)"},{percent:100,color:k}],min:0,max:100,value:S.a*100,onChange:T,onChangeComplete:_}))),w.createElement(r4,{color:S.toRgbString(),prefixCls:a})));return w.createElement("div",{className:M,style:c,ref:t},typeof d=="function"?d(A):A)});process.env.NODE_ENV!=="production"&&(d4.displayName="ColorPicker");const f4=(e,t)=>(e==null?void 0:e.replace(/[^\w/]/g,"").slice(0,t?8:6))||"",m4=(e,t)=>e?f4(e,t):"";let Dd=(function(){function e(t){Yt(this,e);var n;if(this.cleared=!1,t instanceof e){this.metaColor=t.metaColor.clone(),this.colors=(n=t.colors)===null||n===void 0?void 0:n.map(o=>({color:new e(o.color),percent:o.percent})),this.cleared=t.cleared;return}const r=Array.isArray(t);r&&t.length?(this.colors=t.map(({color:o,percent:a})=>({color:new e(o),percent:a})),this.metaColor=new Zr(this.colors[0].color.metaColor)):this.metaColor=new Zr(r?"":t),(!t||r&&!this.colors)&&(this.metaColor=this.metaColor.setA(0),this.cleared=!0)}return Jt(e,[{key:"toHsb",value:function(){return this.metaColor.toHsb()}},{key:"toHsbString",value:function(){return this.metaColor.toHsbString()}},{key:"toHex",value:function(){return m4(this.toHexString(),this.metaColor.a<1)}},{key:"toHexString",value:function(){return this.metaColor.toHexString()}},{key:"toRgb",value:function(){return this.metaColor.toRgb()}},{key:"toRgbString",value:function(){return this.metaColor.toRgbString()}},{key:"isGradient",value:function(){return!!this.colors&&!this.cleared}},{key:"getColors",value:function(){return this.colors||[{color:this,percent:0}]}},{key:"toCssString",value:function(){const{colors:n}=this;return n?`linear-gradient(90deg, ${n.map(o=>`${o.color.toRgbString()} ${o.percent}%`).join(", ")})`:this.metaColor.toRgbString()}},{key:"equals",value:function(n){return!n||this.isGradient()!==n.isGradient()?!1:this.isGradient()?this.colors.length===n.colors.length&&this.colors.every((r,o)=>{const a=n.colors[o];return r.percent===a.percent&&r.color.equals(a.color)}):this.toHexString()===n.toHexString()}}])})();var p4={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},g4=function(t,n){return u.createElement(Nt,ge({},t,{ref:n,icon:p4}))},Ti=u.forwardRef(g4);process.env.NODE_ENV!=="production"&&(Ti.displayName="RightOutlined");const Qv=e=>({[e.componentCls]:{[`${e.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${e.motionDurationMid} ${e.motionEaseInOut},
|
|
154
|
+
opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}},[`${e.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${e.motionDurationMid} ${e.motionEaseInOut},
|
|
155
|
+
opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}}}),h4=e=>({animationDuration:e,animationFillMode:"both"}),v4=e=>({animationDuration:e,animationFillMode:"both"}),Sl=(e,t,n,r,o=!1)=>{const a=o?"&":"";return{[`
|
|
156
|
+
${a}${e}-enter,
|
|
157
|
+
${a}${e}-appear
|
|
158
|
+
`]:Object.assign(Object.assign({},h4(r)),{animationPlayState:"paused"}),[`${a}${e}-leave`]:Object.assign(Object.assign({},v4(r)),{animationPlayState:"paused"}),[`
|
|
159
|
+
${a}${e}-enter${e}-enter-active,
|
|
160
|
+
${a}${e}-appear${e}-appear-active
|
|
161
|
+
`]:{animationName:t,animationPlayState:"running"},[`${a}${e}-leave${e}-leave-active`]:{animationName:n,animationPlayState:"running",pointerEvents:"none"}}},b4=new St("antFadeIn",{"0%":{opacity:0},"100%":{opacity:1}}),y4=new St("antFadeOut",{"0%":{opacity:1},"100%":{opacity:0}}),C4=(e,t=!1)=>{const{antCls:n}=e,r=`${n}-fade`,o=t?"&":"";return[Sl(r,b4,y4,e.motionDurationMid,t),{[`
|
|
162
|
+
${o}${r}-enter,
|
|
163
|
+
${o}${r}-appear
|
|
164
|
+
`]:{opacity:0,animationTimingFunction:"linear"},[`${o}${r}-leave`]:{animationTimingFunction:"linear"}}]},x4=new St("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),w4=new St("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),S4=new St("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),E4=new St("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),$4=new St("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),k4=new St("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),O4=new St("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),I4=new St("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),N4={"move-up":{inKeyframes:O4,outKeyframes:I4},"move-down":{inKeyframes:x4,outKeyframes:w4},"move-left":{inKeyframes:S4,outKeyframes:E4},"move-right":{inKeyframes:$4,outKeyframes:k4}},El=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:o,outKeyframes:a}=N4[t];return[Sl(r,o,a,e.motionDurationMid),{[`
|
|
165
|
+
${r}-enter,
|
|
166
|
+
${r}-appear
|
|
167
|
+
`]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]},Ld=new St("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),Fd=new St("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),Rd=new St("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),Bd=new St("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),P4=new St("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),_4=new St("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),T4=new St("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),j4=new St("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),M4={"slide-up":{inKeyframes:Ld,outKeyframes:Fd},"slide-down":{inKeyframes:Rd,outKeyframes:Bd},"slide-left":{inKeyframes:P4,outKeyframes:_4},"slide-right":{inKeyframes:T4,outKeyframes:j4}},ja=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:o,outKeyframes:a}=M4[t];return[Sl(r,o,a,e.motionDurationMid),{[`
|
|
168
|
+
${r}-enter,
|
|
169
|
+
${r}-appear
|
|
170
|
+
`]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:e.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInQuint}}]},Vd=new St("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),z4=new St("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),e0=new St("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),t0=new St("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),A4=new St("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),D4=new St("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),L4=new St("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),F4=new St("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}}),R4=new St("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),B4=new St("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}}),V4=new St("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),H4=new St("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}}),W4={zoom:{inKeyframes:Vd,outKeyframes:z4},"zoom-big":{inKeyframes:e0,outKeyframes:t0},"zoom-big-fast":{inKeyframes:e0,outKeyframes:t0},"zoom-left":{inKeyframes:L4,outKeyframes:F4},"zoom-right":{inKeyframes:R4,outKeyframes:B4},"zoom-up":{inKeyframes:A4,outKeyframes:D4},"zoom-down":{inKeyframes:V4,outKeyframes:H4}},ji=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:o,outKeyframes:a}=W4[t];return[Sl(r,o,a,t==="zoom-big-fast"?e.motionDurationFast:e.motionDurationMid),{[`
|
|
171
|
+
${r}-enter,
|
|
172
|
+
${r}-appear
|
|
173
|
+
`]:{transform:"scale(0)",opacity:0,animationTimingFunction:e.motionEaseOutCirc,"&-prepare":{transform:"none"}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]},q4=e=>e instanceof Dd?e:new Dd(e),U4=(e,t)=>{const{r:n,g:r,b:o,a}=e.toRgb(),i=new Zr(e.toRgbString()).onBackground(t).toHsv();return a<=.5?i.v>.5:n*.299+r*.587+o*.114>192},n0=e=>{const{paddingInline:t,onlyIconSize:n}=e;return ft(e,{buttonPaddingHorizontal:t,buttonPaddingVertical:0,buttonIconOnlyFontSize:n})},r0=e=>{var t,n,r,o,a,i;const s=(t=e.contentFontSize)!==null&&t!==void 0?t:e.fontSize,l=(n=e.contentFontSizeSM)!==null&&n!==void 0?n:e.fontSize,c=(r=e.contentFontSizeLG)!==null&&r!==void 0?r:e.fontSizeLG,d=(o=e.contentLineHeight)!==null&&o!==void 0?o:Qs(s),f=(a=e.contentLineHeightSM)!==null&&a!==void 0?a:Qs(l),m=(i=e.contentLineHeightLG)!==null&&i!==void 0?i:Qs(c),p=U4(new Dd(e.colorBgSolid),"#fff")?"#000":"#fff",h=po.reduce((v,g)=>Object.assign(Object.assign({},v),{[`${g}ShadowColor`]:`0 ${ne(e.controlOutlineWidth)} 0 ${Oi(e[`${g}1`],e.colorBgContainer)}`}),{});return Object.assign(Object.assign({},h),{fontWeight:400,iconGap:e.marginXS,defaultShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlTmpOutline}`,primaryShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlOutline}`,dangerShadow:`0 ${e.controlOutlineWidth}px 0 ${e.colorErrorOutline}`,primaryColor:e.colorTextLightSolid,dangerColor:e.colorTextLightSolid,borderColorDisabled:e.colorBorder,defaultGhostColor:e.colorBgContainer,ghostBg:"transparent",defaultGhostBorderColor:e.colorBgContainer,paddingInline:e.paddingContentHorizontal-e.lineWidth,paddingInlineLG:e.paddingContentHorizontal-e.lineWidth,paddingInlineSM:8-e.lineWidth,onlyIconSize:"inherit",onlyIconSizeSM:"inherit",onlyIconSizeLG:"inherit",groupBorderColor:e.colorPrimaryHover,linkHoverBg:"transparent",textTextColor:e.colorText,textTextHoverColor:e.colorText,textTextActiveColor:e.colorText,textHoverBg:e.colorFillTertiary,defaultColor:e.colorText,defaultBg:e.colorBgContainer,defaultBorderColor:e.colorBorder,defaultBorderColorDisabled:e.colorBorder,defaultHoverBg:e.colorBgContainer,defaultHoverColor:e.colorPrimaryHover,defaultHoverBorderColor:e.colorPrimaryHover,defaultActiveBg:e.colorBgContainer,defaultActiveColor:e.colorPrimaryActive,defaultActiveBorderColor:e.colorPrimaryActive,solidTextColor:p,contentFontSize:s,contentFontSizeSM:l,contentFontSizeLG:c,contentLineHeight:d,contentLineHeightSM:f,contentLineHeightLG:m,paddingBlock:Math.max((e.controlHeight-s*d)/2-e.lineWidth,0),paddingBlockSM:Math.max((e.controlHeightSM-l*f)/2-e.lineWidth,0),paddingBlockLG:Math.max((e.controlHeightLG-c*m)/2-e.lineWidth,0)})},G4=e=>{const{componentCls:t,iconCls:n,fontWeight:r,opacityLoading:o,motionDurationSlow:a,motionEaseInOut:i,iconGap:s,calc:l}=e;return{[t]:{outline:"none",position:"relative",display:"inline-flex",gap:s,alignItems:"center",justifyContent:"center",fontWeight:r,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",background:"transparent",border:`${ne(e.lineWidth)} ${e.lineType} transparent`,cursor:"pointer",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,userSelect:"none",touchAction:"manipulation",color:e.colorText,"&:disabled > *":{pointerEvents:"none"},[`${t}-icon > svg`]:Sa(),"> a":{color:"currentColor"},"&:not(:disabled)":Ea(e),[`&${t}-two-chinese-chars::first-letter`]:{letterSpacing:"0.34em"},[`&${t}-two-chinese-chars > *:not(${n})`]:{marginInlineEnd:"-0.34em",letterSpacing:"0.34em"},[`&${t}-icon-only`]:{paddingInline:0,[`&${t}-compact-item`]:{flex:"none"}},[`&${t}-loading`]:{opacity:o,cursor:"default"},[`${t}-loading-icon`]:{transition:["width","opacity","margin"].map(c=>`${c} ${a} ${i}`).join(",")},[`&:not(${t}-icon-end)`]:{[`${t}-loading-icon-motion`]:{"&-appear-start, &-enter-start":{marginInlineEnd:l(s).mul(-1).equal()},"&-appear-active, &-enter-active":{marginInlineEnd:0},"&-leave-start":{marginInlineEnd:0},"&-leave-active":{marginInlineEnd:l(s).mul(-1).equal()}}},"&-icon-end":{flexDirection:"row-reverse",[`${t}-loading-icon-motion`]:{"&-appear-start, &-enter-start":{marginInlineStart:l(s).mul(-1).equal()},"&-appear-active, &-enter-active":{marginInlineStart:0},"&-leave-start":{marginInlineStart:0},"&-leave-active":{marginInlineStart:l(s).mul(-1).equal()}}}}}},o0=(e,t,n)=>({[`&:not(:disabled):not(${e}-disabled)`]:{"&:hover":t,"&:active":n}}),K4=e=>({minWidth:e.controlHeight,paddingInline:0,borderRadius:"50%"}),X4=e=>({cursor:"not-allowed",borderColor:e.borderColorDisabled,color:e.colorTextDisabled,background:e.colorBgContainerDisabled,boxShadow:"none"}),$l=(e,t,n,r,o,a,i,s)=>({[`&${e}-background-ghost`]:Object.assign(Object.assign({color:n||void 0,background:t,borderColor:r||void 0,boxShadow:"none"},o0(e,Object.assign({background:t},i),Object.assign({background:t},s))),{"&:disabled":{cursor:"not-allowed",color:o||void 0,borderColor:a||void 0}})}),Y4=e=>({[`&:disabled, &${e.componentCls}-disabled`]:Object.assign({},X4(e))}),J4=e=>({[`&:disabled, &${e.componentCls}-disabled`]:{cursor:"not-allowed",color:e.colorTextDisabled}}),kl=(e,t,n,r)=>{const a=r&&["link","text"].includes(r)?J4:Y4;return Object.assign(Object.assign({},a(e)),o0(e.componentCls,t,n))},Ol=(e,t,n,r,o)=>({[`&${e.componentCls}-variant-solid`]:Object.assign({color:t,background:n},kl(e,r,o))}),Il=(e,t,n,r,o)=>({[`&${e.componentCls}-variant-outlined, &${e.componentCls}-variant-dashed`]:Object.assign({borderColor:t,background:n},kl(e,r,o))}),Nl=e=>({[`&${e.componentCls}-variant-dashed`]:{borderStyle:"dashed"}}),Pl=(e,t,n,r)=>({[`&${e.componentCls}-variant-filled`]:Object.assign({boxShadow:"none",background:t},kl(e,n,r))}),jr=(e,t,n,r,o)=>({[`&${e.componentCls}-variant-${n}`]:Object.assign({color:t,boxShadow:"none"},kl(e,r,o,n))}),Z4=e=>{const{componentCls:t}=e;return po.reduce((n,r)=>{const o=e[`${r}6`],a=e[`${r}1`],i=e[`${r}5`],s=e[`${r}2`],l=e[`${r}3`],c=e[`${r}7`];return Object.assign(Object.assign({},n),{[`&${t}-color-${r}`]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:o,boxShadow:e[`${r}ShadowColor`]},Ol(e,e.colorTextLightSolid,o,{background:i},{background:c})),Il(e,o,e.colorBgContainer,{color:i,borderColor:i,background:e.colorBgContainer},{color:c,borderColor:c,background:e.colorBgContainer})),Nl(e)),Pl(e,a,{color:o,background:s},{color:o,background:l})),jr(e,o,"link",{color:i},{color:c})),jr(e,o,"text",{color:i,background:a},{color:c,background:l}))})},{})},Q4=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:e.defaultColor,boxShadow:e.defaultShadow},Ol(e,e.solidTextColor,e.colorBgSolid,{color:e.solidTextColor,background:e.colorBgSolidHover},{color:e.solidTextColor,background:e.colorBgSolidActive})),Nl(e)),Pl(e,e.colorFillTertiary,{color:e.defaultColor,background:e.colorFillSecondary},{color:e.defaultColor,background:e.colorFill})),$l(e.componentCls,e.ghostBg,e.defaultGhostColor,e.defaultGhostBorderColor,e.colorTextDisabled,e.colorBorder)),jr(e,e.textTextColor,"link",{color:e.colorLinkHover,background:e.linkHoverBg},{color:e.colorLinkActive})),e3=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:e.colorPrimary,boxShadow:e.primaryShadow},Il(e,e.colorPrimary,e.colorBgContainer,{color:e.colorPrimaryTextHover,borderColor:e.colorPrimaryHover,background:e.colorBgContainer},{color:e.colorPrimaryTextActive,borderColor:e.colorPrimaryActive,background:e.colorBgContainer})),Nl(e)),Pl(e,e.colorPrimaryBg,{color:e.colorPrimary,background:e.colorPrimaryBgHover},{color:e.colorPrimary,background:e.colorPrimaryBorder})),jr(e,e.colorPrimaryText,"text",{color:e.colorPrimaryTextHover,background:e.colorPrimaryBg},{color:e.colorPrimaryTextActive,background:e.colorPrimaryBorder})),jr(e,e.colorPrimaryText,"link",{color:e.colorPrimaryTextHover,background:e.linkHoverBg},{color:e.colorPrimaryTextActive})),$l(e.componentCls,e.ghostBg,e.colorPrimary,e.colorPrimary,e.colorTextDisabled,e.colorBorder,{color:e.colorPrimaryHover,borderColor:e.colorPrimaryHover},{color:e.colorPrimaryActive,borderColor:e.colorPrimaryActive})),t3=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:e.colorError,boxShadow:e.dangerShadow},Ol(e,e.dangerColor,e.colorError,{background:e.colorErrorHover},{background:e.colorErrorActive})),Il(e,e.colorError,e.colorBgContainer,{color:e.colorErrorHover,borderColor:e.colorErrorBorderHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),Nl(e)),Pl(e,e.colorErrorBg,{color:e.colorError,background:e.colorErrorBgFilledHover},{color:e.colorError,background:e.colorErrorBgActive})),jr(e,e.colorError,"text",{color:e.colorErrorHover,background:e.colorErrorBg},{color:e.colorErrorHover,background:e.colorErrorBgActive})),jr(e,e.colorError,"link",{color:e.colorErrorHover},{color:e.colorErrorActive})),$l(e.componentCls,e.ghostBg,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder,{color:e.colorErrorHover,borderColor:e.colorErrorHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),n3=e=>Object.assign(Object.assign({},jr(e,e.colorLink,"link",{color:e.colorLinkHover},{color:e.colorLinkActive})),$l(e.componentCls,e.ghostBg,e.colorInfo,e.colorInfo,e.colorTextDisabled,e.colorBorder,{color:e.colorInfoHover,borderColor:e.colorInfoHover},{color:e.colorInfoActive,borderColor:e.colorInfoActive})),r3=e=>{const{componentCls:t}=e;return Object.assign({[`${t}-color-default`]:Q4(e),[`${t}-color-primary`]:e3(e),[`${t}-color-dangerous`]:t3(e),[`${t}-color-link`]:n3(e)},Z4(e))},o3=e=>Object.assign(Object.assign(Object.assign(Object.assign({},Il(e,e.defaultBorderColor,e.defaultBg,{color:e.defaultHoverColor,borderColor:e.defaultHoverBorderColor,background:e.defaultHoverBg},{color:e.defaultActiveColor,borderColor:e.defaultActiveBorderColor,background:e.defaultActiveBg})),jr(e,e.textTextColor,"text",{color:e.textTextHoverColor,background:e.textHoverBg},{color:e.textTextActiveColor,background:e.colorBgTextActive})),Ol(e,e.primaryColor,e.colorPrimary,{background:e.colorPrimaryHover,color:e.primaryColor},{background:e.colorPrimaryActive,color:e.primaryColor})),jr(e,e.colorLink,"link",{color:e.colorLinkHover,background:e.linkHoverBg},{color:e.colorLinkActive})),Hd=(e,t="")=>{const{componentCls:n,controlHeight:r,fontSize:o,borderRadius:a,buttonPaddingHorizontal:i,iconCls:s,buttonPaddingVertical:l,buttonIconOnlyFontSize:c}=e;return[{[t]:{fontSize:o,height:r,padding:`${ne(l)} ${ne(i)}`,borderRadius:a,[`&${n}-icon-only`]:{width:r,[s]:{fontSize:c}}}},{[`${n}${n}-circle${t}`]:K4(e)},{[`${n}${n}-round${t}`]:{borderRadius:e.controlHeight,[`&:not(${n}-icon-only)`]:{paddingInline:e.buttonPaddingHorizontal}}}]},a3=e=>{const t=ft(e,{fontSize:e.contentFontSize});return Hd(t,e.componentCls)},i3=e=>{const t=ft(e,{controlHeight:e.controlHeightSM,fontSize:e.contentFontSizeSM,padding:e.paddingXS,buttonPaddingHorizontal:e.paddingInlineSM,buttonPaddingVertical:0,borderRadius:e.borderRadiusSM,buttonIconOnlyFontSize:e.onlyIconSizeSM});return Hd(t,`${e.componentCls}-sm`)},s3=e=>{const t=ft(e,{controlHeight:e.controlHeightLG,fontSize:e.contentFontSizeLG,buttonPaddingHorizontal:e.paddingInlineLG,buttonPaddingVertical:0,borderRadius:e.borderRadiusLG,buttonIconOnlyFontSize:e.onlyIconSizeLG});return Hd(t,`${e.componentCls}-lg`)},l3=e=>{const{componentCls:t}=e;return{[t]:{[`&${t}-block`]:{width:"100%"}}}},c3=zt("Button",e=>{const t=n0(e);return[G4(t),a3(t),i3(t),s3(t),l3(t),r3(t),o3(t),JO(t)]},r0,{unitless:{fontWeight:!0,contentLineHeight:!0,contentLineHeightSM:!0,contentLineHeightLG:!0}});function u3(e,t,n,r){const{focusElCls:o,focus:a,borderElCls:i}=n,s=i?"> *":"",l=["hover",a?"focus":null,"active"].filter(Boolean).map(c=>`&:${c} ${s}`).join(",");return{[`&-item:not(${t}-last-item)`]:{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal()},[`&-item:not(${r}-status-success)`]:{zIndex:2},"&-item":Object.assign(Object.assign({[l]:{zIndex:3}},o?{[`&${o}`]:{zIndex:3}}:{}),{[`&[disabled] ${s}`]:{zIndex:0}})}}function d3(e,t,n){const{borderElCls:r}=n,o=r?`> ${r}`:"";return{[`&-item:not(${t}-first-item):not(${t}-last-item) ${o}`]:{borderRadius:0},[`&-item:not(${t}-last-item)${t}-first-item`]:{[`& ${o}, &${e}-sm ${o}, &${e}-lg ${o}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&-item:not(${t}-first-item)${t}-last-item`]:{[`& ${o}, &${e}-sm ${o}, &${e}-lg ${o}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}function Mi(e,t={focus:!0}){const{componentCls:n}=e,{componentCls:r}=t,o=r||n,a=`${o}-compact`;return{[a]:Object.assign(Object.assign({},u3(e,a,t,o)),d3(o,a,t))}}function f3(e,t,n){return{[`&-item:not(${t}-last-item)`]:{marginBottom:e.calc(e.lineWidth).mul(-1).equal()},[`&-item:not(${n}-status-success)`]:{zIndex:2},"&-item":{"&:hover,&:focus,&:active":{zIndex:3},"&[disabled]":{zIndex:0}}}}function m3(e,t){return{[`&-item:not(${t}-first-item):not(${t}-last-item)`]:{borderRadius:0},[`&-item${t}-first-item:not(${t}-last-item)`]:{[`&, &${e}-sm, &${e}-lg`]:{borderEndEndRadius:0,borderEndStartRadius:0}},[`&-item${t}-last-item:not(${t}-first-item)`]:{[`&, &${e}-sm, &${e}-lg`]:{borderStartStartRadius:0,borderStartEndRadius:0}}}}function p3(e){const t=`${e.componentCls}-compact-vertical`;return{[t]:Object.assign(Object.assign({},f3(e,t,e.componentCls)),m3(e.componentCls,t))}}const g3=e=>{const{componentCls:t,colorPrimaryHover:n,lineWidth:r,calc:o}=e,a=o(r).mul(-1).equal(),i=s=>{const l=`${t}-compact${s?"-vertical":""}-item${t}-primary:not([disabled])`;return{[`${l} + ${l}::before`]:{position:"absolute",top:s?a:0,insetInlineStart:s?0:a,backgroundColor:n,content:'""',width:s?"100%":r,height:s?r:"100%"}}};return Object.assign(Object.assign({},i()),i(!0))},h3=ud(["Button","compact"],e=>{const t=n0(e);return[Mi(t),p3(t),g3(t)]},r0);var v3=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function b3(e){if(typeof e=="object"&&e){let t=e==null?void 0:e.delay;return t=!Number.isNaN(t)&&typeof t=="number"?t:0,{loading:t<=0,delay:t}}return{loading:!!e,delay:0}}const y3={default:["default","outlined"],primary:["primary","solid"],dashed:["default","dashed"],link:["link","link"],text:["default","text"]},kt=w.forwardRef((e,t)=>{var n,r;const{loading:o=!1,prefixCls:a,color:i,variant:s,type:l,danger:c=!1,shape:d,size:f,styles:m,disabled:p,className:h,rootClassName:v,children:g,icon:b,iconPosition:y="start",ghost:x=!1,block:C=!1,htmlType:S="button",classNames:$,style:k={},autoInsertSpace:E,autoFocus:I}=e,N=v3(e,["loading","prefixCls","color","variant","type","danger","shape","size","styles","disabled","className","rootClassName","children","icon","iconPosition","ghost","block","htmlType","classNames","style","autoInsertSpace","autoFocus"]),P=l||"default",{button:T}=w.useContext(Ue),j=d||(T==null?void 0:T.shape)||"default",[_,M]=w.useMemo(()=>{if(i&&s)return[i,s];if(l||c){const Je=y3[P]||[];return c?["danger",Je[1]]:Je}return T!=null&&T.color&&(T!=null&&T.variant)?[T.color,T.variant]:["default","outlined"]},[i,s,l,c,T==null?void 0:T.color,T==null?void 0:T.variant,P]),A=_==="danger"?"dangerous":_,{getPrefixCls:D,direction:W,autoInsertSpace:U,className:q,style:B,classNames:L,styles:V}=qn("button"),H=(n=E??U)!==null&&n!==void 0?n:!0,X=D("btn",a),[ie,K,ee]=c3(X),te=w.useContext(Un),Y=p??te,J=w.useContext(Rv),ae=w.useMemo(()=>b3(o),[o]),[Z,oe]=w.useState(ae.loading),[re,ce]=w.useState(!1),se=w.useRef(null),ue=Rr(t,se),he=w.Children.count(g)===1&&!b&&!wl(M),de=w.useRef(!0);w.useEffect(()=>(de.current=!1,()=>{de.current=!0}),[]),It(()=>{let Je=null;ae.delay>0?Je=setTimeout(()=>{Je=null,oe(!0)},ae.delay):oe(ae.loading);function _t(){Je&&(clearTimeout(Je),Je=null)}return _t},[ae.delay,ae.loading]),w.useEffect(()=>{if(!se.current||!H)return;const Je=se.current.textContent||"";he&&jd(Je)?re||ce(!0):re&&ce(!1)}),w.useEffect(()=>{I&&se.current&&se.current.focus()},[]);const ye=w.useCallback(Je=>{var _t;if(Z||Y){Je.preventDefault();return}(_t=e.onClick)===null||_t===void 0||_t.call(e,("href"in e,Je))},[e.onClick,Z,Y]);if(process.env.NODE_ENV!=="production"){const Je=Et("Button");process.env.NODE_ENV!=="production"&&Je(!(typeof b=="string"&&b.length>2),"breaking",`\`icon\` is using ReactNode instead of string naming in v4. Please check \`${b}\` at https://ant.design/components/icon`),process.env.NODE_ENV!=="production"&&Je(!(x&&wl(M)),"usage","`link` or `text` button can't be a `ghost` button.")}const{compactSize:be,compactItemClassnames:le}=ho(X,W),Ce={large:"lg",small:"sm",middle:void 0},Le=Kn(Je=>{var _t,Lt;return(Lt=(_t=f??be)!==null&&_t!==void 0?_t:J)!==null&&Lt!==void 0?Lt:Je}),We=Le&&(r=Ce[Le])!==null&&r!==void 0?r:"",Me=Z?"loading":b,we=cn(N,["navigate"]),Re=G(X,K,ee,{[`${X}-${j}`]:j!=="default"&&j,[`${X}-${P}`]:P,[`${X}-dangerous`]:c,[`${X}-color-${A}`]:A,[`${X}-variant-${M}`]:M,[`${X}-${We}`]:We,[`${X}-icon-only`]:!g&&g!==0&&!!Me,[`${X}-background-ghost`]:x&&!wl(M),[`${X}-loading`]:Z,[`${X}-two-chinese-chars`]:re&&H&&!Z,[`${X}-block`]:C,[`${X}-rtl`]:W==="rtl",[`${X}-icon-end`]:y==="end"},le,h,v,q),fe=Object.assign(Object.assign({},B),k),qe=G($==null?void 0:$.icon,L.icon),Ne=Object.assign(Object.assign({},(m==null?void 0:m.icon)||{}),V.icon||{}),Ee=Je=>w.createElement(Wv,{prefixCls:X,className:qe,style:Ne},Je),Be=()=>w.createElement(YO,{existIcon:!!b,prefixCls:X,loading:Z,mount:de.current});let Xe;b&&!Z?Xe=Ee(b):o&&typeof o=="object"&&o.icon?Xe=Ee(o.icon):Xe=Be();const Ye=g||g===0?XO(g,he&&H):null;if(we.href!==void 0)return ie(w.createElement("a",Object.assign({},we,{className:G(Re,{[`${X}-disabled`]:Y}),href:Y?void 0:we.href,style:fe,onClick:ye,ref:ue,tabIndex:Y?-1:0,"aria-disabled":Y}),Xe,Ye));let yt=w.createElement("button",Object.assign({},N,{type:S,className:Re,style:fe,onClick:ye,disabled:Y,ref:ue}),Xe,Ye,le&&w.createElement(h3,{prefixCls:X}));return wl(M)||(yt=w.createElement(_i,{component:"Button",disabled:Z},yt)),ie(yt)});kt.Group=GO,kt.__ANT_BUTTON=!0,process.env.NODE_ENV!=="production"&&(kt.displayName="Button");const Wd=e=>typeof(e==null?void 0:e.then)=="function",a0=e=>{const{type:t,children:n,prefixCls:r,buttonProps:o,close:a,autoFocus:i,emitEvent:s,isSilent:l,quitOnNullishReturnValue:c,actionFn:d}=e,f=u.useRef(!1),m=u.useRef(null),[p,h]=Vo(!1),v=(...y)=>{a==null||a.apply(void 0,y)};u.useEffect(()=>{let y=null;return i&&(y=setTimeout(()=>{var x;(x=m.current)===null||x===void 0||x.focus({preventScroll:!0})})),()=>{y&&clearTimeout(y)}},[i]);const g=y=>{Wd(y)&&(h(!0),y.then((...x)=>{h(!1,!0),v.apply(void 0,x),f.current=!1},x=>{if(h(!1,!0),f.current=!1,!(l!=null&&l()))return Promise.reject(x)}))},b=y=>{if(f.current)return;if(f.current=!0,!d){v();return}let x;if(s){if(x=d(y),c&&!Wd(x)){f.current=!1,v(y);return}}else if(d.length)x=d(a),f.current=!1;else if(x=d(),!Wd(x)){v();return}g(x)};return u.createElement(kt,Object.assign({},Vv(t),{onClick:b,loading:p,prefixCls:r},o,{ref:m}),n)},zi=w.createContext({}),{Provider:i0}=zi,s0=()=>{const{autoFocusButton:e,cancelButtonProps:t,cancelTextLocale:n,isSilent:r,mergedOkCancel:o,rootPrefixCls:a,close:i,onCancel:s,onConfirm:l}=w.useContext(zi);return o?w.createElement(a0,{isSilent:r,actionFn:s,close:(...c)=>{i==null||i.apply(void 0,c),l==null||l(!1)},autoFocus:e==="cancel",buttonProps:t,prefixCls:`${a}-btn`},n):null},l0=()=>{const{autoFocusButton:e,close:t,isSilent:n,okButtonProps:r,rootPrefixCls:o,okTextLocale:a,okType:i,onConfirm:s,onOk:l}=w.useContext(zi);return w.createElement(a0,{isSilent:n,type:i||"primary",actionFn:l,close:(...c)=>{t==null||t.apply(void 0,c),s==null||s(!0)},autoFocus:e==="ok",buttonProps:r,prefixCls:`${o}-btn`},a)};var c0=u.createContext(null),u0=[];function C3(e,t){var n=u.useState(function(){if(!Sn())return null;var h=document.createElement("div");return process.env.NODE_ENV!=="production"&&t&&h.setAttribute("data-debug",t),h}),r=Q(n,1),o=r[0],a=u.useRef(!1),i=u.useContext(c0),s=u.useState(u0),l=Q(s,2),c=l[0],d=l[1],f=i||(a.current?void 0:function(h){d(function(v){var g=[h].concat(ve(v));return g})});function m(){o.parentElement||document.body.appendChild(o),a.current=!0}function p(){var h;(h=o.parentElement)===null||h===void 0||h.removeChild(o),a.current=!1}return It(function(){return e?i?i(m):m():p(),p},[e]),It(function(){c.length&&(c.forEach(function(h){return h()}),d(u0))},[c]),[o,f]}function x3(e){var t="rc-scrollbar-measure-".concat(Math.random().toString(36).substring(7)),n=document.createElement("div");n.id=t;var r=n.style;r.position="absolute",r.left="0",r.top="0",r.width="100px",r.height="100px",r.overflow="scroll";var o,a;if(e){var i=getComputedStyle(e);r.scrollbarColor=i.scrollbarColor,r.scrollbarWidth=i.scrollbarWidth;var s=getComputedStyle(e,"::-webkit-scrollbar"),l=parseInt(s.width,10),c=parseInt(s.height,10);try{var d=l?"width: ".concat(s.width,";"):"",f=c?"height: ".concat(s.height,";"):"";qr(`
|
|
174
|
+
#`.concat(t,`::-webkit-scrollbar {
|
|
175
|
+
`).concat(d,`
|
|
176
|
+
`).concat(f,`
|
|
177
|
+
}`),t)}catch(h){console.error(h),o=l,a=c}}document.body.appendChild(n);var m=e&&o&&!isNaN(o)?o:n.offsetWidth-n.clientWidth,p=e&&a&&!isNaN(a)?a:n.offsetHeight-n.clientHeight;return document.body.removeChild(n),hi(t),{width:m,height:p}}function w3(e){return typeof document>"u"||!e||!(e instanceof Element)?{width:0,height:0}:x3(e)}function S3(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var E3="rc-util-locker-".concat(Date.now()),d0=0;function $3(e){var t=!!e,n=u.useState(function(){return d0+=1,"".concat(E3,"_").concat(d0)}),r=Q(n,1),o=r[0];It(function(){if(t){var a=w3(document.body).width,i=S3();qr(`
|
|
178
|
+
html body {
|
|
179
|
+
overflow-y: hidden;
|
|
180
|
+
`.concat(i?"width: calc(100% - ".concat(a,"px);"):"",`
|
|
181
|
+
}`),o)}else hi(o);return function(){hi(o)}},[t,o])}var k3=!1;function O3(e){return k3}var f0=function(t){return t===!1?!1:!Sn()||!t?null:typeof t=="string"?document.querySelector(t):typeof t=="function"?t():t},Ai=u.forwardRef(function(e,t){var n=e.open,r=e.autoLock,o=e.getContainer,a=e.debug,i=e.autoDestroy,s=i===void 0?!0:i,l=e.children,c=u.useState(n),d=Q(c,2),f=d[0],m=d[1],p=f||n;process.env.NODE_ENV!=="production"&&Ze(Sn()||!n,"Portal only work in client side. Please call 'useEffect' to show Portal instead default render in SSR."),u.useEffect(function(){(s||n)&&m(n)},[n,s]);var h=u.useState(function(){return f0(o)}),v=Q(h,2),g=v[0],b=v[1];u.useEffect(function(){var T=f0(o);b(T??null)});var y=C3(p&&!g,a),x=Q(y,2),C=x[0],S=x[1],$=g??C;$3(r&&n&&Sn()&&($===C||$===document.body));var k=null;if(l&&Br(l)&&t){var E=l;k=E.ref}var I=Rr(k,t);if(!p||!Sn()||g===void 0)return null;var N=$===!1||O3(),P=l;return t&&(P=u.cloneElement(l,{ref:I})),u.createElement(c0.Provider,{value:S},N?P:tr.createPortal(P,$))});process.env.NODE_ENV!=="production"&&(Ai.displayName="Portal");var m0=u.createContext({});function I3(){var e=R({},u);return e.useId}var p0=0,g0=I3();const Di=g0?function(t){var n=g0();return t||(process.env.NODE_ENV==="test"?"test-id":n)}:function(t){var n=u.useState("ssr-id"),r=Q(n,2),o=r[0],a=r[1];return u.useEffect(function(){var i=p0;p0+=1,a("rc_unique_".concat(i))},[]),t||(process.env.NODE_ENV==="test"?"test-id":o)};function h0(e,t,n){var r=t;return!r&&n&&(r="".concat(e,"-").concat(n)),r}function v0(e,t){var n=e["page".concat(t?"Y":"X","Offset")],r="scroll".concat(t?"Top":"Left");if(typeof n!="number"){var o=e.document;n=o.documentElement[r],typeof n!="number"&&(n=o.body[r])}return n}function N3(e){var t=e.getBoundingClientRect(),n={left:t.left,top:t.top},r=e.ownerDocument,o=r.defaultView||r.parentWindow;return n.left+=v0(o),n.top+=v0(o,!0),n}const P3=u.memo(function(e){var t=e.children;return t},function(e,t){var n=t.shouldUpdate;return!n});var _3={width:0,height:0,overflow:"hidden",outline:"none"},T3={outline:"none"},qd=w.forwardRef(function(e,t){var n=e.prefixCls,r=e.className,o=e.style,a=e.title,i=e.ariaId,s=e.footer,l=e.closable,c=e.closeIcon,d=e.onClose,f=e.children,m=e.bodyStyle,p=e.bodyProps,h=e.modalRender,v=e.onMouseDown,g=e.onMouseUp,b=e.holderRef,y=e.visible,x=e.forceRender,C=e.width,S=e.height,$=e.classNames,k=e.styles,E=w.useContext(m0),I=E.panel,N=Rr(b,I),P=w.useRef(),T=w.useRef();w.useImperativeHandle(t,function(){return{focus:function(){var B;(B=P.current)===null||B===void 0||B.focus({preventScroll:!0})},changeActive:function(B){var L=document,V=L.activeElement;B&&V===T.current?P.current.focus({preventScroll:!0}):!B&&V===P.current&&T.current.focus({preventScroll:!0})}}});var j={};C!==void 0&&(j.width=C),S!==void 0&&(j.height=S);var _=s?w.createElement("div",{className:G("".concat(n,"-footer"),$==null?void 0:$.footer),style:R({},k==null?void 0:k.footer)},s):null,M=a?w.createElement("div",{className:G("".concat(n,"-header"),$==null?void 0:$.header),style:R({},k==null?void 0:k.header)},w.createElement("div",{className:"".concat(n,"-title"),id:i},a)):null,z=w.useMemo(function(){return Ae(l)==="object"&&l!==null?l:l?{closeIcon:c??w.createElement("span",{className:"".concat(n,"-close-x")})}:{}},[l,c,n]),A=Gn(z,!0),D=Ae(l)==="object"&&l.disabled,W=l?w.createElement("button",ge({type:"button",onClick:d,"aria-label":"Close"},A,{className:"".concat(n,"-close"),disabled:D}),z.closeIcon):null,U=w.createElement("div",{className:G("".concat(n,"-content"),$==null?void 0:$.content),style:k==null?void 0:k.content},W,M,w.createElement("div",ge({className:G("".concat(n,"-body"),$==null?void 0:$.body),style:R(R({},m),k==null?void 0:k.body)},p),f),_);return w.createElement("div",{key:"dialog-element",role:"dialog","aria-labelledby":a?i:null,"aria-modal":"true",ref:N,style:R(R({},o),j),className:G(n,r),onMouseDown:v,onMouseUp:g},w.createElement("div",{ref:P,tabIndex:0,style:T3},w.createElement(P3,{shouldUpdate:y||x},h?h(U):U)),w.createElement("div",{tabIndex:0,ref:T,style:_3}))});process.env.NODE_ENV!=="production"&&(qd.displayName="Panel");var b0=u.forwardRef(function(e,t){var n=e.prefixCls,r=e.title,o=e.style,a=e.className,i=e.visible,s=e.forceRender,l=e.destroyOnClose,c=e.motionName,d=e.ariaId,f=e.onVisibleChanged,m=e.mousePosition,p=w.useRef(),h=u.useState(),v=Q(h,2),g=v[0],b=v[1],y={};g&&(y.transformOrigin=g);function x(){var C=N3(p.current);b(m&&(m.x||m.y)?"".concat(m.x-C.left,"px ").concat(m.y-C.top,"px"):"")}return u.createElement(wr,{visible:i,onVisibleChanged:f,onAppearPrepare:x,onEnterPrepare:x,forceRender:s,motionName:c,removeOnLeave:l,ref:p},function(C,S){var $=C.className,k=C.style;return u.createElement(qd,ge({},e,{ref:t,title:r,ariaId:d,prefixCls:n,holderRef:S,style:R(R(R({},k),o),y),className:G(a,$)}))})});b0.displayName="Content";var j3=function(t){var n=t.prefixCls,r=t.style,o=t.visible,a=t.maskProps,i=t.motionName,s=t.className;return u.createElement(wr,{key:"mask",visible:o,motionName:i,leavedClassName:"".concat(n,"-mask-hidden")},function(l,c){var d=l.className,f=l.style;return u.createElement("div",ge({ref:c,style:R(R({},f),r),className:G("".concat(n,"-mask"),d,s)},a))})},M3=function(t){var n=t.prefixCls,r=n===void 0?"rc-dialog":n,o=t.zIndex,a=t.visible,i=a===void 0?!1:a,s=t.keyboard,l=s===void 0?!0:s,c=t.focusTriggerAfterClose,d=c===void 0?!0:c,f=t.wrapStyle,m=t.wrapClassName,p=t.wrapProps,h=t.onClose,v=t.afterOpenChange,g=t.afterClose,b=t.transitionName,y=t.animation,x=t.closable,C=x===void 0?!0:x,S=t.mask,$=S===void 0?!0:S,k=t.maskTransitionName,E=t.maskAnimation,I=t.maskClosable,N=I===void 0?!0:I,P=t.maskStyle,T=t.maskProps,j=t.rootClassName,_=t.classNames,M=t.styles;process.env.NODE_ENV!=="production"&&(["wrapStyle","bodyStyle","maskStyle"].forEach(function(oe){Fr(!(oe in t),"".concat(oe," is deprecated, please use styles instead."))}),"wrapClassName"in t&&Fr(!1,"wrapClassName is deprecated, please use classNames instead."));var z=w.useRef(),A=w.useRef(),D=w.useRef(),W=u.useState(i),U=Q(W,2),q=U[0],B=U[1],L=Di();function V(){Su(A.current,document.activeElement)||(z.current=document.activeElement)}function H(){if(!Su(A.current,document.activeElement)){var oe;(oe=D.current)===null||oe===void 0||oe.focus()}}function X(oe){if(oe)H();else{if(B(!1),$&&z.current&&d){try{z.current.focus({preventScroll:!0})}catch{}z.current=null}q&&(g==null||g())}v==null||v(oe)}function ie(oe){h==null||h(oe)}var K=w.useRef(!1),ee=w.useRef(),te=function(){clearTimeout(ee.current),K.current=!0},Y=function(){ee.current=setTimeout(function(){K.current=!1})},J=null;N&&(J=function(re){K.current?K.current=!1:A.current===re.target&&ie(re)});function ae(oe){if(l&&oe.keyCode===De.ESC){oe.stopPropagation(),ie(oe);return}i&&oe.keyCode===De.TAB&&D.current.changeActive(!oe.shiftKey)}w.useEffect(function(){i&&(B(!0),V())},[i]),w.useEffect(function(){return function(){clearTimeout(ee.current)}},[]);var Z=R(R(R({zIndex:o},f),M==null?void 0:M.wrapper),{},{display:q?null:"none"});return u.createElement("div",ge({className:G("".concat(r,"-root"),j)},Gn(t,{data:!0})),u.createElement(j3,{prefixCls:r,visible:$&&i,motionName:h0(r,k,E),style:R(R({zIndex:o},P),M==null?void 0:M.mask),maskProps:T,className:_==null?void 0:_.mask}),u.createElement("div",ge({tabIndex:-1,onKeyDown:ae,className:G("".concat(r,"-wrap"),m,_==null?void 0:_.wrapper),ref:A,onClick:J,style:Z},p),u.createElement(b0,ge({},t,{onMouseDown:te,onMouseUp:Y,ref:D,closable:C,ariaId:L,prefixCls:r,visible:i&&q,onClose:ie,onVisibleChanged:X,motionName:h0(r,b,y)}))))},y0=function(t){var n=t.visible,r=t.getContainer,o=t.forceRender,a=t.destroyOnClose,i=a===void 0?!1:a,s=t.afterClose,l=t.panelRef,c=u.useState(n),d=Q(c,2),f=d[0],m=d[1],p=u.useMemo(function(){return{panel:l}},[l]);return u.useEffect(function(){n&&m(!0)},[n]),!o&&i&&!f?null:u.createElement(m0.Provider,{value:p},u.createElement(Ai,{open:n||o||f,autoDestroy:!1,getContainer:r,autoLock:n||f},u.createElement(M3,ge({},t,{destroyOnClose:i,afterClose:function(){s==null||s(),m(!1)}}))))};y0.displayName="Dialog";var Wo="RC_FORM_INTERNAL_HOOKS",Dt=function(){Ze(!1,"Can not find FormContext. Please make sure you wrap Field under Form.")},qo=u.createContext({getFieldValue:Dt,getFieldsValue:Dt,getFieldError:Dt,getFieldWarning:Dt,getFieldsError:Dt,isFieldsTouched:Dt,isFieldTouched:Dt,isFieldValidating:Dt,isFieldsValidating:Dt,resetFields:Dt,setFields:Dt,setFieldValue:Dt,setFieldsValue:Dt,validateFields:Dt,submit:Dt,getInternalHooks:function(){return Dt(),{dispatch:Dt,initEntityValue:Dt,registerField:Dt,useSubscribe:Dt,setInitialValues:Dt,destroyForm:Dt,setCallbacks:Dt,registerWatch:Dt,getFields:Dt,setValidateMessages:Dt,setPreserve:Dt,getInitialValue:Dt}}}),Li=u.createContext(null);function Ud(e){return e==null?[]:Array.isArray(e)?e:[e]}function z3(e){return e&&!!e._init}function Gd(){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",tel:"%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 t=JSON.parse(JSON.stringify(this));return t.clone=this.clone,t}}}var Kd=Gd();function A3(e){try{return Function.toString.call(e).indexOf("[native code]")!==-1}catch{return typeof e=="function"}}function D3(e,t,n){if(Cu())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var o=new(e.bind.apply(e,r));return n&&mi(o,n.prototype),o}function Xd(e){var t=typeof Map=="function"?new Map:void 0;return Xd=function(r){if(r===null||!A3(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(t!==void 0){if(t.has(r))return t.get(r);t.set(r,o)}function o(){return D3(r,arguments,pi(this).constructor)}return o.prototype=Object.create(r.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),mi(o,r)},Xd(e)}var L3=/%[sdj%]/g,C0=function(){};typeof process<"u"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window<"u"&&typeof document<"u"&&(C0=function(t,n){typeof console<"u"&&console.warn&&typeof ASYNC_VALIDATOR_NO_WARNING>"u"&&n.every(function(r){return typeof r=="string"})&&console.warn(t,n)});function Yd(e){if(!e||!e.length)return null;var t={};return e.forEach(function(n){var r=n.field;t[r]=t[r]||[],t[r].push(n)}),t}function Xn(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=0,a=n.length;if(typeof e=="function")return e.apply(null,n);if(typeof e=="string"){var i=e.replace(L3,function(s){if(s==="%%")return"%";if(o>=a)return s;switch(s){case"%s":return String(n[o++]);case"%d":return Number(n[o++]);case"%j":try{return JSON.stringify(n[o++])}catch{return"[Circular]"}break;default:return s}});return i}return e}function F3(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"||e==="tel"}function un(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||F3(t)&&typeof e=="string"&&!e)}function R3(e,t,n){var r=[],o=0,a=e.length;function i(s){r.push.apply(r,ve(s||[])),o++,o===a&&n(r)}e.forEach(function(s){t(s,i)})}function x0(e,t,n){var r=0,o=e.length;function a(i){if(i&&i.length){n(i);return}var s=r;r=r+1,s<o?t(e[s],a):n([])}a([])}function B3(e){var t=[];return Object.keys(e).forEach(function(n){t.push.apply(t,ve(e[n]||[]))}),t}var w0=(function(e){Hr(n,e);var t=Wr(n);function n(r,o){var a;return Yt(this,n),a=t.call(this,"Async Validation Error"),F(lt(a),"errors",void 0),F(lt(a),"fields",void 0),a.errors=r,a.fields=o,a}return Jt(n)})(Xd(Error));function V3(e,t,n,r,o){if(t.first){var a=new Promise(function(m,p){var h=function(b){return r(b),b.length?p(new w0(b,Yd(b))):m(o)},v=B3(e);x0(v,n,h)});return a.catch(function(m){return m}),a}var i=t.firstFields===!0?Object.keys(e):t.firstFields||[],s=Object.keys(e),l=s.length,c=0,d=[],f=new Promise(function(m,p){var h=function(g){if(d.push.apply(d,g),c++,c===l)return r(d),d.length?p(new w0(d,Yd(d))):m(o)};s.length||(r(d),m(o)),s.forEach(function(v){var g=e[v];i.indexOf(v)!==-1?x0(g,n,h):R3(g,n,h)})});return f.catch(function(m){return m}),f}function H3(e){return!!(e&&e.message!==void 0)}function W3(e,t){for(var n=e,r=0;r<t.length;r++){if(n==null)return n;n=n[t[r]]}return n}function S0(e,t){return function(n){var r;return e.fullFields?r=W3(t,e.fullFields):r=t[n.field||e.fullField],H3(n)?(n.field=n.field||e.fullField,n.fieldValue=r,n):{message:typeof n=="function"?n():n,fieldValue:r,field:n.field||e.fullField}}}function E0(e,t){if(t){for(var n in t)if(t.hasOwnProperty(n)){var r=t[n];Ae(r)==="object"&&Ae(e[n])==="object"?e[n]=R(R({},e[n]),r):e[n]=r}}return e}var Ma="enum",q3=function(t,n,r,o,a){t[Ma]=Array.isArray(t[Ma])?t[Ma]:[],t[Ma].indexOf(n)===-1&&o.push(Xn(a.messages[Ma],t.fullField,t[Ma].join(", ")))},U3=function(t,n,r,o,a){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(n)||o.push(Xn(a.messages.pattern.mismatch,t.fullField,n,t.pattern));else if(typeof t.pattern=="string"){var i=new RegExp(t.pattern);i.test(n)||o.push(Xn(a.messages.pattern.mismatch,t.fullField,n,t.pattern))}}},G3=function(t,n,r,o,a){var i=typeof t.len=="number",s=typeof t.min=="number",l=typeof t.max=="number",c=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,d=n,f=null,m=typeof n=="number",p=typeof n=="string",h=Array.isArray(n);if(m?f="number":p?f="string":h&&(f="array"),!f)return!1;h&&(d=n.length),p&&(d=n.replace(c,"_").length),i?d!==t.len&&o.push(Xn(a.messages[f].len,t.fullField,t.len)):s&&!l&&d<t.min?o.push(Xn(a.messages[f].min,t.fullField,t.min)):l&&!s&&d>t.max?o.push(Xn(a.messages[f].max,t.fullField,t.max)):s&&l&&(d<t.min||d>t.max)&&o.push(Xn(a.messages[f].range,t.fullField,t.min,t.max))},$0=function(t,n,r,o,a,i){t.required&&(!r.hasOwnProperty(t.field)||un(n,i||t.type))&&o.push(Xn(a.messages.required,t.fullField))},_l;const K3=(function(){if(_l)return _l;var e="[a-fA-F\\d:]",t=function($){return $&&$.includeBoundaries?"(?:(?<=\\s|^)(?=".concat(e,")|(?<=").concat(e,")(?=\\s|$))"):""},n="(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}",r="[a-fA-F\\d]{1,4}",o=["(?:".concat(r,":){7}(?:").concat(r,"|:)"),"(?:".concat(r,":){6}(?:").concat(n,"|:").concat(r,"|:)"),"(?:".concat(r,":){5}(?::").concat(n,"|(?::").concat(r,"){1,2}|:)"),"(?:".concat(r,":){4}(?:(?::").concat(r,"){0,1}:").concat(n,"|(?::").concat(r,"){1,3}|:)"),"(?:".concat(r,":){3}(?:(?::").concat(r,"){0,2}:").concat(n,"|(?::").concat(r,"){1,4}|:)"),"(?:".concat(r,":){2}(?:(?::").concat(r,"){0,3}:").concat(n,"|(?::").concat(r,"){1,5}|:)"),"(?:".concat(r,":){1}(?:(?::").concat(r,"){0,4}:").concat(n,"|(?::").concat(r,"){1,6}|:)"),"(?::(?:(?::".concat(r,"){0,5}:").concat(n,"|(?::").concat(r,"){1,7}|:))")],a="(?:%[0-9a-zA-Z]{1,})?",i="(?:".concat(o.join("|"),")").concat(a),s=new RegExp("(?:^".concat(n,"$)|(?:^").concat(i,"$)")),l=new RegExp("^".concat(n,"$")),c=new RegExp("^".concat(i,"$")),d=function($){return $&&$.exact?s:new RegExp("(?:".concat(t($)).concat(n).concat(t($),")|(?:").concat(t($)).concat(i).concat(t($),")"),"g")};d.v4=function(S){return S&&S.exact?l:new RegExp("".concat(t(S)).concat(n).concat(t(S)),"g")},d.v6=function(S){return S&&S.exact?c:new RegExp("".concat(t(S)).concat(i).concat(t(S)),"g")};var f="(?:(?:[a-z]+:)?//)",m="(?:\\S+(?::\\S*)?@)?",p=d.v4().source,h=d.v6().source,v="(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)",g="(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*",b="(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",y="(?::\\d{2,5})?",x='(?:[/?#][^\\s"]*)?',C="(?:".concat(f,"|www\\.)").concat(m,"(?:localhost|").concat(p,"|").concat(h,"|").concat(v).concat(g).concat(b,")").concat(y).concat(x);return _l=new RegExp("(?:^".concat(C,"$)"),"i"),_l});var Jd={email:/^(([^<>()\[\]\\.,;:\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,}))$/,tel:/^(\+[0-9]{1,3}[-\s\u2011]?)?(\([0-9]{1,4}\)[-\s\u2011]?)?([0-9]+[-\s\u2011]?)*[0-9]+$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},Fi={integer:function(t){return Fi.number(t)&&parseInt(t,10)===t},float:function(t){return Fi.number(t)&&!Fi.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch{return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return Ae(t)==="object"&&!Fi.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&t.length<=320&&!!t.match(Jd.email)},tel:function(t){return typeof t=="string"&&t.length<=32&&!!t.match(Jd.tel)},url:function(t){return typeof t=="string"&&t.length<=2048&&!!t.match(K3())},hex:function(t){return typeof t=="string"&&!!t.match(Jd.hex)}},X3=function(t,n,r,o,a){if(t.required&&n===void 0){$0(t,n,r,o,a);return}var i=["integer","float","array","regexp","object","method","email","tel","number","date","url","hex"],s=t.type;i.indexOf(s)>-1?Fi[s](n)||o.push(Xn(a.messages.types[s],t.fullField,t.type)):s&&Ae(n)!==t.type&&o.push(Xn(a.messages.types[s],t.fullField,t.type))},Y3=function(t,n,r,o,a){(/^\s+$/.test(n)||n==="")&&o.push(Xn(a.messages.whitespace,t.fullField))};const bt={required:$0,whitespace:Y3,type:X3,range:G3,enum:q3,pattern:U3};var J3=function(t,n,r,o,a){var i=[],s=t.required||!t.required&&o.hasOwnProperty(t.field);if(s){if(un(n)&&!t.required)return r();bt.required(t,n,o,i,a)}r(i)},Z3=function(t,n,r,o,a){var i=[],s=t.required||!t.required&&o.hasOwnProperty(t.field);if(s){if(n==null&&!t.required)return r();bt.required(t,n,o,i,a,"array"),n!=null&&(bt.type(t,n,o,i,a),bt.range(t,n,o,i,a))}r(i)},Q3=function(t,n,r,o,a){var i=[],s=t.required||!t.required&&o.hasOwnProperty(t.field);if(s){if(un(n)&&!t.required)return r();bt.required(t,n,o,i,a),n!==void 0&&bt.type(t,n,o,i,a)}r(i)},eI=function(t,n,r,o,a){var i=[],s=t.required||!t.required&&o.hasOwnProperty(t.field);if(s){if(un(n,"date")&&!t.required)return r();if(bt.required(t,n,o,i,a),!un(n,"date")){var l;n instanceof Date?l=n:l=new Date(n),bt.type(t,l,o,i,a),l&&bt.range(t,l.getTime(),o,i,a)}}r(i)},tI="enum",nI=function(t,n,r,o,a){var i=[],s=t.required||!t.required&&o.hasOwnProperty(t.field);if(s){if(un(n)&&!t.required)return r();bt.required(t,n,o,i,a),n!==void 0&&bt[tI](t,n,o,i,a)}r(i)},rI=function(t,n,r,o,a){var i=[],s=t.required||!t.required&&o.hasOwnProperty(t.field);if(s){if(un(n)&&!t.required)return r();bt.required(t,n,o,i,a),n!==void 0&&(bt.type(t,n,o,i,a),bt.range(t,n,o,i,a))}r(i)},oI=function(t,n,r,o,a){var i=[],s=t.required||!t.required&&o.hasOwnProperty(t.field);if(s){if(un(n)&&!t.required)return r();bt.required(t,n,o,i,a),n!==void 0&&(bt.type(t,n,o,i,a),bt.range(t,n,o,i,a))}r(i)},aI=function(t,n,r,o,a){var i=[],s=t.required||!t.required&&o.hasOwnProperty(t.field);if(s){if(un(n)&&!t.required)return r();bt.required(t,n,o,i,a),n!==void 0&&bt.type(t,n,o,i,a)}r(i)},iI=function(t,n,r,o,a){var i=[],s=t.required||!t.required&&o.hasOwnProperty(t.field);if(s){if(n===""&&(n=void 0),un(n)&&!t.required)return r();bt.required(t,n,o,i,a),n!==void 0&&(bt.type(t,n,o,i,a),bt.range(t,n,o,i,a))}r(i)},sI=function(t,n,r,o,a){var i=[],s=t.required||!t.required&&o.hasOwnProperty(t.field);if(s){if(un(n)&&!t.required)return r();bt.required(t,n,o,i,a),n!==void 0&&bt.type(t,n,o,i,a)}r(i)},lI=function(t,n,r,o,a){var i=[],s=t.required||!t.required&&o.hasOwnProperty(t.field);if(s){if(un(n,"string")&&!t.required)return r();bt.required(t,n,o,i,a),un(n,"string")||bt.pattern(t,n,o,i,a)}r(i)},cI=function(t,n,r,o,a){var i=[],s=t.required||!t.required&&o.hasOwnProperty(t.field);if(s){if(un(n)&&!t.required)return r();bt.required(t,n,o,i,a),un(n)||bt.type(t,n,o,i,a)}r(i)},uI=function(t,n,r,o,a){var i=[],s=Array.isArray(n)?"array":Ae(n);bt.required(t,n,o,i,a,s),r(i)},dI=function(t,n,r,o,a){var i=[],s=t.required||!t.required&&o.hasOwnProperty(t.field);if(s){if(un(n,"string")&&!t.required)return r();bt.required(t,n,o,i,a,"string"),un(n,"string")||(bt.type(t,n,o,i,a),bt.range(t,n,o,i,a),bt.pattern(t,n,o,i,a),t.whitespace===!0&&bt.whitespace(t,n,o,i,a))}r(i)},Tl=function(t,n,r,o,a){var i=t.type,s=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(un(n,i)&&!t.required)return r();bt.required(t,n,o,s,a,i),un(n,i)||bt.type(t,n,o,s,a)}r(s)};const Ri={string:dI,method:aI,number:iI,boolean:Q3,regexp:cI,integer:oI,float:rI,array:Z3,object:sI,enum:nI,pattern:lI,date:eI,url:Tl,hex:Tl,email:Tl,tel:Tl,required:uI,any:J3};var Bi=(function(){function e(t){Yt(this,e),F(this,"rules",null),F(this,"_messages",Kd),this.define(t)}return Jt(e,[{key:"define",value:function(n){var r=this;if(!n)throw new Error("Cannot configure a schema with no rules");if(Ae(n)!=="object"||Array.isArray(n))throw new Error("Rules must be an object");this.rules={},Object.keys(n).forEach(function(o){var a=n[o];r.rules[o]=Array.isArray(a)?a:[a]})}},{key:"messages",value:function(n){return n&&(this._messages=E0(Gd(),n)),this._messages}},{key:"validate",value:function(n){var r=this,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(){},i=n,s=o,l=a;if(typeof s=="function"&&(l=s,s={}),!this.rules||Object.keys(this.rules).length===0)return l&&l(null,i),Promise.resolve(i);function c(h){var v=[],g={};function b(x){if(Array.isArray(x)){var C;v=(C=v).concat.apply(C,ve(x))}else v.push(x)}for(var y=0;y<h.length;y++)b(h[y]);v.length?(g=Yd(v),l(v,g)):l(null,i)}if(s.messages){var d=this.messages();d===Kd&&(d=Gd()),E0(d,s.messages),s.messages=d}else s.messages=this.messages();var f={},m=s.keys||Object.keys(this.rules);m.forEach(function(h){var v=r.rules[h],g=i[h];v.forEach(function(b){var y=b;typeof y.transform=="function"&&(i===n&&(i=R({},i)),g=i[h]=y.transform(g),g!=null&&(y.type=y.type||(Array.isArray(g)?"array":Ae(g)))),typeof y=="function"?y={validator:y}:y=R({},y),y.validator=r.getValidationMethod(y),y.validator&&(y.field=h,y.fullField=y.fullField||h,y.type=r.getType(y),f[h]=f[h]||[],f[h].push({rule:y,value:g,source:i,field:h}))})});var p={};return V3(f,s,function(h,v){var g=h.rule,b=(g.type==="object"||g.type==="array")&&(Ae(g.fields)==="object"||Ae(g.defaultField)==="object");b=b&&(g.required||!g.required&&h.value),g.field=h.field;function y(k,E){return R(R({},E),{},{fullField:"".concat(g.fullField,".").concat(k),fullFields:g.fullFields?[].concat(ve(g.fullFields),[k]):[k]})}function x(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],E=Array.isArray(k)?k:[k];!s.suppressWarning&&E.length&&e.warning("async-validator:",E),E.length&&g.message!==void 0&&g.message!==null&&(E=[].concat(g.message));var I=E.map(S0(g,i));if(s.first&&I.length)return p[g.field]=1,v(I);if(!b)v(I);else{if(g.required&&!h.value)return g.message!==void 0?I=[].concat(g.message).map(S0(g,i)):s.error&&(I=[s.error(g,Xn(s.messages.required,g.field))]),v(I);var N={};g.defaultField&&Object.keys(h.value).map(function(j){N[j]=g.defaultField}),N=R(R({},N),h.rule.fields);var P={};Object.keys(N).forEach(function(j){var _=N[j],M=Array.isArray(_)?_:[_];P[j]=M.map(y.bind(null,j))});var T=new e(P);T.messages(s.messages),h.rule.options&&(h.rule.options.messages=s.messages,h.rule.options.error=s.error),T.validate(h.value,h.rule.options||s,function(j){var _=[];I&&I.length&&_.push.apply(_,ve(I)),j&&j.length&&_.push.apply(_,ve(j)),v(_.length?_:null)})}}var C;if(g.asyncValidator)C=g.asyncValidator(g,h.value,x,h.source,s);else if(g.validator){try{C=g.validator(g,h.value,x,h.source,s)}catch(k){var S,$;(S=($=console).error)===null||S===void 0||S.call($,k),s.suppressValidatorError||setTimeout(function(){throw k},0),x(k.message)}C===!0?x():C===!1?x(typeof g.message=="function"?g.message(g.fullField||g.field):g.message||"".concat(g.fullField||g.field," fails")):C instanceof Array?x(C):C instanceof Error&&x(C.message)}C&&C.then&&C.then(function(){return x()},function(k){return x(k)})},function(h){c(h)},i)}},{key:"getType",value:function(n){if(n.type===void 0&&n.pattern instanceof RegExp&&(n.type="pattern"),typeof n.validator!="function"&&n.type&&!Ri.hasOwnProperty(n.type))throw new Error(Xn("Unknown rule type %s",n.type));return n.type||"string"}},{key:"getValidationMethod",value:function(n){if(typeof n.validator=="function")return n.validator;var r=Object.keys(n),o=r.indexOf("message");return o!==-1&&r.splice(o,1),r.length===1&&r[0]==="required"?Ri.required:Ri[this.getType(n)]||void 0}}]),e})();F(Bi,"register",function(t,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");Ri[t]=n}),F(Bi,"warning",C0),F(Bi,"messages",Kd),F(Bi,"validators",Ri);var Yn="'${name}' is not a valid ${type}",k0={default:"Validation error on field '${name}'",required:"'${name}' is required",enum:"'${name}' must be one of [${enum}]",whitespace:"'${name}' cannot be empty",date:{format:"'${name}' is invalid for format date",parse:"'${name}' could not be parsed as date",invalid:"'${name}' is invalid date"},types:{string:Yn,method:Yn,array:Yn,object:Yn,number:Yn,date:Yn,boolean:Yn,integer:Yn,float:Yn,regexp:Yn,email:Yn,url:Yn,hex:Yn},string:{len:"'${name}' must be exactly ${len} characters",min:"'${name}' must be at least ${min} characters",max:"'${name}' cannot be longer than ${max} characters",range:"'${name}' must be between ${min} and ${max} characters"},number:{len:"'${name}' must equal ${len}",min:"'${name}' cannot be less than ${min}",max:"'${name}' cannot be greater than ${max}",range:"'${name}' must be between ${min} and ${max}"},array:{len:"'${name}' must be exactly ${len} in length",min:"'${name}' cannot be less than ${min} in length",max:"'${name}' cannot be greater than ${max} in length",range:"'${name}' must be between ${min} and ${max} in length"},pattern:{mismatch:"'${name}' does not match pattern ${pattern}"}},O0=Bi;function fI(e,t){return e.replace(/\\?\$\{\w+\}/g,function(n){if(n.startsWith("\\"))return n.slice(1);var r=n.slice(2,-1);return t[r]})}var I0="CODE_LOGIC_ERROR";function Zd(e,t,n,r,o){return Qd.apply(this,arguments)}function Qd(){return Qd=Ho(Nn().mark(function e(t,n,r,o,a){var i,s,l,c,d,f,m,p,h;return Nn().wrap(function(g){for(;;)switch(g.prev=g.next){case 0:return i=R({},r),delete i.ruleIndex,O0.warning=function(){},i.validator&&(s=i.validator,i.validator=function(){try{return s.apply(void 0,arguments)}catch(b){return console.error(b),Promise.reject(I0)}}),l=null,i&&i.type==="array"&&i.defaultField&&(l=i.defaultField,delete i.defaultField),c=new O0(F({},t,[i])),d=wa(k0,o.validateMessages),c.messages(d),f=[],g.prev=10,g.next=13,Promise.resolve(c.validate(F({},t,n),R({},o)));case 13:g.next=18;break;case 15:g.prev=15,g.t0=g.catch(10),g.t0.errors&&(f=g.t0.errors.map(function(b,y){var x=b.message,C=x===I0?d.default:x;return u.isValidElement(C)?u.cloneElement(C,{key:"error_".concat(y)}):C}));case 18:if(!(!f.length&&l&&Array.isArray(n)&&n.length>0)){g.next=23;break}return g.next=21,Promise.all(n.map(function(b,y){return Zd("".concat(t,".").concat(y),b,l,o,a)}));case 21:return m=g.sent,g.abrupt("return",m.reduce(function(b,y){return[].concat(ve(b),ve(y))},[]));case 23:return p=R(R({},r),{},{name:t,enum:(r.enum||[]).join(", ")},a),h=f.map(function(b){return typeof b=="string"?fI(b,p):b}),g.abrupt("return",h);case 26:case"end":return g.stop()}},e,null,[[10,15]])})),Qd.apply(this,arguments)}function mI(e,t,n,r,o,a){var i=e.join("."),s=n.map(function(d,f){var m=d.validator,p=R(R({},d),{},{ruleIndex:f});return m&&(p.validator=function(h,v,g){var b=!1,y=function(){for(var S=arguments.length,$=new Array(S),k=0;k<S;k++)$[k]=arguments[k];Promise.resolve().then(function(){Ze(!b,"Your validator function has already return a promise. `callback` will be ignored."),b||g.apply(void 0,$)})},x=m(h,v,y);b=x&&typeof x.then=="function"&&typeof x.catch=="function",Ze(b,"`callback` is deprecated. Please return a promise instead."),b&&x.then(function(){g()}).catch(function(C){g(C||" ")})}),p}).sort(function(d,f){var m=d.warningOnly,p=d.ruleIndex,h=f.warningOnly,v=f.ruleIndex;return!!m==!!h?p-v:m?1:-1}),l;if(o===!0)l=new Promise((function(){var d=Ho(Nn().mark(function f(m,p){var h,v,g;return Nn().wrap(function(y){for(;;)switch(y.prev=y.next){case 0:h=0;case 1:if(!(h<s.length)){y.next=12;break}return v=s[h],y.next=5,Zd(i,t,v,r,a);case 5:if(g=y.sent,!g.length){y.next=9;break}return p([{errors:g,rule:v}]),y.abrupt("return");case 9:h+=1,y.next=1;break;case 12:m([]);case 13:case"end":return y.stop()}},f)}));return function(f,m){return d.apply(this,arguments)}})());else{var c=s.map(function(d){return Zd(i,t,d,r,a).then(function(f){return{errors:f,rule:d}})});l=(o?gI(c):pI(c)).then(function(d){return Promise.reject(d)})}return l.catch(function(d){return d}),l}function pI(e){return ef.apply(this,arguments)}function ef(){return ef=Ho(Nn().mark(function e(t){return Nn().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",Promise.all(t).then(function(o){var a,i=(a=[]).concat.apply(a,ve(o));return i}));case 1:case"end":return r.stop()}},e)})),ef.apply(this,arguments)}function gI(e){return tf.apply(this,arguments)}function tf(){return tf=Ho(Nn().mark(function e(t){var n;return Nn().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return n=0,o.abrupt("return",new Promise(function(a){t.forEach(function(i){i.then(function(s){s.errors.length&&a([s]),n+=1,n===t.length&&a([])})})}));case 2:case"end":return o.stop()}},e)})),tf.apply(this,arguments)}function en(e){return Ud(e)}function N0(e,t){var n={};return t.forEach(function(r){var o=rr(e,r);n=or(n,r,o)}),n}function za(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return e&&e.some(function(r){return P0(t,r,n)})}function P0(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return!e||!t||!n&&e.length!==t.length?!1:t.every(function(r,o){return e[o]===r})}function hI(e,t){if(e===t)return!0;if(!e&&t||e&&!t||!e||!t||Ae(e)!=="object"||Ae(t)!=="object")return!1;var n=Object.keys(e),r=Object.keys(t),o=new Set([].concat(n,r));return ve(o).every(function(a){var i=e[a],s=t[a];return typeof i=="function"&&typeof s=="function"?!0:i===s})}function vI(e){var t=arguments.length<=1?void 0:arguments[1];return t&&t.target&&Ae(t.target)==="object"&&e in t.target?t.target[e]:t}function _0(e,t,n){var r=e.length;if(t<0||t>=r||n<0||n>=r)return e;var o=e[t],a=t-n;return a>0?[].concat(ve(e.slice(0,n)),[o],ve(e.slice(n,t)),ve(e.slice(t+1,r))):a<0?[].concat(ve(e.slice(0,t)),ve(e.slice(t+1,n+1)),[o],ve(e.slice(n+1,r))):e}var bI=["name"],lr=[];function nf(e,t,n,r,o,a){return typeof e=="function"?e(t,n,"source"in a?{source:a.source}:{}):r!==o}var rf=(function(e){Hr(n,e);var t=Wr(n);function n(r){var o;if(Yt(this,n),o=t.call(this,r),F(lt(o),"state",{resetCount:0}),F(lt(o),"cancelRegisterFunc",null),F(lt(o),"mounted",!1),F(lt(o),"touched",!1),F(lt(o),"dirty",!1),F(lt(o),"validatePromise",void 0),F(lt(o),"prevValidating",void 0),F(lt(o),"errors",lr),F(lt(o),"warnings",lr),F(lt(o),"cancelRegister",function(){var l=o.props,c=l.preserve,d=l.isListField,f=l.name;o.cancelRegisterFunc&&o.cancelRegisterFunc(d,c,en(f)),o.cancelRegisterFunc=null}),F(lt(o),"getNamePath",function(){var l=o.props,c=l.name,d=l.fieldContext,f=d.prefixName,m=f===void 0?[]:f;return c!==void 0?[].concat(ve(m),ve(c)):[]}),F(lt(o),"getRules",function(){var l=o.props,c=l.rules,d=c===void 0?[]:c,f=l.fieldContext;return d.map(function(m){return typeof m=="function"?m(f):m})}),F(lt(o),"refresh",function(){o.mounted&&o.setState(function(l){var c=l.resetCount;return{resetCount:c+1}})}),F(lt(o),"metaCache",null),F(lt(o),"triggerMetaEvent",function(l){var c=o.props.onMetaChange;if(c){var d=R(R({},o.getMeta()),{},{destroy:l});vi(o.metaCache,d)||c(d),o.metaCache=d}else o.metaCache=null}),F(lt(o),"onStoreChange",function(l,c,d){var f=o.props,m=f.shouldUpdate,p=f.dependencies,h=p===void 0?[]:p,v=f.onReset,g=d.store,b=o.getNamePath(),y=o.getValue(l),x=o.getValue(g),C=c&&za(c,b);switch(d.type==="valueUpdate"&&d.source==="external"&&!vi(y,x)&&(o.touched=!0,o.dirty=!0,o.validatePromise=null,o.errors=lr,o.warnings=lr,o.triggerMetaEvent()),d.type){case"reset":if(!c||C){o.touched=!1,o.dirty=!1,o.validatePromise=void 0,o.errors=lr,o.warnings=lr,o.triggerMetaEvent(),v==null||v(),o.refresh();return}break;case"remove":{if(m&&nf(m,l,g,y,x,d)){o.reRender();return}break}case"setField":{var S=d.data;if(C){"touched"in S&&(o.touched=S.touched),"validating"in S&&!("originRCField"in S)&&(o.validatePromise=S.validating?Promise.resolve([]):null),"errors"in S&&(o.errors=S.errors||lr),"warnings"in S&&(o.warnings=S.warnings||lr),o.dirty=!0,o.triggerMetaEvent(),o.reRender();return}else if("value"in S&&za(c,b,!0)){o.reRender();return}if(m&&!b.length&&nf(m,l,g,y,x,d)){o.reRender();return}break}case"dependenciesUpdate":{var $=h.map(en);if($.some(function(k){return za(d.relatedFields,k)})){o.reRender();return}break}default:if(C||(!h.length||b.length||m)&&nf(m,l,g,y,x,d)){o.reRender();return}break}m===!0&&o.reRender()}),F(lt(o),"validateRules",function(l){var c=o.getNamePath(),d=o.getValue(),f=l||{},m=f.triggerName,p=f.validateOnly,h=p===void 0?!1:p,v=Promise.resolve().then(Ho(Nn().mark(function g(){var b,y,x,C,S,$,k;return Nn().wrap(function(I){for(;;)switch(I.prev=I.next){case 0:if(o.mounted){I.next=2;break}return I.abrupt("return",[]);case 2:if(b=o.props,y=b.validateFirst,x=y===void 0?!1:y,C=b.messageVariables,S=b.validateDebounce,$=o.getRules(),m&&($=$.filter(function(N){return N}).filter(function(N){var P=N.validateTrigger;if(!P)return!0;var T=Ud(P);return T.includes(m)})),!(S&&m)){I.next=10;break}return I.next=8,new Promise(function(N){setTimeout(N,S)});case 8:if(o.validatePromise===v){I.next=10;break}return I.abrupt("return",[]);case 10:return k=mI(c,d,$,l,x,C),k.catch(function(N){return N}).then(function(){var N=arguments.length>0&&arguments[0]!==void 0?arguments[0]:lr;if(o.validatePromise===v){var P;o.validatePromise=null;var T=[],j=[];(P=N.forEach)===null||P===void 0||P.call(N,function(_){var M=_.rule.warningOnly,z=_.errors,A=z===void 0?lr:z;M?j.push.apply(j,ve(A)):T.push.apply(T,ve(A))}),o.errors=T,o.warnings=j,o.triggerMetaEvent(),o.reRender()}}),I.abrupt("return",k);case 13:case"end":return I.stop()}},g)})));return h||(o.validatePromise=v,o.dirty=!0,o.errors=lr,o.warnings=lr,o.triggerMetaEvent(),o.reRender()),v}),F(lt(o),"isFieldValidating",function(){return!!o.validatePromise}),F(lt(o),"isFieldTouched",function(){return o.touched}),F(lt(o),"isFieldDirty",function(){if(o.dirty||o.props.initialValue!==void 0)return!0;var l=o.props.fieldContext,c=l.getInternalHooks(Wo),d=c.getInitialValue;return d(o.getNamePath())!==void 0}),F(lt(o),"getErrors",function(){return o.errors}),F(lt(o),"getWarnings",function(){return o.warnings}),F(lt(o),"isListField",function(){return o.props.isListField}),F(lt(o),"isList",function(){return o.props.isList}),F(lt(o),"isPreserve",function(){return o.props.preserve}),F(lt(o),"getMeta",function(){o.prevValidating=o.isFieldValidating();var l={touched:o.isFieldTouched(),validating:o.prevValidating,errors:o.errors,warnings:o.warnings,name:o.getNamePath(),validated:o.validatePromise===null};return l}),F(lt(o),"getOnlyChild",function(l){if(typeof l=="function"){var c=o.getMeta();return R(R({},o.getOnlyChild(l(o.getControlled(),c,o.props.fieldContext))),{},{isFunction:!0})}var d=Hn(l);return d.length!==1||!u.isValidElement(d[0])?{child:d,isFunction:!1}:{child:d[0],isFunction:!1}}),F(lt(o),"getValue",function(l){var c=o.props.fieldContext.getFieldsValue,d=o.getNamePath();return rr(l||c(!0),d)}),F(lt(o),"getControlled",function(){var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},c=o.props,d=c.name,f=c.trigger,m=c.validateTrigger,p=c.getValueFromEvent,h=c.normalize,v=c.valuePropName,g=c.getValueProps,b=c.fieldContext,y=m!==void 0?m:b.validateTrigger,x=o.getNamePath(),C=b.getInternalHooks,S=b.getFieldsValue,$=C(Wo),k=$.dispatch,E=o.getValue(),I=g||function(_){return F({},v,_)},N=l[f],P=d!==void 0?I(E):{};process.env.NODE_ENV!=="production"&&P&&Object.keys(P).forEach(function(_){Ze(typeof P[_]!="function","It's not recommended to generate dynamic function prop by `getValueProps`. Please pass it to child component directly (prop: ".concat(_,")"))});var T=R(R({},l),P);T[f]=function(){o.touched=!0,o.dirty=!0,o.triggerMetaEvent();for(var _,M=arguments.length,z=new Array(M),A=0;A<M;A++)z[A]=arguments[A];p?_=p.apply(void 0,z):_=vI.apply(void 0,[v].concat(z)),h&&(_=h(_,E,S(!0))),_!==E&&k({type:"updateValue",namePath:x,value:_}),N&&N.apply(void 0,z)};var j=Ud(y||[]);return j.forEach(function(_){var M=T[_];T[_]=function(){M&&M.apply(void 0,arguments);var z=o.props.rules;z&&z.length&&k({type:"validateField",namePath:x,triggerName:_})}}),T}),r.fieldContext){var a=r.fieldContext.getInternalHooks,i=a(Wo),s=i.initEntityValue;s(lt(o))}return o}return Jt(n,[{key:"componentDidMount",value:function(){var o=this.props,a=o.shouldUpdate,i=o.fieldContext;if(this.mounted=!0,i){var s=i.getInternalHooks,l=s(Wo),c=l.registerField;this.cancelRegisterFunc=c(this)}a===!0&&this.reRender()}},{key:"componentWillUnmount",value:function(){this.cancelRegister(),this.triggerMetaEvent(!0),this.mounted=!1}},{key:"reRender",value:function(){this.mounted&&this.forceUpdate()}},{key:"render",value:function(){var o=this.state.resetCount,a=this.props.children,i=this.getOnlyChild(a),s=i.child,l=i.isFunction,c;return l?c=s:u.isValidElement(s)?c=u.cloneElement(s,this.getControlled(s.props)):(Ze(!s,"`children` of Field is not validate ReactElement."),c=s),u.createElement(u.Fragment,{key:o},c)}}]),n})(u.Component);F(rf,"contextType",qo),F(rf,"defaultProps",{trigger:"onChange",valuePropName:"value"});function of(e){var t,n=e.name,r=Qe(e,bI),o=u.useContext(qo),a=u.useContext(Li),i=n!==void 0?en(n):void 0,s=(t=r.isListField)!==null&&t!==void 0?t:!!a,l="keep";return s||(l="_".concat((i||[]).join("_"))),process.env.NODE_ENV!=="production"&&r.preserve===!1&&s&&i.length<=1&&Ze(!1,"`preserve` should not apply on Form.List fields."),u.createElement(rf,ge({key:l,name:i,isListField:s},r,{fieldContext:o}))}function T0(e){var t=e.name,n=e.initialValue,r=e.children,o=e.rules,a=e.validateTrigger,i=e.isListField,s=u.useContext(qo),l=u.useContext(Li),c=u.useRef({keys:[],id:0}),d=c.current,f=u.useMemo(function(){var v=en(s.prefixName)||[];return[].concat(ve(v),ve(en(t)))},[s.prefixName,t]),m=u.useMemo(function(){return R(R({},s),{},{prefixName:f})},[s,f]),p=u.useMemo(function(){return{getKey:function(g){var b=f.length,y=g[b];return[d.keys[y],g.slice(b+1)]}}},[f]);if(typeof r!="function")return Ze(!1,"Form.List only accepts function as children."),null;var h=function(g,b,y){var x=y.source;return x==="internal"?!1:g!==b};return u.createElement(Li.Provider,{value:p},u.createElement(qo.Provider,{value:m},u.createElement(of,{name:[],shouldUpdate:h,rules:o,validateTrigger:a,initialValue:n,isList:!0,isListField:i??!!l},function(v,g){var b=v.value,y=b===void 0?[]:b,x=v.onChange,C=s.getFieldValue,S=function(){var I=C(f||[]);return I||[]},$={add:function(I,N){var P=S();N>=0&&N<=P.length?(d.keys=[].concat(ve(d.keys.slice(0,N)),[d.id],ve(d.keys.slice(N))),x([].concat(ve(P.slice(0,N)),[I],ve(P.slice(N))))):(process.env.NODE_ENV!=="production"&&(N<0||N>P.length)&&Ze(!1,"The second parameter of the add function should be a valid positive number."),d.keys=[].concat(ve(d.keys),[d.id]),x([].concat(ve(P),[I]))),d.id+=1},remove:function(I){var N=S(),P=new Set(Array.isArray(I)?I:[I]);P.size<=0||(d.keys=d.keys.filter(function(T,j){return!P.has(j)}),x(N.filter(function(T,j){return!P.has(j)})))},move:function(I,N){if(I!==N){var P=S();I<0||I>=P.length||N<0||N>=P.length||(d.keys=_0(d.keys,I,N),x(_0(P,I,N)))}}},k=y||[];return Array.isArray(k)||(k=[],process.env.NODE_ENV!=="production"&&Ze(!1,"Current value of '".concat(f.join(" > "),"' is not an array type."))),r(k.map(function(E,I){var N=d.keys[I];return N===void 0&&(d.keys[I]=d.id,N=d.keys[I],d.id+=1),{name:I,key:N,isListField:!0}}),$,g)})))}function yI(e){var t=!1,n=e.length,r=[];return e.length?new Promise(function(o,a){e.forEach(function(i,s){i.catch(function(l){return t=!0,l}).then(function(l){n-=1,r[s]=l,!(n>0)&&(t&&a(r),o(r))})})}):Promise.resolve([])}var j0="__@field_split__";function af(e){return e.map(function(t){return"".concat(Ae(t),":").concat(t)}).join(j0)}var Aa=(function(){function e(){Yt(this,e),F(this,"kvs",new Map)}return Jt(e,[{key:"set",value:function(n,r){this.kvs.set(af(n),r)}},{key:"get",value:function(n){return this.kvs.get(af(n))}},{key:"update",value:function(n,r){var o=this.get(n),a=r(o);a?this.set(n,a):this.delete(n)}},{key:"delete",value:function(n){this.kvs.delete(af(n))}},{key:"map",value:function(n){return ve(this.kvs.entries()).map(function(r){var o=Q(r,2),a=o[0],i=o[1],s=a.split(j0);return n({key:s.map(function(l){var c=l.match(/^([^:]*):(.*)$/),d=Q(c,3),f=d[1],m=d[2];return f==="number"?Number(m):m}),value:i})})}},{key:"toJSON",value:function(){var n={};return this.map(function(r){var o=r.key,a=r.value;return n[o.join(".")]=a,null}),n}}]),e})(),CI=["name"],xI=Jt(function e(t){var n=this;Yt(this,e),F(this,"formHooked",!1),F(this,"forceRootUpdate",void 0),F(this,"subscribable",!0),F(this,"store",{}),F(this,"fieldEntities",[]),F(this,"initialValues",{}),F(this,"callbacks",{}),F(this,"validateMessages",null),F(this,"preserve",null),F(this,"lastValidatePromise",null),F(this,"getForm",function(){return{getFieldValue:n.getFieldValue,getFieldsValue:n.getFieldsValue,getFieldError:n.getFieldError,getFieldWarning:n.getFieldWarning,getFieldsError:n.getFieldsError,isFieldsTouched:n.isFieldsTouched,isFieldTouched:n.isFieldTouched,isFieldValidating:n.isFieldValidating,isFieldsValidating:n.isFieldsValidating,resetFields:n.resetFields,setFields:n.setFields,setFieldValue:n.setFieldValue,setFieldsValue:n.setFieldsValue,validateFields:n.validateFields,submit:n.submit,_init:!0,getInternalHooks:n.getInternalHooks}}),F(this,"getInternalHooks",function(r){return r===Wo?(n.formHooked=!0,{dispatch:n.dispatch,initEntityValue:n.initEntityValue,registerField:n.registerField,useSubscribe:n.useSubscribe,setInitialValues:n.setInitialValues,destroyForm:n.destroyForm,setCallbacks:n.setCallbacks,setValidateMessages:n.setValidateMessages,getFields:n.getFields,setPreserve:n.setPreserve,getInitialValue:n.getInitialValue,registerWatch:n.registerWatch}):(Ze(!1,"`getInternalHooks` is internal usage. Should not call directly."),null)}),F(this,"useSubscribe",function(r){n.subscribable=r}),F(this,"prevWithoutPreserves",null),F(this,"setInitialValues",function(r,o){if(n.initialValues=r||{},o){var a,i=wa(r,n.store);(a=n.prevWithoutPreserves)===null||a===void 0||a.map(function(s){var l=s.key;i=or(i,l,rr(r,l))}),n.prevWithoutPreserves=null,n.updateStore(i)}}),F(this,"destroyForm",function(r){if(r)n.updateStore({});else{var o=new Aa;n.getFieldEntities(!0).forEach(function(a){n.isMergedPreserve(a.isPreserve())||o.set(a.getNamePath(),!0)}),n.prevWithoutPreserves=o}}),F(this,"getInitialValue",function(r){var o=rr(n.initialValues,r);return r.length?wa(o):o}),F(this,"setCallbacks",function(r){n.callbacks=r}),F(this,"setValidateMessages",function(r){n.validateMessages=r}),F(this,"setPreserve",function(r){n.preserve=r}),F(this,"watchList",[]),F(this,"registerWatch",function(r){return n.watchList.push(r),function(){n.watchList=n.watchList.filter(function(o){return o!==r})}}),F(this,"notifyWatch",function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];if(n.watchList.length){var o=n.getFieldsValue(),a=n.getFieldsValue(!0);n.watchList.forEach(function(i){i(o,a,r)})}}),F(this,"timeoutId",null),F(this,"warningUnhooked",function(){process.env.NODE_ENV!=="production"&&!n.timeoutId&&typeof window<"u"&&(n.timeoutId=setTimeout(function(){n.timeoutId=null,n.formHooked||Ze(!1,"Instance created by `useForm` is not connected to any Form element. Forget to pass `form` prop?")}))}),F(this,"updateStore",function(r){n.store=r}),F(this,"getFieldEntities",function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return r?n.fieldEntities.filter(function(o){return o.getNamePath().length}):n.fieldEntities}),F(this,"getFieldsMap",function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,o=new Aa;return n.getFieldEntities(r).forEach(function(a){var i=a.getNamePath();o.set(i,a)}),o}),F(this,"getFieldEntitiesForNamePathList",function(r){if(!r)return n.getFieldEntities(!0);var o=n.getFieldsMap(!0);return r.map(function(a){var i=en(a);return o.get(i)||{INVALIDATE_NAME_PATH:en(a)}})}),F(this,"getFieldsValue",function(r,o){n.warningUnhooked();var a,i,s;if(r===!0||Array.isArray(r)?(a=r,i=o):r&&Ae(r)==="object"&&(s=r.strict,i=r.filter),a===!0&&!i)return n.store;var l=n.getFieldEntitiesForNamePathList(Array.isArray(a)?a:null),c=[];return l.forEach(function(d){var f,m,p="INVALIDATE_NAME_PATH"in d?d.INVALIDATE_NAME_PATH:d.getNamePath();if(s){var h,v;if((h=(v=d).isList)!==null&&h!==void 0&&h.call(v))return}else if(!a&&(f=(m=d).isListField)!==null&&f!==void 0&&f.call(m))return;if(!i)c.push(p);else{var g="getMeta"in d?d.getMeta():null;i(g)&&c.push(p)}}),N0(n.store,c.map(en))}),F(this,"getFieldValue",function(r){n.warningUnhooked();var o=en(r);return rr(n.store,o)}),F(this,"getFieldsError",function(r){n.warningUnhooked();var o=n.getFieldEntitiesForNamePathList(r);return o.map(function(a,i){return a&&!("INVALIDATE_NAME_PATH"in a)?{name:a.getNamePath(),errors:a.getErrors(),warnings:a.getWarnings()}:{name:en(r[i]),errors:[],warnings:[]}})}),F(this,"getFieldError",function(r){n.warningUnhooked();var o=en(r),a=n.getFieldsError([o])[0];return a.errors}),F(this,"getFieldWarning",function(r){n.warningUnhooked();var o=en(r),a=n.getFieldsError([o])[0];return a.warnings}),F(this,"isFieldsTouched",function(){n.warningUnhooked();for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];var i=o[0],s=o[1],l,c=!1;o.length===0?l=null:o.length===1?Array.isArray(i)?(l=i.map(en),c=!1):(l=null,c=i):(l=i.map(en),c=s);var d=n.getFieldEntities(!0),f=function(g){return g.isFieldTouched()};if(!l)return c?d.every(function(v){return f(v)||v.isList()}):d.some(f);var m=new Aa;l.forEach(function(v){m.set(v,[])}),d.forEach(function(v){var g=v.getNamePath();l.forEach(function(b){b.every(function(y,x){return g[x]===y})&&m.update(b,function(y){return[].concat(ve(y),[v])})})});var p=function(g){return g.some(f)},h=m.map(function(v){var g=v.value;return g});return c?h.every(p):h.some(p)}),F(this,"isFieldTouched",function(r){return n.warningUnhooked(),n.isFieldsTouched([r])}),F(this,"isFieldsValidating",function(r){n.warningUnhooked();var o=n.getFieldEntities();if(!r)return o.some(function(i){return i.isFieldValidating()});var a=r.map(en);return o.some(function(i){var s=i.getNamePath();return za(a,s)&&i.isFieldValidating()})}),F(this,"isFieldValidating",function(r){return n.warningUnhooked(),n.isFieldsValidating([r])}),F(this,"resetWithFieldInitialValue",function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=new Aa,a=n.getFieldEntities(!0);a.forEach(function(l){var c=l.props.initialValue,d=l.getNamePath();if(c!==void 0){var f=o.get(d)||new Set;f.add({entity:l,value:c}),o.set(d,f)}});var i=function(c){c.forEach(function(d){var f=d.props.initialValue;if(f!==void 0){var m=d.getNamePath(),p=n.getInitialValue(m);if(p!==void 0)Ze(!1,"Form already set 'initialValues' with path '".concat(m.join("."),"'. Field can not overwrite it."));else{var h=o.get(m);if(h&&h.size>1)Ze(!1,"Multiple Field with path '".concat(m.join("."),"' set 'initialValue'. Can not decide which one to pick."));else if(h){var v=n.getFieldValue(m),g=d.isListField();!g&&(!r.skipExist||v===void 0)&&n.updateStore(or(n.store,m,ve(h)[0].value))}}}})},s;r.entities?s=r.entities:r.namePathList?(s=[],r.namePathList.forEach(function(l){var c=o.get(l);if(c){var d;(d=s).push.apply(d,ve(ve(c).map(function(f){return f.entity})))}})):s=a,i(s)}),F(this,"resetFields",function(r){n.warningUnhooked();var o=n.store;if(!r){n.updateStore(wa(n.initialValues)),n.resetWithFieldInitialValue(),n.notifyObservers(o,null,{type:"reset"}),n.notifyWatch();return}var a=r.map(en);a.forEach(function(i){var s=n.getInitialValue(i);n.updateStore(or(n.store,i,s))}),n.resetWithFieldInitialValue({namePathList:a}),n.notifyObservers(o,a,{type:"reset"}),n.notifyWatch(a)}),F(this,"setFields",function(r){n.warningUnhooked();var o=n.store,a=[];r.forEach(function(i){var s=i.name,l=Qe(i,CI),c=en(s);a.push(c),"value"in l&&n.updateStore(or(n.store,c,l.value)),n.notifyObservers(o,[c],{type:"setField",data:i})}),n.notifyWatch(a)}),F(this,"getFields",function(){var r=n.getFieldEntities(!0),o=r.map(function(a){var i=a.getNamePath(),s=a.getMeta(),l=R(R({},s),{},{name:i,value:n.getFieldValue(i)});return Object.defineProperty(l,"originRCField",{value:!0}),l});return o}),F(this,"initEntityValue",function(r){var o=r.props.initialValue;if(o!==void 0){var a=r.getNamePath(),i=rr(n.store,a);i===void 0&&n.updateStore(or(n.store,a,o))}}),F(this,"isMergedPreserve",function(r){var o=r!==void 0?r:n.preserve;return o??!0}),F(this,"registerField",function(r){n.fieldEntities.push(r);var o=r.getNamePath();if(n.notifyWatch([o]),r.props.initialValue!==void 0){var a=n.store;n.resetWithFieldInitialValue({entities:[r],skipExist:!0}),n.notifyObservers(a,[r.getNamePath()],{type:"valueUpdate",source:"internal"})}return function(i,s){var l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];if(n.fieldEntities=n.fieldEntities.filter(function(f){return f!==r}),!n.isMergedPreserve(s)&&(!i||l.length>1)){var c=i?void 0:n.getInitialValue(o);if(o.length&&n.getFieldValue(o)!==c&&n.fieldEntities.every(function(f){return!P0(f.getNamePath(),o)})){var d=n.store;n.updateStore(or(d,o,c,!0)),n.notifyObservers(d,[o],{type:"remove"}),n.triggerDependenciesUpdate(d,o)}}n.notifyWatch([o])}}),F(this,"dispatch",function(r){switch(r.type){case"updateValue":{var o=r.namePath,a=r.value;n.updateValue(o,a);break}case"validateField":{var i=r.namePath,s=r.triggerName;n.validateFields([i],{triggerName:s});break}}}),F(this,"notifyObservers",function(r,o,a){if(n.subscribable){var i=R(R({},a),{},{store:n.getFieldsValue(!0)});n.getFieldEntities().forEach(function(s){var l=s.onStoreChange;l(r,o,i)})}else n.forceRootUpdate()}),F(this,"triggerDependenciesUpdate",function(r,o){var a=n.getDependencyChildrenFields(o);return a.length&&n.validateFields(a),n.notifyObservers(r,a,{type:"dependenciesUpdate",relatedFields:[o].concat(ve(a))}),a}),F(this,"updateValue",function(r,o){var a=en(r),i=n.store;n.updateStore(or(n.store,a,o)),n.notifyObservers(i,[a],{type:"valueUpdate",source:"internal"}),n.notifyWatch([a]);var s=n.triggerDependenciesUpdate(i,a),l=n.callbacks.onValuesChange;if(l){var c=N0(n.store,[a]);l(c,n.getFieldsValue())}n.triggerOnFieldsChange([a].concat(ve(s)))}),F(this,"setFieldsValue",function(r){n.warningUnhooked();var o=n.store;if(r){var a=wa(n.store,r);n.updateStore(a)}n.notifyObservers(o,null,{type:"valueUpdate",source:"external"}),n.notifyWatch()}),F(this,"setFieldValue",function(r,o){n.setFields([{name:r,value:o,errors:[],warnings:[]}])}),F(this,"getDependencyChildrenFields",function(r){var o=new Set,a=[],i=new Aa;n.getFieldEntities().forEach(function(l){var c=l.props.dependencies;(c||[]).forEach(function(d){var f=en(d);i.update(f,function(){var m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:new Set;return m.add(l),m})})});var s=function l(c){var d=i.get(c)||new Set;d.forEach(function(f){if(!o.has(f)){o.add(f);var m=f.getNamePath();f.isFieldDirty()&&m.length&&(a.push(m),l(m))}})};return s(r),a}),F(this,"triggerOnFieldsChange",function(r,o){var a=n.callbacks.onFieldsChange;if(a){var i=n.getFields();if(o){var s=new Aa;o.forEach(function(c){var d=c.name,f=c.errors;s.set(d,f)}),i.forEach(function(c){c.errors=s.get(c.name)||c.errors})}var l=i.filter(function(c){var d=c.name;return za(r,d)});l.length&&a(l,i)}}),F(this,"validateFields",function(r,o){n.warningUnhooked();var a,i;Array.isArray(r)||typeof r=="string"||typeof o=="string"?(a=r,i=o):i=r;var s=!!a,l=s?a.map(en):[],c=[],d=String(Date.now()),f=new Set,m=i||{},p=m.recursive,h=m.dirty;n.getFieldEntities(!0).forEach(function(y){if(s||l.push(y.getNamePath()),!(!y.props.rules||!y.props.rules.length)&&!(h&&!y.isFieldDirty())){var x=y.getNamePath();if(f.add(x.join(d)),!s||za(l,x,p)){var C=y.validateRules(R({validateMessages:R(R({},k0),n.validateMessages)},i));c.push(C.then(function(){return{name:x,errors:[],warnings:[]}}).catch(function(S){var $,k=[],E=[];return($=S.forEach)===null||$===void 0||$.call(S,function(I){var N=I.rule.warningOnly,P=I.errors;N?E.push.apply(E,ve(P)):k.push.apply(k,ve(P))}),k.length?Promise.reject({name:x,errors:k,warnings:E}):{name:x,errors:k,warnings:E}}))}}});var v=yI(c);n.lastValidatePromise=v,v.catch(function(y){return y}).then(function(y){var x=y.map(function(C){var S=C.name;return S});n.notifyObservers(n.store,x,{type:"validateFinish"}),n.triggerOnFieldsChange(x,y)});var g=v.then(function(){return n.lastValidatePromise===v?Promise.resolve(n.getFieldsValue(l)):Promise.reject([])}).catch(function(y){var x=y.filter(function(C){return C&&C.errors.length});return Promise.reject({values:n.getFieldsValue(l),errorFields:x,outOfDate:n.lastValidatePromise!==v})});g.catch(function(y){return y});var b=l.filter(function(y){return f.has(y.join(d))});return n.triggerOnFieldsChange(b),g}),F(this,"submit",function(){n.warningUnhooked(),n.validateFields().then(function(r){var o=n.callbacks.onFinish;if(o)try{o(r)}catch(a){console.error(a)}}).catch(function(r){var o=n.callbacks.onFinishFailed;o&&o(r)})}),this.forceRootUpdate=t});function sf(e){var t=u.useRef(),n=u.useState({}),r=Q(n,2),o=r[1];if(!t.current)if(e)t.current=e;else{var a=function(){o({})},i=new xI(a);t.current=i.getForm()}return[t.current]}var lf=u.createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}}),M0=function(t){var n=t.validateMessages,r=t.onFormChange,o=t.onFormFinish,a=t.children,i=u.useContext(lf),s=u.useRef({});return u.createElement(lf.Provider,{value:R(R({},i),{},{validateMessages:R(R({},i.validateMessages),n),triggerFormChange:function(c,d){r&&r(c,{changedFields:d,forms:s.current}),i.triggerFormChange(c,d)},triggerFormFinish:function(c,d){o&&o(c,{values:d,forms:s.current}),i.triggerFormFinish(c,d)},registerForm:function(c,d){c&&(s.current=R(R({},s.current),{},F({},c,d))),i.registerForm(c,d)},unregisterForm:function(c){var d=R({},s.current);delete d[c],s.current=d,i.unregisterForm(c)}})},a)},wI=["name","initialValues","fields","form","preserve","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed","clearOnDestroy"],SI=function(t,n){var r=t.name,o=t.initialValues,a=t.fields,i=t.form,s=t.preserve,l=t.children,c=t.component,d=c===void 0?"form":c,f=t.validateMessages,m=t.validateTrigger,p=m===void 0?"onChange":m,h=t.onValuesChange,v=t.onFieldsChange,g=t.onFinish,b=t.onFinishFailed,y=t.clearOnDestroy,x=Qe(t,wI),C=u.useRef(null),S=u.useContext(lf),$=sf(i),k=Q($,1),E=k[0],I=E.getInternalHooks(Wo),N=I.useSubscribe,P=I.setInitialValues,T=I.setCallbacks,j=I.setValidateMessages,_=I.setPreserve,M=I.destroyForm;u.useImperativeHandle(n,function(){return R(R({},E),{},{nativeElement:C.current})}),u.useEffect(function(){return S.registerForm(r,E),function(){S.unregisterForm(r)}},[S,E,r]),j(R(R({},S.validateMessages),f)),T({onValuesChange:h,onFieldsChange:function(V){if(S.triggerFormChange(r,V),v){for(var H=arguments.length,X=new Array(H>1?H-1:0),ie=1;ie<H;ie++)X[ie-1]=arguments[ie];v.apply(void 0,[V].concat(X))}},onFinish:function(V){S.triggerFormFinish(r,V),g&&g(V)},onFinishFailed:b}),_(s);var z=u.useRef(null);P(o,!z.current),z.current||(z.current=!0),u.useEffect(function(){return function(){return M(y)}},[]);var A,D=typeof l=="function";if(D){var W=E.getFieldsValue(!0);A=l(W,E)}else A=l;N(!D);var U=u.useRef();u.useEffect(function(){hI(U.current||[],a||[])||E.setFields(a||[]),U.current=a},[a,E]);var q=u.useMemo(function(){return R(R({},E),{},{validateTrigger:p})},[E,p]),B=u.createElement(Li.Provider,{value:null},u.createElement(qo.Provider,{value:q},A));return d===!1?B:u.createElement(d,ge({},x,{ref:C,onSubmit:function(V){V.preventDefault(),V.stopPropagation(),E.submit()},onReset:function(V){var H;V.preventDefault(),E.resetFields(),(H=x.onReset)===null||H===void 0||H.call(x,V)}}),B)};function z0(e){try{return JSON.stringify(e)}catch{return Math.random()}}var EI=process.env.NODE_ENV!=="production"?function(e){var t=e.join("__RC_FIELD_FORM_SPLIT__"),n=w.useRef(t);Ze(n.current===t,"`useWatch` is not support dynamic `namePath`. Please provide static instead.")}:function(){};function A0(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t[0],o=t[1],a=o===void 0?{}:o,i=z3(a)?{form:a}:a,s=i.form,l=w.useState(),c=Q(l,2),d=c[0],f=c[1],m=w.useMemo(function(){return z0(d)},[d]),p=w.useRef(m);p.current=m;var h=w.useContext(qo),v=s||h,g=v&&v._init;process.env.NODE_ENV!=="production"&&Ze(t.length===2?s?g:!0:g,"useWatch requires a form instance since it can not auto detect from context.");var b=en(r),y=w.useRef(b);return y.current=b,EI(b),w.useEffect(function(){if(g){var x=v.getFieldsValue,C=v.getInternalHooks,S=C(Wo),$=S.registerWatch,k=function(P,T){var j=i.preserve?T:P;return typeof r=="function"?r(j):rr(j,y.current)},E=$(function(N,P){var T=k(N,P),j=z0(T);p.current!==j&&(p.current=j,f(T))}),I=k(x(),x(!0));return d!==I&&f(I),E}},[g]),d}var $I=u.forwardRef(SI),Da=$I;Da.FormProvider=M0,Da.Field=of,Da.List=T0,Da.useForm=sf,Da.useWatch=A0;const Qr=u.createContext({labelAlign:"right",layout:"horizontal",itemRef:()=>{}}),D0=u.createContext(null),L0=e=>{const t=cn(e,["prefixCls"]);return u.createElement(M0,Object.assign({},t))},cf=u.createContext({prefixCls:""}),bn=u.createContext({});process.env.NODE_ENV!=="production"&&(bn.displayName="FormItemInputContext");const F0=({children:e,status:t,override:n})=>{const r=u.useContext(bn),o=u.useMemo(()=>{const a=Object.assign({},r);return n&&delete a.isFormItemInput,t&&(delete a.status,delete a.hasFeedback,delete a.feedbackIcon),a},[t,n,r]);return u.createElement(bn.Provider,{value:o},e)},R0=u.createContext(void 0),eo=e=>{const{space:t,form:n,children:r}=e;if(r==null)return null;let o=r;return n&&(o=w.createElement(F0,{override:!0,status:!0},o)),t&&(o=w.createElement(HO,null,o)),o},kI=()=>Sn()&&window.document.documentElement,jl=e=>{const{prefixCls:t,className:n,style:r,size:o,shape:a}=e,i=G({[`${t}-lg`]:o==="large",[`${t}-sm`]:o==="small"}),s=G({[`${t}-circle`]:a==="circle",[`${t}-square`]:a==="square",[`${t}-round`]:a==="round"}),l=u.useMemo(()=>typeof o=="number"?{width:o,height:o,lineHeight:`${o}px`}:{},[o]);return u.createElement("span",{className:G(t,i,s,n),style:Object.assign(Object.assign({},l),r)})},OI=new St("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),Ml=e=>({height:e,lineHeight:ne(e)}),La=e=>Object.assign({width:e},Ml(e)),II=e=>({background:e.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:OI,animationDuration:e.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),uf=(e,t)=>Object.assign({width:t(e).mul(5).equal(),minWidth:t(e).mul(5).equal()},Ml(e)),NI=e=>{const{skeletonAvatarCls:t,gradientFromColor:n,controlHeight:r,controlHeightLG:o,controlHeightSM:a}=e;return{[t]:Object.assign({display:"inline-block",verticalAlign:"top",background:n},La(r)),[`${t}${t}-circle`]:{borderRadius:"50%"},[`${t}${t}-lg`]:Object.assign({},La(o)),[`${t}${t}-sm`]:Object.assign({},La(a))}},PI=e=>{const{controlHeight:t,borderRadiusSM:n,skeletonInputCls:r,controlHeightLG:o,controlHeightSM:a,gradientFromColor:i,calc:s}=e;return{[r]:Object.assign({display:"inline-block",verticalAlign:"top",background:i,borderRadius:n},uf(t,s)),[`${r}-lg`]:Object.assign({},uf(o,s)),[`${r}-sm`]:Object.assign({},uf(a,s))}},B0=e=>Object.assign({width:e},Ml(e)),_I=e=>{const{skeletonImageCls:t,imageSizeBase:n,gradientFromColor:r,borderRadiusSM:o,calc:a}=e;return{[t]:Object.assign(Object.assign({display:"inline-flex",alignItems:"center",justifyContent:"center",verticalAlign:"middle",background:r,borderRadius:o},B0(a(n).mul(2).equal())),{[`${t}-path`]:{fill:"#bfbfbf"},[`${t}-svg`]:Object.assign(Object.assign({},B0(n)),{maxWidth:a(n).mul(4).equal(),maxHeight:a(n).mul(4).equal()}),[`${t}-svg${t}-svg-circle`]:{borderRadius:"50%"}}),[`${t}${t}-circle`]:{borderRadius:"50%"}}},df=(e,t,n)=>{const{skeletonButtonCls:r}=e;return{[`${n}${r}-circle`]:{width:t,minWidth:t,borderRadius:"50%"},[`${n}${r}-round`]:{borderRadius:t}}},ff=(e,t)=>Object.assign({width:t(e).mul(2).equal(),minWidth:t(e).mul(2).equal()},Ml(e)),TI=e=>{const{borderRadiusSM:t,skeletonButtonCls:n,controlHeight:r,controlHeightLG:o,controlHeightSM:a,gradientFromColor:i,calc:s}=e;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[n]:Object.assign({display:"inline-block",verticalAlign:"top",background:i,borderRadius:t,width:s(r).mul(2).equal(),minWidth:s(r).mul(2).equal()},ff(r,s))},df(e,r,n)),{[`${n}-lg`]:Object.assign({},ff(o,s))}),df(e,o,`${n}-lg`)),{[`${n}-sm`]:Object.assign({},ff(a,s))}),df(e,a,`${n}-sm`))},jI=e=>{const{componentCls:t,skeletonAvatarCls:n,skeletonTitleCls:r,skeletonParagraphCls:o,skeletonButtonCls:a,skeletonInputCls:i,skeletonImageCls:s,controlHeight:l,controlHeightLG:c,controlHeightSM:d,gradientFromColor:f,padding:m,marginSM:p,borderRadius:h,titleHeight:v,blockRadius:g,paragraphLiHeight:b,controlHeightXS:y,paragraphMarginTop:x}=e;return{[t]:{display:"table",width:"100%",[`${t}-header`]:{display:"table-cell",paddingInlineEnd:m,verticalAlign:"top",[n]:Object.assign({display:"inline-block",verticalAlign:"top",background:f},La(l)),[`${n}-circle`]:{borderRadius:"50%"},[`${n}-lg`]:Object.assign({},La(c)),[`${n}-sm`]:Object.assign({},La(d))},[`${t}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[r]:{width:"100%",height:v,background:f,borderRadius:g,[`+ ${o}`]:{marginBlockStart:d}},[o]:{padding:0,"> li":{width:"100%",height:b,listStyle:"none",background:f,borderRadius:g,"+ li":{marginBlockStart:y}}},[`${o}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${t}-content`]:{[`${r}, ${o} > li`]:{borderRadius:h}}},[`${t}-with-avatar ${t}-content`]:{[r]:{marginBlockStart:p,[`+ ${o}`]:{marginBlockStart:x}}},[`${t}${t}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},TI(e)),NI(e)),PI(e)),_I(e)),[`${t}${t}-block`]:{width:"100%",[a]:{width:"100%"},[i]:{width:"100%"}},[`${t}${t}-active`]:{[`
|
|
182
|
+
${r},
|
|
183
|
+
${o} > li,
|
|
184
|
+
${n},
|
|
185
|
+
${a},
|
|
186
|
+
${i},
|
|
187
|
+
${s}
|
|
188
|
+
`]:Object.assign({},II(e))}}},Fa=zt("Skeleton",e=>{const{componentCls:t,calc:n}=e,r=ft(e,{skeletonAvatarCls:`${t}-avatar`,skeletonTitleCls:`${t}-title`,skeletonParagraphCls:`${t}-paragraph`,skeletonButtonCls:`${t}-button`,skeletonInputCls:`${t}-input`,skeletonImageCls:`${t}-image`,imageSizeBase:n(e.controlHeight).mul(1.5).equal(),borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${e.gradientFromColor} 25%, ${e.gradientToColor} 37%, ${e.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return jI(r)},e=>{const{colorFillContent:t,colorFill:n}=e,r=t,o=n;return{color:r,colorGradientEnd:o,gradientFromColor:r,gradientToColor:o,titleHeight:e.controlHeight/2,blockRadius:e.borderRadiusSM,paragraphMarginTop:e.marginLG+e.marginXXS,paragraphLiHeight:e.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),MI=e=>{const{prefixCls:t,className:n,rootClassName:r,active:o,shape:a="circle",size:i="default"}=e,{getPrefixCls:s}=u.useContext(Ue),l=s("skeleton",t),[c,d,f]=Fa(l),m=cn(e,["prefixCls","className"]),p=G(l,`${l}-element`,{[`${l}-active`]:o},n,r,d,f);return c(u.createElement("div",{className:p},u.createElement(jl,Object.assign({prefixCls:`${l}-avatar`,shape:a,size:i},m))))},zI=e=>{const{prefixCls:t,className:n,rootClassName:r,active:o,block:a=!1,size:i="default"}=e,{getPrefixCls:s}=u.useContext(Ue),l=s("skeleton",t),[c,d,f]=Fa(l),m=cn(e,["prefixCls"]),p=G(l,`${l}-element`,{[`${l}-active`]:o,[`${l}-block`]:a},n,r,d,f);return c(u.createElement("div",{className:p},u.createElement(jl,Object.assign({prefixCls:`${l}-button`,size:i},m))))},AI="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z",DI=e=>{const{prefixCls:t,className:n,rootClassName:r,style:o,active:a}=e,{getPrefixCls:i}=u.useContext(Ue),s=i("skeleton",t),[l,c,d]=Fa(s),f=G(s,`${s}-element`,{[`${s}-active`]:a},n,r,c,d);return l(u.createElement("div",{className:f},u.createElement("div",{className:G(`${s}-image`,n),style:o},u.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${s}-image-svg`},u.createElement("title",null,"Image placeholder"),u.createElement("path",{d:AI,className:`${s}-image-path`})))))},LI=e=>{const{prefixCls:t,className:n,rootClassName:r,active:o,block:a,size:i="default"}=e,{getPrefixCls:s}=u.useContext(Ue),l=s("skeleton",t),[c,d,f]=Fa(l),m=cn(e,["prefixCls"]),p=G(l,`${l}-element`,{[`${l}-active`]:o,[`${l}-block`]:a},n,r,d,f);return c(u.createElement("div",{className:p},u.createElement(jl,Object.assign({prefixCls:`${l}-input`,size:i},m))))},FI=e=>{const{prefixCls:t,className:n,rootClassName:r,style:o,active:a,children:i}=e,{getPrefixCls:s}=u.useContext(Ue),l=s("skeleton",t),[c,d,f]=Fa(l),m=G(l,`${l}-element`,{[`${l}-active`]:a},d,n,r,f);return c(u.createElement("div",{className:m},u.createElement("div",{className:G(`${l}-image`,n),style:o},i)))},RI=(e,t)=>{const{width:n,rows:r=2}=t;if(Array.isArray(n))return n[e];if(r-1===e)return n},BI=e=>{const{prefixCls:t,className:n,style:r,rows:o=0}=e,a=Array.from({length:o}).map((i,s)=>u.createElement("li",{key:s,style:{width:RI(s,e)}}));return u.createElement("ul",{className:G(t,n),style:r},a)},VI=({prefixCls:e,className:t,width:n,style:r})=>u.createElement("h3",{className:G(e,t),style:Object.assign({width:n},r)});function mf(e){return e&&typeof e=="object"?e:{}}function HI(e,t){return e&&!t?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function WI(e,t){return!e&&t?{width:"38%"}:e&&t?{width:"50%"}:{}}function qI(e,t){const n={};return(!e||!t)&&(n.width="61%"),!e&&t?n.rows=3:n.rows=2,n}const vo=e=>{const{prefixCls:t,loading:n,className:r,rootClassName:o,style:a,children:i,avatar:s=!1,title:l=!0,paragraph:c=!0,active:d,round:f}=e,{getPrefixCls:m,direction:p,className:h,style:v}=qn("skeleton"),g=m("skeleton",t),[b,y,x]=Fa(g);if(n||!("loading"in e)){const C=!!s,S=!!l,$=!!c;let k;if(C){const N=Object.assign(Object.assign({prefixCls:`${g}-avatar`},HI(S,$)),mf(s));k=u.createElement("div",{className:`${g}-header`},u.createElement(jl,Object.assign({},N)))}let E;if(S||$){let N;if(S){const T=Object.assign(Object.assign({prefixCls:`${g}-title`},WI(C,$)),mf(l));N=u.createElement(VI,Object.assign({},T))}let P;if($){const T=Object.assign(Object.assign({prefixCls:`${g}-paragraph`},qI(C,S)),mf(c));P=u.createElement(BI,Object.assign({},T))}E=u.createElement("div",{className:`${g}-content`},N,P)}const I=G(g,{[`${g}-with-avatar`]:C,[`${g}-active`]:d,[`${g}-rtl`]:p==="rtl",[`${g}-round`]:f},h,r,o,y,x);return b(u.createElement("div",{className:I,style:Object.assign(Object.assign({},v),a)},k,E))}return i??null};vo.Button=zI,vo.Avatar=MI,vo.Input=LI,vo.Image=DI,vo.Node=FI,process.env.NODE_ENV!=="production"&&(vo.displayName="Skeleton");function V0(){}const UI=u.createContext({add:V0,remove:V0});function H0(e){const t=u.useContext(UI),n=u.useRef(null);return Wt(o=>{if(o){const a=e?o.querySelector(e):o;a&&(t.add(a),n.current=a)}else t.remove(n.current)})}const W0=()=>{const{cancelButtonProps:e,cancelTextLocale:t,onCancel:n}=w.useContext(zi);return w.createElement(kt,Object.assign({onClick:n},e),t)},q0=()=>{const{confirmLoading:e,okButtonProps:t,okType:n,okTextLocale:r,onOk:o}=w.useContext(zi);return w.createElement(kt,Object.assign({},Vv(n),{loading:e,onClick:o},t),r)};function U0(e,t){return w.createElement("span",{className:`${e}-close-x`},t||w.createElement(Xr,{className:`${e}-close-icon`}))}const G0=e=>{const{okText:t,okType:n="primary",cancelText:r,confirmLoading:o,onOk:a,onCancel:i,okButtonProps:s,cancelButtonProps:l,footer:c}=e,[d]=mo("Modal",dh()),f=t||(d==null?void 0:d.okText),m=r||(d==null?void 0:d.cancelText),p=w.useMemo(()=>({confirmLoading:o,okButtonProps:s,cancelButtonProps:l,okTextLocale:f,cancelTextLocale:m,okType:n,onOk:a,onCancel:i}),[o,s,l,f,m,n,a,i]);let h;return typeof c=="function"||typeof c>"u"?(h=w.createElement(w.Fragment,null,w.createElement(W0,null),w.createElement(q0,null)),typeof c=="function"&&(h=c(h,{OkBtn:q0,CancelBtn:W0})),h=w.createElement(i0,{value:p},h)):h=c,w.createElement(ad,{disabled:!1},h)},GI=e=>{const{componentCls:t}=e;return{[t]:{display:"flex",flexFlow:"row wrap",minWidth:0,"&::before, &::after":{display:"flex"},"&-no-wrap":{flexWrap:"nowrap"},"&-start":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"flex-end"},"&-space-between":{justifyContent:"space-between"},"&-space-around":{justifyContent:"space-around"},"&-space-evenly":{justifyContent:"space-evenly"},"&-top":{alignItems:"flex-start"},"&-middle":{alignItems:"center"},"&-bottom":{alignItems:"flex-end"}}}},KI=e=>{const{componentCls:t}=e;return{[t]:{position:"relative",maxWidth:"100%",minHeight:1}}},XI=(e,t)=>{const{prefixCls:n,componentCls:r,gridColumns:o}=e,a={};for(let i=o;i>=0;i--)i===0?(a[`${r}${t}-${i}`]={display:"none"},a[`${r}-push-${i}`]={insetInlineStart:"auto"},a[`${r}-pull-${i}`]={insetInlineEnd:"auto"},a[`${r}${t}-push-${i}`]={insetInlineStart:"auto"},a[`${r}${t}-pull-${i}`]={insetInlineEnd:"auto"},a[`${r}${t}-offset-${i}`]={marginInlineStart:0},a[`${r}${t}-order-${i}`]={order:0}):(a[`${r}${t}-${i}`]=[{"--ant-display":"block",display:"block"},{display:"var(--ant-display)",flex:`0 0 ${i/o*100}%`,maxWidth:`${i/o*100}%`}],a[`${r}${t}-push-${i}`]={insetInlineStart:`${i/o*100}%`},a[`${r}${t}-pull-${i}`]={insetInlineEnd:`${i/o*100}%`},a[`${r}${t}-offset-${i}`]={marginInlineStart:`${i/o*100}%`},a[`${r}${t}-order-${i}`]={order:i});return a[`${r}${t}-flex`]={flex:`var(--${n}${t}-flex)`},a},pf=(e,t)=>XI(e,t),YI=(e,t,n)=>({[`@media (min-width: ${ne(t)})`]:Object.assign({},pf(e,n))}),JI=()=>({}),ZI=()=>({}),QI=zt("Grid",GI,JI),K0=e=>({xs:e.screenXSMin,sm:e.screenSMMin,md:e.screenMDMin,lg:e.screenLGMin,xl:e.screenXLMin,xxl:e.screenXXLMin}),eN=zt("Grid",e=>{const t=ft(e,{gridColumns:24}),n=K0(t);return delete n.xs,[KI(t),pf(t,""),pf(t,"-xs"),Object.keys(n).map(r=>YI(t,n[r],`-${r}`)).reduce((r,o)=>Object.assign(Object.assign({},r),o),{})]},ZI);function X0(e){return{position:e,inset:0}}const tN=e=>{const{componentCls:t,antCls:n}=e;return[{[`${t}-root`]:{[`${t}${n}-zoom-enter, ${t}${n}-zoom-appear`]:{transform:"none",opacity:0,animationDuration:e.motionDurationSlow,userSelect:"none"},[`${t}${n}-zoom-leave ${t}-content`]:{pointerEvents:"none"},[`${t}-mask`]:Object.assign(Object.assign({},X0("fixed")),{zIndex:e.zIndexPopupBase,height:"100%",backgroundColor:e.colorBgMask,pointerEvents:"none",[`${t}-hidden`]:{display:"none"}}),[`${t}-wrap`]:Object.assign(Object.assign({},X0("fixed")),{zIndex:e.zIndexPopupBase,overflow:"auto",outline:0,WebkitOverflowScrolling:"touch"})}},{[`${t}-root`]:C4(e)}]},nN=e=>{const{componentCls:t}=e;return[{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:"rtl"},[`${t}-centered`]:{textAlign:"center","&::before":{display:"inline-block",width:0,height:"100%",verticalAlign:"middle",content:'""'},[t]:{top:0,display:"inline-block",paddingBottom:0,textAlign:"start",verticalAlign:"middle"}},[`@media (max-width: ${e.screenSMMax}px)`]:{[t]:{maxWidth:"calc(100vw - 16px)",margin:`${ne(e.marginXS)} auto`},[`${t}-centered`]:{[t]:{flex:1}}}}},{[t]:Object.assign(Object.assign({},qt(e)),{pointerEvents:"none",position:"relative",top:100,width:"auto",maxWidth:`calc(100vw - ${ne(e.calc(e.margin).mul(2).equal())})`,margin:"0 auto",paddingBottom:e.paddingLG,[`${t}-title`]:{margin:0,color:e.titleColor,fontWeight:e.fontWeightStrong,fontSize:e.titleFontSize,lineHeight:e.titleLineHeight,wordWrap:"break-word"},[`${t}-content`]:{position:"relative",backgroundColor:e.contentBg,backgroundClip:"padding-box",border:0,borderRadius:e.borderRadiusLG,boxShadow:e.boxShadow,pointerEvents:"auto",padding:e.contentPadding},[`${t}-close`]:Object.assign({position:"absolute",top:e.calc(e.modalHeaderHeight).sub(e.modalCloseBtnSize).div(2).equal(),insetInlineEnd:e.calc(e.modalHeaderHeight).sub(e.modalCloseBtnSize).div(2).equal(),zIndex:e.calc(e.zIndexPopupBase).add(10).equal(),padding:0,color:e.modalCloseIconColor,fontWeight:e.fontWeightStrong,lineHeight:1,textDecoration:"none",background:"transparent",borderRadius:e.borderRadiusSM,width:e.modalCloseBtnSize,height:e.modalCloseBtnSize,border:0,outline:0,cursor:"pointer",transition:`color ${e.motionDurationMid}, background-color ${e.motionDurationMid}`,"&-x":{display:"flex",fontSize:e.fontSizeLG,fontStyle:"normal",lineHeight:ne(e.modalCloseBtnSize),justifyContent:"center",textTransform:"none",textRendering:"auto"},"&:disabled":{pointerEvents:"none"},"&:hover":{color:e.modalCloseIconHoverColor,backgroundColor:e.colorBgTextHover,textDecoration:"none"},"&:active":{backgroundColor:e.colorBgTextActive}},Ea(e)),[`${t}-header`]:{color:e.colorText,background:e.headerBg,borderRadius:`${ne(e.borderRadiusLG)} ${ne(e.borderRadiusLG)} 0 0`,marginBottom:e.headerMarginBottom,padding:e.headerPadding,borderBottom:e.headerBorderBottom},[`${t}-body`]:{fontSize:e.fontSize,lineHeight:e.lineHeight,wordWrap:"break-word",padding:e.bodyPadding,[`${t}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center",alignItems:"center",margin:`${ne(e.margin)} auto`}},[`${t}-footer`]:{textAlign:"end",background:e.footerBg,marginTop:e.footerMarginTop,padding:e.footerPadding,borderTop:e.footerBorderTop,borderRadius:e.footerBorderRadius,[`> ${e.antCls}-btn + ${e.antCls}-btn`]:{marginInlineStart:e.marginXS}},[`${t}-open`]:{overflow:"hidden"}})},{[`${t}-pure-panel`]:{top:"auto",padding:0,display:"flex",flexDirection:"column",[`${t}-content,
|
|
189
|
+
${t}-body,
|
|
190
|
+
${t}-confirm-body-wrapper`]:{display:"flex",flexDirection:"column",flex:"auto"},[`${t}-confirm-body`]:{marginBottom:"auto"}}}]},rN=e=>{const{componentCls:t}=e;return{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:"rtl",[`${t}-confirm-body`]:{direction:"rtl"}}}}},oN=e=>{const{componentCls:t}=e,n=K0(e),r=Object.assign({},n);delete r.xs;const o=`--${t.replace(".","")}-`,a=Object.keys(r).map(i=>({[`@media (min-width: ${ne(r[i])})`]:{width:`var(${o}${i}-width)`}}));return{[`${t}-root`]:{[t]:[].concat(ve(Object.keys(n).map((i,s)=>{const l=Object.keys(n)[s-1];return l?{[`${o}${i}-width`]:`var(${o}${l}-width)`}:null})),[{width:`var(${o}xs-width)`}],ve(a))}}},Y0=e=>{const t=e.padding,n=e.fontSizeHeading5,r=e.lineHeightHeading5;return ft(e,{modalHeaderHeight:e.calc(e.calc(r).mul(n).equal()).add(e.calc(t).mul(2).equal()).equal(),modalFooterBorderColorSplit:e.colorSplit,modalFooterBorderStyle:e.lineType,modalFooterBorderWidth:e.lineWidth,modalCloseIconColor:e.colorIcon,modalCloseIconHoverColor:e.colorIconHover,modalCloseBtnSize:e.controlHeight,modalConfirmIconSize:e.fontHeight,modalTitleHeight:e.calc(e.titleFontSize).mul(e.titleLineHeight).equal()})},J0=e=>({footerBg:"transparent",headerBg:e.colorBgElevated,titleLineHeight:e.lineHeightHeading5,titleFontSize:e.fontSizeHeading5,contentBg:e.colorBgElevated,titleColor:e.colorTextHeading,contentPadding:e.wireframe?0:`${ne(e.paddingMD)} ${ne(e.paddingContentHorizontalLG)}`,headerPadding:e.wireframe?`${ne(e.padding)} ${ne(e.paddingLG)}`:0,headerBorderBottom:e.wireframe?`${ne(e.lineWidth)} ${e.lineType} ${e.colorSplit}`:"none",headerMarginBottom:e.wireframe?0:e.marginXS,bodyPadding:e.wireframe?e.paddingLG:0,footerPadding:e.wireframe?`${ne(e.paddingXS)} ${ne(e.padding)}`:0,footerBorderTop:e.wireframe?`${ne(e.lineWidth)} ${e.lineType} ${e.colorSplit}`:"none",footerBorderRadius:e.wireframe?`0 0 ${ne(e.borderRadiusLG)} ${ne(e.borderRadiusLG)}`:0,footerMarginTop:e.wireframe?0:e.marginSM,confirmBodyPadding:e.wireframe?`${ne(e.padding*2)} ${ne(e.padding*2)} ${ne(e.paddingLG)}`:0,confirmIconMarginInlineEnd:e.wireframe?e.margin:e.marginSM,confirmBtnsMarginTop:e.wireframe?e.marginLG:e.marginSM}),Z0=zt("Modal",e=>{const t=Y0(e);return[nN(t),rN(t),tN(t),ji(t,"zoom"),oN(t)]},J0,{unitless:{titleLineHeight:!0}});var aN=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let gf;const iN=e=>{gf={x:e.pageX,y:e.pageY},setTimeout(()=>{gf=null},100)};kI()&&document.documentElement.addEventListener("click",iN,!0);const Q0=e=>{const{prefixCls:t,className:n,rootClassName:r,open:o,wrapClassName:a,centered:i,getContainer:s,focusTriggerAfterClose:l=!0,style:c,visible:d,width:f=520,footer:m,classNames:p,styles:h,children:v,loading:g,confirmLoading:b,zIndex:y,mousePosition:x,onOk:C,onCancel:S,destroyOnHidden:$,destroyOnClose:k,panelRef:E=null,modalRender:I}=e,N=aN(e,["prefixCls","className","rootClassName","open","wrapClassName","centered","getContainer","focusTriggerAfterClose","style","visible","width","footer","classNames","styles","children","loading","confirmLoading","zIndex","mousePosition","onOk","onCancel","destroyOnHidden","destroyOnClose","panelRef","modalRender"]),{getPopupContainer:P,getPrefixCls:T,direction:j,modal:_}=u.useContext(Ue),M=se=>{b||S==null||S(se)},z=se=>{C==null||C(se)};if(process.env.NODE_ENV!=="production"){const se=Et("Modal");[["visible","open"],["bodyStyle","styles.body"],["maskStyle","styles.mask"],["destroyOnClose","destroyOnHidden"]].forEach(([ue,he])=>{se.deprecated(!(ue in e),ue,he)})}const A=T("modal",t),D=T(),W=ln(A),[U,q,B]=Z0(A,W),L=G(a,{[`${A}-centered`]:i??(_==null?void 0:_.centered),[`${A}-wrap-rtl`]:j==="rtl"}),V=m!==null&&!g?u.createElement(G0,Object.assign({},e,{onOk:z,onCancel:M})):null,[H,X,ie,K]=Ov(gl(e),gl(_),{closable:!0,closeIcon:u.createElement(Xr,{className:`${A}-close-icon`}),closeIconRender:se=>U0(A,se)}),ee=I?se=>u.createElement("div",{className:`${A}-render`},I(se)):void 0,te=`.${A}-${I?"render":"content"}`,Y=H0(te),J=wn(E,Y),[ae,Z]=_a("Modal",y),[oe,re]=u.useMemo(()=>f&&typeof f=="object"?[void 0,f]:[f,void 0],[f]),ce=u.useMemo(()=>{const se={};return re&&Object.keys(re).forEach(ue=>{const he=re[ue];he!==void 0&&(se[`--${A}-${ue}-width`]=typeof he=="number"?`${he}px`:he)}),se},[A,re]);return U(u.createElement(eo,{form:!0,space:!0},u.createElement(Pa.Provider,{value:Z},u.createElement(y0,Object.assign({width:oe},N,{zIndex:ae,getContainer:s===void 0?P:s,prefixCls:A,rootClassName:G(q,r,B,W),footer:V,visible:o??d,mousePosition:x??gf,onClose:M,closable:H&&Object.assign({disabled:ie,closeIcon:X},K),closeIcon:X,focusTriggerAfterClose:l,transitionName:Jr(D,"zoom",e.transitionName),maskTransitionName:Jr(D,"fade",e.maskTransitionName),className:G(q,n,_==null?void 0:_.className),style:Object.assign(Object.assign(Object.assign({},_==null?void 0:_.style),c),ce),classNames:Object.assign(Object.assign(Object.assign({},_==null?void 0:_.classNames),p),{wrapper:G(L,p==null?void 0:p.wrapper)}),styles:Object.assign(Object.assign({},_==null?void 0:_.styles),h),panelRef:J,destroyOnClose:$??k,modalRender:ee}),g?u.createElement(vo,{active:!0,title:!1,paragraph:{rows:4},className:`${A}-body-skeleton`}):v))))},sN=e=>{const{componentCls:t,titleFontSize:n,titleLineHeight:r,modalConfirmIconSize:o,fontSize:a,lineHeight:i,modalTitleHeight:s,fontHeight:l,confirmBodyPadding:c}=e,d=`${t}-confirm`;return{[d]:{"&-rtl":{direction:"rtl"},[`${e.antCls}-modal-header`]:{display:"none"},[`${d}-body-wrapper`]:Object.assign({},rl()),[`&${t} ${t}-body`]:{padding:c},[`${d}-body`]:{display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${e.iconCls}`]:{flex:"none",fontSize:o,marginInlineEnd:e.confirmIconMarginInlineEnd,marginTop:e.calc(e.calc(l).sub(o).equal()).div(2).equal()},[`&-has-title > ${e.iconCls}`]:{marginTop:e.calc(e.calc(s).sub(o).equal()).div(2).equal()}},[`${d}-paragraph`]:{display:"flex",flexDirection:"column",flex:"auto",rowGap:e.marginXS,maxWidth:`calc(100% - ${ne(e.marginSM)})`},[`${e.iconCls} + ${d}-paragraph`]:{maxWidth:`calc(100% - ${ne(e.calc(e.modalConfirmIconSize).add(e.marginSM).equal())})`},[`${d}-title`]:{color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:n,lineHeight:r},[`${d}-content`]:{color:e.colorText,fontSize:a,lineHeight:i},[`${d}-btns`]:{textAlign:"end",marginTop:e.confirmBtnsMarginTop,[`${e.antCls}-btn + ${e.antCls}-btn`]:{marginBottom:0,marginInlineStart:e.marginXS}}},[`${d}-error ${d}-body > ${e.iconCls}`]:{color:e.colorError},[`${d}-warning ${d}-body > ${e.iconCls},
|
|
191
|
+
${d}-confirm ${d}-body > ${e.iconCls}`]:{color:e.colorWarning},[`${d}-info ${d}-body > ${e.iconCls}`]:{color:e.colorInfo},[`${d}-success ${d}-body > ${e.iconCls}`]:{color:e.colorSuccess}}},lN=ud(["Modal","confirm"],e=>{const t=Y0(e);return sN(t)},J0,{order:-1e3});var cN=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const eb=e=>{const{prefixCls:t,icon:n,okText:r,cancelText:o,confirmPrefixCls:a,type:i,okCancel:s,footer:l,locale:c}=e,d=cN(e,["prefixCls","icon","okText","cancelText","confirmPrefixCls","type","okCancel","footer","locale"]);if(process.env.NODE_ENV!=="production"){const $=Et("Modal");process.env.NODE_ENV!=="production"&&$(!(typeof n=="string"&&n.length>2),"breaking",`\`icon\` is using ReactNode instead of string naming in v4. Please check \`${n}\` at https://ant.design/components/icon`)}let f=n;if(!n&&n!==null)switch(i){case"info":f=u.createElement(xd,null);break;case"success":f=u.createElement(dl,null);break;case"error":f=u.createElement(Ia,null);break;default:f=u.createElement(fl,null)}const m=s??i==="confirm",p=e.autoFocusButton===null?!1:e.autoFocusButton||"ok",[h]=mo("Modal"),v=c||h,g=r||(m?v==null?void 0:v.okText:v==null?void 0:v.justOkText),b=o||(v==null?void 0:v.cancelText),y=u.useMemo(()=>Object.assign({autoFocusButton:p,cancelTextLocale:b,okTextLocale:g,mergedOkCancel:m},d),[p,b,g,m,d]),x=u.createElement(u.Fragment,null,u.createElement(s0,null),u.createElement(l0,null)),C=e.title!==void 0&&e.title!==null,S=`${a}-body`;return u.createElement("div",{className:`${a}-body-wrapper`},u.createElement("div",{className:G(S,{[`${S}-has-title`]:C})},f,u.createElement("div",{className:`${a}-paragraph`},C&&u.createElement("span",{className:`${a}-title`},e.title),u.createElement("div",{className:`${a}-content`},e.content))),l===void 0||typeof l=="function"?u.createElement(i0,{value:y},u.createElement("div",{className:`${a}-btns`},typeof l=="function"?l(x,{OkBtn:l0,CancelBtn:s0}):x)):l,u.createElement(lN,{prefixCls:t}))},tb=e=>{const{close:t,zIndex:n,maskStyle:r,direction:o,prefixCls:a,wrapClassName:i,rootPrefixCls:s,bodyStyle:l,closable:c=!1,onConfirm:d,styles:f,title:m}=e;if(process.env.NODE_ENV!=="production"){const S=Et("Modal");[["visible","open"],["bodyStyle","styles.body"],["maskStyle","styles.mask"]].forEach(([$,k])=>{S.deprecated(!($ in e),$,k)})}const p=`${a}-confirm`,h=e.width||416,v=e.style||{},g=e.mask===void 0?!0:e.mask,b=e.maskClosable===void 0?!1:e.maskClosable,y=G(p,`${p}-${e.type}`,{[`${p}-rtl`]:o==="rtl"},e.className),[,x]=_n(),C=u.useMemo(()=>n!==void 0?n:x.zIndexPopupBase+wd,[n,x]);return u.createElement(Q0,Object.assign({},e,{className:y,wrapClassName:G({[`${p}-centered`]:!!e.centered},i),onCancel:()=>{t==null||t({triggerCancel:!0}),d==null||d(!1)},title:m,footer:null,transitionName:Jr(s||"","zoom",e.transitionName),maskTransitionName:Jr(s||"","fade",e.maskTransitionName),mask:g,maskClosable:b,style:v,styles:Object.assign({body:l,mask:r},f),width:h,zIndex:C,closable:c}),u.createElement(eb,Object.assign({},e,{confirmPrefixCls:p})))},hf=e=>{const{rootPrefixCls:t,iconPrefixCls:n,direction:r,theme:o}=e;return u.createElement(ir,{prefixCls:t,iconPrefixCls:n,direction:r,theme:o},u.createElement(tb,Object.assign({},e)))};process.env.NODE_ENV!=="production"&&(tb.displayName="ConfirmDialog",hf.displayName="ConfirmDialogWrapper");const Uo=[];let nb="";function rb(){return nb}const uN=e=>{var t,n;const{prefixCls:r,getContainer:o,direction:a}=e,i=dh(),s=w.useContext(Ue),l=rb()||s.getPrefixCls(),c=r||`${l}-modal`;let d=o;return d===!1&&(d=void 0,process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="production"&&Gr(!1,"Modal","Static method not support `getContainer` to be `false` since it do not have context env.")),w.createElement(hf,Object.assign({},e,{rootPrefixCls:l,prefixCls:c,iconPrefixCls:s.iconPrefixCls,theme:s.theme,direction:a??s.direction,locale:(n=(t=s.locale)===null||t===void 0?void 0:t.Modal)!==null&&n!==void 0?n:i,getContainer:d}))};function Vi(e){const t=yd();process.env.NODE_ENV!=="production"&&!t.holderRender&&nv("Modal");const n=document.createDocumentFragment();let r=Object.assign(Object.assign({},e),{close:l,open:!0}),o,a;function i(...d){var f;if(d.some(h=>h==null?void 0:h.triggerCancel)){var p;(f=e.onCancel)===null||f===void 0||(p=f).call.apply(p,[e,()=>{}].concat(ve(d.slice(1))))}for(let h=0;h<Uo.length;h++)if(Uo[h]===l){Uo.splice(h,1);break}a()}const s=d=>{clearTimeout(o),o=setTimeout(()=>{const f=t.getPrefixCls(void 0,rb()),m=t.getIconPrefixCls(),p=t.getTheme(),h=w.createElement(uN,Object.assign({},d));a=Id()(w.createElement(ir,{prefixCls:f,iconPrefixCls:m,theme:p},typeof t.holderRender=="function"?t.holderRender(h):h),n)})};function l(...d){r=Object.assign(Object.assign({},r),{open:!1,afterClose:()=>{typeof e.afterClose=="function"&&e.afterClose(),i.apply(this,d)}}),r.visible&&delete r.visible,s(r)}function c(d){typeof d=="function"?r=d(r):r=Object.assign(Object.assign({},r),d),s(r)}return s(r),Uo.push(l),{destroy:l,update:c}}function ob(e){return Object.assign(Object.assign({},e),{type:"warning"})}function ab(e){return Object.assign(Object.assign({},e),{type:"info"})}function ib(e){return Object.assign(Object.assign({},e),{type:"success"})}function sb(e){return Object.assign(Object.assign({},e),{type:"error"})}function lb(e){return Object.assign(Object.assign({},e),{type:"confirm"})}function dN({rootPrefixCls:e}){process.env.NODE_ENV!=="production"&&Gr(!1,"Modal","Modal.config is deprecated. Please use ConfigProvider.config instead."),nb=e}var fN=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const mN=(e,t)=>{var n,{afterClose:r,config:o}=e,a=fN(e,["afterClose","config"]);const[i,s]=u.useState(!0),[l,c]=u.useState(o),{direction:d,getPrefixCls:f}=u.useContext(Ue),m=f("modal"),p=f(),h=()=>{var y;r(),(y=l.afterClose)===null||y===void 0||y.call(l)},v=(...y)=>{var x;if(s(!1),y.some($=>$==null?void 0:$.triggerCancel)){var S;(x=l.onCancel)===null||x===void 0||(S=x).call.apply(S,[l,()=>{}].concat(ve(y.slice(1))))}};u.useImperativeHandle(t,()=>({destroy:v,update:y=>{c(x=>{const C=typeof y=="function"?y(x):y;return Object.assign(Object.assign({},x),C)})}}));const g=(n=l.okCancel)!==null&&n!==void 0?n:l.type==="confirm",[b]=mo("Modal",Kr.Modal);return u.createElement(hf,Object.assign({prefixCls:m,rootPrefixCls:p},l,{close:v,open:i,afterClose:h,okText:l.okText||(g?b==null?void 0:b.okText:b==null?void 0:b.justOkText),direction:l.direction||d,cancelText:l.cancelText||(b==null?void 0:b.cancelText)},a))},pN=u.forwardRef(mN);let cb=0;const gN=u.memo(u.forwardRef((e,t)=>{const[n,r]=iO();return u.useImperativeHandle(t,()=>({patchElement:r}),[r]),u.createElement(u.Fragment,null,n)}));function hN(){const e=u.useRef(null),[t,n]=u.useState([]);u.useEffect(()=>{t.length&&(ve(t).forEach(i=>{i()}),n([]))},[t]);const r=u.useCallback(a=>function(s){var l;cb+=1;const c=u.createRef();let d;const f=new Promise(g=>{d=g});let m=!1,p;const h=u.createElement(pN,{key:`modal-${cb}`,config:a(s),ref:c,afterClose:()=>{p==null||p()},isSilent:()=>m,onConfirm:g=>{d(g)}});return p=(l=e.current)===null||l===void 0?void 0:l.patchElement(h),p&&Uo.push(p),{destroy:()=>{function g(){var b;(b=c.current)===null||b===void 0||b.destroy()}c.current?g():n(b=>[].concat(ve(b),[g]))},update:g=>{function b(){var y;(y=c.current)===null||y===void 0||y.update(g)}c.current?b():n(y=>[].concat(ve(y),[b]))},then:g=>(m=!0,f.then(g))}},[]);return[u.useMemo(()=>({info:r(ab),success:r(ib),error:r(sb),warning:r(ob),confirm:r(lb)}),[r]),u.createElement(gN,{key:"modal-holder",ref:e})]}const vN=w.createContext({});function ub(e){return t=>u.createElement(ir,{theme:{token:{motion:!1,zIndexPopupBase:0}}},u.createElement(e,Object.assign({},t)))}const db=(e,t,n,r,o)=>ub(i=>{const{prefixCls:s,style:l}=i,c=u.useRef(null),[d,f]=u.useState(0),[m,p]=u.useState(0),[h,v]=sn(!1,{value:i.open}),{getPrefixCls:g}=u.useContext(Ue),b=g(r||"select",s);u.useEffect(()=>{if(v(!0),typeof ResizeObserver<"u"){const C=new ResizeObserver($=>{const k=$[0].target;f(k.offsetHeight+8),p(k.offsetWidth)}),S=setInterval(()=>{var $;const k=o?`.${o(b)}`:`.${b}-dropdown`,E=($=c.current)===null||$===void 0?void 0:$.querySelector(k);E&&(clearInterval(S),C.observe(E))},10);return()=>{clearInterval(S),C.disconnect()}}},[b]);let y=Object.assign(Object.assign({},i),{style:Object.assign(Object.assign({},l),{margin:0}),open:h,visible:h,getPopupContainer:()=>c.current});t&&Object.assign(y,{[t]:{overflow:{adjustX:!1,adjustY:!1}}});const x={paddingBottom:d,position:"relative",minWidth:m};return u.createElement("div",{ref:c,style:x},u.createElement(e,Object.assign({},y)))}),vf=(function(){if(typeof navigator>"u"||typeof window>"u")return!1;var e=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(e==null?void 0:e.substr(0,4))});var zl=function(t){var n=t.className,r=t.customizeIcon,o=t.customizeIconProps,a=t.children,i=t.onMouseDown,s=t.onClick,l=typeof r=="function"?r(o):r;return u.createElement("span",{className:n,onMouseDown:function(d){d.preventDefault(),i==null||i(d)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:s,"aria-hidden":!0},l!==void 0?l:u.createElement("span",{className:G(n.split(/\s+/).map(function(c){return"".concat(c,"-icon")}))},a))},bN=function(t,n,r,o,a){var i=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,s=arguments.length>6?arguments[6]:void 0,l=arguments.length>7?arguments[7]:void 0,c=w.useMemo(function(){if(Ae(o)==="object")return o.clearIcon;if(a)return a},[o,a]),d=w.useMemo(function(){return!!(!i&&o&&(r.length||s)&&!(l==="combobox"&&s===""))},[o,i,r.length,s,l]);return{allowClear:d,clearIcon:w.createElement(zl,{className:"".concat(t,"-clear"),onMouseDown:n,customizeIcon:c},"×")}},fb=u.createContext(null);function yN(){return u.useContext(fb)}function CN(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,t=u.useState(!1),n=Q(t,2),r=n[0],o=n[1],a=u.useRef(null),i=function(){window.clearTimeout(a.current)};u.useEffect(function(){return i},[]);var s=function(c,d){i(),a.current=window.setTimeout(function(){o(c),d&&d()},e)};return[r,s,i]}function mb(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,t=u.useRef(null),n=u.useRef(null);u.useEffect(function(){return function(){window.clearTimeout(n.current)}},[]);function r(o){(o||t.current===null)&&(t.current=o),window.clearTimeout(n.current),n.current=window.setTimeout(function(){t.current=null},e)}return[function(){return t.current},r]}function xN(e,t,n,r){var o=u.useRef(null);o.current={open:t,triggerOpen:n,customizedTrigger:r},u.useEffect(function(){function a(i){var s;if(!((s=o.current)!==null&&s!==void 0&&s.customizedTrigger)){var l=i.target;l.shadowRoot&&i.composed&&(l=i.composedPath()[0]||l),o.current.open&&e().filter(function(c){return c}).every(function(c){return!c.contains(l)&&c!==l})&&o.current.triggerOpen(!1)}}return window.addEventListener("mousedown",a),function(){return window.removeEventListener("mousedown",a)}},[])}function wN(e){return e&&![De.ESC,De.SHIFT,De.BACKSPACE,De.TAB,De.WIN_KEY,De.ALT,De.META,De.WIN_KEY_RIGHT,De.CTRL,De.SEMICOLON,De.EQUALS,De.CAPS_LOCK,De.CONTEXT_MENU,De.F1,De.F2,De.F3,De.F4,De.F5,De.F6,De.F7,De.F8,De.F9,De.F10,De.F11,De.F12].includes(e)}var SN=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],Ra=void 0;function EN(e,t){var n=e.prefixCls,r=e.invalidate,o=e.item,a=e.renderItem,i=e.responsive,s=e.responsiveDisabled,l=e.registerSize,c=e.itemKey,d=e.className,f=e.style,m=e.children,p=e.display,h=e.order,v=e.component,g=v===void 0?"div":v,b=Qe(e,SN),y=i&&!p;function x(E){l(c,E)}u.useEffect(function(){return function(){x(null)}},[]);var C=a&&o!==Ra?a(o,{index:h}):m,S;r||(S={opacity:y?0:1,height:y?0:Ra,overflowY:y?"hidden":Ra,order:i?h:Ra,pointerEvents:y?"none":Ra,position:y?"absolute":Ra});var $={};y&&($["aria-hidden"]=!0);var k=u.createElement(g,ge({className:G(!r&&n,d),style:R(R({},S),f)},$,b,{ref:t}),C);return i&&(k=u.createElement(_r,{onResize:function(I){var N=I.offsetWidth;x(N)},disabled:s},k)),k}var Ba=u.forwardRef(EN);Ba.displayName="Item";function $N(e){if(typeof MessageChannel>"u")vt(e);else{var t=new MessageChannel;t.port1.onmessage=function(){return e()},t.port2.postMessage(void 0)}}function kN(){var e=u.useRef(null),t=function(r){e.current||(e.current=[],$N(function(){tr.unstable_batchedUpdates(function(){e.current.forEach(function(o){o()}),e.current=null})})),e.current.push(r)};return t}function Va(e,t){var n=u.useState(t),r=Q(n,2),o=r[0],a=r[1],i=Wt(function(s){e(function(){a(s)})});return[o,i]}var Al=w.createContext(null),ON=["component"],IN=["className"],NN=["className"],PN=function(t,n){var r=u.useContext(Al);if(!r){var o=t.component,a=o===void 0?"div":o,i=Qe(t,ON);return u.createElement(a,ge({},i,{ref:n}))}var s=r.className,l=Qe(r,IN),c=t.className,d=Qe(t,NN);return u.createElement(Al.Provider,{value:null},u.createElement(Ba,ge({ref:n,className:G(s,c)},l,d)))},pb=u.forwardRef(PN);pb.displayName="RawItem";var _N=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","prefix","suffix","component","itemComponent","onVisibleChange"],gb="responsive",hb="invalidate";function TN(e){return"+ ".concat(e.length," ...")}function jN(e,t){var n=e.prefixCls,r=n===void 0?"rc-overflow":n,o=e.data,a=o===void 0?[]:o,i=e.renderItem,s=e.renderRawItem,l=e.itemKey,c=e.itemWidth,d=c===void 0?10:c,f=e.ssr,m=e.style,p=e.className,h=e.maxCount,v=e.renderRest,g=e.renderRawRest,b=e.prefix,y=e.suffix,x=e.component,C=x===void 0?"div":x,S=e.itemComponent,$=e.onVisibleChange,k=Qe(e,_N),E=f==="full",I=kN(),N=Va(I,null),P=Q(N,2),T=P[0],j=P[1],_=T||0,M=Va(I,new Map),z=Q(M,2),A=z[0],D=z[1],W=Va(I,0),U=Q(W,2),q=U[0],B=U[1],L=Va(I,0),V=Q(L,2),H=V[0],X=V[1],ie=Va(I,0),K=Q(ie,2),ee=K[0],te=K[1],Y=Va(I,0),J=Q(Y,2),ae=J[0],Z=J[1],oe=w.useState(null),re=Q(oe,2),ce=re[0],se=re[1],ue=w.useState(null),he=Q(ue,2),de=he[0],ye=he[1],be=u.useMemo(function(){return de===null&&E?Number.MAX_SAFE_INTEGER:de||0},[de,T]),le=w.useState(!1),Ce=Q(le,2),Le=Ce[0],We=Ce[1],Me="".concat(r,"-item"),we=Math.max(q,H),Re=h===gb,fe=a.length&&Re,qe=h===hb,Ne=fe||typeof h=="number"&&a.length>h,Ee=w.useMemo(function(){var pe=a;return fe?T===null&&E?pe=a:pe=a.slice(0,Math.min(a.length,_/d)):typeof h=="number"&&(pe=a.slice(0,h)),pe},[a,d,T,h,fe]),Be=w.useMemo(function(){return fe?a.slice(be+1):a.slice(Ee.length)},[a,Ee,fe,be]),Xe=w.useCallback(function(pe,me){var xe;return typeof l=="function"?l(pe):(xe=l&&(pe==null?void 0:pe[l]))!==null&&xe!==void 0?xe:me},[l]),Ye=w.useCallback(i||function(pe){return pe},[i]);function yt(pe,me,xe){de===pe&&(me===void 0||me===ce)||(ye(pe),xe||(We(pe<a.length-1),$==null||$(pe)),me!==void 0&&se(me))}function Je(pe,me){j(me.clientWidth)}function _t(pe,me){D(function(xe){var Fe=new Map(xe);return me===null?Fe.delete(pe):Fe.set(pe,me),Fe})}function Lt(pe,me){X(me),B(H)}function Ve(pe,me){te(me)}function Pe(pe,me){Z(me)}function Ge(pe){return A.get(Xe(Ee[pe],pe))}It(function(){if(_&&typeof we=="number"&&Ee){var pe=ee+ae,me=Ee.length,xe=me-1;if(!me){yt(0,null);return}for(var Fe=0;Fe<me;Fe+=1){var je=Ge(Fe);if(E&&(je=je||0),je===void 0){yt(Fe-1,void 0,!0);break}if(pe+=je,xe===0&&pe<=_||Fe===xe-1&&pe+Ge(xe)<=_){yt(xe,null);break}else if(pe+we>_){yt(Fe-1,pe-je-ae+H);break}}y&&Ge(0)+ae>_&&se(null)}},[_,A,H,ee,ae,Xe,Ee]);var Ie=Le&&!!Be.length,Ke={};ce!==null&&fe&&(Ke={position:"absolute",left:ce,top:0});var mt={prefixCls:Me,responsive:fe,component:S,invalidate:qe},pt=s?function(pe,me){var xe=Xe(pe,me);return u.createElement(Al.Provider,{key:xe,value:R(R({},mt),{},{order:me,item:pe,itemKey:xe,registerSize:_t,display:me<=be})},s(pe,me))}:function(pe,me){var xe=Xe(pe,me);return u.createElement(Ba,ge({},mt,{order:me,key:xe,item:pe,renderItem:Ye,itemKey:xe,registerSize:_t,display:me<=be}))},He={order:Ie?be:Number.MAX_SAFE_INTEGER,className:"".concat(Me,"-rest"),registerSize:Lt,display:Ie},et=v||TN,at=g?u.createElement(Al.Provider,{value:R(R({},mt),He)},g(Be)):u.createElement(Ba,ge({},mt,He),typeof et=="function"?et(Be):et),ke=u.createElement(C,ge({className:G(!qe&&r,p),style:m,ref:t},k),b&&u.createElement(Ba,ge({},mt,{responsive:Re,responsiveDisabled:!fe,order:-1,className:"".concat(Me,"-prefix"),registerSize:Ve,display:!0}),b),Ee.map(pt),Ne?at:null,y&&u.createElement(Ba,ge({},mt,{responsive:Re,responsiveDisabled:!fe,order:be,className:"".concat(Me,"-suffix"),registerSize:Pe,display:!0,style:Ke}),y));return Re?u.createElement(_r,{onResize:Je,disabled:!fe},ke):ke}var Mr=u.forwardRef(jN);Mr.displayName="Overflow",Mr.Item=pb,Mr.RESPONSIVE=gb,Mr.INVALIDATE=hb;function MN(e,t,n){var r=R(R({},e),t);return Object.keys(t).forEach(function(o){var a=t[o];typeof a=="function"&&(r[o]=function(){for(var i,s=arguments.length,l=new Array(s),c=0;c<s;c++)l[c]=arguments[c];return a.apply(void 0,l),(i=e[o])===null||i===void 0?void 0:i.call.apply(i,[e].concat(l))})}),r}var zN=["prefixCls","id","inputElement","autoFocus","autoComplete","editable","activeDescendantId","value","open","attrs"],AN=function(t,n){var r=t.prefixCls,o=t.id,a=t.inputElement,i=t.autoFocus,s=t.autoComplete,l=t.editable,c=t.activeDescendantId,d=t.value,f=t.open,m=t.attrs,p=Qe(t,zN),h=a||u.createElement("input",null),v=h,g=v.ref,b=v.props;return Fr(!("maxLength"in h.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),h=u.cloneElement(h,R(R(R({type:"search"},MN(p,b)),{},{id:o,ref:wn(n,g),autoComplete:s||"off",autoFocus:i,className:G("".concat(r,"-selection-search-input"),b==null?void 0:b.className),role:"combobox","aria-expanded":f||!1,"aria-haspopup":"listbox","aria-owns":"".concat(o,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(o,"_list"),"aria-activedescendant":f?c:void 0},m),{},{value:l?d:"",readOnly:!l,unselectable:l?null:"on",style:R(R({},b.style),{},{opacity:l?null:0})})),h},bf=u.forwardRef(AN);process.env.NODE_ENV!=="production"&&(bf.displayName="Input");function yf(e){return Array.isArray(e)?e:e!==void 0?[e]:[]}var DN=typeof window<"u"&&window.document&&window.document.documentElement,LN=process.env.NODE_ENV!=="test"&&DN;function FN(e){return e!=null}function RN(e){return!e&&e!==0}function vb(e){return["string","number"].includes(Ae(e))}function bb(e){var t=void 0;return e&&(vb(e.title)?t=e.title.toString():vb(e.label)&&(t=e.label.toString())),t}function BN(e,t){LN?u.useLayoutEffect(e,t):u.useEffect(e,t)}function VN(e){var t;return(t=e.key)!==null&&t!==void 0?t:e.value}var yb=function(t){t.preventDefault(),t.stopPropagation()},HN=function(t){var n=t.id,r=t.prefixCls,o=t.values,a=t.open,i=t.searchValue,s=t.autoClearSearchValue,l=t.inputRef,c=t.placeholder,d=t.disabled,f=t.mode,m=t.showSearch,p=t.autoFocus,h=t.autoComplete,v=t.activeDescendantId,g=t.tabIndex,b=t.removeIcon,y=t.maxTagCount,x=t.maxTagTextLength,C=t.maxTagPlaceholder,S=C===void 0?function(Z){return"+ ".concat(Z.length," ...")}:C,$=t.tagRender,k=t.onToggleOpen,E=t.onRemove,I=t.onInputChange,N=t.onInputPaste,P=t.onInputKeyDown,T=t.onInputMouseDown,j=t.onInputCompositionStart,_=t.onInputCompositionEnd,M=t.onInputBlur,z=u.useRef(null),A=w.useState(0),D=Q(A,2),W=D[0],U=D[1],q=w.useState(!1),B=Q(q,2),L=B[0],V=B[1],H="".concat(r,"-selection"),X=a||f==="multiple"&&s===!1||f==="tags"?i:"",ie=f==="tags"||f==="multiple"&&s===!1||m&&(a||L);BN(function(){U(z.current.scrollWidth)},[X]);var K=function(oe,re,ce,se,ue){return u.createElement("span",{title:bb(oe),className:G("".concat(H,"-item"),F({},"".concat(H,"-item-disabled"),ce))},u.createElement("span",{className:"".concat(H,"-item-content")},re),se&&u.createElement(zl,{className:"".concat(H,"-item-remove"),onMouseDown:yb,onClick:ue,customizeIcon:b},"×"))},ee=function(oe,re,ce,se,ue,he){var de=function(be){yb(be),k(!a)};return u.createElement("span",{onMouseDown:de},$({label:re,value:oe,disabled:ce,closable:se,onClose:ue,isMaxTag:!!he}))},te=function(oe){var re=oe.disabled,ce=oe.label,se=oe.value,ue=!d&&!re,he=ce;if(typeof x=="number"&&(typeof ce=="string"||typeof ce=="number")){var de=String(he);de.length>x&&(he="".concat(de.slice(0,x),"..."))}var ye=function(le){le&&le.stopPropagation(),E(oe)};return typeof $=="function"?ee(se,he,re,ue,ye):K(oe,he,re,ue,ye)},Y=function(oe){if(!o.length)return null;var re=typeof S=="function"?S(oe):S;return typeof $=="function"?ee(void 0,re,!1,!1,void 0,!0):K({title:re},re,!1)},J=u.createElement("div",{className:"".concat(H,"-search"),style:{width:W},onFocus:function(){V(!0)},onBlur:function(){V(!1)}},u.createElement(bf,{ref:l,open:a,prefixCls:r,id:n,inputElement:null,disabled:d,autoFocus:p,autoComplete:h,editable:ie,activeDescendantId:v,value:X,onKeyDown:P,onMouseDown:T,onChange:I,onPaste:N,onCompositionStart:j,onCompositionEnd:_,onBlur:M,tabIndex:g,attrs:Gn(t,!0)}),u.createElement("span",{ref:z,className:"".concat(H,"-search-mirror"),"aria-hidden":!0},X," ")),ae=u.createElement(Mr,{prefixCls:"".concat(H,"-overflow"),data:o,renderItem:te,renderRest:Y,suffix:J,itemKey:VN,maxCount:y});return u.createElement("span",{className:"".concat(H,"-wrap")},ae,!o.length&&!X&&u.createElement("span",{className:"".concat(H,"-placeholder")},c))},WN=function(t){var n=t.inputElement,r=t.prefixCls,o=t.id,a=t.inputRef,i=t.disabled,s=t.autoFocus,l=t.autoComplete,c=t.activeDescendantId,d=t.mode,f=t.open,m=t.values,p=t.placeholder,h=t.tabIndex,v=t.showSearch,g=t.searchValue,b=t.activeValue,y=t.maxLength,x=t.onInputKeyDown,C=t.onInputMouseDown,S=t.onInputChange,$=t.onInputPaste,k=t.onInputCompositionStart,E=t.onInputCompositionEnd,I=t.onInputBlur,N=t.title,P=u.useState(!1),T=Q(P,2),j=T[0],_=T[1],M=d==="combobox",z=M||v,A=m[0],D=g||"";M&&b&&!j&&(D=b),u.useEffect(function(){M&&_(!1)},[M,b]);var W=d!=="combobox"&&!f&&!v?!1:!!D,U=N===void 0?bb(A):N,q=u.useMemo(function(){return A?null:u.createElement("span",{className:"".concat(r,"-selection-placeholder"),style:W?{visibility:"hidden"}:void 0},p)},[A,W,p,r]);return u.createElement("span",{className:"".concat(r,"-selection-wrap")},u.createElement("span",{className:"".concat(r,"-selection-search")},u.createElement(bf,{ref:a,prefixCls:r,id:o,open:f,inputElement:n,disabled:i,autoFocus:s,autoComplete:l,editable:z,activeDescendantId:c,value:D,onKeyDown:x,onMouseDown:C,onChange:function(L){_(!0),S(L)},onPaste:$,onCompositionStart:k,onCompositionEnd:E,onBlur:I,tabIndex:h,attrs:Gn(t,!0),maxLength:M?y:void 0})),!M&&A?u.createElement("span",{className:"".concat(r,"-selection-item"),title:U,style:W?{visibility:"hidden"}:void 0},A.label):null,q)},qN=function(t,n){var r=w.useRef(null),o=w.useRef(!1),a=t.prefixCls,i=t.open,s=t.mode,l=t.showSearch,c=t.tokenWithEnter,d=t.disabled,f=t.prefix,m=t.autoClearSearchValue,p=t.onSearch,h=t.onSearchSubmit,v=t.onToggleOpen,g=t.onInputKeyDown,b=t.onInputBlur,y=t.domRef;u.useImperativeHandle(n,function(){return{focus:function(U){r.current.focus(U)},blur:function(){r.current.blur()}}});var x=mb(0),C=Q(x,2),S=C[0],$=C[1],k=function(U){var q=U.which,B=r.current instanceof HTMLTextAreaElement;!B&&i&&(q===De.UP||q===De.DOWN)&&U.preventDefault(),g&&g(U),q===De.ENTER&&s==="tags"&&!o.current&&!i&&(h==null||h(U.target.value)),!(B&&!i&&~[De.UP,De.DOWN,De.LEFT,De.RIGHT].indexOf(q))&&wN(q)&&v(!0)},E=function(){$(!0)},I=w.useRef(null),N=function(U){p(U,!0,o.current)!==!1&&v(!0)},P=function(){o.current=!0},T=function(U){o.current=!1,s!=="combobox"&&N(U.target.value)},j=function(U){var q=U.target.value;if(c&&I.current&&/[\r\n]/.test(I.current)){var B=I.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");q=q.replace(B,I.current)}I.current=null,N(q)},_=function(U){var q=U.clipboardData,B=q==null?void 0:q.getData("text");I.current=B||""},M=function(U){var q=U.target;if(q!==r.current){var B=document.body.style.msTouchAction!==void 0;B?setTimeout(function(){r.current.focus()}):r.current.focus()}},z=function(U){var q=S();U.target!==r.current&&!q&&!(s==="combobox"&&d)&&U.preventDefault(),(s!=="combobox"&&(!l||!q)||!i)&&(i&&m!==!1&&p("",!0,!1),v())},A={inputRef:r,onInputKeyDown:k,onInputMouseDown:E,onInputChange:j,onInputPaste:_,onInputCompositionStart:P,onInputCompositionEnd:T,onInputBlur:b},D=s==="multiple"||s==="tags"?u.createElement(HN,ge({},t,A)):u.createElement(WN,ge({},t,A));return u.createElement("div",{ref:y,className:"".concat(a,"-selector"),onClick:M,onMouseDown:z},f&&u.createElement("div",{className:"".concat(a,"-prefix")},f),D)},Cb=u.forwardRef(qN);process.env.NODE_ENV!=="production"&&(Cb.displayName="Selector");function UN(e){var t=e.prefixCls,n=e.align,r=e.arrow,o=e.arrowPos,a=r||{},i=a.className,s=a.content,l=o.x,c=l===void 0?0:l,d=o.y,f=d===void 0?0:d,m=u.useRef();if(!n||!n.points)return null;var p={position:"absolute"};if(n.autoArrow!==!1){var h=n.points[0],v=n.points[1],g=h[0],b=h[1],y=v[0],x=v[1];g===y||!["t","b"].includes(g)?p.top=f:g==="t"?p.top=0:p.bottom=0,b===x||!["l","r"].includes(b)?p.left=c:b==="l"?p.left=0:p.right=0}return u.createElement("div",{ref:m,className:G("".concat(t,"-arrow"),i),style:p},s)}function GN(e){var t=e.prefixCls,n=e.open,r=e.zIndex,o=e.mask,a=e.motion;return o?u.createElement(wr,ge({},a,{motionAppear:!0,visible:n,removeOnLeave:!0}),function(i){var s=i.className;return u.createElement("div",{style:{zIndex:r},className:G("".concat(t,"-mask"),s)})}):null}var xb=u.memo(function(e){var t=e.children;return t},function(e,t){return t.cache});process.env.NODE_ENV!=="production"&&(xb.displayName="PopupContent");var wb=u.forwardRef(function(e,t){var n=e.popup,r=e.className,o=e.prefixCls,a=e.style,i=e.target,s=e.onVisibleChanged,l=e.open,c=e.keepDom,d=e.fresh,f=e.onClick,m=e.mask,p=e.arrow,h=e.arrowPos,v=e.align,g=e.motion,b=e.maskMotion,y=e.forceRender,x=e.getPopupContainer,C=e.autoDestroy,S=e.portal,$=e.zIndex,k=e.onMouseEnter,E=e.onMouseLeave,I=e.onPointerEnter,N=e.onPointerDownCapture,P=e.ready,T=e.offsetX,j=e.offsetY,_=e.offsetR,M=e.offsetB,z=e.onAlign,A=e.onPrepare,D=e.stretch,W=e.targetWidth,U=e.targetHeight,q=typeof n=="function"?n():n,B=l||c,L=(x==null?void 0:x.length)>0,V=u.useState(!x||!L),H=Q(V,2),X=H[0],ie=H[1];if(It(function(){!X&&L&&i&&ie(!0)},[X,L,i]),!X)return null;var K="auto",ee={left:"-1000vw",top:"-1000vh",right:K,bottom:K};if(P||!l){var te,Y=v.points,J=v.dynamicInset||((te=v._experimental)===null||te===void 0?void 0:te.dynamicInset),ae=J&&Y[0][1]==="r",Z=J&&Y[0][0]==="b";ae?(ee.right=_,ee.left=K):(ee.left=T,ee.right=K),Z?(ee.bottom=M,ee.top=K):(ee.top=j,ee.bottom=K)}var oe={};return D&&(D.includes("height")&&U?oe.height=U:D.includes("minHeight")&&U&&(oe.minHeight=U),D.includes("width")&&W?oe.width=W:D.includes("minWidth")&&W&&(oe.minWidth=W)),l||(oe.pointerEvents="none"),u.createElement(S,{open:y||B,getContainer:x&&function(){return x(i)},autoDestroy:C},u.createElement(GN,{prefixCls:o,open:l,zIndex:$,mask:m,motion:b}),u.createElement(_r,{onResize:z,disabled:!l},function(re){return u.createElement(wr,ge({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:y,leavedClassName:"".concat(o,"-hidden")},g,{onAppearPrepare:A,onEnterPrepare:A,visible:l,onVisibleChanged:function(se){var ue;g==null||(ue=g.onVisibleChanged)===null||ue===void 0||ue.call(g,se),s(se)}}),function(ce,se){var ue=ce.className,he=ce.style,de=G(o,ue,r);return u.createElement("div",{ref:wn(re,t,se),className:de,style:R(R(R(R({"--arrow-x":"".concat(h.x||0,"px"),"--arrow-y":"".concat(h.y||0,"px")},ee),oe),he),{},{boxSizing:"border-box",zIndex:$},a),onMouseEnter:k,onMouseLeave:E,onPointerEnter:I,onClick:f,onPointerDownCapture:N},p&&u.createElement(UN,{prefixCls:o,arrow:p,arrowPos:h,align:v}),u.createElement(xb,{cache:!l&&!d},q))})}))});process.env.NODE_ENV!=="production"&&(wb.displayName="Popup");var Sb=u.forwardRef(function(e,t){var n=e.children,r=e.getTriggerDOMNode,o=Br(n),a=u.useCallback(function(s){hu(t,r?r(s):s)},[r]),i=Rr(a,co(n));return o?u.cloneElement(n,{ref:i}):n});process.env.NODE_ENV!=="production"&&(Sb.displayName="TriggerWrapper");var Eb=u.createContext(null);function $b(e){return e?Array.isArray(e)?e:[e]:[]}function KN(e,t,n,r){return u.useMemo(function(){var o=$b(n??t),a=$b(r??t),i=new Set(o),s=new Set(a);return e&&(i.has("hover")&&(i.delete("hover"),i.add("click")),s.has("hover")&&(s.delete("hover"),s.add("click"))),[i,s]},[e,t,n,r])}function XN(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0;return n?e[0]===t[0]:e[0]===t[0]&&e[1]===t[1]}function YN(e,t,n,r){for(var o=n.points,a=Object.keys(e),i=0;i<a.length;i+=1){var s,l=a[i];if(XN((s=e[l])===null||s===void 0?void 0:s.points,o,r))return"".concat(t,"-placement-").concat(l)}return""}function kb(e,t,n,r){return t||(n?{motionName:"".concat(e,"-").concat(n)}:r?{motionName:r}:null)}function Hi(e){return e.ownerDocument.defaultView}function Cf(e){for(var t=[],n=e==null?void 0:e.parentElement,r=["hidden","scroll","clip","auto"];n;){var o=Hi(n).getComputedStyle(n),a=o.overflowX,i=o.overflowY,s=o.overflow;[a,i,s].some(function(l){return r.includes(l)})&&t.push(n),n=n.parentElement}return t}function Wi(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(e)?t:e}function qi(e){return Wi(parseFloat(e),0)}function Ob(e,t){var n=R({},e);return(t||[]).forEach(function(r){if(!(r instanceof HTMLBodyElement||r instanceof HTMLHtmlElement)){var o=Hi(r).getComputedStyle(r),a=o.overflow,i=o.overflowClipMargin,s=o.borderTopWidth,l=o.borderBottomWidth,c=o.borderLeftWidth,d=o.borderRightWidth,f=r.getBoundingClientRect(),m=r.offsetHeight,p=r.clientHeight,h=r.offsetWidth,v=r.clientWidth,g=qi(s),b=qi(l),y=qi(c),x=qi(d),C=Wi(Math.round(f.width/h*1e3)/1e3),S=Wi(Math.round(f.height/m*1e3)/1e3),$=(h-v-y-x)*C,k=(m-p-g-b)*S,E=g*S,I=b*S,N=y*C,P=x*C,T=0,j=0;if(a==="clip"){var _=qi(i);T=_*C,j=_*S}var M=f.x+N-T,z=f.y+E-j,A=M+f.width+2*T-N-P-$,D=z+f.height+2*j-E-I-k;n.left=Math.max(n.left,M),n.top=Math.max(n.top,z),n.right=Math.min(n.right,A),n.bottom=Math.min(n.bottom,D)}}),n}function Ib(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n="".concat(t),r=n.match(/^(.*)\%$/);return r?e*(parseFloat(r[1])/100):parseFloat(n)}function Nb(e,t){var n=t||[],r=Q(n,2),o=r[0],a=r[1];return[Ib(e.width,o),Ib(e.height,a)]}function Pb(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[e[0],e[1]]}function Ha(e,t){var n=t[0],r=t[1],o,a;return n==="t"?a=e.y:n==="b"?a=e.y+e.height:a=e.y+e.height/2,r==="l"?o=e.x:r==="r"?o=e.x+e.width:o=e.x+e.width/2,{x:o,y:a}}function bo(e,t){var n={t:"b",b:"t",l:"r",r:"l"};return e.map(function(r,o){return o===t?n[r]||"c":r}).join("")}function JN(e,t,n,r,o,a,i){var s=u.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:o[r]||{}}),l=Q(s,2),c=l[0],d=l[1],f=u.useRef(0),m=u.useMemo(function(){return t?Cf(t):[]},[t]),p=u.useRef({}),h=function(){p.current={}};e||h();var v=Wt(function(){if(t&&n&&e){let br=function($s,ao){var Po=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Ce,ks=B.x+$s,Ac=B.y+ao,gp=ks+Z,hp=Ac+ae,vp=Math.max(ks,Po.left),ze=Math.max(Ac,Po.top),nt=Math.min(gp,Po.right),Kt=Math.min(hp,Po.bottom);return Math.max(0,(nt-vp)*(Kt-ze))},ii=function(){Bt=B.y+et,tn=Bt+ae,kn=B.x+He,Ht=kn+Z};var y,x,C,S,$=t,k=$.ownerDocument,E=Hi($),I=E.getComputedStyle($),N=I.position,P=$.style.left,T=$.style.top,j=$.style.right,_=$.style.bottom,M=$.style.overflow,z=R(R({},o[r]),a),A=k.createElement("div");(y=$.parentElement)===null||y===void 0||y.appendChild(A),A.style.left="".concat($.offsetLeft,"px"),A.style.top="".concat($.offsetTop,"px"),A.style.position=N,A.style.height="".concat($.offsetHeight,"px"),A.style.width="".concat($.offsetWidth,"px"),$.style.left="0",$.style.top="0",$.style.right="auto",$.style.bottom="auto",$.style.overflow="hidden";var D;if(Array.isArray(n))D={x:n[0],y:n[1],width:0,height:0};else{var W,U,q=n.getBoundingClientRect();q.x=(W=q.x)!==null&&W!==void 0?W:q.left,q.y=(U=q.y)!==null&&U!==void 0?U:q.top,D={x:q.x,y:q.y,width:q.width,height:q.height}}var B=$.getBoundingClientRect(),L=E.getComputedStyle($),V=L.height,H=L.width;B.x=(x=B.x)!==null&&x!==void 0?x:B.left,B.y=(C=B.y)!==null&&C!==void 0?C:B.top;var X=k.documentElement,ie=X.clientWidth,K=X.clientHeight,ee=X.scrollWidth,te=X.scrollHeight,Y=X.scrollTop,J=X.scrollLeft,ae=B.height,Z=B.width,oe=D.height,re=D.width,ce={left:0,top:0,right:ie,bottom:K},se={left:-J,top:-Y,right:ee-J,bottom:te-Y},ue=z.htmlRegion,he="visible",de="visibleFirst";ue!=="scroll"&&ue!==de&&(ue=he);var ye=ue===de,be=Ob(se,m),le=Ob(ce,m),Ce=ue===he?le:be,Le=ye?le:Ce;$.style.left="auto",$.style.top="auto",$.style.right="0",$.style.bottom="0";var We=$.getBoundingClientRect();$.style.left=P,$.style.top=T,$.style.right=j,$.style.bottom=_,$.style.overflow=M,(S=$.parentElement)===null||S===void 0||S.removeChild(A);var Me=Wi(Math.round(Z/parseFloat(H)*1e3)/1e3),we=Wi(Math.round(ae/parseFloat(V)*1e3)/1e3);if(Me===0||we===0||di(n)&&!yl(n))return;var Re=z.offset,fe=z.targetOffset,qe=Nb(B,Re),Ne=Q(qe,2),Ee=Ne[0],Be=Ne[1],Xe=Nb(D,fe),Ye=Q(Xe,2),yt=Ye[0],Je=Ye[1];D.x-=yt,D.y-=Je;var _t=z.points||[],Lt=Q(_t,2),Ve=Lt[0],Pe=Lt[1],Ge=Pb(Pe),Ie=Pb(Ve),Ke=Ha(D,Ge),mt=Ha(B,Ie),pt=R({},z),He=Ke.x-mt.x+Ee,et=Ke.y-mt.y+Be,at=br(He,et),ke=br(He,et,le),pe=Ha(D,["t","l"]),me=Ha(B,["t","l"]),xe=Ha(D,["b","r"]),Fe=Ha(B,["b","r"]),je=z.overflow||{},ct=je.adjustX,Ct=je.adjustY,Tt=je.shiftX,ut=je.shiftY,Vt=function(ao){return typeof ao=="boolean"?ao:ao>=0},Bt,tn,kn,Ht;ii();var nn=Vt(Ct),Se=Ie[0]===Ge[0];if(nn&&Ie[0]==="t"&&(tn>Le.bottom||p.current.bt)){var _e=et;Se?_e-=ae-oe:_e=pe.y-Fe.y-Be;var rt=br(He,_e),gt=br(He,_e,le);rt>at||rt===at&&(!ye||gt>=ke)?(p.current.bt=!0,et=_e,Be=-Be,pt.points=[bo(Ie,0),bo(Ge,0)]):p.current.bt=!1}if(nn&&Ie[0]==="b"&&(Bt<Le.top||p.current.tb)){var At=et;Se?At+=ae-oe:At=xe.y-me.y-Be;var Dn=br(He,At),fn=br(He,At,le);Dn>at||Dn===at&&(!ye||fn>=ke)?(p.current.tb=!0,et=At,Be=-Be,pt.points=[bo(Ie,0),bo(Ge,0)]):p.current.tb=!1}var Ln=Vt(ct),Ar=Ie[1]===Ge[1];if(Ln&&Ie[1]==="l"&&(Ht>Le.right||p.current.rl)){var jn=He;Ar?jn-=Z-re:jn=pe.x-Fe.x-Ee;var Mn=br(jn,et),Ir=br(jn,et,le);Mn>at||Mn===at&&(!ye||Ir>=ke)?(p.current.rl=!0,He=jn,Ee=-Ee,pt.points=[bo(Ie,1),bo(Ge,1)]):p.current.rl=!1}if(Ln&&Ie[1]==="r"&&(kn<Le.left||p.current.lr)){var zn=He;Ar?zn+=Z-re:zn=xe.x-me.x-Ee;var ro=br(zn,et),Nr=br(zn,et,le);ro>at||ro===at&&(!ye||Nr>=ke)?(p.current.lr=!0,He=zn,Ee=-Ee,pt.points=[bo(Ie,1),bo(Ge,1)]):p.current.lr=!1}ii();var An=Tt===!0?0:Tt;typeof An=="number"&&(kn<le.left&&(He-=kn-le.left-Ee,D.x+re<le.left+An&&(He+=D.x-le.left+re-An)),Ht>le.right&&(He-=Ht-le.right-Ee,D.x>le.right-An&&(He+=D.x-le.right+An)));var Qn=ut===!0?0:ut;typeof Qn=="number"&&(Bt<le.top&&(et-=Bt-le.top-Be,D.y+oe<le.top+Qn&&(et+=D.y-le.top+oe-Qn)),tn>le.bottom&&(et-=tn-le.bottom-Be,D.y>le.bottom-Qn&&(et+=D.y-le.bottom+Qn)));var hr=B.x+He,vr=hr+Z,Dr=B.y+et,oo=Dr+ae,it=D.x,Te=it+re,tt=D.y,ot=tt+oe,ht=Math.max(hr,it),xt=Math.min(vr,Te),yn=(ht+xt)/2,Cn=yn-hr,Fn=Math.max(Dr,tt),er=Math.min(oo,ot),Rn=(Fn+er)/2,Bn=Rn-Dr;i==null||i(t,pt);var mn=We.right-B.x-(He+B.width),la=We.bottom-B.y-(et+B.height);Me===1&&(He=Math.floor(He),mn=Math.floor(mn)),we===1&&(et=Math.floor(et),la=Math.floor(la));var pp={ready:!0,offsetX:He/Me,offsetY:et/we,offsetR:mn/Me,offsetB:la/we,arrowX:Cn/Me,arrowY:Bn/we,scaleX:Me,scaleY:we,align:pt};d(pp)}}),g=function(){f.current+=1;var x=f.current;Promise.resolve().then(function(){f.current===x&&v()})},b=function(){d(function(x){return R(R({},x),{},{ready:!1})})};return It(b,[r]),It(function(){e||b()},[e]),[c.ready,c.offsetX,c.offsetY,c.offsetR,c.offsetB,c.arrowX,c.arrowY,c.scaleX,c.scaleY,c.align,g]}function ZN(e,t,n,r,o){It(function(){if(e&&t&&n){let f=function(){r(),o()};var a=t,i=n,s=Cf(a),l=Cf(i),c=Hi(i),d=new Set([c].concat(ve(s),ve(l)));return d.forEach(function(m){m.addEventListener("scroll",f,{passive:!0})}),c.addEventListener("resize",f,{passive:!0}),r(),function(){d.forEach(function(m){m.removeEventListener("scroll",f),c.removeEventListener("resize",f)})}}},[e,t,n])}function QN(e,t,n,r,o,a,i,s){var l=u.useRef(e);l.current=e;var c=u.useRef(!1);u.useEffect(function(){if(t&&r&&(!o||a)){var f=function(){c.current=!1},m=function(C){var S;l.current&&!i(((S=C.composedPath)===null||S===void 0||(S=S.call(C))===null||S===void 0?void 0:S[0])||C.target)&&!c.current&&s(!1)},p=Hi(r);p.addEventListener("pointerdown",f,!0),p.addEventListener("mousedown",m,!0),p.addEventListener("contextmenu",m,!0);var h=ul(n);if(h&&(h.addEventListener("mousedown",m,!0),h.addEventListener("contextmenu",m,!0)),process.env.NODE_ENV!=="production"){var v,g,b=n==null||(v=n.getRootNode)===null||v===void 0?void 0:v.call(n),y=(g=r.getRootNode)===null||g===void 0?void 0:g.call(r);Fr(b===y,"trigger element and popup element should in same shadow root.")}return function(){p.removeEventListener("pointerdown",f,!0),p.removeEventListener("mousedown",m,!0),p.removeEventListener("contextmenu",m,!0),h&&(h.removeEventListener("mousedown",m,!0),h.removeEventListener("contextmenu",m,!0))}}},[t,n,r,o,a]);function d(){c.current=!0}return d}var e5=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];function t5(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Ai,t=u.forwardRef(function(n,r){var o=n.prefixCls,a=o===void 0?"rc-trigger-popup":o,i=n.children,s=n.action,l=s===void 0?"hover":s,c=n.showAction,d=n.hideAction,f=n.popupVisible,m=n.defaultPopupVisible,p=n.onPopupVisibleChange,h=n.afterPopupVisibleChange,v=n.mouseEnterDelay,g=n.mouseLeaveDelay,b=g===void 0?.1:g,y=n.focusDelay,x=n.blurDelay,C=n.mask,S=n.maskClosable,$=S===void 0?!0:S,k=n.getPopupContainer,E=n.forceRender,I=n.autoDestroy,N=n.destroyPopupOnHide,P=n.popup,T=n.popupClassName,j=n.popupStyle,_=n.popupPlacement,M=n.builtinPlacements,z=M===void 0?{}:M,A=n.popupAlign,D=n.zIndex,W=n.stretch,U=n.getPopupClassNameFromAlign,q=n.fresh,B=n.alignPoint,L=n.onPopupClick,V=n.onPopupAlign,H=n.arrow,X=n.popupMotion,ie=n.maskMotion,K=n.popupTransitionName,ee=n.popupAnimation,te=n.maskTransitionName,Y=n.maskAnimation,J=n.className,ae=n.getTriggerDOMNode,Z=Qe(n,e5),oe=I||N||!1,re=u.useState(!1),ce=Q(re,2),se=ce[0],ue=ce[1];It(function(){ue(vf())},[]);var he=u.useRef({}),de=u.useContext(Eb),ye=u.useMemo(function(){return{registerSubPopup:function(nt,Kt){he.current[nt]=Kt,de==null||de.registerSubPopup(nt,Kt)}}},[de]),be=Di(),le=u.useState(null),Ce=Q(le,2),Le=Ce[0],We=Ce[1],Me=u.useRef(null),we=Wt(function(ze){Me.current=ze,di(ze)&&Le!==ze&&We(ze),de==null||de.registerSubPopup(be,ze)}),Re=u.useState(null),fe=Q(Re,2),qe=fe[0],Ne=fe[1],Ee=u.useRef(null),Be=Wt(function(ze){di(ze)&&qe!==ze&&(Ne(ze),Ee.current=ze)}),Xe=u.Children.only(i),Ye=(Xe==null?void 0:Xe.props)||{},yt={},Je=Wt(function(ze){var nt,Kt,pn=qe;return(pn==null?void 0:pn.contains(ze))||((nt=ul(pn))===null||nt===void 0?void 0:nt.host)===ze||ze===pn||(Le==null?void 0:Le.contains(ze))||((Kt=ul(Le))===null||Kt===void 0?void 0:Kt.host)===ze||ze===Le||Object.values(he.current).some(function(Qt){return(Qt==null?void 0:Qt.contains(ze))||ze===Qt})}),_t=kb(a,X,ee,K),Lt=kb(a,ie,Y,te),Ve=u.useState(m||!1),Pe=Q(Ve,2),Ge=Pe[0],Ie=Pe[1],Ke=f??Ge,mt=Wt(function(ze){f===void 0&&Ie(ze)});It(function(){Ie(f||!1)},[f]);var pt=u.useRef(Ke);pt.current=Ke;var He=u.useRef([]);He.current=[];var et=Wt(function(ze){var nt;mt(ze),((nt=He.current[He.current.length-1])!==null&&nt!==void 0?nt:Ke)!==ze&&(He.current.push(ze),p==null||p(ze))}),at=u.useRef(),ke=function(){clearTimeout(at.current)},pe=function(nt){var Kt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;ke(),Kt===0?et(nt):at.current=setTimeout(function(){et(nt)},Kt*1e3)};u.useEffect(function(){return ke},[]);var me=u.useState(!1),xe=Q(me,2),Fe=xe[0],je=xe[1];It(function(ze){(!ze||Ke)&&je(!0)},[Ke]);var ct=u.useState(null),Ct=Q(ct,2),Tt=Ct[0],ut=Ct[1],Vt=u.useState(null),Bt=Q(Vt,2),tn=Bt[0],kn=Bt[1],Ht=function(nt){kn([nt.clientX,nt.clientY])},nn=JN(Ke,Le,B&&tn!==null?tn:qe,_,z,A,V),Se=Q(nn,11),_e=Se[0],rt=Se[1],gt=Se[2],At=Se[3],Dn=Se[4],fn=Se[5],Ln=Se[6],Ar=Se[7],jn=Se[8],Mn=Se[9],Ir=Se[10],zn=KN(se,l,c,d),ro=Q(zn,2),Nr=ro[0],An=ro[1],Qn=Nr.has("click"),hr=An.has("click")||An.has("contextMenu"),vr=Wt(function(){Fe||Ir()}),Dr=function(){pt.current&&B&&hr&&pe(!1)};ZN(Ke,qe,Le,vr,Dr),It(function(){vr()},[tn,_]),It(function(){Ke&&!(z!=null&&z[_])&&vr()},[JSON.stringify(A)]);var oo=u.useMemo(function(){var ze=YN(z,a,Mn,B);return G(ze,U==null?void 0:U(Mn))},[Mn,U,z,a,B]);u.useImperativeHandle(r,function(){return{nativeElement:Ee.current,popupElement:Me.current,forceAlign:vr}});var it=u.useState(0),Te=Q(it,2),tt=Te[0],ot=Te[1],ht=u.useState(0),xt=Q(ht,2),yn=xt[0],Cn=xt[1],Fn=function(){if(W&&qe){var nt=qe.getBoundingClientRect();ot(nt.width),Cn(nt.height)}},er=function(){Fn(),vr()},Rn=function(nt){je(!1),Ir(),h==null||h(nt)},Bn=function(){return new Promise(function(nt){Fn(),ut(function(){return nt})})};It(function(){Tt&&(Ir(),Tt(),ut(null))},[Tt]);function mn(ze,nt,Kt,pn){yt[ze]=function(Qt){var Dc;pn==null||pn(Qt),pe(nt,Kt);for(var bp=arguments.length,Dw=new Array(bp>1?bp-1:0),Lc=1;Lc<bp;Lc++)Dw[Lc-1]=arguments[Lc];(Dc=Ye[ze])===null||Dc===void 0||Dc.call.apply(Dc,[Ye,Qt].concat(Dw))}}(Qn||hr)&&(yt.onClick=function(ze){var nt;pt.current&&hr?pe(!1):!pt.current&&Qn&&(Ht(ze),pe(!0));for(var Kt=arguments.length,pn=new Array(Kt>1?Kt-1:0),Qt=1;Qt<Kt;Qt++)pn[Qt-1]=arguments[Qt];(nt=Ye.onClick)===null||nt===void 0||nt.call.apply(nt,[Ye,ze].concat(pn))});var la=QN(Ke,hr,qe,Le,C,$,Je,pe),pp=Nr.has("hover"),br=An.has("hover"),ii,$s;pp&&(mn("onMouseEnter",!0,v,function(ze){Ht(ze)}),mn("onPointerEnter",!0,v,function(ze){Ht(ze)}),ii=function(nt){(Ke||Fe)&&Le!==null&&Le!==void 0&&Le.contains(nt.target)&&pe(!0,v)},B&&(yt.onMouseMove=function(ze){var nt;(nt=Ye.onMouseMove)===null||nt===void 0||nt.call(Ye,ze)})),br&&(mn("onMouseLeave",!1,b),mn("onPointerLeave",!1,b),$s=function(){pe(!1,b)}),Nr.has("focus")&&mn("onFocus",!0,y),An.has("focus")&&mn("onBlur",!1,x),Nr.has("contextMenu")&&(yt.onContextMenu=function(ze){var nt;pt.current&&An.has("contextMenu")?pe(!1):(Ht(ze),pe(!0)),ze.preventDefault();for(var Kt=arguments.length,pn=new Array(Kt>1?Kt-1:0),Qt=1;Qt<Kt;Qt++)pn[Qt-1]=arguments[Qt];(nt=Ye.onContextMenu)===null||nt===void 0||nt.call.apply(nt,[Ye,ze].concat(pn))}),J&&(yt.className=G(Ye.className,J));var ao=u.useRef(!1);ao.current||(ao.current=E||Ke||Fe);var Po=R(R({},Ye),yt),ks={},Ac=["onContextMenu","onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur"];Ac.forEach(function(ze){Z[ze]&&(ks[ze]=function(){for(var nt,Kt=arguments.length,pn=new Array(Kt),Qt=0;Qt<Kt;Qt++)pn[Qt]=arguments[Qt];(nt=Po[ze])===null||nt===void 0||nt.call.apply(nt,[Po].concat(pn)),Z[ze].apply(Z,pn)})});var gp=u.cloneElement(Xe,R(R({},Po),ks)),hp={x:fn,y:Ln},vp=H?R({},H!==!0?H:{}):null;return u.createElement(u.Fragment,null,u.createElement(_r,{disabled:!Ke,ref:Be,onResize:er},u.createElement(Sb,{getTriggerDOMNode:ae},gp)),ao.current&&u.createElement(Eb.Provider,{value:ye},u.createElement(wb,{portal:e,ref:we,prefixCls:a,popup:P,className:G(T,oo),style:j,target:qe,onMouseEnter:ii,onMouseLeave:$s,onPointerEnter:ii,zIndex:D,open:Ke,keepDom:Fe,fresh:q,onClick:L,onPointerDownCapture:la,mask:C,motion:_t,maskMotion:Lt,onVisibleChanged:Rn,onPrepare:Bn,forceRender:E,autoDestroy:oe,getPopupContainer:k,align:Mn,arrow:vp,arrowPos:hp,ready:_e,offsetX:rt,offsetY:gt,offsetR:At,offsetB:Dn,onAlign:vr,stretch:W,targetWidth:tt/Ar,targetHeight:yn/jn})))});return process.env.NODE_ENV!=="production"&&(t.displayName="Trigger"),t}const Dl=t5(Ai);var n5=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],r5=function(t){var n=t===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:n,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:n,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:n,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:n,adjustY:1},htmlRegion:"scroll"}}},o5=function(t,n){var r=t.prefixCls;t.disabled;var o=t.visible,a=t.children,i=t.popupElement,s=t.animation,l=t.transitionName,c=t.dropdownStyle,d=t.dropdownClassName,f=t.direction,m=f===void 0?"ltr":f,p=t.placement,h=t.builtinPlacements,v=t.dropdownMatchSelectWidth,g=t.dropdownRender,b=t.dropdownAlign,y=t.getPopupContainer,x=t.empty,C=t.getTriggerDOMNode,S=t.onPopupVisibleChange,$=t.onPopupMouseEnter,k=Qe(t,n5),E="".concat(r,"-dropdown"),I=i;g&&(I=g(i));var N=u.useMemo(function(){return h||r5(v)},[h,v]),P=s?"".concat(E,"-").concat(s):l,T=typeof v=="number",j=u.useMemo(function(){return T?null:v===!1?"minWidth":"width"},[v,T]),_=c;T&&(_=R(R({},_),{},{width:v}));var M=u.useRef(null);return u.useImperativeHandle(n,function(){return{getPopupElement:function(){var A;return(A=M.current)===null||A===void 0?void 0:A.popupElement}}}),u.createElement(Dl,ge({},k,{showAction:S?["click"]:[],hideAction:S?["click"]:[],popupPlacement:p||(m==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:N,prefixCls:E,popupTransitionName:P,popup:u.createElement("div",{onMouseEnter:$},I),ref:M,stretch:j,popupAlign:b,popupVisible:o,getPopupContainer:y,popupClassName:G(d,F({},"".concat(E,"-empty"),x)),popupStyle:_,getTriggerDOMNode:C,onPopupVisibleChange:S}),a)},_b=u.forwardRef(o5);process.env.NODE_ENV!=="production"&&(_b.displayName="SelectTrigger");function Tb(e,t){var n=e.key,r;return"value"in e&&(r=e.value),n??(r!==void 0?r:"rc-index-key-".concat(t))}function xf(e){return typeof e<"u"&&!Number.isNaN(e)}function jb(e,t){var n=e||{},r=n.label,o=n.value,a=n.options,i=n.groupLabel,s=r||(t?"children":"label");return{label:s,value:o||"value",options:a||"options",groupLabel:i||s}}function a5(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.fieldNames,r=t.childrenAsData,o=[],a=jb(n,!1),i=a.label,s=a.value,l=a.options,c=a.groupLabel;function d(f,m){Array.isArray(f)&&f.forEach(function(p){if(m||!(l in p)){var h=p[s];o.push({key:Tb(p,o.length),groupOption:m,data:p,label:p[i],value:h})}else{var v=p[c];v===void 0&&r&&(v=p.label),o.push({key:Tb(p,o.length),group:!0,data:p,label:v}),d(p[l],!0)}})}return d(e,!1),o}function wf(e){var t=R({},e);return"props"in t||Object.defineProperty(t,"props",{get:function(){return Ze(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),t}}),t}var i5=function(t,n,r){if(!n||!n.length)return null;var o=!1,a=function s(l,c){var d=th(c),f=d[0],m=d.slice(1);if(!f)return[l];var p=l.split(f);return o=o||p.length>1,p.reduce(function(h,v){return[].concat(ve(h),ve(s(v,m)))},[]).filter(Boolean)},i=a(t,n);return o?typeof r<"u"?i.slice(0,r):i:null},Sf=u.createContext(null);function s5(e){var t=e.visible,n=e.values;if(!t)return null;var r=50;return u.createElement("span",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},"".concat(n.slice(0,r).map(function(o){var a=o.label,i=o.value;return["number","string"].includes(Ae(a))?a:i}).join(", ")),n.length>r?", ...":null)}var l5=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","autoClearSearchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","prefix","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],c5=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"],Ll=function(t){return t==="tags"||t==="multiple"},Mb=u.forwardRef(function(e,t){var n,r=e.id,o=e.prefixCls,a=e.className,i=e.showSearch,s=e.tagRender,l=e.direction,c=e.omitDomProps,d=e.displayValues,f=e.onDisplayValuesChange,m=e.emptyOptions,p=e.notFoundContent,h=p===void 0?"Not Found":p,v=e.onClear,g=e.mode,b=e.disabled,y=e.loading,x=e.getInputElement,C=e.getRawInputElement,S=e.open,$=e.defaultOpen,k=e.onDropdownVisibleChange,E=e.activeValue,I=e.onActiveValueChange,N=e.activeDescendantId,P=e.searchValue,T=e.autoClearSearchValue,j=e.onSearch,_=e.onSearchSplit,M=e.tokenSeparators,z=e.allowClear,A=e.prefix,D=e.suffixIcon,W=e.clearIcon,U=e.OptionList,q=e.animation,B=e.transitionName,L=e.dropdownStyle,V=e.dropdownClassName,H=e.dropdownMatchSelectWidth,X=e.dropdownRender,ie=e.dropdownAlign,K=e.placement,ee=e.builtinPlacements,te=e.getPopupContainer,Y=e.showAction,J=Y===void 0?[]:Y,ae=e.onFocus,Z=e.onBlur,oe=e.onKeyUp,re=e.onKeyDown,ce=e.onMouseDown,se=Qe(e,l5),ue=Ll(g),he=(i!==void 0?i:ue)||g==="combobox",de=R({},se);c5.forEach(function(it){delete de[it]}),c==null||c.forEach(function(it){delete de[it]});var ye=u.useState(!1),be=Q(ye,2),le=be[0],Ce=be[1];u.useEffect(function(){Ce(vf())},[]);var Le=u.useRef(null),We=u.useRef(null),Me=u.useRef(null),we=u.useRef(null),Re=u.useRef(null),fe=u.useRef(!1),qe=CN(),Ne=Q(qe,3),Ee=Ne[0],Be=Ne[1],Xe=Ne[2];u.useImperativeHandle(t,function(){var it,Te;return{focus:(it=we.current)===null||it===void 0?void 0:it.focus,blur:(Te=we.current)===null||Te===void 0?void 0:Te.blur,scrollTo:function(ot){var ht;return(ht=Re.current)===null||ht===void 0?void 0:ht.scrollTo(ot)},nativeElement:Le.current||We.current}});var Ye=u.useMemo(function(){var it;if(g!=="combobox")return P;var Te=(it=d[0])===null||it===void 0?void 0:it.value;return typeof Te=="string"||typeof Te=="number"?String(Te):""},[P,g,d]),yt=g==="combobox"&&typeof x=="function"&&x()||null,Je=typeof C=="function"&&C(),_t=Rr(We,Je==null||(n=Je.props)===null||n===void 0?void 0:n.ref),Lt=u.useState(!1),Ve=Q(Lt,2),Pe=Ve[0],Ge=Ve[1];It(function(){Ge(!0)},[]);var Ie=sn(!1,{defaultValue:$,value:S}),Ke=Q(Ie,2),mt=Ke[0],pt=Ke[1],He=Pe?mt:!1,et=!h&&m;(b||et&&He&&g==="combobox")&&(He=!1);var at=et?!1:He,ke=u.useCallback(function(it){var Te=it!==void 0?it:!He;b||(pt(Te),He!==Te&&(k==null||k(Te)))},[b,He,pt,k]),pe=u.useMemo(function(){return(M||[]).some(function(it){return[`
|
|
192
|
+
`,`\r
|
|
193
|
+
`].includes(it)})},[M]),me=u.useContext(Sf)||{},xe=me.maxCount,Fe=me.rawValues,je=function(Te,tt,ot){if(!(ue&&xf(xe)&&(Fe==null?void 0:Fe.size)>=xe)){var ht=!0,xt=Te;I==null||I(null);var yn=i5(Te,M,xf(xe)?xe-Fe.size:void 0),Cn=ot?null:yn;return g!=="combobox"&&Cn&&(xt="",_==null||_(Cn),ke(!1),ht=!1),j&&Ye!==xt&&j(xt,{source:tt?"typing":"effect"}),ht}},ct=function(Te){!Te||!Te.trim()||j(Te,{source:"submit"})};u.useEffect(function(){!He&&!ue&&g!=="combobox"&&je("",!1,!1)},[He]),u.useEffect(function(){mt&&b&&pt(!1),b&&!fe.current&&Be(!1)},[b]);var Ct=mb(),Tt=Q(Ct,2),ut=Tt[0],Vt=Tt[1],Bt=u.useRef(!1),tn=function(Te){var tt=ut(),ot=Te.key,ht=ot==="Enter";if(ht&&(g!=="combobox"&&Te.preventDefault(),He||ke(!0)),Vt(!!Ye),ot==="Backspace"&&!tt&&ue&&!Ye&&d.length){for(var xt=ve(d),yn=null,Cn=xt.length-1;Cn>=0;Cn-=1){var Fn=xt[Cn];if(!Fn.disabled){xt.splice(Cn,1),yn=Fn;break}}yn&&f(xt,{type:"remove",values:[yn]})}for(var er=arguments.length,Rn=new Array(er>1?er-1:0),Bn=1;Bn<er;Bn++)Rn[Bn-1]=arguments[Bn];if(He&&(!ht||!Bt.current)){var mn;ht&&(Bt.current=!0),(mn=Re.current)===null||mn===void 0||mn.onKeyDown.apply(mn,[Te].concat(Rn))}re==null||re.apply(void 0,[Te].concat(Rn))},kn=function(Te){for(var tt=arguments.length,ot=new Array(tt>1?tt-1:0),ht=1;ht<tt;ht++)ot[ht-1]=arguments[ht];if(He){var xt;(xt=Re.current)===null||xt===void 0||xt.onKeyUp.apply(xt,[Te].concat(ot))}Te.key==="Enter"&&(Bt.current=!1),oe==null||oe.apply(void 0,[Te].concat(ot))},Ht=function(Te){var tt=d.filter(function(ot){return ot!==Te});f(tt,{type:"remove",values:[Te]})},nn=function(){Bt.current=!1},Se=u.useRef(!1),_e=function(){Be(!0),b||(ae&&!Se.current&&ae.apply(void 0,arguments),J.includes("focus")&&ke(!0)),Se.current=!0},rt=function(){fe.current=!0,Be(!1,function(){Se.current=!1,fe.current=!1,ke(!1)}),!b&&(Ye&&(g==="tags"?j(Ye,{source:"submit"}):g==="multiple"&&j("",{source:"blur"})),Z&&Z.apply(void 0,arguments))},gt=[];u.useEffect(function(){return function(){gt.forEach(function(it){return clearTimeout(it)}),gt.splice(0,gt.length)}},[]);var At=function(Te){var tt,ot=Te.target,ht=(tt=Me.current)===null||tt===void 0?void 0:tt.getPopupElement();if(ht&&ht.contains(ot)){var xt=setTimeout(function(){var er=gt.indexOf(xt);if(er!==-1&>.splice(er,1),Xe(),!le&&!ht.contains(document.activeElement)){var Rn;(Rn=we.current)===null||Rn===void 0||Rn.focus()}});gt.push(xt)}for(var yn=arguments.length,Cn=new Array(yn>1?yn-1:0),Fn=1;Fn<yn;Fn++)Cn[Fn-1]=arguments[Fn];ce==null||ce.apply(void 0,[Te].concat(Cn))},Dn=u.useState({}),fn=Q(Dn,2),Ln=fn[1];function Ar(){Ln({})}var jn;Je&&(jn=function(Te){ke(Te)}),xN(function(){var it;return[Le.current,(it=Me.current)===null||it===void 0?void 0:it.getPopupElement()]},at,ke,!!Je);var Mn=u.useMemo(function(){return R(R({},e),{},{notFoundContent:h,open:He,triggerOpen:at,id:r,showSearch:he,multiple:ue,toggleOpen:ke})},[e,h,at,He,r,he,ue,ke]),Ir=!!D||y,zn;Ir&&(zn=u.createElement(zl,{className:G("".concat(o,"-arrow"),F({},"".concat(o,"-arrow-loading"),y)),customizeIcon:D,customizeIconProps:{loading:y,searchValue:Ye,open:He,focused:Ee,showSearch:he}}));var ro=function(){var Te;v==null||v(),(Te=we.current)===null||Te===void 0||Te.focus(),f([],{type:"clear",values:d}),je("",!1,!1)},Nr=bN(o,ro,d,z,W,b,Ye,g),An=Nr.allowClear,Qn=Nr.clearIcon,hr=u.createElement(U,{ref:Re}),vr=G(o,a,F(F(F(F(F(F(F(F(F(F({},"".concat(o,"-focused"),Ee),"".concat(o,"-multiple"),ue),"".concat(o,"-single"),!ue),"".concat(o,"-allow-clear"),z),"".concat(o,"-show-arrow"),Ir),"".concat(o,"-disabled"),b),"".concat(o,"-loading"),y),"".concat(o,"-open"),He),"".concat(o,"-customize-input"),yt),"".concat(o,"-show-search"),he)),Dr=u.createElement(_b,{ref:Me,disabled:b,prefixCls:o,visible:at,popupElement:hr,animation:q,transitionName:B,dropdownStyle:L,dropdownClassName:V,direction:l,dropdownMatchSelectWidth:H,dropdownRender:X,dropdownAlign:ie,placement:K,builtinPlacements:ee,getPopupContainer:te,empty:m,getTriggerDOMNode:function(Te){return We.current||Te},onPopupVisibleChange:jn,onPopupMouseEnter:Ar},Je?u.cloneElement(Je,{ref:_t}):u.createElement(Cb,ge({},e,{domRef:We,prefixCls:o,inputElement:yt,ref:we,id:r,prefix:A,showSearch:he,autoClearSearchValue:T,mode:g,activeDescendantId:N,tagRender:s,values:d,open:He,onToggleOpen:ke,activeValue:E,searchValue:Ye,onSearch:je,onSearchSubmit:ct,onRemove:Ht,tokenWithEnter:pe,onInputBlur:nn}))),oo;return Je?oo=Dr:oo=u.createElement("div",ge({className:vr},de,{ref:Le,onMouseDown:At,onKeyDown:tn,onKeyUp:kn,onFocus:_e,onBlur:rt}),u.createElement(s5,{visible:Ee&&!He,values:d}),Dr,zn,An&&Qn),u.createElement(fb.Provider,{value:Mn},oo)});process.env.NODE_ENV!=="production"&&(Mb.displayName="BaseSelect");var Ef=function(){return null};Ef.isSelectOptGroup=!0;var $f=function(){return null};$f.isSelectOption=!0;var zb=u.forwardRef(function(e,t){var n=e.height,r=e.offsetY,o=e.offsetX,a=e.children,i=e.prefixCls,s=e.onInnerResize,l=e.innerProps,c=e.rtl,d=e.extra,f={},m={display:"flex",flexDirection:"column"};return r!==void 0&&(f={height:n,position:"relative",overflow:"hidden"},m=R(R({},m),{},F(F(F(F(F({transform:"translateY(".concat(r,"px)")},c?"marginRight":"marginLeft",-o),"position","absolute"),"left",0),"right",0),"top",0))),u.createElement("div",{style:f},u.createElement(_r,{onResize:function(h){var v=h.offsetHeight;v&&s&&s()}},u.createElement("div",ge({style:m,className:G(F({},"".concat(i,"-holder-inner"),i)),ref:t},l),a,d)))});zb.displayName="Filler";function u5(e){var t=e.children,n=e.setRef,r=u.useCallback(function(o){n(o)},[]);return u.cloneElement(t,{ref:r})}function d5(e,t,n,r,o,a,i,s){var l=s.getKey;return e.slice(t,n+1).map(function(c,d){var f=t+d,m=i(c,f,{style:{width:r},offsetX:o}),p=l(c);return u.createElement(u5,{key:p,setRef:function(v){return a(c,v)}},m)})}function f5(e,t,n){var r=e.length,o=t.length,a,i;if(r===0&&o===0)return null;r<o?(a=e,i=t):(a=t,i=e);var s={__EMPTY_ITEM__:!0};function l(h){return h!==void 0?n(h):s}for(var c=null,d=Math.abs(r-o)!==1,f=0;f<i.length;f+=1){var m=l(a[f]),p=l(i[f]);if(m!==p){c=f,d=d||m!==l(i[f+1]);break}}return c===null?null:{index:c,multiple:d}}function m5(e,t,n){var r=u.useState(e),o=Q(r,2),a=o[0],i=o[1],s=u.useState(null),l=Q(s,2),c=l[0],d=l[1];return u.useEffect(function(){var f=f5(a||[],e||[],t);(f==null?void 0:f.index)!==void 0&&d(e[f.index]),i(e)},[e]),[c]}var Ab=(typeof navigator>"u"?"undefined":Ae(navigator))==="object"&&/Firefox/i.test(navigator.userAgent);const Db=(function(e,t,n,r){var o=w.useRef(!1),a=w.useRef(null);function i(){clearTimeout(a.current),o.current=!0,a.current=setTimeout(function(){o.current=!1},50)}var s=w.useRef({top:e,bottom:t,left:n,right:r});return s.current.top=e,s.current.bottom=t,s.current.left=n,s.current.right=r,function(l,c){var d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,f=l?c<0&&s.current.left||c>0&&s.current.right:c<0&&s.current.top||c>0&&s.current.bottom;return d&&f?(clearTimeout(a.current),o.current=!1):(!f||o.current)&&i(),!o.current&&f}});function p5(e,t,n,r,o,a,i){var s=w.useRef(0),l=w.useRef(null),c=w.useRef(null),d=w.useRef(!1),f=Db(t,n,r,o);function m(y,x){if(vt.cancel(l.current),!f(!1,x)){var C=y;if(!C._virtualHandled)C._virtualHandled=!0;else return;s.current+=x,c.current=x,Ab||C.preventDefault(),l.current=vt(function(){var S=d.current?10:1;i(s.current*S,!1),s.current=0})}}function p(y,x){i(x,!0),Ab||y.preventDefault()}var h=w.useRef(null),v=w.useRef(null);function g(y){if(e){vt.cancel(v.current),v.current=vt(function(){h.current=null},2);var x=y.deltaX,C=y.deltaY,S=y.shiftKey,$=x,k=C;(h.current==="sx"||!h.current&&S&&C&&!x)&&($=C,k=0,h.current="sx");var E=Math.abs($),I=Math.abs(k);h.current===null&&(h.current=a&&E>I?"x":"y"),h.current==="y"?m(y,k):p(y,$)}}function b(y){e&&(d.current=y.detail===c.current)}return[g,b]}function g5(e,t,n,r){var o=u.useMemo(function(){return[new Map,[]]},[e,n.id,r]),a=Q(o,2),i=a[0],s=a[1],l=function(d){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:d,m=i.get(d),p=i.get(f);if(m===void 0||p===void 0)for(var h=e.length,v=s.length;v<h;v+=1){var g,b=e[v],y=t(b);i.set(y,v);var x=(g=n.get(y))!==null&&g!==void 0?g:r;if(s[v]=(s[v-1]||0)+x,y===d&&(m=v),y===f&&(p=v),m!==void 0&&p!==void 0)break}return{top:s[m-1]||0,bottom:s[p]}};return l}var h5=(function(){function e(){Yt(this,e),F(this,"maps",void 0),F(this,"id",0),F(this,"diffRecords",new Map),this.maps=Object.create(null)}return Jt(e,[{key:"set",value:function(n,r){this.diffRecords.set(n,this.maps[n]),this.maps[n]=r,this.id+=1}},{key:"get",value:function(n){return this.maps[n]}},{key:"resetRecord",value:function(){this.diffRecords.clear()}},{key:"getRecord",value:function(){return this.diffRecords}}]),e})();function Lb(e){var t=parseFloat(e);return isNaN(t)?0:t}function v5(e,t,n){var r=u.useState(0),o=Q(r,2),a=o[0],i=o[1],s=w.useRef(new Map),l=w.useRef(new h5),c=w.useRef(0);function d(){c.current+=1}function f(){var p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;d();var h=function(){var b=!1;s.current.forEach(function(y,x){if(y&&y.offsetParent){var C=y.offsetHeight,S=getComputedStyle(y),$=S.marginTop,k=S.marginBottom,E=Lb($),I=Lb(k),N=C+E+I;l.current.get(x)!==N&&(l.current.set(x,N),b=!0)}}),b&&i(function(y){return y+1})};if(p)h();else{c.current+=1;var v=c.current;Promise.resolve().then(function(){v===c.current&&h()})}}function m(p,h){var v=e(p);s.current.get(v),h?(s.current.set(v,h),f()):s.current.delete(v)}return w.useEffect(function(){return d},[]),[m,f,l.current,a]}var Fb=14/15;function b5(e,t,n){var r=w.useRef(!1),o=w.useRef(0),a=w.useRef(0),i=w.useRef(null),s=w.useRef(null),l,c=function(p){if(r.current){var h=Math.ceil(p.touches[0].pageX),v=Math.ceil(p.touches[0].pageY),g=o.current-h,b=a.current-v,y=Math.abs(g)>Math.abs(b);y?o.current=h:a.current=v;var x=n(y,y?g:b,!1,p);x&&p.preventDefault(),clearInterval(s.current),x&&(s.current=setInterval(function(){y?g*=Fb:b*=Fb;var C=Math.floor(y?g:b);(!n(y,C,!0)||Math.abs(C)<=.1)&&clearInterval(s.current)},16))}},d=function(){r.current=!1,l()},f=function(p){l(),p.touches.length===1&&!r.current&&(r.current=!0,o.current=Math.ceil(p.touches[0].pageX),a.current=Math.ceil(p.touches[0].pageY),i.current=p.target,i.current.addEventListener("touchmove",c,{passive:!1}),i.current.addEventListener("touchend",d,{passive:!0}))};l=function(){i.current&&(i.current.removeEventListener("touchmove",c),i.current.removeEventListener("touchend",d))},It(function(){return e&&t.current.addEventListener("touchstart",f,{passive:!0}),function(){var m;(m=t.current)===null||m===void 0||m.removeEventListener("touchstart",f),l(),clearInterval(s.current)}},[e])}function Rb(e){return Math.floor(Math.pow(e,.5))}function kf(e,t){var n="touches"in e?e.touches[0]:e;return n[t?"pageX":"pageY"]-window[t?"scrollX":"scrollY"]}function y5(e,t,n){u.useEffect(function(){var r=t.current;if(e&&r){var o=!1,a,i,s=function(){vt.cancel(a)},l=function m(){s(),a=vt(function(){n(i),m()})},c=function(){o=!1,s()},d=function(p){if(!(p.target.draggable||p.button!==0)){var h=p;h._virtualHandled||(h._virtualHandled=!0,o=!0)}},f=function(p){if(o){var h=kf(p,!1),v=r.getBoundingClientRect(),g=v.top,b=v.bottom;if(h<=g){var y=g-h;i=-Rb(y),l()}else if(h>=b){var x=h-b;i=Rb(x),l()}else s()}};return r.addEventListener("mousedown",d),r.ownerDocument.addEventListener("mouseup",c),r.ownerDocument.addEventListener("mousemove",f),r.ownerDocument.addEventListener("dragend",c),function(){r.removeEventListener("mousedown",d),r.ownerDocument.removeEventListener("mouseup",c),r.ownerDocument.removeEventListener("mousemove",f),r.ownerDocument.removeEventListener("dragend",c),s()}}},[e])}var Bb=10;function C5(e,t,n,r,o,a,i,s){var l=u.useRef(),c=u.useState(null),d=Q(c,2),f=d[0],m=d[1];return It(function(){if(f&&f.times<Bb){if(!e.current){m(function(W){return R({},W)});return}a();var p=f.targetAlign,h=f.originAlign,v=f.index,g=f.offset,b=e.current.clientHeight,y=!1,x=p,C=null;if(b){for(var S=p||h,$=0,k=0,E=0,I=Math.min(t.length-1,v),N=0;N<=I;N+=1){var P=o(t[N]);k=$;var T=n.get(P);E=k+(T===void 0?r:T),$=E}for(var j=S==="top"?g:b-g,_=I;_>=0;_-=1){var M=o(t[_]),z=n.get(M);if(z===void 0){y=!0;break}if(j-=z,j<=0)break}switch(S){case"top":C=k-g;break;case"bottom":C=E-b+g;break;default:{var A=e.current.scrollTop,D=A+b;k<A?x="top":E>D&&(x="bottom")}}C!==null&&i(C),C!==f.lastTop&&(y=!0)}y&&m(R(R({},f),{},{times:f.times+1,targetAlign:x,lastTop:C}))}else process.env.NODE_ENV!=="production"&&(f==null?void 0:f.times)===Bb&&Ze(!1,"Seems `scrollTo` with `rc-virtual-list` reach the max limitation. Please fire issue for us. Thanks.")},[f,e.current]),function(p){if(p==null){s();return}if(vt.cancel(l.current),typeof p=="number")i(p);else if(p&&Ae(p)==="object"){var h,v=p.align;"index"in p?h=p.index:h=t.findIndex(function(y){return o(y)===p.key});var g=p.offset,b=g===void 0?0:g;m({times:0,index:h,offset:b,originAlign:v})}}}var Of=u.forwardRef(function(e,t){var n=e.prefixCls,r=e.rtl,o=e.scrollOffset,a=e.scrollRange,i=e.onStartMove,s=e.onStopMove,l=e.onScroll,c=e.horizontal,d=e.spinSize,f=e.containerSize,m=e.style,p=e.thumbStyle,h=e.showScrollBar,v=u.useState(!1),g=Q(v,2),b=g[0],y=g[1],x=u.useState(null),C=Q(x,2),S=C[0],$=C[1],k=u.useState(null),E=Q(k,2),I=E[0],N=E[1],P=!r,T=u.useRef(),j=u.useRef(),_=u.useState(h),M=Q(_,2),z=M[0],A=M[1],D=u.useRef(),W=function(){h===!0||h===!1||(clearTimeout(D.current),A(!0),D.current=setTimeout(function(){A(!1)},3e3))},U=a-f||0,q=f-d||0,B=u.useMemo(function(){if(o===0||U===0)return 0;var Y=o/U;return Y*q},[o,U,q]),L=function(J){J.stopPropagation(),J.preventDefault()},V=u.useRef({top:B,dragging:b,pageY:S,startTop:I});V.current={top:B,dragging:b,pageY:S,startTop:I};var H=function(J){y(!0),$(kf(J,c)),N(V.current.top),i(),J.stopPropagation(),J.preventDefault()};u.useEffect(function(){var Y=function(oe){oe.preventDefault()},J=T.current,ae=j.current;return J.addEventListener("touchstart",Y,{passive:!1}),ae.addEventListener("touchstart",H,{passive:!1}),function(){J.removeEventListener("touchstart",Y),ae.removeEventListener("touchstart",H)}},[]);var X=u.useRef();X.current=U;var ie=u.useRef();ie.current=q,u.useEffect(function(){if(b){var Y,J=function(oe){var re=V.current,ce=re.dragging,se=re.pageY,ue=re.startTop;vt.cancel(Y);var he=T.current.getBoundingClientRect(),de=f/(c?he.width:he.height);if(ce){var ye=(kf(oe,c)-se)*de,be=ue;!P&&c?be-=ye:be+=ye;var le=X.current,Ce=ie.current,Le=Ce?be/Ce:0,We=Math.ceil(Le*le);We=Math.max(We,0),We=Math.min(We,le),Y=vt(function(){l(We,c)})}},ae=function(){y(!1),s()};return window.addEventListener("mousemove",J,{passive:!0}),window.addEventListener("touchmove",J,{passive:!0}),window.addEventListener("mouseup",ae,{passive:!0}),window.addEventListener("touchend",ae,{passive:!0}),function(){window.removeEventListener("mousemove",J),window.removeEventListener("touchmove",J),window.removeEventListener("mouseup",ae),window.removeEventListener("touchend",ae),vt.cancel(Y)}}},[b]),u.useEffect(function(){return W(),function(){clearTimeout(D.current)}},[o]),u.useImperativeHandle(t,function(){return{delayHidden:W}});var K="".concat(n,"-scrollbar"),ee={position:"absolute",visibility:z?null:"hidden"},te={position:"absolute",borderRadius:99,background:"var(--rc-virtual-list-scrollbar-bg, rgba(0, 0, 0, 0.5))",cursor:"pointer",userSelect:"none"};return c?(Object.assign(ee,{height:8,left:0,right:0,bottom:0}),Object.assign(te,F({height:"100%",width:d},P?"left":"right",B))):(Object.assign(ee,F({width:8,top:0,bottom:0},P?"right":"left",0)),Object.assign(te,{width:"100%",height:d,top:B})),u.createElement("div",{ref:T,className:G(K,F(F(F({},"".concat(K,"-horizontal"),c),"".concat(K,"-vertical"),!c),"".concat(K,"-visible"),z)),style:R(R({},ee),m),onMouseDown:L,onMouseMove:W},u.createElement("div",{ref:j,className:G("".concat(K,"-thumb"),F({},"".concat(K,"-thumb-moving"),b)),style:R(R({},te),p),onMouseDown:H}))});process.env.NODE_ENV!=="production"&&(Of.displayName="ScrollBar");var x5=20;function Vb(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=e/t*e;return isNaN(n)&&(n=0),n=Math.max(n,x5),Math.floor(n)}var w5=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles","showScrollBar"],S5=[],E5={overflowY:"auto",overflowAnchor:"none"};function $5(e,t){var n=e.prefixCls,r=n===void 0?"rc-virtual-list":n,o=e.className,a=e.height,i=e.itemHeight,s=e.fullHeight,l=s===void 0?!0:s,c=e.style,d=e.data,f=e.children,m=e.itemKey,p=e.virtual,h=e.direction,v=e.scrollWidth,g=e.component,b=g===void 0?"div":g,y=e.onScroll,x=e.onVirtualScroll,C=e.onVisibleChange,S=e.innerProps,$=e.extraRender,k=e.styles,E=e.showScrollBar,I=E===void 0?"optional":E,N=Qe(e,w5),P=u.useCallback(function(Se){return typeof m=="function"?m(Se):Se==null?void 0:Se[m]},[m]),T=v5(P),j=Q(T,4),_=j[0],M=j[1],z=j[2],A=j[3],D=!!(p!==!1&&a&&i),W=u.useMemo(function(){return Object.values(z.maps).reduce(function(Se,_e){return Se+_e},0)},[z.id,z.maps]),U=D&&d&&(Math.max(i*d.length,W)>a||!!v),q=h==="rtl",B=G(r,F({},"".concat(r,"-rtl"),q),o),L=d||S5,V=w.useRef(),H=w.useRef(),X=w.useRef(),ie=w.useState(0),K=Q(ie,2),ee=K[0],te=K[1],Y=w.useState(0),J=Q(Y,2),ae=J[0],Z=J[1],oe=w.useState(!1),re=Q(oe,2),ce=re[0],se=re[1],ue=function(){se(!0)},he=function(){se(!1)},de={getKey:P};function ye(Se){te(function(_e){var rt;typeof Se=="function"?rt=Se(_e):rt=Se;var gt=Ge(rt);return V.current.scrollTop=gt,gt})}var be=w.useRef({start:0,end:L.length}),le=w.useRef(),Ce=m5(L,P),Le=Q(Ce,1),We=Le[0];le.current=We;var Me=u.useMemo(function(){if(!D)return{scrollHeight:void 0,start:0,end:L.length-1,offset:void 0};if(!U){var Se;return{scrollHeight:((Se=H.current)===null||Se===void 0?void 0:Se.offsetHeight)||0,start:0,end:L.length-1,offset:void 0}}for(var _e=0,rt,gt,At,Dn=L.length,fn=0;fn<Dn;fn+=1){var Ln=L[fn],Ar=P(Ln),jn=z.get(Ar),Mn=_e+(jn===void 0?i:jn);Mn>=ee&&rt===void 0&&(rt=fn,gt=_e),Mn>ee+a&&At===void 0&&(At=fn),_e=Mn}return rt===void 0&&(rt=0,gt=0,At=Math.ceil(a/i)),At===void 0&&(At=L.length-1),At=Math.min(At+1,L.length-1),{scrollHeight:_e,start:rt,end:At,offset:gt}},[U,D,ee,L,A,a]),we=Me.scrollHeight,Re=Me.start,fe=Me.end,qe=Me.offset;be.current.start=Re,be.current.end=fe,u.useLayoutEffect(function(){var Se=z.getRecord();if(Se.size===1){var _e=Array.from(Se.keys())[0],rt=Se.get(_e),gt=L[Re];if(gt&&rt===void 0){var At=P(gt);if(At===_e){var Dn=z.get(_e),fn=Dn-i;ye(function(Ln){return Ln+fn})}}}z.resetRecord()},[we]);var Ne=u.useState({width:0,height:a}),Ee=Q(Ne,2),Be=Ee[0],Xe=Ee[1],Ye=function(_e){Xe({width:_e.offsetWidth,height:_e.offsetHeight})},yt=w.useRef(),Je=w.useRef(),_t=u.useMemo(function(){return Vb(Be.width,v)},[Be.width,v]),Lt=u.useMemo(function(){return Vb(Be.height,we)},[Be.height,we]),Ve=we-a,Pe=w.useRef(Ve);Pe.current=Ve;function Ge(Se){var _e=Se;return Number.isNaN(Pe.current)||(_e=Math.min(_e,Pe.current)),_e=Math.max(_e,0),_e}var Ie=ee<=0,Ke=ee>=Ve,mt=ae<=0,pt=ae>=v,He=Db(Ie,Ke,mt,pt),et=function(){return{x:q?-ae:ae,y:ee}},at=w.useRef(et()),ke=Wt(function(Se){if(x){var _e=R(R({},et()),Se);(at.current.x!==_e.x||at.current.y!==_e.y)&&(x(_e),at.current=_e)}});function pe(Se,_e){var rt=Se;_e?(tr.flushSync(function(){Z(rt)}),ke()):ye(rt)}function me(Se){var _e=Se.currentTarget.scrollTop;_e!==ee&&ye(_e),y==null||y(Se),ke()}var xe=function(_e){var rt=_e,gt=v?v-Be.width:0;return rt=Math.max(rt,0),rt=Math.min(rt,gt),rt},Fe=Wt(function(Se,_e){_e?(tr.flushSync(function(){Z(function(rt){var gt=rt+(q?-Se:Se);return xe(gt)})}),ke()):ye(function(rt){var gt=rt+Se;return gt})}),je=p5(D,Ie,Ke,mt,pt,!!v,Fe),ct=Q(je,2),Ct=ct[0],Tt=ct[1];b5(D,V,function(Se,_e,rt,gt){var At=gt;return He(Se,_e,rt)?!1:!At||!At._virtualHandled?(At&&(At._virtualHandled=!0),Ct({preventDefault:function(){},deltaX:Se?_e:0,deltaY:Se?0:_e}),!0):!1}),y5(U,V,function(Se){ye(function(_e){return _e+Se})}),It(function(){function Se(rt){var gt=Ie&&rt.detail<0,At=Ke&&rt.detail>0;D&&!gt&&!At&&rt.preventDefault()}var _e=V.current;return _e.addEventListener("wheel",Ct,{passive:!1}),_e.addEventListener("DOMMouseScroll",Tt,{passive:!0}),_e.addEventListener("MozMousePixelScroll",Se,{passive:!1}),function(){_e.removeEventListener("wheel",Ct),_e.removeEventListener("DOMMouseScroll",Tt),_e.removeEventListener("MozMousePixelScroll",Se)}},[D,Ie,Ke]),It(function(){if(v){var Se=xe(ae);Z(Se),ke({x:Se})}},[Be.width,v]);var ut=function(){var _e,rt;(_e=yt.current)===null||_e===void 0||_e.delayHidden(),(rt=Je.current)===null||rt===void 0||rt.delayHidden()},Vt=C5(V,L,z,i,P,function(){return M(!0)},ye,ut);u.useImperativeHandle(t,function(){return{nativeElement:X.current,getScrollInfo:et,scrollTo:function(_e){function rt(gt){return gt&&Ae(gt)==="object"&&("left"in gt||"top"in gt)}rt(_e)?(_e.left!==void 0&&Z(xe(_e.left)),Vt(_e.top)):Vt(_e)}}}),It(function(){if(C){var Se=L.slice(Re,fe+1);C(Se,L)}},[Re,fe,L]);var Bt=g5(L,P,z,i),tn=$==null?void 0:$({start:Re,end:fe,virtual:U,offsetX:ae,offsetY:qe,rtl:q,getSize:Bt}),kn=d5(L,Re,fe,v,ae,_,f,de),Ht=null;a&&(Ht=R(F({},l?"height":"maxHeight",a),E5),D&&(Ht.overflowY="hidden",v&&(Ht.overflowX="hidden"),ce&&(Ht.pointerEvents="none")));var nn={};return q&&(nn.dir="rtl"),u.createElement("div",ge({ref:X,style:R(R({},c),{},{position:"relative"}),className:B},nn,N),u.createElement(_r,{onResize:Ye},u.createElement(b,{className:"".concat(r,"-holder"),style:Ht,ref:V,onScroll:me,onMouseEnter:ut},u.createElement(zb,{prefixCls:r,height:we,offsetX:ae,offsetY:qe,scrollWidth:v,onInnerResize:M,ref:H,innerProps:S,rtl:q,extra:tn},kn))),U&&we>a&&u.createElement(Of,{ref:yt,prefixCls:r,scrollOffset:ee,scrollRange:we,rtl:q,onScroll:pe,onStartMove:ue,onStopMove:he,spinSize:Lt,containerSize:Be.height,style:k==null?void 0:k.verticalScrollBar,thumbStyle:k==null?void 0:k.verticalScrollBarThumb,showScrollBar:I}),U&&v>Be.width&&u.createElement(Of,{ref:Je,prefixCls:r,scrollOffset:ae,scrollRange:v,rtl:q,onScroll:pe,onStartMove:ue,onStopMove:he,spinSize:_t,containerSize:Be.width,horizontal:!0,style:k==null?void 0:k.horizontalScrollBar,thumbStyle:k==null?void 0:k.horizontalScrollBarThumb,showScrollBar:I}))}var Hb=u.forwardRef($5);Hb.displayName="List";function k5(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var O5=["disabled","title","children","style","className"];function Wb(e){return typeof e=="string"||typeof e=="number"}var I5=function(t,n){var r=yN(),o=r.prefixCls,a=r.id,i=r.open,s=r.multiple,l=r.mode,c=r.searchValue,d=r.toggleOpen,f=r.notFoundContent,m=r.onPopupScroll,p=u.useContext(Sf),h=p.maxCount,v=p.flattenOptions,g=p.onActiveValue,b=p.defaultActiveFirstOption,y=p.onSelect,x=p.menuItemSelectedIcon,C=p.rawValues,S=p.fieldNames,$=p.virtual,k=p.direction,E=p.listHeight,I=p.listItemHeight,N=p.optionRender,P="".concat(o,"-item"),T=fi(function(){return v},[i,v],function(Y,J){return J[0]&&Y[1]!==J[1]}),j=u.useRef(null),_=u.useMemo(function(){return s&&xf(h)&&(C==null?void 0:C.size)>=h},[s,h,C==null?void 0:C.size]),M=function(J){J.preventDefault()},z=function(J){var ae;(ae=j.current)===null||ae===void 0||ae.scrollTo(typeof J=="number"?{index:J}:J)},A=u.useCallback(function(Y){return l==="combobox"?!1:C.has(Y)},[l,ve(C).toString(),C.size]),D=function(J){for(var ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,Z=T.length,oe=0;oe<Z;oe+=1){var re=(J+oe*ae+Z)%Z,ce=T[re]||{},se=ce.group,ue=ce.data;if(!se&&!(ue!=null&&ue.disabled)&&(A(ue.value)||!_))return re}return-1},W=u.useState(function(){return D(0)}),U=Q(W,2),q=U[0],B=U[1],L=function(J){var ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;B(J);var Z={source:ae?"keyboard":"mouse"},oe=T[J];if(!oe){g(null,-1,Z);return}g(oe.value,J,Z)};w.useEffect(function(){L(b!==!1?D(0):-1)},[T.length,c]);var V=u.useCallback(function(Y){return l==="combobox"?String(Y).toLowerCase()===c.toLowerCase():C.has(Y)},[l,c,ve(C).toString(),C.size]);w.useEffect(function(){var Y=setTimeout(function(){if(!s&&i&&C.size===1){var ae=Array.from(C)[0],Z=T.findIndex(function(oe){var re=oe.data;return c?String(re.value).startsWith(c):re.value===ae});Z!==-1&&(L(Z),z(Z))}});if(i){var J;(J=j.current)===null||J===void 0||J.scrollTo(void 0)}return function(){return clearTimeout(Y)}},[i,c]);var H=function(J){J!==void 0&&y(J,{selected:!C.has(J)}),s||d(!1)};if(u.useImperativeHandle(n,function(){return{onKeyDown:function(J){var ae=J.which,Z=J.ctrlKey;switch(ae){case De.N:case De.P:case De.UP:case De.DOWN:{var oe=0;if(ae===De.UP?oe=-1:ae===De.DOWN?oe=1:k5()&&Z&&(ae===De.N?oe=1:ae===De.P&&(oe=-1)),oe!==0){var re=D(q+oe,oe);z(re),L(re,!0)}break}case De.TAB:case De.ENTER:{var ce,se=T[q];se&&!(se!=null&&(ce=se.data)!==null&&ce!==void 0&&ce.disabled)&&!_?H(se.value):H(void 0),i&&J.preventDefault();break}case De.ESC:d(!1),i&&J.stopPropagation()}},onKeyUp:function(){},scrollTo:function(J){z(J)}}}),T.length===0)return u.createElement("div",{role:"listbox",id:"".concat(a,"_list"),className:"".concat(P,"-empty"),onMouseDown:M},f);var X=Object.keys(S).map(function(Y){return S[Y]}),ie=function(J){return J.label};function K(Y,J){var ae=Y.group;return{role:ae?"presentation":"option",id:"".concat(a,"_list_").concat(J)}}var ee=function(J){var ae=T[J];if(!ae)return null;var Z=ae.data||{},oe=Z.value,re=ae.group,ce=Gn(Z,!0),se=ie(ae);return ae?u.createElement("div",ge({"aria-label":typeof se=="string"&&!re?se:null},ce,{key:J},K(ae,J),{"aria-selected":V(oe)}),oe):null},te={role:"listbox",id:"".concat(a,"_list")};return u.createElement(u.Fragment,null,$&&u.createElement("div",ge({},te,{style:{height:0,width:0,overflow:"hidden"}}),ee(q-1),ee(q),ee(q+1)),u.createElement(Hb,{itemKey:"key",ref:j,data:T,height:E,itemHeight:I,fullHeight:!1,onMouseDown:M,onScroll:m,virtual:$,direction:k,innerProps:$?null:te},function(Y,J){var ae=Y.group,Z=Y.groupOption,oe=Y.data,re=Y.label,ce=Y.value,se=oe.key;if(ae){var ue,he=(ue=oe.title)!==null&&ue!==void 0?ue:Wb(re)?re.toString():void 0;return u.createElement("div",{className:G(P,"".concat(P,"-group"),oe.className),title:he},re!==void 0?re:se)}var de=oe.disabled,ye=oe.title;oe.children;var be=oe.style,le=oe.className,Ce=Qe(oe,O5),Le=cn(Ce,X),We=A(ce),Me=de||!We&&_,we="".concat(P,"-option"),Re=G(P,we,le,F(F(F(F({},"".concat(we,"-grouped"),Z),"".concat(we,"-active"),q===J&&!Me),"".concat(we,"-disabled"),Me),"".concat(we,"-selected"),We)),fe=ie(Y),qe=!x||typeof x=="function"||We,Ne=typeof fe=="number"?fe:fe||ce,Ee=Wb(Ne)?Ne.toString():void 0;return ye!==void 0&&(Ee=ye),u.createElement("div",ge({},Gn(Le),$?{}:K(Y,J),{"aria-selected":V(ce),className:Re,title:Ee,onMouseMove:function(){q===J||Me||L(J)},onClick:function(){Me||H(ce)},style:be}),u.createElement("div",{className:"".concat(we,"-content")},typeof N=="function"?N(Y,{index:J}):Ne),u.isValidElement(x)||We,qe&&u.createElement(zl,{className:"".concat(P,"-option-state"),customizeIcon:x,customizeIconProps:{value:ce,disabled:Me,isSelected:We}},We?"✓":null))}))},qb=u.forwardRef(I5);process.env.NODE_ENV!=="production"&&(qb.displayName="OptionList");const N5=(function(e,t){var n=u.useRef({values:new Map,options:new Map}),r=u.useMemo(function(){var a=n.current,i=a.values,s=a.options,l=e.map(function(f){if(f.label===void 0){var m;return R(R({},f),{},{label:(m=i.get(f.value))===null||m===void 0?void 0:m.label})}return f}),c=new Map,d=new Map;return l.forEach(function(f){c.set(f.value,f),d.set(f.value,t.get(f.value)||s.get(f.value))}),n.current.values=c,n.current.options=d,l},[e,t]),o=u.useCallback(function(a){return t.get(a)||n.current.options.get(a)},[t]);return[r,o]});function If(e,t){return yf(e).join("").toUpperCase().includes(t)}const P5=(function(e,t,n,r,o){return u.useMemo(function(){if(!n||r===!1)return e;var a=t.options,i=t.label,s=t.value,l=[],c=typeof r=="function",d=n.toUpperCase(),f=c?r:function(p,h){return o?If(h[o],d):h[a]?If(h[i!=="children"?i:"label"],d):If(h[s],d)},m=c?function(p){return wf(p)}:function(p){return p};return e.forEach(function(p){if(p[a]){var h=f(n,m(p));if(h)l.push(p);else{var v=p[a].filter(function(g){return f(n,m(g))});v.length&&l.push(R(R({},p),{},F({},a,v)))}return}f(n,m(p))&&l.push(p)}),l},[e,r,o,n,t])});var Ub=0,_5=process.env.NODE_ENV!=="test"&&Sn();function T5(){var e;return _5?(e=Ub,Ub+=1):e="TEST_OR_SSR",e}function j5(e){var t=u.useState(),n=Q(t,2),r=n[0],o=n[1];return u.useEffect(function(){o("rc_select_".concat(T5()))},[]),e||r}var M5=["children","value"],z5=["children"];function A5(e){var t=e,n=t.key,r=t.props,o=r.children,a=r.value,i=Qe(r,M5);return R({key:n,value:a!==void 0?a:n,children:o},i)}function Nf(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return Hn(e).map(function(n,r){if(!u.isValidElement(n)||!n.type)return null;var o=n,a=o.type.isSelectOptGroup,i=o.key,s=o.props,l=s.children,c=Qe(s,z5);return t||!a?A5(n):R(R({key:"__RC_SELECT_GRP__".concat(i===null?r:i,"__"),label:i},c),{},{options:Nf(l)})}).filter(function(n){return n})}var D5=function(t,n,r,o,a){return u.useMemo(function(){var i=t,s=!t;s&&(i=Nf(n));var l=new Map,c=new Map,d=function(p,h,v){v&&typeof v=="string"&&p.set(h[v],h)},f=function m(p){for(var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,v=0;v<p.length;v+=1){var g=p[v];!g[r.options]||h?(l.set(g[r.value],g),d(c,g,r.label),d(c,g,o),d(c,g,a)):m(g[r.options],!0)}};return f(i),{options:i,valueOptions:l,labelOptions:c}},[t,n,r,o,a])};function Gb(e){var t=u.useRef();t.current=e;var n=u.useCallback(function(){return t.current.apply(t,arguments)},[]);return n}function L5(e){var t=e.mode,n=e.options,r=e.children,o=e.backfill,a=e.allowClear,i=e.placeholder,s=e.getInputElement,l=e.showSearch,c=e.onSearch,d=e.defaultOpen,f=e.autoFocus,m=e.labelInValue,p=e.value,h=e.inputValue,v=e.optionLabelProp,g=Ll(t),b=l!==void 0?l:g||t==="combobox",y=n||Nf(r);if(Ze(t!=="tags"||y.every(function($){return!$.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),t==="tags"||t==="combobox"){var x=y.some(function($){return $.options?$.options.some(function(k){return typeof("value"in k?k.value:k.key)=="number"}):typeof("value"in $?$.value:$.key)=="number"});Ze(!x,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(Ze(t!=="combobox"||!v,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),Ze(t==="combobox"||!o,"`backfill` only works with `combobox` mode."),Ze(t==="combobox"||!s,"`getInputElement` only work with `combobox` mode."),pu(t!=="combobox"||!s||!a||!i,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),c&&!b&&t!=="combobox"&&t!=="tags"&&Ze(!1,"`onSearch` should work with `showSearch` instead of use alone."),pu(!d||f,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),p!=null){var C=yf(p);Ze(!m||C.every(function($){return Ae($)==="object"&&("key"in $||"value"in $)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),Ze(!g||Array.isArray(p),"`value` should be array when `mode` is `multiple` or `tags`")}if(r){var S=null;Hn(r).some(function($){if(!u.isValidElement($)||!$.type)return!1;var k=$,E=k.type;if(E.isSelectOption)return!1;if(E.isSelectOptGroup){var I=Hn($.props.children).every(function(N){return!u.isValidElement(N)||!$.type||N.type.isSelectOption?!0:(S=N.type,!1)});return!I}return S=E,!0}),S&&Ze(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(S.displayName||S.name||S,"`.")),Ze(h===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}function F5(e,t){if(e){var n=function r(o){for(var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,i=0;i<o.length;i++){var s=o[i];if(s[t==null?void 0:t.value]===null)return Ze(!1,"`value` in Select options should not be `null`."),!0;if(!a&&Array.isArray(s[t==null?void 0:t.options])&&r(s[t==null?void 0:t.options],!0))break}};n(e)}}var R5=["id","mode","prefixCls","backfill","fieldNames","inputValue","searchValue","onSearch","autoClearSearchValue","onSelect","onDeselect","dropdownMatchSelectWidth","filterOption","filterSort","optionFilterProp","optionLabelProp","options","optionRender","children","defaultActiveFirstOption","menuItemSelectedIcon","virtual","direction","listHeight","listItemHeight","labelRender","value","defaultValue","labelInValue","onChange","maxCount"],B5=["inputValue"];function V5(e){return!e||Ae(e)!=="object"}var Kb=u.forwardRef(function(e,t){var n=e.id,r=e.mode,o=e.prefixCls,a=o===void 0?"rc-select":o,i=e.backfill,s=e.fieldNames,l=e.inputValue,c=e.searchValue,d=e.onSearch,f=e.autoClearSearchValue,m=f===void 0?!0:f,p=e.onSelect,h=e.onDeselect,v=e.dropdownMatchSelectWidth,g=v===void 0?!0:v,b=e.filterOption,y=e.filterSort,x=e.optionFilterProp,C=e.optionLabelProp,S=e.options,$=e.optionRender,k=e.children,E=e.defaultActiveFirstOption,I=e.menuItemSelectedIcon,N=e.virtual,P=e.direction,T=e.listHeight,j=T===void 0?200:T,_=e.listItemHeight,M=_===void 0?20:_,z=e.labelRender,A=e.value,D=e.defaultValue,W=e.labelInValue,U=e.onChange,q=e.maxCount,B=Qe(e,R5),L=j5(n),V=Ll(r),H=!!(!S&&k),X=u.useMemo(function(){return b===void 0&&r==="combobox"?!1:b},[b,r]),ie=u.useMemo(function(){return jb(s,H)},[JSON.stringify(s),H]),K=sn("",{value:c!==void 0?c:l,postState:function(pe){return pe||""}}),ee=Q(K,2),te=ee[0],Y=ee[1],J=D5(S,k,ie,x,C),ae=J.valueOptions,Z=J.labelOptions,oe=J.options,re=u.useCallback(function(ke){var pe=yf(ke);return pe.map(function(me){var xe,Fe,je,ct,Ct;if(V5(me))xe=me;else{var Tt;je=me.key,Fe=me.label,xe=(Tt=me.value)!==null&&Tt!==void 0?Tt:je}var ut=ae.get(xe);if(ut){var Vt;if(Fe===void 0&&(Fe=ut==null?void 0:ut[C||ie.label]),je===void 0&&(je=(Vt=ut==null?void 0:ut.key)!==null&&Vt!==void 0?Vt:xe),ct=ut==null?void 0:ut.disabled,Ct=ut==null?void 0:ut.title,process.env.NODE_ENV!=="production"&&!C){var Bt=ut==null?void 0:ut[ie.label];Bt!==void 0&&!u.isValidElement(Bt)&&!u.isValidElement(Fe)&&Bt!==Fe&&Ze(!1,"`label` of `value` is not same as `label` in Select options.")}}return{label:Fe,value:xe,key:je,disabled:ct,title:Ct}})},[ie,C,ae]),ce=sn(D,{value:A}),se=Q(ce,2),ue=se[0],he=se[1],de=u.useMemo(function(){var ke,pe=V&&ue===null?[]:ue,me=re(pe);return r==="combobox"&&RN((ke=me[0])===null||ke===void 0?void 0:ke.value)?[]:me},[ue,re,r,V]),ye=N5(de,ae),be=Q(ye,2),le=be[0],Ce=be[1],Le=u.useMemo(function(){if(!r&&le.length===1){var ke=le[0];if(ke.value===null&&(ke.label===null||ke.label===void 0))return[]}return le.map(function(pe){var me;return R(R({},pe),{},{label:(me=typeof z=="function"?z(pe):pe.label)!==null&&me!==void 0?me:pe.value})})},[r,le,z]),We=u.useMemo(function(){return new Set(le.map(function(ke){return ke.value}))},[le]);u.useEffect(function(){if(r==="combobox"){var ke,pe=(ke=le[0])===null||ke===void 0?void 0:ke.value;Y(FN(pe)?String(pe):"")}},[le]);var Me=Gb(function(ke,pe){var me=pe??ke;return F(F({},ie.value,ke),ie.label,me)}),we=u.useMemo(function(){if(r!=="tags")return oe;var ke=ve(oe),pe=function(xe){return ae.has(xe)};return ve(le).sort(function(me,xe){return me.value<xe.value?-1:1}).forEach(function(me){var xe=me.value;pe(xe)||ke.push(Me(xe,me.label))}),ke},[Me,oe,ae,le,r]),Re=P5(we,ie,te,X,x),fe=u.useMemo(function(){return r!=="tags"||!te||Re.some(function(ke){return ke[x||"value"]===te})||Re.some(function(ke){return ke[ie.value]===te})?Re:[Me(te)].concat(ve(Re))},[Me,x,r,Re,te,ie]),qe=function ke(pe){var me=ve(pe).sort(function(xe,Fe){return y(xe,Fe,{searchValue:te})});return me.map(function(xe){return Array.isArray(xe.options)?R(R({},xe),{},{options:xe.options.length>0?ke(xe.options):xe.options}):xe})},Ne=u.useMemo(function(){return y?qe(fe):fe},[fe,y,te]),Ee=u.useMemo(function(){return a5(Ne,{fieldNames:ie,childrenAsData:H})},[Ne,ie,H]),Be=function(pe){var me=re(pe);if(he(me),U&&(me.length!==le.length||me.some(function(je,ct){var Ct;return((Ct=le[ct])===null||Ct===void 0?void 0:Ct.value)!==(je==null?void 0:je.value)}))){var xe=W?me:me.map(function(je){return je.value}),Fe=me.map(function(je){return wf(Ce(je.value))});U(V?xe:xe[0],V?Fe:Fe[0])}},Xe=u.useState(null),Ye=Q(Xe,2),yt=Ye[0],Je=Ye[1],_t=u.useState(0),Lt=Q(_t,2),Ve=Lt[0],Pe=Lt[1],Ge=E!==void 0?E:r!=="combobox",Ie=u.useCallback(function(ke,pe){var me=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},xe=me.source,Fe=xe===void 0?"keyboard":xe;Pe(pe),i&&r==="combobox"&&ke!==null&&Fe==="keyboard"&&Je(String(ke))},[i,r]),Ke=function(pe,me,xe){var Fe=function(){var Ht,nn=Ce(pe);return[W?{label:nn==null?void 0:nn[ie.label],value:pe,key:(Ht=nn==null?void 0:nn.key)!==null&&Ht!==void 0?Ht:pe}:pe,wf(nn)]};if(me&&p){var je=Fe(),ct=Q(je,2),Ct=ct[0],Tt=ct[1];p(Ct,Tt)}else if(!me&&h&&xe!=="clear"){var ut=Fe(),Vt=Q(ut,2),Bt=Vt[0],tn=Vt[1];h(Bt,tn)}},mt=Gb(function(ke,pe){var me,xe=V?pe.selected:!0;xe?me=V?[].concat(ve(le),[ke]):[ke]:me=le.filter(function(Fe){return Fe.value!==ke}),Be(me),Ke(ke,xe),r==="combobox"?Je(""):(!Ll||m)&&(Y(""),Je(""))}),pt=function(pe,me){Be(pe);var xe=me.type,Fe=me.values;(xe==="remove"||xe==="clear")&&Fe.forEach(function(je){Ke(je.value,!1,xe)})},He=function(pe,me){if(Y(pe),Je(null),me.source==="submit"){var xe=(pe||"").trim();if(xe){var Fe=Array.from(new Set([].concat(ve(We),[xe])));Be(Fe),Ke(xe,!0),Y("")}return}me.source!=="blur"&&(r==="combobox"&&Be(pe),d==null||d(pe))},et=function(pe){var me=pe;r!=="tags"&&(me=pe.map(function(Fe){var je=Z.get(Fe);return je==null?void 0:je.value}).filter(function(Fe){return Fe!==void 0}));var xe=Array.from(new Set([].concat(ve(We),ve(me))));Be(xe),xe.forEach(function(Fe){Ke(Fe,!0)})},at=u.useMemo(function(){var ke=N!==!1&&g!==!1;return R(R({},J),{},{flattenOptions:Ee,onActiveValue:Ie,defaultActiveFirstOption:Ge,onSelect:mt,menuItemSelectedIcon:I,rawValues:We,fieldNames:ie,virtual:ke,direction:P,listHeight:j,listItemHeight:M,childrenAsData:H,maxCount:q,optionRender:$})},[q,J,Ee,Ie,Ge,mt,I,We,ie,N,g,P,j,M,H,$]);return process.env.NODE_ENV!=="production"&&(L5(e),F5(oe,ie)),u.createElement(Sf.Provider,{value:at},u.createElement(Mb,ge({},B,{id:L,prefixCls:a,ref:t,omitDomProps:B5,mode:r,displayValues:Le,onDisplayValuesChange:pt,direction:P,searchValue:te,onSearch:He,autoClearSearchValue:m,onSearchSplit:et,dropdownMatchSelectWidth:g,OptionList:qb,emptyOptions:!Ee.length,activeValue:yt,activeDescendantId:"".concat(L,"_list_").concat(Ve)})))});process.env.NODE_ENV!=="production"&&(Kb.displayName="Select");var Pf=Kb;Pf.Option=$f,Pf.OptGroup=Ef;function Wa(e,t,n){return G({[`${e}-status-success`]:t==="success",[`${e}-status-warning`]:t==="warning",[`${e}-status-error`]:t==="error",[`${e}-status-validating`]:t==="validating",[`${e}-has-feedback`]:n})}const Ui=(e,t)=>t||e,Xb=()=>{const[,e]=_n(),[t]=mo("Empty"),r=new $t(e.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return u.createElement("svg",{style:r,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},u.createElement("title",null,(t==null?void 0:t.description)||"Empty"),u.createElement("g",{fill:"none",fillRule:"evenodd"},u.createElement("g",{transform:"translate(24 31.67)"},u.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),u.createElement("path",{d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",fill:"#AEB8C2"}),u.createElement("path",{d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",fill:"url(#linearGradient-1)",transform:"translate(13.56)"}),u.createElement("path",{d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",fill:"#F5F5F7"}),u.createElement("path",{d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",fill:"#DCE0E6"})),u.createElement("path",{d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",fill:"#DCE0E6"}),u.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},u.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),u.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))};process.env.NODE_ENV!=="production"&&(Xb.displayName="EmptyImage");const Yb=()=>{const[,e]=_n(),[t]=mo("Empty"),{colorFill:n,colorFillTertiary:r,colorFillQuaternary:o,colorBgContainer:a}=e,{borderColor:i,shadowColor:s,contentColor:l}=w.useMemo(()=>({borderColor:new $t(n).onBackground(a).toHexString(),shadowColor:new $t(r).onBackground(a).toHexString(),contentColor:new $t(o).onBackground(a).toHexString()}),[n,r,o,a]);return u.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},u.createElement("title",null,(t==null?void 0:t.description)||"Empty"),u.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},u.createElement("ellipse",{fill:s,cx:"32",cy:"33",rx:"32",ry:"7"}),u.createElement("g",{fillRule:"nonzero",stroke:i},u.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),u.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:l}))))};process.env.NODE_ENV!=="production"&&(Yb.displayName="SimpleImage");const H5=e=>{const{componentCls:t,margin:n,marginXS:r,marginXL:o,fontSize:a,lineHeight:i}=e;return{[t]:{marginInline:r,fontSize:a,lineHeight:i,textAlign:"center",[`${t}-image`]:{height:e.emptyImgHeight,marginBottom:r,opacity:e.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${t}-description`]:{color:e.colorTextDescription},[`${t}-footer`]:{marginTop:n},"&-normal":{marginBlock:o,color:e.colorTextDescription,[`${t}-description`]:{color:e.colorTextDescription},[`${t}-image`]:{height:e.emptyImgHeightMD}},"&-small":{marginBlock:r,color:e.colorTextDescription,[`${t}-image`]:{height:e.emptyImgHeightSM}}}}},W5=zt("Empty",e=>{const{componentCls:t,controlHeightLG:n,calc:r}=e,o=ft(e,{emptyImgCls:`${t}-img`,emptyImgHeight:r(n).mul(2.5).equal(),emptyImgHeightMD:n,emptyImgHeightSM:r(n).mul(.875).equal()});return H5(o)});var q5=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const Jb=u.createElement(Xb,null),Zb=u.createElement(Yb,null),yo=e=>{var t;const{className:n,rootClassName:r,prefixCls:o,image:a,description:i,children:s,imageStyle:l,style:c,classNames:d,styles:f}=e,m=q5(e,["className","rootClassName","prefixCls","image","description","children","imageStyle","style","classNames","styles"]),{getPrefixCls:p,direction:h,className:v,style:g,classNames:b,styles:y,image:x}=qn("empty"),C=p("empty",o),[S,$,k]=W5(C),[E]=mo("Empty"),I=typeof i<"u"?i:E==null?void 0:E.description,N=typeof I=="string"?I:"empty",P=(t=a??x)!==null&&t!==void 0?t:Jb;let T=null;if(typeof P=="string"?T=u.createElement("img",{draggable:!1,alt:N,src:P}):T=P,process.env.NODE_ENV!=="production"){const j=Et("Empty");[["imageStyle","styles: { image: {} }"]].forEach(([_,M])=>{j.deprecated(!(_ in e),_,M)})}return S(u.createElement("div",Object.assign({className:G($,k,C,v,{[`${C}-normal`]:P===Zb,[`${C}-rtl`]:h==="rtl"},n,r,b.root,d==null?void 0:d.root),style:Object.assign(Object.assign(Object.assign(Object.assign({},y.root),g),f==null?void 0:f.root),c)},m),u.createElement("div",{className:G(`${C}-image`,b.image,d==null?void 0:d.image),style:Object.assign(Object.assign(Object.assign({},l),y.image),f==null?void 0:f.image)},T),I&&u.createElement("div",{className:G(`${C}-description`,b.description,d==null?void 0:d.description),style:Object.assign(Object.assign({},y.description),f==null?void 0:f.description)},I),s&&u.createElement("div",{className:G(`${C}-footer`,b.footer,d==null?void 0:d.footer),style:Object.assign(Object.assign({},y.footer),f==null?void 0:f.footer)},s)))};yo.PRESENTED_IMAGE_DEFAULT=Jb,yo.PRESENTED_IMAGE_SIMPLE=Zb,process.env.NODE_ENV!=="production"&&(yo.displayName="Empty");const U5=e=>{const{componentName:t}=e,{getPrefixCls:n}=w.useContext(Ue),r=n("empty");switch(t){case"Table":case"List":return w.createElement(yo,{image:yo.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return w.createElement(yo,{image:yo.PRESENTED_IMAGE_SIMPLE,className:`${r}-small`});case"Table.filter":return null;default:return w.createElement(yo,null)}},Fl=(e,t,n)=>{var r,o;const{variant:a,[e]:i}=u.useContext(Ue),s=u.useContext(R0),l=i==null?void 0:i.variant;let c;typeof t<"u"?c=t:n===!1?c="borderless":c=(o=(r=s??l)!==null&&r!==void 0?r:a)!==null&&o!==void 0?o:"outlined";const d=p$.includes(c);return[c,d]},G5=e=>{const n={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:e==="scroll"?"scroll":"visible",dynamicInset:!0};return{bottomLeft:Object.assign(Object.assign({},n),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},n),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},n),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},n),{points:["br","tr"],offset:[0,-4]})}};function K5(e,t){return e||G5(t)}const Qb=e=>{const{optionHeight:t,optionFontSize:n,optionLineHeight:r,optionPadding:o}=e;return{position:"relative",display:"block",minHeight:t,padding:o,color:e.colorText,fontWeight:"normal",fontSize:n,lineHeight:r,boxSizing:"border-box"}},X5=e=>{const{antCls:t,componentCls:n}=e,r=`${n}-item`,o=`&${t}-slide-up-enter${t}-slide-up-enter-active`,a=`&${t}-slide-up-appear${t}-slide-up-appear-active`,i=`&${t}-slide-up-leave${t}-slide-up-leave-active`,s=`${n}-dropdown-placement-`,l=`${r}-option-selected`;return[{[`${n}-dropdown`]:Object.assign(Object.assign({},qt(e)),{position:"absolute",top:-9999,zIndex:e.zIndexPopup,boxSizing:"border-box",padding:e.paddingXXS,overflow:"hidden",fontSize:e.fontSize,fontVariant:"initial",backgroundColor:e.colorBgElevated,borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,[`
|
|
194
|
+
${o}${s}bottomLeft,
|
|
195
|
+
${a}${s}bottomLeft
|
|
196
|
+
`]:{animationName:Ld},[`
|
|
197
|
+
${o}${s}topLeft,
|
|
198
|
+
${a}${s}topLeft,
|
|
199
|
+
${o}${s}topRight,
|
|
200
|
+
${a}${s}topRight
|
|
201
|
+
`]:{animationName:Rd},[`${i}${s}bottomLeft`]:{animationName:Fd},[`
|
|
202
|
+
${i}${s}topLeft,
|
|
203
|
+
${i}${s}topRight
|
|
204
|
+
`]:{animationName:Bd},"&-hidden":{display:"none"},[r]:Object.assign(Object.assign({},Qb(e)),{cursor:"pointer",transition:`background ${e.motionDurationSlow} ease`,borderRadius:e.borderRadiusSM,"&-group":{color:e.colorTextDescription,fontSize:e.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},nl),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${r}-option-disabled)`]:{backgroundColor:e.optionActiveBg},[`&-selected:not(${r}-option-disabled)`]:{color:e.optionSelectedColor,fontWeight:e.optionSelectedFontWeight,backgroundColor:e.optionSelectedBg,[`${r}-option-state`]:{color:e.colorPrimary}},"&-disabled":{[`&${r}-option-selected`]:{backgroundColor:e.colorBgContainerDisabled},color:e.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:e.calc(e.controlPaddingHorizontal).mul(2).equal()}},"&-empty":Object.assign(Object.assign({},Qb(e)),{color:e.colorTextDisabled})}),[`${l}:has(+ ${l})`]:{borderEndStartRadius:0,borderEndEndRadius:0,[`& + ${l}`]:{borderStartStartRadius:0,borderStartEndRadius:0}},"&-rtl":{direction:"rtl"}})},ja(e,"slide-up"),ja(e,"slide-down"),El(e,"move-up"),El(e,"move-down")]},Y5=e=>{const{multipleSelectItemHeight:t,paddingXXS:n,lineWidth:r,INTERNAL_FIXED_ITEM_MARGIN:o}=e,a=e.max(e.calc(n).sub(r).equal(),0),i=e.max(e.calc(a).sub(o).equal(),0);return{basePadding:a,containerPadding:i,itemHeight:ne(t),itemLineHeight:ne(e.calc(t).sub(e.calc(e.lineWidth).mul(2)).equal())}},J5=e=>{const{multipleSelectItemHeight:t,selectHeight:n,lineWidth:r}=e;return e.calc(n).sub(t).div(2).sub(r).equal()},Z5=e=>{const{componentCls:t,iconCls:n,borderRadiusSM:r,motionDurationSlow:o,paddingXS:a,multipleItemColorDisabled:i,multipleItemBorderColorDisabled:s,colorIcon:l,colorIconHover:c,INTERNAL_FIXED_ITEM_MARGIN:d}=e;return{[`${t}-selection-overflow`]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"calc(100% - 4px)",display:"inline-flex"},[`${t}-selection-item`]:{display:"flex",alignSelf:"center",flex:"none",boxSizing:"border-box",maxWidth:"100%",marginBlock:d,borderRadius:r,cursor:"default",transition:`font-size ${o}, line-height ${o}, height ${o}`,marginInlineEnd:e.calc(d).mul(2).equal(),paddingInlineStart:a,paddingInlineEnd:e.calc(a).div(2).equal(),[`${t}-disabled&`]:{color:i,borderColor:s,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:e.calc(a).div(2).equal(),overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},Sa()),{display:"inline-flex",alignItems:"center",color:l,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${n}`]:{verticalAlign:"-0.2em"},"&:hover":{color:c}})}}}},Q5=(e,t)=>{const{componentCls:n,INTERNAL_FIXED_ITEM_MARGIN:r}=e,o=`${n}-selection-overflow`,a=e.multipleSelectItemHeight,i=J5(e),s=t?`${n}-${t}`:"",l=Y5(e);return{[`${n}-multiple${s}`]:Object.assign(Object.assign({},Z5(e)),{[`${n}-selector`]:{display:"flex",alignItems:"center",width:"100%",height:"100%",paddingInline:l.basePadding,paddingBlock:l.containerPadding,borderRadius:e.borderRadius,[`${n}-disabled&`]:{background:e.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${ne(r)} 0`,lineHeight:ne(a),visibility:"hidden",content:'"\\a0"'}},[`${n}-selection-item`]:{height:l.itemHeight,lineHeight:ne(l.itemLineHeight)},[`${n}-selection-wrap`]:{alignSelf:"flex-start","&:after":{lineHeight:ne(a),marginBlock:r}},[`${n}-prefix`]:{marginInlineStart:e.calc(e.inputPaddingHorizontalBase).sub(l.basePadding).equal()},[`${o}-item + ${o}-item,
|
|
205
|
+
${n}-prefix + ${n}-selection-wrap
|
|
206
|
+
`]:{[`${n}-selection-search`]:{marginInlineStart:0},[`${n}-selection-placeholder`]:{insetInlineStart:0}},[`${o}-item-suffix`]:{minHeight:l.itemHeight,marginBlock:r},[`${n}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:e.calc(e.inputPaddingHorizontalBase).sub(i).equal(),"\n &-input,\n &-mirror\n ":{height:a,fontFamily:e.fontFamily,lineHeight:ne(a),transition:`all ${e.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${n}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:e.calc(e.inputPaddingHorizontalBase).sub(l.basePadding).equal(),insetInlineEnd:e.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${e.motionDurationSlow}`}})}};function _f(e,t){const{componentCls:n}=e,r=t?`${n}-${t}`:"",o={[`${n}-multiple${r}`]:{fontSize:e.fontSize,[`${n}-selector`]:{[`${n}-show-search&`]:{cursor:"text"}},[`
|
|
207
|
+
&${n}-show-arrow ${n}-selector,
|
|
208
|
+
&${n}-allow-clear ${n}-selector
|
|
209
|
+
`]:{paddingInlineEnd:e.calc(e.fontSizeIcon).add(e.controlPaddingHorizontal).equal()}}};return[Q5(e,t),o]}const e6=e=>{const{componentCls:t}=e,n=ft(e,{selectHeight:e.controlHeightSM,multipleSelectItemHeight:e.multipleItemHeightSM,borderRadius:e.borderRadiusSM,borderRadiusSM:e.borderRadiusXS}),r=ft(e,{fontSize:e.fontSizeLG,selectHeight:e.controlHeightLG,multipleSelectItemHeight:e.multipleItemHeightLG,borderRadius:e.borderRadiusLG,borderRadiusSM:e.borderRadius});return[_f(e),_f(n,"sm"),{[`${t}-multiple${t}-sm`]:{[`${t}-selection-placeholder`]:{insetInline:e.calc(e.controlPaddingHorizontalSM).sub(e.lineWidth).equal()},[`${t}-selection-search`]:{marginInlineStart:2}}},_f(r,"lg")]};function Tf(e,t){const{componentCls:n,inputPaddingHorizontalBase:r,borderRadius:o}=e,a=e.calc(e.controlHeight).sub(e.calc(e.lineWidth).mul(2)).equal(),i=t?`${n}-${t}`:"";return{[`${n}-single${i}`]:{fontSize:e.fontSize,height:e.controlHeight,[`${n}-selector`]:Object.assign(Object.assign({},qt(e,!0)),{display:"flex",borderRadius:o,flex:"1 1 auto",[`${n}-selection-wrap:after`]:{lineHeight:ne(a)},[`${n}-selection-search`]:{position:"absolute",inset:0,width:"100%","&-input":{width:"100%",WebkitAppearance:"textfield"}},[`
|
|
210
|
+
${n}-selection-item,
|
|
211
|
+
${n}-selection-placeholder
|
|
212
|
+
`]:{display:"block",padding:0,lineHeight:ne(a),transition:`all ${e.motionDurationSlow}, visibility 0s`,alignSelf:"center"},[`${n}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${n}-selection-item:empty:after`,`${n}-selection-placeholder:empty:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[`
|
|
213
|
+
&${n}-show-arrow ${n}-selection-item,
|
|
214
|
+
&${n}-show-arrow ${n}-selection-search,
|
|
215
|
+
&${n}-show-arrow ${n}-selection-placeholder
|
|
216
|
+
`]:{paddingInlineEnd:e.showArrowPaddingInlineEnd},[`&${n}-open ${n}-selection-item`]:{color:e.colorTextPlaceholder},[`&:not(${n}-customize-input)`]:{[`${n}-selector`]:{width:"100%",height:"100%",alignItems:"center",padding:`0 ${ne(r)}`,[`${n}-selection-search-input`]:{height:a,fontSize:e.fontSize},"&:after":{lineHeight:ne(a)}}},[`&${n}-customize-input`]:{[`${n}-selector`]:{"&:after":{display:"none"},[`${n}-selection-search`]:{position:"static",width:"100%"},[`${n}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${ne(r)}`,"&:after":{display:"none"}}}}}}}function t6(e){const{componentCls:t}=e,n=e.calc(e.controlPaddingHorizontalSM).sub(e.lineWidth).equal();return[Tf(e),Tf(ft(e,{controlHeight:e.controlHeightSM,borderRadius:e.borderRadiusSM}),"sm"),{[`${t}-single${t}-sm`]:{[`&:not(${t}-customize-input)`]:{[`${t}-selector`]:{padding:`0 ${ne(n)}`},[`&${t}-show-arrow ${t}-selection-search`]:{insetInlineEnd:e.calc(n).add(e.calc(e.fontSize).mul(1.5)).equal()},[`
|
|
217
|
+
&${t}-show-arrow ${t}-selection-item,
|
|
218
|
+
&${t}-show-arrow ${t}-selection-placeholder
|
|
219
|
+
`]:{paddingInlineEnd:e.calc(e.fontSize).mul(1.5).equal()}}}},Tf(ft(e,{controlHeight:e.singleItemHeightLG,fontSize:e.fontSizeLG,borderRadius:e.borderRadiusLG}),"lg")]}const n6=e=>{const{fontSize:t,lineHeight:n,lineWidth:r,controlHeight:o,controlHeightSM:a,controlHeightLG:i,paddingXXS:s,controlPaddingHorizontal:l,zIndexPopupBase:c,colorText:d,fontWeightStrong:f,controlItemBgActive:m,controlItemBgHover:p,colorBgContainer:h,colorFillSecondary:v,colorBgContainerDisabled:g,colorTextDisabled:b,colorPrimaryHover:y,colorPrimary:x,controlOutline:C}=e,S=s*2,$=r*2,k=Math.min(o-S,o-$),E=Math.min(a-S,a-$),I=Math.min(i-S,i-$);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(s/2),zIndexPopup:c+50,optionSelectedColor:d,optionSelectedFontWeight:f,optionSelectedBg:m,optionActiveBg:p,optionPadding:`${(o-t*n)/2}px ${l}px`,optionFontSize:t,optionLineHeight:n,optionHeight:o,selectorBg:h,clearBg:h,singleItemHeightLG:i,multipleItemBg:v,multipleItemBorderColor:"transparent",multipleItemHeight:k,multipleItemHeightSM:E,multipleItemHeightLG:I,multipleSelectorBgDisabled:g,multipleItemColorDisabled:b,multipleItemBorderColorDisabled:"transparent",showArrowPaddingInlineEnd:Math.ceil(e.fontSize*1.25),hoverBorderColor:y,activeBorderColor:x,activeOutlineColor:C,selectAffixPadding:s}},ey=(e,t)=>{const{componentCls:n,antCls:r,controlOutlineWidth:o}=e;return{[`&:not(${n}-customize-input) ${n}-selector`]:{border:`${ne(e.lineWidth)} ${e.lineType} ${t.borderColor}`,background:e.selectorBg},[`&:not(${n}-disabled):not(${n}-customize-input):not(${r}-pagination-size-changer)`]:{[`&:hover ${n}-selector`]:{borderColor:t.hoverBorderHover},[`${n}-focused& ${n}-selector`]:{borderColor:t.activeBorderColor,boxShadow:`0 0 0 ${ne(o)} ${t.activeOutlineColor}`,outline:0},[`${n}-prefix`]:{color:t.color}}}},ty=(e,t)=>({[`&${e.componentCls}-status-${t.status}`]:Object.assign({},ey(e,t))}),r6=e=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign({},ey(e,{borderColor:e.colorBorder,hoverBorderHover:e.hoverBorderColor,activeBorderColor:e.activeBorderColor,activeOutlineColor:e.activeOutlineColor,color:e.colorText})),ty(e,{status:"error",borderColor:e.colorError,hoverBorderHover:e.colorErrorHover,activeBorderColor:e.colorError,activeOutlineColor:e.colorErrorOutline,color:e.colorError})),ty(e,{status:"warning",borderColor:e.colorWarning,hoverBorderHover:e.colorWarningHover,activeBorderColor:e.colorWarning,activeOutlineColor:e.colorWarningOutline,color:e.colorWarning})),{[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{background:e.colorBgContainerDisabled,color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.multipleItemBg,border:`${ne(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}})}),ny=(e,t)=>{const{componentCls:n,antCls:r}=e;return{[`&:not(${n}-customize-input) ${n}-selector`]:{background:t.bg,border:`${ne(e.lineWidth)} ${e.lineType} transparent`,color:t.color},[`&:not(${n}-disabled):not(${n}-customize-input):not(${r}-pagination-size-changer)`]:{[`&:hover ${n}-selector`]:{background:t.hoverBg},[`${n}-focused& ${n}-selector`]:{background:e.selectorBg,borderColor:t.activeBorderColor,outline:0}}}},ry=(e,t)=>({[`&${e.componentCls}-status-${t.status}`]:Object.assign({},ny(e,t))}),o6=e=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign({},ny(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.activeBorderColor,color:e.colorText})),ry(e,{status:"error",bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,color:e.colorError})),ry(e,{status:"warning",bg:e.colorWarningBg,hoverBg:e.colorWarningBgHover,activeBorderColor:e.colorWarning,color:e.colorWarning})),{[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{borderColor:e.colorBorder,background:e.colorBgContainerDisabled,color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.colorBgContainer,border:`${ne(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}})}),a6=e=>({"&-borderless":{[`${e.componentCls}-selector`]:{background:"transparent",border:`${ne(e.lineWidth)} ${e.lineType} transparent`},[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.multipleItemBg,border:`${ne(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`},[`&${e.componentCls}-status-error`]:{[`${e.componentCls}-prefix, ${e.componentCls}-selection-item`]:{color:e.colorError}},[`&${e.componentCls}-status-warning`]:{[`${e.componentCls}-prefix, ${e.componentCls}-selection-item`]:{color:e.colorWarning}}}}),oy=(e,t)=>{const{componentCls:n,antCls:r}=e;return{[`&:not(${n}-customize-input) ${n}-selector`]:{borderWidth:`${ne(e.lineWidth)} 0`,borderStyle:`${e.lineType} none`,borderColor:`transparent transparent ${t.borderColor} transparent`,background:e.selectorBg,borderRadius:0},[`&:not(${n}-disabled):not(${n}-customize-input):not(${r}-pagination-size-changer)`]:{[`&:hover ${n}-selector`]:{borderColor:`transparent transparent ${t.hoverBorderHover} transparent`},[`${n}-focused& ${n}-selector`]:{borderColor:`transparent transparent ${t.activeBorderColor} transparent`,outline:0},[`${n}-prefix`]:{color:t.color}}}},ay=(e,t)=>({[`&${e.componentCls}-status-${t.status}`]:Object.assign({},oy(e,t))}),i6=e=>({"&-underlined":Object.assign(Object.assign(Object.assign(Object.assign({},oy(e,{borderColor:e.colorBorder,hoverBorderHover:e.hoverBorderColor,activeBorderColor:e.activeBorderColor,activeOutlineColor:e.activeOutlineColor,color:e.colorText})),ay(e,{status:"error",borderColor:e.colorError,hoverBorderHover:e.colorErrorHover,activeBorderColor:e.colorError,activeOutlineColor:e.colorErrorOutline,color:e.colorError})),ay(e,{status:"warning",borderColor:e.colorWarning,hoverBorderHover:e.colorWarningHover,activeBorderColor:e.colorWarning,activeOutlineColor:e.colorWarningOutline,color:e.colorWarning})),{[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.multipleItemBg,border:`${ne(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}})}),s6=e=>({[e.componentCls]:Object.assign(Object.assign(Object.assign(Object.assign({},r6(e)),o6(e)),a6(e)),i6(e))}),l6=e=>{const{componentCls:t}=e;return{position:"relative",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,input:{cursor:"pointer"},[`${t}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit",height:"100%"}},[`${t}-disabled&`]:{cursor:"not-allowed",input:{cursor:"not-allowed"}}}},c6=e=>{const{componentCls:t}=e;return{[`${t}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none",fontFamily:"inherit","&::-webkit-search-cancel-button":{display:"none",appearance:"none"}}}},u6=e=>{const{antCls:t,componentCls:n,inputPaddingHorizontalBase:r,iconCls:o}=e,a={[`${n}-clear`]:{opacity:1,background:e.colorBgBase,borderRadius:"50%"}};return{[n]:Object.assign(Object.assign({},qt(e)),{position:"relative",display:"inline-flex",cursor:"pointer",[`&:not(${n}-customize-input) ${n}-selector`]:Object.assign(Object.assign({},l6(e)),c6(e)),[`${n}-selection-item`]:Object.assign(Object.assign({flex:1,fontWeight:"normal",position:"relative",userSelect:"none"},nl),{[`> ${t}-typography`]:{display:"inline"}}),[`${n}-selection-placeholder`]:Object.assign(Object.assign({},nl),{flex:1,color:e.colorTextPlaceholder,pointerEvents:"none"}),[`${n}-arrow`]:Object.assign(Object.assign({},Sa()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:r,height:e.fontSizeIcon,marginTop:e.calc(e.fontSizeIcon).mul(-1).div(2).equal(),color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",transition:`opacity ${e.motionDurationSlow} ease`,[o]:{verticalAlign:"top",transition:`transform ${e.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${n}-suffix)`]:{pointerEvents:"auto"}},[`${n}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${n}-selection-wrap`]:{display:"flex",width:"100%",position:"relative",minWidth:0,"&:after":{content:'"\\a0"',width:0,overflow:"hidden"}},[`${n}-prefix`]:{flex:"none",marginInlineEnd:e.selectAffixPadding},[`${n}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:r,zIndex:1,display:"inline-block",width:e.fontSizeIcon,height:e.fontSizeIcon,marginTop:e.calc(e.fontSizeIcon).mul(-1).div(2).equal(),color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",cursor:"pointer",opacity:0,transition:`color ${e.motionDurationMid} ease, opacity ${e.motionDurationSlow} ease`,textRendering:"auto",transform:"translateZ(0)","&:before":{display:"block"},"&:hover":{color:e.colorIcon}},"@media(hover:none)":a,"&:hover":a}),[`${n}-status`]:{"&-error, &-warning, &-success, &-validating":{[`&${n}-has-feedback`]:{[`${n}-clear`]:{insetInlineEnd:e.calc(r).add(e.fontSize).add(e.paddingXS).equal()}}}}}},d6=e=>{const{componentCls:t}=e;return[{[t]:{[`&${t}-in-form-item`]:{width:"100%"}}},u6(e),t6(e),e6(e),X5(e),{[`${t}-rtl`]:{direction:"rtl"}},Mi(e,{borderElCls:`${t}-selector`,focusElCls:`${t}-focused`})]},f6=zt("Select",(e,{rootPrefixCls:t})=>{const n=ft(e,{rootPrefixCls:t,inputPaddingHorizontalBase:e.calc(e.paddingSM).sub(1).equal(),multipleSelectItemHeight:e.multipleItemHeight,selectHeight:e.controlHeight});return[d6(n),s6(n)]},n6,{unitless:{optionLineHeight:!0,optionSelectedFontWeight:!0}});var m6={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},p6=function(t,n){return u.createElement(Nt,ge({},t,{ref:n,icon:m6}))},iy=u.forwardRef(p6);process.env.NODE_ENV!=="production"&&(iy.displayName="CheckOutlined");var g6={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},h6=function(t,n){return u.createElement(Nt,ge({},t,{ref:n,icon:g6}))},jf=u.forwardRef(h6);process.env.NODE_ENV!=="production"&&(jf.displayName="DownOutlined");var v6={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},b6=function(t,n){return u.createElement(Nt,ge({},t,{ref:n,icon:v6}))},Mf=u.forwardRef(b6);process.env.NODE_ENV!=="production"&&(Mf.displayName="SearchOutlined");function y6({suffixIcon:e,clearIcon:t,menuItemSelectedIcon:n,removeIcon:r,loading:o,multiple:a,hasFeedback:i,prefixCls:s,showSuffixIcon:l,feedbackIcon:c,showArrow:d,componentName:f}){process.env.NODE_ENV!=="production"&&Et(f).deprecated(!t,"clearIcon","allowClear={{ clearIcon: React.ReactNode }}");const m=t??u.createElement(Ia,null),p=b=>e===null&&!i&&!d?null:u.createElement(u.Fragment,null,l!==!1&&b,i&&c);let h=null;if(e!==void 0)h=p(e);else if(o)h=p(u.createElement(Na,{spin:!0}));else{const b=`${s}-suffix`;h=({open:y,showSearch:x})=>p(y&&x?u.createElement(Mf,{className:b}):u.createElement(jf,{className:b}))}let v=null;n!==void 0?v=n:a?v=u.createElement(iy,null):v=null;let g=null;return r!==void 0?g=r:g=u.createElement(Xr,null),{clearIcon:m,suffixIcon:h,itemIcon:v,removeIcon:g}}function C6(e){return w.useMemo(()=>{if(e)return(...t)=>w.createElement(eo,{space:!0},e.apply(void 0,t))},[e])}function x6(e,t){return t!==void 0?t:e!==null}var w6=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const sy="SECRET_COMBOBOX_MODE_DO_NOT_USE",ly=(e,t)=>{var n,r,o,a,i;const{prefixCls:s,bordered:l,className:c,rootClassName:d,getPopupContainer:f,popupClassName:m,dropdownClassName:p,listHeight:h=256,placement:v,listItemHeight:g,size:b,disabled:y,notFoundContent:x,status:C,builtinPlacements:S,dropdownMatchSelectWidth:$,popupMatchSelectWidth:k,direction:E,style:I,allowClear:N,variant:P,dropdownStyle:T,transitionName:j,tagRender:_,maxCount:M,prefix:z,dropdownRender:A,popupRender:D,onDropdownVisibleChange:W,onOpenChange:U,styles:q,classNames:B}=e,L=w6(e,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear","variant","dropdownStyle","transitionName","tagRender","maxCount","prefix","dropdownRender","popupRender","onDropdownVisibleChange","onOpenChange","styles","classNames"]),{getPopupContainer:V,getPrefixCls:H,renderEmpty:X,direction:ie,virtual:K,popupMatchSelectWidth:ee,popupOverflow:te}=u.useContext(Ue),{showSearch:Y,style:J,styles:ae,className:Z,classNames:oe}=qn("select"),[,re]=_n(),ce=g??(re==null?void 0:re.controlHeight),se=H("select",s),ue=H(),he=E??ie,{compactSize:de,compactItemClassnames:ye}=ho(se,he),[be,le]=Fl("select",P,l),Ce=ln(se),[Le,We,Me]=f6(se,Ce),we=u.useMemo(()=>{const{mode:xe}=e;if(xe!=="combobox")return xe===sy?"combobox":xe},[e.mode]),Re=we==="multiple"||we==="tags",fe=x6(e.suffixIcon,e.showArrow),qe=(n=k??$)!==null&&n!==void 0?n:ee,Ne=((r=q==null?void 0:q.popup)===null||r===void 0?void 0:r.root)||((o=ae.popup)===null||o===void 0?void 0:o.root)||T,Ee=C6(D||A),Be=U||W,{status:Xe,hasFeedback:Ye,isFormItemInput:yt,feedbackIcon:Je}=u.useContext(bn),_t=Ui(Xe,C);let Lt;x!==void 0?Lt=x:we==="combobox"?Lt=null:Lt=(X==null?void 0:X("Select"))||u.createElement(U5,{componentName:"Select"});const{suffixIcon:Ve,itemIcon:Pe,removeIcon:Ge,clearIcon:Ie}=y6(Object.assign(Object.assign({},L),{multiple:Re,hasFeedback:Ye,feedbackIcon:Je,showSuffixIcon:fe,prefixCls:se,componentName:"Select"})),Ke=N===!0?{clearIcon:Ie}:N,mt=cn(L,["suffixIcon","itemIcon"]),pt=G(((a=B==null?void 0:B.popup)===null||a===void 0?void 0:a.root)||((i=oe==null?void 0:oe.popup)===null||i===void 0?void 0:i.root)||m||p,{[`${se}-dropdown-${he}`]:he==="rtl"},d,oe.root,B==null?void 0:B.root,Me,Ce,We),He=Kn(xe=>{var Fe;return(Fe=b??de)!==null&&Fe!==void 0?Fe:xe}),et=u.useContext(Un),at=y??et,ke=G({[`${se}-lg`]:He==="large",[`${se}-sm`]:He==="small",[`${se}-rtl`]:he==="rtl",[`${se}-${be}`]:le,[`${se}-in-form-item`]:yt},Wa(se,_t,Ye),ye,Z,c,oe.root,B==null?void 0:B.root,d,Me,Ce,We),pe=u.useMemo(()=>v!==void 0?v:he==="rtl"?"bottomRight":"bottomLeft",[v,he]);if(process.env.NODE_ENV!=="production"){const xe=Et("Select");Object.entries({dropdownMatchSelectWidth:"popupMatchSelectWidth",dropdownStyle:"styles.popup.root",dropdownClassName:"classNames.popup.root",popupClassName:"classNames.popup.root",dropdownRender:"popupRender",onDropdownVisibleChange:"onOpenChange",bordered:"variant"}).forEach(([je,ct])=>{xe.deprecated(!(je in e),je,ct)}),process.env.NODE_ENV!=="production"&&xe(!("showArrow"in e),"deprecated","`showArrow` is deprecated which will be removed in next major version. It will be a default behavior, you can hide it by setting `suffixIcon` to null."),process.env.NODE_ENV!=="production"&&xe(!(typeof M<"u"&&!Re),"usage","`maxCount` only works with mode `multiple` or `tags`")}const[me]=_a("SelectLike",Ne==null?void 0:Ne.zIndex);return Le(u.createElement(Pf,Object.assign({ref:t,virtual:K,showSearch:Y},mt,{style:Object.assign(Object.assign(Object.assign(Object.assign({},ae.root),q==null?void 0:q.root),J),I),dropdownMatchSelectWidth:qe,transitionName:Jr(ue,"slide-up",j),builtinPlacements:K5(S,te),listHeight:h,listItemHeight:ce,mode:we,prefixCls:se,placement:pe,direction:he,prefix:z,suffixIcon:Ve,menuItemSelectedIcon:Pe,removeIcon:Ge,allowClear:Ke,notFoundContent:Lt,className:ke,getPopupContainer:f||V,dropdownClassName:pt,disabled:at,dropdownStyle:Object.assign(Object.assign({},Ne),{zIndex:me}),maxCount:Re?M:void 0,tagRender:Re?_:void 0,dropdownRender:Ee,onDropdownVisibleChange:Be})))};process.env.NODE_ENV!=="production"&&(ly.displayName="Select");const En=u.forwardRef(ly),S6=db(En,"dropdownAlign");En.SECRET_COMBOBOX_MODE_DO_NOT_USE=sy,En.Option=$f,En.OptGroup=Ef,En._InternalPanelDoNotUseOrYouWillBeFired=S6,process.env.NODE_ENV!=="production"&&(En.displayName="Select");const cy=(e,t)=>{typeof(e==null?void 0:e.addEventListener)<"u"?e.addEventListener("change",t):typeof(e==null?void 0:e.addListener)<"u"&&e.addListener(t)},uy=(e,t)=>{typeof(e==null?void 0:e.removeEventListener)<"u"?e.removeEventListener("change",t):typeof(e==null?void 0:e.removeListener)<"u"&&e.removeListener(t)},qa=["xxl","xl","lg","md","sm","xs"],E6=e=>({xs:`(max-width: ${e.screenXSMax}px)`,sm:`(min-width: ${e.screenSM}px)`,md:`(min-width: ${e.screenMD}px)`,lg:`(min-width: ${e.screenLG}px)`,xl:`(min-width: ${e.screenXL}px)`,xxl:`(min-width: ${e.screenXXL}px)`}),$6=e=>{const t=e,n=[].concat(qa).reverse();return n.forEach((r,o)=>{const a=r.toUpperCase(),i=`screen${a}Min`,s=`screen${a}`;if(!(t[i]<=t[s]))throw new Error(`${i}<=${s} fails : !(${t[i]}<=${t[s]})`);if(o<n.length-1){const l=`screen${a}Max`;if(!(t[s]<=t[l]))throw new Error(`${s}<=${l} fails : !(${t[s]}<=${t[l]})`);const d=`screen${n[o+1].toUpperCase()}Min`;if(!(t[l]<=t[d]))throw new Error(`${l}<=${d} fails : !(${t[l]}<=${t[d]})`)}}),e},k6=()=>{const[,e]=_n(),t=E6($6(e));return w.useMemo(()=>{const n=new Map;let r=-1,o={};return{responsiveMap:t,matchHandlers:{},dispatch(a){return o=a,n.forEach(i=>i(o)),n.size>=1},subscribe(a){return n.size||this.register(),r+=1,n.set(r,a),a(o),r},unsubscribe(a){n.delete(a),n.size||this.unregister()},register(){Object.entries(t).forEach(([a,i])=>{const s=({matches:c})=>{this.dispatch(Object.assign(Object.assign({},o),{[a]:c}))},l=window.matchMedia(i);cy(l,s),this.matchHandlers[i]={mql:l,listener:s},s(l)})},unregister(){Object.values(t).forEach(a=>{const i=this.matchHandlers[a];uy(i==null?void 0:i.mql,i==null?void 0:i.listener)}),n.clear()}}},[t])};function dy(e=!0,t={}){const n=w.useRef(t),[,r]=aO(),o=k6();return It(()=>{const a=o.subscribe(i=>{n.current=i,e&&r()});return()=>o.unsubscribe(a)},[]),n.current}const zf=u.createContext({}),O6=e=>{const{antCls:t,componentCls:n,iconCls:r,avatarBg:o,avatarColor:a,containerSize:i,containerSizeLG:s,containerSizeSM:l,textFontSize:c,textFontSizeLG:d,textFontSizeSM:f,iconFontSize:m,iconFontSizeLG:p,iconFontSizeSM:h,borderRadius:v,borderRadiusLG:g,borderRadiusSM:b,lineWidth:y,lineType:x}=e,C=(S,$,k,E)=>({width:S,height:S,borderRadius:"50%",fontSize:$,[`&${n}-square`]:{borderRadius:E},[`&${n}-icon`]:{fontSize:k,[`> ${r}`]:{margin:0}}});return{[n]:Object.assign(Object.assign(Object.assign(Object.assign({},qt(e)),{position:"relative",display:"inline-flex",justifyContent:"center",alignItems:"center",overflow:"hidden",color:a,whiteSpace:"nowrap",textAlign:"center",verticalAlign:"middle",background:o,border:`${ne(y)} ${x} transparent`,"&-image":{background:"transparent"},[`${t}-image-img`]:{display:"block"}}),C(i,c,m,v)),{"&-lg":Object.assign({},C(s,d,p,g)),"&-sm":Object.assign({},C(l,f,h,b)),"> img":{display:"block",width:"100%",height:"100%",objectFit:"cover"}})}},I6=e=>{const{componentCls:t,groupBorderColor:n,groupOverlapping:r,groupSpace:o}=e;return{[`${t}-group`]:{display:"inline-flex",[t]:{borderColor:n},"> *:not(:first-child)":{marginInlineStart:r}},[`${t}-group-popover`]:{[`${t} + ${t}`]:{marginInlineStart:o}}}},fy=zt("Avatar",e=>{const{colorTextLightSolid:t,colorTextPlaceholder:n}=e,r=ft(e,{avatarBg:n,avatarColor:t});return[O6(r),I6(r)]},e=>{const{controlHeight:t,controlHeightLG:n,controlHeightSM:r,fontSize:o,fontSizeLG:a,fontSizeXL:i,fontSizeHeading3:s,marginXS:l,marginXXS:c,colorBorderBg:d}=e;return{containerSize:t,containerSizeLG:n,containerSizeSM:r,textFontSize:o,textFontSizeLG:o,textFontSizeSM:o,iconFontSize:Math.round((a+i)/2),iconFontSizeLG:s,iconFontSizeSM:o,groupSpace:c,groupOverlapping:-l,groupBorderColor:d}});var N6=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const Af=u.forwardRef((e,t)=>{const{prefixCls:n,shape:r,size:o,src:a,srcSet:i,icon:s,className:l,rootClassName:c,style:d,alt:f,draggable:m,children:p,crossOrigin:h,gap:v=4,onError:g}=e,b=N6(e,["prefixCls","shape","size","src","srcSet","icon","className","rootClassName","style","alt","draggable","children","crossOrigin","gap","onError"]),[y,x]=u.useState(1),[C,S]=u.useState(!1),[$,k]=u.useState(!0),E=u.useRef(null),I=u.useRef(null),N=wn(t,E),{getPrefixCls:P,avatar:T}=u.useContext(Ue),j=u.useContext(zf),_=()=>{if(!I.current||!E.current)return;const Y=I.current.offsetWidth,J=E.current.offsetWidth;Y!==0&&J!==0&&v*2<J&&x(J-v*2<Y?(J-v*2)/Y:1)};u.useEffect(()=>{S(!0)},[]),u.useEffect(()=>{k(!0),x(1)},[a]),u.useEffect(_,[v]);const M=()=>{(g==null?void 0:g())!==!1&&k(!1)},z=Kn(Y=>{var J,ae;return(ae=(J=o??(j==null?void 0:j.size))!==null&&J!==void 0?J:Y)!==null&&ae!==void 0?ae:"default"}),A=Object.keys(typeof z=="object"?z||{}:{}).some(Y=>["xs","sm","md","lg","xl","xxl"].includes(Y)),D=dy(A),W=u.useMemo(()=>{if(typeof z!="object")return{};const Y=qa.find(ae=>D[ae]),J=z[Y];return J?{width:J,height:J,fontSize:J&&(s||p)?J/2:18}:{}},[D,z,s,p]);if(process.env.NODE_ENV!=="production"){const Y=Et("Avatar");process.env.NODE_ENV!=="production"&&Y(!(typeof s=="string"&&s.length>2),"breaking",`\`icon\` is using ReactNode instead of string naming in v4. Please check \`${s}\` at https://ant.design/components/icon`)}const U=P("avatar",n),q=ln(U),[B,L,V]=fy(U,q),H=G({[`${U}-lg`]:z==="large",[`${U}-sm`]:z==="small"}),X=u.isValidElement(a),ie=r||(j==null?void 0:j.shape)||"circle",K=G(U,H,T==null?void 0:T.className,`${U}-${ie}`,{[`${U}-image`]:X||a&&$,[`${U}-icon`]:!!s},V,q,l,c,L),ee=typeof z=="number"?{width:z,height:z,fontSize:s?z/2:18}:{};let te;if(typeof a=="string"&&$)te=u.createElement("img",{src:a,draggable:m,srcSet:i,onError:M,alt:f,crossOrigin:h});else if(X)te=a;else if(s)te=s;else if(C||y!==1){const Y=`scale(${y})`,J={msTransform:Y,WebkitTransform:Y,transform:Y};te=u.createElement(_r,{onResize:_},u.createElement("span",{className:`${U}-string`,ref:I,style:J},p))}else te=u.createElement("span",{className:`${U}-string`,style:{opacity:0},ref:I},p);return B(u.createElement("span",Object.assign({},b,{style:Object.assign(Object.assign(Object.assign(Object.assign({},ee),W),T==null?void 0:T.style),d),className:K,ref:N}),te))});process.env.NODE_ENV!=="production"&&(Af.displayName="Avatar");const Rl=e=>e?typeof e=="function"?e():e:null;function Df(e){var t=e.children,n=e.prefixCls,r=e.id,o=e.overlayInnerStyle,a=e.bodyClassName,i=e.className,s=e.style;return u.createElement("div",{className:G("".concat(n,"-content"),i),style:s},u.createElement("div",{className:G("".concat(n,"-inner"),a),id:r,role:"tooltip",style:o},typeof t=="function"?t():t))}var Ua={shiftX:64,adjustY:1},Ga={adjustX:1,shiftY:!0},cr=[0,0],P6={left:{points:["cr","cl"],overflow:Ga,offset:[-4,0],targetOffset:cr},right:{points:["cl","cr"],overflow:Ga,offset:[4,0],targetOffset:cr},top:{points:["bc","tc"],overflow:Ua,offset:[0,-4],targetOffset:cr},bottom:{points:["tc","bc"],overflow:Ua,offset:[0,4],targetOffset:cr},topLeft:{points:["bl","tl"],overflow:Ua,offset:[0,-4],targetOffset:cr},leftTop:{points:["tr","tl"],overflow:Ga,offset:[-4,0],targetOffset:cr},topRight:{points:["br","tr"],overflow:Ua,offset:[0,-4],targetOffset:cr},rightTop:{points:["tl","tr"],overflow:Ga,offset:[4,0],targetOffset:cr},bottomRight:{points:["tr","br"],overflow:Ua,offset:[0,4],targetOffset:cr},rightBottom:{points:["bl","br"],overflow:Ga,offset:[4,0],targetOffset:cr},bottomLeft:{points:["tl","bl"],overflow:Ua,offset:[0,4],targetOffset:cr},leftBottom:{points:["br","bl"],overflow:Ga,offset:[-4,0],targetOffset:cr}},_6=["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow","classNames","styles"],T6=function(t,n){var r=t.overlayClassName,o=t.trigger,a=o===void 0?["hover"]:o,i=t.mouseEnterDelay,s=i===void 0?0:i,l=t.mouseLeaveDelay,c=l===void 0?.1:l,d=t.overlayStyle,f=t.prefixCls,m=f===void 0?"rc-tooltip":f,p=t.children,h=t.onVisibleChange,v=t.afterVisibleChange,g=t.transitionName,b=t.animation,y=t.motion,x=t.placement,C=x===void 0?"right":x,S=t.align,$=S===void 0?{}:S,k=t.destroyTooltipOnHide,E=k===void 0?!1:k,I=t.defaultVisible,N=t.getTooltipContainer,P=t.overlayInnerStyle;t.arrowContent;var T=t.overlay,j=t.id,_=t.showArrow,M=_===void 0?!0:_,z=t.classNames,A=t.styles,D=Qe(t,_6),W=Di(j),U=w.useRef(null);w.useImperativeHandle(n,function(){return U.current});var q=R({},D);"visible"in t&&(q.popupVisible=t.visible);var B=function(){return u.createElement(Df,{key:"content",prefixCls:m,id:W,bodyClassName:z==null?void 0:z.body,overlayInnerStyle:R(R({},P),A==null?void 0:A.body)},T)},L=function(){var H=u.Children.only(p),X=(H==null?void 0:H.props)||{},ie=R(R({},X),{},{"aria-describedby":T?W:null});return u.cloneElement(p,ie)};return u.createElement(Dl,ge({popupClassName:G(r,z==null?void 0:z.root),prefixCls:m,popup:B,action:a,builtinPlacements:P6,popupPlacement:C,ref:U,popupAlign:$,getPopupContainer:N,onPopupVisibleChange:h,afterPopupVisibleChange:v,popupTransitionName:g,popupAnimation:b,popupMotion:y,defaultPopupVisible:I,autoDestroy:E,mouseLeaveDelay:c,popupStyle:R(R({},d),A==null?void 0:A.root),mouseEnterDelay:s,arrow:M},q),L())};const j6=w.forwardRef(T6);function Lf(e){const{sizePopupArrow:t,borderRadiusXS:n,borderRadiusOuter:r}=e,o=t/2,a=0,i=o,s=r*1/Math.sqrt(2),l=o-r*(1-1/Math.sqrt(2)),c=o-n*(1/Math.sqrt(2)),d=r*(Math.sqrt(2)-1)+n*(1/Math.sqrt(2)),f=2*o-c,m=d,p=2*o-s,h=l,v=2*o-a,g=i,b=o*Math.sqrt(2)+r*(Math.sqrt(2)-2),y=r*(Math.sqrt(2)-1),x=`polygon(${y}px 100%, 50% ${y}px, ${2*o-y}px 100%, ${y}px 100%)`,C=`path('M ${a} ${i} A ${r} ${r} 0 0 0 ${s} ${l} L ${c} ${d} A ${n} ${n} 0 0 1 ${f} ${m} L ${p} ${h} A ${r} ${r} 0 0 0 ${v} ${g} Z')`;return{arrowShadowWidth:b,arrowPath:C,arrowPolygon:x}}const M6=(e,t,n)=>{const{sizePopupArrow:r,arrowPolygon:o,arrowPath:a,arrowShadowWidth:i,borderRadiusXS:s,calc:l}=e;return{pointerEvents:"none",width:r,height:r,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:r,height:l(r).div(2).equal(),background:t,clipPath:{_multi_value_:!0,value:[o,a]},content:'""'},"&::after":{content:'""',position:"absolute",width:i,height:i,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${ne(s)} 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:n,zIndex:0,background:"transparent"}}},my=8;function Bl(e){const{contentRadius:t,limitVerticalRadius:n}=e,r=t>12?t+2:12;return{arrowOffsetHorizontal:r,arrowOffsetVertical:n?my:r}}function Vl(e,t){return e?t:{}}function Ff(e,t,n){const{componentCls:r,boxShadowPopoverArrow:o,arrowOffsetVertical:a,arrowOffsetHorizontal:i}=e,{arrowDistance:s=0,arrowPlacement:l={left:!0,right:!0,top:!0,bottom:!0}}=n||{};return{[r]:Object.assign(Object.assign(Object.assign(Object.assign({[`${r}-arrow`]:[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},M6(e,t,o)),{"&:before":{background:t}})]},Vl(!!l.top,{[[`&-placement-top > ${r}-arrow`,`&-placement-topLeft > ${r}-arrow`,`&-placement-topRight > ${r}-arrow`].join(",")]:{bottom:s,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top > ${r}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},"&-placement-topLeft":{"--arrow-offset-horizontal":i,[`> ${r}-arrow`]:{left:{_skip_check_:!0,value:i}}},"&-placement-topRight":{"--arrow-offset-horizontal":`calc(100% - ${ne(i)})`,[`> ${r}-arrow`]:{right:{_skip_check_:!0,value:i}}}})),Vl(!!l.bottom,{[[`&-placement-bottom > ${r}-arrow`,`&-placement-bottomLeft > ${r}-arrow`,`&-placement-bottomRight > ${r}-arrow`].join(",")]:{top:s,transform:"translateY(-100%)"},[`&-placement-bottom > ${r}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},"&-placement-bottomLeft":{"--arrow-offset-horizontal":i,[`> ${r}-arrow`]:{left:{_skip_check_:!0,value:i}}},"&-placement-bottomRight":{"--arrow-offset-horizontal":`calc(100% - ${ne(i)})`,[`> ${r}-arrow`]:{right:{_skip_check_:!0,value:i}}}})),Vl(!!l.left,{[[`&-placement-left > ${r}-arrow`,`&-placement-leftTop > ${r}-arrow`,`&-placement-leftBottom > ${r}-arrow`].join(",")]:{right:{_skip_check_:!0,value:s},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left > ${r}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop > ${r}-arrow`]:{top:a},[`&-placement-leftBottom > ${r}-arrow`]:{bottom:a}})),Vl(!!l.right,{[[`&-placement-right > ${r}-arrow`,`&-placement-rightTop > ${r}-arrow`,`&-placement-rightBottom > ${r}-arrow`].join(",")]:{left:{_skip_check_:!0,value:s},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right > ${r}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop > ${r}-arrow`]:{top:a},[`&-placement-rightBottom > ${r}-arrow`]:{bottom:a}}))}}function z6(e,t,n,r){if(r===!1)return{adjustX:!1,adjustY:!1};const o=r&&typeof r=="object"?r:{},a={};switch(e){case"top":case"bottom":a.shiftX=t.arrowOffsetHorizontal*2+n,a.shiftY=!0,a.adjustY=!0;break;case"left":case"right":a.shiftY=t.arrowOffsetVertical*2+n,a.shiftX=!0,a.adjustX=!0;break}const i=Object.assign(Object.assign({},a),o);return i.shiftX||(i.adjustX=!0),i.shiftY||(i.adjustY=!0),i}const py={left:{points:["cr","cl"]},right:{points:["cl","cr"]},top:{points:["bc","tc"]},bottom:{points:["tc","bc"]},topLeft:{points:["bl","tl"]},leftTop:{points:["tr","tl"]},topRight:{points:["br","tr"]},rightTop:{points:["tl","tr"]},bottomRight:{points:["tr","br"]},rightBottom:{points:["bl","br"]},bottomLeft:{points:["tl","bl"]},leftBottom:{points:["br","bl"]}},A6={topLeft:{points:["bl","tc"]},leftTop:{points:["tr","cl"]},topRight:{points:["br","tc"]},rightTop:{points:["tl","cr"]},bottomRight:{points:["tr","bc"]},rightBottom:{points:["bl","cr"]},bottomLeft:{points:["tl","bc"]},leftBottom:{points:["br","cl"]}},D6=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);function gy(e){const{arrowWidth:t,autoAdjustOverflow:n,arrowPointAtCenter:r,offset:o,borderRadius:a,visibleFirst:i}=e,s=t/2,l={},c=Bl({contentRadius:a,limitVerticalRadius:!0});return Object.keys(py).forEach(d=>{const f=r&&A6[d]||py[d],m=Object.assign(Object.assign({},f),{offset:[0,0],dynamicInset:!0});switch(l[d]=m,D6.has(d)&&(m.autoArrow=!1),d){case"top":case"topLeft":case"topRight":m.offset[1]=-s-o;break;case"bottom":case"bottomLeft":case"bottomRight":m.offset[1]=s+o;break;case"left":case"leftTop":case"leftBottom":m.offset[0]=-s-o;break;case"right":case"rightTop":case"rightBottom":m.offset[0]=s+o;break}if(r)switch(d){case"topLeft":case"bottomLeft":m.offset[0]=-c.arrowOffsetHorizontal-s;break;case"topRight":case"bottomRight":m.offset[0]=c.arrowOffsetHorizontal+s;break;case"leftTop":case"rightTop":m.offset[1]=-c.arrowOffsetHorizontal*2+s;break;case"leftBottom":case"rightBottom":m.offset[1]=c.arrowOffsetHorizontal*2-s;break}m.overflow=z6(d,c,t,n),i&&(m.htmlRegion="visibleFirst")}),l}const L6=e=>{const{calc:t,componentCls:n,tooltipMaxWidth:r,tooltipColor:o,tooltipBg:a,tooltipBorderRadius:i,zIndexPopup:s,controlHeight:l,boxShadowSecondary:c,paddingSM:d,paddingXS:f,arrowOffsetHorizontal:m,sizePopupArrow:p}=e,h=t(i).add(p).add(m).equal(),v=t(i).mul(2).add(p).equal();return[{[n]:Object.assign(Object.assign(Object.assign(Object.assign({},qt(e)),{position:"absolute",zIndex:s,display:"block",width:"max-content",maxWidth:r,visibility:"visible","--valid-offset-x":"var(--arrow-offset-horizontal, var(--arrow-x))",transformOrigin:["var(--valid-offset-x, 50%)","var(--arrow-y, 50%)"].join(" "),"&-hidden":{display:"none"},"--antd-arrow-background-color":a,[`${n}-inner`]:{minWidth:v,minHeight:l,padding:`${ne(e.calc(d).div(2).equal())} ${ne(f)}`,color:`var(--ant-tooltip-color, ${o})`,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:a,borderRadius:i,boxShadow:c,boxSizing:"border-box"},[["&-placement-topLeft","&-placement-topRight","&-placement-bottomLeft","&-placement-bottomRight"].join(",")]:{minWidth:h},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${n}-inner`]:{borderRadius:e.min(i,my)}},[`${n}-content`]:{position:"relative"}}),R$(e,(g,{darkColor:b})=>({[`&${n}-${g}`]:{[`${n}-inner`]:{backgroundColor:b},[`${n}-arrow`]:{"--antd-arrow-background-color":b}}}))),{"&-rtl":{direction:"rtl"}})},Ff(e,"var(--antd-arrow-background-color)"),{[`${n}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow}}]},F6=e=>Object.assign(Object.assign({zIndexPopup:e.zIndexPopupBase+70},Bl({contentRadius:e.borderRadius,limitVerticalRadius:!0})),Lf(ft(e,{borderRadiusOuter:Math.min(e.borderRadiusOuter,4)}))),hy=(e,t=!0)=>zt("Tooltip",r=>{const{borderRadius:o,colorTextLightSolid:a,colorBgSpotlight:i}=r,s=ft(r,{tooltipMaxWidth:250,tooltipColor:a,tooltipBorderRadius:o,tooltipBg:i});return[L6(s),ji(r,"zoom-big-fast")]},F6,{resetStyle:!1,injectStyle:t})(e),R6=po.map(e=>`${e}-inverse`);function B6(e,t=!0){return t?[].concat(ve(R6),ve(po)).includes(e):po.includes(e)}function vy(e,t){const n=B6(t),r=G({[`${e}-${t}`]:t&&n}),o={},a={},i=q4(t).toRgb(),l=(.299*i.r+.587*i.g+.114*i.b)/255<.5?"#FFF":"#000";return t&&!n&&(o.background=t,o["--ant-tooltip-color"]=l,a["--antd-arrow-background-color"]=t),{className:r,overlayStyle:o,arrowStyle:a}}const V6=e=>{const{prefixCls:t,className:n,placement:r="top",title:o,color:a,overlayInnerStyle:i}=e,{getPrefixCls:s}=u.useContext(Ue),l=s("tooltip",t),[c,d,f]=hy(l),m=vy(l,a),p=m.arrowStyle,h=Object.assign(Object.assign({},i),m.overlayStyle),v=G(d,f,l,`${l}-pure`,`${l}-placement-${r}`,n,m.className);return c(u.createElement("div",{className:v,style:p},u.createElement("div",{className:`${l}-arrow`}),u.createElement(Df,Object.assign({},e,{className:d,prefixCls:l,overlayInnerStyle:h}),o)))};var H6=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const Co=u.forwardRef((e,t)=>{var n,r;const{prefixCls:o,openClassName:a,getTooltipContainer:i,color:s,overlayInnerStyle:l,children:c,afterOpenChange:d,afterVisibleChange:f,destroyTooltipOnHide:m,destroyOnHidden:p,arrow:h=!0,title:v,overlay:g,builtinPlacements:b,arrowPointAtCenter:y=!1,autoAdjustOverflow:x=!0,motion:C,getPopupContainer:S,placement:$="top",mouseEnterDelay:k=.1,mouseLeaveDelay:E=.1,overlayStyle:I,rootClassName:N,overlayClassName:P,styles:T,classNames:j}=e,_=H6(e,["prefixCls","openClassName","getTooltipContainer","color","overlayInnerStyle","children","afterOpenChange","afterVisibleChange","destroyTooltipOnHide","destroyOnHidden","arrow","title","overlay","builtinPlacements","arrowPointAtCenter","autoAdjustOverflow","motion","getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName","overlayClassName","styles","classNames"]),M=!!h,[,z]=_n(),{getPopupContainer:A,getPrefixCls:D,direction:W,className:U,style:q,classNames:B,styles:L}=qn("tooltip"),V=Et("Tooltip"),H=u.useRef(null),X=()=>{var fe;(fe=H.current)===null||fe===void 0||fe.forceAlign()};u.useImperativeHandle(t,()=>{var fe,qe;return{forceAlign:X,forcePopupAlign:()=>{V.deprecated(!1,"forcePopupAlign","forceAlign"),X()},nativeElement:(fe=H.current)===null||fe===void 0?void 0:fe.nativeElement,popupElement:(qe=H.current)===null||qe===void 0?void 0:qe.popupElement}}),process.env.NODE_ENV!=="production"&&([["visible","open"],["defaultVisible","defaultOpen"],["onVisibleChange","onOpenChange"],["afterVisibleChange","afterOpenChange"],["destroyTooltipOnHide","destroyOnHidden"],["arrowPointAtCenter","arrow={{ pointAtCenter: true }}"],["overlayStyle","styles={{ root: {} }}"],["overlayInnerStyle","styles={{ body: {} }}"],["overlayClassName",'classNames={{ root: "" }}']].forEach(([fe,qe])=>{V.deprecated(!(fe in e),fe,qe)}),process.env.NODE_ENV!=="production"&&V(!m||typeof m=="boolean","usage","`destroyTooltipOnHide` no need config `keepParent` anymore. Please use `boolean` value directly."),process.env.NODE_ENV!=="production"&&V(!h||typeof h=="boolean"||!("arrowPointAtCenter"in h),"deprecated","`arrowPointAtCenter` in `arrow` is deprecated. Please use `pointAtCenter` instead."));const[ie,K]=sn(!1,{value:(n=e.open)!==null&&n!==void 0?n:e.visible,defaultValue:(r=e.defaultOpen)!==null&&r!==void 0?r:e.defaultVisible}),ee=!v&&!g&&v!==0,te=fe=>{var qe,Ne;K(ee?!1:fe),ee||((qe=e.onOpenChange)===null||qe===void 0||qe.call(e,fe),(Ne=e.onVisibleChange)===null||Ne===void 0||Ne.call(e,fe))},Y=u.useMemo(()=>{var fe,qe;let Ne=y;return typeof h=="object"&&(Ne=(qe=(fe=h.pointAtCenter)!==null&&fe!==void 0?fe:h.arrowPointAtCenter)!==null&&qe!==void 0?qe:y),b||gy({arrowPointAtCenter:Ne,autoAdjustOverflow:x,arrowWidth:M?z.sizePopupArrow:0,borderRadius:z.borderRadius,offset:z.marginXXS,visibleFirst:!0})},[y,h,b,z]),J=u.useMemo(()=>v===0?v:g||v||"",[g,v]),ae=u.createElement(eo,{space:!0},typeof J=="function"?J():J),Z=D("tooltip",o),oe=D(),re=e["data-popover-inject"];let ce=ie;!("open"in e)&&!("visible"in e)&&ee&&(ce=!1);const se=u.isValidElement(c)&&!mv(c)?c:u.createElement("span",null,c),ue=se.props,he=!ue.className||typeof ue.className=="string"?G(ue.className,a||`${Z}-open`):ue.className,[de,ye,be]=hy(Z,!re),le=vy(Z,s),Ce=le.arrowStyle,Le=G(P,{[`${Z}-rtl`]:W==="rtl"},le.className,N,ye,be,U,B.root,j==null?void 0:j.root),We=G(B.body,j==null?void 0:j.body),[Me,we]=_a("Tooltip",_.zIndex),Re=u.createElement(j6,Object.assign({},_,{zIndex:Me,showArrow:M,placement:$,mouseEnterDelay:k,mouseLeaveDelay:E,prefixCls:Z,classNames:{root:Le,body:We},styles:{root:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Ce),L.root),q),I),T==null?void 0:T.root),body:Object.assign(Object.assign(Object.assign(Object.assign({},L.body),l),T==null?void 0:T.body),le.overlayStyle)},getTooltipContainer:S||i||A,ref:H,builtinPlacements:Y,overlay:ae,visible:ce,onVisibleChange:te,afterVisibleChange:d??f,arrowContent:u.createElement("span",{className:`${Z}-arrow-content`}),motion:{motionName:Jr(oe,"zoom-big-fast",e.transitionName),motionDeadline:1e3},destroyTooltipOnHide:p??!!m}),ce?sr(se,{className:he}):se);return de(u.createElement(Pa.Provider,{value:we},Re))});process.env.NODE_ENV!=="production"&&(Co.displayName="Tooltip"),Co._InternalPanelDoNotUseOrYouWillBeFired=V6;const W6=e=>{const{componentCls:t,popoverColor:n,titleMinWidth:r,fontWeightStrong:o,innerPadding:a,boxShadowSecondary:i,colorTextHeading:s,borderRadiusLG:l,zIndexPopup:c,titleMarginBottom:d,colorBgElevated:f,popoverBg:m,titleBorderBottom:p,innerContentPadding:h,titlePadding:v}=e;return[{[t]:Object.assign(Object.assign({},qt(e)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:c,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text","--valid-offset-x":"var(--arrow-offset-horizontal, var(--arrow-x))",transformOrigin:["var(--valid-offset-x, 50%)","var(--arrow-y, 50%)"].join(" "),"--antd-arrow-background-color":f,width:"max-content",maxWidth:"100vw","&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${t}-content`]:{position:"relative"},[`${t}-inner`]:{backgroundColor:m,backgroundClip:"padding-box",borderRadius:l,boxShadow:i,padding:a},[`${t}-title`]:{minWidth:r,marginBottom:d,color:s,fontWeight:o,borderBottom:p,padding:v},[`${t}-inner-content`]:{color:n,padding:h}})},Ff(e,"var(--antd-arrow-background-color)"),{[`${t}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow,display:"inline-block",[`${t}-content`]:{display:"inline-block"}}}]},q6=e=>{const{componentCls:t}=e;return{[t]:po.map(n=>{const r=e[`${n}6`];return{[`&${t}-${n}`]:{"--antd-arrow-background-color":r,[`${t}-inner`]:{backgroundColor:r},[`${t}-arrow`]:{background:"transparent"}}}})}},by=zt("Popover",e=>{const{colorBgElevated:t,colorText:n}=e,r=ft(e,{popoverBg:t,popoverColor:n});return[W6(r),q6(r),ji(r,"zoom-big")]},e=>{const{lineWidth:t,controlHeight:n,fontHeight:r,padding:o,wireframe:a,zIndexPopupBase:i,borderRadiusLG:s,marginXS:l,lineType:c,colorSplit:d,paddingSM:f}=e,m=n-r,p=m/2,h=m/2-t,v=o;return Object.assign(Object.assign(Object.assign({titleMinWidth:177,zIndexPopup:i+30},Lf(e)),Bl({contentRadius:s,limitVerticalRadius:!0})),{innerPadding:a?0:12,titleMarginBottom:a?0:l,titlePadding:a?`${p}px ${v}px ${h}px`:0,titleBorderBottom:a?`${t}px ${c} ${d}`:"none",innerContentPadding:a?`${f}px ${v}px`:0})},{resetStyle:!1,deprecatedTokens:[["width","titleMinWidth"],["minWidth","titleMinWidth"]]});var U6=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const yy=({title:e,content:t,prefixCls:n})=>!e&&!t?null:u.createElement(u.Fragment,null,e&&u.createElement("div",{className:`${n}-title`},e),t&&u.createElement("div",{className:`${n}-inner-content`},t)),G6=e=>{const{hashId:t,prefixCls:n,className:r,style:o,placement:a="top",title:i,content:s,children:l}=e,c=Rl(i),d=Rl(s),f=G(t,n,`${n}-pure`,`${n}-placement-${a}`,r);return u.createElement("div",{className:f,style:o},u.createElement("div",{className:`${n}-arrow`}),u.createElement(Df,Object.assign({},e,{className:t,prefixCls:n}),l||u.createElement(yy,{prefixCls:n,title:c,content:d})))},K6=e=>{const{prefixCls:t,className:n}=e,r=U6(e,["prefixCls","className"]),{getPrefixCls:o}=u.useContext(Ue),a=o("popover",t),[i,s,l]=by(a);return i(u.createElement(G6,Object.assign({},r,{prefixCls:a,hashId:s,className:G(n,l)})))};var X6=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const Hl=u.forwardRef((e,t)=>{var n,r;const{prefixCls:o,title:a,content:i,overlayClassName:s,placement:l="top",trigger:c="hover",children:d,mouseEnterDelay:f=.1,mouseLeaveDelay:m=.1,onOpenChange:p,overlayStyle:h={},styles:v,classNames:g}=e,b=X6(e,["prefixCls","title","content","overlayClassName","placement","trigger","children","mouseEnterDelay","mouseLeaveDelay","onOpenChange","overlayStyle","styles","classNames"]),{getPrefixCls:y,className:x,style:C,classNames:S,styles:$}=qn("popover"),k=y("popover",o),[E,I,N]=by(k),P=y(),T=G(s,I,N,x,S.root,g==null?void 0:g.root),j=G(S.body,g==null?void 0:g.body),[_,M]=sn(!1,{value:(n=e.open)!==null&&n!==void 0?n:e.visible,defaultValue:(r=e.defaultOpen)!==null&&r!==void 0?r:e.defaultVisible}),z=(q,B)=>{M(q,!0),p==null||p(q,B)},A=q=>{q.keyCode===De.ESC&&z(!1,q)},D=q=>{z(q)},W=Rl(a),U=Rl(i);return E(u.createElement(Co,Object.assign({placement:l,trigger:c,mouseEnterDelay:f,mouseLeaveDelay:m},b,{prefixCls:k,classNames:{root:T,body:j},styles:{root:Object.assign(Object.assign(Object.assign(Object.assign({},$.root),C),h),v==null?void 0:v.root),body:Object.assign(Object.assign({},$.body),v==null?void 0:v.body)},ref:t,open:_,onOpenChange:D,overlay:W||U?u.createElement(yy,{prefixCls:k,title:W,content:U}):null,transitionName:Jr(P,"zoom-big",b.transitionName),"data-popover-inject":!0}),sr(d,{onKeyDown:q=>{var B,L;w.isValidElement(d)&&((L=d==null?void 0:(B=d.props).onKeyDown)===null||L===void 0||L.call(B,q)),A(q)}})))});Hl._InternalPanelDoNotUseOrYouWillBeFired=K6,process.env.NODE_ENV!=="production"&&(Hl.displayName="Popover");const Cy=e=>{const{size:t,shape:n}=u.useContext(zf),r=u.useMemo(()=>({size:e.size||t,shape:e.shape||n}),[e.size,e.shape,t,n]);return u.createElement(zf.Provider,{value:r},e.children)},Y6=e=>{var t,n,r,o;const{getPrefixCls:a,direction:i}=u.useContext(Ue),{prefixCls:s,className:l,rootClassName:c,style:d,maxCount:f,maxStyle:m,size:p,shape:h,maxPopoverPlacement:v,maxPopoverTrigger:g,children:b,max:y}=e;if(process.env.NODE_ENV!=="production"){const j=Et("Avatar.Group");[["maxCount","max={{ count: number }}"],["maxStyle","max={{ style: CSSProperties }}"],["maxPopoverPlacement","max={{ popover: PopoverProps }}"],["maxPopoverTrigger","max={{ popover: PopoverProps }}"]].forEach(([_,M])=>{j.deprecated(!(_ in e),_,M)})}const x=a("avatar",s),C=`${x}-group`,S=ln(x),[$,k,E]=fy(x,S),I=G(C,{[`${C}-rtl`]:i==="rtl"},E,S,l,c,k),N=Hn(b).map((j,_)=>sr(j,{key:`avatar-key-${_}`})),P=(y==null?void 0:y.count)||f,T=N.length;if(P&&P<T){const j=N.slice(0,P),_=N.slice(P,T),M=(y==null?void 0:y.style)||m,z=((t=y==null?void 0:y.popover)===null||t===void 0?void 0:t.trigger)||g||"hover",A=((n=y==null?void 0:y.popover)===null||n===void 0?void 0:n.placement)||v||"top",D=Object.assign(Object.assign({content:_},y==null?void 0:y.popover),{classNames:{root:G(`${C}-popover`,(o=(r=y==null?void 0:y.popover)===null||r===void 0?void 0:r.classNames)===null||o===void 0?void 0:o.root)},placement:A,trigger:z});return j.push(u.createElement(Hl,Object.assign({key:"avatar-popover-key",destroyOnHidden:!0},D),u.createElement(Af,{style:M},`+${T-P}`))),$(u.createElement(Cy,{shape:h,size:p},u.createElement("div",{className:I,style:d},j)))}return $(u.createElement(Cy,{shape:h,size:p},u.createElement("div",{className:I,style:d},N)))},xy=Af;xy.Group=Y6;var J6={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},Z6=function(t,n){return u.createElement(Nt,ge({},t,{ref:n,icon:J6}))},Gi=u.forwardRef(Z6);process.env.NODE_ENV!=="production"&&(Gi.displayName="LeftOutlined");var Q6=De.ESC,eP=De.TAB;function tP(e){var t=e.visible,n=e.triggerRef,r=e.onVisibleChange,o=e.autoFocus,a=e.overlayRef,i=u.useRef(!1),s=function(){if(t){var f,m;(f=n.current)===null||f===void 0||(m=f.focus)===null||m===void 0||m.call(f),r==null||r(!1)}},l=function(){var f;return(f=a.current)!==null&&f!==void 0&&f.focus?(a.current.focus(),i.current=!0,!0):!1},c=function(f){switch(f.keyCode){case Q6:s();break;case eP:{var m=!1;i.current||(m=l()),m?f.preventDefault():s();break}}};u.useEffect(function(){return t?(window.addEventListener("keydown",c),o&&vt(l,3),function(){window.removeEventListener("keydown",c),i.current=!1}):function(){i.current=!1}},[t])}var nP=w.forwardRef(function(e,t){var n=e.overlay,r=e.arrow,o=e.prefixCls,a=w.useMemo(function(){var s;return typeof n=="function"?s=n():s=n,s},[n]),i=wn(t,co(a));return w.createElement(w.Fragment,null,r&&w.createElement("div",{className:"".concat(o,"-arrow")}),w.cloneElement(a,{ref:Br(a)?i:void 0}))}),Ka={adjustX:1,adjustY:1},Xa=[0,0],rP={topLeft:{points:["bl","tl"],overflow:Ka,offset:[0,-4],targetOffset:Xa},top:{points:["bc","tc"],overflow:Ka,offset:[0,-4],targetOffset:Xa},topRight:{points:["br","tr"],overflow:Ka,offset:[0,-4],targetOffset:Xa},bottomLeft:{points:["tl","bl"],overflow:Ka,offset:[0,4],targetOffset:Xa},bottom:{points:["tc","bc"],overflow:Ka,offset:[0,4],targetOffset:Xa},bottomRight:{points:["tr","br"],overflow:Ka,offset:[0,4],targetOffset:Xa}},oP=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function aP(e,t){var n,r=e.arrow,o=r===void 0?!1:r,a=e.prefixCls,i=a===void 0?"rc-dropdown":a,s=e.transitionName,l=e.animation,c=e.align,d=e.placement,f=d===void 0?"bottomLeft":d,m=e.placements,p=m===void 0?rP:m,h=e.getPopupContainer,v=e.showAction,g=e.hideAction,b=e.overlayClassName,y=e.overlayStyle,x=e.visible,C=e.trigger,S=C===void 0?["hover"]:C,$=e.autoFocus,k=e.overlay,E=e.children,I=e.onVisibleChange,N=Qe(e,oP),P=w.useState(),T=Q(P,2),j=T[0],_=T[1],M="visible"in e?x:j,z=w.useRef(null),A=w.useRef(null),D=w.useRef(null);w.useImperativeHandle(t,function(){return z.current});var W=function(K){_(K),I==null||I(K)};tP({visible:M,triggerRef:D,onVisibleChange:W,autoFocus:$,overlayRef:A});var U=function(K){var ee=e.onOverlayClick;_(!1),ee&&ee(K)},q=function(){return w.createElement(nP,{ref:A,overlay:k,prefixCls:i,arrow:o})},B=function(){return typeof k=="function"?q:q()},L=function(){var K=e.minOverlayWidthMatchTrigger,ee=e.alignPoint;return"minOverlayWidthMatchTrigger"in e?K:!ee},V=function(){var K=e.openClassName;return K!==void 0?K:"".concat(i,"-open")},H=w.cloneElement(E,{className:G((n=E.props)===null||n===void 0?void 0:n.className,M&&V()),ref:Br(E)?wn(D,co(E)):void 0}),X=g;return!X&&S.indexOf("contextMenu")!==-1&&(X=["click"]),w.createElement(Dl,ge({builtinPlacements:p},N,{prefixCls:i,ref:z,popupClassName:G(b,F({},"".concat(i,"-show-arrow"),o)),popupStyle:y,action:S,showAction:v,hideAction:X,popupPlacement:f,popupAlign:c,popupTransitionName:s,popupAnimation:l,popupVisible:M,stretch:L()?"minWidth":"",popup:B(),onPopupVisibleChange:W,onPopupClick:U,getPopupContainer:h}),H)}const iP=w.forwardRef(aP),sP=e=>typeof e!="object"&&typeof e!="function"||e===null;var wy=u.createContext(null);function Sy(e,t){return e===void 0?null:"".concat(e,"-").concat(t)}function Ey(e){var t=u.useContext(wy);return Sy(t,e)}var lP=["children","locked"],Sr=u.createContext(null);function cP(e,t){var n=R({},e);return Object.keys(t).forEach(function(r){var o=t[r];o!==void 0&&(n[r]=o)}),n}function Ki(e){var t=e.children,n=e.locked,r=Qe(e,lP),o=u.useContext(Sr),a=fi(function(){return cP(o,r)},[o,r],function(i,s){return!n&&(i[0]!==s[0]||!vi(i[1],s[1],!0))});return u.createElement(Sr.Provider,{value:a},t)}var uP=[],$y=u.createContext(null);function Wl(){return u.useContext($y)}var ky=u.createContext(uP);function Ya(e){var t=u.useContext(ky);return u.useMemo(function(){return e!==void 0?[].concat(ve(t),[e]):t},[t,e])}var Oy=u.createContext(null),Rf=u.createContext({});function Iy(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(yl(e)){var n=e.nodeName.toLowerCase(),r=["input","select","textarea","button"].includes(n)||e.isContentEditable||n==="a"&&!!e.getAttribute("href"),o=e.getAttribute("tabindex"),a=Number(o),i=null;return o&&!Number.isNaN(a)?i=a:r&&i===null&&(i=0),r&&e.disabled&&(i=null),i!==null&&(i>=0||t&&i<0)}return!1}function dP(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=ve(e.querySelectorAll("*")).filter(function(r){return Iy(r,t)});return Iy(e,t)&&n.unshift(e),n}var Bf=De.LEFT,Vf=De.RIGHT,Hf=De.UP,ql=De.DOWN,Ul=De.ENTER,Ny=De.ESC,Xi=De.HOME,Yi=De.END,Py=[Hf,ql,Bf,Vf];function fP(e,t,n,r){var o,a="prev",i="next",s="children",l="parent";if(e==="inline"&&r===Ul)return{inlineTrigger:!0};var c=F(F({},Hf,a),ql,i),d=F(F(F(F({},Bf,n?i:a),Vf,n?a:i),ql,s),Ul,s),f=F(F(F(F(F(F({},Hf,a),ql,i),Ul,s),Ny,l),Bf,n?s:l),Vf,n?l:s),m={inline:c,horizontal:d,vertical:f,inlineSub:c,horizontalSub:f,verticalSub:f},p=(o=m["".concat(e).concat(t?"":"Sub")])===null||o===void 0?void 0:o[r];switch(p){case a:return{offset:-1,sibling:!0};case i:return{offset:1,sibling:!0};case l:return{offset:-1,sibling:!1};case s:return{offset:1,sibling:!1};default:return null}}function mP(e){for(var t=e;t;){if(t.getAttribute("data-menu-list"))return t;t=t.parentElement}return null}function pP(e,t){for(var n=e||document.activeElement;n;){if(t.has(n))return n;n=n.parentElement}return null}function Wf(e,t){var n=dP(e,!0);return n.filter(function(r){return t.has(r)})}function _y(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!e)return null;var o=Wf(e,t),a=o.length,i=o.findIndex(function(s){return n===s});return r<0?i===-1?i=a-1:i-=1:r>0&&(i+=1),i=(i+a)%a,o[i]}var qf=function(t,n){var r=new Set,o=new Map,a=new Map;return t.forEach(function(i){var s=document.querySelector("[data-menu-id='".concat(Sy(n,i),"']"));s&&(r.add(s),a.set(s,i),o.set(i,s))}),{elements:r,key2element:o,element2key:a}};function gP(e,t,n,r,o,a,i,s,l,c){var d=u.useRef(),f=u.useRef();f.current=t;var m=function(){vt.cancel(d.current)};return u.useEffect(function(){return function(){m()}},[]),function(p){var h=p.which;if([].concat(Py,[Ul,Ny,Xi,Yi]).includes(h)){var v=a(),g=qf(v,r),b=g,y=b.elements,x=b.key2element,C=b.element2key,S=x.get(t),$=pP(S,y),k=C.get($),E=fP(e,i(k,!0).length===1,n,h);if(!E&&h!==Xi&&h!==Yi)return;(Py.includes(h)||[Xi,Yi].includes(h))&&p.preventDefault();var I=function(A){if(A){var D=A,W=A.querySelector("a");W!=null&&W.getAttribute("href")&&(D=W);var U=C.get(A);s(U),m(),d.current=vt(function(){f.current===U&&D.focus()})}};if([Xi,Yi].includes(h)||E.sibling||!$){var N;!$||e==="inline"?N=o.current:N=mP($);var P,T=Wf(N,y);h===Xi?P=T[0]:h===Yi?P=T[T.length-1]:P=_y(N,y,$,E.offset),I(P)}else if(E.inlineTrigger)l(k);else if(E.offset>0)l(k,!0),m(),d.current=vt(function(){g=qf(v,r);var z=$.getAttribute("aria-controls"),A=document.getElementById(z),D=_y(A,g.elements);I(D)},5);else if(E.offset<0){var j=i(k,!0),_=j[j.length-2],M=x.get(_);l(_,!1),I(M)}}c==null||c(p)}}function hP(e){Promise.resolve().then(e)}var Uf="__RC_UTIL_PATH_SPLIT__",Ty=function(t){return t.join(Uf)},vP=function(t){return t.split(Uf)},Gf="rc-menu-more";function bP(){var e=u.useState({}),t=Q(e,2),n=t[1],r=w.useRef(new Map),o=w.useRef(new Map),a=u.useState([]),i=Q(a,2),s=i[0],l=i[1],c=w.useRef(0),d=w.useRef(!1),f=function(){d.current||n({})},m=w.useCallback(function(x,C){process.env.NODE_ENV!=="production"&&Ze(!r.current.has(x),"Duplicated key '".concat(x,"' used in Menu by path [").concat(C.join(" > "),"]"));var S=Ty(C);o.current.set(S,x),r.current.set(x,S),c.current+=1;var $=c.current;hP(function(){$===c.current&&f()})},[]),p=w.useCallback(function(x,C){var S=Ty(C);o.current.delete(S),r.current.delete(x)},[]),h=w.useCallback(function(x){l(x)},[]),v=w.useCallback(function(x,C){var S=r.current.get(x)||"",$=vP(S);return C&&s.includes($[0])&&$.unshift(Gf),$},[s]),g=w.useCallback(function(x,C){return x.filter(function(S){return S!==void 0}).some(function(S){var $=v(S,!0);return $.includes(C)})},[v]),b=function(){var C=ve(r.current.keys());return s.length&&C.push(Gf),C},y=w.useCallback(function(x){var C="".concat(r.current.get(x)).concat(Uf),S=new Set;return ve(o.current.keys()).forEach(function($){$.startsWith(C)&&S.add(o.current.get($))}),S},[]);return u.useEffect(function(){return function(){d.current=!0}},[]),{registerPath:m,unregisterPath:p,refreshOverflowKeys:h,isSubPathKey:g,getKeyPath:v,getKeys:b,getSubPathKeys:y}}function Ji(e){var t=u.useRef(e);t.current=e;var n=u.useCallback(function(){for(var r,o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];return(r=t.current)===null||r===void 0?void 0:r.call.apply(r,[t].concat(a))},[]);return e?n:void 0}var yP=Math.random().toFixed(5).toString().slice(2),jy=0;function CP(e){var t=sn(e,{value:e}),n=Q(t,2),r=n[0],o=n[1];return u.useEffect(function(){jy+=1;var a=process.env.NODE_ENV==="test"?"test":"".concat(yP,"-").concat(jy);o("rc-menu-uuid-".concat(a))},[]),r}function My(e,t,n,r){var o=u.useContext(Sr),a=o.activeKey,i=o.onActive,s=o.onInactive,l={active:a===e};return t||(l.onMouseEnter=function(c){n==null||n({key:e,domEvent:c}),i(e)},l.onMouseLeave=function(c){r==null||r({key:e,domEvent:c}),s(e)}),l}function zy(e){var t=u.useContext(Sr),n=t.mode,r=t.rtl,o=t.inlineIndent;if(n!=="inline")return null;var a=e;return r?{paddingRight:a*o}:{paddingLeft:a*o}}function Ay(e){var t=e.icon,n=e.props,r=e.children,o;return t===null||t===!1?null:(typeof t=="function"?o=u.createElement(t,R({},n)):typeof t!="boolean"&&(o=t),o||r||null)}var xP=["item"];function Gl(e){var t=e.item,n=Qe(e,xP);return Object.defineProperty(n,"item",{get:function(){return Ze(!1,"`info.item` is deprecated since we will move to function component that not provides React Node instance in future."),t}}),n}var wP=["title","attribute","elementRef"],SP=["style","className","eventKey","warnKey","disabled","itemIcon","children","role","onMouseEnter","onMouseLeave","onClick","onKeyDown","onFocus"],EP=["active"],$P=(function(e){Hr(n,e);var t=Wr(n);function n(){return Yt(this,n),t.apply(this,arguments)}return Jt(n,[{key:"render",value:function(){var o=this.props,a=o.title,i=o.attribute,s=o.elementRef,l=Qe(o,wP),c=cn(l,["eventKey","popupClassName","popupOffset","onTitleClick"]);return Ze(!i,"`attribute` of Menu.Item is deprecated. Please pass attribute directly."),u.createElement(Mr.Item,ge({},i,{title:typeof a=="string"?a:void 0},c,{ref:s}))}}]),n})(u.Component),kP=u.forwardRef(function(e,t){var n=e.style,r=e.className,o=e.eventKey,a=e.warnKey,i=e.disabled,s=e.itemIcon,l=e.children,c=e.role,d=e.onMouseEnter,f=e.onMouseLeave,m=e.onClick,p=e.onKeyDown,h=e.onFocus,v=Qe(e,SP),g=Ey(o),b=u.useContext(Sr),y=b.prefixCls,x=b.onItemClick,C=b.disabled,S=b.overflowDisabled,$=b.itemIcon,k=b.selectedKeys,E=b.onActive,I=u.useContext(Rf),N=I._internalRenderMenuItem,P="".concat(y,"-item"),T=u.useRef(),j=u.useRef(),_=C||i,M=Rr(t,j),z=Ya(o);process.env.NODE_ENV!=="production"&&a&&Ze(!1,"MenuItem should not leave undefined `key`.");var A=function(te){return{key:o,keyPath:ve(z).reverse(),item:T.current,domEvent:te}},D=s||$,W=My(o,_,d,f),U=W.active,q=Qe(W,EP),B=k.includes(o),L=zy(z.length),V=function(te){if(!_){var Y=A(te);m==null||m(Gl(Y)),x(Y)}},H=function(te){if(p==null||p(te),te.which===De.ENTER){var Y=A(te);m==null||m(Gl(Y)),x(Y)}},X=function(te){E(o),h==null||h(te)},ie={};e.role==="option"&&(ie["aria-selected"]=B);var K=u.createElement($P,ge({ref:T,elementRef:M,role:c===null?"none":c||"menuitem",tabIndex:i?null:-1,"data-menu-id":S&&g?null:g},cn(v,["extra"]),q,ie,{component:"li","aria-disabled":i,style:R(R({},L),n),className:G(P,F(F(F({},"".concat(P,"-active"),U),"".concat(P,"-selected"),B),"".concat(P,"-disabled"),_),r),onClick:V,onKeyDown:H,onFocus:X}),l,u.createElement(Ay,{props:R(R({},e),{},{isSelected:B}),icon:D}));return N&&(K=N(K,e,{selected:B})),K});function OP(e,t){var n=e.eventKey,r=Wl(),o=Ya(n);return u.useEffect(function(){if(r)return r.registerPath(n,o),function(){r.unregisterPath(n,o)}},[o]),r?null:u.createElement(kP,ge({},e,{ref:t}))}const Kl=u.forwardRef(OP);var IP=["className","children"],NP=function(t,n){var r=t.className,o=t.children,a=Qe(t,IP),i=u.useContext(Sr),s=i.prefixCls,l=i.mode,c=i.rtl;return u.createElement("ul",ge({className:G(s,c&&"".concat(s,"-rtl"),"".concat(s,"-sub"),"".concat(s,"-").concat(l==="inline"?"inline":"vertical"),r),role:"menu"},a,{"data-menu-list":!0,ref:n}),o)},Kf=u.forwardRef(NP);Kf.displayName="SubMenuList";function Xf(e,t){return Hn(e).map(function(n,r){if(u.isValidElement(n)){var o,a,i=n.key,s=(o=(a=n.props)===null||a===void 0?void 0:a.eventKey)!==null&&o!==void 0?o:i,l=s==null;l&&(s="tmp_key-".concat([].concat(ve(t),[r]).join("-")));var c={key:s,eventKey:s};return process.env.NODE_ENV!=="production"&&l&&(c.warnKey=!0),u.cloneElement(n,c)}return n})}var Pn={adjustX:1,adjustY:1},PP={topLeft:{points:["bl","tl"],overflow:Pn},topRight:{points:["br","tr"],overflow:Pn},bottomLeft:{points:["tl","bl"],overflow:Pn},bottomRight:{points:["tr","br"],overflow:Pn},leftTop:{points:["tr","tl"],overflow:Pn},leftBottom:{points:["br","bl"],overflow:Pn},rightTop:{points:["tl","tr"],overflow:Pn},rightBottom:{points:["bl","br"],overflow:Pn}},_P={topLeft:{points:["bl","tl"],overflow:Pn},topRight:{points:["br","tr"],overflow:Pn},bottomLeft:{points:["tl","bl"],overflow:Pn},bottomRight:{points:["tr","br"],overflow:Pn},rightTop:{points:["tr","tl"],overflow:Pn},rightBottom:{points:["br","bl"],overflow:Pn},leftTop:{points:["tl","tr"],overflow:Pn},leftBottom:{points:["bl","br"],overflow:Pn}};function Dy(e,t,n){if(t)return t;if(n)return n[e]||n.other}var TP={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"};function jP(e){var t=e.prefixCls,n=e.visible,r=e.children,o=e.popup,a=e.popupStyle,i=e.popupClassName,s=e.popupOffset,l=e.disabled,c=e.mode,d=e.onVisibleChange,f=u.useContext(Sr),m=f.getPopupContainer,p=f.rtl,h=f.subMenuOpenDelay,v=f.subMenuCloseDelay,g=f.builtinPlacements,b=f.triggerSubMenuAction,y=f.forceSubMenuRender,x=f.rootClassName,C=f.motion,S=f.defaultMotions,$=u.useState(!1),k=Q($,2),E=k[0],I=k[1],N=R(p?R({},_P):R({},PP),g),P=TP[c],T=Dy(c,C,S),j=u.useRef(T);c!=="inline"&&(j.current=T);var _=R(R({},j.current),{},{leavedClassName:"".concat(t,"-hidden"),removeOnLeave:!1,motionAppear:!0}),M=u.useRef();return u.useEffect(function(){return M.current=vt(function(){I(n)}),function(){vt.cancel(M.current)}},[n]),u.createElement(Dl,{prefixCls:t,popupClassName:G("".concat(t,"-popup"),F({},"".concat(t,"-rtl"),p),i,x),stretch:c==="horizontal"?"minWidth":null,getPopupContainer:m,builtinPlacements:N,popupPlacement:P,popupVisible:E,popup:o,popupStyle:a,popupAlign:s&&{offset:s},action:l?[]:[b],mouseEnterDelay:h,mouseLeaveDelay:v,onPopupVisibleChange:d,forceRender:y,popupMotion:_,fresh:!0},r)}function MP(e){var t=e.id,n=e.open,r=e.keyPath,o=e.children,a="inline",i=u.useContext(Sr),s=i.prefixCls,l=i.forceSubMenuRender,c=i.motion,d=i.defaultMotions,f=i.mode,m=u.useRef(!1);m.current=f===a;var p=u.useState(!m.current),h=Q(p,2),v=h[0],g=h[1],b=m.current?n:!1;u.useEffect(function(){m.current&&g(!1)},[f]);var y=R({},Dy(a,c,d));r.length>1&&(y.motionAppear=!1);var x=y.onVisibleChanged;return y.onVisibleChanged=function(C){return!m.current&&!C&&g(!0),x==null?void 0:x(C)},v?null:u.createElement(Ki,{mode:a,locked:!m.current},u.createElement(wr,ge({visible:b},y,{forceRender:l,removeOnLeave:!1,leavedClassName:"".concat(s,"-hidden")}),function(C){var S=C.className,$=C.style;return u.createElement(Kf,{id:t,className:S,style:$},o)}))}var zP=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],AP=["active"],DP=u.forwardRef(function(e,t){var n=e.style,r=e.className,o=e.title,a=e.eventKey,i=e.warnKey,s=e.disabled,l=e.internalPopupClose,c=e.children,d=e.itemIcon,f=e.expandIcon,m=e.popupClassName,p=e.popupOffset,h=e.popupStyle,v=e.onClick,g=e.onMouseEnter,b=e.onMouseLeave,y=e.onTitleClick,x=e.onTitleMouseEnter,C=e.onTitleMouseLeave,S=Qe(e,zP),$=Ey(a),k=u.useContext(Sr),E=k.prefixCls,I=k.mode,N=k.openKeys,P=k.disabled,T=k.overflowDisabled,j=k.activeKey,_=k.selectedKeys,M=k.itemIcon,z=k.expandIcon,A=k.onItemClick,D=k.onOpenChange,W=k.onActive,U=u.useContext(Rf),q=U._internalRenderSubMenuItem,B=u.useContext(Oy),L=B.isSubPathKey,V=Ya(),H="".concat(E,"-submenu"),X=P||s,ie=u.useRef(),K=u.useRef();process.env.NODE_ENV!=="production"&&i&&Ze(!1,"SubMenu should not leave undefined `key`.");var ee=d??M,te=f??z,Y=N.includes(a),J=!T&&Y,ae=L(_,a),Z=My(a,X,x,C),oe=Z.active,re=Qe(Z,AP),ce=u.useState(!1),se=Q(ce,2),ue=se[0],he=se[1],de=function(Ye){X||he(Ye)},ye=function(Ye){de(!0),g==null||g({key:a,domEvent:Ye})},be=function(Ye){de(!1),b==null||b({key:a,domEvent:Ye})},le=u.useMemo(function(){return oe||(I!=="inline"?ue||L([j],a):!1)},[I,oe,j,ue,a,L]),Ce=zy(V.length),Le=function(Ye){X||(y==null||y({key:a,domEvent:Ye}),I==="inline"&&D(a,!Y))},We=Ji(function(Xe){v==null||v(Gl(Xe)),A(Xe)}),Me=function(Ye){I!=="inline"&&D(a,Ye)},we=function(){W(a)},Re=$&&"".concat($,"-popup"),fe=u.useMemo(function(){return u.createElement(Ay,{icon:I!=="horizontal"?te:void 0,props:R(R({},e),{},{isOpen:J,isSubMenu:!0})},u.createElement("i",{className:"".concat(H,"-arrow")}))},[I,te,e,J,H]),qe=u.createElement("div",ge({role:"menuitem",style:Ce,className:"".concat(H,"-title"),tabIndex:X?null:-1,ref:ie,title:typeof o=="string"?o:null,"data-menu-id":T&&$?null:$,"aria-expanded":J,"aria-haspopup":!0,"aria-controls":Re,"aria-disabled":X,onClick:Le,onFocus:we},re),o,fe),Ne=u.useRef(I);if(I!=="inline"&&V.length>1?Ne.current="vertical":Ne.current=I,!T){var Ee=Ne.current;qe=u.createElement(jP,{mode:Ee,prefixCls:H,visible:!l&&J&&I!=="inline",popupClassName:m,popupOffset:p,popupStyle:h,popup:u.createElement(Ki,{mode:Ee==="horizontal"?"vertical":Ee},u.createElement(Kf,{id:Re,ref:K},c)),disabled:X,onVisibleChange:Me},qe)}var Be=u.createElement(Mr.Item,ge({ref:t,role:"none"},S,{component:"li",style:n,className:G(H,"".concat(H,"-").concat(I),r,F(F(F(F({},"".concat(H,"-open"),J),"".concat(H,"-active"),le),"".concat(H,"-selected"),ae),"".concat(H,"-disabled"),X)),onMouseEnter:ye,onMouseLeave:be}),qe,!T&&u.createElement(MP,{id:Re,open:J,keyPath:V},c));return q&&(Be=q(Be,e,{selected:ae,active:le,open:J,disabled:X})),u.createElement(Ki,{onItemClick:We,mode:I==="horizontal"?"vertical":I,itemIcon:ee,expandIcon:te},Be)}),Zi=u.forwardRef(function(e,t){var n=e.eventKey,r=e.children,o=Ya(n),a=Xf(r,o),i=Wl();u.useEffect(function(){if(i)return i.registerPath(n,o),function(){i.unregisterPath(n,o)}},[o]);var s;return i?s=a:s=u.createElement(DP,ge({ref:t},e),a),u.createElement(ky.Provider,{value:o},s)});process.env.NODE_ENV!=="production"&&(Zi.displayName="SubMenu");function Yf(e){var t=e.className,n=e.style,r=u.useContext(Sr),o=r.prefixCls,a=Wl();return a?null:u.createElement("li",{role:"separator",className:G("".concat(o,"-item-divider"),t),style:n})}var LP=["className","title","eventKey","children"],FP=u.forwardRef(function(e,t){var n=e.className,r=e.title;e.eventKey;var o=e.children,a=Qe(e,LP),i=u.useContext(Sr),s=i.prefixCls,l="".concat(s,"-item-group");return u.createElement("li",ge({ref:t,role:"presentation"},a,{onClick:function(d){return d.stopPropagation()},className:G(l,n)}),u.createElement("div",{role:"presentation",className:"".concat(l,"-title"),title:typeof r=="string"?r:void 0},r),u.createElement("ul",{role:"group",className:"".concat(l,"-list")},o))}),Xl=u.forwardRef(function(e,t){var n=e.eventKey,r=e.children,o=Ya(n),a=Xf(r,o),i=Wl();return i?a:u.createElement(FP,ge({ref:t},cn(e,["warnKey"])),a)});process.env.NODE_ENV!=="production"&&(Xl.displayName="MenuItemGroup");var RP=["label","children","key","type","extra"];function Jf(e,t,n){var r=t.item,o=t.group,a=t.submenu,i=t.divider;return(e||[]).map(function(s,l){if(s&&Ae(s)==="object"){var c=s,d=c.label,f=c.children,m=c.key,p=c.type,h=c.extra,v=Qe(c,RP),g=m??"tmp-".concat(l);return f||p==="group"?p==="group"?u.createElement(o,ge({key:g},v,{title:d}),Jf(f,t,n)):u.createElement(a,ge({key:g},v,{title:d}),Jf(f,t,n)):p==="divider"?u.createElement(i,ge({key:g},v)):u.createElement(r,ge({key:g},v,{extra:h}),d,(!!h||h===0)&&u.createElement("span",{className:"".concat(n,"-item-extra")},h))}return null}).filter(function(s){return s})}function Ly(e,t,n,r,o){var a=e,i=R({divider:Yf,item:Kl,group:Xl,submenu:Zi},r);return t&&(a=Jf(t,i,o)),Xf(a,n)}var BP=["prefixCls","rootClassName","style","className","tabIndex","items","children","direction","id","mode","inlineCollapsed","disabled","disabledOverflow","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","defaultOpenKeys","openKeys","activeKey","defaultActiveFirst","selectable","multiple","defaultSelectedKeys","selectedKeys","onSelect","onDeselect","inlineIndent","motion","defaultMotions","triggerSubMenuAction","builtinPlacements","itemIcon","expandIcon","overflowedIndicator","overflowedIndicatorPopupClassName","getPopupContainer","onClick","onOpenChange","onKeyDown","openAnimation","openTransitionName","_internalRenderMenuItem","_internalRenderSubMenuItem","_internalComponents"],Go=[],VP=u.forwardRef(function(e,t){var n,r=e,o=r.prefixCls,a=o===void 0?"rc-menu":o,i=r.rootClassName,s=r.style,l=r.className,c=r.tabIndex,d=c===void 0?0:c,f=r.items,m=r.children,p=r.direction,h=r.id,v=r.mode,g=v===void 0?"vertical":v,b=r.inlineCollapsed,y=r.disabled,x=r.disabledOverflow,C=r.subMenuOpenDelay,S=C===void 0?.1:C,$=r.subMenuCloseDelay,k=$===void 0?.1:$,E=r.forceSubMenuRender,I=r.defaultOpenKeys,N=r.openKeys,P=r.activeKey,T=r.defaultActiveFirst,j=r.selectable,_=j===void 0?!0:j,M=r.multiple,z=M===void 0?!1:M,A=r.defaultSelectedKeys,D=r.selectedKeys,W=r.onSelect,U=r.onDeselect,q=r.inlineIndent,B=q===void 0?24:q,L=r.motion,V=r.defaultMotions,H=r.triggerSubMenuAction,X=H===void 0?"hover":H,ie=r.builtinPlacements,K=r.itemIcon,ee=r.expandIcon,te=r.overflowedIndicator,Y=te===void 0?"...":te,J=r.overflowedIndicatorPopupClassName,ae=r.getPopupContainer,Z=r.onClick,oe=r.onOpenChange,re=r.onKeyDown,ce=r.openAnimation,se=r.openTransitionName,ue=r._internalRenderMenuItem,he=r._internalRenderSubMenuItem,de=r._internalComponents,ye=Qe(r,BP),be=u.useMemo(function(){return[Ly(m,f,Go,de,a),Ly(m,f,Go,{},a)]},[m,f,de]),le=Q(be,2),Ce=le[0],Le=le[1],We=u.useState(!1),Me=Q(We,2),we=Me[0],Re=Me[1],fe=u.useRef(),qe=CP(h),Ne=p==="rtl";process.env.NODE_ENV!=="production"&&Ze(!ce&&!se,"`openAnimation` and `openTransitionName` is removed. Please use `motion` or `defaultMotion` instead.");var Ee=sn(I,{value:N,postState:function(tt){return tt||Go}}),Be=Q(Ee,2),Xe=Be[0],Ye=Be[1],yt=function(tt){var ot=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function ht(){Ye(tt),oe==null||oe(tt)}ot?tr.flushSync(ht):ht()},Je=u.useState(Xe),_t=Q(Je,2),Lt=_t[0],Ve=_t[1],Pe=u.useRef(!1),Ge=u.useMemo(function(){return(g==="inline"||g==="vertical")&&b?["vertical",b]:[g,!1]},[g,b]),Ie=Q(Ge,2),Ke=Ie[0],mt=Ie[1],pt=Ke==="inline",He=u.useState(Ke),et=Q(He,2),at=et[0],ke=et[1],pe=u.useState(mt),me=Q(pe,2),xe=me[0],Fe=me[1];u.useEffect(function(){ke(Ke),Fe(mt),Pe.current&&(pt?Ye(Lt):yt(Go))},[Ke,mt]);var je=u.useState(0),ct=Q(je,2),Ct=ct[0],Tt=ct[1],ut=Ct>=Ce.length-1||at!=="horizontal"||x;u.useEffect(function(){pt&&Ve(Xe)},[Xe]),u.useEffect(function(){return Pe.current=!0,function(){Pe.current=!1}},[]);var Vt=bP(),Bt=Vt.registerPath,tn=Vt.unregisterPath,kn=Vt.refreshOverflowKeys,Ht=Vt.isSubPathKey,nn=Vt.getKeyPath,Se=Vt.getKeys,_e=Vt.getSubPathKeys,rt=u.useMemo(function(){return{registerPath:Bt,unregisterPath:tn}},[Bt,tn]),gt=u.useMemo(function(){return{isSubPathKey:Ht}},[Ht]);u.useEffect(function(){kn(ut?Go:Ce.slice(Ct+1).map(function(Te){return Te.key}))},[Ct,ut]);var At=sn(P||T&&((n=Ce[0])===null||n===void 0?void 0:n.key),{value:P}),Dn=Q(At,2),fn=Dn[0],Ln=Dn[1],Ar=Ji(function(Te){Ln(Te)}),jn=Ji(function(){Ln(void 0)});w.useImperativeHandle(t,function(){return{list:fe.current,focus:function(tt){var ot,ht=Se(),xt=qf(ht,qe),yn=xt.elements,Cn=xt.key2element,Fn=xt.element2key,er=Wf(fe.current,yn),Rn=fn??(er[0]?Fn.get(er[0]):(ot=Ce.find(function(la){return!la.props.disabled}))===null||ot===void 0?void 0:ot.key),Bn=Cn.get(Rn);if(Rn&&Bn){var mn;Bn==null||(mn=Bn.focus)===null||mn===void 0||mn.call(Bn,tt)}}}});var Mn=sn(A||[],{value:D,postState:function(tt){return Array.isArray(tt)?tt:tt==null?Go:[tt]}}),Ir=Q(Mn,2),zn=Ir[0],ro=Ir[1],Nr=function(tt){if(_){var ot=tt.key,ht=zn.includes(ot),xt;z?ht?xt=zn.filter(function(Cn){return Cn!==ot}):xt=[].concat(ve(zn),[ot]):xt=[ot],ro(xt);var yn=R(R({},tt),{},{selectedKeys:xt});ht?U==null||U(yn):W==null||W(yn)}!z&&Xe.length&&at!=="inline"&&yt(Go)},An=Ji(function(Te){Z==null||Z(Gl(Te)),Nr(Te)}),Qn=Ji(function(Te,tt){var ot=Xe.filter(function(xt){return xt!==Te});if(tt)ot.push(Te);else if(at!=="inline"){var ht=_e(Te);ot=ot.filter(function(xt){return!ht.has(xt)})}vi(Xe,ot,!0)||yt(ot,!0)}),hr=function(tt,ot){var ht=ot??!Xe.includes(tt);Qn(tt,ht)},vr=gP(at,fn,Ne,qe,fe,Se,nn,Ln,hr,re);u.useEffect(function(){Re(!0)},[]);var Dr=u.useMemo(function(){return{_internalRenderMenuItem:ue,_internalRenderSubMenuItem:he}},[ue,he]),oo=at!=="horizontal"||x?Ce:Ce.map(function(Te,tt){return u.createElement(Ki,{key:Te.key,overflowDisabled:tt>Ct},Te)}),it=u.createElement(Mr,ge({id:h,ref:fe,prefixCls:"".concat(a,"-overflow"),component:"ul",itemComponent:Kl,className:G(a,"".concat(a,"-root"),"".concat(a,"-").concat(at),l,F(F({},"".concat(a,"-inline-collapsed"),xe),"".concat(a,"-rtl"),Ne),i),dir:p,style:s,role:"menu",tabIndex:d,data:oo,renderRawItem:function(tt){return tt},renderRawRest:function(tt){var ot=tt.length,ht=ot?Ce.slice(-ot):null;return u.createElement(Zi,{eventKey:Gf,title:Y,disabled:ut,internalPopupClose:ot===0,popupClassName:J},ht)},maxCount:at!=="horizontal"||x?Mr.INVALIDATE:Mr.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(tt){Tt(tt)},onKeyDown:vr},ye));return u.createElement(Rf.Provider,{value:Dr},u.createElement(wy.Provider,{value:qe},u.createElement(Ki,{prefixCls:a,rootClassName:i,mode:at,openKeys:Xe,rtl:Ne,disabled:y,motion:we?L:null,defaultMotions:we?V:null,activeKey:fn,onActive:Ar,onInactive:jn,selectedKeys:zn,inlineIndent:B,subMenuOpenDelay:S,subMenuCloseDelay:k,forceSubMenuRender:E,builtinPlacements:ie,triggerSubMenuAction:X,getPopupContainer:ae,itemIcon:K,expandIcon:ee,onItemClick:An,onOpenChange:Qn},u.createElement(Oy.Provider,{value:gt},it),u.createElement("div",{style:{display:"none"},"aria-hidden":!0},u.createElement($y.Provider,{value:rt},Le)))))}),Qi=VP;Qi.Item=Kl,Qi.SubMenu=Zi,Qi.ItemGroup=Xl,Qi.Divider=Yf;var HP={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},WP=function(t,n){return u.createElement(Nt,ge({},t,{ref:n,icon:HP}))},Fy=u.forwardRef(WP);process.env.NODE_ENV!=="production"&&(Fy.displayName="BarsOutlined");const qP=u.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}}),UP=e=>{const{antCls:t,componentCls:n,colorText:r,footerBg:o,headerHeight:a,headerPadding:i,headerColor:s,footerPadding:l,fontSize:c,bodyBg:d,headerBg:f}=e;return{[n]:{display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:d,"&, *":{boxSizing:"border-box"},[`&${n}-has-sider`]:{flexDirection:"row",[`> ${n}, > ${n}-content`]:{width:0}},[`${n}-header, &${n}-footer`]:{flex:"0 0 auto"},"&-rtl":{direction:"rtl"}},[`${n}-header`]:{height:a,padding:i,color:s,lineHeight:ne(a),background:f,[`${t}-menu`]:{lineHeight:"inherit"}},[`${n}-footer`]:{padding:l,color:r,fontSize:c,background:o},[`${n}-content`]:{flex:"auto",color:r,minHeight:0}}},Ry=e=>{const{colorBgLayout:t,controlHeight:n,controlHeightLG:r,colorText:o,controlHeightSM:a,marginXXS:i,colorTextLightSolid:s,colorBgContainer:l}=e,c=r*1.25;return{colorBgHeader:"#001529",colorBgBody:t,colorBgTrigger:"#002140",bodyBg:t,headerBg:"#001529",headerHeight:n*2,headerPadding:`0 ${c}px`,headerColor:o,footerPadding:`${a}px ${c}px`,footerBg:t,siderBg:"#001529",triggerHeight:r+i*2,triggerBg:"#002140",triggerColor:s,zeroTriggerWidth:r,zeroTriggerHeight:r,lightSiderBg:l,lightTriggerBg:l,lightTriggerColor:o}},By=[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]];zt("Layout",UP,Ry,{deprecatedTokens:By});const GP=zt(["Layout","Sider"],e=>{const{componentCls:t,siderBg:n,motionDurationMid:r,motionDurationSlow:o,antCls:a,triggerHeight:i,triggerColor:s,triggerBg:l,headerHeight:c,zeroTriggerWidth:d,zeroTriggerHeight:f,borderRadiusLG:m,lightSiderBg:p,lightTriggerColor:h,lightTriggerBg:v,bodyBg:g}=e;return{[t]:{position:"relative",minWidth:0,background:n,transition:`all ${r}, background 0s`,"&-has-trigger":{paddingBottom:i},"&-right":{order:1},[`${t}-children`]:{height:"100%",marginTop:-.1,paddingTop:.1,[`${a}-menu${a}-menu-inline-collapsed`]:{width:"auto"}},[`&-zero-width ${t}-children`]:{overflow:"hidden"},[`${t}-trigger`]:{position:"fixed",bottom:0,zIndex:1,height:i,color:s,lineHeight:ne(i),textAlign:"center",background:l,cursor:"pointer",transition:`all ${r}`},[`${t}-zero-width-trigger`]:{position:"absolute",top:c,insetInlineEnd:e.calc(d).mul(-1).equal(),zIndex:1,width:d,height:f,color:s,fontSize:e.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:n,borderRadius:`0 ${ne(m)} ${ne(m)} 0`,cursor:"pointer",transition:`background ${o} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${o}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:e.calc(d).mul(-1).equal(),borderRadius:`${ne(m)} 0 0 ${ne(m)}`}},"&-light":{background:p,[`${t}-trigger`]:{color:h,background:v},[`${t}-zero-width-trigger`]:{color:h,background:v,border:`1px solid ${g}`,borderInlineStart:0}}}}},Ry,{deprecatedTokens:By});var KP=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const Vy={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},XP=e=>!Number.isNaN(Number.parseFloat(e))&&Number.isFinite(Number(e)),Zf=u.createContext({}),YP=(()=>{let e=0;return(t="")=>(e+=1,`${t}${e}`)})(),JP=u.forwardRef((e,t)=>{const{prefixCls:n,className:r,trigger:o,children:a,defaultCollapsed:i=!1,theme:s="dark",style:l={},collapsible:c=!1,reverseArrow:d=!1,width:f=200,collapsedWidth:m=80,zeroWidthTriggerStyle:p,breakpoint:h,onCollapse:v,onBreakpoint:g}=e,b=KP(e,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:y}=w.useContext(qP),[x,C]=w.useState("collapsed"in e?e.collapsed:i),[S,$]=w.useState(!1);w.useEffect(()=>{"collapsed"in e&&C(e.collapsed)},[e.collapsed]);const k=(K,ee)=>{"collapsed"in e||C(K),v==null||v(K,ee)},{getPrefixCls:E,direction:I}=w.useContext(Ue),N=E("layout-sider",n),[P,T,j]=GP(N),_=w.useRef(null);_.current=K=>{$(K.matches),g==null||g(K.matches),x!==K.matches&&k(K.matches,"responsive")},w.useEffect(()=>{function K(te){var Y;return(Y=_.current)===null||Y===void 0?void 0:Y.call(_,te)}let ee;return typeof(window==null?void 0:window.matchMedia)<"u"&&h&&h in Vy&&(ee=window.matchMedia(`screen and (max-width: ${Vy[h]})`),cy(ee,K),K(ee)),()=>{uy(ee,K)}},[h]),w.useEffect(()=>{const K=YP("ant-sider-");return y.addSider(K),()=>y.removeSider(K)},[]);const M=()=>{k(!x,"clickTrigger")},z=cn(b,["collapsed"]),A=x?m:f,D=XP(A)?`${A}px`:String(A),W=Number.parseFloat(String(m||0))===0?u.createElement("span",{onClick:M,className:G(`${N}-zero-width-trigger`,`${N}-zero-width-trigger-${d?"right":"left"}`),style:p},o||u.createElement(Fy,null)):null,U=I==="rtl"==!d,L={expanded:U?u.createElement(Ti,null):u.createElement(Gi,null),collapsed:U?u.createElement(Gi,null):u.createElement(Ti,null)}[x?"collapsed":"expanded"],V=o!==null?W||u.createElement("div",{className:`${N}-trigger`,onClick:M,style:{width:D}},o||L):null,H=Object.assign(Object.assign({},l),{flex:`0 0 ${D}`,maxWidth:D,minWidth:D,width:D}),X=G(N,`${N}-${s}`,{[`${N}-collapsed`]:!!x,[`${N}-has-trigger`]:c&&o!==null&&!W,[`${N}-below`]:!!S,[`${N}-zero-width`]:Number.parseFloat(D)===0},r,T,j),ie=u.useMemo(()=>({siderCollapsed:x}),[x]);return P(u.createElement(Zf.Provider,{value:ie},u.createElement("aside",Object.assign({className:X},z,{style:H,ref:t}),u.createElement("div",{className:`${N}-children`},a),c||S&&W?V:null)))});process.env.NODE_ENV!=="production"&&(JP.displayName="Sider");var ZP={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"},QP=function(t,n){return u.createElement(Nt,ge({},t,{ref:n,icon:ZP}))},Yl=u.forwardRef(QP);process.env.NODE_ENV!=="production"&&(Yl.displayName="EllipsisOutlined");const Jl=w.createContext({prefixCls:"",firstLevel:!0,inlineCollapsed:!1});var e8=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const Hy=e=>{const{prefixCls:t,className:n,dashed:r}=e,o=e8(e,["prefixCls","className","dashed"]),{getPrefixCls:a}=u.useContext(Ue),i=a("menu",t),s=G({[`${i}-item-divider-dashed`]:!!r},n);return u.createElement(Yf,Object.assign({className:s},o))},Wy=e=>{var t;const{className:n,children:r,icon:o,title:a,danger:i,extra:s}=e,{prefixCls:l,firstLevel:c,direction:d,disableMenuItemTitleTooltip:f,inlineCollapsed:m}=u.useContext(Jl),p=x=>{const C=r==null?void 0:r[0],S=u.createElement("span",{className:G(`${l}-title-content`,{[`${l}-title-content-with-extra`]:!!s||s===0})},r);return(!o||u.isValidElement(r)&&r.type==="span")&&r&&x&&c&&typeof C=="string"?u.createElement("div",{className:`${l}-inline-collapsed-noicon`},C.charAt(0)):S},{siderCollapsed:h}=u.useContext(Zf);let v=a;typeof a>"u"?v=c?r:"":a===!1&&(v="");const g={title:v};!h&&!m&&(g.title=null,g.open=!1);const b=Hn(r).length;let y=u.createElement(Kl,Object.assign({},cn(e,["title","icon","danger"]),{className:G({[`${l}-item-danger`]:i,[`${l}-item-only-child`]:(o?b+1:b)===1},n),title:typeof a=="string"?a:void 0}),sr(o,{className:G(u.isValidElement(o)?(t=o.props)===null||t===void 0?void 0:t.className:void 0,`${l}-item-icon`)}),p(m));return f||(y=u.createElement(Co,Object.assign({},g,{placement:d==="rtl"?"left":"right",classNames:{root:`${l}-inline-collapsed-tooltip`}}),y)),y};var t8=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const Zl=u.createContext(null),n8=u.forwardRef((e,t)=>{const{children:n}=e,r=t8(e,["children"]),o=u.useContext(Zl),a=u.useMemo(()=>Object.assign(Object.assign({},o),r),[o,r.prefixCls,r.mode,r.selectable,r.rootClassName]),i=d2(n),s=Rr(t,i?co(n):null);return u.createElement(Zl.Provider,{value:a},u.createElement(eo,{space:!0},i?u.cloneElement(n,{ref:s}):n))}),r8=e=>{const{componentCls:t,motionDurationSlow:n,horizontalLineHeight:r,colorSplit:o,lineWidth:a,lineType:i,itemPaddingInline:s}=e;return{[`${t}-horizontal`]:{lineHeight:r,border:0,borderBottom:`${ne(a)} ${i} ${o}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${t}-item, ${t}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:s},[`> ${t}-item:hover,
|
|
220
|
+
> ${t}-item-active,
|
|
221
|
+
> ${t}-submenu ${t}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${t}-item, ${t}-submenu-title`]:{transition:[`border-color ${n}`,`background ${n}`].join(",")},[`${t}-submenu-arrow`]:{display:"none"}}}},o8=({componentCls:e,menuArrowOffset:t,calc:n})=>({[`${e}-rtl`]:{direction:"rtl"},[`${e}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${e}-rtl${e}-vertical,
|
|
222
|
+
${e}-submenu-rtl ${e}-vertical`]:{[`${e}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(${ne(n(t).mul(-1).equal())})`},"&::after":{transform:`rotate(45deg) translateY(${ne(t)})`}}}}),qy=e=>Ii(e),Uy=(e,t)=>{const{componentCls:n,itemColor:r,itemSelectedColor:o,subMenuItemSelectedColor:a,groupTitleColor:i,itemBg:s,subMenuItemBg:l,itemSelectedBg:c,activeBarHeight:d,activeBarWidth:f,activeBarBorderWidth:m,motionDurationSlow:p,motionEaseInOut:h,motionEaseOut:v,itemPaddingInline:g,motionDurationMid:b,itemHoverColor:y,lineType:x,colorSplit:C,itemDisabledColor:S,dangerItemColor:$,dangerItemHoverColor:k,dangerItemSelectedColor:E,dangerItemActiveBg:I,dangerItemSelectedBg:N,popupBg:P,itemHoverBg:T,itemActiveBg:j,menuSubMenuBg:_,horizontalItemSelectedColor:M,horizontalItemSelectedBg:z,horizontalItemBorderRadius:A,horizontalItemHoverBg:D}=e;return{[`${n}-${t}, ${n}-${t} > ${n}`]:{color:r,background:s,[`&${n}-root:focus-visible`]:Object.assign({},qy(e)),[`${n}-item`]:{"&-group-title, &-extra":{color:i}},[`${n}-submenu-selected > ${n}-submenu-title`]:{color:a},[`${n}-item, ${n}-submenu-title`]:{color:r,[`&:not(${n}-item-disabled):focus-visible`]:Object.assign({},qy(e))},[`${n}-item-disabled, ${n}-submenu-disabled`]:{color:`${S} !important`},[`${n}-item:not(${n}-item-selected):not(${n}-submenu-selected)`]:{[`&:hover, > ${n}-submenu-title:hover`]:{color:y}},[`&:not(${n}-horizontal)`]:{[`${n}-item:not(${n}-item-selected)`]:{"&:hover":{backgroundColor:T},"&:active":{backgroundColor:j}},[`${n}-submenu-title`]:{"&:hover":{backgroundColor:T},"&:active":{backgroundColor:j}}},[`${n}-item-danger`]:{color:$,[`&${n}-item:hover`]:{[`&:not(${n}-item-selected):not(${n}-submenu-selected)`]:{color:k}},[`&${n}-item:active`]:{background:I}},[`${n}-item a`]:{"&, &:hover":{color:"inherit"}},[`${n}-item-selected`]:{color:o,[`&${n}-item-danger`]:{color:E},"a, a:hover":{color:"inherit"}},[`& ${n}-item-selected`]:{backgroundColor:c,[`&${n}-item-danger`]:{backgroundColor:N}},[`&${n}-submenu > ${n}`]:{backgroundColor:_},[`&${n}-popup > ${n}`]:{backgroundColor:P},[`&${n}-submenu-popup > ${n}`]:{backgroundColor:P},[`&${n}-horizontal`]:Object.assign(Object.assign({},t==="dark"?{borderBottom:0}:{}),{[`> ${n}-item, > ${n}-submenu`]:{top:m,marginTop:e.calc(m).mul(-1).equal(),marginBottom:0,borderRadius:A,"&::after":{position:"absolute",insetInline:g,bottom:0,borderBottom:`${ne(d)} solid transparent`,transition:`border-color ${p} ${h}`,content:'""'},"&:hover, &-active, &-open":{background:D,"&::after":{borderBottomWidth:d,borderBottomColor:M}},"&-selected":{color:M,backgroundColor:z,"&:hover":{backgroundColor:z},"&::after":{borderBottomWidth:d,borderBottomColor:M}}}}),[`&${n}-root`]:{[`&${n}-inline, &${n}-vertical`]:{borderInlineEnd:`${ne(m)} ${x} ${C}`}},[`&${n}-inline`]:{[`${n}-sub${n}-inline`]:{background:l},[`${n}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${ne(f)} solid ${o}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${b} ${v}`,`opacity ${b} ${v}`].join(","),content:'""'},[`&${n}-item-danger`]:{"&::after":{borderInlineEndColor:E}}},[`${n}-selected, ${n}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${b} ${h}`,`opacity ${b} ${h}`].join(",")}}}}}},Gy=e=>{const{componentCls:t,itemHeight:n,itemMarginInline:r,padding:o,menuArrowSize:a,marginXS:i,itemMarginBlock:s,itemWidth:l,itemPaddingInline:c}=e,d=e.calc(a).add(o).add(i).equal();return{[`${t}-item`]:{position:"relative",overflow:"hidden"},[`${t}-item, ${t}-submenu-title`]:{height:n,lineHeight:ne(n),paddingInline:c,overflow:"hidden",textOverflow:"ellipsis",marginInline:r,marginBlock:s,width:l},[`> ${t}-item,
|
|
223
|
+
> ${t}-submenu > ${t}-submenu-title`]:{height:n,lineHeight:ne(n)},[`${t}-item-group-list ${t}-submenu-title,
|
|
224
|
+
${t}-submenu-title`]:{paddingInlineEnd:d}}},a8=e=>{const{componentCls:t,iconCls:n,itemHeight:r,colorTextLightSolid:o,dropdownWidth:a,controlHeightLG:i,motionEaseOut:s,paddingXL:l,itemMarginInline:c,fontSizeLG:d,motionDurationFast:f,motionDurationSlow:m,paddingXS:p,boxShadowSecondary:h,collapsedWidth:v,collapsedIconSize:g}=e,b={height:r,lineHeight:ne(r),listStylePosition:"inside",listStyleType:"disc"};return[{[t]:{"&-inline, &-vertical":Object.assign({[`&${t}-root`]:{boxShadow:"none"}},Gy(e))},[`${t}-submenu-popup`]:{[`${t}-vertical`]:Object.assign(Object.assign({},Gy(e)),{boxShadow:h})}},{[`${t}-submenu-popup ${t}-vertical${t}-sub`]:{minWidth:a,maxHeight:`calc(100vh - ${ne(e.calc(i).mul(2.5).equal())})`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${t}-inline`]:{width:"100%",[`&${t}-root`]:{[`${t}-item, ${t}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${m}`,`background ${m}`,`padding ${f} ${s}`].join(","),[`> ${t}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${t}-sub${t}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${t}-submenu > ${t}-submenu-title`]:b,[`& ${t}-item-group-title`]:{paddingInlineStart:l}},[`${t}-item`]:b}},{[`${t}-inline-collapsed`]:{width:v,[`&${t}-root`]:{[`${t}-item, ${t}-submenu ${t}-submenu-title`]:{[`> ${t}-inline-collapsed-noicon`]:{fontSize:d,textAlign:"center"}}},[`> ${t}-item,
|
|
225
|
+
> ${t}-item-group > ${t}-item-group-list > ${t}-item,
|
|
226
|
+
> ${t}-item-group > ${t}-item-group-list > ${t}-submenu > ${t}-submenu-title,
|
|
227
|
+
> ${t}-submenu > ${t}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${ne(e.calc(g).div(2).equal())} - ${ne(c)})`,textOverflow:"clip",[`
|
|
228
|
+
${t}-submenu-arrow,
|
|
229
|
+
${t}-submenu-expand-icon
|
|
230
|
+
`]:{opacity:0},[`${t}-item-icon, ${n}`]:{margin:0,fontSize:g,lineHeight:ne(r),"+ span":{display:"inline-block",opacity:0}}},[`${t}-item-icon, ${n}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${t}-item-icon, ${n}`]:{display:"none"},"a, a:hover":{color:o}},[`${t}-item-group-title`]:Object.assign(Object.assign({},nl),{paddingInline:p})}}]},Ky=e=>{const{componentCls:t,motionDurationSlow:n,motionDurationMid:r,motionEaseInOut:o,motionEaseOut:a,iconCls:i,iconSize:s,iconMarginInlineEnd:l}=e;return{[`${t}-item, ${t}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${n}`,`background ${n}`,`padding calc(${n} + 0.1s) ${o}`].join(","),[`${t}-item-icon, ${i}`]:{minWidth:s,fontSize:s,transition:[`font-size ${r} ${a}`,`margin ${n} ${o}`,`color ${n}`].join(","),"+ span":{marginInlineStart:l,opacity:1,transition:[`opacity ${n} ${o}`,`margin ${n}`,`color ${n}`].join(",")}},[`${t}-item-icon`]:Object.assign({},Sa()),[`&${t}-item-only-child`]:{[`> ${i}, > ${t}-item-icon`]:{marginInlineEnd:0}}},[`${t}-item-disabled, ${t}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important",cursor:"not-allowed",pointerEvents:"none"},[`> ${t}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},Xy=e=>{const{componentCls:t,motionDurationSlow:n,motionEaseInOut:r,borderRadius:o,menuArrowSize:a,menuArrowOffset:i}=e;return{[`${t}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:e.margin,width:a,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${n} ${r}, opacity ${n}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:e.calc(a).mul(.6).equal(),height:e.calc(a).mul(.15).equal(),backgroundColor:"currentcolor",borderRadius:o,transition:[`background ${n} ${r}`,`transform ${n} ${r}`,`top ${n} ${r}`,`color ${n} ${r}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(${ne(e.calc(i).mul(-1).equal())})`},"&::after":{transform:`rotate(-45deg) translateY(${ne(i)})`}}}}},i8=e=>{const{antCls:t,componentCls:n,fontSize:r,motionDurationSlow:o,motionDurationMid:a,motionEaseInOut:i,paddingXS:s,padding:l,colorSplit:c,lineWidth:d,zIndexPopup:f,borderRadiusLG:m,subMenuItemBorderRadius:p,menuArrowSize:h,menuArrowOffset:v,lineType:g,groupTitleLineHeight:b,groupTitleFontSize:y}=e;return[{"":{[n]:Object.assign(Object.assign({},rl()),{"&-hidden":{display:"none"}})},[`${n}-submenu-hidden`]:{display:"none"}},{[n]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},qt(e)),rl()),{marginBottom:0,paddingInlineStart:0,fontSize:r,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${o} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${n}-item`]:{flex:"none"}},[`${n}-item, ${n}-submenu, ${n}-submenu-title`]:{borderRadius:e.itemBorderRadius},[`${n}-item-group-title`]:{padding:`${ne(s)} ${ne(l)}`,fontSize:y,lineHeight:b,transition:`all ${o}`},[`&-horizontal ${n}-submenu`]:{transition:[`border-color ${o} ${i}`,`background ${o} ${i}`].join(",")},[`${n}-submenu, ${n}-submenu-inline`]:{transition:[`border-color ${o} ${i}`,`background ${o} ${i}`,`padding ${a} ${i}`].join(",")},[`${n}-submenu ${n}-sub`]:{cursor:"initial",transition:[`background ${o} ${i}`,`padding ${o} ${i}`].join(",")},[`${n}-title-content`]:{transition:`color ${o}`,"&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},[`> ${t}-typography-ellipsis-single-line`]:{display:"inline",verticalAlign:"unset"},[`${n}-item-extra`]:{marginInlineStart:"auto",paddingInlineStart:e.padding}},[`${n}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${n}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:c,borderStyle:g,borderWidth:0,borderTopWidth:d,marginBlock:d,padding:0,"&-dashed":{borderStyle:"dashed"}}}),Ky(e)),{[`${n}-item-group`]:{[`${n}-item-group-list`]:{margin:0,padding:0,[`${n}-item, ${n}-submenu-title`]:{paddingInline:`${ne(e.calc(r).mul(2).equal())} ${ne(l)}`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:f,borderRadius:m,boxShadow:"none",transformOrigin:"0 0",[`&${n}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:0,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'},[`> ${n}`]:Object.assign(Object.assign(Object.assign({borderRadius:m},Ky(e)),Xy(e)),{[`${n}-item, ${n}-submenu > ${n}-submenu-title`]:{borderRadius:p},[`${n}-submenu-title::after`]:{transition:`transform ${o} ${i}`}})},"\n &-placement-leftTop,\n &-placement-bottomRight,\n ":{transformOrigin:"100% 0"},"\n &-placement-leftBottom,\n &-placement-topRight,\n ":{transformOrigin:"100% 100%"},"\n &-placement-rightBottom,\n &-placement-topLeft,\n ":{transformOrigin:"0 100%"},"\n &-placement-bottomLeft,\n &-placement-rightTop,\n ":{transformOrigin:"0 0"},"\n &-placement-leftTop,\n &-placement-leftBottom\n ":{paddingInlineEnd:e.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:e.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:e.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:e.paddingXS}}}),Xy(e)),{[`&-inline-collapsed ${n}-submenu-arrow,
|
|
231
|
+
&-inline ${n}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${ne(v)})`},"&::after":{transform:`rotate(45deg) translateX(${ne(e.calc(v).mul(-1).equal())})`}},[`${n}-submenu-open${n}-submenu-inline > ${n}-submenu-title > ${n}-submenu-arrow`]:{transform:`translateY(${ne(e.calc(h).mul(.2).mul(-1).equal())})`,"&::after":{transform:`rotate(-45deg) translateX(${ne(e.calc(v).mul(-1).equal())})`},"&::before":{transform:`rotate(45deg) translateX(${ne(v)})`}}})},{[`${t}-layout-header`]:{[n]:{lineHeight:"inherit"}}}]},s8=e=>{var t,n,r;const{colorPrimary:o,colorError:a,colorTextDisabled:i,colorErrorBg:s,colorText:l,colorTextDescription:c,colorBgContainer:d,colorFillAlter:f,colorFillContent:m,lineWidth:p,lineWidthBold:h,controlItemBgActive:v,colorBgTextHover:g,controlHeightLG:b,lineHeight:y,colorBgElevated:x,marginXXS:C,padding:S,fontSize:$,controlHeightSM:k,fontSizeLG:E,colorTextLightSolid:I,colorErrorHover:N}=e,P=(t=e.activeBarWidth)!==null&&t!==void 0?t:0,T=(n=e.activeBarBorderWidth)!==null&&n!==void 0?n:p,j=(r=e.itemMarginInline)!==null&&r!==void 0?r:e.marginXXS,_=new $t(I).setA(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:e.zIndexPopupBase+50,radiusItem:e.borderRadiusLG,itemBorderRadius:e.borderRadiusLG,radiusSubMenuItem:e.borderRadiusSM,subMenuItemBorderRadius:e.borderRadiusSM,colorItemText:l,itemColor:l,colorItemTextHover:l,itemHoverColor:l,colorItemTextHoverHorizontal:o,horizontalItemHoverColor:o,colorGroupTitle:c,groupTitleColor:c,colorItemTextSelected:o,itemSelectedColor:o,subMenuItemSelectedColor:o,colorItemTextSelectedHorizontal:o,horizontalItemSelectedColor:o,colorItemBg:d,itemBg:d,colorItemBgHover:g,itemHoverBg:g,colorItemBgActive:m,itemActiveBg:v,colorSubItemBg:f,subMenuItemBg:f,colorItemBgSelected:v,itemSelectedBg:v,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:P,colorActiveBarHeight:h,activeBarHeight:h,colorActiveBarBorderSize:p,activeBarBorderWidth:T,colorItemTextDisabled:i,itemDisabledColor:i,colorDangerItemText:a,dangerItemColor:a,colorDangerItemTextHover:a,dangerItemHoverColor:a,colorDangerItemTextSelected:a,dangerItemSelectedColor:a,colorDangerItemBgActive:s,dangerItemActiveBg:s,colorDangerItemBgSelected:s,dangerItemSelectedBg:s,itemMarginInline:j,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:b,groupTitleLineHeight:y,collapsedWidth:b*2,popupBg:x,itemMarginBlock:C,itemPaddingInline:S,horizontalLineHeight:`${b*1.15}px`,iconSize:$,iconMarginInlineEnd:k-$,collapsedIconSize:E,groupTitleFontSize:$,darkItemDisabledColor:new $t(I).setA(.25).toRgbString(),darkItemColor:_,darkDangerItemColor:a,darkItemBg:"#001529",darkPopupBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:I,darkItemSelectedBg:o,darkDangerItemSelectedBg:a,darkItemHoverBg:"transparent",darkGroupTitleColor:_,darkItemHoverColor:I,darkDangerItemHoverColor:N,darkDangerItemSelectedColor:I,darkDangerItemActiveBg:a,itemWidth:P?`calc(100% + ${T}px)`:`calc(100% - ${j*2}px)`}},l8=(e,t=e,n=!0)=>zt("Menu",o=>{const{colorBgElevated:a,controlHeightLG:i,fontSize:s,darkItemColor:l,darkDangerItemColor:c,darkItemBg:d,darkSubMenuItemBg:f,darkItemSelectedColor:m,darkItemSelectedBg:p,darkDangerItemSelectedBg:h,darkItemHoverBg:v,darkGroupTitleColor:g,darkItemHoverColor:b,darkItemDisabledColor:y,darkDangerItemHoverColor:x,darkDangerItemSelectedColor:C,darkDangerItemActiveBg:S,popupBg:$,darkPopupBg:k}=o,E=o.calc(s).div(7).mul(5).equal(),I=ft(o,{menuArrowSize:E,menuHorizontalHeight:o.calc(i).mul(1.15).equal(),menuArrowOffset:o.calc(E).mul(.25).equal(),menuSubMenuBg:a,calc:o.calc,popupBg:$}),N=ft(I,{itemColor:l,itemHoverColor:b,groupTitleColor:g,itemSelectedColor:m,subMenuItemSelectedColor:m,itemBg:d,popupBg:k,subMenuItemBg:f,itemActiveBg:"transparent",itemSelectedBg:p,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:v,itemDisabledColor:y,dangerItemColor:c,dangerItemHoverColor:x,dangerItemSelectedColor:C,dangerItemActiveBg:S,dangerItemSelectedBg:h,menuSubMenuBg:f,horizontalItemSelectedColor:m,horizontalItemSelectedBg:p});return[i8(I),r8(I),a8(I),Uy(I,"light"),Uy(N,"dark"),o8(I),Qv(I),ja(I,"slide-up"),ja(I,"slide-down"),ji(I,"zoom-big")]},s8,{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]],injectStyle:n,unitless:{groupTitleLineHeight:!0}})(e,t),Yy=e=>{var t;const{popupClassName:n,icon:r,title:o,theme:a}=e,i=u.useContext(Jl),{prefixCls:s,inlineCollapsed:l,theme:c}=i,d=Ya();let f;if(!r)f=l&&!d.length&&o&&typeof o=="string"?u.createElement("div",{className:`${s}-inline-collapsed-noicon`},o.charAt(0)):u.createElement("span",{className:`${s}-title-content`},o);else{const h=u.isValidElement(o)&&o.type==="span";f=u.createElement(u.Fragment,null,sr(r,{className:G(u.isValidElement(r)?(t=r.props)===null||t===void 0?void 0:t.className:void 0,`${s}-item-icon`)}),h?o:u.createElement("span",{className:`${s}-title-content`},o))}const m=u.useMemo(()=>Object.assign(Object.assign({},i),{firstLevel:!1}),[i]),[p]=_a("Menu");return u.createElement(Jl.Provider,{value:m},u.createElement(Zi,Object.assign({},cn(e,["icon"]),{title:f,popupClassName:G(s,n,`${s}-${a||c}`),popupStyle:Object.assign({zIndex:p},e.popupStyle)})))};var c8=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function Qf(e){return e===null||e===!1}const u8={item:Wy,submenu:Yy,divider:Hy},d8=w.forwardRef((e,t)=>{var n;const r=u.useContext(Zl),o=r||{},{getPrefixCls:a,getPopupContainer:i,direction:s,menu:l}=u.useContext(Ue),c=a(),{prefixCls:d,className:f,style:m,theme:p="light",expandIcon:h,_internalDisableMenuItemTitleTooltip:v,inlineCollapsed:g,siderCollapsed:b,rootClassName:y,mode:x,selectable:C,onClick:S,overflowedIndicatorPopupClassName:$}=e,k=c8(e,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),E=cn(k,["collapsedWidth"]);if(process.env.NODE_ENV!=="production"){const B=Et("Menu");process.env.NODE_ENV!=="production"&&B(!("inlineCollapsed"in e&&x!=="inline"),"usage","`inlineCollapsed` should only be used when `mode` is inline."),B.deprecated("items"in e&&!e.children,"children","items")}(n=o.validator)===null||n===void 0||n.call(o,{mode:x});const I=Wt((...B)=>{var L;S==null||S.apply(void 0,B),(L=o.onClick)===null||L===void 0||L.call(o)}),N=o.mode||x,P=C??o.selectable,T=g??b,j={horizontal:{motionName:`${c}-slide-up`},inline:_d(c),other:{motionName:`${c}-zoom-big`}},_=a("menu",d||o.prefixCls),M=ln(_),[z,A,D]=l8(_,M,!r),W=G(`${_}-${p}`,l==null?void 0:l.className,f),U=u.useMemo(()=>{var B,L;if(typeof h=="function"||Qf(h))return h||null;if(typeof o.expandIcon=="function"||Qf(o.expandIcon))return o.expandIcon||null;if(typeof(l==null?void 0:l.expandIcon)=="function"||Qf(l==null?void 0:l.expandIcon))return(l==null?void 0:l.expandIcon)||null;const V=(B=h??(o==null?void 0:o.expandIcon))!==null&&B!==void 0?B:l==null?void 0:l.expandIcon;return sr(V,{className:G(`${_}-submenu-expand-icon`,u.isValidElement(V)?(L=V.props)===null||L===void 0?void 0:L.className:void 0)})},[h,o==null?void 0:o.expandIcon,l==null?void 0:l.expandIcon,_]),q=u.useMemo(()=>({prefixCls:_,inlineCollapsed:T||!1,direction:s,firstLevel:!0,theme:p,mode:N,disableMenuItemTitleTooltip:v}),[_,T,s,v,p]);return z(u.createElement(Zl.Provider,{value:null},u.createElement(Jl.Provider,{value:q},u.createElement(Qi,Object.assign({getPopupContainer:i,overflowedIndicator:u.createElement(Yl,null),overflowedIndicatorPopupClassName:G(_,`${_}-${p}`,$),mode:N,selectable:P,onClick:I},E,{inlineCollapsed:T,style:Object.assign(Object.assign({},l==null?void 0:l.style),m),className:W,prefixCls:_,direction:s,defaultMotions:j,expandIcon:U,ref:t,rootClassName:G(y,A,o.rootClassName,D,M),_internalComponents:u8})))))}),Ja=w.forwardRef((e,t)=>{const n=w.useRef(null),r=u.useContext(Zf);return w.useImperativeHandle(t,()=>({menu:n.current,focus:o=>{var a;(a=n.current)===null||a===void 0||a.focus(o)}})),u.createElement(d8,Object.assign({ref:n},e,r))});Ja.Item=Wy,Ja.SubMenu=Yy,Ja.Divider=Hy,Ja.ItemGroup=Xl,process.env.NODE_ENV!=="production"&&(Ja.displayName="Menu");const f8=e=>{const{componentCls:t,menuCls:n,colorError:r,colorTextLightSolid:o}=e,a=`${n}-item`;return{[`${t}, ${t}-menu-submenu`]:{[`${n} ${a}`]:{[`&${a}-danger:not(${a}-disabled)`]:{color:r,"&:hover":{color:o,backgroundColor:r}}}}}},m8=e=>{const{componentCls:t,menuCls:n,zIndexPopup:r,dropdownArrowDistance:o,sizePopupArrow:a,antCls:i,iconCls:s,motionDurationMid:l,paddingBlock:c,fontSize:d,dropdownEdgeChildPadding:f,colorTextDisabled:m,fontSizeIcon:p,controlPaddingHorizontal:h,colorBgElevated:v}=e;return[{[t]:{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:r,display:"block","&::before":{position:"absolute",insetBlock:e.calc(a).div(2).sub(o).equal(),zIndex:-9999,opacity:1e-4,content:'""'},"&-menu-vertical":{maxHeight:"100vh",overflowY:"auto"},[`&-trigger${i}-btn`]:{[`& > ${s}-down, & > ${i}-btn-icon > ${s}-down`]:{fontSize:p}},[`${t}-wrap`]:{position:"relative",[`${i}-btn > ${s}-down`]:{fontSize:p},[`${s}-down::before`]:{transition:`transform ${l}`}},[`${t}-wrap-open`]:{[`${s}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${i}-slide-down-enter${i}-slide-down-enter-active${t}-placement-bottomLeft,
|
|
232
|
+
&${i}-slide-down-appear${i}-slide-down-appear-active${t}-placement-bottomLeft,
|
|
233
|
+
&${i}-slide-down-enter${i}-slide-down-enter-active${t}-placement-bottom,
|
|
234
|
+
&${i}-slide-down-appear${i}-slide-down-appear-active${t}-placement-bottom,
|
|
235
|
+
&${i}-slide-down-enter${i}-slide-down-enter-active${t}-placement-bottomRight,
|
|
236
|
+
&${i}-slide-down-appear${i}-slide-down-appear-active${t}-placement-bottomRight`]:{animationName:Ld},[`&${i}-slide-up-enter${i}-slide-up-enter-active${t}-placement-topLeft,
|
|
237
|
+
&${i}-slide-up-appear${i}-slide-up-appear-active${t}-placement-topLeft,
|
|
238
|
+
&${i}-slide-up-enter${i}-slide-up-enter-active${t}-placement-top,
|
|
239
|
+
&${i}-slide-up-appear${i}-slide-up-appear-active${t}-placement-top,
|
|
240
|
+
&${i}-slide-up-enter${i}-slide-up-enter-active${t}-placement-topRight,
|
|
241
|
+
&${i}-slide-up-appear${i}-slide-up-appear-active${t}-placement-topRight`]:{animationName:Rd},[`&${i}-slide-down-leave${i}-slide-down-leave-active${t}-placement-bottomLeft,
|
|
242
|
+
&${i}-slide-down-leave${i}-slide-down-leave-active${t}-placement-bottom,
|
|
243
|
+
&${i}-slide-down-leave${i}-slide-down-leave-active${t}-placement-bottomRight`]:{animationName:Fd},[`&${i}-slide-up-leave${i}-slide-up-leave-active${t}-placement-topLeft,
|
|
244
|
+
&${i}-slide-up-leave${i}-slide-up-leave-active${t}-placement-top,
|
|
245
|
+
&${i}-slide-up-leave${i}-slide-up-leave-active${t}-placement-topRight`]:{animationName:Bd}}},Ff(e,v,{arrowPlacement:{top:!0,bottom:!0}}),{[`${t} ${n}`]:{position:"relative",margin:0},[`${n}-submenu-popup`]:{position:"absolute",zIndex:r,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${t}, ${t}-menu-submenu`]:Object.assign(Object.assign({},qt(e)),{[n]:Object.assign(Object.assign({padding:f,listStyleType:"none",backgroundColor:v,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary},Ea(e)),{"&:empty":{padding:0,boxShadow:"none"},[`${n}-item-group-title`]:{padding:`${ne(c)} ${ne(h)}`,color:e.colorTextDescription,transition:`all ${l}`},[`${n}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${n}-item-icon`]:{minWidth:d,marginInlineEnd:e.marginXS,fontSize:e.fontSizeSM},[`${n}-title-content`]:{flex:"auto","&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},"> a":{color:"inherit",transition:`all ${l}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}},[`${n}-item-extra`]:{paddingInlineStart:e.padding,marginInlineStart:"auto",fontSize:e.fontSizeSM,color:e.colorTextDescription}},[`${n}-item, ${n}-submenu-title`]:Object.assign(Object.assign({display:"flex",margin:0,padding:`${ne(c)} ${ne(h)}`,color:e.colorText,fontWeight:"normal",fontSize:d,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${l}`,borderRadius:e.borderRadiusSM,"&:hover, &-active":{backgroundColor:e.controlItemBgHover}},Ea(e)),{"&-selected":{color:e.colorPrimary,backgroundColor:e.controlItemBgActive,"&:hover, &-active":{backgroundColor:e.controlItemBgActiveHover}},"&-disabled":{color:m,cursor:"not-allowed","&:hover":{color:m,backgroundColor:v,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${ne(e.marginXXS)} 0`,overflow:"hidden",lineHeight:0,backgroundColor:e.colorSplit},[`${t}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:e.paddingXS,[`${t}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:e.colorIcon,fontSize:p,fontStyle:"normal"}}}),[`${n}-item-group-list`]:{margin:`0 ${ne(e.marginXS)}`,padding:0,listStyle:"none"},[`${n}-submenu-title`]:{paddingInlineEnd:e.calc(h).add(e.fontSizeSM).equal()},[`${n}-submenu-vertical`]:{position:"relative"},[`${n}-submenu${n}-submenu-disabled ${t}-menu-submenu-title`]:{[`&, ${t}-menu-submenu-arrow-icon`]:{color:m,backgroundColor:v,cursor:"not-allowed"}},[`${n}-submenu-selected ${t}-menu-submenu-title`]:{color:e.colorPrimary}})})},[ja(e,"slide-up"),ja(e,"slide-down"),El(e,"move-up"),El(e,"move-down"),ji(e,"zoom-big")]]},p8=zt("Dropdown",e=>{const{marginXXS:t,sizePopupArrow:n,paddingXXS:r,componentCls:o}=e,a=ft(e,{menuCls:`${o}-menu`,dropdownArrowDistance:e.calc(n).div(2).add(t).equal(),dropdownEdgeChildPadding:r});return[m8(a),f8(a)]},e=>Object.assign(Object.assign({zIndexPopup:e.zIndexPopupBase+50,paddingBlock:(e.controlHeight-e.fontSize*e.lineHeight)/2},Bl({contentRadius:e.borderRadiusLG,limitVerticalRadius:!0})),Lf(e)),{resetStyle:!1}),es=e=>{var t;const{menu:n,arrow:r,prefixCls:o,children:a,trigger:i,disabled:s,dropdownRender:l,popupRender:c,getPopupContainer:d,overlayClassName:f,rootClassName:m,overlayStyle:p,open:h,onOpenChange:v,visible:g,onVisibleChange:b,mouseEnterDelay:y=.15,mouseLeaveDelay:x=.1,autoAdjustOverflow:C=!0,placement:S="",overlay:$,transitionName:k,destroyOnHidden:E,destroyPopupOnHide:I}=e,{getPopupContainer:N,getPrefixCls:P,direction:T,dropdown:j}=u.useContext(Ue),_=c||l,M=Et("Dropdown");process.env.NODE_ENV!=="production"&&(Object.entries({visible:"open",onVisibleChange:"onOpenChange",overlay:"menu",dropdownRender:"popupRender",destroyPopupOnHide:"destroyOnHidden"}).forEach(([ue,he])=>{M.deprecated(!(ue in e),ue,he)}),S.includes("Center")&&M.deprecated(!S.includes("Center"),`placement: ${S}`,`placement: ${S.slice(0,S.indexOf("Center"))}`));const z=u.useMemo(()=>{const se=P();return k!==void 0?k:S.includes("top")?`${se}-slide-down`:`${se}-slide-up`},[P,S,k]),A=u.useMemo(()=>S?S.includes("Center")?S.slice(0,S.indexOf("Center")):S:T==="rtl"?"bottomRight":"bottomLeft",[S,T]),D=P("dropdown",o),W=ln(D),[U,q,B]=p8(D,W),[,L]=_n(),V=u.Children.only(sP(a)?u.createElement("span",null,a):a),H=sr(V,{className:G(`${D}-trigger`,{[`${D}-rtl`]:T==="rtl"},V.props.className),disabled:(t=V.props.disabled)!==null&&t!==void 0?t:s}),X=s?[]:i,ie=!!(X!=null&&X.includes("contextMenu")),[K,ee]=sn(!1,{value:h??g}),te=Wt(se=>{v==null||v(se,{source:"trigger"}),b==null||b(se),ee(se)}),Y=G(f,m,q,B,W,j==null?void 0:j.className,{[`${D}-rtl`]:T==="rtl"}),J=gy({arrowPointAtCenter:typeof r=="object"&&r.pointAtCenter,autoAdjustOverflow:C,offset:L.marginXXS,arrowWidth:r?L.sizePopupArrow:0,borderRadius:L.borderRadius}),ae=Wt(()=>{n!=null&&n.selectable&&(n!=null&&n.multiple)||(v==null||v(!1,{source:"menu"}),ee(!1))}),Z=()=>{let se;return n!=null&&n.items?se=u.createElement(Ja,Object.assign({},n)):typeof $=="function"?se=$():se=$,_&&(se=_(se)),se=u.Children.only(typeof se=="string"?u.createElement("span",null,se):se),u.createElement(n8,{prefixCls:`${D}-menu`,rootClassName:G(B,W),expandIcon:u.createElement("span",{className:`${D}-menu-submenu-arrow`},T==="rtl"?u.createElement(Gi,{className:`${D}-menu-submenu-arrow-icon`}):u.createElement(Ti,{className:`${D}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:ae,validator:({mode:ue})=>{process.env.NODE_ENV!=="production"&&M(!ue||ue==="vertical","usage",`mode="${ue}" is not supported for Dropdown's Menu.`)}},se)},[oe,re]=_a("Dropdown",p==null?void 0:p.zIndex);let ce=u.createElement(iP,Object.assign({alignPoint:ie},cn(e,["rootClassName"]),{mouseEnterDelay:y,mouseLeaveDelay:x,visible:K,builtinPlacements:J,arrow:!!r,overlayClassName:Y,prefixCls:D,getPopupContainer:d||N,transitionName:z,trigger:X,overlay:Z,placement:A,onVisibleChange:te,overlayStyle:Object.assign(Object.assign(Object.assign({},j==null?void 0:j.style),p),{zIndex:oe}),autoDestroy:E??I}),H);return oe&&(ce=u.createElement(Pa.Provider,{value:re},ce)),U(ce)},g8=db(es,"align",void 0,"dropdown",e=>e),h8=e=>u.createElement(g8,Object.assign({},e),u.createElement("span",null));es._InternalPanelDoNotUseOrYouWillBeFired=h8,process.env.NODE_ENV!=="production"&&(es.displayName="Dropdown");const Jy=u.createContext(null),v8=Jy.Provider,Zy=u.createContext(null),b8=Zy.Provider;var y8=["prefixCls","className","style","checked","disabled","defaultChecked","type","title","onChange"],Qy=w.forwardRef(function(e,t){var n=e.prefixCls,r=n===void 0?"rc-checkbox":n,o=e.className,a=e.style,i=e.checked,s=e.disabled,l=e.defaultChecked,c=l===void 0?!1:l,d=e.type,f=d===void 0?"checkbox":d,m=e.title,p=e.onChange,h=Qe(e,y8),v=w.useRef(null),g=w.useRef(null),b=sn(c,{value:i}),y=Q(b,2),x=y[0],C=y[1];w.useImperativeHandle(t,function(){return{focus:function(E){var I;(I=v.current)===null||I===void 0||I.focus(E)},blur:function(){var E;(E=v.current)===null||E===void 0||E.blur()},input:v.current,nativeElement:g.current}});var S=G(r,o,F(F({},"".concat(r,"-checked"),x),"".concat(r,"-disabled"),s)),$=function(E){s||("checked"in e||C(E.target.checked),p==null||p({target:R(R({},e),{},{type:f,checked:E.target.checked}),stopPropagation:function(){E.stopPropagation()},preventDefault:function(){E.preventDefault()},nativeEvent:E.nativeEvent}))};return u.createElement("span",{className:S,title:m,style:a,ref:g},u.createElement("input",ge({},h,{className:"".concat(r,"-input"),ref:v,onChange:$,disabled:s,checked:!!x,type:f})),u.createElement("span",{className:"".concat(r,"-inner")}))});function e1(e){const t=w.useRef(null),n=()=>{vt.cancel(t.current),t.current=null};return[()=>{n(),t.current=vt(()=>{t.current=null})},a=>{t.current&&(a.stopPropagation(),n()),e==null||e(a)}]}const C8=e=>{const{componentCls:t,antCls:n}=e,r=`${t}-group`;return{[r]:Object.assign(Object.assign({},qt(e)),{display:"inline-block",fontSize:0,[`&${r}-rtl`]:{direction:"rtl"},[`&${r}-block`]:{display:"flex"},[`${n}-badge ${n}-badge-count`]:{zIndex:1},[`> ${n}-badge:not(:first-child) > ${n}-button-wrapper`]:{borderInlineStart:"none"}})}},x8=e=>{const{componentCls:t,wrapperMarginInlineEnd:n,colorPrimary:r,radioSize:o,motionDurationSlow:a,motionDurationMid:i,motionEaseInOutCirc:s,colorBgContainer:l,colorBorder:c,lineWidth:d,colorBgContainerDisabled:f,colorTextDisabled:m,paddingXS:p,dotColorDisabled:h,lineType:v,radioColor:g,radioBgColor:b,calc:y}=e,x=`${t}-inner`,S=y(o).sub(y(4).mul(2)),$=y(1).mul(o).equal({unit:!0});return{[`${t}-wrapper`]:Object.assign(Object.assign({},qt(e)),{display:"inline-flex",alignItems:"baseline",marginInlineStart:0,marginInlineEnd:n,cursor:"pointer","&:last-child":{marginInlineEnd:0},[`&${t}-wrapper-rtl`]:{direction:"rtl"},"&-disabled":{cursor:"not-allowed",color:e.colorTextDisabled},"&::after":{display:"inline-block",width:0,overflow:"hidden",content:'"\\a0"'},"&-block":{flex:1,justifyContent:"center"},[`${t}-checked::after`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"100%",height:"100%",border:`${ne(d)} ${v} ${r}`,borderRadius:"50%",visibility:"hidden",opacity:0,content:'""'},[t]:Object.assign(Object.assign({},qt(e)),{position:"relative",display:"inline-block",outline:"none",cursor:"pointer",alignSelf:"center",borderRadius:"50%"}),[`${t}-wrapper:hover &,
|
|
246
|
+
&:hover ${x}`]:{borderColor:r},[`${t}-input:focus-visible + ${x}`]:Ii(e),[`${t}:hover::after, ${t}-wrapper:hover &::after`]:{visibility:"visible"},[`${t}-inner`]:{"&::after":{boxSizing:"border-box",position:"absolute",insetBlockStart:"50%",insetInlineStart:"50%",display:"block",width:$,height:$,marginBlockStart:y(1).mul(o).div(-2).equal({unit:!0}),marginInlineStart:y(1).mul(o).div(-2).equal({unit:!0}),backgroundColor:g,borderBlockStart:0,borderInlineStart:0,borderRadius:$,transform:"scale(0)",opacity:0,transition:`all ${a} ${s}`,content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:$,height:$,backgroundColor:l,borderColor:c,borderStyle:"solid",borderWidth:d,borderRadius:"50%",transition:`all ${i}`},[`${t}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0},[`${t}-checked`]:{[x]:{borderColor:r,backgroundColor:b,"&::after":{transform:`scale(${e.calc(e.dotSize).div(o).equal()})`,opacity:1,transition:`all ${a} ${s}`}}},[`${t}-disabled`]:{cursor:"not-allowed",[x]:{backgroundColor:f,borderColor:c,cursor:"not-allowed","&::after":{backgroundColor:h}},[`${t}-input`]:{cursor:"not-allowed"},[`${t}-disabled + span`]:{color:m,cursor:"not-allowed"},[`&${t}-checked`]:{[x]:{"&::after":{transform:`scale(${y(S).div(o).equal()})`}}}},[`span${t} + *`]:{paddingInlineStart:p,paddingInlineEnd:p}})}},w8=e=>{const{buttonColor:t,controlHeight:n,componentCls:r,lineWidth:o,lineType:a,colorBorder:i,motionDurationMid:s,buttonPaddingInline:l,fontSize:c,buttonBg:d,fontSizeLG:f,controlHeightLG:m,controlHeightSM:p,paddingXS:h,borderRadius:v,borderRadiusSM:g,borderRadiusLG:b,buttonCheckedBg:y,buttonSolidCheckedColor:x,colorTextDisabled:C,colorBgContainerDisabled:S,buttonCheckedBgDisabled:$,buttonCheckedColorDisabled:k,colorPrimary:E,colorPrimaryHover:I,colorPrimaryActive:N,buttonSolidCheckedBg:P,buttonSolidCheckedHoverBg:T,buttonSolidCheckedActiveBg:j,calc:_}=e;return{[`${r}-button-wrapper`]:{position:"relative",display:"inline-block",height:n,margin:0,paddingInline:l,paddingBlock:0,color:t,fontSize:c,lineHeight:ne(_(n).sub(_(o).mul(2)).equal()),background:d,border:`${ne(o)} ${a} ${i}`,borderBlockStartWidth:_(o).add(.02).equal(),borderInlineEndWidth:o,cursor:"pointer",transition:[`color ${s}`,`background ${s}`,`box-shadow ${s}`].join(","),a:{color:t},[`> ${r}-button`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:"100%",height:"100%"},"&:not(:last-child)":{marginInlineEnd:_(o).mul(-1).equal()},"&:first-child":{borderInlineStart:`${ne(o)} ${a} ${i}`,borderStartStartRadius:v,borderEndStartRadius:v},"&:last-child":{borderStartEndRadius:v,borderEndEndRadius:v},"&:first-child:last-child":{borderRadius:v},[`${r}-group-large &`]:{height:m,fontSize:f,lineHeight:ne(_(m).sub(_(o).mul(2)).equal()),"&:first-child":{borderStartStartRadius:b,borderEndStartRadius:b},"&:last-child":{borderStartEndRadius:b,borderEndEndRadius:b}},[`${r}-group-small &`]:{height:p,paddingInline:_(h).sub(o).equal(),paddingBlock:0,lineHeight:ne(_(p).sub(_(o).mul(2)).equal()),"&:first-child":{borderStartStartRadius:g,borderEndStartRadius:g},"&:last-child":{borderStartEndRadius:g,borderEndEndRadius:g}},"&:hover":{position:"relative",color:E},"&:has(:focus-visible)":Ii(e),[`${r}-inner, input[type='checkbox'], input[type='radio']`]:{width:0,height:0,opacity:0,pointerEvents:"none"},[`&-checked:not(${r}-button-wrapper-disabled)`]:{zIndex:1,color:E,background:y,borderColor:E,"&::before":{backgroundColor:E},"&:first-child":{borderColor:E},"&:hover":{color:I,borderColor:I,"&::before":{backgroundColor:I}},"&:active":{color:N,borderColor:N,"&::before":{backgroundColor:N}}},[`${r}-group-solid &-checked:not(${r}-button-wrapper-disabled)`]:{color:x,background:P,borderColor:P,"&:hover":{color:x,background:T,borderColor:T},"&:active":{color:x,background:j,borderColor:j}},"&-disabled":{color:C,backgroundColor:S,borderColor:i,cursor:"not-allowed","&:first-child, &:hover":{color:C,backgroundColor:S,borderColor:i}},[`&-disabled${r}-button-wrapper-checked`]:{color:k,backgroundColor:$,borderColor:i,boxShadow:"none"},"&-block":{flex:1,textAlign:"center"}}}},t1=zt("Radio",e=>{const{controlOutline:t,controlOutlineWidth:n}=e,r=`0 0 0 ${ne(n)} ${t}`,a=ft(e,{radioFocusShadow:r,radioButtonFocusShadow:r});return[C8(a),x8(a),w8(a)]},e=>{const{wireframe:t,padding:n,marginXS:r,lineWidth:o,fontSizeLG:a,colorText:i,colorBgContainer:s,colorTextDisabled:l,controlItemBgActiveDisabled:c,colorTextLightSolid:d,colorPrimary:f,colorPrimaryHover:m,colorPrimaryActive:p,colorWhite:h}=e,v=4,g=a,b=t?g-v*2:g-(v+o)*2;return{radioSize:g,dotSize:b,dotColorDisabled:l,buttonSolidCheckedColor:d,buttonSolidCheckedBg:f,buttonSolidCheckedHoverBg:m,buttonSolidCheckedActiveBg:p,buttonBg:s,buttonCheckedBg:s,buttonColor:i,buttonCheckedBgDisabled:c,buttonCheckedColorDisabled:l,buttonPaddingInline:n-o,wrapperMarginInlineEnd:r,radioColor:t?f:h,radioBgColor:t?s:f}},{unitless:{radioSize:!0,dotSize:!0}});var S8=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const E8=(e,t)=>{var n,r;const o=u.useContext(Jy),a=u.useContext(Zy),{getPrefixCls:i,direction:s,radio:l}=u.useContext(Ue),c=u.useRef(null),d=wn(t,c),{isFormItemInput:f}=u.useContext(bn);if(process.env.NODE_ENV!=="production"){const z=Et("Radio");process.env.NODE_ENV!=="production"&&z(!("optionType"in e),"usage","`optionType` is only support in Radio.Group.")}const m=z=>{var A,D;(A=e.onChange)===null||A===void 0||A.call(e,z),(D=o==null?void 0:o.onChange)===null||D===void 0||D.call(o,z)},{prefixCls:p,className:h,rootClassName:v,children:g,style:b,title:y}=e,x=S8(e,["prefixCls","className","rootClassName","children","style","title"]),C=i("radio",p),S=((o==null?void 0:o.optionType)||a)==="button",$=S?`${C}-button`:C,k=ln(C),[E,I,N]=t1(C,k),P=Object.assign({},x),T=u.useContext(Un);o&&(P.name=o.name,P.onChange=m,P.checked=e.value===o.value,P.disabled=(n=P.disabled)!==null&&n!==void 0?n:o.disabled),P.disabled=(r=P.disabled)!==null&&r!==void 0?r:T;const j=G(`${$}-wrapper`,{[`${$}-wrapper-checked`]:P.checked,[`${$}-wrapper-disabled`]:P.disabled,[`${$}-wrapper-rtl`]:s==="rtl",[`${$}-wrapper-in-form-item`]:f,[`${$}-wrapper-block`]:!!(o!=null&&o.block)},l==null?void 0:l.className,h,v,I,N,k),[_,M]=e1(P.onClick);return E(u.createElement(_i,{component:"Radio",disabled:P.disabled},u.createElement("label",{className:j,style:Object.assign(Object.assign({},l==null?void 0:l.style),b),onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,title:y,onClick:_},u.createElement(Qy,Object.assign({},P,{className:G(P.className,{[Cl]:!S}),type:"radio",prefixCls:$,ref:d,onClick:M})),g!==void 0?u.createElement("span",{className:`${$}-label`},g):null)))},ts=u.forwardRef(E8);process.env.NODE_ENV!=="production"&&(ts.displayName="Radio");const $8=["parentNode"],k8="form_item";function ns(e){return e===void 0||e===!1?[]:Array.isArray(e)?e:[e]}function n1(e,t){if(!e.length)return;const n=e.join("_");return t?`${t}_${n}`:$8.includes(n)?`${k8}_${n}`:n}function r1(e,t,n,r,o,a){let i=r;return a!==void 0?i=a:n.validating?i="validating":e.length?i="error":t.length?i="warning":(n.touched||o&&n.validated)&&(i="success"),i}var O8=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function em(e){return ns(e).join("_")}function o1(e,t){const n=t.getFieldInstance(e),r=og(n);if(r)return r;const o=n1(ns(e),t.__INTERNAL__.name);if(o)return document.getElementById(o)}function a1(e){const[t]=sf(),n=u.useRef({}),r=u.useMemo(()=>e??Object.assign(Object.assign({},t),{__INTERNAL__:{itemRef:o=>a=>{const i=em(o);a?n.current[i]=a:delete n.current[i]}},scrollToField:(o,a={})=>{const{focus:i}=a,s=O8(a,["focus"]),l=o1(o,r);l&&(Kk(l,Object.assign({scrollMode:"if-needed",block:"nearest"},s)),i&&r.focusField(o))},focusField:o=>{var a,i;const s=r.getFieldInstance(o);typeof(s==null?void 0:s.focus)=="function"?s.focus():(i=(a=o1(o,r))===null||a===void 0?void 0:a.focus)===null||i===void 0||i.call(a)},getFieldInstance:o=>{const a=em(o);return n.current[a]}}),[e,t]);return[r]}const I8=u.forwardRef((e,t)=>{const{getPrefixCls:n,direction:r}=u.useContext(Ue),{name:o}=u.useContext(bn),a=Di(em(o)),{prefixCls:i,className:s,rootClassName:l,options:c,buttonStyle:d="outline",disabled:f,children:m,size:p,style:h,id:v,optionType:g,name:b=a,defaultValue:y,value:x,block:C=!1,onChange:S,onMouseEnter:$,onMouseLeave:k,onFocus:E,onBlur:I}=e,[N,P]=sn(y,{value:x}),T=u.useCallback(L=>{const V=N,H=L.target.value;"value"in e||P(H),H!==V&&(S==null||S(L))},[N,P,S]),j=n("radio",i),_=`${j}-group`,M=ln(j),[z,A,D]=t1(j,M);let W=m;c&&c.length>0&&(W=c.map(L=>typeof L=="string"||typeof L=="number"?u.createElement(ts,{key:L.toString(),prefixCls:j,disabled:f,value:L,checked:N===L},L):u.createElement(ts,{key:`radio-group-value-options-${L.value}`,prefixCls:j,disabled:L.disabled||f,value:L.value,checked:N===L.value,title:L.title,style:L.style,className:L.className,id:L.id,required:L.required},L.label)));const U=Kn(p),q=G(_,`${_}-${d}`,{[`${_}-${U}`]:U,[`${_}-rtl`]:r==="rtl",[`${_}-block`]:C},s,l,A,D,M),B=u.useMemo(()=>({onChange:T,value:N,disabled:f,name:b,optionType:g,block:C}),[T,N,f,b,g,C]);return z(u.createElement("div",Object.assign({},Gn(e,{aria:!0,data:!0}),{className:q,style:h,onMouseEnter:$,onMouseLeave:k,onFocus:E,onBlur:I,id:v,ref:t}),u.createElement(v8,{value:B},W)))}),N8=u.memo(I8);var P8=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const _8=(e,t)=>{const{getPrefixCls:n}=u.useContext(Ue),{prefixCls:r}=e,o=P8(e,["prefixCls"]),a=n("radio",r);return u.createElement(b8,{value:"button"},u.createElement(ts,Object.assign({prefixCls:a},o,{type:"radio",ref:t})))},T8=u.forwardRef(_8),Ft=ts;Ft.Button=T8,Ft.Group=N8,Ft.__ANT_RADIO=!0;function rs(e){return ft(e,{inputAffixPadding:e.paddingXXS})}const os=e=>{const{controlHeight:t,fontSize:n,lineHeight:r,lineWidth:o,controlHeightSM:a,controlHeightLG:i,fontSizeLG:s,lineHeightLG:l,paddingSM:c,controlPaddingHorizontalSM:d,controlPaddingHorizontal:f,colorFillAlter:m,colorPrimaryHover:p,colorPrimary:h,controlOutlineWidth:v,controlOutline:g,colorErrorOutline:b,colorWarningOutline:y,colorBgContainer:x,inputFontSize:C,inputFontSizeLG:S,inputFontSizeSM:$}=e,k=C||n,E=$||k,I=S||s,N=Math.round((t-k*r)/2*10)/10-o,P=Math.round((a-E*r)/2*10)/10-o,T=Math.ceil((i-I*l)/2*10)/10-o;return{paddingBlock:Math.max(N,0),paddingBlockSM:Math.max(P,0),paddingBlockLG:Math.max(T,0),paddingInline:c-o,paddingInlineSM:d-o,paddingInlineLG:f-o,addonBg:m,activeBorderColor:h,hoverBorderColor:p,activeShadow:`0 0 0 ${v}px ${g}`,errorActiveShadow:`0 0 0 ${v}px ${b}`,warningActiveShadow:`0 0 0 ${v}px ${y}`,hoverBg:x,activeBg:x,inputFontSize:k,inputFontSizeLG:I,inputFontSizeSM:E}},j8=e=>({borderColor:e.hoverBorderColor,backgroundColor:e.hoverBg}),tm=e=>({color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"input[disabled], textarea[disabled]":{cursor:"not-allowed"},"&:hover:not([disabled])":Object.assign({},j8(ft(e,{hoverBorderColor:e.colorBorder,hoverBg:e.colorBgContainerDisabled})))}),i1=(e,t)=>({background:e.colorBgContainer,borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:t.borderColor,"&:hover":{borderColor:t.hoverBorderColor,backgroundColor:e.hoverBg},"&:focus, &:focus-within":{borderColor:t.activeBorderColor,boxShadow:t.activeShadow,outline:0,backgroundColor:e.activeBg}}),s1=(e,t)=>({[`&${e.componentCls}-status-${t.status}:not(${e.componentCls}-disabled)`]:Object.assign(Object.assign({},i1(e,t)),{[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:t.affixColor}}),[`&${e.componentCls}-status-${t.status}${e.componentCls}-disabled`]:{borderColor:t.borderColor}}),l1=(e,t)=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},i1(e,{borderColor:e.colorBorder,hoverBorderColor:e.hoverBorderColor,activeBorderColor:e.activeBorderColor,activeShadow:e.activeShadow})),{[`&${e.componentCls}-disabled, &[disabled]`]:Object.assign({},tm(e))}),s1(e,{status:"error",borderColor:e.colorError,hoverBorderColor:e.colorErrorBorderHover,activeBorderColor:e.colorError,activeShadow:e.errorActiveShadow,affixColor:e.colorError})),s1(e,{status:"warning",borderColor:e.colorWarning,hoverBorderColor:e.colorWarningBorderHover,activeBorderColor:e.colorWarning,activeShadow:e.warningActiveShadow,affixColor:e.colorWarning})),t)}),c1=(e,t)=>({[`&${e.componentCls}-group-wrapper-status-${t.status}`]:{[`${e.componentCls}-group-addon`]:{borderColor:t.addonBorderColor,color:t.addonColor}}}),u1=e=>({"&-outlined":Object.assign(Object.assign(Object.assign({[`${e.componentCls}-group`]:{"&-addon":{background:e.addonBg,border:`${ne(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}}},c1(e,{status:"error",addonBorderColor:e.colorError,addonColor:e.colorErrorText})),c1(e,{status:"warning",addonBorderColor:e.colorWarning,addonColor:e.colorWarningText})),{[`&${e.componentCls}-group-wrapper-disabled`]:{[`${e.componentCls}-group-addon`]:Object.assign({},tm(e))}})}),d1=(e,t)=>{const{componentCls:n}=e;return{"&-borderless":Object.assign({background:"transparent",border:"none","&:focus, &:focus-within":{outline:"none"},[`&${n}-disabled, &[disabled]`]:{color:e.colorTextDisabled,cursor:"not-allowed"},[`&${n}-status-error`]:{"&, & input, & textarea":{color:e.colorError}},[`&${n}-status-warning`]:{"&, & input, & textarea":{color:e.colorWarning}}},t)}},f1=(e,t)=>{var n;return{background:t.bg,borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:"transparent","input&, & input, textarea&, & textarea":{color:(n=t==null?void 0:t.inputColor)!==null&&n!==void 0?n:"unset"},"&:hover":{background:t.hoverBg},"&:focus, &:focus-within":{outline:0,borderColor:t.activeBorderColor,backgroundColor:e.activeBg}}},m1=(e,t)=>({[`&${e.componentCls}-status-${t.status}:not(${e.componentCls}-disabled)`]:Object.assign(Object.assign({},f1(e,t)),{[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:t.affixColor}})}),p1=(e,t)=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},f1(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.activeBorderColor})),{[`&${e.componentCls}-disabled, &[disabled]`]:Object.assign({},tm(e))}),m1(e,{status:"error",bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,inputColor:e.colorErrorText,affixColor:e.colorError})),m1(e,{status:"warning",bg:e.colorWarningBg,hoverBg:e.colorWarningBgHover,activeBorderColor:e.colorWarning,inputColor:e.colorWarningText,affixColor:e.colorWarning})),t)}),g1=(e,t)=>({[`&${e.componentCls}-group-wrapper-status-${t.status}`]:{[`${e.componentCls}-group-addon`]:{background:t.addonBg,color:t.addonColor}}}),h1=e=>({"&-filled":Object.assign(Object.assign(Object.assign({[`${e.componentCls}-group-addon`]:{background:e.colorFillTertiary,"&:last-child":{position:"static"}}},g1(e,{status:"error",addonBg:e.colorErrorBg,addonColor:e.colorErrorText})),g1(e,{status:"warning",addonBg:e.colorWarningBg,addonColor:e.colorWarningText})),{[`&${e.componentCls}-group-wrapper-disabled`]:{[`${e.componentCls}-group`]:{"&-addon":{background:e.colorFillTertiary,color:e.colorTextDisabled},"&-addon:first-child":{borderInlineStart:`${ne(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderTop:`${ne(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderBottom:`${ne(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},"&-addon:last-child":{borderInlineEnd:`${ne(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderTop:`${ne(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderBottom:`${ne(e.lineWidth)} ${e.lineType} ${e.colorBorder}`}}}})}),v1=(e,t)=>({background:e.colorBgContainer,borderWidth:`${ne(e.lineWidth)} 0`,borderStyle:`${e.lineType} none`,borderColor:`transparent transparent ${t.borderColor} transparent`,borderRadius:0,"&:hover":{borderColor:`transparent transparent ${t.hoverBorderColor} transparent`,backgroundColor:e.hoverBg},"&:focus, &:focus-within":{borderColor:`transparent transparent ${t.activeBorderColor} transparent`,outline:0,backgroundColor:e.activeBg}}),b1=(e,t)=>({[`&${e.componentCls}-status-${t.status}:not(${e.componentCls}-disabled)`]:Object.assign(Object.assign({},v1(e,t)),{[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:t.affixColor}}),[`&${e.componentCls}-status-${t.status}${e.componentCls}-disabled`]:{borderColor:`transparent transparent ${t.borderColor} transparent`}}),y1=(e,t)=>({"&-underlined":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},v1(e,{borderColor:e.colorBorder,hoverBorderColor:e.hoverBorderColor,activeBorderColor:e.activeBorderColor,activeShadow:e.activeShadow})),{[`&${e.componentCls}-disabled, &[disabled]`]:{color:e.colorTextDisabled,boxShadow:"none",cursor:"not-allowed","&:hover":{borderColor:`transparent transparent ${e.colorBorder} transparent`}},"input[disabled], textarea[disabled]":{cursor:"not-allowed"}}),b1(e,{status:"error",borderColor:e.colorError,hoverBorderColor:e.colorErrorBorderHover,activeBorderColor:e.colorError,activeShadow:e.errorActiveShadow,affixColor:e.colorError})),b1(e,{status:"warning",borderColor:e.colorWarning,hoverBorderColor:e.colorWarningBorderHover,activeBorderColor:e.colorWarning,activeShadow:e.warningActiveShadow,affixColor:e.colorWarning})),t)}),C1=e=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:e,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),x1=e=>{const{paddingBlockLG:t,lineHeightLG:n,borderRadiusLG:r,paddingInlineLG:o}=e;return{padding:`${ne(t)} ${ne(o)}`,fontSize:e.inputFontSizeLG,lineHeight:n,borderRadius:r}},w1=e=>({padding:`${ne(e.paddingBlockSM)} ${ne(e.paddingInlineSM)}`,fontSize:e.inputFontSizeSM,borderRadius:e.borderRadiusSM}),Ql=e=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${ne(e.paddingBlock)} ${ne(e.paddingInline)}`,color:e.colorText,fontSize:e.inputFontSize,lineHeight:e.lineHeight,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid}`},C1(e.colorTextPlaceholder)),{"&-lg":Object.assign({},x1(e)),"&-sm":Object.assign({},w1(e)),"&-rtl, &-textarea-rtl":{direction:"rtl"}}),S1=e=>{const{componentCls:t,antCls:n}=e;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:e.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${t}, &-lg > ${t}-group-addon`]:Object.assign({},x1(e)),[`&-sm ${t}, &-sm > ${t}-group-addon`]:Object.assign({},w1(e)),[`&-lg ${n}-select-single ${n}-select-selector`]:{height:e.controlHeightLG},[`&-sm ${n}-select-single ${n}-select-selector`]:{height:e.controlHeightSM},[`> ${t}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${t}-group`]:{"&-addon, &-wrap":{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${ne(e.paddingInline)}`,color:e.colorText,fontWeight:"normal",fontSize:e.inputFontSize,textAlign:"center",borderRadius:e.borderRadius,transition:`all ${e.motionDurationSlow}`,lineHeight:1,[`${n}-select`]:{margin:`${ne(e.calc(e.paddingBlock).add(1).mul(-1).equal())} ${ne(e.calc(e.paddingInline).mul(-1).equal())}`,[`&${n}-select-single:not(${n}-select-customize-input):not(${n}-pagination-size-changer)`]:{[`${n}-select-selector`]:{backgroundColor:"inherit",border:`${ne(e.lineWidth)} ${e.lineType} transparent`,boxShadow:"none"}}},[`${n}-cascader-picker`]:{margin:`-9px ${ne(e.calc(e.paddingInline).mul(-1).equal())}`,backgroundColor:"transparent",[`${n}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}}},[t]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${t}-search-with-button &`]:{zIndex:0}}},[`> ${t}:first-child, ${t}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${n}-select ${n}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}-affix-wrapper`]:{[`&:not(:first-child) ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}:last-child, ${t}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${n}-select ${n}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${t}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${t}-search &`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius}},[`&:not(:first-child), ${t}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${t}-group-compact`]:Object.assign(Object.assign({display:"block"},rl()),{[`${t}-group-addon, ${t}-group-wrap, > ${t}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:e.lineWidth,"&:hover, &:focus":{zIndex:1}}},"& > *":{display:"inline-flex",float:"none",verticalAlign:"top",borderRadius:0},[`
|
|
247
|
+
& > ${t}-affix-wrapper,
|
|
248
|
+
& > ${t}-number-affix-wrapper,
|
|
249
|
+
& > ${n}-picker-range
|
|
250
|
+
`]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal(),borderInlineEndWidth:e.lineWidth},[t]:{float:"none"},[`& > ${n}-select > ${n}-select-selector,
|
|
251
|
+
& > ${n}-select-auto-complete ${t},
|
|
252
|
+
& > ${n}-cascader-picker ${t},
|
|
253
|
+
& > ${t}-group-wrapper ${t}`]:{borderInlineEndWidth:e.lineWidth,borderRadius:0,"&:hover, &:focus":{zIndex:1}},[`& > ${n}-select-focused`]:{zIndex:1},[`& > ${n}-select > ${n}-select-arrow`]:{zIndex:1},[`& > *:first-child,
|
|
254
|
+
& > ${n}-select:first-child > ${n}-select-selector,
|
|
255
|
+
& > ${n}-select-auto-complete:first-child ${t},
|
|
256
|
+
& > ${n}-cascader-picker:first-child ${t}`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius},[`& > *:last-child,
|
|
257
|
+
& > ${n}-select:last-child > ${n}-select-selector,
|
|
258
|
+
& > ${n}-cascader-picker:last-child ${t},
|
|
259
|
+
& > ${n}-cascader-picker-focused:last-child ${t}`]:{borderInlineEndWidth:e.lineWidth,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius},[`& > ${n}-select-auto-complete ${t}`]:{verticalAlign:"top"},[`${t}-group-wrapper + ${t}-group-wrapper`]:{marginInlineStart:e.calc(e.lineWidth).mul(-1).equal(),[`${t}-affix-wrapper`]:{borderRadius:0}},[`${t}-group-wrapper:not(:last-child)`]:{[`&${t}-search > ${t}-group`]:{[`& > ${t}-group-addon > ${t}-search-button`]:{borderRadius:0},[`& > ${t}`]:{borderStartStartRadius:e.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:e.borderRadius}}}})}},M8=e=>{const{componentCls:t,controlHeightSM:n,lineWidth:r,calc:o}=e,i=o(n).sub(o(r).mul(2)).sub(16).div(2).equal();return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},qt(e)),Ql(e)),l1(e)),p1(e)),d1(e)),y1(e)),{'&[type="color"]':{height:e.controlHeight,[`&${t}-lg`]:{height:e.controlHeightLG},[`&${t}-sm`]:{height:n,paddingTop:i,paddingBottom:i}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{appearance:"none"}})}},z8=e=>{const{componentCls:t}=e;return{[`${t}-clear-icon`]:{margin:0,padding:0,lineHeight:0,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${e.motionDurationSlow}`,border:"none",outline:"none",backgroundColor:"transparent","&:hover":{color:e.colorIcon},"&:active":{color:e.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${ne(e.inputAffixPadding)}`}}}},A8=e=>{const{componentCls:t,inputAffixPadding:n,colorTextDescription:r,motionDurationSlow:o,colorIcon:a,colorIconHover:i,iconCls:s}=e,l=`${t}-affix-wrapper`,c=`${t}-affix-wrapper-disabled`;return{[l]:Object.assign(Object.assign(Object.assign(Object.assign({},Ql(e)),{display:"inline-flex",[`&:not(${t}-disabled):hover`]:{zIndex:1,[`${t}-search-with-button &`]:{zIndex:0}},"&-focused, &:focus":{zIndex:1},[`> input${t}`]:{padding:0},[`> input${t}, > textarea${t}`]:{fontSize:"inherit",border:"none",borderRadius:0,outline:"none",background:"transparent",color:"inherit","&::-ms-reveal":{display:"none"},"&:focus":{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[t]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:e.paddingXS}},"&-show-count-suffix":{color:r,direction:"ltr"},"&-show-count-has-suffix":{marginInlineEnd:e.paddingXXS},"&-prefix":{marginInlineEnd:n},"&-suffix":{marginInlineStart:n}}}),z8(e)),{[`${s}${t}-password-icon`]:{color:a,cursor:"pointer",transition:`all ${o}`,"&:hover":{color:i}}}),[`${t}-underlined`]:{borderRadius:0},[c]:{[`${s}${t}-password-icon`]:{color:a,cursor:"not-allowed","&:hover":{color:a}}}}},D8=e=>{const{componentCls:t,borderRadiusLG:n,borderRadiusSM:r}=e;return{[`${t}-group`]:Object.assign(Object.assign(Object.assign({},qt(e)),S1(e)),{"&-rtl":{direction:"rtl"},"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${t}-group-addon`]:{borderRadius:n,fontSize:e.inputFontSizeLG}},"&-sm":{[`${t}-group-addon`]:{borderRadius:r}}},u1(e)),h1(e)),{[`&:not(${t}-compact-first-item):not(${t}-compact-last-item)${t}-compact-item`]:{[`${t}, ${t}-group-addon`]:{borderRadius:0}},[`&:not(${t}-compact-last-item)${t}-compact-first-item`]:{[`${t}, ${t}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${t}-compact-first-item)${t}-compact-last-item`]:{[`${t}, ${t}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&:not(${t}-compact-last-item)${t}-compact-item`]:{[`${t}-affix-wrapper`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${t}-compact-first-item)${t}-compact-item`]:{[`${t}-affix-wrapper`]:{borderStartStartRadius:0,borderEndStartRadius:0}}})})}},L8=e=>{const{componentCls:t,antCls:n}=e,r=`${t}-search`;return{[r]:{[t]:{"&:not([disabled]):hover, &:not([disabled]):focus":{[`+ ${t}-group-addon ${r}-button:not(${n}-btn-color-primary):not(${n}-btn-variant-text)`]:{borderInlineStartColor:e.colorPrimaryHover}}},[`${t}-affix-wrapper`]:{height:e.controlHeight,borderRadius:0},[`${t}-lg`]:{lineHeight:e.calc(e.lineHeightLG).sub(2e-4).equal()},[`> ${t}-group`]:{[`> ${t}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${r}-button`]:{marginInlineEnd:-1,borderStartStartRadius:0,borderEndStartRadius:0,boxShadow:"none"},[`${r}-button:not(${n}-btn-color-primary)`]:{color:e.colorTextDescription,"&:not([disabled]):hover":{color:e.colorPrimaryHover},"&:active":{color:e.colorPrimaryActive},[`&${n}-btn-loading::before`]:{inset:0}}}},[`${r}-button`]:{height:e.controlHeight,"&:hover, &:focus":{zIndex:1}},"&-large":{[`${t}-affix-wrapper, ${r}-button`]:{height:e.controlHeightLG}},"&-small":{[`${t}-affix-wrapper, ${r}-button`]:{height:e.controlHeightSM}},"&-rtl":{direction:"rtl"},[`&${t}-compact-item`]:{[`&:not(${t}-compact-last-item)`]:{[`${t}-group-addon`]:{[`${t}-search-button`]:{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal(),borderRadius:0}}},[`&:not(${t}-compact-first-item)`]:{[`${t},${t}-affix-wrapper`]:{borderRadius:0}},[`> ${t}-group-addon ${t}-search-button,
|
|
260
|
+
> ${t},
|
|
261
|
+
${t}-affix-wrapper`]:{"&:hover, &:focus, &:active":{zIndex:2}},[`> ${t}-affix-wrapper-focused`]:{zIndex:2}}}}},F8=e=>{const{componentCls:t}=e;return{[`${t}-out-of-range`]:{[`&, & input, & textarea, ${t}-show-count-suffix, ${t}-data-count`]:{color:e.colorError}}}},E1=zt(["Input","Shared"],e=>{const t=ft(e,rs(e));return[M8(t),A8(t)]},os,{resetFont:!1}),$1=zt(["Input","Component"],e=>{const t=ft(e,rs(e));return[D8(t),L8(t),F8(t),Mi(t)]},os,{resetFont:!1});var R8={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"},B8=function(t,n){return u.createElement(Nt,ge({},t,{ref:n,icon:R8}))},xo=u.forwardRef(B8);process.env.NODE_ENV!=="production"&&(xo.displayName="PlusOutlined");const V8=e=>{const{checkboxCls:t}=e,n=`${t}-wrapper`;return[{[`${t}-group`]:Object.assign(Object.assign({},qt(e)),{display:"inline-flex",flexWrap:"wrap",columnGap:e.marginXS,[`> ${e.antCls}-row`]:{flex:1}}),[n]:Object.assign(Object.assign({},qt(e)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${n}`]:{marginInlineStart:0},[`&${n}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[t]:Object.assign(Object.assign({},qt(e)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:e.borderRadiusSM,alignSelf:"center",[`${t}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${t}-inner`]:Ii(e)},[`${t}-inner`]:{boxSizing:"border-box",display:"block",width:e.checkboxSize,height:e.checkboxSize,direction:"ltr",backgroundColor:e.colorBgContainer,border:`${ne(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,borderCollapse:"separate",transition:`all ${e.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"25%",display:"table",width:e.calc(e.checkboxSize).div(14).mul(5).equal(),height:e.calc(e.checkboxSize).div(14).mul(8).equal(),border:`${ne(e.lineWidthBold)} solid ${e.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${e.motionDurationFast} ${e.motionEaseInBack}, opacity ${e.motionDurationFast}`}},"& + span":{paddingInlineStart:e.paddingXS,paddingInlineEnd:e.paddingXS}})},{[`
|
|
262
|
+
${n}:not(${n}-disabled),
|
|
263
|
+
${t}:not(${t}-disabled)
|
|
264
|
+
`]:{[`&:hover ${t}-inner`]:{borderColor:e.colorPrimary}},[`${n}:not(${n}-disabled)`]:{[`&:hover ${t}-checked:not(${t}-disabled) ${t}-inner`]:{backgroundColor:e.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${t}-checked:not(${t}-disabled):after`]:{borderColor:e.colorPrimaryHover}}},{[`${t}-checked`]:{[`${t}-inner`]:{backgroundColor:e.colorPrimary,borderColor:e.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${e.motionDurationMid} ${e.motionEaseOutBack} ${e.motionDurationFast}`}}},[`
|
|
265
|
+
${n}-checked:not(${n}-disabled),
|
|
266
|
+
${t}-checked:not(${t}-disabled)
|
|
267
|
+
`]:{[`&:hover ${t}-inner`]:{backgroundColor:e.colorPrimaryHover,borderColor:"transparent"}}},{[t]:{"&-indeterminate":{"&":{[`${t}-inner`]:{backgroundColor:`${e.colorBgContainer}`,borderColor:`${e.colorBorder}`,"&:after":{top:"50%",insetInlineStart:"50%",width:e.calc(e.fontSizeLG).div(2).equal(),height:e.calc(e.fontSizeLG).div(2).equal(),backgroundColor:e.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}},[`&:hover ${t}-inner`]:{backgroundColor:`${e.colorBgContainer}`,borderColor:`${e.colorPrimary}`}}}}},{[`${n}-disabled`]:{cursor:"not-allowed"},[`${t}-disabled`]:{[`&, ${t}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${t}-inner`]:{background:e.colorBgContainerDisabled,borderColor:e.colorBorder,"&:after":{borderColor:e.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:e.colorTextDisabled},[`&${t}-indeterminate ${t}-inner::after`]:{background:e.colorTextDisabled}}}]};function H8(e,t){const n=ft(t,{checkboxCls:`.${e}`,checkboxSize:t.controlInteractiveSize});return V8(n)}const k1=zt("Checkbox",(e,{prefixCls:t})=>[H8(t,e)]),O1=w.createContext(null);var W8=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const q8=(e,t)=>{var n;const{prefixCls:r,className:o,rootClassName:a,children:i,indeterminate:s=!1,style:l,onMouseEnter:c,onMouseLeave:d,skipGroup:f=!1,disabled:m}=e,p=W8(e,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:h,direction:v,checkbox:g}=u.useContext(Ue),b=u.useContext(O1),{isFormItemInput:y}=u.useContext(bn),x=u.useContext(Un),C=(n=(b==null?void 0:b.disabled)||m)!==null&&n!==void 0?n:x,S=u.useRef(p.value),$=u.useRef(null),k=wn(t,$);if(process.env.NODE_ENV!=="production"){const D=Et("Checkbox");process.env.NODE_ENV!=="production"&&D("checked"in p||!!b||!("value"in p),"usage","`value` is not a valid prop, do you mean `checked`?")}u.useEffect(()=>{b==null||b.registerValue(p.value)},[]),u.useEffect(()=>{if(!f)return p.value!==S.current&&(b==null||b.cancelValue(S.current),b==null||b.registerValue(p.value),S.current=p.value),()=>b==null?void 0:b.cancelValue(p.value)},[p.value]),u.useEffect(()=>{var D;!((D=$.current)===null||D===void 0)&&D.input&&($.current.input.indeterminate=s)},[s]);const E=h("checkbox",r),I=ln(E),[N,P,T]=k1(E,I),j=Object.assign({},p);b&&!f&&(j.onChange=(...D)=>{p.onChange&&p.onChange.apply(p,D),b.toggleOption&&b.toggleOption({label:i,value:p.value})},j.name=b.name,j.checked=b.value.includes(p.value));const _=G(`${E}-wrapper`,{[`${E}-rtl`]:v==="rtl",[`${E}-wrapper-checked`]:j.checked,[`${E}-wrapper-disabled`]:C,[`${E}-wrapper-in-form-item`]:y},g==null?void 0:g.className,o,a,T,I,P),M=G({[`${E}-indeterminate`]:s},Cl,P),[z,A]=e1(j.onClick);return N(u.createElement(_i,{component:"Checkbox",disabled:C},u.createElement("label",{className:_,style:Object.assign(Object.assign({},g==null?void 0:g.style),l),onMouseEnter:c,onMouseLeave:d,onClick:z},u.createElement(Qy,Object.assign({},j,{onClick:A,prefixCls:E,className:M,disabled:C,ref:k})),i!=null&&u.createElement("span",{className:`${E}-label`},i))))},nm=u.forwardRef(q8);process.env.NODE_ENV!=="production"&&(nm.displayName="Checkbox");var U8=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const G8=u.forwardRef((e,t)=>{const{defaultValue:n,children:r,options:o=[],prefixCls:a,className:i,rootClassName:s,style:l,onChange:c}=e,d=U8(e,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:f,direction:m}=u.useContext(Ue),[p,h]=u.useState(d.value||n||[]),[v,g]=u.useState([]);u.useEffect(()=>{"value"in d&&h(d.value||[])},[d.value]);const b=u.useMemo(()=>o.map(M=>typeof M=="string"||typeof M=="number"?{label:M,value:M}:M),[o]),y=M=>{g(z=>z.filter(A=>A!==M))},x=M=>{g(z=>[].concat(ve(z),[M]))},C=M=>{const z=p.indexOf(M.value),A=ve(p);z===-1?A.push(M.value):A.splice(z,1),"value"in d||h(A),c==null||c(A.filter(D=>v.includes(D)).sort((D,W)=>{const U=b.findIndex(B=>B.value===D),q=b.findIndex(B=>B.value===W);return U-q}))},S=f("checkbox",a),$=`${S}-group`,k=ln(S),[E,I,N]=k1(S,k),P=cn(d,["value","disabled"]),T=o.length?b.map(M=>u.createElement(nm,{prefixCls:S,key:M.value.toString(),disabled:"disabled"in M?M.disabled:d.disabled,value:M.value,checked:p.includes(M.value),onChange:M.onChange,className:G(`${$}-item`,M.className),style:M.style,title:M.title,id:M.id,required:M.required},M.label)):r,j=u.useMemo(()=>({toggleOption:C,value:p,disabled:d.disabled,name:d.name,registerValue:x,cancelValue:y}),[C,p,d.disabled,d.name,x,y]),_=G($,{[`${$}-rtl`]:m==="rtl"},i,s,N,k,I);return E(u.createElement("div",Object.assign({className:_,style:l},P,{ref:t}),u.createElement(O1.Provider,{value:j},T)))}),ur=nm;ur.Group=G8,ur.__ANT_CHECKBOX=!0,process.env.NODE_ENV!=="production"&&(ur.displayName="Checkbox");const I1=w.createContext({});var K8=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function N1(e){return e==="auto"?"1 1 auto":typeof e=="number"?`${e} ${e} auto`:/^\d+(\.\d+)?(px|em|rem|%)$/.test(e)?`0 0 ${e}`:e}const X8=["xs","sm","md","lg","xl","xxl"],Xt=u.forwardRef((e,t)=>{const{getPrefixCls:n,direction:r}=u.useContext(Ue),{gutter:o,wrap:a}=u.useContext(I1),{prefixCls:i,span:s,order:l,offset:c,push:d,pull:f,className:m,children:p,flex:h,style:v}=e,g=K8(e,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),b=n("col",i),[y,x,C]=eN(b),S={};let $={};X8.forEach(I=>{let N={};const P=e[I];typeof P=="number"?N.span=P:typeof P=="object"&&(N=P||{}),delete g[I],$=Object.assign(Object.assign({},$),{[`${b}-${I}-${N.span}`]:N.span!==void 0,[`${b}-${I}-order-${N.order}`]:N.order||N.order===0,[`${b}-${I}-offset-${N.offset}`]:N.offset||N.offset===0,[`${b}-${I}-push-${N.push}`]:N.push||N.push===0,[`${b}-${I}-pull-${N.pull}`]:N.pull||N.pull===0,[`${b}-rtl`]:r==="rtl"}),N.flex&&($[`${b}-${I}-flex`]=!0,S[`--${b}-${I}-flex`]=N1(N.flex))});const k=G(b,{[`${b}-${s}`]:s!==void 0,[`${b}-order-${l}`]:l,[`${b}-offset-${c}`]:c,[`${b}-push-${d}`]:d,[`${b}-pull-${f}`]:f},m,$,x,C),E={};if(o!=null&&o[0]){const I=typeof o[0]=="number"?`${o[0]/2}px`:`calc(${o[0]} / 2)`;E.paddingLeft=I,E.paddingRight=I}return h&&(E.flex=N1(h),a===!1&&!E.minWidth&&(E.minWidth=0)),y(u.createElement("div",Object.assign({},g,{style:Object.assign(Object.assign(Object.assign({},E),v),S),className:k,ref:t}),p))});process.env.NODE_ENV!=="production"&&(Xt.displayName="Col");function Y8(e,t){const n=[void 0,void 0],r=Array.isArray(e)?e:[e,void 0],o=t||{xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0};return r.forEach((a,i)=>{if(typeof a=="object"&&a!==null)for(let s=0;s<qa.length;s++){const l=qa[s];if(o[l]&&a[l]!==void 0){n[i]=a[l];break}}else n[i]=a}),n}var J8=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function P1(e,t){const[n,r]=u.useState(typeof e=="string"?e:""),o=()=>{if(typeof e=="string"&&r(e),typeof e=="object")for(let a=0;a<qa.length;a++){const i=qa[a];if(!t||!t[i])continue;const s=e[i];if(s!==void 0){r(s);return}}};return u.useEffect(()=>{o()},[JSON.stringify(e),t]),n}const wo=u.forwardRef((e,t)=>{const{prefixCls:n,justify:r,align:o,className:a,style:i,children:s,gutter:l=0,wrap:c}=e,d=J8(e,["prefixCls","justify","align","className","style","children","gutter","wrap"]),{getPrefixCls:f,direction:m}=u.useContext(Ue),p=dy(!0,null),h=P1(o,p),v=P1(r,p),g=f("row",n),[b,y,x]=QI(g),C=Y8(l,p),S=G(g,{[`${g}-no-wrap`]:c===!1,[`${g}-${v}`]:v,[`${g}-${h}`]:h,[`${g}-rtl`]:m==="rtl"},a,y,x),$={};if(C!=null&&C[0]){const N=typeof C[0]=="number"?`${C[0]/-2}px`:`calc(${C[0]} / -2)`;$.marginLeft=N,$.marginRight=N}const[k,E]=C;$.rowGap=E;const I=u.useMemo(()=>({gutter:[k,E],wrap:c}),[k,E,c]);return b(u.createElement(I1.Provider,{value:I},u.createElement("div",Object.assign({},d,{className:S,style:Object.assign(Object.assign({},$),i),ref:t}),s)))});process.env.NODE_ENV!=="production"&&(wo.displayName="Row");const Z8=e=>{const{componentCls:t}=e;return{[t]:{"&-horizontal":{[`&${t}`]:{"&-sm":{marginBlock:e.marginXS},"&-md":{marginBlock:e.margin}}}}}},Q8=e=>{const{componentCls:t,sizePaddingEdgeHorizontal:n,colorSplit:r,lineWidth:o,textPaddingInline:a,orientationMargin:i,verticalMarginInline:s}=e;return{[t]:Object.assign(Object.assign({},qt(e)),{borderBlockStart:`${ne(o)} solid ${r}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:s,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${ne(o)} solid ${r}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${ne(e.marginLG)} 0`},[`&-horizontal${t}-with-text`]:{display:"flex",alignItems:"center",margin:`${ne(e.dividerHorizontalWithTextGutterMargin)} 0`,color:e.colorTextHeading,fontWeight:500,fontSize:e.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${r}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${ne(o)} solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${t}-with-text-start`]:{"&::before":{width:`calc(${i} * 100%)`},"&::after":{width:`calc(100% - ${i} * 100%)`}},[`&-horizontal${t}-with-text-end`]:{"&::before":{width:`calc(100% - ${i} * 100%)`},"&::after":{width:`calc(${i} * 100%)`}},[`${t}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:a},"&-dashed":{background:"none",borderColor:r,borderStyle:"dashed",borderWidth:`${ne(o)} 0 0`},[`&-horizontal${t}-with-text${t}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${t}-dashed`]:{borderInlineStartWidth:o,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},"&-dotted":{background:"none",borderColor:r,borderStyle:"dotted",borderWidth:`${ne(o)} 0 0`},[`&-horizontal${t}-with-text${t}-dotted`]:{"&::before, &::after":{borderStyle:"dotted none none"}},[`&-vertical${t}-dotted`]:{borderInlineStartWidth:o,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${t}-with-text`]:{color:e.colorText,fontWeight:"normal",fontSize:e.fontSize},[`&-horizontal${t}-with-text-start${t}-no-default-orientation-margin-start`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${t}-inner-text`]:{paddingInlineStart:n}},[`&-horizontal${t}-with-text-end${t}-no-default-orientation-margin-end`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${t}-inner-text`]:{paddingInlineEnd:n}}})}},e_=zt("Divider",e=>{const t=ft(e,{dividerHorizontalWithTextGutterMargin:e.margin,sizePaddingEdgeHorizontal:0});return[Q8(t),Z8(t)]},e=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:e.marginXS}),{unitless:{orientationMargin:!0}});var t_=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const n_={small:"sm",middle:"md"},_1=e=>{const{getPrefixCls:t,direction:n,className:r,style:o}=qn("divider"),{prefixCls:a,type:i="horizontal",orientation:s="center",orientationMargin:l,className:c,rootClassName:d,children:f,dashed:m,variant:p="solid",plain:h,style:v,size:g}=e,b=t_(e,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","variant","plain","style","size"]),y=t("divider",a),[x,C,S]=e_(y),$=Kn(g),k=n_[$],E=!!f,I=u.useMemo(()=>s==="left"?n==="rtl"?"end":"start":s==="right"?n==="rtl"?"start":"end":s,[n,s]),N=I==="start"&&l!=null,P=I==="end"&&l!=null,T=G(y,r,C,S,`${y}-${i}`,{[`${y}-with-text`]:E,[`${y}-with-text-${I}`]:E,[`${y}-dashed`]:!!m,[`${y}-${p}`]:p!=="solid",[`${y}-plain`]:!!h,[`${y}-rtl`]:n==="rtl",[`${y}-no-default-orientation-margin-start`]:N,[`${y}-no-default-orientation-margin-end`]:P,[`${y}-${k}`]:!!k},c,d),j=u.useMemo(()=>typeof l=="number"?l:/^\d+$/.test(l)?Number(l):l,[l]),_={marginInlineStart:N?j:void 0,marginInlineEnd:P?j:void 0};if(process.env.NODE_ENV!=="production"){const M=Et("Divider");process.env.NODE_ENV!=="production"&&M(!f||i!=="vertical","usage","`children` not working in `vertical` mode.")}return x(u.createElement("div",Object.assign({className:T,style:Object.assign(Object.assign({},o),v)},b,{role:"separator"}),f&&i!=="vertical"&&u.createElement("span",{className:`${y}-inner-text`,style:_},f)))};process.env.NODE_ENV!=="production"&&(_1.displayName="Divider");var r_={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"},o_=function(t,n){return u.createElement(Nt,ge({},t,{ref:n,icon:r_}))},T1=u.forwardRef(o_);process.env.NODE_ENV!=="production"&&(T1.displayName="UpOutlined");function rm(){return typeof BigInt=="function"}function j1(e){return!e&&e!==0&&!Number.isNaN(e)||!String(e).trim()}function Ko(e){var t=e.trim(),n=t.startsWith("-");n&&(t=t.slice(1)),t=t.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,""),t.startsWith(".")&&(t="0".concat(t));var r=t||"0",o=r.split("."),a=o[0]||"0",i=o[1]||"0";a==="0"&&i==="0"&&(n=!1);var s=n?"-":"";return{negative:n,negativeStr:s,trimStr:r,integerStr:a,decimalStr:i,fullStr:"".concat(s).concat(r)}}function ec(e){var t=String(e);return!Number.isNaN(Number(t))&&t.includes("e")}function M1(e){var t=e.toLowerCase().split("e"),n=Q(t,2),r=n[0],o=n[1],a=o===void 0?"0":o,i=r.startsWith("-"),s=i?r.slice(1):r,l=s.split("."),c=Q(l,2),d=c[0],f=d===void 0?"0":d,m=c[1],p=m===void 0?"":m,h="".concat(f).concat(p).replace(/^0+/,"")||"0";return{decimal:p,digits:h,exponent:Number(a),integer:f,negative:i}}function a_(e){var t=e.decimal,n=e.digits,r=e.exponent,o=e.integer,a=e.negative;if(n==="0")return"0";var i=o.replace(/^0+/,"").length,s=(t.match(/^0*/)||[""])[0].length,l=i||-s,c=l+r,d="";return c<=0?d="0.".concat("0".repeat(-c)).concat(n):c>=n.length?d="".concat(n).concat("0".repeat(c-n.length)):d="".concat(n.slice(0,c),".").concat(n.slice(c)),"".concat(a?"-":"").concat(d)}function z1(e){return e.exponent>=0?Math.max(0,e.decimal.length-e.exponent):Math.abs(e.exponent)+e.decimal.length}function Xo(e){var t=String(e);return ec(e)?z1(M1(t)):t.includes(".")&&om(t)?t.length-t.indexOf(".")-1:0}function tc(e){var t=String(e);if(ec(e)){if(e>Number.MAX_SAFE_INTEGER)return String(rm()?BigInt(e).toString():Number.MAX_SAFE_INTEGER);if(e<Number.MIN_SAFE_INTEGER)return String(rm()?BigInt(e).toString():Number.MIN_SAFE_INTEGER);var n=M1(t),r=z1(n);t=r>100?a_(n):e.toFixed(r)}return Ko(t).fullStr}function om(e){return typeof e=="number"?!Number.isNaN(e):e?/^\s*-?\d+(\.\d+)?\s*$/.test(e)||/^\s*-?\d+\.\s*$/.test(e)||/^\s*-?\.\d+\s*$/.test(e):!1}var i_=(function(){function e(t){if(Yt(this,e),F(this,"origin",""),F(this,"negative",void 0),F(this,"integer",void 0),F(this,"decimal",void 0),F(this,"decimalLen",void 0),F(this,"empty",void 0),F(this,"nan",void 0),j1(t)){this.empty=!0;return}if(this.origin=String(t),t==="-"||Number.isNaN(t)){this.nan=!0;return}var n=t;if(ec(n)&&(n=Number(n)),n=typeof n=="string"?n:tc(n),om(n)){var r=Ko(n);this.negative=r.negative;var o=r.trimStr.split(".");this.integer=BigInt(o[0]);var a=o[1]||"0";this.decimal=BigInt(a),this.decimalLen=a.length}else this.nan=!0}return Jt(e,[{key:"getMark",value:function(){return this.negative?"-":""}},{key:"getIntegerStr",value:function(){return this.integer.toString()}},{key:"getDecimalStr",value:function(){return this.decimal.toString().padStart(this.decimalLen,"0")}},{key:"alignDecimal",value:function(n){var r="".concat(this.getMark()).concat(this.getIntegerStr()).concat(this.getDecimalStr().padEnd(n,"0"));return BigInt(r)}},{key:"negate",value:function(){var n=new e(this.toString());return n.negative=!n.negative,n}},{key:"cal",value:function(n,r,o){var a=Math.max(this.getDecimalStr().length,n.getDecimalStr().length),i=this.alignDecimal(a),s=n.alignDecimal(a),l=r(i,s).toString(),c=o(a),d=Ko(l),f=d.negativeStr,m=d.trimStr,p="".concat(f).concat(m.padStart(c+1,"0"));return new e("".concat(p.slice(0,-c),".").concat(p.slice(-c)))}},{key:"add",value:function(n){if(this.isInvalidate())return new e(n);var r=new e(n);return r.isInvalidate()?this:this.cal(r,function(o,a){return o+a},function(o){return o})}},{key:"multi",value:function(n){var r=new e(n);return this.isInvalidate()||r.isInvalidate()?new e(NaN):this.cal(r,function(o,a){return o*a},function(o){return o*2})}},{key:"isEmpty",value:function(){return this.empty}},{key:"isNaN",value:function(){return this.nan}},{key:"isInvalidate",value:function(){return this.isEmpty()||this.isNaN()}},{key:"equals",value:function(n){return this.toString()===(n==null?void 0:n.toString())}},{key:"lessEquals",value:function(n){return this.add(n.negate().toString()).toNumber()<=0}},{key:"toNumber",value:function(){return this.isNaN()?NaN:Number(this.toString())}},{key:"toString",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return n?this.isInvalidate()?"":Ko("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),e})(),s_=(function(){function e(t){if(Yt(this,e),F(this,"origin",""),F(this,"number",void 0),F(this,"empty",void 0),j1(t)){this.empty=!0;return}this.origin=String(t),this.number=Number(t)}return Jt(e,[{key:"negate",value:function(){return new e(-this.toNumber())}},{key:"add",value:function(n){if(this.isInvalidate())return new e(n);var r=Number(n);if(Number.isNaN(r))return this;var o=this.number+r;if(o>Number.MAX_SAFE_INTEGER)return new e(Number.MAX_SAFE_INTEGER);if(o<Number.MIN_SAFE_INTEGER)return new e(Number.MIN_SAFE_INTEGER);var a=Math.max(Xo(this.number),Xo(r));return new e(o.toFixed(a))}},{key:"multi",value:function(n){var r=Number(n);if(this.isInvalidate()||Number.isNaN(r))return new e(NaN);var o=this.number*r;if(o>Number.MAX_SAFE_INTEGER)return new e(Number.MAX_SAFE_INTEGER);if(o<Number.MIN_SAFE_INTEGER)return new e(Number.MIN_SAFE_INTEGER);var a=Math.max(Xo(this.number),Xo(r));return new e(o.toFixed(a))}},{key:"isEmpty",value:function(){return this.empty}},{key:"isNaN",value:function(){return Number.isNaN(this.number)}},{key:"isInvalidate",value:function(){return this.isEmpty()||this.isNaN()}},{key:"equals",value:function(n){return this.toNumber()===(n==null?void 0:n.toNumber())}},{key:"lessEquals",value:function(n){return this.add(n.negate().toString()).toNumber()<=0}},{key:"toNumber",value:function(){return this.number}},{key:"toString",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return n?this.isInvalidate()?"":ec(this.number)&&Xo(this.number)>100?String(this.number):tc(this.number):this.origin}}]),e})();function Er(e){return rm()?new i_(e):new s_(e)}function nc(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(e==="")return"";var o=Ko(e),a=o.negativeStr,i=o.integerStr,s=o.decimalStr,l="".concat(t).concat(s),c="".concat(a).concat(i);if(n>=0){var d=Number(s[n]);if(d>=5&&!r){var f=Er(e).add("".concat(a,"0.").concat("0".repeat(n)).concat(10-d));return nc(f.toString(),t,n,r)}return n===0?c:"".concat(c).concat(t).concat(s.padEnd(n,"0").slice(0,n))}return l===".0"?c:"".concat(c).concat(l)}function l_(e){return!!(e.addonBefore||e.addonAfter)}function c_(e){return!!(e.prefix||e.suffix||e.allowClear)}function A1(e,t,n){var r=t.cloneNode(!0),o=Object.create(e,{target:{value:r},currentTarget:{value:r}});return r.value=n,typeof t.selectionStart=="number"&&typeof t.selectionEnd=="number"&&(r.selectionStart=t.selectionStart,r.selectionEnd=t.selectionEnd),r.setSelectionRange=function(){t.setSelectionRange.apply(t,arguments)},o}function rc(e,t,n,r){if(n){var o=t;if(t.type==="click"){o=A1(t,e,""),n(o);return}if(e.type!=="file"&&r!==void 0){o=A1(t,e,r),n(o);return}n(o)}}function am(e,t){if(e){e.focus(t);var n=t||{},r=n.cursor;if(r){var o=e.value.length;switch(r){case"start":e.setSelectionRange(0,0);break;case"end":e.setSelectionRange(o,o);break;default:e.setSelectionRange(0,o)}}}}var im=w.forwardRef(function(e,t){var n,r,o,a=e.inputElement,i=e.children,s=e.prefixCls,l=e.prefix,c=e.suffix,d=e.addonBefore,f=e.addonAfter,m=e.className,p=e.style,h=e.disabled,v=e.readOnly,g=e.focused,b=e.triggerFocus,y=e.allowClear,x=e.value,C=e.handleReset,S=e.hidden,$=e.classes,k=e.classNames,E=e.dataAttrs,I=e.styles,N=e.components,P=e.onClear,T=i??a,j=(N==null?void 0:N.affixWrapper)||"span",_=(N==null?void 0:N.groupWrapper)||"span",M=(N==null?void 0:N.wrapper)||"span",z=(N==null?void 0:N.groupAddon)||"span",A=w.useRef(null),D=function(oe){var re;(re=A.current)!==null&&re!==void 0&&re.contains(oe.target)&&(b==null||b())},W=c_(e),U=w.cloneElement(T,{value:x,className:G((n=T.props)===null||n===void 0?void 0:n.className,!W&&(k==null?void 0:k.variant))||null}),q=w.useRef(null);if(w.useImperativeHandle(t,function(){return{nativeElement:q.current||A.current}}),W){var B=null;if(y){var L=!h&&!v&&x,V="".concat(s,"-clear-icon"),H=Ae(y)==="object"&&y!==null&&y!==void 0&&y.clearIcon?y.clearIcon:"✖";B=w.createElement("button",{type:"button",tabIndex:-1,onClick:function(oe){C==null||C(oe),P==null||P()},onMouseDown:function(oe){return oe.preventDefault()},className:G(V,F(F({},"".concat(V,"-hidden"),!L),"".concat(V,"-has-suffix"),!!c))},H)}var X="".concat(s,"-affix-wrapper"),ie=G(X,F(F(F(F(F({},"".concat(s,"-disabled"),h),"".concat(X,"-disabled"),h),"".concat(X,"-focused"),g),"".concat(X,"-readonly"),v),"".concat(X,"-input-with-clear-btn"),c&&y&&x),$==null?void 0:$.affixWrapper,k==null?void 0:k.affixWrapper,k==null?void 0:k.variant),K=(c||y)&&w.createElement("span",{className:G("".concat(s,"-suffix"),k==null?void 0:k.suffix),style:I==null?void 0:I.suffix},B,c);U=w.createElement(j,ge({className:ie,style:I==null?void 0:I.affixWrapper,onClick:D},E==null?void 0:E.affixWrapper,{ref:A}),l&&w.createElement("span",{className:G("".concat(s,"-prefix"),k==null?void 0:k.prefix),style:I==null?void 0:I.prefix},l),U,K)}if(l_(e)){var ee="".concat(s,"-group"),te="".concat(ee,"-addon"),Y="".concat(ee,"-wrapper"),J=G("".concat(s,"-wrapper"),ee,$==null?void 0:$.wrapper,k==null?void 0:k.wrapper),ae=G(Y,F({},"".concat(Y,"-disabled"),h),$==null?void 0:$.group,k==null?void 0:k.groupWrapper);U=w.createElement(_,{className:ae,ref:q},w.createElement(M,{className:J},d&&w.createElement(z,{className:te},d),U,f&&w.createElement(z,{className:te},f)))}return w.cloneElement(U,{className:G((r=U.props)===null||r===void 0?void 0:r.className,m)||null,style:R(R({},(o=U.props)===null||o===void 0?void 0:o.style),p),hidden:S})}),u_=["show"];function D1(e,t){return u.useMemo(function(){var n={};t&&(n.show=Ae(t)==="object"&&t.formatter?t.formatter:!!t),n=R(R({},n),e);var r=n,o=r.show,a=Qe(r,u_);return R(R({},a),{},{show:!!o,showFormatter:typeof o=="function"?o:void 0,strategy:a.strategy||function(i){return i.length}})},[e,t])}var d_=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","onKeyUp","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","count","type","classes","classNames","styles","onCompositionStart","onCompositionEnd"],f_=w.forwardRef(function(e,t){var n=e.autoComplete,r=e.onChange,o=e.onFocus,a=e.onBlur,i=e.onPressEnter,s=e.onKeyDown,l=e.onKeyUp,c=e.prefixCls,d=c===void 0?"rc-input":c,f=e.disabled,m=e.htmlSize,p=e.className,h=e.maxLength,v=e.suffix,g=e.showCount,b=e.count,y=e.type,x=y===void 0?"text":y,C=e.classes,S=e.classNames,$=e.styles,k=e.onCompositionStart,E=e.onCompositionEnd,I=Qe(e,d_),N=w.useState(!1),P=Q(N,2),T=P[0],j=P[1],_=w.useRef(!1),M=w.useRef(!1),z=w.useRef(null),A=w.useRef(null),D=function(le){z.current&&am(z.current,le)},W=sn(e.defaultValue,{value:e.value}),U=Q(W,2),q=U[0],B=U[1],L=q==null?"":String(q),V=w.useState(null),H=Q(V,2),X=H[0],ie=H[1],K=D1(b,g),ee=K.max||h,te=K.strategy(L),Y=!!ee&&te>ee;w.useImperativeHandle(t,function(){var be;return{focus:D,blur:function(){var Ce;(Ce=z.current)===null||Ce===void 0||Ce.blur()},setSelectionRange:function(Ce,Le,We){var Me;(Me=z.current)===null||Me===void 0||Me.setSelectionRange(Ce,Le,We)},select:function(){var Ce;(Ce=z.current)===null||Ce===void 0||Ce.select()},input:z.current,nativeElement:((be=A.current)===null||be===void 0?void 0:be.nativeElement)||z.current}}),w.useEffect(function(){M.current&&(M.current=!1),j(function(be){return be&&f?!1:be})},[f]);var J=function(le,Ce,Le){var We=Ce;if(!_.current&&K.exceedFormatter&&K.max&&K.strategy(Ce)>K.max){if(We=K.exceedFormatter(Ce,{max:K.max}),Ce!==We){var Me,we;ie([((Me=z.current)===null||Me===void 0?void 0:Me.selectionStart)||0,((we=z.current)===null||we===void 0?void 0:we.selectionEnd)||0])}}else if(Le.source==="compositionEnd")return;B(We),z.current&&rc(z.current,le,r,We)};w.useEffect(function(){if(X){var be;(be=z.current)===null||be===void 0||be.setSelectionRange.apply(be,ve(X))}},[X]);var ae=function(le){J(le,le.target.value,{source:"change"})},Z=function(le){_.current=!1,J(le,le.currentTarget.value,{source:"compositionEnd"}),E==null||E(le)},oe=function(le){i&&le.key==="Enter"&&!M.current&&(M.current=!0,i(le)),s==null||s(le)},re=function(le){le.key==="Enter"&&(M.current=!1),l==null||l(le)},ce=function(le){j(!0),o==null||o(le)},se=function(le){M.current&&(M.current=!1),j(!1),a==null||a(le)},ue=function(le){B(""),D(),z.current&&rc(z.current,le,r)},he=Y&&"".concat(d,"-out-of-range"),de=function(){var le=cn(e,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","count","classes","htmlSize","styles","classNames","onClear"]);return w.createElement("input",ge({autoComplete:n},le,{onChange:ae,onFocus:ce,onBlur:se,onKeyDown:oe,onKeyUp:re,className:G(d,F({},"".concat(d,"-disabled"),f),S==null?void 0:S.input),style:$==null?void 0:$.input,ref:z,size:m,type:x,onCompositionStart:function(Le){_.current=!0,k==null||k(Le)},onCompositionEnd:Z}))},ye=function(){var le=Number(ee)>0;if(v||K.show){var Ce=K.showFormatter?K.showFormatter({value:L,count:te,maxLength:ee}):"".concat(te).concat(le?" / ".concat(ee):"");return w.createElement(w.Fragment,null,K.show&&w.createElement("span",{className:G("".concat(d,"-show-count-suffix"),F({},"".concat(d,"-show-count-has-suffix"),!!v),S==null?void 0:S.count),style:R({},$==null?void 0:$.count)},Ce),v)}return null};return w.createElement(im,ge({},I,{prefixCls:d,className:G(p,he),handleReset:ue,value:L,focused:T,triggerFocus:D,suffix:ye(),disabled:f,classes:C,classNames:S,styles:$,ref:A}),de())});function m_(e,t){return typeof Proxy<"u"&&e?new Proxy(e,{get:function(r,o){if(t[o])return t[o];var a=r[o];return typeof a=="function"?a.bind(r):a}}):e}function p_(e,t){var n=w.useRef(null);function r(){try{var a=e.selectionStart,i=e.selectionEnd,s=e.value,l=s.substring(0,a),c=s.substring(i);n.current={start:a,end:i,value:s,beforeTxt:l,afterTxt:c}}catch{}}function o(){if(e&&n.current&&t)try{var a=e.value,i=n.current,s=i.beforeTxt,l=i.afterTxt,c=i.start,d=a.length;if(a.startsWith(s))d=s.length;else if(a.endsWith(l))d=a.length-n.current.afterTxt.length;else{var f=s[c-1],m=a.indexOf(f,c-1);m!==-1&&(d=m+1)}e.setSelectionRange(d,d)}catch(p){Ze(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(p.message))}}return[r,o]}var g_=function(){var t=w.useState(!1),n=Q(t,2),r=n[0],o=n[1];return It(function(){o(vf())},[]),r},h_=200,v_=600;function b_(e){var t=e.prefixCls,n=e.upNode,r=e.downNode,o=e.upDisabled,a=e.downDisabled,i=e.onStep,s=u.useRef(),l=u.useRef([]),c=u.useRef();c.current=i;var d=function(){clearTimeout(s.current)},f=function(x,C){x.preventDefault(),d(),c.current(C);function S(){c.current(C),s.current=setTimeout(S,h_)}s.current=setTimeout(S,v_)};u.useEffect(function(){return function(){d(),l.current.forEach(function(y){return vt.cancel(y)})}},[]);var m=g_();if(m)return null;var p="".concat(t,"-handler"),h=G(p,"".concat(p,"-up"),F({},"".concat(p,"-up-disabled"),o)),v=G(p,"".concat(p,"-down"),F({},"".concat(p,"-down-disabled"),a)),g=function(){return l.current.push(vt(d))},b={unselectable:"on",role:"button",onMouseUp:g,onMouseLeave:g};return u.createElement("div",{className:"".concat(p,"-wrap")},u.createElement("span",ge({},b,{onMouseDown:function(x){f(x,!0)},"aria-label":"Increase Value","aria-disabled":o,className:h}),n||u.createElement("span",{unselectable:"on",className:"".concat(t,"-handler-up-inner")})),u.createElement("span",ge({},b,{onMouseDown:function(x){f(x,!1)},"aria-label":"Decrease Value","aria-disabled":a,className:v}),r||u.createElement("span",{unselectable:"on",className:"".concat(t,"-handler-down-inner")})))}function L1(e){var t=typeof e=="number"?tc(e):Ko(e).fullStr,n=t.includes(".");return n?Ko(t.replace(/(\d)\.(\d)/g,"$1$2.")).fullStr:e+"0"}const y_=(function(){var e=w.useRef(0),t=function(){vt.cancel(e.current)};return w.useEffect(function(){return t},[]),function(n){t(),e.current=vt(function(){n()})}});var C_=["prefixCls","className","style","min","max","step","defaultValue","value","disabled","readOnly","upHandler","downHandler","keyboard","changeOnWheel","controls","classNames","stringMode","parser","formatter","precision","decimalSeparator","onChange","onInput","onPressEnter","onStep","changeOnBlur","domRef"],x_=["disabled","style","prefixCls","value","prefix","suffix","addonBefore","addonAfter","className","classNames"],F1=function(t,n){return t||n.isEmpty()?n.toString():n.toNumber()},R1=function(t){var n=Er(t);return n.isInvalidate()?null:n},w_=u.forwardRef(function(e,t){var n=e.prefixCls,r=e.className,o=e.style,a=e.min,i=e.max,s=e.step,l=s===void 0?1:s,c=e.defaultValue,d=e.value,f=e.disabled,m=e.readOnly,p=e.upHandler,h=e.downHandler,v=e.keyboard,g=e.changeOnWheel,b=g===void 0?!1:g,y=e.controls,x=y===void 0?!0:y;e.classNames;var C=e.stringMode,S=e.parser,$=e.formatter,k=e.precision,E=e.decimalSeparator,I=e.onChange,N=e.onInput,P=e.onPressEnter,T=e.onStep,j=e.changeOnBlur,_=j===void 0?!0:j,M=e.domRef,z=Qe(e,C_),A="".concat(n,"-input"),D=u.useRef(null),W=u.useState(!1),U=Q(W,2),q=U[0],B=U[1],L=u.useRef(!1),V=u.useRef(!1),H=u.useRef(!1),X=u.useState(function(){return Er(d??c)}),ie=Q(X,2),K=ie[0],ee=ie[1];function te(Ve){d===void 0&&ee(Ve)}var Y=u.useCallback(function(Ve,Pe){if(!Pe)return k>=0?k:Math.max(Xo(Ve),Xo(l))},[k,l]),J=u.useCallback(function(Ve){var Pe=String(Ve);if(S)return S(Pe);var Ge=Pe;return E&&(Ge=Ge.replace(E,".")),Ge.replace(/[^\w.-]+/g,"")},[S,E]),ae=u.useRef(""),Z=u.useCallback(function(Ve,Pe){if($)return $(Ve,{userTyping:Pe,input:String(ae.current)});var Ge=typeof Ve=="number"?tc(Ve):Ve;if(!Pe){var Ie=Y(Ge,Pe);if(om(Ge)&&(E||Ie>=0)){var Ke=E||".";Ge=nc(Ge,Ke,Ie)}}return Ge},[$,Y,E]),oe=u.useState(function(){var Ve=c??d;return K.isInvalidate()&&["string","number"].includes(Ae(Ve))?Number.isNaN(Ve)?"":Ve:Z(K.toString(),!1)}),re=Q(oe,2),ce=re[0],se=re[1];ae.current=ce;function ue(Ve,Pe){se(Z(Ve.isInvalidate()?Ve.toString(!1):Ve.toString(!Pe),Pe))}var he=u.useMemo(function(){return R1(i)},[i,k]),de=u.useMemo(function(){return R1(a)},[a,k]),ye=u.useMemo(function(){return!he||!K||K.isInvalidate()?!1:he.lessEquals(K)},[he,K]),be=u.useMemo(function(){return!de||!K||K.isInvalidate()?!1:K.lessEquals(de)},[de,K]),le=p_(D.current,q),Ce=Q(le,2),Le=Ce[0],We=Ce[1],Me=function(Pe){return he&&!Pe.lessEquals(he)?he:de&&!de.lessEquals(Pe)?de:null},we=function(Pe){return!Me(Pe)},Re=function(Pe,Ge){var Ie=Pe,Ke=we(Ie)||Ie.isEmpty();if(!Ie.isEmpty()&&!Ge&&(Ie=Me(Ie)||Ie,Ke=!0),!m&&!f&&Ke){var mt=Ie.toString(),pt=Y(mt,Ge);return pt>=0&&(Ie=Er(nc(mt,".",pt)),we(Ie)||(Ie=Er(nc(mt,".",pt,!0)))),Ie.equals(K)||(te(Ie),I==null||I(Ie.isEmpty()?null:F1(C,Ie)),d===void 0&&ue(Ie,Ge)),Ie}return K},fe=y_(),qe=function Ve(Pe){if(Le(),ae.current=Pe,se(Pe),!V.current){var Ge=J(Pe),Ie=Er(Ge);Ie.isNaN()||Re(Ie,!0)}N==null||N(Pe),fe(function(){var Ke=Pe;S||(Ke=Pe.replace(/。/g,".")),Ke!==Pe&&Ve(Ke)})},Ne=function(){V.current=!0},Ee=function(){V.current=!1,qe(D.current.value)},Be=function(Pe){qe(Pe.target.value)},Xe=function(Pe){var Ge;if(!(Pe&&ye||!Pe&&be)){L.current=!1;var Ie=Er(H.current?L1(l):l);Pe||(Ie=Ie.negate());var Ke=(K||Er(0)).add(Ie.toString()),mt=Re(Ke,!1);T==null||T(F1(C,mt),{offset:H.current?L1(l):l,type:Pe?"up":"down"}),(Ge=D.current)===null||Ge===void 0||Ge.focus()}},Ye=function(Pe){var Ge=Er(J(ce)),Ie;Ge.isNaN()?Ie=Re(K,Pe):Ie=Re(Ge,Pe),d!==void 0?ue(K,!1):Ie.isNaN()||ue(Ie,!1)},yt=function(){L.current=!0},Je=function(Pe){var Ge=Pe.key,Ie=Pe.shiftKey;L.current=!0,H.current=Ie,Ge==="Enter"&&(V.current||(L.current=!1),Ye(!1),P==null||P(Pe)),v!==!1&&!V.current&&["Up","ArrowUp","Down","ArrowDown"].includes(Ge)&&(Xe(Ge==="Up"||Ge==="ArrowUp"),Pe.preventDefault())},_t=function(){L.current=!1,H.current=!1};u.useEffect(function(){if(b&&q){var Ve=function(Ie){Xe(Ie.deltaY<0),Ie.preventDefault()},Pe=D.current;if(Pe)return Pe.addEventListener("wheel",Ve,{passive:!1}),function(){return Pe.removeEventListener("wheel",Ve)}}});var Lt=function(){_&&Ye(!1),B(!1),L.current=!1};return Ci(function(){K.isInvalidate()||ue(K,!1)},[k,$]),Ci(function(){var Ve=Er(d);ee(Ve);var Pe=Er(J(ce));(!Ve.equals(Pe)||!L.current||$)&&ue(Ve,L.current)},[d]),Ci(function(){$&&We()},[ce]),u.createElement("div",{ref:M,className:G(n,r,F(F(F(F(F({},"".concat(n,"-focused"),q),"".concat(n,"-disabled"),f),"".concat(n,"-readonly"),m),"".concat(n,"-not-a-number"),K.isNaN()),"".concat(n,"-out-of-range"),!K.isInvalidate()&&!we(K))),style:o,onFocus:function(){B(!0)},onBlur:Lt,onKeyDown:Je,onKeyUp:_t,onCompositionStart:Ne,onCompositionEnd:Ee,onBeforeInput:yt},x&&u.createElement(b_,{prefixCls:n,upNode:p,downNode:h,upDisabled:ye,downDisabled:be,onStep:Xe}),u.createElement("div",{className:"".concat(A,"-wrap")},u.createElement("input",ge({autoComplete:"off",role:"spinbutton","aria-valuemin":a,"aria-valuemax":i,"aria-valuenow":K.isInvalidate()?null:K.toString(),step:l},z,{ref:wn(D,t),className:A,value:ce,onChange:Be,disabled:f,readOnly:m}))))}),B1=u.forwardRef(function(e,t){var n=e.disabled,r=e.style,o=e.prefixCls,a=o===void 0?"rc-input-number":o,i=e.value,s=e.prefix,l=e.suffix,c=e.addonBefore,d=e.addonAfter,f=e.className,m=e.classNames,p=Qe(e,x_),h=u.useRef(null),v=u.useRef(null),g=u.useRef(null),b=function(x){g.current&&am(g.current,x)};return u.useImperativeHandle(t,function(){return m_(g.current,{focus:b,nativeElement:h.current.nativeElement||v.current})}),u.createElement(im,{className:f,triggerFocus:b,prefixCls:a,value:i,disabled:n,style:r,prefix:s,suffix:l,addonAfter:d,addonBefore:c,classNames:m,components:{affixWrapper:"div",groupWrapper:"div",wrapper:"div",groupAddon:"div"},ref:h},u.createElement(w_,ge({prefixCls:a,disabled:n,ref:g,domRef:v,className:m==null?void 0:m.input},p)))});process.env.NODE_ENV!=="production"&&(B1.displayName="InputNumber");const S_=e=>{var t;const n=(t=e.handleVisible)!==null&&t!==void 0?t:"auto",r=e.controlHeightSM-e.lineWidth*2;return Object.assign(Object.assign({},os(e)),{controlWidth:90,handleWidth:r,handleFontSize:e.fontSize/2,handleVisible:n,handleActiveBg:e.colorFillAlter,handleBg:e.colorBgContainer,filledHandleBg:new $t(e.colorFillSecondary).onBackground(e.colorBgContainer).toHexString(),handleHoverColor:e.colorPrimary,handleBorderColor:e.colorBorder,handleOpacity:n===!0?1:0,handleVisibleWidth:n===!0?r:0})},V1=({componentCls:e,borderRadiusSM:t,borderRadiusLG:n},r)=>{const o=r==="lg"?n:t;return{[`&-${r}`]:{[`${e}-handler-wrap`]:{borderStartEndRadius:o,borderEndEndRadius:o},[`${e}-handler-up`]:{borderStartEndRadius:o},[`${e}-handler-down`]:{borderEndEndRadius:o}}}},E_=e=>{const{componentCls:t,lineWidth:n,lineType:r,borderRadius:o,inputFontSizeSM:a,inputFontSizeLG:i,controlHeightLG:s,controlHeightSM:l,colorError:c,paddingInlineSM:d,paddingBlockSM:f,paddingBlockLG:m,paddingInlineLG:p,colorIcon:h,motionDurationMid:v,handleHoverColor:g,handleOpacity:b,paddingInline:y,paddingBlock:x,handleBg:C,handleActiveBg:S,colorTextDisabled:$,borderRadiusSM:k,borderRadiusLG:E,controlWidth:I,handleBorderColor:N,filledHandleBg:P,lineHeightLG:T,calc:j}=e;return[{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},qt(e)),Ql(e)),{display:"inline-block",width:I,margin:0,padding:0,borderRadius:o}),l1(e,{[`${t}-handler-wrap`]:{background:C,[`${t}-handler-down`]:{borderBlockStart:`${ne(n)} ${r} ${N}`}}})),p1(e,{[`${t}-handler-wrap`]:{background:P,[`${t}-handler-down`]:{borderBlockStart:`${ne(n)} ${r} ${N}`}},"&:focus-within":{[`${t}-handler-wrap`]:{background:C}}})),y1(e,{[`${t}-handler-wrap`]:{background:C,[`${t}-handler-down`]:{borderBlockStart:`${ne(n)} ${r} ${N}`}}})),d1(e)),{"&-rtl":{direction:"rtl",[`${t}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:i,lineHeight:T,borderRadius:E,[`input${t}-input`]:{height:j(s).sub(j(n).mul(2)).equal(),padding:`${ne(m)} ${ne(p)}`}},"&-sm":{padding:0,fontSize:a,borderRadius:k,[`input${t}-input`]:{height:j(l).sub(j(n).mul(2)).equal(),padding:`${ne(f)} ${ne(d)}`}},"&-out-of-range":{[`${t}-input-wrap`]:{input:{color:c}}},"&-group":Object.assign(Object.assign(Object.assign({},qt(e)),S1(e)),{"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",textAlign:"start",verticalAlign:"top",[`${t}-affix-wrapper`]:{width:"100%"},"&-lg":{[`${t}-group-addon`]:{borderRadius:E,fontSize:e.fontSizeLG}},"&-sm":{[`${t}-group-addon`]:{borderRadius:k}}},u1(e)),h1(e)),{[`&:not(${t}-compact-first-item):not(${t}-compact-last-item)${t}-compact-item`]:{[`${t}, ${t}-group-addon`]:{borderRadius:0}},[`&:not(${t}-compact-last-item)${t}-compact-first-item`]:{[`${t}, ${t}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${t}-compact-first-item)${t}-compact-last-item`]:{[`${t}, ${t}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}}})}),[`&-disabled ${t}-input`]:{cursor:"not-allowed"},[t]:{"&-input":Object.assign(Object.assign(Object.assign(Object.assign({},qt(e)),{width:"100%",padding:`${ne(x)} ${ne(y)}`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:o,outline:0,transition:`all ${v} linear`,appearance:"textfield",fontSize:"inherit"}),C1(e.colorTextPlaceholder)),{'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,appearance:"none"}})},[`&:hover ${t}-handler-wrap, &-focused ${t}-handler-wrap`]:{width:e.handleWidth,opacity:1}})},{[t]:Object.assign(Object.assign(Object.assign({[`${t}-handler-wrap`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:e.handleVisibleWidth,opacity:b,height:"100%",borderStartStartRadius:0,borderStartEndRadius:o,borderEndEndRadius:o,borderEndStartRadius:0,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`all ${v}`,overflow:"hidden",[`${t}-handler`]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",[`
|
|
268
|
+
${t}-handler-up-inner,
|
|
269
|
+
${t}-handler-down-inner
|
|
270
|
+
`]:{marginInlineEnd:0,fontSize:e.handleFontSize}}},[`${t}-handler`]:{height:"50%",overflow:"hidden",color:h,fontWeight:"bold",lineHeight:0,textAlign:"center",cursor:"pointer",borderInlineStart:`${ne(n)} ${r} ${N}`,transition:`all ${v} linear`,"&:active":{background:S},"&:hover":{height:"60%",[`
|
|
271
|
+
${t}-handler-up-inner,
|
|
272
|
+
${t}-handler-down-inner
|
|
273
|
+
`]:{color:g}},"&-up-inner, &-down-inner":Object.assign(Object.assign({},Sa()),{color:h,transition:`all ${v} linear`,userSelect:"none"})},[`${t}-handler-up`]:{borderStartEndRadius:o},[`${t}-handler-down`]:{borderEndEndRadius:o}},V1(e,"lg")),V1(e,"sm")),{"&-disabled, &-readonly":{[`${t}-handler-wrap`]:{display:"none"},[`${t}-input`]:{color:"inherit"}},[`
|
|
274
|
+
${t}-handler-up-disabled,
|
|
275
|
+
${t}-handler-down-disabled
|
|
276
|
+
`]:{cursor:"not-allowed"},[`
|
|
277
|
+
${t}-handler-up-disabled:hover &-handler-up-inner,
|
|
278
|
+
${t}-handler-down-disabled:hover &-handler-down-inner
|
|
279
|
+
`]:{color:$}})}]},$_=e=>{const{componentCls:t,paddingBlock:n,paddingInline:r,inputAffixPadding:o,controlWidth:a,borderRadiusLG:i,borderRadiusSM:s,paddingInlineLG:l,paddingInlineSM:c,paddingBlockLG:d,paddingBlockSM:f,motionDurationMid:m}=e;return{[`${t}-affix-wrapper`]:Object.assign(Object.assign({[`input${t}-input`]:{padding:`${ne(n)} 0`}},Ql(e)),{position:"relative",display:"inline-flex",alignItems:"center",width:a,padding:0,paddingInlineStart:r,"&-lg":{borderRadius:i,paddingInlineStart:l,[`input${t}-input`]:{padding:`${ne(d)} 0`}},"&-sm":{borderRadius:s,paddingInlineStart:c,[`input${t}-input`]:{padding:`${ne(f)} 0`}},[`&:not(${t}-disabled):hover`]:{zIndex:1},"&-focused, &:focus":{zIndex:1},[`&-disabled > ${t}-disabled`]:{background:"transparent"},[`> div${t}`]:{width:"100%",border:"none",outline:"none",[`&${t}-focused`]:{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${t}-handler-wrap`]:{zIndex:2},[t]:{position:"static",color:"inherit","&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center",pointerEvents:"none"},"&-prefix":{marginInlineEnd:o},"&-suffix":{insetBlockStart:0,insetInlineEnd:0,height:"100%",marginInlineEnd:r,marginInlineStart:o,transition:`margin ${m}`}},[`&:hover ${t}-handler-wrap, &-focused ${t}-handler-wrap`]:{width:e.handleWidth,opacity:1},[`&:not(${t}-affix-wrapper-without-controls):hover ${t}-suffix`]:{marginInlineEnd:e.calc(e.handleWidth).add(r).equal()}}),[`${t}-underlined`]:{borderRadius:0}}},k_=zt("InputNumber",e=>{const t=ft(e,rs(e));return[E_(t),$_(t),Mi(t)]},S_,{unitless:{handleOpacity:!0},resetFont:!1});var O_=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const H1=u.forwardRef((e,t)=>{if(process.env.NODE_ENV!=="production"){const K=Et("InputNumber");[["bordered","variant"],["addonAfter","Space.Compact"],["addonBefore","Space.Compact"]].forEach(([ee,te])=>{K.deprecated(!(ee in e),ee,te)}),K(!(e.type==="number"&&e.changeOnWheel),"usage","When `type=number` is used together with `changeOnWheel`, changeOnWheel may not work properly. Please delete `type=number` if it is not necessary.")}const{getPrefixCls:n,direction:r}=u.useContext(Ue),o=u.useRef(null);u.useImperativeHandle(t,()=>o.current);const{className:a,rootClassName:i,size:s,disabled:l,prefixCls:c,addonBefore:d,addonAfter:f,prefix:m,suffix:p,bordered:h,readOnly:v,status:g,controls:b,variant:y}=e,x=O_(e,["className","rootClassName","size","disabled","prefixCls","addonBefore","addonAfter","prefix","suffix","bordered","readOnly","status","controls","variant"]),C=n("input-number",c),S=ln(C),[$,k,E]=k_(C,S),{compactSize:I,compactItemClassnames:N}=ho(C,r);let P=u.createElement(T1,{className:`${C}-handler-up-inner`}),T=u.createElement(jf,{className:`${C}-handler-down-inner`});const j=typeof b=="boolean"?b:void 0;typeof b=="object"&&(P=typeof b.upIcon>"u"?P:u.createElement("span",{className:`${C}-handler-up-inner`},b.upIcon),T=typeof b.downIcon>"u"?T:u.createElement("span",{className:`${C}-handler-down-inner`},b.downIcon));const{hasFeedback:_,status:M,isFormItemInput:z,feedbackIcon:A}=u.useContext(bn),D=Ui(M,g),W=Kn(K=>{var ee;return(ee=s??I)!==null&&ee!==void 0?ee:K}),U=u.useContext(Un),q=l??U,[B,L]=Fl("inputNumber",y,h),V=_&&u.createElement(u.Fragment,null,A),H=G({[`${C}-lg`]:W==="large",[`${C}-sm`]:W==="small",[`${C}-rtl`]:r==="rtl",[`${C}-in-form-item`]:z},k),X=`${C}-group`,ie=u.createElement(B1,Object.assign({ref:o,disabled:q,className:G(E,S,a,i,N),upHandler:P,downHandler:T,prefixCls:C,readOnly:v,controls:j,prefix:m,suffix:V||p,addonBefore:d&&u.createElement(eo,{form:!0,space:!0},d),addonAfter:f&&u.createElement(eo,{form:!0,space:!0},f),classNames:{input:H,variant:G({[`${C}-${B}`]:L},Wa(C,D,_)),affixWrapper:G({[`${C}-affix-wrapper-sm`]:W==="small",[`${C}-affix-wrapper-lg`]:W==="large",[`${C}-affix-wrapper-rtl`]:r==="rtl",[`${C}-affix-wrapper-without-controls`]:b===!1||q||v},k),wrapper:G({[`${X}-rtl`]:r==="rtl"},k),groupWrapper:G({[`${C}-group-wrapper-sm`]:W==="small",[`${C}-group-wrapper-lg`]:W==="large",[`${C}-group-wrapper-rtl`]:r==="rtl",[`${C}-group-wrapper-${B}`]:L},Wa(`${C}-group-wrapper`,D,_),k)}},x));return $(ie)}),as=H1,I_=e=>u.createElement(ir,{theme:{components:{InputNumber:{handleVisible:!0}}}},u.createElement(H1,Object.assign({},e)));process.env.NODE_ENV!=="production"&&(as.displayName="InputNumber"),as._InternalPanelDoNotUseOrYouWillBeFired=I_;const W1=e=>{let t;return typeof e=="object"&&(e!=null&&e.clearIcon)?t=e:e&&(t={clearIcon:w.createElement(Ia,null)}),t};function q1(e,t){const n=w.useRef([]),r=()=>{n.current.push(setTimeout(()=>{var o,a,i,s;!((o=e.current)===null||o===void 0)&&o.input&&((a=e.current)===null||a===void 0?void 0:a.input.getAttribute("type"))==="password"&&(!((i=e.current)===null||i===void 0)&&i.input.hasAttribute("value"))&&((s=e.current)===null||s===void 0||s.input.removeAttribute("value"))}))};return w.useEffect(()=>(t&&r(),()=>n.current.forEach(o=>{o&&clearTimeout(o)})),[]),r}function N_(e){return!!(e.prefix||e.suffix||e.allowClear||e.showCount)}var P_=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const is=w.forwardRef((e,t)=>{const{prefixCls:n,bordered:r=!0,status:o,size:a,disabled:i,onBlur:s,onFocus:l,suffix:c,allowClear:d,addonAfter:f,addonBefore:m,className:p,style:h,styles:v,rootClassName:g,onChange:b,classNames:y,variant:x,_skipAddonWarning:C}=e,S=P_(e,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames","variant","_skipAddonWarning"]);if(process.env.NODE_ENV!=="production"){const{deprecated:he}=Et("Input");he(!("bordered"in e),"bordered","variant"),C||[["addonAfter","Space.Compact"],["addonBefore","Space.Compact"]].forEach(([de,ye])=>{he(!(de in e),de,ye)})}const{getPrefixCls:$,direction:k,allowClear:E,autoComplete:I,className:N,style:P,classNames:T,styles:j}=qn("input"),_=$("input",n),M=w.useRef(null),z=ln(_),[A,D,W]=E1(_,g),[U]=$1(_,z),{compactSize:q,compactItemClassnames:B}=ho(_,k),L=Kn(he=>{var de;return(de=a??q)!==null&&de!==void 0?de:he}),V=w.useContext(Un),H=i??V,{status:X,hasFeedback:ie,feedbackIcon:K}=w.useContext(bn),ee=Ui(X,o),te=N_(e)||!!ie,Y=w.useRef(te);if(process.env.NODE_ENV!=="production"){const he=Et("Input");w.useEffect(()=>{var de;te&&!Y.current&&process.env.NODE_ENV!=="production"&&he(document.activeElement===((de=M.current)===null||de===void 0?void 0:de.input),"usage","When Input is focused, dynamic add or remove prefix / suffix will make it lose focus caused by dom structure change. Read more: https://ant.design/components/input/#FAQ"),Y.current=te},[te])}const J=q1(M,!0),ae=he=>{J(),s==null||s(he)},Z=he=>{J(),l==null||l(he)},oe=he=>{J(),b==null||b(he)},re=(ie||c)&&w.createElement(w.Fragment,null,c,ie&&K),ce=W1(d??E),[se,ue]=Fl("input",x,r);return A(U(w.createElement(f_,Object.assign({ref:wn(t,M),prefixCls:_,autoComplete:I},S,{disabled:H,onBlur:ae,onFocus:Z,style:Object.assign(Object.assign({},P),h),styles:Object.assign(Object.assign({},j),v),suffix:re,allowClear:ce,className:G(p,g,W,z,B,N),onChange:oe,addonBefore:m&&w.createElement(eo,{form:!0,space:!0},m),addonAfter:f&&w.createElement(eo,{form:!0,space:!0},f),classNames:Object.assign(Object.assign(Object.assign({},y),T),{input:G({[`${_}-sm`]:L==="small",[`${_}-lg`]:L==="large",[`${_}-rtl`]:k==="rtl"},y==null?void 0:y.input,T.input,D),variant:G({[`${_}-${se}`]:ue},Wa(_,ee)),affixWrapper:G({[`${_}-affix-wrapper-sm`]:L==="small",[`${_}-affix-wrapper-lg`]:L==="large",[`${_}-affix-wrapper-rtl`]:k==="rtl"},D),wrapper:G({[`${_}-group-rtl`]:k==="rtl"},D),groupWrapper:G({[`${_}-group-wrapper-sm`]:L==="small",[`${_}-group-wrapper-lg`]:L==="large",[`${_}-group-wrapper-rtl`]:k==="rtl",[`${_}-group-wrapper-${se}`]:ue},Wa(`${_}-group-wrapper`,ee,ie),D)})}))))});process.env.NODE_ENV!=="production"&&(is.displayName="Input");var U1=u.createContext(null),G1=u.createContext({}),__=["prefixCls","className","containerRef"],K1=function(t){var n=t.prefixCls,r=t.className,o=t.containerRef,a=Qe(t,__),i=u.useContext(G1),s=i.panel,l=Rr(s,o);return u.createElement("div",ge({className:G("".concat(n,"-content"),r),role:"dialog",ref:l},Gn(t,{aria:!0}),{"aria-modal":"true"},a))};process.env.NODE_ENV!=="production"&&(K1.displayName="DrawerPanel");function X1(e){return typeof e=="string"&&String(Number(e))===e?(Ze(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(e)):e}function T_(e){Ze(!("wrapperClassName"in e),"'wrapperClassName' is removed. Please use 'rootClassName' instead."),Ze(Sn()||!e.open,"Drawer with 'open' in SSR is not work since no place to createPortal. Please move to 'useEffect' instead.")}var Y1={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function j_(e,t){var n,r,o,a=e.prefixCls,i=e.open,s=e.placement,l=e.inline,c=e.push,d=e.forceRender,f=e.autoFocus,m=e.keyboard,p=e.classNames,h=e.rootClassName,v=e.rootStyle,g=e.zIndex,b=e.className,y=e.id,x=e.style,C=e.motion,S=e.width,$=e.height,k=e.children,E=e.mask,I=e.maskClosable,N=e.maskMotion,P=e.maskClassName,T=e.maskStyle,j=e.afterOpenChange,_=e.onClose,M=e.onMouseEnter,z=e.onMouseOver,A=e.onMouseLeave,D=e.onClick,W=e.onKeyDown,U=e.onKeyUp,q=e.styles,B=e.drawerRender,L=u.useRef(),V=u.useRef(),H=u.useRef();u.useImperativeHandle(t,function(){return L.current});var X=function(ye){var be=ye.keyCode,le=ye.shiftKey;switch(be){case De.TAB:{if(be===De.TAB){if(!le&&document.activeElement===H.current){var Ce;(Ce=V.current)===null||Ce===void 0||Ce.focus({preventScroll:!0})}else if(le&&document.activeElement===V.current){var Le;(Le=H.current)===null||Le===void 0||Le.focus({preventScroll:!0})}}break}case De.ESC:{_&&m&&(ye.stopPropagation(),_(ye));break}}};u.useEffect(function(){if(i&&f){var de;(de=L.current)===null||de===void 0||de.focus({preventScroll:!0})}},[i]);var ie=u.useState(!1),K=Q(ie,2),ee=K[0],te=K[1],Y=u.useContext(U1),J;typeof c=="boolean"?J=c?{}:{distance:0}:J=c||{};var ae=(n=(r=(o=J)===null||o===void 0?void 0:o.distance)!==null&&r!==void 0?r:Y==null?void 0:Y.pushDistance)!==null&&n!==void 0?n:180,Z=u.useMemo(function(){return{pushDistance:ae,push:function(){te(!0)},pull:function(){te(!1)}}},[ae]);u.useEffect(function(){if(i){var de;Y==null||(de=Y.push)===null||de===void 0||de.call(Y)}else{var ye;Y==null||(ye=Y.pull)===null||ye===void 0||ye.call(Y)}},[i]),u.useEffect(function(){return function(){var de;Y==null||(de=Y.pull)===null||de===void 0||de.call(Y)}},[]);var oe=u.createElement(wr,ge({key:"mask"},N,{visible:E&&i}),function(de,ye){var be=de.className,le=de.style;return u.createElement("div",{className:G("".concat(a,"-mask"),be,p==null?void 0:p.mask,P),style:R(R(R({},le),T),q==null?void 0:q.mask),onClick:I&&i?_:void 0,ref:ye})}),re=typeof C=="function"?C(s):C,ce={};if(ee&&ae)switch(s){case"top":ce.transform="translateY(".concat(ae,"px)");break;case"bottom":ce.transform="translateY(".concat(-ae,"px)");break;case"left":ce.transform="translateX(".concat(ae,"px)");break;default:ce.transform="translateX(".concat(-ae,"px)");break}s==="left"||s==="right"?ce.width=X1(S):ce.height=X1($);var se={onMouseEnter:M,onMouseOver:z,onMouseLeave:A,onClick:D,onKeyDown:W,onKeyUp:U},ue=u.createElement(wr,ge({key:"panel"},re,{visible:i,forceRender:d,onVisibleChanged:function(ye){j==null||j(ye)},removeOnLeave:!1,leavedClassName:"".concat(a,"-content-wrapper-hidden")}),function(de,ye){var be=de.className,le=de.style,Ce=u.createElement(K1,ge({id:y,containerRef:ye,prefixCls:a,className:G(b,p==null?void 0:p.content),style:R(R({},x),q==null?void 0:q.content)},Gn(e,{aria:!0}),se),k);return u.createElement("div",ge({className:G("".concat(a,"-content-wrapper"),p==null?void 0:p.wrapper,be),style:R(R(R({},ce),le),q==null?void 0:q.wrapper)},Gn(e,{data:!0})),B?B(Ce):Ce)}),he=R({},v);return g&&(he.zIndex=g),u.createElement(U1.Provider,{value:Z},u.createElement("div",{className:G(a,"".concat(a,"-").concat(s),h,F(F({},"".concat(a,"-open"),i),"".concat(a,"-inline"),l)),style:he,tabIndex:-1,ref:L,onKeyDown:X},oe,u.createElement("div",{tabIndex:0,ref:V,style:Y1,"aria-hidden":"true","data-sentinel":"start"}),ue,u.createElement("div",{tabIndex:0,ref:H,style:Y1,"aria-hidden":"true","data-sentinel":"end"})))}var J1=u.forwardRef(j_);process.env.NODE_ENV!=="production"&&(J1.displayName="DrawerPopup");var Z1=function(t){var n=t.open,r=n===void 0?!1:n,o=t.prefixCls,a=o===void 0?"rc-drawer":o,i=t.placement,s=i===void 0?"right":i,l=t.autoFocus,c=l===void 0?!0:l,d=t.keyboard,f=d===void 0?!0:d,m=t.width,p=m===void 0?378:m,h=t.mask,v=h===void 0?!0:h,g=t.maskClosable,b=g===void 0?!0:g,y=t.getContainer,x=t.forceRender,C=t.afterOpenChange,S=t.destroyOnClose,$=t.onMouseEnter,k=t.onMouseOver,E=t.onMouseLeave,I=t.onClick,N=t.onKeyDown,P=t.onKeyUp,T=t.panelRef,j=u.useState(!1),_=Q(j,2),M=_[0],z=_[1];process.env.NODE_ENV!=="production"&&T_(t);var A=u.useState(!1),D=Q(A,2),W=D[0],U=D[1];It(function(){U(!0)},[]);var q=W?r:!1,B=u.useRef(),L=u.useRef();It(function(){q&&(L.current=document.activeElement)},[q]);var V=function(ee){var te;if(z(ee),C==null||C(ee),!ee&&L.current&&!((te=B.current)!==null&&te!==void 0&&te.contains(L.current))){var Y;(Y=L.current)===null||Y===void 0||Y.focus({preventScroll:!0})}},H=u.useMemo(function(){return{panel:T}},[T]);if(!x&&!M&&!q&&S)return null;var X={onMouseEnter:$,onMouseOver:k,onMouseLeave:E,onClick:I,onKeyDown:N,onKeyUp:P},ie=R(R({},t),{},{open:q,prefixCls:a,placement:s,autoFocus:c,keyboard:f,width:p,mask:v,maskClosable:b,inline:y===!1,afterOpenChange:V,ref:B},X);return u.createElement(G1.Provider,{value:H},u.createElement(Ai,{open:q||x||M,autoDestroy:!1,getContainer:y,autoLock:v&&(q||M)},u.createElement(J1,ie)))};process.env.NODE_ENV!=="production"&&(Z1.displayName="Drawer");const Q1=e=>{var t,n;const{prefixCls:r,ariaId:o,title:a,footer:i,extra:s,closable:l,loading:c,onClose:d,headerStyle:f,bodyStyle:m,footerStyle:p,children:h,classNames:v,styles:g}=e,b=qn("drawer");let y;l===!1?y=void 0:l===void 0||l===!0?y="start":y=(l==null?void 0:l.placement)==="end"?"end":"start";const x=u.useCallback(E=>u.createElement("button",{type:"button",onClick:d,className:G(`${r}-close`,{[`${r}-close-${y}`]:y==="end"})},E),[d,r,y]),[C,S]=Ov(gl(e),gl(b),{closable:!0,closeIconRender:x}),$=()=>{var E,I;return!a&&!C?null:u.createElement("div",{style:Object.assign(Object.assign(Object.assign({},(E=b.styles)===null||E===void 0?void 0:E.header),f),g==null?void 0:g.header),className:G(`${r}-header`,{[`${r}-header-close-only`]:C&&!a&&!s},(I=b.classNames)===null||I===void 0?void 0:I.header,v==null?void 0:v.header)},u.createElement("div",{className:`${r}-header-title`},y==="start"&&S,a&&u.createElement("div",{className:`${r}-title`,id:o},a)),s&&u.createElement("div",{className:`${r}-extra`},s),y==="end"&&S)},k=()=>{var E,I;if(!i)return null;const N=`${r}-footer`;return u.createElement("div",{className:G(N,(E=b.classNames)===null||E===void 0?void 0:E.footer,v==null?void 0:v.footer),style:Object.assign(Object.assign(Object.assign({},(I=b.styles)===null||I===void 0?void 0:I.footer),p),g==null?void 0:g.footer)},i)};return u.createElement(u.Fragment,null,$(),u.createElement("div",{className:G(`${r}-body`,v==null?void 0:v.body,(t=b.classNames)===null||t===void 0?void 0:t.body),style:Object.assign(Object.assign(Object.assign({},(n=b.styles)===null||n===void 0?void 0:n.body),m),g==null?void 0:g.body)},c?u.createElement(vo,{active:!0,title:!1,paragraph:{rows:5},className:`${r}-body-skeleton`}):h),k())},M_=e=>{const t="100%";return{left:`translateX(-${t})`,right:`translateX(${t})`,top:`translateY(-${t})`,bottom:`translateY(${t})`}[e]},eC=(e,t)=>({"&-enter, &-appear":Object.assign(Object.assign({},e),{"&-active":t}),"&-leave":Object.assign(Object.assign({},t),{"&-active":e})}),tC=(e,t)=>Object.assign({"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${t}`}}},eC({opacity:e},{opacity:1})),z_=(e,t)=>[tC(.7,t),eC({transform:M_(e)},{transform:"none"})],A_=e=>{const{componentCls:t,motionDurationSlow:n}=e;return{[t]:{[`${t}-mask-motion`]:tC(0,n),[`${t}-panel-motion`]:["left","right","top","bottom"].reduce((r,o)=>Object.assign(Object.assign({},r),{[`&-${o}`]:z_(o,n)}),{})}}},D_=e=>{const{borderRadiusSM:t,componentCls:n,zIndexPopup:r,colorBgMask:o,colorBgElevated:a,motionDurationSlow:i,motionDurationMid:s,paddingXS:l,padding:c,paddingLG:d,fontSizeLG:f,lineHeightLG:m,lineWidth:p,lineType:h,colorSplit:v,marginXS:g,colorIcon:b,colorIconHover:y,colorBgTextHover:x,colorBgTextActive:C,colorText:S,fontWeightStrong:$,footerPaddingBlock:k,footerPaddingInline:E,calc:I}=e,N=`${n}-content-wrapper`;return{[n]:{position:"fixed",inset:0,zIndex:r,pointerEvents:"none",color:S,"&-pure":{position:"relative",background:a,display:"flex",flexDirection:"column",[`&${n}-left`]:{boxShadow:e.boxShadowDrawerLeft},[`&${n}-right`]:{boxShadow:e.boxShadowDrawerRight},[`&${n}-top`]:{boxShadow:e.boxShadowDrawerUp},[`&${n}-bottom`]:{boxShadow:e.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${n}-mask`]:{position:"absolute",inset:0,zIndex:r,background:o,pointerEvents:"auto"},[N]:{position:"absolute",zIndex:r,maxWidth:"100vw",transition:`all ${i}`,"&-hidden":{display:"none"}},[`&-left > ${N}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowDrawerLeft},[`&-right > ${N}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:e.boxShadowDrawerRight},[`&-top > ${N}`]:{top:0,insetInline:0,boxShadow:e.boxShadowDrawerUp},[`&-bottom > ${N}`]:{bottom:0,insetInline:0,boxShadow:e.boxShadowDrawerDown},[`${n}-content`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%",overflow:"auto",background:a,pointerEvents:"auto"},[`${n}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${ne(c)} ${ne(d)}`,fontSize:f,lineHeight:m,borderBottom:`${ne(p)} ${h} ${v}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${n}-extra`]:{flex:"none"},[`${n}-close`]:Object.assign({display:"inline-flex",width:I(f).add(l).equal(),height:I(f).add(l).equal(),borderRadius:t,justifyContent:"center",alignItems:"center",color:b,fontWeight:$,fontSize:f,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,cursor:"pointer",transition:`all ${s}`,textRendering:"auto",[`&${n}-close-end`]:{marginInlineStart:g},[`&:not(${n}-close-end)`]:{marginInlineEnd:g},"&:hover":{color:y,backgroundColor:x,textDecoration:"none"},"&:active":{backgroundColor:C}},Ea(e)),[`${n}-title`]:{flex:1,margin:0,fontWeight:e.fontWeightStrong,fontSize:f,lineHeight:m},[`${n}-body`]:{flex:1,minWidth:0,minHeight:0,padding:d,overflow:"auto",[`${n}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center"}},[`${n}-footer`]:{flexShrink:0,padding:`${ne(k)} ${ne(E)}`,borderTop:`${ne(p)} ${h} ${v}`},"&-rtl":{direction:"rtl"}}}},nC=zt("Drawer",e=>{const t=ft(e,{});return[D_(t),A_(t)]},e=>({zIndexPopup:e.zIndexPopupBase,footerPaddingBlock:e.paddingXS,footerPaddingInline:e.padding}));var rC=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const L_={distance:180},sm=e=>{var t;const{rootClassName:n,width:r,height:o,size:a="default",mask:i=!0,push:s=L_,open:l,afterOpenChange:c,onClose:d,prefixCls:f,getContainer:m,panelRef:p=null,style:h,className:v,"aria-labelledby":g,visible:b,afterVisibleChange:y,maskStyle:x,drawerStyle:C,contentWrapperStyle:S,destroyOnClose:$,destroyOnHidden:k}=e,E=rC(e,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","panelRef","style","className","aria-labelledby","visible","afterVisibleChange","maskStyle","drawerStyle","contentWrapperStyle","destroyOnClose","destroyOnHidden"]),I=Di(),N=E.title?I:void 0,{getPopupContainer:P,getPrefixCls:T,direction:j,className:_,style:M,classNames:z,styles:A}=qn("drawer"),D=T("drawer",f),[W,U,q]=nC(D),B=m===void 0&&P?()=>P(document.body):m,L=G({"no-mask":!i,[`${D}-rtl`]:j==="rtl"},n,U,q);if(process.env.NODE_ENV!=="production"){const Z=Et("Drawer");[["visible","open"],["afterVisibleChange","afterOpenChange"],["headerStyle","styles.header"],["bodyStyle","styles.body"],["footerStyle","styles.footer"],["contentWrapperStyle","styles.wrapper"],["maskStyle","styles.mask"],["drawerStyle","styles.content"],["destroyInactivePanel","destroyOnHidden"]].forEach(([oe,re])=>{Z.deprecated(!(oe in e),oe,re)}),B!==void 0&&((t=e.style)===null||t===void 0?void 0:t.position)==="absolute"&&process.env.NODE_ENV!=="production"&&Z(!1,"breaking","`style` is replaced by `rootStyle` in v5. Please check that `position: absolute` is necessary.")}const V=u.useMemo(()=>r??(a==="large"?736:378),[r,a]),H=u.useMemo(()=>o??(a==="large"?736:378),[o,a]),X={motionName:Jr(D,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},ie=Z=>({motionName:Jr(D,`panel-motion-${Z}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),K=H0(),ee=wn(p,K),[te,Y]=_a("Drawer",E.zIndex),{classNames:J={},styles:ae={}}=E;return W(u.createElement(eo,{form:!0,space:!0},u.createElement(Pa.Provider,{value:Y},u.createElement(Z1,Object.assign({prefixCls:D,onClose:d,maskMotion:X,motion:ie},E,{classNames:{mask:G(J.mask,z.mask),content:G(J.content,z.content),wrapper:G(J.wrapper,z.wrapper)},styles:{mask:Object.assign(Object.assign(Object.assign({},ae.mask),x),A.mask),content:Object.assign(Object.assign(Object.assign({},ae.content),C),A.content),wrapper:Object.assign(Object.assign(Object.assign({},ae.wrapper),S),A.wrapper)},open:l??b,mask:i,push:s,width:V,height:H,style:Object.assign(Object.assign({},M),h),className:G(_,v),rootClassName:L,getContainer:B,afterOpenChange:c??y,panelRef:ee,zIndex:te,"aria-labelledby":g??N,destroyOnClose:k??$}),u.createElement(Q1,Object.assign({prefixCls:D},E,{ariaId:N,onClose:d}))))))},F_=e=>{const{prefixCls:t,style:n,className:r,placement:o="right"}=e,a=rC(e,["prefixCls","style","className","placement"]),{getPrefixCls:i}=u.useContext(Ue),s=i("drawer",t),[l,c,d]=nC(s),f=G(s,`${s}-pure`,`${s}-${o}`,c,d,r);return l(u.createElement("div",{className:f,style:n},u.createElement(Q1,Object.assign({prefixCls:s},a))))};sm._InternalPanelDoNotUseOrYouWillBeFired=F_,process.env.NODE_ENV!=="production"&&(sm.displayName="Drawer");function oC(e){return["small","middle","large"].includes(e)}function aC(e){return e?typeof e=="number"&&!Number.isNaN(e):!1}const R_=e=>{const{componentCls:t,borderRadius:n,paddingSM:r,colorBorder:o,paddingXS:a,fontSizeLG:i,fontSizeSM:s,borderRadiusLG:l,borderRadiusSM:c,colorBgContainerDisabled:d,lineWidth:f}=e;return{[t]:[{display:"inline-flex",alignItems:"center",gap:0,paddingInline:r,margin:0,background:d,borderWidth:f,borderStyle:"solid",borderColor:o,borderRadius:n,"&-large":{fontSize:i,borderRadius:l},"&-small":{paddingInline:a,borderRadius:c,fontSize:s},"&-compact-last-item":{borderEndStartRadius:0,borderStartStartRadius:0},"&-compact-first-item":{borderEndEndRadius:0,borderStartEndRadius:0},"&-compact-item:not(:first-child):not(:last-child)":{borderRadius:0},"&-compact-item:not(:last-child)":{borderInlineEndWidth:0}},Mi(e,{focus:!1})]}},B_=zt(["Space","Addon"],e=>[R_(e)]);var V_=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const H_=w.forwardRef((e,t)=>{const{className:n,children:r,style:o,prefixCls:a}=e,i=V_(e,["className","children","style","prefixCls"]),{getPrefixCls:s,direction:l}=w.useContext(Ue),c=s("space-addon",a),[d,f,m]=B_(c),{compactItemClassnames:p,compactSize:h}=ho(c,l),v=G(c,f,p,m,{[`${c}-${h}`]:h},n);return d(w.createElement("div",Object.assign({ref:t,className:v,style:o},i),r))}),iC=w.createContext({latestIndex:0}),W_=iC.Provider,q_=({className:e,index:t,children:n,split:r,style:o})=>{const{latestIndex:a}=u.useContext(iC);return n==null?null:u.createElement(u.Fragment,null,u.createElement("div",{className:e,style:o},n),t<a&&r&&u.createElement("span",{className:`${e}-split`},r))},U_=e=>{const{componentCls:t,antCls:n}=e;return{[t]:{display:"inline-flex","&-rtl":{direction:"rtl"},"&-vertical":{flexDirection:"column"},"&-align":{flexDirection:"column","&-center":{alignItems:"center"},"&-start":{alignItems:"flex-start"},"&-end":{alignItems:"flex-end"},"&-baseline":{alignItems:"baseline"}},[`${t}-item:empty`]:{display:"none"},[`${t}-item > ${n}-badge-not-a-wrapper:only-child`]:{display:"block"}}}},G_=e=>{const{componentCls:t}=e;return{[t]:{"&-gap-row-small":{rowGap:e.spaceGapSmallSize},"&-gap-row-middle":{rowGap:e.spaceGapMiddleSize},"&-gap-row-large":{rowGap:e.spaceGapLargeSize},"&-gap-col-small":{columnGap:e.spaceGapSmallSize},"&-gap-col-middle":{columnGap:e.spaceGapMiddleSize},"&-gap-col-large":{columnGap:e.spaceGapLargeSize}}}},K_=zt("Space",e=>{const t=ft(e,{spaceGapSmallSize:e.paddingXS,spaceGapMiddleSize:e.padding,spaceGapLargeSize:e.paddingLG});return[U_(t),G_(t)]},()=>({}),{resetStyle:!1});var X_=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const zr=u.forwardRef((e,t)=>{var n;const{getPrefixCls:r,direction:o,size:a,className:i,style:s,classNames:l,styles:c}=qn("space"),{size:d=a??"small",align:f,className:m,rootClassName:p,children:h,direction:v="horizontal",prefixCls:g,split:b,style:y,wrap:x=!1,classNames:C,styles:S}=e,$=X_(e,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[k,E]=Array.isArray(d)?d:[d,d],I=oC(E),N=oC(k),P=aC(E),T=aC(k),j=Hn(h,{keepEmpty:!0}),_=f===void 0&&v==="horizontal"?"center":f,M=r("space",g),[z,A,D]=K_(M),W=G(M,i,A,`${M}-${v}`,{[`${M}-rtl`]:o==="rtl",[`${M}-align-${_}`]:_,[`${M}-gap-row-${E}`]:I,[`${M}-gap-col-${k}`]:N},m,p,D),U=G(`${M}-item`,(n=C==null?void 0:C.item)!==null&&n!==void 0?n:l.item),q=Object.assign(Object.assign({},c.item),S==null?void 0:S.item),B=j.map((H,X)=>{const ie=(H==null?void 0:H.key)||`${U}-${X}`;return u.createElement(q_,{className:U,key:ie,index:X,split:b,style:q},H)}),L=u.useMemo(()=>({latestIndex:j.reduce((X,ie,K)=>ie!=null?K:X,0)}),[j]);if(j.length===0)return null;const V={};return x&&(V.flexWrap="wrap"),!N&&T&&(V.columnGap=k),!I&&P&&(V.rowGap=E),z(u.createElement("div",Object.assign({ref:t,className:W,style:Object.assign(Object.assign(Object.assign({},V),s),y)},$),u.createElement(W_,{value:L},B)))});zr.Compact=qO,zr.Addon=H_,process.env.NODE_ENV!=="production"&&(zr.displayName="Space");var Y_=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const sC=e=>{const{getPopupContainer:t,getPrefixCls:n,direction:r}=u.useContext(Ue),{prefixCls:o,type:a="default",danger:i,disabled:s,loading:l,onClick:c,htmlType:d,children:f,className:m,menu:p,arrow:h,autoFocus:v,overlay:g,trigger:b,align:y,open:x,onOpenChange:C,placement:S,getPopupContainer:$,href:k,icon:E=u.createElement(Yl,null),title:I,buttonsRender:N=Y=>Y,mouseEnterDelay:P,mouseLeaveDelay:T,overlayClassName:j,overlayStyle:_,destroyOnHidden:M,destroyPopupOnHide:z,dropdownRender:A,popupRender:D}=e,W=Y_(e,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyOnHidden","destroyPopupOnHide","dropdownRender","popupRender"]),U=n("dropdown",o),q=`${U}-button`,L={menu:p,arrow:h,autoFocus:v,align:y,disabled:s,trigger:s?[]:b,onOpenChange:C,getPopupContainer:$||t,mouseEnterDelay:P,mouseLeaveDelay:T,overlayClassName:j,overlayStyle:_,destroyOnHidden:M,popupRender:D||A},{compactSize:V,compactItemClassnames:H}=ho(U,r),X=G(q,H,m);"destroyPopupOnHide"in e&&(L.destroyPopupOnHide=z),"overlay"in e&&(L.overlay=g),"open"in e&&(L.open=x),"placement"in e?L.placement=S:L.placement=r==="rtl"?"bottomLeft":"bottomRight";const ie=u.createElement(kt,{type:a,danger:i,disabled:s,loading:l,onClick:c,htmlType:d,href:k,title:I},f),K=u.createElement(kt,{type:a,danger:i,icon:E}),[ee,te]=N([ie,K]);return u.createElement(zr.Compact,Object.assign({className:X,size:V,block:!0},W),ee,u.createElement(es,Object.assign({},L),te))};sC.__ANT_BUTTON=!0;const lm=es;lm.Button=sC;function J_(e){return e==null?null:typeof e=="object"&&!w.isValidElement(e)?e:{title:e}}function oc(e){const[t,n]=u.useState(e);return u.useEffect(()=>{const r=setTimeout(()=>{n(e)},e.length?0:10);return()=>{clearTimeout(r)}},[e]),t}const Z_=e=>{const{componentCls:t}=e,n=`${t}-show-help`,r=`${t}-show-help-item`;return{[n]:{transition:`opacity ${e.motionDurationFast} ${e.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[r]:{overflow:"hidden",transition:`height ${e.motionDurationFast} ${e.motionEaseInOut},
|
|
280
|
+
opacity ${e.motionDurationFast} ${e.motionEaseInOut},
|
|
281
|
+
transform ${e.motionDurationFast} ${e.motionEaseInOut} !important`,[`&${r}-appear, &${r}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${r}-leave-active`]:{transform:"translateY(-5px)"}}}}},Q_=e=>({legend:{display:"block",width:"100%",marginBottom:e.marginLG,padding:0,color:e.colorTextDescription,fontSize:e.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${ne(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},'input[type="search"]':{boxSizing:"border-box"},'input[type="radio"], input[type="checkbox"]':{lineHeight:"normal"},'input[type="file"]':{display:"block"},'input[type="range"]':{display:"block",width:"100%"},"select[multiple], select[size]":{height:"auto"},"input[type='file']:focus,\n input[type='radio']:focus,\n input[type='checkbox']:focus":{outline:0,boxShadow:`0 0 0 ${ne(e.controlOutlineWidth)} ${e.controlOutline}`},output:{display:"block",paddingTop:15,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight}}),lC=(e,t)=>{const{formItemCls:n}=e;return{[n]:{[`${n}-label > label`]:{height:t},[`${n}-control-input`]:{minHeight:t}}}},eT=e=>{const{componentCls:t}=e;return{[e.componentCls]:Object.assign(Object.assign(Object.assign({},qt(e)),Q_(e)),{[`${t}-text`]:{display:"inline-block",paddingInlineEnd:e.paddingSM},"&-small":Object.assign({},lC(e,e.controlHeightSM)),"&-large":Object.assign({},lC(e,e.controlHeightLG))})}},tT=e=>{const{formItemCls:t,iconCls:n,rootPrefixCls:r,antCls:o,labelRequiredMarkColor:a,labelColor:i,labelFontSize:s,labelHeight:l,labelColonMarginInlineStart:c,labelColonMarginInlineEnd:d,itemMarginBottom:f}=e;return{[t]:Object.assign(Object.assign({},qt(e)),{marginBottom:f,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden,
|
|
282
|
+
&-hidden${o}-row`]:{display:"none"},"&-has-warning":{[`${t}-split`]:{color:e.colorError}},"&-has-error":{[`${t}-split`]:{color:e.colorWarning}},[`${t}-label`]:{flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:e.lineHeight,whiteSpace:"unset","> label":{verticalAlign:"middle",textWrap:"balance"}},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:l,color:i,fontSize:s,[`> ${n}`]:{fontSize:e.fontSize,verticalAlign:"top"},[`&${t}-required`]:{"&::before":{display:"inline-block",marginInlineEnd:e.marginXXS,color:a,fontSize:e.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"'},[`&${t}-required-mark-hidden, &${t}-required-mark-optional`]:{"&::before":{display:"none"}}},[`${t}-optional`]:{display:"inline-block",marginInlineStart:e.marginXXS,color:e.colorTextDescription,[`&${t}-required-mark-hidden`]:{display:"none"}},[`${t}-tooltip`]:{color:e.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:e.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:c,marginInlineEnd:d},[`&${t}-no-colon::after`]:{content:'"\\a0"'}}},[`${t}-control`]:{"--ant-display":"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${r}-col-'"]):not([class*="' ${r}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:e.controlHeight,"&-content":{flex:"auto",maxWidth:"100%",[`&:has(> ${o}-switch:only-child, > ${o}-rate:only-child)`]:{display:"flex",alignItems:"center"}}}},[t]:{"&-additional":{display:"flex",flexDirection:"column"},"&-explain, &-extra":{clear:"both",color:e.colorTextDescription,fontSize:e.fontSize,lineHeight:e.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:e.controlHeightSM,transition:`color ${e.motionDurationMid} ${e.motionEaseOut}`},"&-explain":{"&-error":{color:e.colorError},"&-warning":{color:e.colorWarning}}},[`&-with-help ${t}-explain`]:{height:"auto",opacity:1},[`${t}-feedback-icon`]:{fontSize:e.fontSize,textAlign:"center",visibility:"visible",animationName:Vd,animationDuration:e.motionDurationMid,animationTimingFunction:e.motionEaseOutBack,pointerEvents:"none","&-success":{color:e.colorSuccess},"&-error":{color:e.colorError},"&-warning":{color:e.colorWarning},"&-validating":{color:e.colorPrimary}}})}},Yo=e=>({padding:e.verticalLabelPadding,margin:e.verticalLabelMargin,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),nT=e=>{const{antCls:t,formItemCls:n}=e;return{[`${n}-horizontal`]:{[`${n}-label`]:{flexGrow:0},[`${n}-control`]:{flex:"1 1 0",minWidth:0},[`${n}-label[class$='-24'], ${n}-label[class*='-24 ']`]:{[`& + ${n}-control`]:{minWidth:"unset"}},[`${t}-col-24${n}-label,
|
|
283
|
+
${t}-col-xl-24${n}-label`]:Yo(e)}}},rT=e=>{const{componentCls:t,formItemCls:n,inlineItemMarginBottom:r}=e;return{[`${t}-inline`]:{display:"flex",flexWrap:"wrap",[`${n}-inline`]:{flex:"none",marginInlineEnd:e.margin,marginBottom:r,"&-row":{flexWrap:"nowrap"},[`> ${n}-label,
|
|
284
|
+
> ${n}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${n}-label`]:{flex:"none"},[`${t}-text`]:{display:"inline-block"},[`${n}-has-feedback`]:{display:"inline-block"}}}}},oT=e=>{const{componentCls:t,formItemCls:n,rootPrefixCls:r}=e;return{[`${n} ${n}-label`]:Yo(e),[`${t}:not(${t}-inline)`]:{[n]:{flexWrap:"wrap",[`${n}-label, ${n}-control`]:{[`&:not([class*=" ${r}-col-xs"])`]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},aT=e=>{const{componentCls:t,formItemCls:n,antCls:r}=e;return{[`${n}-vertical`]:{[`${n}-row`]:{flexDirection:"column"},[`${n}-label > label`]:{height:"auto"},[`${n}-control`]:{width:"100%"},[`${n}-label,
|
|
285
|
+
${r}-col-24${n}-label,
|
|
286
|
+
${r}-col-xl-24${n}-label`]:Yo(e)},[`@media (max-width: ${ne(e.screenXSMax)})`]:[oT(e),{[t]:{[`${n}:not(${n}-horizontal)`]:{[`${r}-col-xs-24${n}-label`]:Yo(e)}}}],[`@media (max-width: ${ne(e.screenSMMax)})`]:{[t]:{[`${n}:not(${n}-horizontal)`]:{[`${r}-col-sm-24${n}-label`]:Yo(e)}}},[`@media (max-width: ${ne(e.screenMDMax)})`]:{[t]:{[`${n}:not(${n}-horizontal)`]:{[`${r}-col-md-24${n}-label`]:Yo(e)}}},[`@media (max-width: ${ne(e.screenLGMax)})`]:{[t]:{[`${n}:not(${n}-horizontal)`]:{[`${r}-col-lg-24${n}-label`]:Yo(e)}}}}},iT=e=>({labelRequiredMarkColor:e.colorError,labelColor:e.colorTextHeading,labelFontSize:e.fontSize,labelHeight:e.controlHeight,labelColonMarginInlineStart:e.marginXXS/2,labelColonMarginInlineEnd:e.marginXS,itemMarginBottom:e.marginLG,verticalLabelPadding:`0 0 ${e.paddingXS}px`,verticalLabelMargin:0,inlineItemMarginBottom:0}),cC=(e,t)=>ft(e,{formItemCls:`${e.componentCls}-item`,rootPrefixCls:t}),cm=zt("Form",(e,{rootPrefixCls:t})=>{const n=cC(e,t);return[eT(n),tT(n),Z_(n),nT(n),rT(n),aT(n),Qv(n),Vd]},iT,{order:-1e3}),uC=[];function um(e,t,n,r=0){return{key:typeof e=="string"?e:`${t}-${r}`,error:e,errorStatus:n}}const dC=({help:e,helpStatus:t,errors:n=uC,warnings:r=uC,className:o,fieldId:a,onVisibleChanged:i})=>{const{prefixCls:s}=u.useContext(cf),l=`${s}-item-explain`,c=ln(s),[d,f,m]=cm(s,c),p=u.useMemo(()=>_d(s),[s]),h=oc(n),v=oc(r),g=u.useMemo(()=>e!=null?[um(e,"help",t)]:[].concat(ve(h.map((x,C)=>um(x,"error","error",C))),ve(v.map((x,C)=>um(x,"warning","warning",C)))),[e,t,h,v]),b=u.useMemo(()=>{const x={};return g.forEach(({key:C})=>{x[C]=(x[C]||0)+1}),g.map((C,S)=>Object.assign(Object.assign({},C),{key:x[C.key]>1?`${C.key}-fallback-${S}`:C.key}))},[g]),y={};return a&&(y.id=`${a}_help`),d(u.createElement(wr,{motionDeadline:p.motionDeadline,motionName:`${s}-show-help`,visible:!!b.length,onVisibleChanged:i},x=>{const{className:C,style:S}=x;return u.createElement("div",Object.assign({},y,{className:G(l,C,m,c,o,f),style:S}),u.createElement(ev,Object.assign({keys:b},_d(s),{motionName:`${s}-show-help-item`,component:!1}),$=>{const{key:k,error:E,errorStatus:I,className:N,style:P}=$;return u.createElement("div",{key:k,className:G(N,{[`${l}-${I}`]:I}),style:P},E)}))}))},ac={};function sT({name:e}){const t=Et("Form");u.useEffect(()=>{if(e)return ac[e]=(ac[e]||0)+1,process.env.NODE_ENV!=="production"&&t(ac[e]<=1,"usage","There exist multiple Form with same `name`."),()=>{ac[e]-=1}},[e])}var lT=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const cT=(e,t)=>{const n=u.useContext(Un),{getPrefixCls:r,direction:o,requiredMark:a,colon:i,scrollToFirstError:s,className:l,style:c}=qn("form"),{prefixCls:d,className:f,rootClassName:m,size:p,disabled:h=n,form:v,colon:g,labelAlign:b,labelWrap:y,labelCol:x,wrapperCol:C,hideRequiredMark:S,layout:$="horizontal",scrollToFirstError:k,requiredMark:E,onFinishFailed:I,name:N,style:P,feedbackIcons:T,variant:j}=e,_=lT(e,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons","variant"]),M=Kn(p),z=u.useContext(sh);process.env.NODE_ENV!=="production"&&sT(e);const A=u.useMemo(()=>E!==void 0?E:S?!1:a!==void 0?a:!0,[S,E,a]),D=g??i,W=r("form",d),U=ln(W),[q,B,L]=cm(W,U),V=G(W,`${W}-${$}`,{[`${W}-hide-required-mark`]:A===!1,[`${W}-rtl`]:o==="rtl",[`${W}-${M}`]:M},L,U,B,l,f,m),[H]=a1(v),{__INTERNAL__:X}=H;X.name=N;const ie=u.useMemo(()=>({name:N,labelAlign:b,labelCol:x,labelWrap:y,wrapperCol:C,layout:$,colon:D,requiredMark:A,itemRef:X.itemRef,form:H,feedbackIcons:T}),[N,b,x,C,$,D,A,H,T]),K=u.useRef(null);u.useImperativeHandle(t,()=>{var Y;return Object.assign(Object.assign({},H),{nativeElement:(Y=K.current)===null||Y===void 0?void 0:Y.nativeElement})});const ee=(Y,J)=>{if(Y){let ae={block:"nearest"};typeof Y=="object"&&(ae=Object.assign(Object.assign({},ae),Y)),H.scrollToField(J,ae)}},te=Y=>{if(I==null||I(Y),Y.errorFields.length){const J=Y.errorFields[0].name;if(k!==void 0){ee(k,J);return}s!==void 0&&ee(s,J)}};return q(u.createElement(R0.Provider,{value:j},u.createElement(ad,{disabled:h},u.createElement(Bo.Provider,{value:M},u.createElement(L0,{validateMessages:z},u.createElement(Qr.Provider,{value:ie},u.createElement(F0,{status:!0},u.createElement(Da,Object.assign({id:N},_,{name:N,onFinishFailed:te,form:H,ref:K,style:Object.assign(Object.assign({},c),P),className:V})))))))))},fC=u.forwardRef(cT);process.env.NODE_ENV!=="production"&&(fC.displayName="Form");function uT(e){if(typeof e=="function")return e;const t=Hn(e);return t.length<=1?t[0]:t}const mC=()=>{const{status:e,errors:t=[],warnings:n=[]}=u.useContext(bn);if(process.env.NODE_ENV!=="production"){const r=Et("Form.Item");process.env.NODE_ENV!=="production"&&r(e!==void 0,"usage","Form.Item.useStatus should be used under Form.Item component. For more information: https://u.ant.design/form-item-usestatus")}return{status:e,errors:t,warnings:n}};mC.Context=bn;function dT(e){const[t,n]=u.useState(e),r=u.useRef(null),o=u.useRef([]),a=u.useRef(!1);u.useEffect(()=>(a.current=!1,()=>{a.current=!0,vt.cancel(r.current),r.current=null}),[]);function i(s){a.current||(r.current===null&&(o.current=[],r.current=vt(()=>{r.current=null,n(l=>{let c=l;return o.current.forEach(d=>{c=d(c)}),c})})),o.current.push(s))}return[t,i]}function fT(){const{itemRef:e}=u.useContext(Qr),t=u.useRef({});function n(r,o){const a=o&&typeof o=="object"&&co(o),i=r.join("_");return(t.current.name!==i||t.current.originRef!==a)&&(t.current.name=i,t.current.originRef=a,t.current.ref=wn(e(r),a)),t.current.ref}return n}const mT=e=>{const{formItemCls:t}=e;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${t}-control`]:{display:"flex"}}}},pT=ud(["Form","item-item"],(e,{rootPrefixCls:t})=>{const n=cC(e,t);return mT(n)});var gT=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const hT=24,vT=e=>{const{prefixCls:t,status:n,labelCol:r,wrapperCol:o,children:a,errors:i,warnings:s,_internalItemRender:l,extra:c,help:d,fieldId:f,marginBottom:m,onErrorVisibleChanged:p,label:h}=e,v=`${t}-item`,g=u.useContext(Qr),b=u.useMemo(()=>{let _=Object.assign({},o||g.wrapperCol||{});return h===null&&!r&&!o&&g.labelCol&&[void 0,"xs","sm","md","lg","xl","xxl"].forEach(z=>{const A=z?[z]:[],D=rr(g.labelCol,A),W=typeof D=="object"?D:{},U=rr(_,A),q=typeof U=="object"?U:{};"span"in W&&!("offset"in q)&&W.span<hT&&(_=or(_,[].concat(A,["offset"]),W.span))}),_},[o,g.wrapperCol,g.labelCol,h,r]),y=G(`${v}-control`,b.className),x=u.useMemo(()=>{const{labelCol:_,wrapperCol:M}=g;return gT(g,["labelCol","wrapperCol"])},[g]),C=u.useRef(null),[S,$]=u.useState(0);It(()=>{c&&C.current?$(C.current.clientHeight):$(0)},[c]);const k=u.createElement("div",{className:`${v}-control-input`},u.createElement("div",{className:`${v}-control-input-content`},a)),E=u.useMemo(()=>({prefixCls:t,status:n}),[t,n]),I=m!==null||i.length||s.length?u.createElement(cf.Provider,{value:E},u.createElement(dC,{fieldId:f,errors:i,warnings:s,help:d,helpStatus:n,className:`${v}-explain-connected`,onVisibleChanged:p})):null,N={};f&&(N.id=`${f}_extra`);const P=c?u.createElement("div",Object.assign({},N,{className:`${v}-extra`,ref:C}),c):null,T=I||P?u.createElement("div",{className:`${v}-additional`,style:m?{minHeight:m+S}:{}},I,P):null,j=l&&l.mark==="pro_table_render"&&l.render?l.render(e,{input:k,errorList:I,extra:P}):u.createElement(u.Fragment,null,k,T);return u.createElement(Qr.Provider,{value:x},u.createElement(Xt,Object.assign({},b,{className:y}),j),u.createElement(pT,{prefixCls:t}))};var bT={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 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"},yT=function(t,n){return u.createElement(Nt,ge({},t,{ref:n,icon:bT}))},pC=u.forwardRef(yT);process.env.NODE_ENV!=="production"&&(pC.displayName="QuestionCircleOutlined");var CT=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const xT=({prefixCls:e,label:t,htmlFor:n,labelCol:r,labelAlign:o,colon:a,required:i,requiredMark:s,tooltip:l,vertical:c})=>{var d;const[f]=mo("Form"),{labelAlign:m,labelCol:p,labelWrap:h,colon:v}=u.useContext(Qr);if(!t)return null;const g=r||p||{},b=o||m,y=`${e}-item-label`,x=G(y,b==="left"&&`${y}-left`,g.className,{[`${y}-wrap`]:!!h});let C=t;const S=a===!0||v!==!1&&a!==!1;S&&!c&&typeof t=="string"&&t.trim()&&(C=t.replace(/[:|:]\s*$/,""));const k=J_(l);if(k){const{icon:j=u.createElement(pC,null)}=k,_=CT(k,["icon"]),M=u.createElement(Co,Object.assign({},_),u.cloneElement(j,{className:`${e}-item-tooltip`,title:"",onClick:z=>{z.preventDefault()},tabIndex:null}));C=u.createElement(u.Fragment,null,C,M)}const E=s==="optional",I=typeof s=="function",N=s===!1;I?C=s(C,{required:!!i}):E&&!i&&(C=u.createElement(u.Fragment,null,C,u.createElement("span",{className:`${e}-item-optional`,title:""},(f==null?void 0:f.optional)||((d=Kr.Form)===null||d===void 0?void 0:d.optional))));let P;N?P="hidden":(E||I)&&(P="optional");const T=G({[`${e}-item-required`]:i,[`${e}-item-required-mark-${P}`]:P,[`${e}-item-no-colon`]:!S});return u.createElement(Xt,Object.assign({},g,{className:x}),u.createElement("label",{htmlFor:n,className:T,title:typeof t=="string"?t:""},C))},wT={success:dl,warning:fl,error:Ia,validating:Na};function gC({children:e,errors:t,warnings:n,hasFeedback:r,validateStatus:o,prefixCls:a,meta:i,noStyle:s,name:l}){const c=`${a}-item`,{feedbackIcons:d}=u.useContext(Qr),f=r1(t,n,i,null,!!r,o),{isFormItemInput:m,status:p,hasFeedback:h,feedbackIcon:v,name:g}=u.useContext(bn),b=u.useMemo(()=>{var y;let x;if(r){const S=r!==!0&&r.icons||d,$=f&&((y=S==null?void 0:S({status:f,errors:t,warnings:n}))===null||y===void 0?void 0:y[f]),k=f?wT[f]:null;x=$!==!1&&k?u.createElement("span",{className:G(`${c}-feedback-icon`,`${c}-feedback-icon-${f}`)},$||u.createElement(k,null)):null}const C={status:f||"",errors:t,warnings:n,hasFeedback:!!r,feedbackIcon:x,isFormItemInput:!0,name:l};return s&&(C.status=(f??p)||"",C.isFormItemInput=m,C.hasFeedback=!!(r??h),C.feedbackIcon=r!==void 0?C.feedbackIcon:v,C.name=l??g),C},[f,r,s,m,p]);return u.createElement(bn.Provider,{value:b},e)}var ST=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function ET(e){const{prefixCls:t,className:n,rootClassName:r,style:o,help:a,errors:i,warnings:s,validateStatus:l,meta:c,hasFeedback:d,hidden:f,children:m,fieldId:p,required:h,isRequired:v,onSubItemMetaChange:g,layout:b,name:y}=e,x=ST(e,["prefixCls","className","rootClassName","style","help","errors","warnings","validateStatus","meta","hasFeedback","hidden","children","fieldId","required","isRequired","onSubItemMetaChange","layout","name"]),C=`${t}-item`,{requiredMark:S,layout:$}=u.useContext(Qr),k=b||$,E=k==="vertical",I=u.useRef(null),N=oc(i),P=oc(s),T=a!=null,j=!!(T||i.length||s.length),_=!!I.current&&yl(I.current),[M,z]=u.useState(null);It(()=>{if(j&&I.current){const q=getComputedStyle(I.current);z(Number.parseInt(q.marginBottom,10))}},[j,_]);const A=q=>{q||z(null)},W=((q=!1)=>{const B=q?N:c.errors,L=q?P:c.warnings;return r1(B,L,c,"",!!d,l)})(),U=G(C,n,r,{[`${C}-with-help`]:T||N.length||P.length,[`${C}-has-feedback`]:W&&d,[`${C}-has-success`]:W==="success",[`${C}-has-warning`]:W==="warning",[`${C}-has-error`]:W==="error",[`${C}-is-validating`]:W==="validating",[`${C}-hidden`]:f,[`${C}-${k}`]:k});return u.createElement("div",{className:U,style:o,ref:I},u.createElement(wo,Object.assign({className:`${C}-row`},cn(x,["_internalItemRender","colon","dependencies","extra","fieldKey","getValueFromEvent","getValueProps","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","labelWrap","messageVariables","name","normalize","noStyle","preserve","requiredMark","rules","shouldUpdate","trigger","tooltip","validateFirst","validateTrigger","valuePropName","wrapperCol","validateDebounce"])),u.createElement(xT,Object.assign({htmlFor:p},e,{requiredMark:S,required:h??v,prefixCls:t,vertical:E})),u.createElement(vT,Object.assign({},e,c,{errors:N,warnings:P,prefixCls:t,status:W,help:a,marginBottom:M,onErrorVisibleChanged:A}),u.createElement(D0.Provider,{value:g},u.createElement(gC,{prefixCls:t,meta:c,errors:c.errors,warnings:c.warnings,hasFeedback:d,validateStatus:W,name:y},m)))),!!M&&u.createElement("div",{className:`${C}-margin-offset`,style:{marginBottom:-M}}))}const $T="__SPLIT__";function kT(e,t){const n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&n.every(o=>{const a=e[o],i=t[o];return a===i||typeof a=="function"||typeof i=="function"})}const OT=u.memo(({children:e})=>e,(e,t)=>kT(e.control,t.control)&&e.update===t.update&&e.childProps.length===t.childProps.length&&e.childProps.every((n,r)=>n===t.childProps[r]));function hC(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function IT(e){const{name:t,noStyle:n,className:r,dependencies:o,prefixCls:a,shouldUpdate:i,rules:s,children:l,required:c,label:d,messageVariables:f,trigger:m="onChange",validateTrigger:p,hidden:h,help:v,layout:g}=e,{getPrefixCls:b}=u.useContext(Ue),{name:y}=u.useContext(Qr),x=uT(l),C=typeof x=="function",S=u.useContext(D0),{validateTrigger:$}=u.useContext(qo),k=p!==void 0?p:$,E=t!=null,I=b("form",a),N=ln(I),[P,T,j]=cm(I,N),_=Et("Form.Item");process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="production"&&_(t!==null,"usage","`null` is passed as `name` property");const M=u.useContext(Li),z=u.useRef(null),[A,D]=dT({}),[W,U]=Vo(()=>hC()),q=K=>{const ee=M==null?void 0:M.getKey(K.name);if(U(K.destroy?hC():K,!0),n&&v!==!1&&S){let te=K.name;if(K.destroy)te=z.current||te;else if(ee!==void 0){const[Y,J]=ee;te=[Y].concat(ve(J)),z.current=te}S(K,te)}},B=(K,ee)=>{D(te=>{const Y=Object.assign({},te),ae=[].concat(ve(K.name.slice(0,-1)),ve(ee)).join($T);return K.destroy?delete Y[ae]:Y[ae]=K,Y})},[L,V]=u.useMemo(()=>{const K=ve(W.errors),ee=ve(W.warnings);return Object.values(A).forEach(te=>{K.push.apply(K,ve(te.errors||[])),ee.push.apply(ee,ve(te.warnings||[]))}),[K,ee]},[A,W.errors,W.warnings]),H=fT();function X(K,ee,te){return n&&!h?u.createElement(gC,{prefixCls:I,hasFeedback:e.hasFeedback,validateStatus:e.validateStatus,meta:W,errors:L,warnings:V,noStyle:!0,name:t},K):u.createElement(ET,Object.assign({key:"row"},e,{className:G(r,j,N,T),prefixCls:I,fieldId:ee,isRequired:te,errors:L,warnings:V,meta:W,onSubItemMetaChange:B,layout:g,name:t}),K)}if(!E&&!C&&!o)return P(X(x));let ie={};return typeof d=="string"?ie.label=d:t&&(ie.label=String(t)),f&&(ie=Object.assign(Object.assign({},ie),f)),P(u.createElement(of,Object.assign({},e,{messageVariables:ie,trigger:m,validateTrigger:k,onMetaChange:q}),(K,ee,te)=>{const Y=ns(t).length&&ee?ee.name:[],J=n1(Y,y),ae=c!==void 0?c:!!(s!=null&&s.some(re=>{if(re&&typeof re=="object"&&re.required&&!re.warningOnly)return!0;if(typeof re=="function"){const ce=re(te);return(ce==null?void 0:ce.required)&&!(ce!=null&&ce.warningOnly)}return!1})),Z=Object.assign({},K);let oe=null;if(process.env.NODE_ENV!=="production"&&_(!(i&&o),"usage","`shouldUpdate` and `dependencies` shouldn't be used together. See https://u.ant.design/form-deps."),Array.isArray(x)&&E)process.env.NODE_ENV!=="production"&&_(!1,"usage","A `Form.Item` with a `name` prop must have a single child element. For information on how to render more complex form items, see https://u.ant.design/complex-form-item."),oe=x;else if(C&&(!(i||o)||E))process.env.NODE_ENV!=="production"&&_(!!(i||o),"usage","A `Form.Item` with a render function must have either `shouldUpdate` or `dependencies`."),process.env.NODE_ENV!=="production"&&_(!E,"usage","A `Form.Item` with a render function cannot be a field, and thus cannot have a `name` prop.");else if(o&&!C&&!E)process.env.NODE_ENV!=="production"&&_(!1,"usage","Must set `name` or use a render function when `dependencies` is set.");else if(u.isValidElement(x)){process.env.NODE_ENV!=="production"&&_(x.props.defaultValue===void 0,"usage","`defaultValue` will not work on controlled Field. You should use `initialValues` of Form instead.");const re=Object.assign(Object.assign({},x.props),Z);if(re.id||(re.id=J),v||L.length>0||V.length>0||e.extra){const ue=[];(v||L.length>0)&&ue.push(`${J}_help`),e.extra&&ue.push(`${J}_extra`),re["aria-describedby"]=ue.join(" ")}L.length>0&&(re["aria-invalid"]="true"),ae&&(re["aria-required"]="true"),Br(x)&&(re.ref=H(Y,x)),new Set([].concat(ve(ns(m)),ve(ns(k)))).forEach(ue=>{re[ue]=(...he)=>{var de,ye,be,le,Ce;(be=Z[ue])===null||be===void 0||(de=be).call.apply(de,[Z].concat(he)),(Ce=(le=x.props)[ue])===null||Ce===void 0||(ye=Ce).call.apply(ye,[le].concat(he))}});const se=[re["aria-required"],re["aria-invalid"],re["aria-describedby"]];oe=u.createElement(OT,{control:Z,update:x,childProps:se},sr(x,re))}else C&&(i||o)&&!E?oe=x(te):(process.env.NODE_ENV!=="production"&&_(!Y.length||!!n,"usage","`name` is only used for validate React element. If you are using Form.Item as layout display, please remove `name` instead."),oe=x);return X(oe,J,ae)}))}const Jo=IT;Jo.useStatus=mC;var NT=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const PT=e=>{var{prefixCls:t,children:n}=e,r=NT(e,["prefixCls","children"]);if(process.env.NODE_ENV!=="production"){const s=Et("Form.List");process.env.NODE_ENV!=="production"&&s(typeof r.name=="number"||(Array.isArray(r.name)?!!r.name.length:!!r.name),"usage","Miss `name` prop.")}const{getPrefixCls:o}=u.useContext(Ue),a=o("form",t),i=u.useMemo(()=>({prefixCls:a,status:"error"}),[a]);return u.createElement(T0,Object.assign({},r),(s,l,c)=>u.createElement(cf.Provider,{value:i},n(s.map(d=>Object.assign(Object.assign({},d),{fieldKey:d.key})),l,{errors:c.errors,warnings:c.warnings})))};function _T(){const{form:e}=u.useContext(Qr);return e}const $e=fC;$e.Item=Jo,$e.List=PT,$e.ErrorList=dC,$e.useForm=a1,$e.useFormInstance=_T,$e.useWatch=A0,$e.Provider=L0,$e.create=()=>{process.env.NODE_ENV!=="production"&&Gr(!1,"Form","antd v4 removed `Form.create`. Please remove or use `@ant-design/compatible` instead.")};var TT={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"},jT=function(t,n){return u.createElement(Nt,ge({},t,{ref:n,icon:TT}))},vC=u.forwardRef(jT);process.env.NODE_ENV!=="production"&&(vC.displayName="EyeOutlined");const MT=e=>{const{getPrefixCls:t,direction:n}=w.useContext(Ue),{prefixCls:r,className:o}=e,a=t("input-group",r),i=t("input"),[s,l,c]=$1(i),d=G(a,c,{[`${a}-lg`]:e.size==="large",[`${a}-sm`]:e.size==="small",[`${a}-compact`]:e.compact,[`${a}-rtl`]:n==="rtl"},l,o),f=w.useContext(bn),m=w.useMemo(()=>Object.assign(Object.assign({},f),{isFormItemInput:!1}),[f]);return process.env.NODE_ENV!=="production"&&Et("Input.Group").deprecated(!1,"Input.Group","Space.Compact"),s(u.createElement("span",{className:d,style:e.style,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,onFocus:e.onFocus,onBlur:e.onBlur},u.createElement(bn.Provider,{value:m},e.children)))},zT=e=>{const{componentCls:t,paddingXS:n}=e;return{[t]:{display:"inline-flex",alignItems:"center",flexWrap:"nowrap",columnGap:n,[`${t}-input-wrapper`]:{position:"relative",[`${t}-mask-icon`]:{position:"absolute",zIndex:"1",top:"50%",right:"50%",transform:"translate(50%, -50%)",pointerEvents:"none"},[`${t}-mask-input`]:{color:"transparent",caretColor:e.colorText},[`${t}-mask-input[type=number]::-webkit-inner-spin-button`]:{"-webkit-appearance":"none",margin:0},[`${t}-mask-input[type=number]`]:{"-moz-appearance":"textfield"}},"&-rtl":{direction:"rtl"},[`${t}-input`]:{textAlign:"center",paddingInline:e.paddingXXS},[`&${t}-sm ${t}-input`]:{paddingInline:e.calc(e.paddingXXS).div(2).equal()},[`&${t}-lg ${t}-input`]:{paddingInline:e.paddingXS}}}},AT=zt(["Input","OTP"],e=>{const t=ft(e,rs(e));return zT(t)},os);var DT=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const LT=u.forwardRef((e,t)=>{const{className:n,value:r,onChange:o,onActiveChange:a,index:i,mask:s}=e,l=DT(e,["className","value","onChange","onActiveChange","index","mask"]),{getPrefixCls:c}=u.useContext(Ue),d=c("otp"),f=typeof s=="string"?s:r,m=u.useRef(null);u.useImperativeHandle(t,()=>m.current);const p=g=>{o(i,g.target.value)},h=()=>{vt(()=>{var g;const b=(g=m.current)===null||g===void 0?void 0:g.input;document.activeElement===b&&b&&b.select()})},v=g=>{const{key:b,ctrlKey:y,metaKey:x}=g;b==="ArrowLeft"?a(i-1):b==="ArrowRight"?a(i+1):b==="z"&&(y||x)?g.preventDefault():b==="Backspace"&&!r&&a(i-1),h()};return u.createElement("span",{className:`${d}-input-wrapper`,role:"presentation"},s&&r!==""&&r!==void 0&&u.createElement("span",{className:`${d}-mask-icon`,"aria-hidden":"true"},f),u.createElement(is,Object.assign({"aria-label":`OTP Input ${i+1}`,type:s===!0?"password":"text"},l,{ref:m,value:r,onInput:p,onFocus:h,onKeyDown:v,onMouseDown:h,onMouseUp:h,className:G(n,{[`${d}-mask-input`]:s})})))});var FT=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function ic(e){return(e||"").split("")}const RT=e=>{const{index:t,prefixCls:n,separator:r}=e,o=typeof r=="function"?r(t):r;return o?u.createElement("span",{className:`${n}-separator`},o):null},BT=u.forwardRef((e,t)=>{const{prefixCls:n,length:r=6,size:o,defaultValue:a,value:i,onChange:s,formatter:l,separator:c,variant:d,disabled:f,status:m,autoFocus:p,mask:h,type:v,onInput:g,inputMode:b}=e,y=FT(e,["prefixCls","length","size","defaultValue","value","onChange","formatter","separator","variant","disabled","status","autoFocus","mask","type","onInput","inputMode"]);if(process.env.NODE_ENV!=="production"){const V=Et("Input.OTP");process.env.NODE_ENV!=="production"&&V(!(typeof h=="string"&&h.length>1),"usage","`mask` prop should be a single character.")}const{getPrefixCls:x,direction:C}=u.useContext(Ue),S=x("otp",n),$=Gn(y,{aria:!0,data:!0,attr:!0}),[k,E,I]=AT(S),N=Kn(V=>o??V),P=u.useContext(bn),T=Ui(P.status,m),j=u.useMemo(()=>Object.assign(Object.assign({},P),{status:T,hasFeedback:!1,feedbackIcon:null}),[P,T]),_=u.useRef(null),M=u.useRef({});u.useImperativeHandle(t,()=>({focus:()=>{var V;(V=M.current[0])===null||V===void 0||V.focus()},blur:()=>{var V;for(let H=0;H<r;H+=1)(V=M.current[H])===null||V===void 0||V.blur()},nativeElement:_.current}));const z=V=>l?l(V):V,[A,D]=u.useState(()=>ic(z(a||"")));u.useEffect(()=>{i!==void 0&&D(ic(i))},[i]);const W=Wt(V=>{D(V),g&&g(V),s&&V.length===r&&V.every(H=>H)&&V.some((H,X)=>A[X]!==H)&&s(V.join(""))}),U=Wt((V,H)=>{let X=ve(A);for(let K=0;K<V;K+=1)X[K]||(X[K]="");H.length<=1?X[V]=H:X=X.slice(0,V).concat(ic(H)),X=X.slice(0,r);for(let K=X.length-1;K>=0&&!X[K];K-=1)X.pop();const ie=z(X.map(K=>K||" ").join(""));return X=ic(ie).map((K,ee)=>K===" "&&!X[ee]?X[ee]:K),X}),q=(V,H)=>{var X;const ie=U(V,H),K=Math.min(V+H.length,r-1);K!==V&&ie[V]!==void 0&&((X=M.current[K])===null||X===void 0||X.focus()),W(ie)},B=V=>{var H;(H=M.current[V])===null||H===void 0||H.focus()},L={variant:d,disabled:f,status:T,mask:h,type:v,inputMode:b};return k(u.createElement("div",Object.assign({},$,{ref:_,className:G(S,{[`${S}-sm`]:N==="small",[`${S}-lg`]:N==="large",[`${S}-rtl`]:C==="rtl"},I,E),role:"group"}),u.createElement(bn.Provider,{value:j},Array.from({length:r}).map((V,H)=>{const X=`otp-${H}`,ie=A[H]||"";return u.createElement(u.Fragment,{key:X},u.createElement(LT,Object.assign({ref:K=>{M.current[H]=K},index:H,size:N,htmlSize:1,className:`${S}-input`,onChange:q,value:ie,onActiveChange:B,autoFocus:H===0&&p},L)),H<r-1&&u.createElement(RT,{separator:c,index:H,prefixCls:S}))}))))});var VT={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"},HT=function(t,n){return u.createElement(Nt,ge({},t,{ref:n,icon:VT}))},bC=u.forwardRef(HT);process.env.NODE_ENV!=="production"&&(bC.displayName="EyeInvisibleOutlined");var WT=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const qT=e=>e?u.createElement(vC,null):u.createElement(bC,null),UT={click:"onClick",hover:"onMouseOver"},yC=u.forwardRef((e,t)=>{const{disabled:n,action:r="click",visibilityToggle:o=!0,iconRender:a=qT,suffix:i}=e,s=u.useContext(Un),l=n??s,c=typeof o=="object"&&o.visible!==void 0,[d,f]=w.useState(()=>c?o.visible:!1),m=w.useRef(null);u.useEffect(()=>{c&&f(o.visible)},[c,o]);const p=q1(m),h=()=>{var P;if(l)return;d&&p();const T=!d;f(T),typeof o=="object"&&((P=o.onVisibleChange)===null||P===void 0||P.call(o,T))},v=P=>{const T=UT[r]||"",j=a(d),_={[T]:h,className:`${P}-icon`,key:"passwordIcon",onMouseDown:M=>{M.preventDefault()},onMouseUp:M=>{M.preventDefault()}};return u.cloneElement(u.isValidElement(j)?j:u.createElement("span",null,j),_)},{className:g,prefixCls:b,inputPrefixCls:y,size:x}=e,C=WT(e,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:S}=u.useContext(Ue),$=S("input",y),k=S("input-password",b),E=o&&v(k),I=G(k,g,{[`${k}-${x}`]:!!x}),N=Object.assign(Object.assign({},cn(C,["suffix","iconRender","visibilityToggle"])),{type:d?"text":"password",className:I,prefixCls:$,suffix:u.createElement(u.Fragment,null,E,i)});return x&&(N.size=x),u.createElement(is,Object.assign({ref:wn(t,m)},N))});process.env.NODE_ENV!=="production"&&(yC.displayName="Input.Password");var GT=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const CC=u.forwardRef((e,t)=>{const{prefixCls:n,inputPrefixCls:r,className:o,size:a,suffix:i,enterButton:s=!1,addonAfter:l,loading:c,disabled:d,onSearch:f,onChange:m,onCompositionStart:p,onCompositionEnd:h,variant:v,onPressEnter:g}=e,b=GT(e,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd","variant","onPressEnter"]),{getPrefixCls:y,direction:x}=u.useContext(Ue),C=u.useRef(!1),S=y("input-search",n),$=y("input",r),{compactSize:k}=ho(S,x),E=Kn(L=>{var V;return(V=a??k)!==null&&V!==void 0?V:L}),I=u.useRef(null),N=L=>{L!=null&&L.target&&L.type==="click"&&f&&f(L.target.value,L,{source:"clear"}),m==null||m(L)},P=L=>{var V;document.activeElement===((V=I.current)===null||V===void 0?void 0:V.input)&&L.preventDefault()},T=L=>{var V,H;f&&f((H=(V=I.current)===null||V===void 0?void 0:V.input)===null||H===void 0?void 0:H.value,L,{source:"input"})},j=L=>{C.current||c||(g==null||g(L),T(L))},_=typeof s=="boolean"?u.createElement(Mf,null):null,M=`${S}-button`;let z;const A=s||{},D=A.type&&A.type.__ANT_BUTTON===!0;D||A.type==="button"?z=sr(A,Object.assign({onMouseDown:P,onClick:L=>{var V,H;(H=(V=A==null?void 0:A.props)===null||V===void 0?void 0:V.onClick)===null||H===void 0||H.call(V,L),T(L)},key:"enterButton"},D?{className:M,size:E}:{})):z=u.createElement(kt,{className:M,color:s?"primary":"default",size:E,disabled:d,key:"enterButton",onMouseDown:P,onClick:T,loading:c,icon:_,variant:v==="borderless"||v==="filled"||v==="underlined"?"text":s?"solid":void 0},s),l&&(z=[z,sr(l,{key:"addonAfter"})]);const W=G(S,{[`${S}-rtl`]:x==="rtl",[`${S}-${E}`]:!!E,[`${S}-with-button`]:!!s},o),U=L=>{C.current=!0,p==null||p(L)},q=L=>{C.current=!1,h==null||h(L)},B=Object.assign(Object.assign({},b),{className:W,prefixCls:$,type:"search",size:E,variant:v,onPressEnter:j,onCompositionStart:U,onCompositionEnd:q,addonAfter:z,suffix:i,onChange:N,disabled:d,_skipAddonWarning:!0});return u.createElement(is,Object.assign({ref:wn(I,t)},B))});process.env.NODE_ENV!=="production"&&(CC.displayName="Search");var KT=`
|
|
287
|
+
min-height:0 !important;
|
|
288
|
+
max-height:none !important;
|
|
289
|
+
height:0 !important;
|
|
290
|
+
visibility:hidden !important;
|
|
291
|
+
overflow:hidden !important;
|
|
292
|
+
position:absolute !important;
|
|
293
|
+
z-index:-1000 !important;
|
|
294
|
+
top:0 !important;
|
|
295
|
+
right:0 !important;
|
|
296
|
+
pointer-events: none !important;
|
|
297
|
+
`,XT=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break","white-space"],dm={},Jn;function YT(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=e.getAttribute("id")||e.getAttribute("data-reactid")||e.getAttribute("name");if(t&&dm[n])return dm[n];var r=window.getComputedStyle(e),o=r.getPropertyValue("box-sizing")||r.getPropertyValue("-moz-box-sizing")||r.getPropertyValue("-webkit-box-sizing"),a=parseFloat(r.getPropertyValue("padding-bottom"))+parseFloat(r.getPropertyValue("padding-top")),i=parseFloat(r.getPropertyValue("border-bottom-width"))+parseFloat(r.getPropertyValue("border-top-width")),s=XT.map(function(c){return"".concat(c,":").concat(r.getPropertyValue(c))}).join(";"),l={sizingStyle:s,paddingSize:a,borderSize:i,boxSizing:o};return t&&n&&(dm[n]=l),l}function JT(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;Jn||(Jn=document.createElement("textarea"),Jn.setAttribute("tab-index","-1"),Jn.setAttribute("aria-hidden","true"),Jn.setAttribute("name","hiddenTextarea"),document.body.appendChild(Jn)),e.getAttribute("wrap")?Jn.setAttribute("wrap",e.getAttribute("wrap")):Jn.removeAttribute("wrap");var o=YT(e,t),a=o.paddingSize,i=o.borderSize,s=o.boxSizing,l=o.sizingStyle;Jn.setAttribute("style","".concat(l,";").concat(KT)),Jn.value=e.value||e.placeholder||"";var c=void 0,d=void 0,f,m=Jn.scrollHeight;if(s==="border-box"?m+=i:s==="content-box"&&(m-=a),n!==null||r!==null){Jn.value=" ";var p=Jn.scrollHeight-a;n!==null&&(c=p*n,s==="border-box"&&(c=c+a+i),m=Math.max(c,m)),r!==null&&(d=p*r,s==="border-box"&&(d=d+a+i),f=m>d?"":"hidden",m=Math.min(d,m))}var h={height:m,overflowY:f,resize:"none"};return c&&(h.minHeight=c),d&&(h.maxHeight=d),h}var ZT=["prefixCls","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],fm=0,mm=1,pm=2,QT=u.forwardRef(function(e,t){var n=e,r=n.prefixCls,o=n.defaultValue,a=n.value,i=n.autoSize,s=n.onResize,l=n.className,c=n.style,d=n.disabled,f=n.onChange,m=n.onInternalAutoSize,p=Qe(n,ZT),h=sn(o,{value:a,postState:function(V){return V??""}}),v=Q(h,2),g=v[0],b=v[1],y=function(V){b(V.target.value),f==null||f(V)},x=u.useRef();u.useImperativeHandle(t,function(){return{textArea:x.current}});var C=u.useMemo(function(){return i&&Ae(i)==="object"?[i.minRows,i.maxRows]:[]},[i]),S=Q(C,2),$=S[0],k=S[1],E=!!i,I=u.useState(pm),N=Q(I,2),P=N[0],T=N[1],j=u.useState(),_=Q(j,2),M=_[0],z=_[1],A=function(){T(fm),process.env.NODE_ENV==="test"&&(m==null||m())};It(function(){E&&A()},[a,$,k,E]),It(function(){if(P===fm)T(mm);else if(P===mm){var L=JT(x.current,!1,$,k);T(pm),z(L)}},[P]);var D=u.useRef(),W=function(){vt.cancel(D.current)},U=function(V){P===pm&&(s==null||s(V),i&&(W(),D.current=vt(function(){A()})))};u.useEffect(function(){return W},[]);var q=E?M:null,B=R(R({},c),q);return(P===fm||P===mm)&&(B.overflowY="hidden",B.overflowX="hidden"),u.createElement(_r,{onResize:U,disabled:!(i||s)},u.createElement("textarea",ge({},p,{ref:x,style:B,className:G(r,l,F({},"".concat(r,"-disabled"),d)),disabled:d,value:g,onChange:y})))}),ej=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","showCount","count","className","style","disabled","hidden","classNames","styles","onResize","onClear","onPressEnter","readOnly","autoSize","onKeyDown"],tj=w.forwardRef(function(e,t){var n,r=e.defaultValue,o=e.value,a=e.onFocus,i=e.onBlur,s=e.onChange,l=e.allowClear,c=e.maxLength,d=e.onCompositionStart,f=e.onCompositionEnd,m=e.suffix,p=e.prefixCls,h=p===void 0?"rc-textarea":p,v=e.showCount,g=e.count,b=e.className,y=e.style,x=e.disabled,C=e.hidden,S=e.classNames,$=e.styles,k=e.onResize,E=e.onClear,I=e.onPressEnter,N=e.readOnly,P=e.autoSize,T=e.onKeyDown,j=Qe(e,ej),_=sn(r,{value:o,defaultValue:r}),M=Q(_,2),z=M[0],A=M[1],D=z==null?"":String(z),W=w.useState(!1),U=Q(W,2),q=U[0],B=U[1],L=w.useRef(!1),V=w.useState(null),H=Q(V,2),X=H[0],ie=H[1],K=w.useRef(null),ee=w.useRef(null),te=function(){var Ee;return(Ee=ee.current)===null||Ee===void 0?void 0:Ee.textArea},Y=function(){te().focus()};w.useImperativeHandle(t,function(){var Ne;return{resizableTextArea:ee.current,focus:Y,blur:function(){te().blur()},nativeElement:((Ne=K.current)===null||Ne===void 0?void 0:Ne.nativeElement)||te()}}),w.useEffect(function(){B(function(Ne){return!x&&Ne})},[x]);var J=w.useState(null),ae=Q(J,2),Z=ae[0],oe=ae[1];w.useEffect(function(){if(Z){var Ne;(Ne=te()).setSelectionRange.apply(Ne,ve(Z))}},[Z]);var re=D1(g,v),ce=(n=re.max)!==null&&n!==void 0?n:c,se=Number(ce)>0,ue=re.strategy(D),he=!!ce&&ue>ce,de=function(Ee,Be){var Xe=Be;!L.current&&re.exceedFormatter&&re.max&&re.strategy(Be)>re.max&&(Xe=re.exceedFormatter(Be,{max:re.max}),Be!==Xe&&oe([te().selectionStart||0,te().selectionEnd||0])),A(Xe),rc(Ee.currentTarget,Ee,s,Xe)},ye=function(Ee){L.current=!0,d==null||d(Ee)},be=function(Ee){L.current=!1,de(Ee,Ee.currentTarget.value),f==null||f(Ee)},le=function(Ee){de(Ee,Ee.target.value)},Ce=function(Ee){Ee.key==="Enter"&&I&&I(Ee),T==null||T(Ee)},Le=function(Ee){B(!0),a==null||a(Ee)},We=function(Ee){B(!1),i==null||i(Ee)},Me=function(Ee){A(""),Y(),rc(te(),Ee,s)},we=m,Re;re.show&&(re.showFormatter?Re=re.showFormatter({value:D,count:ue,maxLength:ce}):Re="".concat(ue).concat(se?" / ".concat(ce):""),we=w.createElement(w.Fragment,null,we,w.createElement("span",{className:G("".concat(h,"-data-count"),S==null?void 0:S.count),style:$==null?void 0:$.count},Re)));var fe=function(Ee){var Be;k==null||k(Ee),(Be=te())!==null&&Be!==void 0&&Be.style.height&&ie(!0)},qe=!P&&!v&&!l;return w.createElement(im,{ref:K,value:D,allowClear:l,handleReset:Me,suffix:we,prefixCls:h,classNames:R(R({},S),{},{affixWrapper:G(S==null?void 0:S.affixWrapper,F(F({},"".concat(h,"-show-count"),v),"".concat(h,"-textarea-allow-clear"),l))}),disabled:x,focused:q,className:G(b,he&&"".concat(h,"-out-of-range")),style:R(R({},y),X&&!qe?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof Re=="string"?Re:void 0}},hidden:C,readOnly:N,onClear:E},w.createElement(QT,ge({},j,{autoSize:P,maxLength:c,onKeyDown:Ce,onChange:le,onFocus:Le,onBlur:We,onCompositionStart:ye,onCompositionEnd:be,className:G(S==null?void 0:S.textarea),style:R(R({},$==null?void 0:$.textarea),{},{resize:y==null?void 0:y.resize}),disabled:x,prefixCls:h,onResize:fe,ref:ee,readOnly:N})))});const nj=e=>{const{componentCls:t,paddingLG:n}=e,r=`${t}-textarea`;return{[`textarea${t}`]:{maxWidth:"100%",height:"auto",minHeight:e.controlHeight,lineHeight:e.lineHeight,verticalAlign:"bottom",transition:`all ${e.motionDurationSlow}`,resize:"vertical",[`&${t}-mouse-active`]:{transition:`all ${e.motionDurationSlow}, height 0s, width 0s`}},[`${t}-textarea-affix-wrapper-resize-dirty`]:{width:"auto"},[r]:{position:"relative","&-show-count":{[`${t}-data-count`]:{position:"absolute",bottom:e.calc(e.fontSize).mul(e.lineHeight).mul(-1).equal(),insetInlineEnd:0,color:e.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},[`
|
|
298
|
+
&-allow-clear > ${t},
|
|
299
|
+
&-affix-wrapper${r}-has-feedback ${t}
|
|
300
|
+
`]:{paddingInlineEnd:n},[`&-affix-wrapper${t}-affix-wrapper`]:{padding:0,[`> textarea${t}`]:{fontSize:"inherit",border:"none",outline:"none",background:"transparent",minHeight:e.calc(e.controlHeight).sub(e.calc(e.lineWidth).mul(2)).equal(),"&:focus":{boxShadow:"none !important"}},[`${t}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${t}-clear-icon`]:{position:"absolute",insetInlineEnd:e.paddingInline,insetBlockStart:e.paddingXS},[`${r}-suffix`]:{position:"absolute",top:0,insetInlineEnd:e.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}},[`&-affix-wrapper${t}-affix-wrapper-rtl`]:{[`${t}-suffix`]:{[`${t}-data-count`]:{direction:"ltr",insetInlineStart:0}}},[`&-affix-wrapper${t}-affix-wrapper-sm`]:{[`${t}-suffix`]:{[`${t}-clear-icon`]:{insetInlineEnd:e.paddingInlineSM}}}}}},rj=zt(["Input","TextArea"],e=>{const t=ft(e,rs(e));return nj(t)},os,{resetFont:!1});var oj=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const aj=w.forwardRef((e,t)=>{var n;const{prefixCls:r,bordered:o=!0,size:a,disabled:i,status:s,allowClear:l,classNames:c,rootClassName:d,className:f,style:m,styles:p,variant:h,showCount:v,onMouseDown:g,onResize:b}=e,y=oj(e,["prefixCls","bordered","size","disabled","status","allowClear","classNames","rootClassName","className","style","styles","variant","showCount","onMouseDown","onResize"]);if(process.env.NODE_ENV!=="production"){const{deprecated:re}=Et("TextArea");re(!("bordered"in e),"bordered","variant")}const{getPrefixCls:x,direction:C,allowClear:S,autoComplete:$,className:k,style:E,classNames:I,styles:N}=qn("textArea"),P=u.useContext(Un),T=i??P,{status:j,hasFeedback:_,feedbackIcon:M}=u.useContext(bn),z=Ui(j,s),A=u.useRef(null);u.useImperativeHandle(t,()=>{var re;return{resizableTextArea:(re=A.current)===null||re===void 0?void 0:re.resizableTextArea,focus:ce=>{var se,ue;am((ue=(se=A.current)===null||se===void 0?void 0:se.resizableTextArea)===null||ue===void 0?void 0:ue.textArea,ce)},blur:()=>{var ce;return(ce=A.current)===null||ce===void 0?void 0:ce.blur()}}});const D=x("input",r),W=ln(D),[U,q,B]=E1(D,d),[L]=rj(D,W),{compactSize:V,compactItemClassnames:H}=ho(D,C),X=Kn(re=>{var ce;return(ce=a??V)!==null&&ce!==void 0?ce:re}),[ie,K]=Fl("textArea",h,o),ee=W1(l??S),[te,Y]=u.useState(!1),[J,ae]=u.useState(!1),Z=re=>{Y(!0),g==null||g(re);const ce=()=>{Y(!1),document.removeEventListener("mouseup",ce)};document.addEventListener("mouseup",ce)},oe=re=>{var ce,se;if(b==null||b(re),te&&typeof getComputedStyle=="function"){const ue=(se=(ce=A.current)===null||ce===void 0?void 0:ce.nativeElement)===null||se===void 0?void 0:se.querySelector("textarea");ue&&getComputedStyle(ue).resize==="both"&&ae(!0)}};return U(L(u.createElement(tj,Object.assign({autoComplete:$},y,{style:Object.assign(Object.assign({},E),m),styles:Object.assign(Object.assign({},N),p),disabled:T,allowClear:ee,className:G(B,W,f,d,H,k,J&&`${D}-textarea-affix-wrapper-resize-dirty`),classNames:Object.assign(Object.assign(Object.assign({},c),I),{textarea:G({[`${D}-sm`]:X==="small",[`${D}-lg`]:X==="large"},q,c==null?void 0:c.textarea,I.textarea,te&&`${D}-mouse-active`),variant:G({[`${D}-${ie}`]:K},Wa(D,z)),affixWrapper:G(`${D}-textarea-affix-wrapper`,{[`${D}-affix-wrapper-rtl`]:C==="rtl",[`${D}-affix-wrapper-sm`]:X==="small",[`${D}-affix-wrapper-lg`]:X==="large",[`${D}-textarea-show-count`]:v||((n=e.count)===null||n===void 0?void 0:n.show)},q)}),prefixCls:D,suffix:_&&u.createElement("span",{className:`${D}-textarea-suffix`},M),showCount:v,ref:A,onResize:oe,onMouseDown:Z}))))}),Rt=is;Rt.Group=MT,Rt.Search=CC,Rt.TextArea=aj,Rt.Password=yC,Rt.OTP=BT;let dr=null,Zo=e=>e(),ss=[],ls={};function xC(){const{getContainer:e,duration:t,rtl:n,maxCount:r,top:o}=ls,a=(e==null?void 0:e())||document.body;return{getContainer:()=>a,duration:t,rtl:n,maxCount:r,top:o}}const ij=w.forwardRef((e,t)=>{const{messageConfig:n,sync:r}=e,{getPrefixCls:o}=w.useContext(Ue),a=ls.prefixCls||o("message"),i=w.useContext(vN),[s,l]=Tv(Object.assign(Object.assign(Object.assign({},n),{prefixCls:a}),i.message));return w.useImperativeHandle(t,()=>{const c=Object.assign({},s);return Object.keys(c).forEach(d=>{c[d]=(...f)=>(r(),s[d].apply(s,f))}),{instance:c,sync:r}}),l}),sj=w.forwardRef((e,t)=>{const[n,r]=w.useState(xC),o=()=>{r(xC)};w.useEffect(o,[]);const a=yd(),i=a.getRootPrefixCls(),s=a.getIconPrefixCls(),l=a.getTheme(),c=w.createElement(ij,{ref:t,sync:o,messageConfig:n});return w.createElement(ir,{prefixCls:i,iconPrefixCls:s,theme:l},a.holderRender?a.holderRender(c):c)}),sc=()=>{if(!dr){const e=document.createDocumentFragment(),t={fragment:e};dr=t,Zo(()=>{Id()(w.createElement(sj,{ref:r=>{const{instance:o,sync:a}=r||{};Promise.resolve().then(()=>{!t.instance&&o&&(t.instance=o,t.sync=a,sc())})}}),e)});return}dr.instance&&(ss.forEach(e=>{const{type:t,skipped:n}=e;if(!n)switch(t){case"open":{Zo(()=>{const r=dr.instance.open(Object.assign(Object.assign({},ls),e.config));r==null||r.then(e.resolve),e.setCloseFn(r)});break}case"destroy":Zo(()=>{dr==null||dr.instance.destroy(e.key)});break;default:Zo(()=>{var r;const o=(r=dr.instance)[t].apply(r,ve(e.args));o==null||o.then(e.resolve),e.setCloseFn(o)})}}),ss=[])};function lj(e){ls=Object.assign(Object.assign({},ls),e),Zo(()=>{var t;(t=dr==null?void 0:dr.sync)===null||t===void 0||t.call(dr)})}function cj(e){const t=Sd(n=>{let r;const o={type:"open",config:e,resolve:n,setCloseFn:a=>{r=a}};return ss.push(o),()=>{r?Zo(()=>{r()}):o.skipped=!0}});return sc(),t}function uj(e,t){const n=yd();process.env.NODE_ENV!=="production"&&!n.holderRender&&nv("message");const r=Sd(o=>{let a;const i={type:e,args:t,resolve:o,setCloseFn:s=>{a=s}};return ss.push(i),()=>{a?Zo(()=>{a()}):i.skipped=!0}});return sc(),r}const dj=e=>{ss.push({type:"destroy",key:e}),sc()},fj=["success","info","warning","error","loading"],$r={open:cj,destroy:dj,config:lj,useMessage:xO,_InternalPanelDoNotUseOrYouWillBeFired:mO};fj.forEach(e=>{$r[e]=(...t)=>uj(e,t)}),process.env.NODE_ENV,process.env.NODE_ENV;var mj=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const pj=ub(e=>{const{prefixCls:t,className:n,closeIcon:r,closable:o,type:a,title:i,children:s,footer:l}=e,c=mj(e,["prefixCls","className","closeIcon","closable","type","title","children","footer"]),{getPrefixCls:d}=u.useContext(Ue),f=d(),m=t||d("modal"),p=ln(f),[h,v,g]=Z0(m,p),b=`${m}-confirm`;let y={};return a?y={closable:o??!1,title:"",footer:"",children:u.createElement(eb,Object.assign({},e,{prefixCls:m,confirmPrefixCls:b,rootPrefixCls:f,content:s}))}:y={closable:o??!0,title:i,footer:l!==null&&u.createElement(G0,Object.assign({},e)),children:s},h(u.createElement(qd,Object.assign({prefixCls:m,className:G(v,`${m}-pure-panel`,a&&b,a&&`${b}-${a}`,n,g,p)},c,{closeIcon:U0(m,r),closable:o},y)))});function wC(e){return Vi(ob(e))}const fr=Q0;fr.useModal=hN,fr.info=function(t){return Vi(ab(t))},fr.success=function(t){return Vi(ib(t))},fr.error=function(t){return Vi(sb(t))},fr.warning=wC,fr.warn=wC,fr.confirm=function(t){return Vi(lb(t))},fr.destroyAll=function(){for(;Uo.length;){const t=Uo.pop();t&&t()}},fr.config=dN,fr._InternalPanelDoNotUseOrYouWillBeFired=pj,process.env.NODE_ENV!=="production"&&(fr.displayName="Modal");var gj=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],SC=u.forwardRef(function(e,t){var n,r=e.prefixCls,o=r===void 0?"rc-switch":r,a=e.className,i=e.checked,s=e.defaultChecked,l=e.disabled,c=e.loadingIcon,d=e.checkedChildren,f=e.unCheckedChildren,m=e.onClick,p=e.onChange,h=e.onKeyDown,v=Qe(e,gj),g=sn(!1,{value:i,defaultValue:s}),b=Q(g,2),y=b[0],x=b[1];function C(E,I){var N=y;return l||(N=E,x(N),p==null||p(N,I)),N}function S(E){E.which===De.LEFT?C(!1,E):E.which===De.RIGHT&&C(!0,E),h==null||h(E)}function $(E){var I=C(!y,E);m==null||m(I,E)}var k=G(o,a,(n={},F(n,"".concat(o,"-checked"),y),F(n,"".concat(o,"-disabled"),l),n));return u.createElement("button",ge({},v,{type:"button",role:"switch","aria-checked":y,disabled:l,className:k,ref:t,onKeyDown:S,onClick:$}),c,u.createElement("span",{className:"".concat(o,"-inner")},u.createElement("span",{className:"".concat(o,"-inner-checked")},d),u.createElement("span",{className:"".concat(o,"-inner-unchecked")},f)))});SC.displayName="Switch";const hj=e=>{const{componentCls:t,trackHeightSM:n,trackPadding:r,trackMinWidthSM:o,innerMinMarginSM:a,innerMaxMarginSM:i,handleSizeSM:s,calc:l}=e,c=`${t}-inner`,d=ne(l(s).add(l(r).mul(2)).equal()),f=ne(l(i).mul(2).equal());return{[t]:{[`&${t}-small`]:{minWidth:o,height:n,lineHeight:ne(n),[`${t}-inner`]:{paddingInlineStart:i,paddingInlineEnd:a,[`${c}-checked, ${c}-unchecked`]:{minHeight:n},[`${c}-checked`]:{marginInlineStart:`calc(-100% + ${d} - ${f})`,marginInlineEnd:`calc(100% - ${d} + ${f})`},[`${c}-unchecked`]:{marginTop:l(n).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`${t}-handle`]:{width:s,height:s},[`${t}-loading-icon`]:{top:l(l(s).sub(e.switchLoadingIconSize)).div(2).equal(),fontSize:e.switchLoadingIconSize},[`&${t}-checked`]:{[`${t}-inner`]:{paddingInlineStart:a,paddingInlineEnd:i,[`${c}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${c}-unchecked`]:{marginInlineStart:`calc(100% - ${d} + ${f})`,marginInlineEnd:`calc(-100% + ${d} - ${f})`}},[`${t}-handle`]:{insetInlineStart:`calc(100% - ${ne(l(s).add(r).equal())})`}},[`&:not(${t}-disabled):active`]:{[`&:not(${t}-checked) ${c}`]:{[`${c}-unchecked`]:{marginInlineStart:l(e.marginXXS).div(2).equal(),marginInlineEnd:l(e.marginXXS).mul(-1).div(2).equal()}},[`&${t}-checked ${c}`]:{[`${c}-checked`]:{marginInlineStart:l(e.marginXXS).mul(-1).div(2).equal(),marginInlineEnd:l(e.marginXXS).div(2).equal()}}}}}}},vj=e=>{const{componentCls:t,handleSize:n,calc:r}=e;return{[t]:{[`${t}-loading-icon${e.iconCls}`]:{position:"relative",top:r(r(n).sub(e.fontSize)).div(2).equal(),color:e.switchLoadingIconColor,verticalAlign:"top"},[`&${t}-checked ${t}-loading-icon`]:{color:e.switchColor}}}},bj=e=>{const{componentCls:t,trackPadding:n,handleBg:r,handleShadow:o,handleSize:a,calc:i}=e,s=`${t}-handle`;return{[t]:{[s]:{position:"absolute",top:n,insetInlineStart:n,width:a,height:a,transition:`all ${e.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:r,borderRadius:i(a).div(2).equal(),boxShadow:o,transition:`all ${e.switchDuration} ease-in-out`,content:'""'}},[`&${t}-checked ${s}`]:{insetInlineStart:`calc(100% - ${ne(i(a).add(n).equal())})`},[`&:not(${t}-disabled):active`]:{[`${s}::before`]:{insetInlineEnd:e.switchHandleActiveInset,insetInlineStart:0},[`&${t}-checked ${s}::before`]:{insetInlineEnd:0,insetInlineStart:e.switchHandleActiveInset}}}}},yj=e=>{const{componentCls:t,trackHeight:n,trackPadding:r,innerMinMargin:o,innerMaxMargin:a,handleSize:i,calc:s}=e,l=`${t}-inner`,c=ne(s(i).add(s(r).mul(2)).equal()),d=ne(s(a).mul(2).equal());return{[t]:{[l]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:a,paddingInlineEnd:o,transition:`padding-inline-start ${e.switchDuration} ease-in-out, padding-inline-end ${e.switchDuration} ease-in-out`,[`${l}-checked, ${l}-unchecked`]:{display:"block",color:e.colorTextLightSolid,fontSize:e.fontSizeSM,transition:`margin-inline-start ${e.switchDuration} ease-in-out, margin-inline-end ${e.switchDuration} ease-in-out`,pointerEvents:"none",minHeight:n},[`${l}-checked`]:{marginInlineStart:`calc(-100% + ${c} - ${d})`,marginInlineEnd:`calc(100% - ${c} + ${d})`},[`${l}-unchecked`]:{marginTop:s(n).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`&${t}-checked ${l}`]:{paddingInlineStart:o,paddingInlineEnd:a,[`${l}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${l}-unchecked`]:{marginInlineStart:`calc(100% - ${c} + ${d})`,marginInlineEnd:`calc(-100% + ${c} - ${d})`}},[`&:not(${t}-disabled):active`]:{[`&:not(${t}-checked) ${l}`]:{[`${l}-unchecked`]:{marginInlineStart:s(r).mul(2).equal(),marginInlineEnd:s(r).mul(-1).mul(2).equal()}},[`&${t}-checked ${l}`]:{[`${l}-checked`]:{marginInlineStart:s(r).mul(-1).mul(2).equal(),marginInlineEnd:s(r).mul(2).equal()}}}}}},Cj=e=>{const{componentCls:t,trackHeight:n,trackMinWidth:r}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},qt(e)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:r,height:n,lineHeight:ne(n),verticalAlign:"middle",background:e.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${e.motionDurationMid}`,userSelect:"none",[`&:hover:not(${t}-disabled)`]:{background:e.colorTextTertiary}}),Ea(e)),{[`&${t}-checked`]:{background:e.switchColor,[`&:hover:not(${t}-disabled)`]:{background:e.colorPrimaryHover}},[`&${t}-loading, &${t}-disabled`]:{cursor:"not-allowed",opacity:e.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${t}-rtl`]:{direction:"rtl"}})}},xj=zt("Switch",e=>{const t=ft(e,{switchDuration:e.motionDurationMid,switchColor:e.colorPrimary,switchDisabledOpacity:e.opacityLoading,switchLoadingIconSize:e.calc(e.fontSizeIcon).mul(.75).equal(),switchLoadingIconColor:`rgba(0, 0, 0, ${e.opacityLoading})`,switchHandleActiveInset:"-30%"});return[Cj(t),yj(t),bj(t),vj(t),hj(t)]},e=>{const{fontSize:t,lineHeight:n,controlHeight:r,colorWhite:o}=e,a=t*n,i=r/2,s=2,l=a-s*2,c=i-s*2;return{trackHeight:a,trackHeightSM:i,trackMinWidth:l*2+s*4,trackMinWidthSM:c*2+s*2,trackPadding:s,handleBg:o,handleSize:l,handleSizeSM:c,handleShadow:`0 2px 4px 0 ${new $t("#00230b").setA(.2).toRgbString()}`,innerMinMargin:l/2,innerMaxMargin:l+s+s*2,innerMinMarginSM:c/2,innerMaxMarginSM:c+s+s*2}});var wj=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const cs=u.forwardRef((e,t)=>{const{prefixCls:n,size:r,disabled:o,loading:a,className:i,rootClassName:s,style:l,checked:c,value:d,defaultChecked:f,defaultValue:m,onChange:p}=e,h=wj(e,["prefixCls","size","disabled","loading","className","rootClassName","style","checked","value","defaultChecked","defaultValue","onChange"]),[v,g]=sn(!1,{value:c??d,defaultValue:f??m}),{getPrefixCls:b,direction:y,switch:x}=u.useContext(Ue),C=u.useContext(Un),S=(o??C)||a,$=b("switch",n),k=u.createElement("div",{className:`${$}-handle`},a&&u.createElement(Na,{className:`${$}-loading-icon`})),[E,I,N]=xj($),P=Kn(r),T=G(x==null?void 0:x.className,{[`${$}-small`]:P==="small",[`${$}-loading`]:a,[`${$}-rtl`]:y==="rtl"},i,s,I,N),j=Object.assign(Object.assign({},x==null?void 0:x.style),l),_=(...M)=>{g(M[0]),p==null||p.apply(void 0,M)};return E(u.createElement(_i,{component:"Switch",disabled:S},u.createElement(SC,Object.assign({},h,{checked:v,onChange:_,prefixCls:$,className:T,style:j,disabled:S,ref:t,loadingIcon:k}))))});cs.__ANT_SWITCH=!0,process.env.NODE_ENV!=="production"&&(cs.displayName="Switch");const mr=(e,t)=>new $t(e).setA(t).toRgbString(),Za=(e,t)=>new $t(e).lighten(t).toHexString(),Sj=e=>{const t=Ro(e,{theme:"dark"});return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[6],6:t[5],7:t[4],8:t[6],9:t[5],10:t[4]}},Ej=(e,t)=>{const n=e||"#000",r=t||"#fff";return{colorBgBase:n,colorTextBase:r,colorText:mr(r,.85),colorTextSecondary:mr(r,.65),colorTextTertiary:mr(r,.45),colorTextQuaternary:mr(r,.25),colorFill:mr(r,.18),colorFillSecondary:mr(r,.12),colorFillTertiary:mr(r,.08),colorFillQuaternary:mr(r,.04),colorBgSolid:mr(r,.95),colorBgSolidHover:mr(r,1),colorBgSolidActive:mr(r,.9),colorBgElevated:Za(n,12),colorBgContainer:Za(n,8),colorBgLayout:Za(n,0),colorBgSpotlight:Za(n,26),colorBgBlur:mr(r,.04),colorBorder:Za(n,26),colorBorderSecondary:Za(n,19)}},$j=(e,t)=>{const n=Object.keys(Vu).map(a=>{const i=Ro(e[a],{theme:"dark"});return Array.from({length:10},()=>1).reduce((s,l,c)=>(s[`${a}-${c+1}`]=i[c],s[`${a}${c+1}`]=i[c],s),{})}).reduce((a,i)=>(a=Object.assign(Object.assign({},a),i),a),{}),r=t??od(e),o=xh(e,{generateColorPalettes:Sj,generateNeutralColorPalettes:Ej});return Object.assign(Object.assign(Object.assign(Object.assign({},r),n),o),{colorPrimaryBg:o.colorPrimaryBorder,colorPrimaryBgHover:o.colorPrimaryBorderHover})},EC={defaultSeed:el.token,defaultAlgorithm:od,darkAlgorithm:$j};var kj={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},Oj=function(t,n){return u.createElement(Nt,ge({},t,{ref:n,icon:kj}))},gm=u.forwardRef(Oj);process.env.NODE_ENV!=="production"&&(gm.displayName="DeleteOutlined");var Ij={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z"}}]},name:"edit",theme:"outlined"},Nj=function(t,n){return u.createElement(Nt,ge({},t,{ref:n,icon:Ij}))},hm=u.forwardRef(Nj);process.env.NODE_ENV!=="production"&&(hm.displayName="EditOutlined");function Pj(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var _j=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Tj=Pj(function(e){return _j.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),Ut="-ms-",us="-moz-",Pt="-webkit-",$C="comm",lc="rule",vm="decl",jj="@import",Mj="@namespace",kC="@keyframes",zj="@layer",OC=Math.abs,bm=String.fromCharCode,ym=Object.assign;function Aj(e,t){return dn(e,0)^45?(((t<<2^dn(e,0))<<2^dn(e,1))<<2^dn(e,2))<<2^dn(e,3):0}function IC(e){return e.trim()}function to(e,t){return(e=t.exec(e))?e[0]:e}function st(e,t,n){return e.replace(t,n)}function cc(e,t,n){return e.indexOf(t,n)}function dn(e,t){return e.charCodeAt(t)|0}function Qo(e,t,n){return e.slice(t,n)}function kr(e){return e.length}function NC(e){return e.length}function ds(e,t){return t.push(e),e}function Dj(e,t){return e.map(t).join("")}function PC(e,t){return e.filter(function(n){return!to(n,t)})}var uc=1,Qa=1,_C=0,pr=0,an=0,ei="";function dc(e,t,n,r,o,a,i,s){return{value:e,root:t,parent:n,type:r,props:o,children:a,line:uc,column:Qa,length:i,return:"",siblings:s}}function So(e,t){return ym(dc("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function ti(e){for(;e.root;)e=So(e.root,{children:[e]});ds(e,e.siblings)}function Lj(){return an}function Fj(){return an=pr>0?dn(ei,--pr):0,Qa--,an===10&&(Qa=1,uc--),an}function Or(){return an=pr<_C?dn(ei,pr++):0,Qa++,an===10&&(Qa=1,uc++),an}function Eo(){return dn(ei,pr)}function fc(){return pr}function mc(e,t){return Qo(ei,e,t)}function fs(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Rj(e){return uc=Qa=1,_C=kr(ei=e),pr=0,[]}function Bj(e){return ei="",e}function Cm(e){return IC(mc(pr-1,xm(e===91?e+2:e===40?e+1:e)))}function Vj(e){for(;(an=Eo())&&an<33;)Or();return fs(e)>2||fs(an)>3?"":" "}function Hj(e,t){for(;--t&&Or()&&!(an<48||an>102||an>57&&an<65||an>70&&an<97););return mc(e,fc()+(t<6&&Eo()==32&&Or()==32))}function xm(e){for(;Or();)switch(an){case e:return pr;case 34:case 39:e!==34&&e!==39&&xm(an);break;case 40:e===41&&xm(e);break;case 92:Or();break}return pr}function Wj(e,t){for(;Or()&&e+an!==57;)if(e+an===84&&Eo()===47)break;return"/*"+mc(t,pr-1)+"*"+bm(e===47?e:Or())}function qj(e){for(;!fs(Eo());)Or();return mc(e,pr)}function Uj(e){return Bj(pc("",null,null,null,[""],e=Rj(e),0,[0],e))}function pc(e,t,n,r,o,a,i,s,l){for(var c=0,d=0,f=i,m=0,p=0,h=0,v=1,g=1,b=1,y=0,x="",C=o,S=a,$=r,k=x;g;)switch(h=y,y=Or()){case 40:if(h!=108&&dn(k,f-1)==58){cc(k+=st(Cm(y),"&","&\f"),"&\f",OC(c?s[c-1]:0))!=-1&&(b=-1);break}case 34:case 39:case 91:k+=Cm(y);break;case 9:case 10:case 13:case 32:k+=Vj(h);break;case 92:k+=Hj(fc()-1,7);continue;case 47:switch(Eo()){case 42:case 47:ds(Gj(Wj(Or(),fc()),t,n,l),l),(fs(h||1)==5||fs(Eo()||1)==5)&&kr(k)&&Qo(k,-1,void 0)!==" "&&(k+=" ");break;default:k+="/"}break;case 123*v:s[c++]=kr(k)*b;case 125*v:case 59:case 0:switch(y){case 0:case 125:g=0;case 59+d:b==-1&&(k=st(k,/\f/g,"")),p>0&&(kr(k)-f||v===0&&h===47)&&ds(p>32?jC(k+";",r,n,f-1,l):jC(st(k," ","")+";",r,n,f-2,l),l);break;case 59:k+=";";default:if(ds($=TC(k,t,n,c,d,o,s,x,C=[],S=[],f,a),a),y===123)if(d===0)pc(k,t,$,$,C,a,f,s,S);else{switch(m){case 99:if(dn(k,3)===110)break;case 108:if(dn(k,2)===97)break;default:d=0;case 100:case 109:case 115:}d?pc(e,$,$,r&&ds(TC(e,$,$,0,0,o,s,x,o,C=[],f,S),S),o,S,f,s,r?C:S):pc(k,$,$,$,[""],S,0,s,S)}}c=d=p=0,v=b=1,x=k="",f=i;break;case 58:f=1+kr(k),p=h;default:if(v<1){if(y==123)--v;else if(y==125&&v++==0&&Fj()==125)continue}switch(k+=bm(y),y*v){case 38:b=d>0?1:(k+="\f",-1);break;case 44:s[c++]=(kr(k)-1)*b,b=1;break;case 64:Eo()===45&&(k+=Cm(Or())),m=Eo(),d=f=kr(x=k+=qj(fc())),y++;break;case 45:h===45&&kr(k)==2&&(v=0)}}return a}function TC(e,t,n,r,o,a,i,s,l,c,d,f){for(var m=o-1,p=o===0?a:[""],h=NC(p),v=0,g=0,b=0;v<r;++v)for(var y=0,x=Qo(e,m+1,m=OC(g=i[v])),C=e;y<h;++y)(C=IC(g>0?p[y]+" "+x:st(x,/&\f/g,p[y])))&&(l[b++]=C);return dc(e,t,n,o===0?lc:s,l,c,d,f)}function Gj(e,t,n,r){return dc(e,t,n,$C,bm(Lj()),Qo(e,2,-2),0,r)}function jC(e,t,n,r,o){return dc(e,t,n,vm,Qo(e,0,r),Qo(e,r+1,-1),r,o)}function MC(e,t,n){switch(Aj(e,t)){case 5103:return Pt+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:case 6391:case 5879:case 5623:case 6135:case 4599:return Pt+e+e;case 4855:return Pt+e.replace("add","source-over").replace("substract","source-out").replace("intersect","source-in").replace("exclude","xor")+e;case 4789:return us+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Pt+e+us+e+Ut+e+e;case 5936:switch(dn(e,t+11)){case 114:return Pt+e+Ut+st(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Pt+e+Ut+st(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Pt+e+Ut+st(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return Pt+e+Ut+e+e;case 6165:return Pt+e+Ut+"flex-"+e+e;case 5187:return Pt+e+st(e,/(\w+).+(:[^]+)/,Pt+"box-$1$2"+Ut+"flex-$1$2")+e;case 5443:return Pt+e+Ut+"flex-item-"+st(e,/flex-|-self/g,"")+(to(e,/flex-|baseline/)?"":Ut+"grid-row-"+st(e,/flex-|-self/g,""))+e;case 4675:return Pt+e+Ut+"flex-line-pack"+st(e,/align-content|flex-|-self/g,"")+e;case 5548:return Pt+e+Ut+st(e,"shrink","negative")+e;case 5292:return Pt+e+Ut+st(e,"basis","preferred-size")+e;case 6060:return Pt+"box-"+st(e,"-grow","")+Pt+e+Ut+st(e,"grow","positive")+e;case 4554:return Pt+st(e,/([^-])(transform)/g,"$1"+Pt+"$2")+e;case 6187:return st(st(st(e,/(zoom-|grab)/,Pt+"$1"),/(image-set)/,Pt+"$1"),e,"")+e;case 5495:case 3959:return st(e,/(image-set\([^]*)/,Pt+"$1$`$1");case 4968:return st(st(e,/(.+:)(flex-)?(.*)/,Pt+"box-pack:$3"+Ut+"flex-pack:$3"),/space-between/,"justify")+Pt+e+e;case 4200:if(!to(e,/flex-|baseline/))return Ut+"grid-column-align"+Qo(e,t)+e;break;case 2592:case 3360:return Ut+st(e,"template-","")+e;case 4384:case 3616:return n&&n.some(function(r,o){return t=o,to(r.props,/grid-\w+-end/)})?~cc(e+(n=n[t].value),"span",0)?e:Ut+st(e,"-start","")+e+Ut+"grid-row-span:"+(~cc(n,"span",0)?to(n,/\d+/):+to(n,/\d+/)-+to(e,/\d+/))+";":Ut+st(e,"-start","")+e;case 4896:case 4128:return n&&n.some(function(r){return to(r.props,/grid-\w+-start/)})?e:Ut+st(st(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return st(e,/(.+)-inline(.+)/,Pt+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(kr(e)-1-t>6)switch(dn(e,t+1)){case 109:if(dn(e,t+4)!==45)break;case 102:return st(e,/(.+:)(.+)-([^]+)/,"$1"+Pt+"$2-$3$1"+us+(dn(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~cc(e,"stretch",0)?MC(st(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return st(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(r,o,a,i,s,l,c){return Ut+o+":"+a+c+(i?Ut+o+"-span:"+(s?l:+l-+a)+c:"")+e});case 4949:if(dn(e,t+6)===121)return st(e,":",":"+Pt)+e;break;case 6444:switch(dn(e,dn(e,14)===45?18:11)){case 120:return st(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+Pt+(dn(e,14)===45?"inline-":"")+"box$3$1"+Pt+"$2$3$1"+Ut+"$2box$3")+e;case 100:return st(e,":",":"+Ut)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return st(e,"scroll-","scroll-snap-")+e}return e}function gc(e,t){for(var n="",r=0;r<e.length;r++)n+=t(e[r],r,e,t)||"";return n}function Kj(e,t,n,r){switch(e.type){case zj:if(e.children.length)break;case jj:case Mj:case vm:return e.return=e.return||e.value;case $C:return"";case kC:return e.return=e.value+"{"+gc(e.children,r)+"}";case lc:if(!kr(e.value=e.props.join(",")))return""}return kr(n=gc(e.children,r))?e.return=e.value+"{"+n+"}":""}function Xj(e){var t=NC(e);return function(n,r,o,a){for(var i="",s=0;s<t;s++)i+=e[s](n,r,o,a)||"";return i}}function Yj(e){return function(t){t.root||(t=t.return)&&e(t)}}function Jj(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case vm:e.return=MC(e.value,e.length,n);return;case kC:return gc([So(e,{value:st(e.value,"@","@"+Pt)})],r);case lc:if(e.length)return Dj(n=e.props,function(o){switch(to(o,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":ti(So(e,{props:[st(o,/:(read-\w+)/,":"+us+"$1")]})),ti(So(e,{props:[o]})),ym(e,{props:PC(n,r)});break;case"::placeholder":ti(So(e,{props:[st(o,/:(plac\w+)/,":"+Pt+"input-$1")]})),ti(So(e,{props:[st(o,/:(plac\w+)/,":"+us+"$1")]})),ti(So(e,{props:[st(o,/:(plac\w+)/,Ut+"input-$1")]})),ti(So(e,{props:[o]})),ym(e,{props:PC(n,r)});break}return""})}}var wm,Sm;const ea=typeof process<"u"&&process.env!==void 0&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",zC="active",AC="data-styled-version",hc="6.4.0",Em=`/*!sc*/
|
|
301
|
+
`,ms=typeof window<"u"&&typeof document<"u";function DC(e){if(typeof process<"u"&&process.env!==void 0){const t=process.env[e];if(t!==void 0&&t!=="")return t!=="false"}}const Zj=!!(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:(Sm=(wm=DC("REACT_APP_SC_DISABLE_SPEEDY"))!==null&&wm!==void 0?wm:DC("SC_DISABLE_SPEEDY"))!==null&&Sm!==void 0?Sm:typeof process>"u"||process.env===void 0||process.env.NODE_ENV!=="production"),Qj="sc-keyframes-",eM=process.env.NODE_ENV!=="production"?{1:`Cannot create styled-component for component: %s.
|
|
302
|
+
|
|
303
|
+
`,2:`Can't collect styles once you've consumed a \`ServerStyleSheet\`'s styles! \`ServerStyleSheet\` is a one off instance for each server-side render cycle.
|
|
304
|
+
|
|
305
|
+
- Are you trying to reuse it across renders?
|
|
306
|
+
- Are you accidentally calling collectStyles twice?
|
|
307
|
+
|
|
308
|
+
`,3:`Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.
|
|
309
|
+
|
|
310
|
+
`,4:`The \`StyleSheetManager\` expects a valid target or sheet prop!
|
|
311
|
+
|
|
312
|
+
- Does this error occur on the client and is your target falsy?
|
|
313
|
+
- Does this error occur on the server and is the sheet falsy?
|
|
314
|
+
|
|
315
|
+
`,5:`The clone method cannot be used on the client!
|
|
316
|
+
|
|
317
|
+
- Are you running in a client-like environment on the server?
|
|
318
|
+
- Are you trying to run SSR on the client?
|
|
319
|
+
|
|
320
|
+
`,6:`Trying to insert a new style tag, but the given Node is unmounted!
|
|
321
|
+
|
|
322
|
+
- Are you using a custom target that isn't mounted?
|
|
323
|
+
- Does your document not have a valid head element?
|
|
324
|
+
- Have you accidentally removed a style tag manually?
|
|
325
|
+
|
|
326
|
+
`,7:'ThemeProvider: Please return an object from your "theme" prop function, e.g.\n\n```js\ntheme={() => ({})}\n```\n\n',8:`ThemeProvider: Please make your "theme" prop an object.
|
|
327
|
+
|
|
328
|
+
`,9:"Missing document `<head>`\n\n",10:`Cannot find a StyleSheet instance. Usually this happens if there are multiple copies of styled-components loaded at once. Check out this issue for how to troubleshoot and fix the common cases where this situation can happen: https://github.com/styled-components/styled-components/issues/1941#issuecomment-417862021
|
|
329
|
+
|
|
330
|
+
`,11:`_This error was replaced with a dev-time warning, it will be deleted for v4 final._ [createGlobalStyle] received children which will not be rendered. Please use the component without passing children elements.
|
|
331
|
+
|
|
332
|
+
`,12:"It seems you are interpolating a keyframe declaration (%s) into an untagged string. This was supported in styled-components v3, but is not longer supported in v4 as keyframes are now injected on-demand. Please wrap your string in the css\\`\\` helper which ensures the styles are injected correctly. See https://www.styled-components.com/docs/api#css\n\n",13:`%s is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.
|
|
333
|
+
|
|
334
|
+
`,14:`ThemeProvider: "theme" prop is required.
|
|
335
|
+
|
|
336
|
+
`,15:"A stylis plugin has been supplied that is not named. We need a name for each plugin to be able to prevent styling collisions between different stylis configurations within the same app. Before you pass your plugin to `<StyleSheetManager stylisPlugins={[]}>`, please make sure each plugin is uniquely-named, e.g.\n\n```js\nObject.defineProperty(importedPlugin, 'name', { value: 'some-unique-name' });\n```\n\n",16:`Reached the limit of how many styled components may be created at group %s.
|
|
337
|
+
You may only create up to 1,073,741,824 components. If you're creating components dynamically,
|
|
338
|
+
as for instance in your render method then you may be running into this limitation.
|
|
339
|
+
|
|
340
|
+
`,17:`CSSStyleSheet could not be found on HTMLStyleElement.
|
|
341
|
+
Has styled-components' style tag been unmounted or altered by another script?
|
|
342
|
+
`,18:"ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`"}:{};function $o(e,...t){return process.env.NODE_ENV==="production"?new Error(`An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#${e} for more information.${t.length>0?` Args: ${t.join(", ")}`:""}`):new Error((function(...n){let r=n[0];const o=[];for(let a=1,i=n.length;a<i;a+=1)o.push(n[a]);return o.forEach(a=>{r=r.replace(/%[a-z]/,a)}),r})(eM[e],...t).trim())}const tM=1<<30;let vc=new Map,bc=new Map,yc=1;const Cc=e=>{if(vc.has(e))return vc.get(e);for(;bc.has(yc);)yc++;const t=yc++;if(process.env.NODE_ENV!=="production"&&((0|t)<0||t>tM))throw $o(16,`${t}`);return vc.set(e,t),bc.set(t,e),t},nM=e=>bc.get(e),rM=(e,t)=>{yc=t+1,vc.set(e,t),bc.set(t,e)},LC=/invalid hook call/i,xc=new Set,oM=(e,t)=>{if(process.env.NODE_ENV!=="production"){const n=`The component ${e}${t?` with the id of "${t}"`:""} has been created dynamically.
|
|
343
|
+
You may see this warning because you've called styled inside another component.
|
|
344
|
+
To resolve this only create new StyledComponents outside of any render method and function component.
|
|
345
|
+
See https://styled-components.com/docs/basics#define-styled-components-outside-of-the-render-method for more info.
|
|
346
|
+
`,r=console.error;try{let o=!0;console.error=(a,...i)=>{LC.test(a)?(o=!1,xc.delete(n)):r(a,...i)},typeof w.useState=="function"&&w.useState(null),o&&!xc.has(n)&&(console.warn(n),xc.add(n))}catch(o){LC.test(o.message)&&xc.delete(n)}finally{console.error=r}}},$m=Object.freeze([]),ni=Object.freeze({});function aM(e,t,n=ni){return e.theme!==n.theme&&e.theme||t||n.theme}const iM=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,sM=/(^-|-$)/g;function FC(e){return e.replace(iM,"-").replace(sM,"")}const lM=/(a)(d)/gi,RC=e=>String.fromCharCode(e+(e>25?39:97));function BC(e){let t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=RC(t%52)+n;return(RC(t%52)+n).replace(lM,"$1-$2")}const km=5381,ta=(e,t)=>{let n=t.length;for(;n;)e=33*e^t.charCodeAt(--n);return e},VC=e=>ta(km,e);function cM(e){return BC(VC(e)>>>0)}function Om(e){return process.env.NODE_ENV!=="production"&&typeof e=="string"&&e||e.displayName||e.name||"Component"}function wc(e){return typeof e=="string"&&(process.env.NODE_ENV==="production"||e.charAt(0)===e.charAt(0).toLowerCase())}function uM(e){return wc(e)?`styled.${e}`:`Styled(${Om(e)})`}const HC=Symbol.for("react.memo"),dM=Symbol.for("react.forward_ref"),fM={contextType:!0,defaultProps:!0,displayName:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,propTypes:!0,type:!0},mM={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},WC={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},pM={[dM]:{$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},[HC]:WC};function qC(e){return("type"in(t=e)&&t.type.$$typeof)===HC?WC:"$$typeof"in e?pM[e.$$typeof]:fM;var t}const gM=Object.defineProperty,hM=Object.getOwnPropertyNames,vM=Object.getOwnPropertySymbols,bM=Object.getOwnPropertyDescriptor,yM=Object.getPrototypeOf,CM=Object.prototype;function UC(e,t,n){if(typeof t!="string"){const r=yM(t);r&&r!==CM&&UC(e,r,n);const o=hM(t).concat(vM(t)),a=qC(e),i=qC(t);for(let s=0;s<o.length;++s){const l=o[s];if(!(l in mM||n&&n[l]||i&&l in i||a&&l in a)){const c=bM(t,l);try{gM(e,l,c)}catch{}}}}return e}function ps(e){return typeof e=="function"}function GC(e){return typeof e=="object"&&"styledComponentId"in e}function gs(e,t){return e&&t?e+" "+t:e||t||""}function KC(e,t){return e.join("")}function na(e){return e!==null&&typeof e=="object"&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function Im(e,t,n=!1){if(!n&&!na(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(let r=0;r<t.length;r++)e[r]=Im(e[r],t[r]);else if(na(t))for(const r in t)e[r]=Im(e[r],t[r]);return e}function XC(e,t){Object.defineProperty(e,"toString",{value:t})}const xM=class{constructor(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e,this._cGroup=0,this._cIndex=0}indexOfGroup(e){if(e===this._cGroup)return this._cIndex;let t=this._cIndex;if(e>this._cGroup)for(let n=this._cGroup;n<e;n++)t+=this.groupSizes[n];else for(let n=this._cGroup-1;n>=e;n--)t-=this.groupSizes[n];return this._cGroup=e,this._cIndex=t,t}insertRules(e,t){if(e>=this.groupSizes.length){const o=this.groupSizes,a=o.length;let i=a;for(;e>=i;)if(i<<=1,i<0)throw $o(16,`${e}`);this.groupSizes=new Uint32Array(i),this.groupSizes.set(o),this.length=i;for(let s=a;s<i;s++)this.groupSizes[s]=0}let n=this.indexOfGroup(e+1),r=0;for(let o=0,a=t.length;o<a;o++)this.tag.insertRule(n,t[o])&&(this.groupSizes[e]++,n++,r++);r>0&&this._cGroup>e&&(this._cIndex+=r)}clearGroup(e){if(e<this.length){const t=this.groupSizes[e],n=this.indexOfGroup(e),r=n+t;this.groupSizes[e]=0;for(let o=n;o<r;o++)this.tag.deleteRule(n);t>0&&this._cGroup>e&&(this._cIndex-=t)}}getGroup(e){let t="";if(e>=this.length||this.groupSizes[e]===0)return t;const n=this.groupSizes[e],r=this.indexOfGroup(e),o=r+n;for(let a=r;a<o;a++)t+=this.tag.getRule(a)+Em;return t}},wM=`style[${ea}][${AC}="${hc}"]`,SM=new RegExp(`^${ea}\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)`),YC=e=>typeof ShadowRoot<"u"&&e instanceof ShadowRoot||"host"in e&&e.nodeType===11,Nm=e=>{if(!e)return document;if(YC(e))return e;if("getRootNode"in e){const t=e.getRootNode();if(YC(t))return t}return document},EM=(e,t,n)=>{const r=n.split(",");let o;for(let a=0,i=r.length;a<i;a++)(o=r[a])&&e.registerName(t,o)},$M=(e,t)=>{var n;const r=((n=t.textContent)!==null&&n!==void 0?n:"").split(Em),o=[];for(let a=0,i=r.length;a<i;a++){const s=r[a].trim();if(!s)continue;const l=s.match(SM);if(l){const c=0|parseInt(l[1],10),d=l[2];c!==0&&(rM(d,c),EM(e,d,l[3]),e.getTag().insertRules(c,o)),o.length=0}else o.push(s)}},Pm=e=>{const t=Nm(e.options.target).querySelectorAll(wM);for(let n=0,r=t.length;n<r;n++){const o=t[n];o&&o.getAttribute(ea)!==zC&&($M(e,o),o.parentNode&&o.parentNode.removeChild(o))}};let hs=!1;function kM(){if(hs!==!1)return hs;if(typeof document<"u"){const e=document.head.querySelector('meta[property="csp-nonce"]');if(e)return hs=e.nonce||e.getAttribute("content")||void 0;const t=document.head.querySelector('meta[name="sc-nonce"]');if(t)return hs=t.getAttribute("content")||void 0}return hs=typeof __webpack_nonce__<"u"?__webpack_nonce__:void 0}const JC=(e,t)=>{const n=document.head,r=e||n,o=document.createElement("style"),a=(l=>{const c=Array.from(l.querySelectorAll(`style[${ea}]`));return c[c.length-1]})(r),i=a!==void 0?a.nextSibling:null;o.setAttribute(ea,zC),o.setAttribute(AC,hc);const s=t||kM();return s&&o.setAttribute("nonce",s),r.insertBefore(o,i),o},OM=class{constructor(e,t){this.element=JC(e,t),this.element.appendChild(document.createTextNode("")),this.sheet=(n=>{var r;if(n.sheet)return n.sheet;const o=(r=n.getRootNode().styleSheets)!==null&&r!==void 0?r:document.styleSheets;for(let a=0,i=o.length;a<i;a++){const s=o[a];if(s.ownerNode===n)return s}throw $o(17)})(this.element),this.length=0}insertRule(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch{return!1}}deleteRule(e){this.sheet.deleteRule(e),this.length--}getRule(e){const t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:""}},IM=class{constructor(e,t){this.element=JC(e,t),this.nodes=this.element.childNodes,this.length=0}insertRule(e,t){if(e<=this.length&&e>=0){const n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1}deleteRule(e){this.element.removeChild(this.nodes[e]),this.length--}getRule(e){return e<this.length?this.nodes[e].textContent:""}};let ZC=ms;const NM={isServer:!ms,useCSSOMInjection:!Zj};class Sc{static registerId(t){return Cc(t)}constructor(t=ni,n={},r){this.options=Object.assign(Object.assign({},NM),t),this.gs=n,this.keyframeIds=new Set,this.names=new Map(r),this.server=!!t.isServer,!this.server&&ms&&ZC&&(ZC=!1,Pm(this)),XC(this,()=>(o=>{const a=o.getTag(),{length:i}=a;let s="";for(let l=0;l<i;l++){const c=nM(l);if(c===void 0)continue;const d=o.names.get(c);if(d===void 0||!d.size)continue;const f=a.getGroup(l);if(f.length===0)continue;const m=ea+".g"+l+'[id="'+c+'"]';let p="";for(const h of d)h.length>0&&(p+=h+",");s+=f+m+'{content:"'+p+'"}'+Em}return s})(this))}rehydrate(){!this.server&&ms&&Pm(this)}reconstructWithOptions(t,n=!0){const r=new Sc(Object.assign(Object.assign({},this.options),t),this.gs,n&&this.names||void 0);return r.keyframeIds=new Set(this.keyframeIds),!this.server&&ms&&t.target!==this.options.target&&Nm(this.options.target)!==Nm(t.target)&&Pm(r),r}allocateGSInstance(t){return this.gs[t]=(this.gs[t]||0)+1}getTag(){return this.tag||(this.tag=(t=(({useCSSOMInjection:n,target:r,nonce:o})=>n?new OM(r,o):new IM(r,o))(this.options),new xM(t)));var t}hasNameForId(t,n){var r,o;return(o=(r=this.names.get(t))===null||r===void 0?void 0:r.has(n))!==null&&o!==void 0&&o}registerName(t,n){Cc(t),t.startsWith(Qj)&&this.keyframeIds.add(t);const r=this.names.get(t);r?r.add(n):this.names.set(t,new Set([n]))}insertRules(t,n,r){this.registerName(t,n),this.getTag().insertRules(Cc(t),r)}clearNames(t){this.names.has(t)&&this.names.get(t).clear()}clearRules(t){this.getTag().clearGroup(Cc(t)),this.clearNames(t)}clearTag(){this.tag=void 0}}const QC=new WeakSet,PM={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexShrink:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};function _M(e,t){return t==null||typeof t=="boolean"||t===""?"":typeof t!="number"||t===0||e in PM||e.startsWith("--")?String(t).trim():t+"px"}const TM=e=>e>="A"&&e<="Z";function ex(e){let t="";for(let n=0;n<e.length;n++){const r=e[n];if(n===1&&r==="-"&&e[0]==="-")return e;TM(r)?t+="-"+r.toLowerCase():t+=r}return t.startsWith("ms-")?"-"+t:t}const jM=Symbol.for("sc-keyframes");function _m(e){return typeof e=="object"&&e!==null&&jM in e}function tx(e){return ps(e)&&!(e.prototype&&e.prototype.isReactComponent)}const nx=e=>e==null||e===!1||e==="",MM=Symbol.for("react.client.reference");function rx(e){return e.$$typeof===MM}function ox(e){const t=e.$$id,n=(t&&t.includes("#")?t.split("#").pop():t)||e.name||"unknown";console.warn(`Interpolating a client component (${n}) as a selector is not supported in server components. The component selector pattern requires access to the component's internal class name, which is not available across the server/client boundary. Use a plain CSS class selector instead.`)}const ax=e=>{const t=[];for(const n in e){const r=e[n];e.hasOwnProperty(n)&&!nx(r)&&(Array.isArray(r)&&QC.has(r)||ps(r)?t.push(ex(n)+":",r,";"):na(r)?t.push(n+" {",...ax(r),"}"):t.push(ex(n)+": "+_M(n,r)+";"))}return t};function ra(e,t,n,r,o=[]){if(nx(e))return o;const a=typeof e;if(a==="string")return o.push(e),o;if(a==="function"){if(rx(e))return process.env.NODE_ENV!=="production"&&ox(e),o;if(tx(e)&&t){const i=e(t);return process.env.NODE_ENV==="production"||typeof i!="object"||Array.isArray(i)||_m(i)||na(i)||i===null||console.error(`${Om(e)} is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.`),ra(i,t,n,r,o)}return o.push(e),o}if(Array.isArray(e)){for(let i=0;i<e.length;i++)ra(e[i],t,n,r,o);return o}if(GC(e))return o.push(`.${e.styledComponentId}`),o;if(_m(e))return n?(e.inject(n,r),o.push(e.getName(r))):o.push(e),o;if(rx(e))return process.env.NODE_ENV!=="production"&&ox(e),o;if(na(e)){const i=ax(e);for(let s=0;s<i.length;s++)o.push(i[s]);return o}return o.push(e.toString()),o}const zM=VC(hc);class AM{constructor(t,n,r){this.rules=t,this.componentId=n,this.baseHash=ta(zM,n),this.baseStyle=r,Sc.registerId(n)}generateAndInjectStyles(t,n,r){let o=this.baseStyle?this.baseStyle.generateAndInjectStyles(t,n,r):"";{let a="";for(let i=0;i<this.rules.length;i++){const s=this.rules[i];if(typeof s=="string")a+=s;else if(s)if(tx(s)){const l=s(t);typeof l=="string"?a+=l:l!=null&&l!==!1&&(process.env.NODE_ENV==="production"||typeof l!="object"||Array.isArray(l)||_m(l)||na(l)||console.error(`${Om(s)} is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.`),a+=KC(ra(l,t,n,r)))}else a+=KC(ra(s,t,n,r))}if(a){this.dynamicNameCache||(this.dynamicNameCache=new Map);const i=r.hash?r.hash+a:a;let s=this.dynamicNameCache.get(i);if(!s){if(s=BC(ta(ta(this.baseHash,r.hash),a)>>>0),this.dynamicNameCache.size>=200){const l=this.dynamicNameCache.keys().next().value;l!==void 0&&this.dynamicNameCache.delete(l)}this.dynamicNameCache.set(i,s)}if(!n.hasNameForId(this.componentId,s)){const l=r(a,"."+s,void 0,this.componentId);n.insertRules(this.componentId,s,l)}o=gs(o,s)}}return o}}const DM=/&/g,oa=47;function ix(e,t){let n=0;for(;--t>=0&&e.charCodeAt(t)===92;)n++;return!(1&~n)}function Tm(e){const t=e.length;let n="",r=0,o=0,a=0,i=!1,s=!1;for(let l=0;l<t;l++){const c=e.charCodeAt(l);if(a!==0||i||c!==oa||e.charCodeAt(l+1)!==42)if(i)c===42&&e.charCodeAt(l+1)===oa&&(i=!1,l++);else if(c!==34&&c!==39||ix(e,l)){if(a===0)if(c===123)o++;else if(c===125){if(o--,o<0){s=!0;let d=l+1;for(;d<t;){const f=e.charCodeAt(d);if(f===59||f===10)break;d++}d<t&&e.charCodeAt(d)===59&&d++,o=0,l=d-1,r=d;continue}o===0&&(n+=e.substring(r,l+1),r=l+1)}else c===59&&o===0&&(n+=e.substring(r,l+1),r=l+1)}else a===0?a=c:a===c&&(a=0);else i=!0,l++}return s||o!==0||a!==0?(r<t&&o===0&&a===0&&(n+=e.substring(r)),n):e}function sx(e,t){for(let n=0;n<e.length;n++){const r=e[n];if(r.type==="rule"){r.value=t+" "+r.value,r.value=r.value.replaceAll(",",","+t+" ");const o=r.props,a=[];for(let i=0;i<o.length;i++)a[i]=t+" "+o[i];r.props=a}Array.isArray(r.children)&&r.type!=="@keyframes"&&(r.children=sx(r.children,t))}return e}function LM({options:e=ni,plugins:t=$m}=ni){let n,r,o;const a=(m,p,h)=>h.startsWith(r)&&h.endsWith(r)&&h.replaceAll(r,"").length>0?`.${n}`:m,i=t.slice();i.push(m=>{m.type===lc&&m.value.includes("&")&&(o||(o=new RegExp(`\\${r}\\b`,"g")),m.props[0]=m.props[0].replace(DM,r).replace(o,a))}),e.prefix&&i.push(Jj),i.push(Kj);let s=[];const l=Xj(i.concat(Yj(m=>s.push(m)))),c=(m,p="",h="",v="&")=>{n=v,r=p,o=void 0;const g=(function(y){const x=y.indexOf("//")!==-1,C=y.indexOf("}")!==-1;if(!x&&!C)return y;if(!x)return Tm(y);const S=y.length;let $="",k=0,E=0,I=0,N=0,P=0,T=!1;for(;E<S;){const j=y.charCodeAt(E);if(j!==34&&j!==39||ix(y,E))if(I===0)if(j===oa&&E+1<S&&y.charCodeAt(E+1)===42){for(E+=2;E+1<S&&(y.charCodeAt(E)!==42||y.charCodeAt(E+1)!==oa);)E++;E+=2}else if(j!==40)if(j!==41)if(N>0)E++;else if(j===42&&E+1<S&&y.charCodeAt(E+1)===oa)$+=y.substring(k,E),E+=2,k=E,T=!0;else if(j===oa&&E+1<S&&y.charCodeAt(E+1)===oa){for($+=y.substring(k,E);E<S&&y.charCodeAt(E)!==10;)E++;k=E,T=!0}else j===123?P++:j===125&&P--,E++;else N>0&&N--,E++;else N++,E++;else E++;else I===0?I=j:I===j&&(I=0),E++}return T?(k<S&&($+=y.substring(k)),P===0?$:Tm($)):P===0?y:Tm(y)})(m);let b=Uj(h||p?h+" "+p+" { "+g+" }":g);return e.namespace&&(b=sx(b,e.namespace)),s=[],gc(b,l),s},d=e;let f=km;for(let m=0;m<t.length;m++)t[m].name||$o(15),f=ta(f,t[m].name);return d!=null&&d.namespace&&(f=ta(f,d.namespace)),d!=null&&d.prefix&&(f=ta(f,"p")),c.hash=f!==km?f.toString():"",c}const FM=new Sc,RM=LM(),lx=w.createContext({shouldForwardProp:void 0,styleSheet:FM,stylis:RM,stylisPlugins:void 0});lx.Consumer;function BM(){return w.useContext(lx)}const Ec=w.createContext(void 0);Ec.Consumer;function VM(e){const t=w.useContext(Ec),n=w.useMemo(()=>(function(r,o){if(!r)throw $o(14);if(ps(r)){const a=r(o);if(process.env.NODE_ENV!=="production"&&(a===null||Array.isArray(a)||typeof a!="object"))throw $o(7);return a}if(Array.isArray(r)||typeof r!="object")throw $o(8);return o?Object.assign(Object.assign({},o),r):r})(e.theme,t),[e.theme,t]);return e.children?w.createElement(Ec.Provider,{value:n},e.children):null}const cx=Object.prototype.hasOwnProperty,jm={};function HM(e,t){const n=typeof e!="string"?"sc":FC(e);jm[n]=(jm[n]||0)+1;const r=n+"-"+cM(hc+n+jm[n]);return t?t+"-"+r:r}let Mm;function WM(e,t,n){const r=GC(e),o=e,a=!wc(e),{attrs:i=$m,componentId:s=HM(t.displayName,t.parentComponentId),displayName:l=uM(e)}=t,c=t.displayName&&t.componentId?FC(t.displayName)+"-"+t.componentId:t.componentId||s,d=r&&o.attrs?o.attrs.concat(i).filter(Boolean):i;let{shouldForwardProp:f}=t;if(r&&o.shouldForwardProp){const v=o.shouldForwardProp;if(t.shouldForwardProp){const g=t.shouldForwardProp;f=(b,y)=>v(b,y)&&g(b,y)}else f=v}const m=new AM(n,c,r?o.componentStyle:void 0);function p(v,g){return(function(b,y,x){const{attrs:C,componentStyle:S,defaultProps:$,foldedComponentIds:k,styledComponentId:E,target:I}=b,N=w.useContext(Ec),P=BM(),T=b.shouldForwardProp||P.shouldForwardProp;process.env.NODE_ENV!=="production"&&w.useDebugValue&&w.useDebugValue(E);const j=aM(y,N,$)||ni;let _,M;{const W=w.useRef(null),U=W.current;if(U!==null&&U[1]===j&&U[2]===P.styleSheet&&U[3]===P.stylis&&U[7]===S&&(function(q,B,L){const V=q,H=B;let X=0;for(const ie in H)if(cx.call(H,ie)&&(X++,V[ie]!==H[ie]))return!1;return X===L})(U[0],y,U[4]))_=U[5],M=U[6];else{_=(function(B,L,V){const H=Object.assign(Object.assign({},L),{className:void 0,theme:V}),X=B.length>1;for(let ie=0;ie<B.length;ie++){const K=B[ie],ee=ps(K)?K(X?Object.assign({},H):H):K;for(const te in ee)te==="className"?H.className=gs(H.className,ee[te]):te==="style"?H.style=Object.assign(Object.assign({},H.style),ee[te]):te in L&&L[te]===void 0||(H[te]=ee[te])}return"className"in L&&typeof L.className=="string"&&(H.className=gs(H.className,L.className)),H})(C,y,j),M=(function(B,L,V,H){const X=B.generateAndInjectStyles(L,V,H);return process.env.NODE_ENV!=="production"&&w.useDebugValue&&w.useDebugValue(X),X})(S,_,P.styleSheet,P.stylis);let q=0;for(const B in y)cx.call(y,B)&&q++;W.current=[y,j,P.styleSheet,P.stylis,q,_,M,S]}}process.env.NODE_ENV!=="production"&&b.warnTooManyClasses&&b.warnTooManyClasses(M);const z=_.as||I,A=(function(W,U,q,B){const L={};for(const V in W)W[V]===void 0||V[0]==="$"||V==="as"||V==="theme"&&W.theme===q||(V==="forwardedAs"?L.as=W.forwardedAs:B&&!B(V,U)||(L[V]=W[V],B||process.env.NODE_ENV!=="development"||Tj(V)||(Mm||(Mm=new Set)).has(V)||!wc(U)||U.includes("-")||(Mm.add(V),console.warn(`styled-components: it looks like an unknown prop "${V}" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via \`<StyleSheetManager shouldForwardProp={...}>\` (connect an API like \`@emotion/is-prop-valid\`) or consider using transient props (\`$\` prefix for automatic filtering.)`))));return L})(_,z,j,T);let D=gs(k,E);return M&&(D+=" "+M),_.className&&(D+=" "+_.className),A[wc(z)&&z.includes("-")?"class":"className"]=D,x&&(A.ref=x),w.createElement(z,A)})(h,v,g)}p.displayName=l;let h=w.forwardRef(p);return h.attrs=d,h.componentStyle=m,h.displayName=l,h.shouldForwardProp=f,h.foldedComponentIds=r?gs(o.foldedComponentIds,o.styledComponentId):"",h.styledComponentId=c,h.target=r?o.target:e,Object.defineProperty(h,"defaultProps",{get(){return this._foldedDefaultProps},set(v){this._foldedDefaultProps=r?(function(g,...b){for(const y of b)Im(g,y,!0);return g})({},o.defaultProps,v):v}}),process.env.NODE_ENV!=="production"&&(oM(l,c),h.warnTooManyClasses=((v,g)=>{let b={},y=!1;return x=>{!y&&(b[x]=!0,Object.keys(b).length>=200)&&(console.warn(`Over 200 classes were generated for component ${v}${g?` with the id of "${g}"`:""}.
|
|
347
|
+
Consider using the attrs method, together with a style object for frequently changed styles.
|
|
348
|
+
Example:
|
|
349
|
+
const Component = styled.div.attrs(props => ({
|
|
350
|
+
style: {
|
|
351
|
+
background: props.background,
|
|
352
|
+
},
|
|
353
|
+
}))\`width: 100%;\`
|
|
354
|
+
|
|
355
|
+
<Component />`),y=!0,b={})}})(l,c)),XC(h,()=>`.${h.styledComponentId}`),a&&UC(h,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),h}var qM=new Set(["a","abbr","address","area","article","aside","audio","b","bdi","bdo","blockquote","body","button","br","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","main","map","mark","menu","meter","nav","object","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","slot","small","span","strong","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","switch","symbol","text","textPath","tspan","use"]);function ux(e,t){const n=[e[0]];for(let r=0,o=t.length;r<o;r+=1)n.push(t[r],e[r+1]);return n}const dx=e=>(QC.add(e),e);function UM(e,...t){if(ps(e)||na(e))return dx(ra(ux($m,[e,...t])));const n=e;return t.length===0&&n.length===1&&typeof n[0]=="string"?ra(n):dx(ra(ux(n,t)))}function zm(e,t,n=ni){if(!t)throw $o(1,t);const r=(o,...a)=>e(t,n,UM(o,...a));return r.attrs=o=>zm(e,t,Object.assign(Object.assign({},n),{attrs:Array.prototype.concat(n.attrs,o).filter(Boolean)})),r.withConfig=o=>zm(e,t,Object.assign(Object.assign({},n),o)),r}const fx=e=>zm(WM,e),Oe=fx;qM.forEach(e=>{Oe[e]=fx(e)}),process.env.NODE_ENV!=="production"&&typeof navigator<"u"&&navigator.product==="ReactNative"&&console.warn(`It looks like you've imported 'styled-components' on React Native.
|
|
356
|
+
Perhaps you're looking to import 'styled-components/native'?
|
|
357
|
+
Read more about this at https://www.styled-components.com/docs/basics#react-native`);const $c=`__sc-${ea}__`;process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&typeof window<"u"&&(window[$c]||(window[$c]=0),window[$c]===1&&console.warn(`It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.
|
|
358
|
+
|
|
359
|
+
See https://styled-components.com/docs/faqs#why-am-i-getting-a-warning-about-several-instances-of-module-on-the-page for more info.`),window[$c]+=1);const GM=Oe.div`
|
|
360
|
+
display: flex;
|
|
361
|
+
align-items: center;
|
|
362
|
+
margin-bottom: 16px;
|
|
363
|
+
background-color: ${e=>{var t;return(t=e.theme.token)==null?void 0:t.colorBorderSecondary}};
|
|
364
|
+
padding: 2px 1px;
|
|
365
|
+
border-radius: 6px;
|
|
366
|
+
`,KM=Oe(_1)`
|
|
367
|
+
margin: 0 4px;
|
|
368
|
+
border-color: ${e=>{var t;return(t=e.theme.token)==null?void 0:t.colorBorder}};
|
|
369
|
+
`,XM=Oe(kt)`
|
|
370
|
+
flex:1;
|
|
371
|
+
color: ${e=>{var t;return(t=e.theme.token)==null?void 0:t.colorTextSecondary}};
|
|
372
|
+
&.active{
|
|
373
|
+
color: ${e=>{var t;return(t=e.theme.token)==null?void 0:t.colorText}};
|
|
374
|
+
cursor: default;
|
|
375
|
+
&:hover{
|
|
376
|
+
border: solid 1px ${e=>{var t;return(t=e.theme.token)==null?void 0:t.colorBorder}};
|
|
377
|
+
color: ${e=>{var t;return(t=e.theme.token)==null?void 0:t.colorText}};
|
|
378
|
+
}
|
|
379
|
+
div{
|
|
380
|
+
display: none;
|
|
381
|
+
}
|
|
382
|
+
}
|
|
383
|
+
`,YM=w.memo(e=>{var s,l;const{value:t,options:n,onChange:r}=e,[o,a]=w.useState(t||((l=(s=e.options)==null?void 0:s[0])==null?void 0:l.key));w.useEffect(()=>{a(t)},[t]);const i=w.useCallback(c=>{a(c),r==null||r(c)},[r]);return O.jsx(GM,{children:n.map((c,d)=>O.jsxs(w.Fragment,{children:[O.jsx(XM,{type:o!==c.key?"text":void 0,className:o===c.key?"active":void 0,onClick:()=>i(c.key),children:c.label}),d<n.length-1&&O.jsx(KM,{type:"vertical"})]},c.key))})}),no=w.memo(e=>{const{text:t,secondary:n}=e;return O.jsx("span",{className:G("text",n?" secondary":""),children:t})}),JM=w.memo(()=>O.jsx(En,{style:{minWidth:100},options:[]}));w.memo(()=>O.jsxs(zr,{children:[O.jsx(En,{defaultValue:"xxx",options:[{value:"xxx",label:"物料"},{value:"yyy",label:"或"}]}),O.jsx(JM,{}),O.jsx(Rt,{})]}));var ZM={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 64zm0 76c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm128.01 198.83c.03 0 .05.01.09.06l45.02 45.01a.2.2 0 01.05.09.12.12 0 010 .07c0 .02-.01.04-.05.08L557.25 512l127.87 127.86a.27.27 0 01.05.06v.02a.12.12 0 010 .07c0 .03-.01.05-.05.09l-45.02 45.02a.2.2 0 01-.09.05.12.12 0 01-.07 0c-.02 0-.04-.01-.08-.05L512 557.25 384.14 685.12c-.04.04-.06.05-.08.05a.12.12 0 01-.07 0c-.03 0-.05-.01-.09-.05l-45.02-45.02a.2.2 0 01-.05-.09.12.12 0 010-.07c0-.02.01-.04.06-.08L466.75 512 338.88 384.14a.27.27 0 01-.05-.06l-.01-.02a.12.12 0 010-.07c0-.03.01-.05.05-.09l45.02-45.02a.2.2 0 01.09-.05.12.12 0 01.07 0c.02 0 .04.01.08.06L512 466.75l127.86-127.86c.04-.05.06-.06.08-.06a.12.12 0 01.07 0z"}}]},name:"close-circle",theme:"outlined"},QM=function(t,n){return u.createElement(Nt,ge({},t,{ref:n,icon:ZM}))},mx=u.forwardRef(QM);process.env.NODE_ENV!=="production"&&(mx.displayName="CloseCircleOutlined");var e7={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 912H144c-17.7 0-32-14.3-32-32V144c0-17.7 14.3-32 32-32h360c4.4 0 8 3.6 8 8v56c0 4.4-3.6 8-8 8H184v656h656V520c0-4.4 3.6-8 8-8h56c4.4 0 8 3.6 8 8v360c0 17.7-14.3 32-32 32zM770.87 199.13l-52.2-52.2a8.01 8.01 0 014.7-13.6l179.4-21c5.1-.6 9.5 3.7 8.9 8.9l-21 179.4c-.8 6.6-8.9 9.4-13.6 4.7l-52.4-52.4-256.2 256.2a8.03 8.03 0 01-11.3 0l-42.4-42.4a8.03 8.03 0 010-11.3l256.1-256.3z"}}]},name:"export",theme:"outlined"},t7=function(t,n){return u.createElement(Nt,ge({},t,{ref:n,icon:e7}))},px=u.forwardRef(t7);process.env.NODE_ENV!=="production"&&(px.displayName="ExportOutlined");var n7={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 912H144c-17.7 0-32-14.3-32-32V144c0-17.7 14.3-32 32-32h360c4.4 0 8 3.6 8 8v56c0 4.4-3.6 8-8 8H184v656h656V520c0-4.4 3.6-8 8-8h56c4.4 0 8 3.6 8 8v360c0 17.7-14.3 32-32 32zM653.3 424.6l52.2 52.2a8.01 8.01 0 01-4.7 13.6l-179.4 21c-5.1.6-9.5-3.7-8.9-8.9l21-179.4c.8-6.6 8.9-9.4 13.6-4.7l52.4 52.4 256.2-256.2c3.1-3.1 8.2-3.1 11.3 0l42.4 42.4c3.1 3.1 3.1 8.2 0 11.3L653.3 424.6z"}}]},name:"import",theme:"outlined"},r7=function(t,n){return u.createElement(Nt,ge({},t,{ref:n,icon:n7}))},gx=u.forwardRef(r7);process.env.NODE_ENV!=="production"&&(gx.displayName="ImportOutlined");var o7={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 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z"}}]},name:"info-circle",theme:"outlined"},a7=function(t,n){return u.createElement(Nt,ge({},t,{ref:n,icon:o7}))},Am=u.forwardRef(a7);process.env.NODE_ENV!=="production"&&(Am.displayName="InfoCircleOutlined");var i7={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{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 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"minus-circle",theme:"outlined"},s7=function(t,n){return u.createElement(Nt,ge({},t,{ref:n,icon:i7}))},kc=u.forwardRef(s7);process.env.NODE_ENV!=="production"&&(kc.displayName="MinusCircleOutlined");var l7={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h720c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"minus",theme:"outlined"},c7=function(t,n){return u.createElement(Nt,ge({},t,{ref:n,icon:l7}))},hx=u.forwardRef(c7);process.env.NODE_ENV!=="production"&&(hx.displayName="MinusOutlined");var u7={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 736c0-111.6-65.4-208-160-252.9V317.3c0-15.1-5.3-29.7-15.1-41.2L536.5 95.4C530.1 87.8 521 84 512 84s-18.1 3.8-24.5 11.4L335.1 276.1a63.97 63.97 0 00-15.1 41.2v165.8C225.4 528 160 624.4 160 736h156.5c-2.3 7.2-3.5 15-3.5 23.8 0 22.1 7.6 43.7 21.4 60.8a97.2 97.2 0 0043.1 30.6c23.1 54 75.6 88.8 134.5 88.8 29.1 0 57.3-8.6 81.4-24.8 23.6-15.8 41.9-37.9 53-64a97 97 0 0043.1-30.5 97.52 97.52 0 0021.4-60.8c0-8.4-1.1-16.4-3.1-23.8H864zM762.3 621.4c9.4 14.6 17 30.3 22.5 46.6H700V558.7a211.6 211.6 0 0162.3 62.7zM388 483.1V318.8l124-147 124 147V668H388V483.1zM239.2 668c5.5-16.3 13.1-32 22.5-46.6 16.3-25.2 37.5-46.5 62.3-62.7V668h-84.8zm388.9 116.2c-5.2 3-11.2 4.2-17.1 3.4l-19.5-2.4-2.8 19.4c-5.4 37.9-38.4 66.5-76.7 66.5-38.3 0-71.3-28.6-76.7-66.5l-2.8-19.5-19.5 2.5a27.7 27.7 0 01-17.1-3.5c-8.7-5-14.1-14.3-14.1-24.4 0-10.6 5.9-19.4 14.6-23.8h231.3c8.8 4.5 14.6 13.3 14.6 23.8-.1 10.2-5.5 19.6-14.2 24.5zM464 400a48 48 0 1096 0 48 48 0 10-96 0z"}}]},name:"rocket",theme:"outlined"},d7=function(t,n){return u.createElement(Nt,ge({},t,{ref:n,icon:u7}))},vx=u.forwardRef(d7);process.env.NODE_ENV!=="production"&&(vx.displayName="RocketOutlined");var f7={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M893.3 293.3L730.7 130.7c-7.5-7.5-16.7-13-26.7-16V112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V338.5c0-17-6.7-33.2-18.7-45.2zM384 184h256v104H384V184zm456 656H184V184h136v136c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V205.8l136 136V840zM512 442c-79.5 0-144 64.5-144 144s64.5 144 144 144 144-64.5 144-144-64.5-144-144-144zm0 224c-44.2 0-80-35.8-80-80s35.8-80 80-80 80 35.8 80 80-35.8 80-80 80z"}}]},name:"save",theme:"outlined"},m7=function(t,n){return u.createElement(Nt,ge({},t,{ref:n,icon:f7}))},bx=u.forwardRef(m7);process.env.NODE_ENV!=="production"&&(bx.displayName="SaveOutlined");const yx=w.memo(e=>{const{onOpenChange:t,onAddExpression:n,onAddGroup:r,children:o}=e,a=w.useMemo(()=>[{label:"添加表达式",key:Lr.Expression,onClick:n},{label:"添加并组",key:lo.And,onClick:()=>r(lo.And)},{label:"添加或组",key:lo.Or,onClick:()=>r(lo.Or)}],[n,r]);return O.jsx(lm,{menu:{items:a},trigger:["click"],onOpenChange:t,children:o})}),Cx=48,Dm=Oe.div`
|
|
384
|
+
display: flex;
|
|
385
|
+
align-items: center;
|
|
386
|
+
min-height: ${Cx}px;
|
|
387
|
+
.actions-space{
|
|
388
|
+
display: none;
|
|
389
|
+
&.add-open{
|
|
390
|
+
display: flex;
|
|
391
|
+
}
|
|
392
|
+
}
|
|
393
|
+
&:hover{
|
|
394
|
+
.actions-space{
|
|
395
|
+
display: flex;
|
|
396
|
+
}
|
|
397
|
+
}
|
|
398
|
+
`,p7=Oe.div`
|
|
399
|
+
display: flex;
|
|
400
|
+
`,g7=Oe.div`
|
|
401
|
+
flex: 1;
|
|
402
|
+
`,h7=Oe.div`
|
|
403
|
+
width: 60px;
|
|
404
|
+
display: flex;
|
|
405
|
+
justify-content: flex-end;
|
|
406
|
+
align-items: center;
|
|
407
|
+
`,v7=Oe(xo)`
|
|
408
|
+
font-size:12px;
|
|
409
|
+
`,b7=Oe(gm)`
|
|
410
|
+
font-size:12px;
|
|
411
|
+
`,y7=w.memo(e=>{const{onAddExpression:t,onAddGroup:n,onRemove:r,children:o}=e;return O.jsxs(Dm,{children:[O.jsx(g7,{children:o}),O.jsx(h7,{className:"actions",children:O.jsxs(p7,{className:G("actions-space"),children:[t&&n&&O.jsx(yx,{onAddExpression:t,onAddGroup:n,children:O.jsx(kt,{type:"text",icon:O.jsx(v7,{className:"add-icon"})})}),O.jsx(kt,{type:"text",icon:O.jsx(b7,{className:"remove-icon"}),onClick:r})]})})]})}),C7=Oe.div`
|
|
412
|
+
display: flex;
|
|
413
|
+
align-items: stretch;
|
|
414
|
+
min-height: 88px;
|
|
415
|
+
`,x7=Oe.div`
|
|
416
|
+
position: relative;
|
|
417
|
+
width: 80px;
|
|
418
|
+
//border: solid 1px;
|
|
419
|
+
display: flex;
|
|
420
|
+
align-items: center;
|
|
421
|
+
padding-right: 16px;
|
|
422
|
+
`,w7=Oe.div`
|
|
423
|
+
position: absolute;
|
|
424
|
+
left: calc(50% - 8px);
|
|
425
|
+
width: 30px;
|
|
426
|
+
border: solid 1px ${e=>{var t;return(t=e.theme.token)==null?void 0:t.colorBorder}};
|
|
427
|
+
border-right: 0;
|
|
428
|
+
border-radius: 5px 0 0 5px;
|
|
429
|
+
height: calc(100% - ${Cx}px);
|
|
430
|
+
&::before{
|
|
431
|
+
content: "";
|
|
432
|
+
position: absolute;
|
|
433
|
+
top:0;
|
|
434
|
+
right:0;
|
|
435
|
+
transform: translateX(100%) translateY(-50%);
|
|
436
|
+
width: 6px;
|
|
437
|
+
height: 6px;
|
|
438
|
+
border: solid 1px ${e=>{var t;return(t=e.theme.token)==null?void 0:t.colorBorder}};
|
|
439
|
+
border-radius: 50%;
|
|
440
|
+
}
|
|
441
|
+
&::after{
|
|
442
|
+
content: "";
|
|
443
|
+
position: absolute;
|
|
444
|
+
bottom:0;
|
|
445
|
+
right:0;
|
|
446
|
+
transform: translateX(100%) translateY(50%);
|
|
447
|
+
width: 6px;
|
|
448
|
+
height: 6px;
|
|
449
|
+
border: solid 1px ${e=>{var t;return(t=e.theme.token)==null?void 0:t.colorBorder}};
|
|
450
|
+
border-radius: 50%;
|
|
451
|
+
}
|
|
452
|
+
`,S7=Oe.div`
|
|
453
|
+
flex: 1;
|
|
454
|
+
display: flex;
|
|
455
|
+
flex-flow: column;
|
|
456
|
+
`,E7=Oe.div`
|
|
457
|
+
display: flex;
|
|
458
|
+
width: 100%;
|
|
459
|
+
align-items: center;
|
|
460
|
+
`,xx=w.memo(e=>{var h;const{ExpressInput:t,value:n,onChange:r,onRemove:o,root:a}=e,i=w.useCallback(()=>{n&&(r==null||r({...n,children:[...n.children,{id:hn(),nodeType:Lr.Expression}]}))},[r,n]),s=w.useCallback(v=>{const g={id:hn(),nodeType:Lr.Group,groupType:v,children:[{id:hn(),nodeType:Lr.Expression}]};r==null||r({...n,children:[...n.children,g]})},[r,n]),l=w.useCallback(v=>{const g={id:hn(),nodeType:Lr.Expression},b=[...n.children];b.splice(v+1,0,g),r==null||r({...n,children:b})},[r,n]),c=w.useCallback((v,g)=>{const b={id:hn(),nodeType:Lr.Group,groupType:g,children:[{id:hn(),nodeType:Lr.Expression}]},y=[...n.children];y.splice(v+1,0,b),r==null||r({...n,children:y})},[r,n]),d=w.useCallback(v=>{var g;r==null||r({...n,children:(g=n.children)==null?void 0:g.map(b=>b.id===v.id?v:b)})},[r,n]),f=w.useCallback(v=>{r==null||r({...n,groupType:v})},[r,n]),m=w.useCallback(v=>{r==null||r({...n,children:n.children.filter(g=>g.id!==v)})},[r,n]),p=w.useCallback(()=>{o==null||o(n.id)},[o,n.id]);return O.jsxs(C7,{className:"expression-group",children:[O.jsxs(x7,{className:"group-operator",children:[O.jsx(w7,{className:"group-operator-line"}),O.jsx(En,{defaultValue:lo.And,value:n==null?void 0:n.groupType,options:[{value:lo.And,label:"且"},{value:lo.Or,label:"或"}],onChange:f})]}),O.jsxs(S7,{className:"expression-children",children:[(h=n==null?void 0:n.children)==null?void 0:h.map((v,g)=>v.nodeType===Lr.Group?O.jsx(xx,{ExpressInput:t,value:v,onChange:d,onRemove:()=>m(v.id)},v.id):O.jsx(y7,{onAddExpression:()=>l(g),onAddGroup:b=>c(g,b),onRemove:()=>m(v.id),children:O.jsx(t,{})},v.id)),!(n!=null&&n.children.length)&&O.jsx(Dm,{}),O.jsx(Dm,{children:O.jsxs(E7,{children:[O.jsx(yx,{onAddExpression:i,onAddGroup:s,children:O.jsx(kt,{type:"dashed",block:!0,icon:O.jsx(xo,{}),children:"添加"})}),!a&&O.jsx(kt,{type:"text",icon:O.jsx(gm,{}),style:{marginLeft:8},onClick:p})]})})]})]})});w.memo(e=>{const{ExpressInput:t,value:n,onChange:r}=e;return O.jsx(xx,{ExpressInput:t,value:n,onChange:r,root:!0})});const $7=Oe.div`
|
|
461
|
+
flex:1;
|
|
462
|
+
display: flex;
|
|
463
|
+
justify-content: center;
|
|
464
|
+
color: ${e=>{var t;return(t=e.theme.token)==null?void 0:t.colorTextSecondary}};
|
|
465
|
+
`,k7=Oe.span`
|
|
466
|
+
width: 18px;
|
|
467
|
+
height: 18px;
|
|
468
|
+
border-radius: 50%;
|
|
469
|
+
border: solid 1px ${e=>{var t;return(t=e.theme.token)==null?void 0:t.colorTextSecondary}};
|
|
470
|
+
line-height: 16px;
|
|
471
|
+
display: flex;
|
|
472
|
+
justify-content: center;
|
|
473
|
+
align-items: center;
|
|
474
|
+
transform: translateY(-1px);
|
|
475
|
+
font-size: 12px;
|
|
476
|
+
&.selected{
|
|
477
|
+
background-color: ${e=>{var t;return(t=e.theme.token)==null?void 0:t.colorPrimary}};
|
|
478
|
+
border-color: ${e=>{var t;return(t=e.theme.token)==null?void 0:t.colorPrimary}};
|
|
479
|
+
color: #fff;
|
|
480
|
+
}
|
|
481
|
+
`;w.memo(e=>{var l,c;const{defaultValue:t,value:n,options:r,onChange:o}=e,[a,i]=w.useState(t||n||((c=(l=e.options)==null?void 0:l[0])==null?void 0:c.key));w.useEffect(()=>{i(n)},[n]);const s=w.useCallback(d=>{i(d),o==null||o(d)},[o]);return O.jsx($7,{className:"nav-tabs",children:r==null?void 0:r.map((d,f)=>O.jsxs(kt,{type:d.key===a?"link":"text",onClick:()=>s(d.key),children:[O.jsx(k7,{role:"img",className:G("anticon",d.key===a?"selected":void 0),children:f+1}),d.label]},d.key))})});const O7=Oe.div`
|
|
482
|
+
height: 48px;
|
|
483
|
+
display: flex;
|
|
484
|
+
align-items: center;
|
|
485
|
+
justify-content: space-between;
|
|
486
|
+
box-sizing: border-box;
|
|
487
|
+
padding: 8px 16px;
|
|
488
|
+
box-shadow: 0 2px 3px 1px rgba(0, 0, 0, 0.05);
|
|
489
|
+
z-index: 1;
|
|
490
|
+
`,I7=Oe.div`
|
|
491
|
+
display: flex;
|
|
492
|
+
`,N7=Oe.div`
|
|
493
|
+
display: flex;
|
|
494
|
+
`,P7=w.memo(e=>{const{title:t,actions:n,children:r}=e;return O.jsxs(O7,{children:[O.jsx(I7,{children:t}),r,O.jsx(N7,{children:n})]})}),_7=O.jsx("span",{role:"img",className:"anticon",children:O.jsx("svg",{width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 1024 1024",children:O.jsx("path",{d:"M0 576a510.848 510.848 0 0 0 173.376 384l84.672-96a384 384 0 1 1 525.568-559.552L640.064 448h384V64l-149.952 149.952A512 512 0 0 0 0.064 576z","p-id":"2271"})})}),T7=O.jsx("span",{role:"img",className:"anticon",children:O.jsx("svg",{width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 1024 1024",children:O.jsx("path",{d:"M512 64a510.656 510.656 0 0 0-362.048 149.952L0 64v384h384L240.448 304.448a384 384 0 1 1 525.504 559.552l84.672 96A512 512 0 0 0 512 64z","p-id":"1866"})})}),j7=O.jsx("span",{role:"img",className:"anticon",children:O.jsxs("svg",{width:"0.9em",height:"0.9em",fill:"currentColor",viewBox:"0 0 1024 1024",children:[O.jsx("path",{d:"M720 192h-544A80.096 80.096 0 0 0 96 272v608C96 924.128 131.904 960 176 960h544c44.128 0 80-35.872 80-80v-608C800 227.904 764.128 192 720 192z m16 688c0 8.8-7.2 16-16 16h-544a16 16 0 0 1-16-16v-608a16 16 0 0 1 16-16h544a16 16 0 0 1 16 16v608z","p-id":"2356"}),O.jsx("path",{d:"M848 64h-544a32 32 0 0 0 0 64h544a16 16 0 0 1 16 16v608a32 32 0 1 0 64 0v-608C928 99.904 892.128 64 848 64z","p-id":"2357"}),O.jsx("path",{d:"M608 360H288a32 32 0 0 0 0 64h320a32 32 0 1 0 0-64zM608 520H288a32 32 0 1 0 0 64h320a32 32 0 1 0 0-64zM480 678.656H288a32 32 0 1 0 0 64h192a32 32 0 1 0 0-64z","p-id":"2358"})]})}),M7=O.jsx("span",{role:"img",className:"anticon",children:O.jsx("svg",{width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 1024 1024",children:O.jsx("path",{d:"M422.399 601.6V493.323c-79.111-34.622-134.4-113.655-134.4-205.323 0-123.711 100.54-224 224-224 123.711 0 224 100.545 224 224 0 91.814-55.379 170.725-134.4 205.313V601.6h201.472c61.925 0 112.128 49.716 112.128 112.003V825.6H108.801V713.598c0-61.855 50.444-111.998 112.126-111.998h201.472zM153.601 870.4h716.793V960H153.6v-89.6z"})})}),z7=O.jsx("span",{role:"img",className:"anticon",children:O.jsx("svg",{width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 1024 1024",children:O.jsx("path",{d:"M915.82 142.44L97.84 458.18c-46.13 17.76-44.89 43.66 2.47 57.72l197.59 58.71 80.42 239.03c10.61 31.33 37.99 37.99 61.42 14.55l103.6-102.62 204.74 149.98c26.64 19.49 54.02 9.13 61.18-23.19L958.5 179.43c7.15-32.31-11.85-48.83-42.68-36.99zM791.49 294.63l-348.8 310.81c-6.17 5.67-11.84 16.78-12.83 24.91l-15.29 144.8c-1.73 16.28-7.4 17.02-12.58 1.23L334.4 572.89c-2.71-7.89 0.99-17.76 8.14-21.95l442.54-265.42c27.87-16.78 30.83-12.84 6.41 9.11z","p-id":"10639"})})}),A7=O.jsx("span",{role:"img",className:"anticon",children:O.jsx("svg",{width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 1024 1024",children:O.jsx("path",{d:"M525.96 69.895l256.652 124.437c15.903 7.71 22.544 26.852 14.834 42.755a32 32 0 0 1-14.834 14.833L544 367.61V472c0 1.006-0.023 2.006-0.07 3H720c34.993 0 63.426 28.084 63.991 62.942L784 539v123h96c17.673 0 32 14.327 32 32v186c0 17.673-14.327 32-32 32H624c-17.673 0-32-14.327-32-32V694c0-17.673 14.327-32 32-32h96V539H304v123h96c17.673 0 32 14.327 32 32v186c0 17.673-14.327 32-32 32H144c-17.673 0-32-14.327-32-32V694c0-17.673 14.327-32 32-32h96V539c0-34.993 28.084-63.426 62.942-63.991L304 475h176V367.61L241.388 251.92c-15.903-7.71-22.544-26.852-14.834-42.755a32 32 0 0 1 14.834-14.833L498.039 69.895a32 32 0 0 1 27.922 0z","p-id":"41560"})})}),D7=O.jsx("span",{role:"img",className:"anticon",children:O.jsx("svg",{viewBox:"0 0 1024 1024",width:"1em",height:"1em",fill:"currentColor",children:O.jsx("path",{d:"M1015.15 491.1L533.69 9.63c-11.76-11.76-30.83-11.76-42.59 0L9.63 491.1C3.98 496.75 0.81 504.41 0.81 512.39s3.17 15.65 8.82 21.29l481.47 481.47a30.11 30.11 0 0 0 21.29 8.82c7.99 0 15.65-3.17 21.29-8.82l481.47-481.47c11.76-11.76 11.76-30.82 0-42.58zM512.39 951.27L73.51 512.39 512.39 73.51l438.88 438.88-438.88 438.88zM289.23 511.55c0 123.71 100.29 224 224 224s224-100.29 224-224-100.29-224-224-224-224 100.29-224 224z m224-160c42.74 0 82.92 16.64 113.14 46.86s46.86 70.4 46.86 113.14-16.64 82.92-46.86 113.14-70.4 46.86-113.14 46.86-82.92-16.64-113.14-46.86-46.86-70.4-46.86-113.14 16.64-82.92 46.86-113.14c30.23-30.22 70.41-46.86 113.14-46.86z"})})}),L7=O.jsx("span",{role:"img",className:"anticon",children:O.jsxs("svg",{viewBox:"0 0 1024 1024",width:"1em",height:"1em",fill:"currentColor",children:[O.jsx("path",{d:"M512 1012.622222c-41.718519 0-79.644444-15.17037-106.192593-45.511111l-348.918518-348.918518C26.548148 587.851852 11.377778 549.925926 11.377778 512s15.17037-79.644444 45.511111-106.192593l348.918518-348.918518c56.888889-56.888889 155.496296-56.888889 216.177778 0l348.918519 348.918518c30.340741 30.340741 45.511111 68.266667 45.511111 106.192593s-15.17037 79.644444-45.511111 106.192593l-348.918519 348.918518c-30.340741 30.340741-68.266667 45.511111-109.985185 45.511111z m0-925.392592c-18.962963 0-37.925926 7.585185-53.096296 22.755555l-348.918519 348.918519c-15.17037 15.17037-22.755556 34.133333-22.755555 53.096296s7.585185 37.925926 22.755555 53.096296l348.918519 348.918519c30.340741 30.340741 79.644444 30.340741 106.192592 0l348.918519-348.918519c15.17037-15.17037 22.755556-34.133333 22.755555-53.096296s-7.585185-37.925926-22.755555-53.096296l-348.918519-348.918519c-15.17037-15.17037-34.133333-22.755556-53.096296-22.755555z"}),O.jsx("path",{d:"M303.407407 455.111111h417.185186c22.755556 0 37.925926 15.17037 37.925926 37.925926s-15.17037 37.925926-37.925926 37.925926H303.407407c-22.755556 0-37.925926-15.17037-37.925926-37.925926s15.17037-37.925926 37.925926-37.925926z"}),O.jsx("path",{d:"M549.925926 284.444444v417.185186c0 22.755556-15.17037 37.925926-37.925926 37.925926s-37.925926-15.17037-37.925926-37.925926v-417.185186c0-22.755556 15.17037-37.925926 37.925926-37.925925s37.925926 15.17037 37.925926 37.925925z"})]})}),F7=O.jsx("span",{role:"img",className:"anticon",children:O.jsx("svg",{viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor",children:O.jsx("path",{d:"M928 672H832V448a320 320 0 0 0-257.28-313.664C574.912 132.096 576 130.24 576 128a64 64 0 1 0-128 0c0 2.24 1.088 4.096 1.28 6.336A319.936 319.936 0 0 0 192 448v224H96a32 32 0 0 0 0 64h832a32 32 0 0 0 0-64zM256 672V445.184C256 305.344 370.624 192 512 192s256 113.344 256 253.184V672H256zM512 896a96 96 0 0 1-96-96h-64a160 160 0 1 0 320 0h-64A96 96 0 0 1 512 896z"})})}),R7=O.jsx("span",{role:"img",className:"anticon",children:O.jsxs("svg",{viewBox:"0 0 1024 1024",width:"1em",height:"1em",fill:"currentColor",children:[O.jsx("path",{d:"M545.784454 962.539206l-65.943898 0c-29.341259 0-54.624085-25.281803-54.624085-54.615898L425.216471 868.462574c0-9.623171-7.826246-20.911262-16.690124-23.680329l-1.566682-0.611937-55.725162-23.104207-0.880043-0.494257c-8.153704-4.41045-22.017456-2.376117-28.55229 4.187369l-28.17469 28.123524c-9.930163 9.977235-23.239284 15.494902-37.432541 15.494902-14.195304 0-27.507494-5.517667-37.487799-15.541975l-46.682205-46.630017c-20.60427-20.603247-20.6319-54.233182-0.069585-74.974575l28.15013-28.106128c6.637164-6.574742 8.676613-20.599154 4.253884-28.909423l-0.831948-1.768273-23.164582-56.128345-0.26913-0.682545c-2.803859-9.03477-14.279215-17.394159-23.611767-17.394159l-39.631626 0c-29.391401 0-52.861952-24.065092-52.861952-53.193503l0-65.943898c0-28.770254 22.998807-51.754734 52.919257-51.754734l39.575344 0c9.081843 0 20.803815-8.830109 23.666002-18.057261l0.567935-1.476631 23.163559-57.088206 0.505513-0.913812c4.40431-8.220219 2.319835-22.224164-4.2897-28.830629l-28.04166-28.087709c-9.964956-9.921977-15.486716-23.216771-15.502066-37.396725-0.01535-14.201443 5.492084-27.53717 15.507182-37.552268l46.6556-46.614667c9.94142-9.985422 23.248494-15.503089 37.432541-15.503089 0.001023 0 0 0 0.001023 0 14.184047 0 27.490098 5.51869 37.46938 15.540951l28.039613 28.05087c6.557346 6.525624 20.500916 8.596795 28.655643 4.231371l0.893346-0.478907 57.375755-23.64963c8.836249-2.731204 16.634866-14.037714 16.634866-23.719214l0-39.632649c0-28.967752 24.777313-52.095495 54.624085-52.095495L545.784454 64.076364c29.161157 0 52.370765 22.636556 52.370765 52.095495l0 39.632649c0 9.127891 8.709359 20.85498 17.767666 23.674189l1.51654 0.577145 56.639998 23.113417 0.923022 0.509606c8.202822 4.424776 22.184255 2.353604 28.788673-4.254907l28.163433-27.912723c9.895371-9.94142 23.179932-15.33936 37.352723-15.33936 0.019443 0 0.040932 0 0.060375 0 14.18814 0 27.508517 5.375427 37.516452 15.384385l46.709835 46.554292c10.004865 9.960863 15.524578 23.254633 15.524578 37.47552 0 14.18814-5.498224 27.506471-15.479553 37.532825l-28.16855 28.152177c-6.580882 6.610558-8.640798 20.771069-4.204765 29.107945l0.478907 0.896416 23.654746 57.956993c2.902096 9.255805 14.635325 18.114566 23.686469 18.114566l39.132252 0 0-0.573051c27.629267 0 52.188616 22.984481 52.188616 52.327786l0 65.998133c0 29.590945-22.985504 53.138244-51.746548 53.138244l-39.630602 0c-9.337669 0-20.84884 8.372691-23.686469 17.423835l-0.580215 1.51654-23.086811 56.240909-0.468674 0.860601c-4.419659 8.30413-2.393513 22.320355 4.169973 28.855188l28.135804 28.02017c10.031471 10.029424 15.539928 23.350824 15.537881 37.541011-0.004093 14.186094-5.514597 27.505447-15.518438 37.505195l-46.747697 46.682205c-9.920954 9.964956-23.219841 15.506159-37.406958 15.506159-0.019443 0-0.040932 0-0.060375 0-14.192234 0-27.514657-5.514597-37.518498-15.517415l-28.039613-28.095895c-6.490831-6.490831-20.807908-8.575306-28.887934-4.206812l-0.951675 0.514723-57.93755 23.680329c-9.087982 2.859118-17.823947 14.594393-17.823947 23.691585l0 39.460734C598.155219 937.76394 574.45954 962.539206 545.784454 962.539206zM421.86719 806.892287c25.192775 8.370645 44.282552 34.650171 44.282552 61.570287l0 39.460734c0 7.114025 6.569626 13.68365 13.691837 13.68365L545.784454 921.606958c6.496971 0 12.461823-6.043646 12.461823-13.68365L558.246277 868.462574c0-26.273387 19.516496-53.131081 44.901653-61.58052l53.859675-22.062482c23.62814-12.116969 56.342216-7.098675 75.118861 11.6749l28.009937 28.1532c2.432399 2.430352 5.678326 3.837398 9.179057 3.837398 0.00614 0 0.011256 0 0.01535 0 3.482311 0 6.726192-1.39886 9.135054-3.820002l46.780443-46.738487c2.436492-2.436492 3.783163-5.724375 3.78521-9.224082 0-3.495614-1.344624-6.774287-3.787256-9.216919l-28.106128-27.998681c-18.693758-18.609847-23.762193-51.349505-11.773138-75.036997l22.083971-53.603849c8.374738-25.167193 35.224246-44.51382 61.578474-44.51382l39.630602 0c7.745405 0 10.8143-7.086395 10.8143-13.229303l0-65.998133c0-6.862291-5.116531-12.07399-11.256368-12.302187l0 1.479701-39.132252 0c-26.236548 0-53.099359-20.149922-61.585637-45.735647l-22.083971-54.261834c-11.960403-23.654746-6.913457-56.502875 11.728112-75.228355l28.16855-28.192086c2.430352-2.441609 3.78828-5.764284 3.78828-9.295714 0-3.498684-1.334391-6.762007-3.759627-9.17394l-46.741557-46.577828c-2.462075-2.462075-5.736655-3.734044-9.234315-3.734044-0.004093 0-0.010233 0-0.013303 0-3.465938 0-6.700609 1.255597-9.105379 3.671623l-28.198226 28.037567c-18.703991 18.710131-51.417043 23.734564-75.000158 11.69025l-53.865815-22.072715c-25.403576-8.388041-44.934398-35.255968-44.934398-61.60508l0-39.632649c0-7.253194-5.517667-12.186554-12.461823-12.186554l-65.943898 0c-7.517207 0-13.691837 5.51869-13.691837 12.186554l0 39.632649c0 27.027563-19.107173 53.336766-44.325531 61.643965l-53.501518 21.99699c-23.834848 12.168134-55.857169 7.234775-74.878384-11.69639l-28.130687-28.115338c-2.441609-2.451842-5.690606-3.787256-9.152451-3.787256-3.462868-0.001023-6.704702 1.334391-9.117658 3.758604l-46.690392 46.64639c-2.438539 2.438539-3.784186 5.710049-3.781116 9.207709 0.004093 3.474125 1.339508 6.716982 3.762697 9.128915l28.068266 28.121478c18.698874 18.690688 23.782659 51.389414 11.808954 74.973552l-22.124903 54.813397c-8.413624 25.616424-35.281551 45.783743-61.603033 45.783743l-39.575344 0c-6.630001 0-13.010315 3.411703-13.010315 10.822486l0 65.943898c0 6.942109 5.753027 13.284561 12.95301 13.284561l39.631626 0c26.380834 0 53.195549 19.35072 61.524239 44.537356l22.182208 53.629431c12.027941 23.731494 6.918573 56.449663-11.863189 75.05644l-28.022217 27.949562c-5.021364 5.066389-5.048993 13.348006 0.010233 18.409279l46.713928 46.653553c2.452865 2.464121 5.695722 3.794419 9.168824 3.794419 3.472078 0 6.711865-1.336438 9.124821-3.759627l28.181853-28.122501c18.641569-18.730597 51.440579-23.752983 75.011414-11.642155L421.86719 806.892287z"}),O.jsx("path",{d:"M513.734504 731.880873c-120.639614 0-218.786958-98.147344-218.786958-218.786958s98.147344-218.786958 218.786958-218.786958 218.786958 98.147344 218.786958 218.786958S634.375142 731.880873 513.734504 731.880873zM513.734504 334.324368c-98.573039 0-178.769546 80.195483-178.769546 178.769546s80.195483 178.769546 178.769546 178.769546 178.769546-80.195483 178.769546-178.769546S612.308567 334.324368 513.734504 334.324368z"})]})}),B7=O.jsx("span",{role:"img",className:"anticon",children:O.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 1024 1024",fill:"currentColor",children:O.jsx("path",{d:"M813.909333 192.512H362.325333V111.445333c0-16.725333-13.653333-30.378667-30.378666-30.378666H109.056c-16.725333 0-30.378667 13.653333-30.378667 30.378666v222.890667c0 16.725333 13.653333 30.378667 30.378667 30.378667h222.890667c16.725333 0 30.378667-13.653333 30.378666-30.378667v-81.066667h421.205334v251.733334c0 16.725333 13.653333 30.378667 30.378666 30.378666s30.378667-13.653333 30.378667-30.378666V222.890667c0-16.725333-13.653333-30.378667-30.378667-30.378667z m-512.341333 111.445333h-162.133333v-162.133333h162.133333v162.133333zM908.117333 691.541333H685.226667c-16.725333 0-30.378667 13.653333-30.378667 30.378667v81.066667H233.813333V551.253333c0-16.725333-13.653333-30.378667-30.378666-30.378666s-30.378667 13.653333-30.378667 30.378666v282.112c0 16.725333 13.653333 30.378667 30.378667 30.378667h451.584v81.066667c0 16.725333 13.653333 30.378667 30.378666 30.378666h222.890667c16.725333 0 30.378667-13.653333 30.378667-30.378666V721.92c-0.170667-16.725333-13.653333-30.378667-30.549334-30.378667z m-30.378666 222.890667h-162.133334v-162.133333h162.133334v162.133333z"})})}),V7=O.jsx("span",{role:"img",className:"anticon",children:O.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 1024 1024",fill:"currentColor",children:O.jsx("path",{d:"M160 528a48 48 0 0 1 48 48v176H320V640a64 64 0 0 1 64-64h576a64 64 0 0 1 64 64v320a64 64 0 0 1-64 64H384a64 64 0 0 1-64-64v-112H160a48 48 0 0 1-48-48V576a48 48 0 0 1 48-48z m768 144h-512v256h512v-256zM560 400A48 48 0 0 1 512 448h-32a48 48 0 0 1 0-96H512a48 48 0 0 1 48 48z m-192 0A48 48 0 0 1 320 448h-32a48 48 0 0 1 0-96H320a48 48 0 0 1 48 48zM48 320a48 48 0 0 1 45.248 32h18.752a48 48 0 0 1 0 96h-64A48 48 0 0 1 0 400v-32A48 48 0 0 1 48 320z m608 128a48 48 0 0 1 0-96h18.752A48 48 0 0 1 768 368v32a48 48 0 0 1-41.472 47.552L720 448h-64z m64-448a48 48 0 0 1 48 48v32a48 48 0 0 1-93.248 16.064L656 96a48 48 0 0 1 0-96h64zM96 208v32a48 48 0 0 1-96 0v-32a48 48 0 0 1 96 0z m672 0v32a48 48 0 1 1-96 0v-32a48 48 0 1 1 96 0zM112 0a48 48 0 0 1 0 96l-18.752 0.064A48 48 0 0 1 0 80v-32A48 48 0 0 1 48 0h64z m256 48A48 48 0 0 1 320 96h-32a48 48 0 0 1 0-96H320a48 48 0 0 1 48 48z m192 0A48 48 0 0 1 512 96h-32a48 48 0 0 1 0-96H512a48 48 0 0 1 48 48z","p-id":"31178"})})}),H7=O.jsx("span",{role:"img",className:"anticon",children:O.jsxs("svg",{width:"1em",height:"1em",viewBox:"0 0 1024 1024",fill:"currentColor",children:[O.jsx("path",{d:"M669.603674 428.199569l-134.106283-134.106283c-3.359055-3.359055-11.324815-9.949202-23.769315-9.949202s-20.634197 7.00603-23.545377 9.949202l-134.106283 134.106283c-12.924365 12.924365-13.308257 33.558562-0.799775 46.067044s33.110688 12.12459 46.067044-0.799776L479.865038 392.945484l0.095973 313.447843c0 18.330844 14.331969 33.17467 31.991002 33.142678 17.659033-0.031991 31.959012-14.907807 31.927021-33.238651l-0.095973-313.415852 80.585335 80.585335c12.924365 12.924365 33.558562 13.308257 46.067044 0.799776 12.476491-12.508482 12.092599-33.142679-0.831766-46.067044zM654.727858 801.854478l17.691024 0.031991a21.306008 21.306008 0 0 0 19.13062-14.108032l10.173139-24.793027a21.114062 21.114062 0 0 0-3.48702-23.481396l-12.540473-12.540472a14.939798 14.939798 0 0 1 0-20.954107l20.890125-20.890125a14.843825 14.843825 0 0 1 20.890125 0l12.572464 12.540473a21.114062 21.114062 0 0 0 23.449404 3.51901l24.697054-10.173138a21.274017 21.274017 0 0 0 14.108032-19.162611v-17.755006c0-8.125715 6.590147-14.811834 14.779844-14.811834h29.527695c8.093724 0 14.779843 6.68612 14.779843 14.811834v17.755006a21.433972 21.433972 0 0 0 14.108032 19.162611l24.665063 10.173138a21.114062 21.114062 0 0 0 23.449405-3.487019l12.572464-12.572464a14.843825 14.843825 0 0 1 20.890125 0l20.890124 20.922116a14.811834 14.811834 0 0 1 0 20.954107l-12.540473 12.540472a21.242026 21.242026 0 0 0-3.487019 23.481396l10.173139 24.761036a21.337999 21.337999 0 0 0 19.130619 14.108032h17.755007c8.093724 0 14.715861 6.68612 14.715861 14.843826v29.559686a14.779843 14.779843 0 0 1-14.715861 14.779843h-17.755007a21.433972 21.433972 0 0 0-19.130619 14.108032l-10.173139 24.761036a21.337999 21.337999 0 0 0 3.487019 23.513387l12.540473 12.540473a14.811834 14.811834 0 0 1 0 20.954107l-20.922115 20.954106a14.811834 14.811834 0 0 1-20.858134 0l-12.508482-12.604455a21.114062 21.114062 0 0 0-23.481396-3.423037l-24.729045 10.173139a21.433972 21.433972 0 0 0-14.108032 19.16261v17.691025a14.843825 14.843825 0 0 1-14.779843 14.811834h-29.495704a14.811834 14.811834 0 0 1-14.779844-14.811834v-17.691025a21.433972 21.433972 0 0 0-14.108032-19.16261l-24.793027-10.173139a20.922116 20.922116 0 0 0-23.353431 3.423037l-12.572464 12.604455a14.811834 14.811834 0 0 1-20.858134 0l-20.922116-20.954106a14.971789 14.971789 0 0 1 0-20.954107l12.572464-12.540473a21.274017 21.274017 0 0 0 3.48702-23.513387l-10.20513-24.761036a21.242026 21.242026 0 0 0-19.13062-14.108032h-17.691024a14.875816 14.875816 0 0 1-14.779843-14.843825v-29.559686c0-8.157706 6.654129-14.811834 14.779843-14.811835zM831.766066 927.739073a95.973008 95.973008 0 1 0 0-191.946015 95.973008 95.973008 0 0 0 0 191.946015z","p-id":"34849"}),O.jsx("path",{d:"M962.545284 543.847043V95.973008c0-18.714736-18.330844-31.991003-37.461464-31.991003H98.628261C79.497641 63.982005 63.982005 84.008373 63.982005 103.043019v822.232747c0 19.034647 19.354557 34.646256 37.909338 34.646256h444.962854c48.978225 0 48.978225 63.790059-0.767784 63.790059H102.531163A102.691118 102.691118 0 0 1 0 920.861008V102.819082A102.691118 102.691118 0 0 1 102.531163 0h815.802556C974.989784 0 1023.712081 46.035053 1023.712081 102.819082v440.516105c0 38.005311-61.166797 38.485176-61.166797 0.511856z","p-id":"34850"})]})}),W7=[{code:"agree",name:"同意",button:"同意"},{code:"refuse",name:"拒绝",button:"拒绝"}],q7=[{code:"agree",name:"同意",edit:!1,button:"同意"},{code:"refuse",name:"拒绝",edit:!1,button:"拒绝"},{code:"forward",name:"转交",edit:!1,button:"转交"},{code:"addSigner",name:"加签",edit:!1,button:"加签"},{code:"back",name:"退回",edit:!1,button:"退回"},{code:"back_last_level",name:"退回上一级",edit:!1,button:"退回上一级"},{code:"back_reevaluation",name:"退回重新审批",edit:!1,button:"退回重新审批"},{code:"back_material",name:"退回补充材料",edit:!1,button:"退回补充材料"}],U7=[{label:"发起人",color:"rgb(87, 106, 149)",defaultConfig:{nodeType:dt.start,config:{initiator:"applyUserId"}},hidden:!0},{color:"#ff943e",label:"审批人",icon:M7,defaultConfig:{nodeType:dt.approver,config:{actions:W7,approverType:"countersign",signConfig:{useRatio:!0,ratio:100,num:100},initiator_is_included:{type:"require_process"},comment_setting:{type:"everyone"},approver_is_empty:{type:"auto_pass"},groupType:"userId",extended:[],approval_is_refused:{type:"end_process"},listeners:{task_create:{open:!1,api_request_headers:"{}",api_request_body:"{}"},task_finish:{open:!1,api_request_headers:"{}",api_request_body:"{}"}}}}},{color:"#4ca3fb",label:"抄送人",icon:z7,defaultConfig:{nodeType:dt.notifier,config:{groupType:"userId"}}},{color:"#95d475",label:"消息通知",icon:F7,defaultConfig:{nodeType:dt.message,config:{groupType:"userId",executingType:"class"}}},{color:"#ffc107",label:"服务节点",icon:R7,defaultConfig:{nodeType:dt.service,config:{executingType:"class",executingValue:""}}},{color:"#15bc83",label:"条件分支",icon:A7,createDefault:()=>({id:hn(),nodeType:dt.exclusive,conditionNodeList:[{id:hn(),nodeType:dt.condition,name:"条件1"},{id:hn(),nodeType:dt.condition,name:"条件2"}]})},{color:"#604FED",label:"并行分支",icon:L7,createDefault:()=>({id:hn(),nodeType:dt.parallel,conditionNodeList:[{id:hn(),nodeType:dt.condition,name:"条件1"},{id:hn(),nodeType:dt.condition,name:"条件2"}]})},{color:"#da70ff",label:"包容分支",icon:D7,createDefault:()=>({id:hn(),nodeType:dt.inclusive,conditionNodeList:[{id:hn(),nodeType:dt.condition,name:"条件1"},{id:hn(),nodeType:dt.condition,name:"条件2"}]})},{label:"condition",color:"",defaultConfig:{nodeType:dt.condition},hidden:!0},{color:"#996633",label:"子流程",icon:B7,defaultConfig:{nodeType:dt.subProcess,config:{}}},{color:"#006666",label:"异步子流程",icon:V7,defaultConfig:{nodeType:dt.asyncSubProcess,config:{}}},{color:"#0074d9",label:"触发器",icon:H7,defaultConfig:{nodeType:dt.trigger,config:{api_request_headers:"{}",api_request_body:"{}"}}}],wx=w.createContext(void 0);function Zt(){return w.useContext(wx)}const G7=[{accept:{"text/json":[".json"]}}];async function K7(e,t){try{const n=await window.showSaveFilePicker({suggestedName:`${e}.json`,types:G7}),r=await n.createWritable();return await r.write(t),await r.close(),n.name}catch(n){return console.error(n),!1}}function Oc(){const[e,t]=w.useState(),n=Zt(),r=w.useCallback(o=>{t(o)},[]);return w.useEffect(()=>n==null?void 0:n.subscribeStartNodeChange(r),[r,n]),w.useEffect(()=>{t(n==null?void 0:n.store.getState().startNode)},[n==null?void 0:n.store]),e}function X7(){const e=Oc();return w.useCallback(()=>{K7("approvalflow",JSON.stringify({startNode:e},null,2)).then(n=>{n&&$r.success("导出成功")}).catch(n=>{console.error(n)})},[e])}async function Y7(e,t){return await window.showOpenFilePicker({types:[{accept:{"file/*":e==null?void 0:e.split(",")}}],excludeAcceptAllOption:!1,multiple:t})}function J7(){const e=Zt();return w.useCallback(()=>{Y7(".json").then(n=>{var r;(r=n==null?void 0:n[0])==null||r.getFile().then(o=>{o.text().then(a=>{try{const i=JSON.parse(a);i.startNode?e==null||e.setStartNode(i.startNode):$r.error("文件不合法")}catch(i){console.error(i),$r.error("文件不合法")}})})}).catch(n=>{console.error(n)})},[e])}function Z7(){const[e,t]=w.useState(),n=Zt(),r=w.useCallback(o=>{t(o)},[]);return w.useEffect(()=>n==null?void 0:n.subscribeSelectedChange(r),[r,n]),w.useEffect(()=>{t(n==null?void 0:n.store.getState().selectedId)},[n==null?void 0:n.store]),e}function Q7(){const e=Z7(),t=Zt();return e?t==null?void 0:t.getNode(e):void 0}function Ic(e){var n;const t=Zt();return(n=t==null?void 0:t.materialUis)==null?void 0:n[(e==null?void 0:e.nodeType)||""]}function Sx(e){const t=Zt();return t==null?void 0:t.materials.find(n=>{var r;return((r=n.defaultConfig)==null?void 0:r.nodeType)===(e==null?void 0:e.nodeType)})}const ez=Oe.div`
|
|
495
|
+
box-sizing: border-box;
|
|
496
|
+
width: 50%;
|
|
497
|
+
padding: 4px 8px;
|
|
498
|
+
`,tz=Oe.div`
|
|
499
|
+
padding: 0px 8px;
|
|
500
|
+
height: 64px;
|
|
501
|
+
border-radius: 5px;
|
|
502
|
+
display: flex;
|
|
503
|
+
align-items: center;
|
|
504
|
+
cursor: pointer;
|
|
505
|
+
&:hover{
|
|
506
|
+
box-shadow: 1px 2px 8px 2px rgba(0, 0, 0, 0.08);
|
|
507
|
+
}
|
|
508
|
+
`,nz=Oe.div`
|
|
509
|
+
display: flex;
|
|
510
|
+
height: 40px;
|
|
511
|
+
width: 40px;
|
|
512
|
+
border: solid 1px ${e=>{var t;return(t=e.theme.token)==null?void 0:t.colorBorder}};
|
|
513
|
+
margin-right: 16px;
|
|
514
|
+
border-radius: 16px;
|
|
515
|
+
justify-content: center;
|
|
516
|
+
align-items: center;
|
|
517
|
+
font-size: 24px;
|
|
518
|
+
color: #ff943e;
|
|
519
|
+
`,rz=w.memo(e=>{const{nodeId:t,material:n,onClick:r}=e,o=Zt(),a=w.useCallback(()=>{const i=hn(),s=n.label;n.defaultConfig?o==null||o.addNode(t,{...JSON.parse(JSON.stringify(n.defaultConfig)),id:i,name:s}):n.createDefault?o==null||o.addNode(t,{...n.createDefault(),name:s}):console.error("Material no defutConfig or createDefault"),o==null||o.selectNode(i),r==null||r()},[o,n,t,r]);return O.jsx(ez,{children:O.jsxs(tz,{onClick:a,children:[O.jsx(nz,{style:{color:n.color},children:n.icon}),n.label]})})}),oz=Oe.div`
|
|
520
|
+
display: flex;
|
|
521
|
+
flex-wrap: wrap;
|
|
522
|
+
width: 360px;
|
|
523
|
+
`,az=w.memo(e=>{var o;const{nodeId:t,onClickMaterial:n}=e,r=Zt();return O.jsx(oz,{className:"add-node-content",children:(o=r==null?void 0:r.materials)==null?void 0:o.filter(a=>!a.hidden).map((a,i)=>{var s;return O.jsx(rz,{nodeId:t,material:a,onClick:()=>n==null?void 0:n(a)},((s=a.defaultConfig)==null?void 0:s.nodeType)||`${i}`)})})}),iz=Oe.div`
|
|
524
|
+
width: 240px;
|
|
525
|
+
display: -webkit-inline-box;
|
|
526
|
+
display: -ms-inline-flexbox;
|
|
527
|
+
display: inline-flex;
|
|
528
|
+
-ms-flex-negative: 0;
|
|
529
|
+
flex-shrink: 0;
|
|
530
|
+
-webkit-box-flex: 1;
|
|
531
|
+
-ms-flex-positive: 1;
|
|
532
|
+
position: relative;
|
|
533
|
+
&:before {
|
|
534
|
+
content: "";
|
|
535
|
+
position: absolute;
|
|
536
|
+
top: 0;
|
|
537
|
+
left: 0;
|
|
538
|
+
right: 0;
|
|
539
|
+
bottom: 0;
|
|
540
|
+
z-index: -1;
|
|
541
|
+
margin: auto;
|
|
542
|
+
width: 2px;
|
|
543
|
+
height: 100%;
|
|
544
|
+
background-color: #cacaca;
|
|
545
|
+
}
|
|
546
|
+
`,sz=Oe.div`
|
|
547
|
+
user-select: none;
|
|
548
|
+
width: 240px;
|
|
549
|
+
padding: 20px 0 32px;
|
|
550
|
+
display: flex;
|
|
551
|
+
-webkit-box-pack: center;
|
|
552
|
+
justify-content: center;
|
|
553
|
+
flex-shrink: 0;
|
|
554
|
+
-webkit-box-flex: 1;
|
|
555
|
+
flex-grow: 1;
|
|
556
|
+
.btn {
|
|
557
|
+
//display: flex;
|
|
558
|
+
//justify-content: center;
|
|
559
|
+
//align-items: center;
|
|
560
|
+
box-sizing: border-box;
|
|
561
|
+
padding-left: 4.5px;
|
|
562
|
+
box-shadow: 0 2px 4px 0 rgba(0, 0, 0, .1);
|
|
563
|
+
width: 30px;
|
|
564
|
+
height: 30px;
|
|
565
|
+
background: ${e=>{var t,n;return(n=(t=e.theme)==null?void 0:t.token)==null?void 0:n.colorPrimary}};
|
|
566
|
+
border-radius: 50%;
|
|
567
|
+
position: relative;
|
|
568
|
+
border: none;
|
|
569
|
+
line-height: 28px;
|
|
570
|
+
-webkit-transition: all .3s cubic-bezier(.645, .045, .355, 1);
|
|
571
|
+
transition: all .3s cubic-bezier(.645, .045, .355, 1);
|
|
572
|
+
cursor: pointer;
|
|
573
|
+
color:#fff;
|
|
574
|
+
font-size: 20px;
|
|
575
|
+
&:hover {
|
|
576
|
+
transform: scale(1.3);
|
|
577
|
+
box-shadow: 0 13px 27px 0 rgba(0, 0, 0, .1)
|
|
578
|
+
}
|
|
579
|
+
&:active {
|
|
580
|
+
transform: none;
|
|
581
|
+
background: ${e=>{var t,n;return(n=(t=e.theme)==null?void 0:t.token)==null?void 0:n.colorPrimary}};
|
|
582
|
+
box-shadow: 0 2px 4px 0 rgba(0, 0, 0, .1)
|
|
583
|
+
}
|
|
584
|
+
}
|
|
585
|
+
`,Nc=w.memo(e=>{const{nodeId:t}=e,[n,r]=w.useState(!1),o=w.useCallback(i=>{r(i)},[]),a=w.useCallback(()=>{r(!1)},[]);return O.jsx(iz,{className:"add-node-button-box",children:O.jsx(sz,{children:O.jsx(Hl,{placement:"rightTop",content:O.jsx(az,{nodeId:t,onClickMaterial:a}),trigger:"click",open:n,onOpenChange:o,children:O.jsx("div",{className:"btn",children:O.jsx(xo,{})})})})})});function lz(e){const[t,n]=w.useState(),r=Zt(),o=w.useCallback(a=>{n(a)},[]);return w.useEffect(()=>r==null?void 0:r.subscribeErrorsChange(o),[o,r]),w.useEffect(()=>{n(r==null?void 0:r.store.getState().errors)},[r==null?void 0:r.store]),t==null?void 0:t[e]}const cz=Oe.div`
|
|
586
|
+
position: absolute;
|
|
587
|
+
z-index: 2;
|
|
588
|
+
top: 0;
|
|
589
|
+
right: -40px;
|
|
590
|
+
`,uz=Oe(Am)`
|
|
591
|
+
color:red;
|
|
592
|
+
font-size: 24px;
|
|
593
|
+
`,Lm=w.memo(e=>{const{nodeId:t}=e,n=lz(t);return O.jsx(cz,{children:n&&O.jsx(Co,{title:n,children:O.jsx(uz,{})})})}),dz=Oe(kt)`
|
|
594
|
+
position: absolute;
|
|
595
|
+
right: 10px;
|
|
596
|
+
top: 50%;
|
|
597
|
+
transform: translateY(-50%);
|
|
598
|
+
font-size: 14px;
|
|
599
|
+
display: flex;
|
|
600
|
+
justify-content: center;
|
|
601
|
+
align-items: center;
|
|
602
|
+
`;function fz(e){const{nodeId:t}=e,n=Zt(),r=w.useCallback(()=>{n==null||n.removeNode(t)},[t,n]);return O.jsx(dz,{className:"close",type:"text",size:"small",shape:"circle",icon:O.jsx(Xr,{style:{color:"#fff",fontSize:12}}),onClick:r})}const Ex=Oe.div`
|
|
603
|
+
position: relative;
|
|
604
|
+
display: flex;
|
|
605
|
+
align-items: center;
|
|
606
|
+
padding-left: 16px;
|
|
607
|
+
padding-right: 30px;
|
|
608
|
+
width: 100%;
|
|
609
|
+
height: 24px;
|
|
610
|
+
line-height: 24px;
|
|
611
|
+
font-size: 12px;
|
|
612
|
+
color: #fff;
|
|
613
|
+
text-align: left;
|
|
614
|
+
box-sizing: border-box;
|
|
615
|
+
//background: #576a95;
|
|
616
|
+
border-radius: 4px 4px 0 0;
|
|
617
|
+
user-select: none;
|
|
618
|
+
&.start-node-title{
|
|
619
|
+
//background: rgb(87, 106, 149);
|
|
620
|
+
}
|
|
621
|
+
`,mz=Oe.div`
|
|
622
|
+
font-size: 14px;
|
|
623
|
+
margin-right: 8px;
|
|
624
|
+
`,$x=Oe.div`
|
|
625
|
+
flex:1;
|
|
626
|
+
display: flex;
|
|
627
|
+
padding: 2px 0;
|
|
628
|
+
align-items: center;
|
|
629
|
+
`,pz=Oe.div`
|
|
630
|
+
border: solid transparent 1px;
|
|
631
|
+
&:hover{
|
|
632
|
+
line-height: 16px;
|
|
633
|
+
border-bottom: dashed 1px #fff;
|
|
634
|
+
}
|
|
635
|
+
`,kx=Oe.input`
|
|
636
|
+
flex: 1;
|
|
637
|
+
height: 18px;
|
|
638
|
+
padding-left: 4px;
|
|
639
|
+
text-indent: 0;
|
|
640
|
+
font-size: 12px;
|
|
641
|
+
line-height: 18px;
|
|
642
|
+
z-index: 1;
|
|
643
|
+
outline: solid 2px rgba(80,80,80, 0.3);
|
|
644
|
+
border: 0;
|
|
645
|
+
border-radius: 4px;
|
|
646
|
+
background-color: ${e=>{var t,n;return(n=(t=e.theme)==null?void 0:t.token)==null?void 0:n.colorBgBase}};
|
|
647
|
+
color: ${e=>{var t,n;return(n=(t=e.theme)==null?void 0:t.token)==null?void 0:n.colorText}};
|
|
648
|
+
`,gz=w.memo(e=>{const{node:t,material:n}=e,[r,o]=w.useState(!1),[a,i]=w.useState(t.name),s=Zt();w.useEffect(()=>{i(t.name)},[t.name]);const l=w.useCallback(()=>{s==null||s.changeNode({...t,name:a})},[s,a,t]),c=w.useCallback(h=>{h.stopPropagation(),o(!0)},[]),d=w.useCallback(h=>{h.stopPropagation()},[]),f=w.useCallback(()=>{l(),o(!1)},[l]),m=w.useCallback(h=>{h.key==="Enter"&&f()},[f]),p=w.useCallback(h=>{i(h.target.value)},[]);return O.jsxs(Ex,{className:"node-title",style:{backgroundColor:n==null?void 0:n.color,color:"#fff"},children:[O.jsx(mz,{children:n==null?void 0:n.icon}),!r&&O.jsxs(O.Fragment,{children:[O.jsx($x,{onClick:c,children:O.jsx(pz,{className:"text",children:t.name})}),O.jsx(fz,{nodeId:t.id})]}),r&&O.jsx(kx,{autoFocus:!0,value:a,onClick:d,onBlur:f,onKeyDown:m,onChange:p})]})}),Ox=Oe.div`
|
|
649
|
+
display: flex;
|
|
650
|
+
flex-direction: column;
|
|
651
|
+
justify-content: flex-start;
|
|
652
|
+
align-items: center;
|
|
653
|
+
flex-wrap: wrap;
|
|
654
|
+
-webkit-box-flex: 1;
|
|
655
|
+
-ms-flex-positive: 1;
|
|
656
|
+
// padding: 0 50px;
|
|
657
|
+
position: relative;
|
|
658
|
+
user-select: none;
|
|
659
|
+
&::before{
|
|
660
|
+
content: "";
|
|
661
|
+
position: absolute;
|
|
662
|
+
top: -12px;
|
|
663
|
+
left: 50%;
|
|
664
|
+
transform: translateX(-50%);
|
|
665
|
+
width: 0;
|
|
666
|
+
height: 4px;
|
|
667
|
+
border-style: solid;
|
|
668
|
+
border-width: 8px 6px 4px;
|
|
669
|
+
border-color: #cacaca transparent transparent;
|
|
670
|
+
background: #f5f5f7;
|
|
671
|
+
}
|
|
672
|
+
&.start{
|
|
673
|
+
&::before{
|
|
674
|
+
height:0;
|
|
675
|
+
border-width: 0;
|
|
676
|
+
}
|
|
677
|
+
}
|
|
678
|
+
`,Ix=Oe.div`
|
|
679
|
+
display: inline-flex;
|
|
680
|
+
flex-direction: column;
|
|
681
|
+
position: relative;
|
|
682
|
+
width: 220px;
|
|
683
|
+
min-height: 72px;
|
|
684
|
+
flex-shrink: 0;
|
|
685
|
+
background: #fff;
|
|
686
|
+
border-radius: 4px;
|
|
687
|
+
cursor: pointer;
|
|
688
|
+
user-select: none;
|
|
689
|
+
&:after{
|
|
690
|
+
pointer-events: none;
|
|
691
|
+
content: "";
|
|
692
|
+
position: absolute;
|
|
693
|
+
top: 0;
|
|
694
|
+
bottom: 0;
|
|
695
|
+
left: 0;
|
|
696
|
+
right: 0;
|
|
697
|
+
z-index: 2;
|
|
698
|
+
border-radius: 4px;
|
|
699
|
+
border: 1px solid transparent;
|
|
700
|
+
transition: all .1s cubic-bezier(.645, .045, .355, 1);
|
|
701
|
+
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .1)
|
|
702
|
+
}
|
|
703
|
+
.close {
|
|
704
|
+
display: none;
|
|
705
|
+
}
|
|
706
|
+
&:hover{
|
|
707
|
+
outline: solid 1px ${e=>{var t;return(t=e.theme.token)==null?void 0:t.colorPrimary}};
|
|
708
|
+
.close {
|
|
709
|
+
display: inline-flex;
|
|
710
|
+
}
|
|
711
|
+
}
|
|
712
|
+
`,Nx=Oe.div`
|
|
713
|
+
position: relative;
|
|
714
|
+
font-size: 14px;
|
|
715
|
+
padding: 16px;
|
|
716
|
+
padding-right: 30px;
|
|
717
|
+
user-select: none;
|
|
718
|
+
.text{
|
|
719
|
+
overflow: hidden;
|
|
720
|
+
text-overflow: ellipsis;
|
|
721
|
+
user-select: none;
|
|
722
|
+
display: -webkit-box;
|
|
723
|
+
-webkit-line-clamp: 3;
|
|
724
|
+
-webkit-box-orient: vertical;
|
|
725
|
+
white-space: nowrap;
|
|
726
|
+
}
|
|
727
|
+
.secondary{
|
|
728
|
+
color: ${e=>{var t;return(t=e.theme.token)==null?void 0:t.colorTextSecondary}};
|
|
729
|
+
opacity: 0.8;
|
|
730
|
+
}
|
|
731
|
+
.arrow {
|
|
732
|
+
position: absolute;
|
|
733
|
+
right: 10px;
|
|
734
|
+
top: 50%;
|
|
735
|
+
transform: translateY(-50%);
|
|
736
|
+
width: 20px;
|
|
737
|
+
height: 14px;
|
|
738
|
+
font-size: 14px;
|
|
739
|
+
color: ${e=>{var t;return(t=e.theme.token)==null?void 0:t.colorTextSecondary}};
|
|
740
|
+
}
|
|
741
|
+
`,hz=w.memo(e=>{const{node:t}=e,n=Sx(t),r=Ic(t),o=Zt(),a=w.useCallback(()=>{o==null||o.selectNode(t==null?void 0:t.id)},[t==null?void 0:t.id,o]);return O.jsxs(Ox,{className:"node-wrap",children:[O.jsxs(Ix,{className:"node-wrap-box",onClick:a,children:[O.jsx(gz,{node:t,material:n}),O.jsxs(Nx,{className:"content",children:[(r==null?void 0:r.viewContent)&&(r==null?void 0:r.viewContent(t)),O.jsx(Ti,{className:"arrow"})]}),O.jsx(Lm,{nodeId:t.id})]}),(t==null?void 0:t.id)&&O.jsx(Nc,{nodeId:t==null?void 0:t.id}),(t==null?void 0:t.childNode)&&O.jsx(_c,{node:t==null?void 0:t.childNode})]})}),vz=Oe.button`
|
|
742
|
+
border: none;
|
|
743
|
+
outline: none;
|
|
744
|
+
user-select: none;
|
|
745
|
+
justify-content: center;
|
|
746
|
+
font-size: 12px;
|
|
747
|
+
padding: 0 10px;
|
|
748
|
+
height: 30px;
|
|
749
|
+
line-height: 30px;
|
|
750
|
+
border-radius: 15px;
|
|
751
|
+
color: ${e=>{var t;return(t=e.theme.token)==null?void 0:t.colorPrimary}};
|
|
752
|
+
box-shadow: 0 2px 4px 0 rgba(0, 0, 0, .1);
|
|
753
|
+
position: absolute;
|
|
754
|
+
top: -16px;
|
|
755
|
+
left: 50%;
|
|
756
|
+
transform: translateX(-50%);
|
|
757
|
+
transform-origin: center center;
|
|
758
|
+
cursor: pointer;
|
|
759
|
+
z-index: 1;
|
|
760
|
+
display: inline-flex;
|
|
761
|
+
align-items: center;
|
|
762
|
+
-webkit-transition: all .3s cubic-bezier(.645, .045, .355, 1);
|
|
763
|
+
white-space: nowrap;
|
|
764
|
+
transition: all .3s cubic-bezier(.645, .045, .355, 1);
|
|
765
|
+
background: #fff;
|
|
766
|
+
&:hover{
|
|
767
|
+
transform: translateX(-50%) scale(1.1);
|
|
768
|
+
box-shadow: 0 8px 16px 0 rgba(0, 0, 0, .1)
|
|
769
|
+
}
|
|
770
|
+
&:active{
|
|
771
|
+
transform: translateX(-50%);
|
|
772
|
+
box-shadow: none
|
|
773
|
+
}
|
|
774
|
+
`,bz=w.memo(e=>{const{node:t}=e,n=Zt(),r=w.useCallback(()=>{const a=hn();n==null||n.addCondition(t,{id:a,nodeType:dt.condition,name:`条件${t.conditionNodeList.length+1}`}),n==null||n.selectNode(a)},[n,t]),o=VS(t.nodeType);return O.jsx(vz,{onClick:r,children:o})}),yz=Oe.div`
|
|
775
|
+
position: absolute;
|
|
776
|
+
right: -4px;
|
|
777
|
+
top: -4px;
|
|
778
|
+
display: flex;
|
|
779
|
+
opacity: 0.7;
|
|
780
|
+
font-size: 11px;
|
|
781
|
+
`;function Cz(e){const{parent:t,node:n,index:r,length:o}=e,a=Zt(),i=w.useCallback(()=>{n.id&&(a==null||a.removeCondition(t,n.id))},[n.id,t,a]),s=w.useCallback(()=>{a==null||a.cloneCondition(t,n)},[n,t,a]);return O.jsxs(yz,{className:"mini-bar",children:[r!==o-1&&O.jsx(Co,{placement:"topRight",title:"复制条件",arrow:!0,children:O.jsx(kt,{type:"text",size:"small",shape:"circle",icon:j7,onClick:s})}),O.jsx(kt,{type:"text",size:"small",shape:"circle",icon:O.jsx(Xr,{style:{fontSize:11}}),onClick:i})]})}const xz=Oe.div`
|
|
782
|
+
position: absolute;
|
|
783
|
+
right: 0px;
|
|
784
|
+
top: 0px;
|
|
785
|
+
display: flex;
|
|
786
|
+
`;function wz(e){const{index:t}=e;return O.jsxs(xz,{className:"priority",children:["优先级"," ",t+1]})}const Sz=Oe.div`
|
|
787
|
+
position: relative;
|
|
788
|
+
font-size: 12px;
|
|
789
|
+
color: ${e=>{var t,n;return(n=(t=e.theme)==null?void 0:t.token)==null?void 0:n.colorTextSecondary}};
|
|
790
|
+
text-align: left;
|
|
791
|
+
line-height: 16px;
|
|
792
|
+
display: flex;
|
|
793
|
+
user-select: none;
|
|
794
|
+
`,Ez=Oe.div`
|
|
795
|
+
border: solid transparent 1px;
|
|
796
|
+
&:hover{
|
|
797
|
+
line-height: 16px;
|
|
798
|
+
border-bottom: dashed 1px ${e=>{var t;return(t=e.theme.token)==null?void 0:t.colorTextSecondary}};
|
|
799
|
+
}
|
|
800
|
+
user-select: none;
|
|
801
|
+
`,$z=w.memo(e=>{const{node:t,parent:n,index:r,length:o}=e,[a,i]=w.useState(!1),[s,l]=w.useState(t.name);w.useEffect(()=>{l(t.name)},[t.name]);const c=Zt(),d=w.useCallback(()=>{c==null||c.changeCondition(n,{...t,name:s})},[c,s,t,n]),f=w.useCallback(g=>{g.stopPropagation(),i(!0)},[]),m=w.useCallback(g=>{g.stopPropagation()},[]),p=w.useCallback(()=>{d(),i(!1)},[d]),h=w.useCallback(g=>{g.key==="Enter"&&p()},[p]),v=w.useCallback(g=>{l(g.target.value)},[]);return O.jsxs(Sz,{children:[!a&&O.jsxs(O.Fragment,{children:[O.jsx($x,{onClick:f,children:O.jsx(Ez,{children:t.name||"条件"})}),O.jsx(Cz,{parent:n,node:t,index:r,length:o})]}),a&&O.jsx(kx,{autoFocus:!0,value:s,onClick:m,onBlur:p,onKeyDown:h,onChange:v}),!a&&O.jsx(wz,{index:r})]})}),kz=Oe.div`
|
|
802
|
+
display: inline-flex;
|
|
803
|
+
-webkit-box-orient: vertical;
|
|
804
|
+
-webkit-box-direction: normal;
|
|
805
|
+
flex-direction: column;
|
|
806
|
+
-webkit-box-align: center;
|
|
807
|
+
align-items: center;
|
|
808
|
+
position: relative;
|
|
809
|
+
user-select: none;
|
|
810
|
+
&::before{
|
|
811
|
+
content: "";
|
|
812
|
+
position: absolute;
|
|
813
|
+
top: 0;
|
|
814
|
+
left: 0;
|
|
815
|
+
right: 0;
|
|
816
|
+
bottom: 0;
|
|
817
|
+
z-index: 0;
|
|
818
|
+
margin: auto;
|
|
819
|
+
width: 2px;
|
|
820
|
+
height: 100%;
|
|
821
|
+
background-color: #cacaca;
|
|
822
|
+
}
|
|
823
|
+
`,Oz=Oe.div`
|
|
824
|
+
min-height: 220px;
|
|
825
|
+
display: inline-flex;
|
|
826
|
+
-webkit-box-orient: vertical;
|
|
827
|
+
-webkit-box-direction: normal;
|
|
828
|
+
flex-direction: column;
|
|
829
|
+
-webkit-box-flex: 1;
|
|
830
|
+
user-select: none;
|
|
831
|
+
`,Iz=Oe.div`
|
|
832
|
+
padding-top: 30px;
|
|
833
|
+
padding-right: 50px;
|
|
834
|
+
padding-left: 50px;
|
|
835
|
+
-webkit-box-pack: center;
|
|
836
|
+
justify-content: center;
|
|
837
|
+
-webkit-box-align: center;
|
|
838
|
+
align-items: center;
|
|
839
|
+
flex-grow: 1;
|
|
840
|
+
position: relative;
|
|
841
|
+
display: inline-flex;
|
|
842
|
+
-webkit-box-orient: vertical;
|
|
843
|
+
-webkit-box-direction: normal;
|
|
844
|
+
flex-direction: column;
|
|
845
|
+
-webkit-box-flex: 1;
|
|
846
|
+
user-select: none;
|
|
847
|
+
`,Nz=Oe.div`
|
|
848
|
+
position: relative;
|
|
849
|
+
width: 220px;
|
|
850
|
+
min-height: 72px;
|
|
851
|
+
background: #fff;
|
|
852
|
+
border-radius: 4px;
|
|
853
|
+
padding: 8px 16px;
|
|
854
|
+
user-select: none;
|
|
855
|
+
cursor: pointer;
|
|
856
|
+
&::after{
|
|
857
|
+
pointer-events: none;
|
|
858
|
+
content: "";
|
|
859
|
+
position: absolute;
|
|
860
|
+
top: 0;
|
|
861
|
+
bottom: 0;
|
|
862
|
+
left: 0;
|
|
863
|
+
right: 0;
|
|
864
|
+
z-index: 2;
|
|
865
|
+
border-radius: 4px;
|
|
866
|
+
border: 1px solid transparent;
|
|
867
|
+
transition: all .1s cubic-bezier(.645, .045, .355, 1);
|
|
868
|
+
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .1);
|
|
869
|
+
}
|
|
870
|
+
&.active{
|
|
871
|
+
&::after{
|
|
872
|
+
border: 1px solid #3296fa;
|
|
873
|
+
box-shadow: 0 0 6px 0 rgba(50, 150, 250, .3)
|
|
874
|
+
}
|
|
875
|
+
}
|
|
876
|
+
.mini-bar{
|
|
877
|
+
display: none;
|
|
878
|
+
}
|
|
879
|
+
.priority{
|
|
880
|
+
display: flex;
|
|
881
|
+
}
|
|
882
|
+
&:hover{
|
|
883
|
+
&::after{
|
|
884
|
+
border: 1px solid #3296fa;
|
|
885
|
+
box-shadow: 0 0 6px 0 rgba(50, 150, 250, .3)
|
|
886
|
+
}
|
|
887
|
+
.sort-handler{
|
|
888
|
+
display: flex;
|
|
889
|
+
align-items: center;
|
|
890
|
+
}
|
|
891
|
+
.mini-bar{
|
|
892
|
+
display: flex;
|
|
893
|
+
}
|
|
894
|
+
.priority{
|
|
895
|
+
display: none;
|
|
896
|
+
}
|
|
897
|
+
}
|
|
898
|
+
`,Pc=Oe.div`
|
|
899
|
+
position: absolute;
|
|
900
|
+
height: 8px;
|
|
901
|
+
width: 50%;
|
|
902
|
+
background-color: #fff;
|
|
903
|
+
&.left{
|
|
904
|
+
left:-1px;
|
|
905
|
+
}
|
|
906
|
+
&.right{
|
|
907
|
+
right: -1px;
|
|
908
|
+
}
|
|
909
|
+
&.top{
|
|
910
|
+
top: -4px;
|
|
911
|
+
}
|
|
912
|
+
&.bottom{
|
|
913
|
+
bottom: -4px;
|
|
914
|
+
}
|
|
915
|
+
`,Px=Oe.div`
|
|
916
|
+
position: absolute;
|
|
917
|
+
top: 0;
|
|
918
|
+
bottom: 0;
|
|
919
|
+
display: none;
|
|
920
|
+
padding: 0 4px;
|
|
921
|
+
z-index: 1;
|
|
922
|
+
height: 100%;
|
|
923
|
+
color: ${e=>{var t;return(t=e.theme.token)==null?void 0:t.colorTextSecondary}};
|
|
924
|
+
&.left{
|
|
925
|
+
left: 0;
|
|
926
|
+
border-right: 1px solid ${e=>{var t;return(t=e.theme.token)==null?void 0:t.colorBorder}};
|
|
927
|
+
}
|
|
928
|
+
&.right{
|
|
929
|
+
right: 0;
|
|
930
|
+
border-left: 1px solid ${e=>{var t;return(t=e.theme.token)==null?void 0:t.colorBorder}};
|
|
931
|
+
}
|
|
932
|
+
&:hover{
|
|
933
|
+
background-color: ${e=>{var t;return(t=e.theme.token)==null?void 0:t.colorBorderSecondary}};
|
|
934
|
+
}
|
|
935
|
+
`,Pz=Oe.div`
|
|
936
|
+
position: relative;
|
|
937
|
+
font-size: 14px;
|
|
938
|
+
padding: 16px 0;
|
|
939
|
+
padding-right: 30px;
|
|
940
|
+
user-select: none;
|
|
941
|
+
`,_z=w.memo(e=>{const{parent:t,node:n,index:r,length:o}=e,a=Zt(),i=Ic(n),s=w.useCallback(()=>{r>=o-1||a==null||a.selectNode(n==null?void 0:n.id)},[a,n==null?void 0:n.id,r,o]),l=w.useCallback(d=>{d.stopPropagation(),n.id&&(a==null||a.transConditionOneStepToLeft(t,r))},[a,r,n.id,t]),c=w.useCallback(d=>{d.stopPropagation(),n.id&&(a==null||a.transConditionOneStepToRight(t,r))},[a,r,n.id,t]);return O.jsxs(kz,{className:"col-box",draggable:!1,children:[O.jsx(Oz,{className:"condition-node",draggable:!1,children:O.jsxs(Iz,{className:"condition-node-box",draggable:!1,children:[O.jsxs(Nz,{className:"auto-judge",draggable:!1,onClick:s,children:[r!==0&&O.jsx(Px,{className:"sort-handler left",onClick:l,children:"<"}),O.jsx($z,{node:n,parent:t,index:r,length:o}),O.jsx(Pz,{className:"content",children:r===o-1?"默认条件":(i==null?void 0:i.viewContent)&&(i==null?void 0:i.viewContent(n))}),r!==o-1&&O.jsx(Px,{className:"sort-handler right",onClick:c,children:">"}),O.jsx(Lm,{nodeId:n.id})]}),(n==null?void 0:n.id)&&O.jsx(Nc,{nodeId:n==null?void 0:n.id}),(n==null?void 0:n.childNode)&&O.jsx(_c,{node:n==null?void 0:n.childNode})]})}),r===0&&O.jsxs(O.Fragment,{children:[O.jsx(Pc,{className:"top left"}),O.jsx(Pc,{className:"bottom left"})]}),r===o-1&&O.jsxs(O.Fragment,{children:[O.jsx(Pc,{className:"top right"}),O.jsx(Pc,{className:"bottom right"})]})]})}),Tz=Oe.div`
|
|
942
|
+
display: inline-flex;
|
|
943
|
+
`,jz=Oe.div`
|
|
944
|
+
display: flex;
|
|
945
|
+
-webkit-box-orient: vertical;
|
|
946
|
+
-webkit-box-direction: normal;
|
|
947
|
+
-ms-flex-direction: column;
|
|
948
|
+
flex-direction: column;
|
|
949
|
+
-ms-flex-wrap: wrap;
|
|
950
|
+
flex-wrap: wrap;
|
|
951
|
+
-webkit-box-align: center;
|
|
952
|
+
-ms-flex-align: center;
|
|
953
|
+
align-items: center;
|
|
954
|
+
min-height: 270px;
|
|
955
|
+
width: 100%;
|
|
956
|
+
-ms-flex-negative: 0;
|
|
957
|
+
flex-shrink: 0;
|
|
958
|
+
`,Mz=Oe.div`
|
|
959
|
+
display: flex;
|
|
960
|
+
overflow: visible;
|
|
961
|
+
min-height: 180px;
|
|
962
|
+
height: auto;
|
|
963
|
+
border-bottom: 2px solid;
|
|
964
|
+
border-top: 2px solid;
|
|
965
|
+
border-color: #cacaca;
|
|
966
|
+
position: relative;
|
|
967
|
+
margin-top: 15px;
|
|
968
|
+
`,zz=w.memo(e=>{var n;const{node:t}=e;return O.jsx(Tz,{className:"route-wrap",draggable:!1,children:O.jsxs(jz,{className:"route-box-wrap",draggable:!1,children:[O.jsxs(Mz,{className:"route-box",draggable:!1,children:[O.jsx(bz,{node:t}),(n=t.conditionNodeList)==null?void 0:n.map((r,o)=>{var a;return O.jsx(_z,{parent:t,node:r,index:o,length:((a=t.conditionNodeList)==null?void 0:a.length)||0},r.id)})]}),(t==null?void 0:t.id)&&O.jsx(Nc,{nodeId:t==null?void 0:t.id}),(t==null?void 0:t.childNode)&&O.jsx(_c,{node:t==null?void 0:t.childNode})]})})}),_c=w.memo(e=>{const{node:t}=e;return ui(t.nodeType)?O.jsx(zz,{node:t}):O.jsx(hz,{node:t})}),Az=Oe.div`
|
|
969
|
+
width: 100%;
|
|
970
|
+
font-size: 14px;
|
|
971
|
+
color: ${e=>{var t;return(t=e.theme.token)==null?void 0:t.colorTextSecondary}};
|
|
972
|
+
text-align: left;
|
|
973
|
+
user-select: none;
|
|
974
|
+
margin-bottom: 56px;
|
|
975
|
+
text-align: center;
|
|
976
|
+
.end-node-circle {
|
|
977
|
+
width: 10px;
|
|
978
|
+
height: 10px;
|
|
979
|
+
margin: auto;
|
|
980
|
+
border-radius: 50%;
|
|
981
|
+
background: #cacaca;
|
|
982
|
+
}
|
|
983
|
+
.end-node-text {
|
|
984
|
+
display: inline-block;
|
|
985
|
+
margin: 10px auto 0;
|
|
986
|
+
padding: 7px 20px;
|
|
987
|
+
border-radius: 20px;
|
|
988
|
+
text-align: center;
|
|
989
|
+
background-color: #ebeef5;
|
|
990
|
+
box-shadow: 0px 0px 12px rgba(0,0,0,.12);
|
|
991
|
+
}
|
|
992
|
+
`,Dz=w.memo(()=>O.jsxs(Az,{className:"end-node",children:[O.jsx("div",{className:"end-node-circle"}),O.jsx("div",{className:"end-node-text",children:"流程结束"})]})),Lz=!1,Fz=w.memo(()=>{const e=Oc(),t=Ic(e),n=Zt(),r=Sx(e),o=w.useCallback(()=>{},[e==null?void 0:e.id,n]);return O.jsxs(Ox,{className:"node-wrap start",children:[O.jsxs(Ix,{className:"node-wrap-box",onClick:o,children:[O.jsx(Ex,{className:"node-title start-node-title",style:{backgroundColor:r==null?void 0:r.color},children:(r==null?void 0:r.label)||""}),O.jsxs(Nx,{className:"content",children:[(t==null?void 0:t.viewContent)&&(t==null?void 0:t.viewContent(e)),Lz]}),(e==null?void 0:e.id)&&O.jsx(Lm,{nodeId:e.id})]}),(e==null?void 0:e.id)&&O.jsx(Nc,{nodeId:e==null?void 0:e.id}),(e==null?void 0:e.childNode)&&O.jsx(_c,{node:e==null?void 0:e.childNode}),O.jsx(Dz,{})]})});function Rz(){const[e,t]=w.useState([]),n=Zt(),r=w.useCallback(o=>{t(o)},[]);return w.useEffect(()=>n==null?void 0:n.subscribeRedoListChange(r),[r,n]),w.useEffect(()=>{t((n==null?void 0:n.store.getState().redoList)||[])},[n==null?void 0:n.store]),e}function Bz(){const[e,t]=w.useState([]),n=Zt(),r=w.useCallback(o=>{t(o)},[]);return w.useEffect(()=>n==null?void 0:n.subscribeUndoListChange(r),[r,n]),w.useEffect(()=>{t((n==null?void 0:n.store.getState().undoList)||[])},[n==null?void 0:n.store]),e}const _x=Oe.div`
|
|
993
|
+
display: flex;
|
|
994
|
+
align-items: center;
|
|
995
|
+
position: absolute;
|
|
996
|
+
user-select: none;
|
|
997
|
+
background-color: #f5f5f7;
|
|
998
|
+
padding: 4px 8px;
|
|
999
|
+
border-radius: 5px;
|
|
1000
|
+
top: 16px;
|
|
1001
|
+
&.float{
|
|
1002
|
+
box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.15);
|
|
1003
|
+
transform: $scale(1.05);
|
|
1004
|
+
}
|
|
1005
|
+
transition: all 0.3s;
|
|
1006
|
+
&.workflow-editor-zoombar{
|
|
1007
|
+
right: 32px;
|
|
1008
|
+
}
|
|
1009
|
+
&.workflow-operation-bar{
|
|
1010
|
+
left: 32px;
|
|
1011
|
+
}
|
|
1012
|
+
`,Vz=w.memo(e=>{const{float:t,zoom:n,onZoomIn:r,onZoomOut:o}=e;return O.jsx(_x,{className:`workflow-editor-zoombar${t?" float":""}`,children:O.jsxs(zr,{children:[O.jsx(kt,{type:"text",size:"small",icon:O.jsx(hx,{}),disabled:n<=.1,onClick:o}),Math.round(n*100),"%",O.jsx(kt,{type:"text",size:"small",icon:O.jsx(xo,{}),disabled:n>=3,onClick:r})]})})}),Hz=w.memo(e=>{const{float:t}=e,n=Rz(),r=Bz(),o=Zt(),a=w.useCallback(()=>{o==null||o.undo()},[o]),i=w.useCallback(()=>{o==null||o.redo()},[o]);return O.jsx(_x,{className:`workflow-operation-bar${t?" float":""}`,children:O.jsxs(zr,{children:[O.jsx(kt,{type:"text",size:"small",icon:T7,disabled:r.length===0,onClick:a}),O.jsx(kt,{type:"text",size:"small",disabled:n.length===0,icon:_7,onClick:i})]})})}),Wz=Oe.div`
|
|
1013
|
+
display: flex;
|
|
1014
|
+
align-items: center;
|
|
1015
|
+
justify-content: flex-end;
|
|
1016
|
+
height: 48px;
|
|
1017
|
+
`,qz=w.memo(e=>{const{onConfirm:t,onCancel:n}=e;return O.jsx(Wz,{className:"settings-footer",children:O.jsxs(zr,{children:[O.jsx(kt,{onClick:n,children:"取消"}),O.jsx(kt,{type:"primary",onClick:t,children:"确认"})]})})}),Uz=Oe.div`
|
|
1018
|
+
display: flex;
|
|
1019
|
+
cursor: pointer;
|
|
1020
|
+
`,Gz=w.memo(e=>{const{value:t,onChange:n}=e,[r,o]=w.useState(!1),[a,i]=w.useState(t);w.useEffect(()=>{i(t)},[t]);const s=w.useCallback(()=>{n==null||n(a)},[a,n]),l=w.useCallback(m=>{m.stopPropagation(),o(!0)},[]),c=w.useCallback(()=>{s(),o(!1)},[s]),d=w.useCallback(m=>{m.key==="Enter"&&c()},[c]),f=w.useCallback(m=>{i(m.target.value)},[]);return O.jsxs(O.Fragment,{children:[!r&&O.jsxs(Uz,{onClick:l,children:[O.jsx(Tx,{className:"title-text",children:a}),O.jsx(hm,{})]}),r&&O.jsx(Rt,{autoFocus:!0,value:a,onBlur:c,onKeyDown:d,onChange:f})]})}),Kz=Oe.div`
|
|
1021
|
+
font-weight: normal;
|
|
1022
|
+
`,Tx=Oe.span`
|
|
1023
|
+
margin-right: 8px;
|
|
1024
|
+
`,Xz=w.memo(e=>{const{node:t,onNameChange:n}=e;return O.jsx(Kz,{children:t.nodeType===dt.start?O.jsx(Tx,{className:"title-text",children:"发起人"}):O.jsx(Gz,{value:t.name,onChange:n})})}),Yz=Oe.div`
|
|
1025
|
+
display: flex;
|
|
1026
|
+
flex-flow: column;
|
|
1027
|
+
`,Jz=w.memo(()=>{const e=Q7(),t=Ic(e),n=Zt(),r=w.useRef(),o=w.useCallback(()=>{n==null||n.selectNode(void 0)},[n]),a=w.useCallback(async()=>{!(e!=null&&e.id)||!r.current||await r.current.validateFields().then(async()=>{const s=await r.current.getValue();n==null||n.changeNodeConfig(e.id,s),n==null||n.selectNode(void 0)}).catch(s=>{console.log("Validation failed:",s)})},[e==null?void 0:e.id,n]),i=w.useCallback(s=>{e!=null&&e.id&&(n==null||n.changeNode({...e,name:s}))},[e,n]);return O.jsx(sm,{title:e&&O.jsx(Xz,{node:e,onNameChange:i}),placement:"right",width:656,closable:!1,extra:O.jsx(kt,{size:"small",type:"text",icon:O.jsx(Xr,{}),onClick:o}),footer:O.jsx(qz,{onConfirm:a,onCancel:o}),onClose:o,open:!!e,children:O.jsx(Yz,{className:"settings-panel-content",children:(t==null?void 0:t.settersPanel)&&O.jsx(t.settersPanel,{ref:r,value:e==null?void 0:e.config})})})}),Zz=Oe.div`
|
|
1028
|
+
flex: 1;
|
|
1029
|
+
display: flex;
|
|
1030
|
+
flex-flow: column;
|
|
1031
|
+
background-color: #fff;
|
|
1032
|
+
position: relative;
|
|
1033
|
+
height: 0;
|
|
1034
|
+
`,Qz=Oe.div`
|
|
1035
|
+
flex: 1;
|
|
1036
|
+
padding: 56px 16px;
|
|
1037
|
+
padding-bottom: 0;
|
|
1038
|
+
overflow: auto;
|
|
1039
|
+
cursor: grab;//grabbing
|
|
1040
|
+
display: flex;
|
|
1041
|
+
`,e9=Oe.div`
|
|
1042
|
+
flex: 1;
|
|
1043
|
+
transform-origin: center center;
|
|
1044
|
+
`;function jx(e){return Math.round(e*10)/10}const t9=w.memo(e=>{const[t,n]=w.useState(1),[r,o]=w.useState(!1),[a,i]=w.useState(),s=w.useRef(null),l=w.useCallback(()=>{n(h=>jx(h<3?h+.1:h))},[]),c=w.useCallback(()=>{n(h=>jx(h>.1?h-.1:h))},[]),d=w.useCallback(h=>{s.current&&i({x:h.clientX,y:h.clientY,scrollLeft:s.current.scrollLeft,scrollTop:s.current.scrollTop})},[]),f=w.useCallback(()=>{i(void 0)},[]),m=w.useCallback(h=>{if(!a)return;const v={x:a.x-h.clientX,y:a.y-h.clientY};s.current&&(s.current.scrollLeft=a.scrollLeft+v.x,s.current.scrollTop=a.scrollTop+v.y)},[a]),p=w.useCallback(h=>{h.currentTarget.scrollTop>60||h.currentTarget.scrollLeft>60?o(!0):o(!1)},[]);return O.jsxs(Zz,{...e,children:[O.jsx(Qz,{ref:s,className:"flow-canvas",style:{cursor:a?"grabbing":"grab"},draggable:!1,onMouseDown:d,onMouseUp:f,onMouseMove:m,onMouseLeave:f,onScroll:p,children:O.jsx(e9,{style:{transform:`scale(${t})`},draggable:!1,children:O.jsx(Fz,{})})}),O.jsx(Hz,{float:r}),O.jsx(Vz,{float:r,zoom:t,onZoomIn:l,onZoomOut:c}),O.jsx(Jz,{})]})}),n9=w.memo(e=>{const{themeMode:t,children:n}=e;return O.jsx(ir,{theme:{algorithm:t==="dark"?EC.darkAlgorithm:EC.defaultAlgorithm,token:{borderRadius:2,colorPrimary:"#2f68e6"},components:{Table:{headerBg:"#edeff4"}}},children:n})}),r9=Oe.div`
|
|
1045
|
+
display: flex;
|
|
1046
|
+
align-items: center;
|
|
1047
|
+
margin-bottom: 16px;
|
|
1048
|
+
padding: 2px 1px;
|
|
1049
|
+
border-radius: 6px;
|
|
1050
|
+
border-bottom: 1px ${e=>{var t;return(t=e.theme.token)==null?void 0:t.colorBorderSecondary}} solid;
|
|
1051
|
+
`,o9=Oe.div`
|
|
1052
|
+
position: relative;
|
|
1053
|
+
color: ${e=>{var t;return(t=e.theme.token)==null?void 0:t.colorText}};
|
|
1054
|
+
text-align: center;
|
|
1055
|
+
height: 40px;
|
|
1056
|
+
line-height: 40px;
|
|
1057
|
+
cursor: pointer;
|
|
1058
|
+
margin-right: 32px;
|
|
1059
|
+
&.active {
|
|
1060
|
+
color: ${e=>{var t;return(t=e.theme.token)==null?void 0:t.colorPrimary}};
|
|
1061
|
+
font-weight: bold;
|
|
1062
|
+
}
|
|
1063
|
+
&:hover {
|
|
1064
|
+
color: ${e=>{var t;return(t=e.theme.token)==null?void 0:t.colorPrimary}};
|
|
1065
|
+
}
|
|
1066
|
+
`,a9=Oe.div`
|
|
1067
|
+
position: absolute;
|
|
1068
|
+
left: 0;
|
|
1069
|
+
bottom: 0;
|
|
1070
|
+
background: ${e=>{var t;return(t=e.theme.token)==null?void 0:t.colorPrimary}};
|
|
1071
|
+
height: 2px;
|
|
1072
|
+
`,i9=w.memo(e=>{var s,l;const{value:t,options:n,onChange:r}=e,[o,a]=w.useState(t||((l=(s=e.options)==null?void 0:s[0])==null?void 0:l.key));w.useEffect(()=>{a(t)},[t]);const i=w.useCallback(c=>{a(c),r==null||r(c)},[r]);return O.jsx(r9,{children:n.map(c=>O.jsx(w.Fragment,{children:O.jsxs(o9,{className:o===c.key?"active":void 0,onClick:()=>i(c.key),children:[c.label,o===c.key&&O.jsx(a9,{})]})},c.key))})}),s9={display:"grid",marginTop:"10px"};function l9({form:e}){const t=e.getFieldValue("actions"),n=(t==null?void 0:t.map(p=>p.code))||[],[r,o]=w.useState(n),[a,i]=w.useState(q7),s={wrapperCol:{span:24}},l=()=>{a.forEach(p=>{t.length&&t.forEach(h=>{h.code===p.code&&(p.button=h.button)})}),i(a)};w.useEffect(()=>{l()},[t]);const c=p=>{o(p);const h=[];a.forEach(v=>{v.code&&p.includes(v.code)&&h.push(v)}),e.setFieldValue("actions",h)},d=p=>{const h=JSON.parse(JSON.stringify(a));h.forEach(v=>{v.code===p.code&&(v.edit=!v.edit)}),i(h)},f=(p,h)=>{const v=JSON.parse(JSON.stringify(a));v.forEach(g=>{g.code===h.code&&(g.button=p.target.value)}),i(v)},m=p=>{const h=JSON.parse(JSON.stringify(a)),v=[];h.forEach(g=>{g.code===p.code&&(g.edit=!g.edit),r.includes(g.code)&&v.push(g)}),i(h),e.setFieldValue("actions",v)};return O.jsxs(O.Fragment,{children:[O.jsxs(wo,{children:[O.jsx(Xt,{span:12,style:{fontWeight:"bold"},children:"权限名字"}),O.jsx(Xt,{span:12,style:{fontWeight:"bold"},children:"按钮名字"})]}),O.jsx(ur.Group,{style:s9,value:r,onChange:c,children:O.jsx(O.Fragment,{children:a.map(p=>O.jsxs(wo,{children:[O.jsx(Xt,{span:12,children:O.jsx(ur,{value:p.code,style:{lineHeight:"32px"},children:p.name})}),!p.edit&&O.jsxs(Xt,{span:12,children:[p.button," ",O.jsx(hm,{onClick:()=>d(p)})]}),p.edit&&O.jsx(Xt,{span:12,children:O.jsx(Rt,{placeholder:"按钮名字",value:p.button,onChange:h=>f(h,p),onBlur:()=>m(p)})})]},p.code))})}),O.jsx("div",{style:{display:"none"},children:O.jsx($e.List,{name:"actions",children:p=>O.jsx(O.Fragment,{children:p.map((h,v)=>w.createElement($e.Item,{...s,required:!1,key:v},O.jsxs("div",{style:{display:"flex",alignItems:"center",gap:4},children:[O.jsx($e.Item,{name:[h.name,"code"],noStyle:!0,children:O.jsx(Rt,{placeholder:"权限"})}),O.jsx($e.Item,{name:[h.name,"name"],noStyle:!0,children:O.jsx(Rt,{placeholder:"权限名字"})}),O.jsx($e.Item,{name:[h.name,"button"],noStyle:!0,children:O.jsx(Rt,{placeholder:"按钮名字"})})]})))})})})]})}function c9({id:e,value:t,onChange:n}){const[r,o]=w.useState([]),[a,i]=w.useState();w.useEffect(()=>{jw().then(l=>{var c;o(((c=l.data)==null?void 0:c.roleList)||[])})},[]),w.useEffect(()=>{const l=t!=null&&t.ids?t.ids.split(","):[];i(l==null?void 0:l[0])},[t]);const s=l=>{const c=r.find(d=>d.value===l);c?(n==null||n({ids:c.value,names:c.label}),i(c.value)):(n==null||n(void 0),i(void 0))};return O.jsx("div",{id:e,children:O.jsx(En,{value:a,options:r,placeholder:"请选择角色",allowClear:!0,onChange:s})})}function Fm({id:e,value:t,onChange:n}){const[r,o]=w.useState([]),[a,i]=w.useState([]);w.useEffect(()=>{jw().then(l=>{var c;o(((c=l.data)==null?void 0:c.userList)||[])})},[]),w.useEffect(()=>{const l=t!=null&&t.ids?t.ids.split(","):[];i(l)},[t]);const s=l=>{const c=r.filter(d=>l==null?void 0:l.includes(d.value));if(c&&c.length){const d=c.map(m=>m.value),f=c.map(m=>m.label);n==null||n({ids:d.join(","),names:f.join(",")||""}),i(d)}else n==null||n(void 0),i([])};return O.jsx("div",{id:e,children:O.jsx(En,{mode:"multiple",value:a,options:r,placeholder:"请选择成员",onChange:s})})}const Rm="userId",Mx="initiator",u9="initiatorDirectManager",d9="initiatorDepartmentManager",Bm="role",zx=[{value:Rm,label:"指定成员"},{value:Mx,label:"发起人自己"},{value:u9,label:"发起⼈的直属主管"},{value:d9,label:"发起⼈的部⻔主管"},{value:Bm,label:"指定角色"}],f9={display:"grid",gridTemplateColumns:"repeat(2, 1fr)",gap:8};function Vm({form:e,applyType:t="approver"}){const[n,r]=w.useState(e.getFieldValue("groupType")||"userId"),o=w.useMemo(()=>t==="message"?"通知人员":"成员选择",[t]),a=w.useMemo(()=>t==="message"?"通知角色":"角色选择",[t]),i=w.useCallback(()=>{e.setFieldsValue({assignee:void 0,role:void 0})},[e]);return w.useEffect(()=>{e.getFieldValue("groupType")||e.setFieldsValue({groupType:n})},[]),O.jsxs(O.Fragment,{children:[O.jsx($e.Item,{label:"用户类型",name:"groupType",required:!0,children:O.jsx(Ft.Group,{style:f9,onChange:s=>{const l=s.target.value;r(l),i()},children:zx.map(s=>O.jsx(Ft,{value:s.value,children:s.label},s.value))})}),n==="userId"&&O.jsx(O.Fragment,{children:O.jsx($e.Item,{label:o,name:"assignee",required:!0,rules:[{required:!0,message:`请选择${o}`}],children:O.jsx(Fm,{})})}),n==="role"&&O.jsx(O.Fragment,{children:O.jsx($e.Item,{label:a,name:"role",required:!0,rules:[{required:!0,message:`请选择${a}`}],children:O.jsx(c9,{})})})]})}const Ax=[{label:"会签",description:"默认需要所有审批人同意",value:"countersign",needConfig:!0,text:{configTitle:"会签配置",ratioTitle:"会签审核通过比例(%)",numTitle:"会签审核通过数量"}},{label:"或签",description:"一名审批人同意即可通过",value:"orSign",needConfig:!0,text:{configTitle:"或签配置",ratioTitle:"或签审核拒绝比例(%)",numTitle:"或签审核拒绝数量"}},{label:"并签",description:"同时审批通过",value:"andSign",needConfig:!0,text:{configTitle:"并签配置",ratioTitle:"并签审核通过比例(%)",numTitle:"并签审核通过数量"}},{label:"依次审批",description:"按审批顺序依次审批",value:"serialSign",needConfig:!1}],m9={display:"flex",flexDirection:"column",gap:8},Dx={display:"grid",gridTemplateColumns:"repeat(2, 1fr)",gap:8};function p9({form:e}){var c,d,f;const[t,n]=w.useState(),[r,o]=w.useState(e.getFieldValue("signConfig.useRatio")||!0),a=$e.useWatch("groupType",e),i=$e.useWatch(["approver_is_empty","type"],e),s=$e.useWatch(["comment_setting","type"],e),l=m=>{const p=Ax.find(h=>h.value===m);n(p)};return w.useEffect(()=>{l(e.getFieldValue("approverType")||"countersign")},[e]),O.jsxs(O.Fragment,{children:[O.jsx(Vm,{form:e}),a!==Mx&&O.jsxs(O.Fragment,{children:[O.jsx($e.Item,{label:"多人审批时采用的审批方式",name:"approverType",required:!0,children:O.jsx(Ft.Group,{style:m9,onChange:m=>{l(m.target.value)},children:Ax.map(m=>O.jsxs(Ft,{value:m.value,children:[m.label,"(",m.description,")"]},m.value))})}),(t==null?void 0:t.needConfig)&&O.jsxs(O.Fragment,{children:[O.jsx("p",{children:(c=t==null?void 0:t.text)==null?void 0:c.configTitle}),O.jsx($e.Item,{layout:"horizontal",label:"类型",name:["signConfig","useRatio"],rules:[{required:!0}],children:O.jsx(cs,{checkedChildren:"按比例",unCheckedChildren:"按数量",onChange:o})}),r&&O.jsx($e.Item,{layout:"horizontal",label:(d=t==null?void 0:t.text)==null?void 0:d.ratioTitle,name:["signConfig","ratio"],rules:[{required:!0,message:"请输入比例"}],children:O.jsx(as,{min:1,max:100,step:1,precision:2})}),!r&&O.jsx($e.Item,{layout:"horizontal",label:(f=t==null?void 0:t.text)==null?void 0:f.numTitle,name:["signConfig","num"],rules:[{required:!0,message:"请输入数量"}],children:O.jsx(as,{min:1,step:1,precision:0})})]})]}),O.jsx($e.Item,{label:"审批人包含发起人时",name:["initiator_is_included","type"],required:!0,children:O.jsxs(Ft.Group,{style:Dx,children:[O.jsx(Ft,{value:"require_process",children:"发起人继续处理"}),O.jsx(Ft,{value:"auto_pass",children:"发起人不用处理"}),O.jsx(Ft,{value:"forward_initiatorDirectManager",children:"转交给发起人直属主管处理"}),O.jsx(Ft,{value:"forward_initiatorDepartmentManager",children:"转交给发起人部门主管处理"})]})}),O.jsx($e.Item,{label:"审批人为空时",name:["approver_is_empty","type"],required:!0,children:O.jsxs(Ft.Group,{style:Dx,children:[O.jsx(Ft,{value:"auto_pass",children:"自动通过"}),O.jsx(Ft,{value:"auto_refuse",children:"自动拒绝"}),O.jsx(Ft,{value:"assign_approver",children:"指定人员"}),O.jsx(Ft,{value:"prompt_error",children:"报错提醒"})]})}),i==="assign_approver"&&O.jsx(O.Fragment,{children:O.jsx($e.Item,{label:"指定人员",name:["approver_is_empty","user"],required:!0,rules:[{required:!0,message:"请选择指定人员"}],children:O.jsx(Fm,{})})}),O.jsx($e.Item,{label:"审批被拒绝时",name:["approval_is_refused","type"],required:!0,rules:[{required:!0,message:"请选择审批被拒绝时的操作"}],children:O.jsxs(Ft.Group,{children:[O.jsx(Ft,{value:"end_process",children:"直接结束流程"}),O.jsx(Ft,{value:"back_to_initiator",children:"退回到发起人"})]})}),O.jsx($e.Item,{label:"审批意⻅设置",name:["comment_setting","type"],required:!0,rules:[{required:!0,message:"请选择审批被拒绝时的操作"}],children:O.jsxs(Ft.Group,{children:[O.jsx(Ft,{value:"everyone",children:"所有人可见"}),O.jsx(Ft,{value:"assign_approver",children:"指定人员可见"})]})}),s==="assign_approver"&&O.jsx(O.Fragment,{children:O.jsx($e.Item,{label:"指定人员",name:["comment_setting","user"],required:!0,rules:[{required:!0,message:"请选择指定人员"}],children:O.jsx(Fm,{})})})]})}function g9(){const e={labelCol:{xs:{span:24},sm:{span:5}},wrapperCol:{xs:{span:24},sm:{span:24}}};return O.jsx($e.List,{name:"extended",children:(t,{add:n,remove:r},{errors:o})=>O.jsxs(O.Fragment,{children:[t.map((a,i)=>w.createElement($e.Item,{...e,required:!1,key:i},O.jsxs("div",{style:{display:"flex",alignItems:"center",gap:4},children:[O.jsx($e.Item,{name:[a.name,"name"],noStyle:!0,children:O.jsx(Rt,{placeholder:"扩展名"})}),O.jsx($e.Item,{name:[a.name,"code"],noStyle:!0,children:O.jsx(Rt,{placeholder:"扩展值"})}),O.jsx(kc,{onClick:()=>{r(a.name)}})]}))),O.jsxs($e.Item,{children:[O.jsx(kt,{type:"dashed",onClick:()=>n(),style:{width:"100%"},icon:O.jsx(xo,{}),children:"添加扩展"}),O.jsx($e.ErrorList,{errors:o})]})]})})}function Lx(){const e={labelCol:{xs:{span:24},sm:{span:5}},wrapperCol:{xs:{span:24},sm:{span:24}}};return O.jsxs("div",{children:[O.jsxs(wo,{gutter:10,style:{marginBottom:"20px",background:"#fafafa",lineHeight:"40px"},children:[O.jsx(Xt,{span:12,style:{paddingLeft:"10px",fontWeight:"bold"},children:"表单字段"}),O.jsx(Xt,{span:12,style:{fontWeight:"bold"},children:"操作"})]}),O.jsx($e.List,{name:"formConfig",children:(t,{add:n,remove:r},{errors:o})=>O.jsxs(O.Fragment,{children:[t.map((a,i)=>w.createElement($e.Item,{...e,required:!1,key:i},O.jsxs(wo,{gutter:10,children:[O.jsx(Xt,{span:12,children:O.jsx($e.Item,{name:[a.name,"name"],noStyle:!0,children:O.jsx(Rt,{placeholder:"字段名"})})}),O.jsx(Xt,{span:10,children:O.jsx($e.Item,{name:[a.name,"operate"],noStyle:!0,children:O.jsxs(Ft.Group,{defaultValue:"1",children:[O.jsx(Ft,{value:"1",children:"只读"}),O.jsx(Ft,{value:"2",children:"编辑"}),O.jsx(Ft,{value:"3",children:"隐藏"})]})})}),O.jsx(Xt,{span:2,children:O.jsx(kc,{onClick:()=>{r(a.name)}})})]}))),O.jsxs($e.Item,{children:[O.jsx(kt,{type:"dashed",onClick:()=>n(),style:{width:"100%"},icon:O.jsx(xo,{}),children:"添加字段"}),O.jsx($e.ErrorList,{errors:o})]})]})})]})}function Hm({name:e}){return O.jsxs(O.Fragment,{children:[O.jsx($e.Item,{label:"请求地址",required:!0,name:[...e,"api_request_url"],rules:[{required:!0,message:"请输入请求地址"},{type:"url",message:"请输入正确的URL地址"}],children:O.jsx(Rt,{placeholder:"请输入请求地址"})}),O.jsx($e.Item,{label:"请求头",tooltip:"请求头格式为JSON字符串",name:[...e,"api_request_headers"],children:O.jsx(Rt.TextArea,{autoSize:{minRows:4,maxRows:6},placeholder:"请输入请求头"})}),O.jsx($e.Item,{label:"请求体",tooltip:"请求体格式为JSON字符串",name:[...e,"api_request_body"],children:O.jsx(Rt.TextArea,{autoSize:{minRows:4,maxRows:6},placeholder:"请输入请求体"})})]})}function h9({form:e}){const t=$e.useWatch(["listeners","task_create","open"],e),n=$e.useWatch(["listeners","task_finish","open"],e);return O.jsxs(O.Fragment,{children:[O.jsx($e.Item,{label:"创建任务",name:["listeners","task_create","open"],children:O.jsx(cs,{checkedChildren:"开启",unCheckedChildren:"关闭"})}),t&&O.jsx(Hm,{name:["listeners","task_create"]}),O.jsx($e.Item,{label:"任务完成",name:["listeners","task_finish","open"],children:O.jsx(cs,{checkedChildren:"开启",unCheckedChildren:"关闭"})}),n&&O.jsx(Hm,{name:["listeners","task_finish"]})]})}const v9=w.memo(w.forwardRef((e,t)=>{const[n]=$e.useForm(),[r,o]=w.useState("assignee");return w.useImperativeHandle(t,()=>({getValue:()=>n.getFieldsValue(),validateFields:()=>n.validateFields()}),[n]),O.jsxs($e,{form:n,layout:"vertical",colon:!1,initialValues:e.value,children:[O.jsx(i9,{options:[{key:"assignee",label:"审批人"},{key:"actions",label:"操作权限"},{key:"listeners",label:"监听器"}],value:r,onChange:o}),O.jsx("div",{style:{display:r==="assignee"?"block":"none"},children:O.jsx(p9,{form:n})}),O.jsx("div",{style:{display:r==="actions"?"block":"none"},children:O.jsx(l9,{form:n})}),O.jsx("div",{style:{display:r==="formConfig"?"block":"none"},children:O.jsx(Lx,{})}),O.jsx("div",{style:{display:r==="extended"?"block":"none"},children:O.jsx(g9,{})}),O.jsx("div",{style:{display:r==="listeners"?"block":"none"},children:O.jsx(h9,{form:n})})]})}));function b9(){return O.jsxs(wo,{gutter:10,style:{marginBottom:20,background:"#fafafa",lineHeight:"40px"},children:[O.jsx(Xt,{span:3,style:{paddingLeft:10,fontWeight:"bold"},children:"关系"}),O.jsx(Xt,{span:9,style:{fontWeight:"bold"},children:"字段"}),O.jsx(Xt,{span:6,style:{fontWeight:"bold"},children:"条件"}),O.jsx(Xt,{span:4,style:{fontWeight:"bold"},children:"条件值"}),O.jsx(Xt,{span:2,style:{fontWeight:"bold"},children:"操作"})]})}const y9=[{label:"且",value:"and"},{label:"或",value:"or"}],C9={and:"&&",or:"||"},Fx={eq:"等于",ne:"不等于",gt:"大于",ge:"大于等于",lt:"小于",le:"小于等于",like:"包含",like_start:"开头包含",like_end:"结尾包含",empty:"为空",not_empty:"不为空"},x9={eq:"=",ne:"!=",gt:">",ge:">=",lt:"<",le:"<=",like:"contains",like_start:"startsWith",like_end:"endsWith",empty:"is empty",not_empty:"is not empty"},w9=["eq","ne"],S9=["eq","ne","gt","ge","lt","le"],E9={text:w9.map(e=>({label:Fx[e],value:e})),number:S9.map(e=>({label:Fx[e],value:e}))},$9={relation:"and",field:"",fieldType:"text",operator:"eq",value:""};function k9(e){const{item:t,fields:n,operatorOptionsByType:r,valueControls:o,onChange:a,onRemove:i}=e,s=w.useMemo(()=>n.map(v=>({label:v.label,value:v.value})),[n]),l=w.useMemo(()=>r[t.fieldType]||[],[r,t.fieldType]),c=t.operator!=="empty"&&t.operator!=="not_empty",d=o[t.fieldType],f=w.useCallback(v=>a({...t,relation:v}),[t,a]),m=w.useCallback(v=>{const g=n.find(S=>S.value===v),b=g?g.type:t.fieldType,y=r[b].map(S=>S.value),x=y.includes(t.operator)?t.operator:y[0];a({...t,field:v,fieldType:b,operator:x,value:x==="empty"||x==="not_empty"?void 0:b==="number"?0:""})},[n,t,a,r]),p=w.useCallback(v=>{const g=v==="empty"||v==="not_empty"?void 0:t.fieldType==="number"?typeof t.value=="number"?t.value:0:typeof t.value=="string"?t.value:"";a({...t,operator:v,value:g})},[t,a]),h=w.useCallback(v=>a({...t,value:v}),[t,a]);return O.jsxs(wo,{gutter:10,style:{marginBottom:8},children:[O.jsx(Xt,{span:3,children:O.jsx(En,{placeholder:"关系",options:y9,value:t.relation,onChange:f,style:{width:"100%"}})}),O.jsx(Xt,{span:9,children:O.jsx(En,{placeholder:"字段",options:s,value:t.field,onChange:m,style:{width:"100%"}})}),O.jsx(Xt,{span:6,children:O.jsx(En,{placeholder:"条件",options:l,value:t.operator,onChange:p,style:{width:"100%"}})}),O.jsx(Xt,{span:4,children:c&&d?O.jsx(d,{value:t.value,onChange:h}):null}),O.jsx(Xt,{span:2,style:{display:"flex",alignItems:"center"},children:O.jsx(kc,{onClick:i})})]})}function O9(e){const{value:t,onChange:n,fields:r,defaultCondition:o,operatorOptionsByType:a,valueControls:i}=e,s=w.useCallback(()=>n([...t||[],o]),[n,t,o]),l=w.useCallback(d=>{const f=[...t];f.splice(d,1),n(f)},[n,t]),c=w.useCallback((d,f)=>{const m=[...t];m[d]=f,n(m)},[n,t]);return O.jsxs(O.Fragment,{children:[(t||[]).map((d,f)=>O.jsx(k9,{item:d,fields:r,operatorOptionsByType:a,valueControls:i,onChange:m=>c(f,m),onRemove:()=>l(f)},f)),O.jsx(kt,{type:"dashed",onClick:s,style:{width:"100%"},icon:O.jsx(xo,{}),children:"添加条件"})]})}const I9={text:({value:e,onChange:t})=>{const n=typeof e=="string"?e:"";return O.jsx(Rt,{value:n,onChange:r=>t(r.target.value),placeholder:"条件值"})},number:({value:e,onChange:t})=>{const n=typeof e=="number"?e:void 0;return O.jsx(as,{style:{width:"100%"},value:n,onChange:r=>t(typeof r=="number"?r:void 0)})}};function N9(e){const t=["empty","not_empty"];function n(i,s){return i===0||!s?"":` ${C9[s]||""} `}function r(i){let s="";return t.includes(i.operator)||!i.value?"":(i.fieldType==="text"?s=`'${i.value}'`:s=i.value.toString(),` ${s}`)}function o(i){if(!i.field||!i.operator)return"";const s=r(i);if(!t.includes(i.operator)&&!s)return"";const l=x9[i.operator]||"";return`${i.field} ${l}${s}`}if(!e)return"";let a="";return e.forEach((i,s)=>{a+=n(s,i.relation),a+=o(i)}),a?`\${${a}}`:""}function P9(e){const[t,n]=w.useState([]),[r,o]=w.useState([]),a="value"in e,i=w.useMemo(()=>a?e.value||[]:t,[a,e.value,t]),s=w.useCallback(d=>{a||n(d),e.onChange&&e.onChange(d)},[a,e]),l=w.useCallback(d=>s(d),[s]),c=w.useCallback(async d=>{var f;try{const m=await lL(d);o(((f=m.data)==null?void 0:f.bizFormJson)||[])}catch(m){console.error("[海牛工作流SDK}] 获取条件单字段失败",m)}},[]);return w.useEffect(()=>{c("xxx")},[c]),O.jsxs("div",{children:[O.jsx(b9,{}),O.jsx(O9,{value:i,onChange:l,fields:r,defaultCondition:$9,operatorOptionsByType:E9,valueControls:I9})]})}const _9=w.memo(w.forwardRef((e,t)=>{const[n]=$e.useForm();return w.useImperativeHandle(t,()=>({getValue:()=>n.getFieldsValue(),validateFields:()=>n.validateFields()}),[n]),O.jsxs($e,{form:n,layout:"vertical",colon:!1,initialValues:e.value,children:[O.jsx($e.Item,{name:"conditions",noStyle:!0,children:O.jsx(P9,{onChange:r=>n.setFieldValue("condition",N9(r))})}),O.jsx($e.Item,{hidden:!0,name:"condition"})]})})),T9=w.memo(w.forwardRef((e,t)=>{const[n]=$e.useForm();return w.useImperativeHandle(t,()=>({getValue:()=>n.getFieldsValue(),validateFields:()=>n.validateFields()}),[n]),O.jsxs($e,{form:n,layout:"vertical",colon:!1,initialValues:e.value,children:[O.jsx(Vm,{applyType:"message",form:n}),O.jsx($e.Item,{label:"通知类型",name:"type",children:O.jsxs(ur.Group,{children:[O.jsx(ur,{value:"email",children:"邮件"}),O.jsx(ur,{value:"sms",children:"短信"}),O.jsx(ur,{value:"dingtalk",children:"钉钉"}),O.jsx(ur,{value:"wecom",children:"企业微信"}),O.jsx(ur,{value:"feishu",children:"飞书"}),O.jsx(ur,{value:"site",children:"站内"})]})}),O.jsx($e.Item,{label:"消息标题",name:"title",tooltip:"可以使用 ${字段名} 字段名填充内容",children:O.jsx(Rt,{})}),O.jsx($e.Item,{label:"消息内容",name:"content",tooltip:"可以使用 ${字段名} 字段名填充内容",children:O.jsx(Rt.TextArea,{rows:10,maxLength:1e3,showCount:!0})})]})})),j9=w.memo(w.forwardRef((e,t)=>{const[n]=$e.useForm();return w.useImperativeHandle(t,()=>({getValue:()=>n.getFieldsValue(),validateFields:()=>n.validateFields()}),[n]),O.jsx($e,{form:n,layout:"vertical",colon:!1,initialValues:e.value,children:O.jsx(Vm,{form:n})})})),M9=w.memo(w.forwardRef((e,t)=>{const[n]=$e.useForm(),[r,o]=w.useState("service"),[a,i]=w.useState("执行类"),s=(l="class")=>{l==="class"?i("Java 类"):l==="expression"?i("表达式"):l==="delegateExpression"?i("委托表达式"):l==="connector"?i("连接器ID"):l==="external"?i("主题"):l==="dmn"?i("DMN"):l==="flowChart"&&i("流程图")};return w.useEffect(()=>{var l;s(((l=e.value)==null?void 0:l.executingType)||"class")},[e]),w.useImperativeHandle(t,()=>({getValue:()=>n.getFieldsValue(),validateFields:()=>n.validateFields()}),[n]),O.jsxs($e,{form:n,layout:"vertical",colon:!1,initialValues:e.value,children:[O.jsx(YM,{options:[{key:"service",label:"服务配置"},{key:"formConfig",label:"表单配置"}],value:r,onChange:o}),r==="service"&&O.jsxs(O.Fragment,{children:[O.jsx($e.Item,{label:"执行类型",name:"executingType",children:O.jsx(En,{options:[{label:"JAVA类",value:"class"},{label:"流程图",value:"flowChart"}],onChange:s})}),a!=="流程图"&&O.jsx($e.Item,{label:a,name:"executingValue",children:O.jsx(Rt,{})}),a==="流程图"&&O.jsxs(O.Fragment,{children:[O.jsx($e.Item,{label:"项目ID",name:"projectId",children:O.jsx(Rt,{})}),O.jsx($e.Item,{label:"流程图编码",name:"moduleCode",children:O.jsx(Rt,{})})]}),(a==="表达式"||a==="DMN")&&O.jsx($e.Item,{label:"结果变量",name:"resultVariable",children:O.jsx(Rt,{suffix:O.jsx(Co,{title:"任务返回处理结果保存到流程变量中的变量名称",children:O.jsx(Am,{style:{color:"#999"}})}),allowClear:!0})})]}),r==="formConfig"&&O.jsx(Lx,{})]})})),z9=w.memo(w.forwardRef((e,t)=>{const[n]=$e.useForm();return w.useImperativeHandle(t,()=>({getValue:()=>n.getFieldsValue(),validateFields:()=>n.validateFields()}),[n]),O.jsx($e,{form:n,layout:"vertical",colon:!1,initialValues:e.value,children:O.jsx($e.Item,{label:"发起人",name:"initiator",children:O.jsx(Rt,{})})})}));var A9=/(%?)(%([sdijo]))/g;function D9(e,t){switch(t){case"s":return e;case"d":case"i":return Number(e);case"j":return JSON.stringify(e);case"o":{if(typeof e=="string")return e;const n=JSON.stringify(e);return n==="{}"||n==="[]"||/^\[object .+?\]$/.test(n)?e:n}}}function Wm(e,...t){if(t.length===0)return e;let n=0,r=e.replace(A9,(o,a,i,s)=>{const l=t[n],c=D9(l,s);return a?o:(n++,c)});return n<t.length&&(r+=` ${t.slice(n).join(" ")}`),r=r.replace(/%{2,2}/g,"%"),r}var L9=2;function F9(e){if(!e.stack)return;const t=e.stack.split(`
|
|
1073
|
+
`);t.splice(1,L9),e.stack=t.join(`
|
|
1074
|
+
`)}var R9=class extends Error{constructor(e,...t){super(e),this.message=e,this.name="Invariant Violation",this.message=Wm(e,...t),F9(this)}},qm=(e,t,...n)=>{if(!e)throw new R9(t,...n)};qm.as=(e,t,n,...r)=>{if(!t){const o=r.length===0?n:Wm(n,...r);let a;try{a=Reflect.construct(e,[o])}catch{a=e(o)}throw a}};const B9="[MSW]";function Um(e,...t){const n=Wm(e,...t);return`${B9} ${n}`}function V9(e,...t){console.warn(Um(e,...t))}function H9(e,...t){console.error(Um(e,...t))}const Gm={formatMessage:Um,warn:V9,error:H9};function W9(e){try{return new URL(e),!0}catch{return!1}}function Rx(e,t){const n=Object.getOwnPropertySymbols(t).find(r=>r.description===e);if(n)return Reflect.get(t,n)}var q9=(gr=class extends Response{static isConfigurableStatusCode(t){return t>=200&&t<=599}static isRedirectResponse(t){return gr.STATUS_CODES_WITH_REDIRECT.includes(t)}static isResponseWithBody(t){return!gr.STATUS_CODES_WITHOUT_BODY.includes(t)}static setUrl(t,n){if(!t||t==="about:"||!W9(t))return;const r=Rx("state",n);r?r.urlList.push(new URL(t)):Object.defineProperty(n,"url",{value:t,enumerable:!0,configurable:!0,writable:!1})}static parseRawHeaders(t){const n=new Headers;for(let r=0;r<t.length;r+=2)n.append(t[r],t[r+1]);return n}constructor(t,n={}){const r=n.status??200,o=gr.isConfigurableStatusCode(r)?r:200,a=gr.isResponseWithBody(r)?t:null;if(super(a,{status:o,statusText:n.statusText,headers:n.headers}),r!==o){const i=Rx("state",this);i?i.status=r:Object.defineProperty(this,"status",{value:r,enumerable:!0,configurable:!0,writable:!1})}gr.setUrl(n.url,this)}},gr.STATUS_CODES_WITHOUT_BODY=[101,103,204,205,304],gr.STATUS_CODES_WITH_REDIRECT=[301,302,303,307,308],gr);function Km(){if(typeof navigator<"u"&&navigator.product==="ReactNative")return!0;if(typeof process<"u"){const e=process.type;return e==="renderer"||e==="worker"?!1:!!(process.versions&&process.versions.node)}return!1}var U9=Object.defineProperty,G9=(e,t)=>{for(var n in t)U9(e,n,{get:t[n],enumerable:!0})},K9={};G9(K9,{blue:()=>Y9,gray:()=>J9,green:()=>Q9,red:()=>Z9,yellow:()=>X9});function X9(e){return`\x1B[33m${e}\x1B[0m`}function Y9(e){return`\x1B[34m${e}\x1B[0m`}function J9(e){return`\x1B[90m${e}\x1B[0m`}function Z9(e){return`\x1B[31m${e}\x1B[0m`}function Q9(e){return`\x1B[32m${e}\x1B[0m`}Km(),new TextEncoder;function eA(e,t=!0){return[t&&e.origin,e.pathname].filter(Boolean).join("")}function tA(e){const t=e instanceof URL?e:new URL(e);return typeof location<"u"&&t.origin===location.origin?t.pathname:t.origin+t.pathname}const nA=/[/\\]msw[/\\]src[/\\](.+)/,rA=/(node_modules)?[/\\]lib[/\\](core|browser|node|native|iife)[/\\]|^[^/\\]*$/;function oA(e){const t=e.stack;if(!t)return;const r=t.split(`
|
|
1075
|
+
`).slice(1).find(a=>!(nA.test(a)||rA.test(a)));return r?r.replace(/\s*at [^()]*\(([^)]+)\)/,"$1").replace(/^@/,""):void 0}function aA(e){return e?Reflect.has(e,Symbol.iterator)||Reflect.has(e,Symbol.asyncIterator):!1}var iA=Object.create,Bx=Object.defineProperty,sA=Object.getOwnPropertyDescriptor,Vx=Object.getOwnPropertyNames,lA=Object.getPrototypeOf,cA=Object.prototype.hasOwnProperty,Hx=(e,t)=>function(){return t||(0,e[Vx(e)[0]])((t={exports:{}}).exports,t),t.exports},uA=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Vx(t))!cA.call(e,o)&&o!==n&&Bx(e,o,{get:()=>t[o],enumerable:!(r=sA(t,o))||r.enumerable});return e},dA=(e,t,n)=>(n=e!=null?iA(lA(e)):{},uA(Bx(n,"default",{value:e,enumerable:!0}),e)),fA=Hx({"node_modules/.pnpm/statuses@2.0.2/node_modules/statuses/codes.json"(e,t){t.exports={100:"Continue",101:"Switching Protocols",102:"Processing",103:"Early Hints",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a Teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Too Early",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"}}}),mA=Hx({"node_modules/.pnpm/statuses@2.0.2/node_modules/statuses/index.js"(e,t){var n=fA();t.exports=s,s.message=n,s.code=r(n),s.codes=o(n),s.redirect={300:!0,301:!0,302:!0,303:!0,305:!0,307:!0,308:!0},s.empty={204:!0,205:!0,304:!0},s.retry={502:!0,503:!0,504:!0};function r(l){var c={};return Object.keys(l).forEach(function(f){var m=l[f],p=Number(f);c[m.toLowerCase()]=p}),c}function o(l){return Object.keys(l).map(function(d){return Number(d)})}function a(l){var c=l.toLowerCase();if(!Object.prototype.hasOwnProperty.call(s.code,c))throw new Error('invalid status message: "'+l+'"');return s.code[c]}function i(l){if(!Object.prototype.hasOwnProperty.call(s.message,l))throw new Error("invalid status code: "+l);return s.message[l]}function s(l){if(typeof l=="number")return i(l);if(typeof l!="string")throw new TypeError("code must be a number or string");var c=parseInt(l,10);return isNaN(c)?a(l):i(c)}}}),Wx=dA(mA()),qx=Wx.default||Wx;qx.message;var Ux=qx;/*! Bundled license information:
|
|
1076
|
+
|
|
1077
|
+
statuses/index.js:
|
|
1078
|
+
(*!
|
|
1079
|
+
* statuses
|
|
1080
|
+
* Copyright(c) 2014 Jonathan Ong
|
|
1081
|
+
* Copyright(c) 2016 Douglas Christopher Wilson
|
|
1082
|
+
* MIT Licensed
|
|
1083
|
+
*)
|
|
1084
|
+
*/var Tc={decodeValues:!0,map:!1,silent:!1,split:"auto"};function Xm(e){return typeof e!="string"||e in{}}function Ym(){return Object.create(null)}function Gx(e){return typeof e=="string"&&!!e.trim()}function Jm(e,t){var n=e.split(";").filter(Gx),r=n.shift(),o=pA(r),a=o.name,i=o.value;if(t=t?Object.assign({},Tc,t):Tc,Xm(a))return null;try{i=t.decodeValues?decodeURIComponent(i):i}catch(l){console.error("set-cookie-parser: failed to decode cookie value. Set options.decodeValues=false to disable decoding.",l)}var s=Ym();return s.name=a,s.value=i,n.forEach(function(l){var c=l.split("="),d=c.shift().trimLeft().toLowerCase();if(!Xm(d)){var f=c.join("=");if(d==="expires")s.expires=new Date(f);else if(d==="max-age"){var m=parseInt(f,10);Number.isNaN(m)||(s.maxAge=m)}else d==="secure"?s.secure=!0:d==="httponly"?s.httpOnly=!0:d==="samesite"?s.sameSite=f:d==="partitioned"?s.partitioned=!0:d&&(s[d]=f)}}),s}function pA(e){var t="",n="",r=e.split("=");return r.length>1?(t=r.shift(),n=r.join("=")):n=e,{name:t,value:n}}function ri(e,t){if(t=t?Object.assign({},Tc,t):Tc,!e)return t.map?Ym():[];if(e.headers)if(typeof e.headers.getSetCookie=="function")e=e.headers.getSetCookie();else if(e.headers["set-cookie"])e=e.headers["set-cookie"];else{var n=e.headers[Object.keys(e.headers).find(function(i){return i.toLowerCase()==="set-cookie"})];!n&&e.headers.cookie&&!t.silent&&console.warn("Warning: set-cookie-parser appears to have been called on a request object. It is designed to parse Set-Cookie headers from responses, not Cookie headers from requests. Set the option {silent: true} to suppress this warning."),e=n}var r=t.split,o=Array.isArray(e);if(r==="auto"&&(r=!o),o||(e=[e]),e=e.filter(Gx),r&&(e=e.map(Zm).flat()),t.map){var a=Ym();return e.reduce(function(i,s){var l=Jm(s,t);return l&&!Xm(l.name)&&(i[l.name]=l),i},a)}else return e.map(function(i){return Jm(i,t)}).filter(Boolean)}function Zm(e){if(Array.isArray(e))return e;if(typeof e!="string")return[];var t=[],n=0,r,o,a,i,s;function l(){for(;n<e.length&&/\s/.test(e.charAt(n));)n+=1;return n<e.length}function c(){return o=e.charAt(n),o!=="="&&o!==";"&&o!==","}for(;n<e.length;){for(r=n,s=!1;l();)if(o=e.charAt(n),o===","){for(a=n,n+=1,l(),i=n;n<e.length&&c();)n+=1;n<e.length&&e.charAt(n)==="="?(s=!0,n=i,t.push(e.substring(r,a)),r=n):n=a+1}else n+=1;(!s||n>=e.length)&&t.push(e.substring(r,e.length))}return t}ri.parseSetCookie=ri,ri.parse=ri,ri.parseString=Jm,ri.splitCookiesString=Zm;const gA=/[^a-z0-9\-#$%&'*+.^_`|~]/i;function vs(e){if(gA.test(e)||e.trim()==="")throw new TypeError("Invalid character in header field name");return e.trim().toLowerCase()}const Kx=[`
|
|
1085
|
+
`,"\r"," "," "],hA=new RegExp(`(^[${Kx.join("")}]|$[${Kx.join("")}])`,"g");function Qm(e){return e.replace(hA,"")}function bs(e){if(typeof e!="string"||e.length===0)return!1;for(let t=0;t<e.length;t++){const n=e.charCodeAt(t);if(n>127||!vA(n))return!1}return!0}function vA(e){return![127,32,"(",")","<",">","@",",",";",":","\\",'"',"/","[","]","?","=","{","}"].includes(e)}function Xx(e){if(typeof e!="string"||e.trim()!==e)return!1;for(let t=0;t<e.length;t++){const n=e.charCodeAt(t);if(n===0||n===10||n===13)return!1}return!0}let Yx;const oi=Symbol("normalizedHeaders"),ep=Symbol("rawHeaderNames"),Jx=", ";var bA=class Rw{constructor(t){var n;this[oi]={},this[ep]=new Map,this[Yx]="Headers",["Headers","HeadersPolyfill"].includes((n=t==null?void 0:t.constructor)==null?void 0:n.name)||t instanceof Rw||typeof globalThis.Headers<"u"&&t instanceof globalThis.Headers?t.forEach((r,o)=>{this.append(o,r)},this):Array.isArray(t)?t.forEach(([r,o])=>{this.append(r,Array.isArray(o)?o.join(Jx):o)}):t&&Object.getOwnPropertyNames(t).forEach(r=>{const o=t[r];this.append(r,Array.isArray(o)?o.join(Jx):o)})}[(Yx=Symbol.toStringTag,Symbol.iterator)](){return this.entries()}*keys(){for(const[t]of this.entries())yield t}*values(){for(const[,t]of this.entries())yield t}*entries(){let t=Object.keys(this[oi]).sort((n,r)=>n.localeCompare(r));for(const n of t)if(n==="set-cookie")for(const r of this.getSetCookie())yield[n,r];else yield[n,this.get(n)]}has(t){if(!bs(t))throw new TypeError(`Invalid header name "${t}"`);return this[oi].hasOwnProperty(vs(t))}get(t){if(!bs(t))throw TypeError(`Invalid header name "${t}"`);return this[oi][vs(t)]??null}set(t,n){if(!bs(t)||!Xx(n))return;const r=vs(t),o=Qm(n);this[oi][r]=Qm(o),this[ep].set(r,t)}append(t,n){if(!bs(t)||!Xx(n))return;const r=vs(t),o=Qm(n);let a=this.has(r)?`${this.get(r)}, ${o}`:o;this.set(t,a)}delete(t){if(!bs(t)||!this.has(t))return;const n=vs(t);delete this[oi][n],this[ep].delete(n)}forEach(t,n){for(const[r,o]of this.entries())t.call(n,o,r,this)}getSetCookie(){const t=this.get("set-cookie");return t===null?[]:t===""?[""]:Zm(t)}};const{message:yA}=Ux,CA=Symbol("kSetCookie");function aa(e={}){const t=(e==null?void 0:e.status)||200,n=(e==null?void 0:e.statusText)||yA[t]||"",r=new Headers(e==null?void 0:e.headers);return{...e,headers:r,status:t,statusText:n}}function xA(e,t){t.type&&Object.defineProperty(e,"type",{value:t.type,enumerable:!0,writable:!1});const n=t.headers.get("set-cookie");if(n&&(Object.defineProperty(e,CA,{value:n,enumerable:!1,writable:!1}),typeof document<"u")){const r=bA.prototype.getSetCookie.call(t.headers);for(const o of r)document.cookie=o}return e}const wA=Symbol("bodyType"),ys=Symbol.for("kDefaultContentType");class ko extends(Aw=q9,zw=wA,Aw){constructor(n,r){const o=aa(r);super(n,o);rn(this,zw,null);xA(this,o)}static error(){return super.error()}static text(n,r){const o=aa(r),a=o.headers.has("Content-Type");a||o.headers.set("Content-Type","text/plain"),o.headers.has("Content-Length")||o.headers.set("Content-Length",n?new Blob([n]).size.toString():"0");const i=new ko(n,o);return a||Object.defineProperty(i,ys,{value:!0,enumerable:!1}),i}static json(n,r){const o=aa(r),a=o.headers.has("Content-Type");a||o.headers.set("Content-Type","application/json");const i=JSON.stringify(n);o.headers.has("Content-Length")||o.headers.set("Content-Length",i?new Blob([i]).size.toString():"0");const s=new ko(i,o);return a||Object.defineProperty(s,ys,{value:!0,enumerable:!1}),s}static xml(n,r){const o=aa(r),a=o.headers.has("Content-Type");a||o.headers.set("Content-Type","text/xml");const i=new ko(n,o);return a||Object.defineProperty(i,ys,{value:!0,enumerable:!1}),i}static html(n,r){const o=aa(r),a=o.headers.has("Content-Type");a||o.headers.set("Content-Type","text/html");const i=new ko(n,o);return a||Object.defineProperty(i,ys,{value:!0,enumerable:!1}),i}static arrayBuffer(n,r){const o=aa(r),a=o.headers.has("Content-Type");a||o.headers.set("Content-Type","application/octet-stream"),n&&!o.headers.has("Content-Length")&&o.headers.set("Content-Length",n.byteLength.toString());const i=new ko(n,o);return a||Object.defineProperty(i,ys,{value:!0,enumerable:!1}),i}static formData(n,r){return new ko(n,aa(r))}}const Ss=class Ss{constructor(t){rn(this,"kind","request");rn(this,"resolver");rn(this,"resolverIterator");rn(this,"resolverIteratorResult");rn(this,"options");rn(this,"info");rn(this,"isUsed");this.resolver=t.resolver,this.options=t.options;const n=oA(new Error);this.info={...t.info,callFrame:n},this.isUsed=!1}async parse(t){return{}}async test(t){const n=await this.parse({request:t.request,resolutionContext:t.resolutionContext});return this.predicate({request:t.request,parsedResult:n,resolutionContext:t.resolutionContext})}extendResolverArgs(t){return{}}cloneRequestOrGetFromCache(t){const n=Ss.cache.get(t);if(typeof n<"u")return n;const r=t.clone();return Ss.cache.set(t,r),r}async run(t){var d,f;if(this.isUsed&&((d=this.options)!=null&&d.once))return null;const n=this.cloneRequestOrGetFromCache(t.request),r=await this.parse({request:t.request,resolutionContext:t.resolutionContext});if(!await this.predicate({request:t.request,parsedResult:r,resolutionContext:t.resolutionContext})||this.isUsed&&((f=this.options)!=null&&f.once))return null;this.isUsed=!0;const a=this.wrapResolver(this.resolver),i=this.extendResolverArgs({request:t.request,parsedResult:r}),l=await a({...i,requestId:t.requestId,request:t.request}).catch(m=>{if(m instanceof Response)return m;throw m});return this.createExecutionResult({request:n,requestId:t.requestId,response:l,parsedResult:r})}wrapResolver(t){return async n=>{var i;if(!this.resolverIterator){const s=await t(n);if(!aA(s))return s;this.resolverIterator=Symbol.iterator in s?s[Symbol.iterator]():s[Symbol.asyncIterator]()}this.isUsed=!1;const{done:r,value:o}=await this.resolverIterator.next(),a=await o;return a&&(this.resolverIteratorResult=a.clone()),r?(this.isUsed=!0,(i=this.resolverIteratorResult)==null?void 0:i.clone()):a}}createExecutionResult(t){return{handler:this,request:t.request,requestId:t.requestId,response:t.response,parsedResult:t.parsedResult}}};rn(Ss,"cache",new WeakMap);let tp=Ss;function SA(e,t){return e.endsWith(t)?e.length===t.length||e[e.length-t.length-1]===".":!1}function EA(e,t){const n=e.length-t.length-2,r=e.lastIndexOf(".",n);return r===-1?e:e.slice(r+1)}function $A(e,t,n){if(n.validHosts!==null){const o=n.validHosts;for(const a of o)if(SA(t,a))return a}let r=0;if(t.startsWith("."))for(;r<t.length&&t[r]===".";)r+=1;return e.length===t.length-r?null:EA(t,e)}function Zx(e,t){let n=0,r=e.length,o=!1;if(!t){if(e.startsWith("data:"))return null;for(;n<e.length&&e.charCodeAt(n)<=32;)n+=1;for(;r>n+1&&e.charCodeAt(r-1)<=32;)r-=1;if(e.charCodeAt(n)===47&&e.charCodeAt(n+1)===47)n+=2;else{const c=e.indexOf(":/",n);if(c!==-1){const d=c-n,f=e.charCodeAt(n),m=e.charCodeAt(n+1),p=e.charCodeAt(n+2),h=e.charCodeAt(n+3),v=e.charCodeAt(n+4);if(!(d===5&&f===104&&m===116&&p===116&&h===112&&v===115)){if(!(d===4&&f===104&&m===116&&p===116&&h===112)){if(!(d===3&&f===119&&m===115&&p===115)){if(!(d===2&&f===119&&m===115))for(let g=n;g<c;g+=1){const b=e.charCodeAt(g)|32;if(!(b>=97&&b<=122||b>=48&&b<=57||b===46||b===45||b===43))return null}}}}for(n=c+2;e.charCodeAt(n)===47;)n+=1}}let i=-1,s=-1,l=-1;for(let c=n;c<r;c+=1){const d=e.charCodeAt(c);if(d===35||d===47||d===63){r=c;break}else d===64?i=c:d===93?s=c:d===58?l=c:d>=65&&d<=90&&(o=!0)}if(i!==-1&&i>n&&i<r&&(n=i+1),e.charCodeAt(n)===91)return s!==-1?e.slice(n+1,s).toLowerCase():null;l!==-1&&l>n&&l<r&&(r=l)}for(;r>n+1&&e.charCodeAt(r-1)===46;)r-=1;const a=n!==0||r!==e.length?e.slice(n,r):e;return o?a.toLowerCase():a}function kA(e){if(e.length<7||e.length>15)return!1;let t=0;for(let n=0;n<e.length;n+=1){const r=e.charCodeAt(n);if(r===46)t+=1;else if(r<48||r>57)return!1}return t===3&&e.charCodeAt(0)!==46&&e.charCodeAt(e.length-1)!==46}function OA(e){if(e.length<3)return!1;let t=e.startsWith("[")?1:0,n=e.length;if(e[n-1]==="]"&&(n-=1),n-t>39)return!1;let r=!1;for(;t<n;t+=1){const o=e.charCodeAt(t);if(o===58)r=!0;else if(!(o>=48&&o<=57||o>=97&&o<=102||o>=65&&o<=90))return!1}return r}function IA(e){return OA(e)||kA(e)}function Qx(e){return e>=97&&e<=122||e>=48&&e<=57||e>127}function ew(e){if(e.length>255||e.length===0||!Qx(e.charCodeAt(0))&&e.charCodeAt(0)!==46&&e.charCodeAt(0)!==95)return!1;let t=-1,n=-1;const r=e.length;for(let o=0;o<r;o+=1){const a=e.charCodeAt(o);if(a===46){if(o-t>64||n===46||n===45||n===95)return!1;t=o}else if(!(Qx(a)||a===45||a===95))return!1;n=a}return r-t-1<=63&&n!==45}function tw({allowIcannDomains:e=!0,allowPrivateDomains:t=!1,detectIp:n=!0,extractHostname:r=!0,mixedInputs:o=!0,validHosts:a=null,validateHostname:i=!0}){return{allowIcannDomains:e,allowPrivateDomains:t,detectIp:n,extractHostname:r,mixedInputs:o,validHosts:a,validateHostname:i}}const NA=tw({});function PA(e){return e===void 0?NA:tw(e)}function _A(){return{domain:null,domainWithoutSuffix:null,hostname:null,isIcann:null,isIp:null,isPrivate:null,publicSuffix:null,subdomain:null}}function TA(e){e.domain=null,e.domainWithoutSuffix=null,e.hostname=null,e.isIcann=null,e.isIp=null,e.isPrivate=null,e.publicSuffix=null,e.subdomain=null}function jA(e,t,n,r,o){const a=PA(r);return typeof e!="string"||(a.extractHostname?a.mixedInputs?o.hostname=Zx(e,ew(e)):o.hostname=Zx(e,!1):o.hostname=e,a.detectIp&&o.hostname!==null&&(o.isIp=IA(o.hostname),o.isIp))?o:a.validateHostname&&a.extractHostname&&o.hostname!==null&&!ew(o.hostname)?(o.hostname=null,o):(o.hostname===null||(n(o.hostname,a,o),o.publicSuffix===null)||(o.domain=$A(o.publicSuffix,o.hostname,a)),o)}function MA(e,t,n){if(!t.allowPrivateDomains&&e.length>3){const r=e.length-1,o=e.charCodeAt(r),a=e.charCodeAt(r-1),i=e.charCodeAt(r-2),s=e.charCodeAt(r-3);if(o===109&&a===111&&i===99&&s===46)return n.isIcann=!0,n.isPrivate=!1,n.publicSuffix="com",!0;if(o===103&&a===114&&i===111&&s===46)return n.isIcann=!0,n.isPrivate=!1,n.publicSuffix="org",!0;if(o===117&&a===100&&i===101&&s===46)return n.isIcann=!0,n.isPrivate=!1,n.publicSuffix="edu",!0;if(o===118&&a===111&&i===103&&s===46)return n.isIcann=!0,n.isPrivate=!1,n.publicSuffix="gov",!0;if(o===116&&a===101&&i===110&&s===46)return n.isIcann=!0,n.isPrivate=!1,n.publicSuffix="net",!0;if(o===101&&a===100&&i===46)return n.isIcann=!0,n.isPrivate=!1,n.publicSuffix="de",!0}return!1}const zA=(function(){const e=[1,{}],t=[0,{city:e}];return[0,{ck:[0,{www:e}],jp:[0,{kawasaki:t,kitakyushu:t,kobe:t,nagoya:t,sapporo:t,sendai:t,yokohama:t}]}]})(),AA=(function(){const e=[1,{}],t=[2,{}],n=[1,{com:e,edu:e,gov:e,net:e,org:e}],r=[1,{com:e,edu:e,gov:e,mil:e,net:e,org:e}],o=[0,{"*":t}],a=[2,{s:o}],i=[0,{relay:t}],s=[2,{id:t}],l=[1,{gov:e}],c=[0,{airflow:o,"lambda-url":t,"transfer-webapp":t}],d=[0,{airflow:o,"transfer-webapp":t}],f=[0,{"transfer-webapp":t}],m=[0,{"transfer-webapp":t,"transfer-webapp-fips":t}],p=[0,{notebook:t,studio:t}],h=[0,{labeling:t,notebook:t,studio:t}],v=[0,{notebook:t}],g=[0,{labeling:t,notebook:t,"notebook-fips":t,studio:t}],b=[0,{notebook:t,"notebook-fips":t,studio:t,"studio-fips":t}],y=[0,{shop:t}],x=[0,{"*":e}],C=[1,{co:t}],S=[0,{objects:t}],$=[2,{"eu-west-1":t,"us-east-1":t}],k=[2,{nodes:t}],E=[0,{my:t}],I=[0,{s3:t,"s3-accesspoint":t,"s3-website":t}],N=[0,{s3:t,"s3-accesspoint":t}],P=[0,{direct:t}],T=[0,{"webview-assets":t}],j=[0,{vfs:t,"webview-assets":t}],_=[0,{"execute-api":t,"emrappui-prod":t,"emrnotebooks-prod":t,"emrstudio-prod":t,dualstack:I,s3:t,"s3-accesspoint":t,"s3-object-lambda":t,"s3-website":t,"aws-cloud9":T,cloud9:j}],M=[0,{"execute-api":t,"emrappui-prod":t,"emrnotebooks-prod":t,"emrstudio-prod":t,dualstack:N,s3:t,"s3-accesspoint":t,"s3-object-lambda":t,"s3-website":t,"aws-cloud9":T,cloud9:j}],z=[0,{"execute-api":t,"emrappui-prod":t,"emrnotebooks-prod":t,"emrstudio-prod":t,dualstack:I,s3:t,"s3-accesspoint":t,"s3-object-lambda":t,"s3-website":t,"analytics-gateway":t,"aws-cloud9":T,cloud9:j}],A=[0,{"execute-api":t,"emrappui-prod":t,"emrnotebooks-prod":t,"emrstudio-prod":t,dualstack:I,s3:t,"s3-accesspoint":t,"s3-object-lambda":t,"s3-website":t}],D=[0,{s3:t,"s3-accesspoint":t,"s3-accesspoint-fips":t,"s3-fips":t,"s3-website":t}],W=[0,{"execute-api":t,"emrappui-prod":t,"emrnotebooks-prod":t,"emrstudio-prod":t,dualstack:D,s3:t,"s3-accesspoint":t,"s3-accesspoint-fips":t,"s3-fips":t,"s3-object-lambda":t,"s3-website":t,"aws-cloud9":T,cloud9:j}],U=[0,{"execute-api":t,"emrappui-prod":t,"emrnotebooks-prod":t,"emrstudio-prod":t,dualstack:D,s3:t,"s3-accesspoint":t,"s3-accesspoint-fips":t,"s3-fips":t,"s3-object-lambda":t,"s3-website":t}],q=[0,{"execute-api":t,"emrappui-prod":t,"emrnotebooks-prod":t,"emrstudio-prod":t,dualstack:D,s3:t,"s3-accesspoint":t,"s3-accesspoint-fips":t,"s3-deprecated":t,"s3-fips":t,"s3-object-lambda":t,"s3-website":t,"analytics-gateway":t,"aws-cloud9":T,cloud9:j}],B=[0,{auth:t}],L=[0,{auth:t,"auth-fips":t}],V=[0,{"auth-fips":t}],H=[0,{apps:t}],X=[0,{paas:t}],ie=[2,{eu:t}],K=[0,{app:t}],ee=[0,{site:t}],te=[1,{com:e,edu:e,net:e,org:e}],Y=[0,{j:t}],J=[0,{dyn:t}],ae=[2,{web:t}],Z=[1,{co:e,com:e,edu:e,gov:e,net:e,org:e}],oe=[0,{p:t}],re=[0,{user:t}],ce=[1,{ms:t}],se=[0,{cdn:t}],ue=[2,{raw:o}],he=[0,{cust:t,reservd:t}],de=[0,{cust:t}],ye=[0,{s3:t}],be=[1,{biz:e,com:e,edu:e,gov:e,info:e,net:e,org:e}],le=[0,{ipfs:t}],Ce=[1,{framer:t}],Le=[0,{forgot:t}],We=[0,{blob:t,file:t,web:t}],Me=[0,{core:We,servicebus:t}],we=[1,{gs:e}],Re=[0,{nes:e}],fe=[1,{k12:e,cc:e,lib:e}],qe=[1,{cc:e}],Ne=[1,{cc:e,lib:e}];return[0,{ac:[1,{com:e,edu:e,gov:e,mil:e,net:e,org:e,drr:t,feedback:t,forms:t}],ad:e,ae:[1,{ac:e,co:e,gov:e,mil:e,net:e,org:e,sch:e}],aero:[1,{airline:e,airport:e,"accident-investigation":e,"accident-prevention":e,aerobatic:e,aeroclub:e,aerodrome:e,agents:e,"air-surveillance":e,"air-traffic-control":e,aircraft:e,airtraffic:e,ambulance:e,association:e,author:e,ballooning:e,broker:e,caa:e,cargo:e,catering:e,certification:e,championship:e,charter:e,civilaviation:e,club:e,conference:e,consultant:e,consulting:e,control:e,council:e,crew:e,design:e,dgca:e,educator:e,emergency:e,engine:e,engineer:e,entertainment:e,equipment:e,exchange:e,express:e,federation:e,flight:e,freight:e,fuel:e,gliding:e,government:e,groundhandling:e,group:e,hanggliding:e,homebuilt:e,insurance:e,journal:e,journalist:e,leasing:e,logistics:e,magazine:e,maintenance:e,marketplace:e,media:e,microlight:e,modelling:e,navigation:e,parachuting:e,paragliding:e,"passenger-association":e,pilot:e,press:e,production:e,recreation:e,repbody:e,res:e,research:e,rotorcraft:e,safety:e,scientist:e,services:e,show:e,skydiving:e,software:e,student:e,taxi:e,trader:e,trading:e,trainer:e,union:e,workinggroup:e,works:e}],af:n,ag:[1,{co:e,com:e,net:e,nom:e,org:e,obj:t}],ai:[1,{com:e,net:e,off:e,org:e,uwu:t,framer:t,kiloapps:t}],al:r,am:[1,{co:e,com:e,commune:e,net:e,org:e,radio:t}],ao:[1,{co:e,ed:e,edu:e,gov:e,gv:e,it:e,og:e,org:e,pb:e}],aq:e,ar:[1,{bet:e,com:e,coop:e,edu:e,gob:e,gov:e,int:e,mil:e,musica:e,mutual:e,net:e,org:e,seg:e,senasa:e,tur:e}],arpa:[1,{e164:e,home:e,"in-addr":e,ip6:e,iris:e,uri:e,urn:e}],as:l,asia:[1,{cloudns:t,daemon:t,dix:t}],at:[1,{4:t,ac:[1,{sth:e}],co:e,gv:e,or:e,funkfeuer:[0,{wien:t}],futurecms:[0,{"*":t,ex:o,in:o}],futurehosting:t,futuremailing:t,ortsinfo:[0,{ex:o,kunden:o}],biz:t,info:t,"123webseite":t,priv:t,my:t,myspreadshop:t,"12hp":t,"2ix":t,"4lima":t,"lima-city":t}],au:[1,{asn:e,com:[1,{cloudlets:[0,{mel:t}],myspreadshop:t}],edu:[1,{act:e,catholic:e,nsw:e,nt:e,qld:e,sa:e,tas:e,vic:e,wa:e}],gov:[1,{qld:e,sa:e,tas:e,vic:e,wa:e}],id:e,net:e,org:e,conf:e,oz:e,act:e,nsw:e,nt:e,qld:e,sa:e,tas:e,vic:e,wa:e,hrsn:[0,{vps:t}]}],aw:[1,{com:e}],ax:e,az:[1,{biz:e,co:e,com:e,edu:e,gov:e,info:e,int:e,mil:e,name:e,net:e,org:e,pp:e,pro:e}],ba:[1,{com:e,edu:e,gov:e,mil:e,net:e,org:e,brendly:y,rs:t}],bb:[1,{biz:e,co:e,com:e,edu:e,gov:e,info:e,net:e,org:e,store:e,tv:e}],bd:[1,{ac:e,ai:e,co:e,com:e,edu:e,gov:e,id:e,info:e,it:e,mil:e,net:e,org:e,sch:e,tv:e}],be:[1,{ac:e,cloudns:t,webhosting:t,interhostsolutions:[0,{cloud:t}],kuleuven:[0,{ezproxy:t}],my:t,"123website":t,myspreadshop:t,transurl:o}],bf:l,bg:[1,{0:e,1:e,2:e,3:e,4:e,5:e,6:e,7:e,8:e,9:e,a:e,b:e,c:e,d:e,e,f:e,g:e,h:e,i:e,j:e,k:e,l:e,m:e,n:e,o:e,p:e,q:e,r:e,s:e,t:e,u:e,v:e,w:e,x:e,y:e,z:e,barsy:t}],bh:n,bi:[1,{co:e,com:e,edu:e,or:e,org:e}],biz:[1,{activetrail:t,"cloud-ip":t,cloudns:t,jozi:t,dyndns:t,"for-better":t,"for-more":t,"for-some":t,"for-the":t,selfip:t,webhop:t,orx:t,mmafan:t,myftp:t,"no-ip":t,dscloud:t}],bj:[1,{africa:e,agro:e,architectes:e,assur:e,avocats:e,co:e,com:e,eco:e,econo:e,edu:e,info:e,loisirs:e,money:e,net:e,org:e,ote:e,restaurant:e,resto:e,tourism:e,univ:e}],bm:n,bn:[1,{com:e,edu:e,gov:e,net:e,org:e,co:t}],bo:[1,{com:e,edu:e,gob:e,int:e,mil:e,net:e,org:e,tv:e,web:e,academia:e,agro:e,arte:e,blog:e,bolivia:e,ciencia:e,cooperativa:e,democracia:e,deporte:e,ecologia:e,economia:e,empresa:e,indigena:e,industria:e,info:e,medicina:e,movimiento:e,musica:e,natural:e,nombre:e,noticias:e,patria:e,plurinacional:e,politica:e,profesional:e,pueblo:e,revista:e,salud:e,tecnologia:e,tksat:e,transporte:e,wiki:e}],br:[1,{"9guacu":e,abc:e,adm:e,adv:e,agr:e,aju:e,am:e,anani:e,aparecida:e,api:e,app:e,arq:e,art:e,ato:e,b:e,barueri:e,belem:e,bet:e,bhz:e,bib:e,bio:e,blog:e,bmd:e,boavista:e,bsb:e,campinagrande:e,campinas:e,caxias:e,cim:e,cng:e,cnt:e,com:[1,{simplesite:t}],contagem:e,coop:e,coz:e,cri:e,cuiaba:e,curitiba:e,def:e,des:e,det:e,dev:e,ecn:e,eco:e,edu:e,emp:e,enf:e,eng:e,esp:e,etc:e,eti:e,far:e,feira:e,flog:e,floripa:e,fm:e,fnd:e,fortal:e,fot:e,foz:e,fst:e,g12:e,geo:e,ggf:e,goiania:e,gov:[1,{ac:e,al:e,am:e,ap:e,ba:e,ce:e,df:e,es:e,go:e,ma:e,mg:e,ms:e,mt:e,pa:e,pb:e,pe:e,pi:e,pr:e,rj:e,rn:e,ro:e,rr:e,rs:e,sc:e,se:e,sp:e,to:e}],gru:e,ia:e,imb:e,ind:e,inf:e,jab:e,jampa:e,jdf:e,joinville:e,jor:e,jus:e,leg:[1,{ac:t,al:t,am:t,ap:t,ba:t,ce:t,df:t,es:t,go:t,ma:t,mg:t,ms:t,mt:t,pa:t,pb:t,pe:t,pi:t,pr:t,rj:t,rn:t,ro:t,rr:t,rs:t,sc:t,se:t,sp:t,to:t}],leilao:e,lel:e,log:e,londrina:e,macapa:e,maceio:e,manaus:e,maringa:e,mat:e,med:e,mil:e,morena:e,mp:e,mus:e,natal:e,net:e,niteroi:e,nom:x,not:e,ntr:e,odo:e,ong:e,org:e,osasco:e,palmas:e,poa:e,ppg:e,pro:e,psc:e,psi:e,pvh:e,qsl:e,radio:e,rec:e,recife:e,rep:e,ribeirao:e,rio:e,riobranco:e,riopreto:e,salvador:e,sampa:e,santamaria:e,santoandre:e,saobernardo:e,saogonca:e,seg:e,sjc:e,slg:e,slz:e,social:e,sorocaba:e,srv:e,taxi:e,tc:e,tec:e,teo:e,the:e,tmp:e,trd:e,tur:e,tv:e,udi:e,vet:e,vix:e,vlog:e,wiki:e,xyz:e,zlg:e,tche:t}],bs:[1,{com:e,edu:e,gov:e,net:e,org:e,we:t}],bt:n,bv:e,bw:[1,{ac:e,co:e,gov:e,net:e,org:e}],by:[1,{gov:e,mil:e,com:e,of:e,mediatech:t}],bz:[1,{co:e,com:e,edu:e,gov:e,net:e,org:e,za:t,mydns:t,gsj:t}],ca:[1,{ab:e,bc:e,mb:e,nb:e,nf:e,nl:e,ns:e,nt:e,nu:e,on:e,pe:e,qc:e,sk:e,yk:e,gc:e,barsy:t,awdev:o,co:t,"no-ip":t,onid:t,myspreadshop:t,box:t}],cat:e,cc:[1,{cleverapps:t,"cloud-ip":t,cloudns:t,ccwu:t,ftpaccess:t,"game-server":t,myphotos:t,scrapping:t,twmail:t,csx:t,fantasyleague:t,spawn:[0,{instances:t}],ec:t,eu:t,gu:t,uk:t,us:t}],cd:[1,{gov:e,cc:t}],cf:e,cg:e,ch:[1,{square7:t,cloudns:t,cloudscale:[0,{cust:t,lpg:S,rma:S}],objectstorage:[0,{lpg:t,rma:t}],flow:[0,{ae:[0,{alp1:t}],appengine:t}],"linkyard-cloud":t,gotdns:t,dnsking:t,"123website":t,myspreadshop:t,firenet:[0,{"*":t,svc:o}],"12hp":t,"2ix":t,"4lima":t,"lima-city":t}],ci:[1,{ac:e,"xn--aroport-bya":e,aéroport:e,asso:e,co:e,com:e,ed:e,edu:e,go:e,gouv:e,int:e,net:e,or:e,org:e,us:t}],ck:x,cl:[1,{co:e,gob:e,gov:e,mil:e,cloudns:t}],cm:[1,{co:e,com:e,gov:e,net:e}],cn:[1,{ac:e,com:[1,{amazonaws:[0,{"cn-north-1":[0,{"execute-api":t,"emrappui-prod":t,"emrnotebooks-prod":t,"emrstudio-prod":t,rds:o,dualstack:I,s3:t,"s3-accesspoint":t,"s3-deprecated":t,"s3-object-lambda":t,"s3-website":t}],"cn-northwest-1":[0,{"execute-api":t,"emrappui-prod":t,"emrnotebooks-prod":t,"emrstudio-prod":t,rds:o,dualstack:N,s3:t,"s3-accesspoint":t,"s3-object-lambda":t,"s3-website":t}],compute:o,airflow:[0,{"cn-north-1":o,"cn-northwest-1":o}],eb:[0,{"cn-north-1":t,"cn-northwest-1":t}],elb:o}],amazonwebservices:[0,{on:[0,{"cn-north-1":d,"cn-northwest-1":d}]}],sagemaker:[0,{"cn-north-1":p,"cn-northwest-1":p}]}],edu:e,gov:e,mil:e,net:e,org:e,"xn--55qx5d":e,公司:e,"xn--od0alg":e,網絡:e,"xn--io0a7i":e,网络:e,ah:e,bj:e,cq:e,fj:e,gd:e,gs:e,gx:e,gz:e,ha:e,hb:e,he:e,hi:e,hk:e,hl:e,hn:e,jl:e,js:e,jx:e,ln:e,mo:e,nm:e,nx:e,qh:e,sc:e,sd:e,sh:[1,{as:t}],sn:e,sx:e,tj:e,tw:e,xj:e,xz:e,yn:e,zj:e,"canva-apps":t,canvasite:E,myqnapcloud:t,quickconnect:P}],co:[1,{com:e,edu:e,gov:e,mil:e,net:e,nom:e,org:e,carrd:t,crd:t,otap:o,hidns:t,leadpages:t,lpages:t,mypi:t,xmit:o,rdpa:[0,{clusters:o,srvrless:o}],firewalledreplit:s,repl:s,supabase:[2,{realtime:t,storage:t}],umso:t}],com:[1,{a2hosted:t,cpserver:t,adobeaemcloud:[2,{dev:o}],africa:t,auiusercontent:o,aivencloud:t,alibabacloudcs:t,kasserver:t,amazonaws:[0,{"af-south-1":_,"ap-east-1":M,"ap-northeast-1":z,"ap-northeast-2":z,"ap-northeast-3":_,"ap-south-1":z,"ap-south-2":A,"ap-southeast-1":z,"ap-southeast-2":z,"ap-southeast-3":A,"ap-southeast-4":A,"ap-southeast-5":[0,{"execute-api":t,dualstack:I,s3:t,"s3-accesspoint":t,"s3-deprecated":t,"s3-object-lambda":t,"s3-website":t}],"ca-central-1":W,"ca-west-1":U,"eu-central-1":z,"eu-central-2":A,"eu-north-1":M,"eu-south-1":_,"eu-south-2":A,"eu-west-1":[0,{"execute-api":t,"emrappui-prod":t,"emrnotebooks-prod":t,"emrstudio-prod":t,dualstack:I,s3:t,"s3-accesspoint":t,"s3-deprecated":t,"s3-object-lambda":t,"s3-website":t,"analytics-gateway":t,"aws-cloud9":T,cloud9:j}],"eu-west-2":M,"eu-west-3":_,"il-central-1":[0,{"execute-api":t,"emrappui-prod":t,"emrnotebooks-prod":t,"emrstudio-prod":t,dualstack:I,s3:t,"s3-accesspoint":t,"s3-object-lambda":t,"s3-website":t,"aws-cloud9":T,cloud9:[0,{vfs:t}]}],"me-central-1":A,"me-south-1":M,"sa-east-1":_,"us-east-1":[2,{"execute-api":t,"emrappui-prod":t,"emrnotebooks-prod":t,"emrstudio-prod":t,dualstack:D,s3:t,"s3-accesspoint":t,"s3-accesspoint-fips":t,"s3-deprecated":t,"s3-fips":t,"s3-object-lambda":t,"s3-website":t,"analytics-gateway":t,"aws-cloud9":T,cloud9:j}],"us-east-2":q,"us-gov-east-1":U,"us-gov-west-1":U,"us-west-1":W,"us-west-2":q,compute:o,"compute-1":o,airflow:[0,{"af-south-1":o,"ap-east-1":o,"ap-northeast-1":o,"ap-northeast-2":o,"ap-northeast-3":o,"ap-south-1":o,"ap-south-2":o,"ap-southeast-1":o,"ap-southeast-2":o,"ap-southeast-3":o,"ap-southeast-4":o,"ap-southeast-5":o,"ap-southeast-7":o,"ca-central-1":o,"ca-west-1":o,"eu-central-1":o,"eu-central-2":o,"eu-north-1":o,"eu-south-1":o,"eu-south-2":o,"eu-west-1":o,"eu-west-2":o,"eu-west-3":o,"il-central-1":o,"me-central-1":o,"me-south-1":o,"sa-east-1":o,"us-east-1":o,"us-east-2":o,"us-west-1":o,"us-west-2":o}],rds:[0,{"af-south-1":o,"ap-east-1":o,"ap-east-2":o,"ap-northeast-1":o,"ap-northeast-2":o,"ap-northeast-3":o,"ap-south-1":o,"ap-south-2":o,"ap-southeast-1":o,"ap-southeast-2":o,"ap-southeast-3":o,"ap-southeast-4":o,"ap-southeast-5":o,"ap-southeast-6":o,"ap-southeast-7":o,"ca-central-1":o,"ca-west-1":o,"eu-central-1":o,"eu-central-2":o,"eu-west-1":o,"eu-west-2":o,"eu-west-3":o,"il-central-1":o,"me-central-1":o,"me-south-1":o,"mx-central-1":o,"sa-east-1":o,"us-east-1":o,"us-east-2":o,"us-gov-east-1":o,"us-gov-west-1":o,"us-northeast-1":o,"us-west-1":o,"us-west-2":o}],s3:t,"s3-1":t,"s3-ap-east-1":t,"s3-ap-northeast-1":t,"s3-ap-northeast-2":t,"s3-ap-northeast-3":t,"s3-ap-south-1":t,"s3-ap-southeast-1":t,"s3-ap-southeast-2":t,"s3-ca-central-1":t,"s3-eu-central-1":t,"s3-eu-north-1":t,"s3-eu-west-1":t,"s3-eu-west-2":t,"s3-eu-west-3":t,"s3-external-1":t,"s3-fips-us-gov-east-1":t,"s3-fips-us-gov-west-1":t,"s3-global":[0,{accesspoint:[0,{mrap:t}]}],"s3-me-south-1":t,"s3-sa-east-1":t,"s3-us-east-2":t,"s3-us-gov-east-1":t,"s3-us-gov-west-1":t,"s3-us-west-1":t,"s3-us-west-2":t,"s3-website-ap-northeast-1":t,"s3-website-ap-southeast-1":t,"s3-website-ap-southeast-2":t,"s3-website-eu-west-1":t,"s3-website-sa-east-1":t,"s3-website-us-east-1":t,"s3-website-us-gov-west-1":t,"s3-website-us-west-1":t,"s3-website-us-west-2":t,elb:o}],amazoncognito:[0,{"af-south-1":B,"ap-east-1":B,"ap-northeast-1":B,"ap-northeast-2":B,"ap-northeast-3":B,"ap-south-1":B,"ap-south-2":B,"ap-southeast-1":B,"ap-southeast-2":B,"ap-southeast-3":B,"ap-southeast-4":B,"ap-southeast-5":B,"ap-southeast-7":B,"ca-central-1":B,"ca-west-1":B,"eu-central-1":B,"eu-central-2":B,"eu-north-1":B,"eu-south-1":B,"eu-south-2":B,"eu-west-1":B,"eu-west-2":B,"eu-west-3":B,"il-central-1":B,"me-central-1":B,"me-south-1":B,"mx-central-1":B,"sa-east-1":B,"us-east-1":L,"us-east-2":L,"us-gov-east-1":V,"us-gov-west-1":V,"us-west-1":L,"us-west-2":L}],amplifyapp:t,awsapprunner:o,awsapps:t,elasticbeanstalk:[2,{"af-south-1":t,"ap-east-1":t,"ap-northeast-1":t,"ap-northeast-2":t,"ap-northeast-3":t,"ap-south-1":t,"ap-southeast-1":t,"ap-southeast-2":t,"ap-southeast-3":t,"ap-southeast-5":t,"ap-southeast-7":t,"ca-central-1":t,"eu-central-1":t,"eu-north-1":t,"eu-south-1":t,"eu-south-2":t,"eu-west-1":t,"eu-west-2":t,"eu-west-3":t,"il-central-1":t,"me-central-1":t,"me-south-1":t,"sa-east-1":t,"us-east-1":t,"us-east-2":t,"us-gov-east-1":t,"us-gov-west-1":t,"us-west-1":t,"us-west-2":t}],awsglobalaccelerator:t,siiites:t,appspacehosted:t,appspaceusercontent:t,"on-aptible":t,myasustor:t,"balena-devices":t,boutir:t,bplaced:t,cafjs:t,"canva-apps":t,"canva-hosted-embed":t,canvacode:t,"rice-labs":t,"cdn77-storage":t,br:t,cn:t,de:t,eu:t,jpn:t,mex:t,ru:t,sa:t,uk:t,us:t,za:t,"clever-cloud":[0,{services:o}],abrdns:t,dnsabr:t,"ip-ddns":t,jdevcloud:t,wpdevcloud:t,"cf-ipfs":t,"cloudflare-ipfs":t,trycloudflare:t,co:t,devinapps:o,builtwithdark:t,datadetect:[0,{demo:t,instance:t}],dattolocal:t,dattorelay:t,dattoweb:t,mydatto:t,digitaloceanspaces:o,discordsays:t,discordsez:t,drayddns:t,dreamhosters:t,durumis:t,blogdns:t,cechire:t,dnsalias:t,dnsdojo:t,doesntexist:t,dontexist:t,doomdns:t,"dyn-o-saur":t,dynalias:t,"dyndns-at-home":t,"dyndns-at-work":t,"dyndns-blog":t,"dyndns-free":t,"dyndns-home":t,"dyndns-ip":t,"dyndns-mail":t,"dyndns-office":t,"dyndns-pics":t,"dyndns-remote":t,"dyndns-server":t,"dyndns-web":t,"dyndns-wiki":t,"dyndns-work":t,"est-a-la-maison":t,"est-a-la-masion":t,"est-le-patron":t,"est-mon-blogueur":t,"from-ak":t,"from-al":t,"from-ar":t,"from-ca":t,"from-ct":t,"from-dc":t,"from-de":t,"from-fl":t,"from-ga":t,"from-hi":t,"from-ia":t,"from-id":t,"from-il":t,"from-in":t,"from-ks":t,"from-ky":t,"from-ma":t,"from-md":t,"from-mi":t,"from-mn":t,"from-mo":t,"from-ms":t,"from-mt":t,"from-nc":t,"from-nd":t,"from-ne":t,"from-nh":t,"from-nj":t,"from-nm":t,"from-nv":t,"from-oh":t,"from-ok":t,"from-or":t,"from-pa":t,"from-pr":t,"from-ri":t,"from-sc":t,"from-sd":t,"from-tn":t,"from-tx":t,"from-ut":t,"from-va":t,"from-vt":t,"from-wa":t,"from-wi":t,"from-wv":t,"from-wy":t,getmyip:t,gotdns:t,"hobby-site":t,homelinux:t,homeunix:t,iamallama:t,"is-a-anarchist":t,"is-a-blogger":t,"is-a-bookkeeper":t,"is-a-bulls-fan":t,"is-a-caterer":t,"is-a-chef":t,"is-a-conservative":t,"is-a-cpa":t,"is-a-cubicle-slave":t,"is-a-democrat":t,"is-a-designer":t,"is-a-doctor":t,"is-a-financialadvisor":t,"is-a-geek":t,"is-a-green":t,"is-a-guru":t,"is-a-hard-worker":t,"is-a-hunter":t,"is-a-landscaper":t,"is-a-lawyer":t,"is-a-liberal":t,"is-a-libertarian":t,"is-a-llama":t,"is-a-musician":t,"is-a-nascarfan":t,"is-a-nurse":t,"is-a-painter":t,"is-a-personaltrainer":t,"is-a-photographer":t,"is-a-player":t,"is-a-republican":t,"is-a-rockstar":t,"is-a-socialist":t,"is-a-student":t,"is-a-teacher":t,"is-a-techie":t,"is-a-therapist":t,"is-an-accountant":t,"is-an-actor":t,"is-an-actress":t,"is-an-anarchist":t,"is-an-artist":t,"is-an-engineer":t,"is-an-entertainer":t,"is-certified":t,"is-gone":t,"is-into-anime":t,"is-into-cars":t,"is-into-cartoons":t,"is-into-games":t,"is-leet":t,"is-not-certified":t,"is-slick":t,"is-uberleet":t,"is-with-theband":t,"isa-geek":t,"isa-hockeynut":t,issmarterthanyou:t,"likes-pie":t,likescandy:t,"neat-url":t,"saves-the-whales":t,selfip:t,"sells-for-less":t,"sells-for-u":t,servebbs:t,"simple-url":t,"space-to-rent":t,"teaches-yoga":t,writesthisblog:t,"1cooldns":t,bumbleshrimp:t,ddnsfree:t,ddnsgeek:t,ddnsguru:t,dynuddns:t,dynuhosting:t,giize:t,gleeze:t,kozow:t,loseyourip:t,ooguy:t,pivohosting:t,theworkpc:t,wiredbladehosting:t,emergentagent:[0,{preview:t}],mytuleap:t,"tuleap-partners":t,encoreapi:t,evennode:[0,{"eu-1":t,"eu-2":t,"eu-3":t,"eu-4":t,"us-1":t,"us-2":t,"us-3":t,"us-4":t}],onfabrica:t,"fastly-edge":t,"fastly-terrarium":t,"fastvps-server":t,mydobiss:t,firebaseapp:t,fldrv:t,framercanvas:t,"freebox-os":t,freeboxos:t,freemyip:t,aliases121:t,gentapps:t,gentlentapis:t,githubusercontent:t,"0emm":o,appspot:[2,{r:o}],blogspot:t,codespot:t,googleapis:t,googlecode:t,pagespeedmobilizer:t,withgoogle:t,withyoutube:t,grayjayleagues:t,hatenablog:t,hatenadiary:t,"hercules-app":t,"hercules-dev":t,herokuapp:t,gr:t,smushcdn:t,wphostedmail:t,wpmucdn:t,pixolino:t,"apps-1and1":t,"live-website":t,"webspace-host":t,dopaas:t,"hosted-by-previder":X,hosteur:[0,{"rag-cloud":t,"rag-cloud-ch":t}],"ik-server":[0,{jcloud:t,"jcloud-ver-jpc":t}],jelastic:[0,{demo:t}],massivegrid:X,wafaicloud:[0,{jed:t,ryd:t}],"eu1-plenit":t,"la1-plenit":t,"us1-plenit":t,webadorsite:t,"on-forge":t,"on-vapor":t,lpusercontent:t,linode:[0,{members:t,nodebalancer:o}],linodeobjects:o,linodeusercontent:[0,{ip:t}],localtonet:t,lovableproject:t,barsycenter:t,barsyonline:t,lutrausercontent:o,magicpatternsapp:t,modelscape:t,mwcloudnonprod:t,polyspace:t,miniserver:t,atmeta:t,fbsbx:H,meteorapp:ie,routingthecloud:t,"same-app":t,"same-preview":t,mydbserver:t,mochausercontent:t,hostedpi:t,"mythic-beasts":[0,{caracal:t,customer:t,fentiger:t,lynx:t,ocelot:t,oncilla:t,onza:t,sphinx:t,vs:t,x:t,yali:t}],nospamproxy:[0,{cloud:[2,{o365:t}]}],"4u":t,nfshost:t,"3utilities":t,blogsyte:t,ciscofreak:t,damnserver:t,ddnsking:t,ditchyourip:t,dnsiskinky:t,dynns:t,geekgalaxy:t,"health-carereform":t,homesecuritymac:t,homesecuritypc:t,myactivedirectory:t,mysecuritycamera:t,myvnc:t,"net-freaks":t,onthewifi:t,point2this:t,quicksytes:t,securitytactics:t,servebeer:t,servecounterstrike:t,serveexchange:t,serveftp:t,servegame:t,servehalflife:t,servehttp:t,servehumour:t,serveirc:t,servemp3:t,servep2p:t,servepics:t,servequake:t,servesarcasm:t,stufftoread:t,unusualperson:t,workisboring:t,myiphost:t,observableusercontent:[0,{static:t}],simplesite:t,oaiusercontent:o,orsites:t,operaunite:t,"customer-oci":[0,{"*":t,oci:o,ocp:o,ocs:o}],oraclecloudapps:o,oraclegovcloudapps:o,"authgear-staging":t,authgearapps:t,outsystemscloud:t,ownprovider:t,pgfog:t,pagexl:t,gotpantheon:t,paywhirl:o,forgeblocks:t,upsunapp:t,"postman-echo":t,prgmr:[0,{xen:t}],"project-study":[0,{dev:t}],pythonanywhere:ie,qa2:t,"alpha-myqnapcloud":t,"dev-myqnapcloud":t,mycloudnas:t,mynascloud:t,myqnapcloud:t,qualifioapp:t,ladesk:t,qualyhqpartner:o,qualyhqportal:o,qbuser:t,quipelements:o,rackmaze:t,"readthedocs-hosted":t,rhcloud:t,onrender:t,render:K,"subsc-pay":t,"180r":t,dojin:t,sakuratan:t,sakuraweb:t,x0:t,code:[0,{builder:o,"dev-builder":o,"stg-builder":o}],salesforce:[0,{platform:[0,{"code-builder-stg":[0,{test:[0,{"001":o}]}]}]}],logoip:t,scrysec:t,"firewall-gateway":t,myshopblocks:t,myshopify:t,shopitsite:t,"1kapp":t,appchizi:t,applinzi:t,sinaapp:t,vipsinaapp:t,streamlitapp:t,"try-snowplow":t,"playstation-cloud":t,myspreadshop:t,"w-corp-staticblitz":t,"w-credentialless-staticblitz":t,"w-staticblitz":t,"stackhero-network":t,stdlib:[0,{api:t}],strapiapp:[2,{media:t}],"streak-link":t,streaklinks:t,streakusercontent:t,"temp-dns":t,dsmynas:t,familyds:t,mytabit:t,taveusercontent:t,"tb-hosting":ee,reservd:t,thingdustdata:t,"townnews-staging":t,typeform:[0,{pro:t}],hk:t,it:t,"deus-canvas":t,vultrobjects:o,wafflecell:t,hotelwithflight:t,"reserve-online":t,cprapid:t,pleskns:t,remotewd:t,wiardweb:[0,{pages:t}],"drive-platform":t,"base44-sandbox":t,wixsite:t,wixstudio:t,messwithdns:t,"woltlab-demo":t,wpenginepowered:[2,{js:t}],xnbay:[2,{u2:t,"u2-local":t}],xtooldevice:t,yolasite:t}],coop:e,cr:[1,{ac:e,co:e,ed:e,fi:e,go:e,or:e,sa:e}],cu:[1,{com:e,edu:e,gob:e,inf:e,nat:e,net:e,org:e}],cv:[1,{com:e,edu:e,id:e,int:e,net:e,nome:e,org:e,publ:e}],cw:te,cx:[1,{gov:e,cloudns:t,ath:t,info:t,assessments:t,calculators:t,funnels:t,paynow:t,quizzes:t,researched:t,tests:t}],cy:[1,{ac:e,biz:e,com:[1,{scaleforce:Y}],ekloges:e,gov:e,ltd:e,mil:e,net:e,org:e,press:e,pro:e,tm:e}],cz:[1,{gov:e,contentproxy9:[0,{rsc:t}],realm:t,e4:t,co:t,metacentrum:[0,{cloud:o,custom:t}],muni:[0,{cloud:[0,{flt:t,usr:t}]}]}],de:[1,{bplaced:t,square7:t,"bwcloud-os-instance":o,com:t,cosidns:J,dnsupdater:t,"dynamisches-dns":t,"internet-dns":t,"l-o-g-i-n":t,ddnss:[2,{dyn:t,dyndns:t}],"dyn-ip24":t,dyndns1:t,"home-webserver":[2,{dyn:t}],"myhome-server":t,dnshome:t,fuettertdasnetz:t,isteingeek:t,istmein:t,lebtimnetz:t,leitungsen:t,traeumtgerade:t,frusky:o,goip:t,"xn--gnstigbestellen-zvb":t,günstigbestellen:t,"xn--gnstigliefern-wob":t,günstigliefern:t,"hs-heilbronn":[0,{it:[0,{pages:t,"pages-research":t}]}],"dyn-berlin":t,"in-berlin":t,"in-brb":t,"in-butter":t,"in-dsl":t,"in-vpn":t,iservschule:t,"mein-iserv":t,schuldock:t,schulplattform:t,schulserver:t,"test-iserv":t,keymachine:t,co:t,"git-repos":t,"lcube-server":t,"svn-repos":t,barsy:t,webspaceconfig:t,"123webseite":t,rub:t,"ruhr-uni-bochum":[2,{noc:[0,{io:t}]}],logoip:t,"firewall-gateway":t,"my-gateway":t,"my-router":t,spdns:t,my:t,speedpartner:[0,{customer:t}],myspreadshop:t,"taifun-dns":t,"12hp":t,"2ix":t,"4lima":t,"lima-city":t,"virtual-user":t,virtualuser:t,"community-pro":t,diskussionsbereich:t,xenonconnect:o}],dj:e,dk:[1,{biz:t,co:t,firm:t,reg:t,store:t,"123hjemmeside":t,myspreadshop:t}],dm:Z,do:[1,{art:e,com:e,edu:e,gob:e,gov:e,mil:e,net:e,org:e,sld:e,web:e}],dz:[1,{art:e,asso:e,com:e,edu:e,gov:e,net:e,org:e,pol:e,soc:e,tm:e}],ec:[1,{abg:e,adm:e,agron:e,arqt:e,art:e,bar:e,chef:e,com:e,cont:e,cpa:e,cue:e,dent:e,dgn:e,disco:e,doc:e,edu:e,eng:e,esm:e,fin:e,fot:e,gal:e,gob:e,gov:e,gye:e,ibr:e,info:e,k12:e,lat:e,loj:e,med:e,mil:e,mktg:e,mon:e,net:e,ntr:e,odont:e,org:e,pro:e,prof:e,psic:e,psiq:e,pub:e,rio:e,rrpp:e,sal:e,tech:e,tul:e,tur:e,uio:e,vet:e,xxx:e,base:t,official:t}],edu:[1,{rit:[0,{"git-pages":t}]}],ee:[1,{aip:e,com:e,edu:e,fie:e,gov:e,lib:e,med:e,org:e,pri:e,riik:e}],eg:[1,{ac:e,com:e,edu:e,eun:e,gov:e,info:e,me:e,mil:e,name:e,net:e,org:e,sci:e,sport:e,tv:e}],er:x,es:[1,{com:e,edu:e,gob:e,nom:e,org:e,"123miweb":t,myspreadshop:t}],et:[1,{biz:e,com:e,edu:e,gov:e,info:e,name:e,net:e,org:e}],eu:[1,{amazonwebservices:[0,{on:[0,{"eusc-de-east-1":[0,{"cognito-idp":B}]}]}],cloudns:t,prvw:t,deuxfleurs:t,dogado:[0,{jelastic:t}],barsy:t,spdns:t,nxa:o,directwp:t,transurl:o}],fi:[1,{aland:e,dy:t,"xn--hkkinen-5wa":t,häkkinen:t,iki:t,cloudplatform:[0,{fi:t}],datacenter:[0,{demo:t,paas:t}],kapsi:t,"123kotisivu":t,myspreadshop:t}],fj:[1,{ac:e,biz:e,com:e,edu:e,gov:e,id:e,info:e,mil:e,name:e,net:e,org:e,pro:e}],fk:x,fm:[1,{com:e,edu:e,net:e,org:e,radio:t,user:o}],fo:e,fr:[1,{asso:e,com:e,gouv:e,nom:e,prd:e,tm:e,avoues:e,cci:e,greta:e,"huissier-justice":e,"fbx-os":t,fbxos:t,"freebox-os":t,freeboxos:t,goupile:t,kdns:t,"123siteweb":t,"on-web":t,"chirurgiens-dentistes-en-france":t,dedibox:t,aeroport:t,avocat:t,chambagri:t,"chirurgiens-dentistes":t,"experts-comptables":t,medecin:t,notaires:t,pharmacien:t,port:t,veterinaire:t,myspreadshop:t,ynh:t}],ga:e,gb:e,gd:[1,{edu:e,gov:e}],ge:[1,{com:e,edu:e,gov:e,net:e,org:e,pvt:e,school:e}],gf:e,gg:[1,{co:e,net:e,org:e,ply:[0,{at:o,d6:t}],botdash:t,kaas:t,stackit:t,panel:[2,{daemon:t}]}],gh:[1,{biz:e,com:e,edu:e,gov:e,mil:e,net:e,org:e}],gi:[1,{com:e,edu:e,gov:e,ltd:e,mod:e,org:e}],gl:[1,{co:e,com:e,edu:e,net:e,org:e}],gm:e,gn:[1,{ac:e,com:e,edu:e,gov:e,net:e,org:e}],gov:e,gp:[1,{asso:e,com:e,edu:e,mobi:e,net:e,org:e}],gq:e,gr:[1,{com:e,edu:e,gov:e,net:e,org:e,barsy:t,simplesite:t}],gs:e,gt:[1,{com:e,edu:e,gob:e,ind:e,mil:e,net:e,org:e}],gu:[1,{com:e,edu:e,gov:e,guam:e,info:e,net:e,org:e,web:e}],gw:[1,{nx:t}],gy:Z,hk:[1,{com:e,edu:e,gov:e,idv:e,net:e,org:e,"xn--ciqpn":e,个人:e,"xn--gmqw5a":e,個人:e,"xn--55qx5d":e,公司:e,"xn--mxtq1m":e,政府:e,"xn--lcvr32d":e,敎育:e,"xn--wcvs22d":e,教育:e,"xn--gmq050i":e,箇人:e,"xn--uc0atv":e,組織:e,"xn--uc0ay4a":e,組织:e,"xn--od0alg":e,網絡:e,"xn--zf0avx":e,網络:e,"xn--mk0axi":e,组織:e,"xn--tn0ag":e,组织:e,"xn--od0aq3b":e,网絡:e,"xn--io0a7i":e,网络:e,inc:t,ltd:t}],hm:e,hn:[1,{com:e,edu:e,gob:e,mil:e,net:e,org:e}],hr:[1,{com:e,from:e,iz:e,name:e,brendly:y}],ht:[1,{adult:e,art:e,asso:e,com:e,coop:e,edu:e,firm:e,gouv:e,info:e,med:e,net:e,org:e,perso:e,pol:e,pro:e,rel:e,shop:e,rt:t}],hu:[1,{2e3:e,agrar:e,bolt:e,casino:e,city:e,co:e,erotica:e,erotika:e,film:e,forum:e,games:e,hotel:e,info:e,ingatlan:e,jogasz:e,konyvelo:e,lakas:e,media:e,news:e,org:e,priv:e,reklam:e,sex:e,shop:e,sport:e,suli:e,szex:e,tm:e,tozsde:e,utazas:e,video:e}],id:[1,{ac:e,biz:e,co:e,desa:e,go:e,kop:e,mil:e,my:e,net:e,or:e,ponpes:e,sch:e,web:e,"xn--9tfky":e,"ᬩᬮᬶ":e,e:t,zone:t}],ie:[1,{gov:e,myspreadshop:t}],il:[1,{ac:e,co:[1,{ravpage:t,mytabit:t,tabitorder:t}],gov:e,idf:e,k12:e,muni:e,net:e,org:e}],"xn--4dbrk0ce":[1,{"xn--4dbgdty6c":e,"xn--5dbhl8d":e,"xn--8dbq2a":e,"xn--hebda8b":e}],ישראל:[1,{אקדמיה:e,ישוב:e,צהל:e,ממשל:e}],im:[1,{ac:e,co:[1,{ltd:e,plc:e}],com:e,net:e,org:e,tt:e,tv:e}],in:[1,{"5g":e,"6g":e,ac:e,ai:e,am:e,bank:e,bihar:e,biz:e,business:e,ca:e,cn:e,co:e,com:e,coop:e,cs:e,delhi:e,dr:e,edu:e,er:e,fin:e,firm:e,gen:e,gov:e,gujarat:e,ind:e,info:e,int:e,internet:e,io:e,me:e,mil:e,net:e,nic:e,org:e,pg:e,post:e,pro:e,res:e,travel:e,tv:e,uk:e,up:e,us:e,cloudns:t,barsy:t,web:t,indevs:t,supabase:t}],info:[1,{cloudns:t,"dynamic-dns":t,"barrel-of-knowledge":t,"barrell-of-knowledge":t,dyndns:t,"for-our":t,"groks-the":t,"groks-this":t,"here-for-more":t,knowsitall:t,selfip:t,webhop:t,barsy:t,mayfirst:t,mittwald:t,mittwaldserver:t,typo3server:t,dvrcam:t,ilovecollege:t,"no-ip":t,forumz:t,nsupdate:t,dnsupdate:t,"v-info":t}],int:[1,{eu:e}],io:[1,{2038:t,co:e,com:e,edu:e,gov:e,mil:e,net:e,nom:e,org:e,"on-acorn":o,myaddr:t,apigee:t,"b-data":t,beagleboard:t,bitbucket:t,bluebite:t,boxfuse:t,brave:a,browsersafetymark:t,bubble:se,bubbleapps:t,bigv:[0,{uk0:t}],cleverapps:t,cloudbeesusercontent:t,dappnode:[0,{dyndns:t}],darklang:t,definima:t,dedyn:t,icp0:ue,icp1:ue,qzz:t,"fh-muenster":t,gitbook:t,github:t,gitlab:t,lolipop:t,"hasura-app":t,hostyhosting:t,hypernode:t,moonscale:o,beebyte:X,beebyteapp:[0,{sekd1:t}],jele:t,keenetic:t,kiloapps:t,webthings:t,loginline:t,barsy:t,azurecontainer:o,ngrok:[2,{ap:t,au:t,eu:t,in:t,jp:t,sa:t,us:t}],nodeart:[0,{stage:t}],pantheonsite:t,forgerock:[0,{id:t}],pstmn:[2,{mock:t}],protonet:t,qcx:[2,{sys:o}],qoto:t,vaporcloud:t,myrdbx:t,"rb-hosting":ee,"on-k3s":o,"on-rio":o,readthedocs:t,resindevice:t,resinstaging:[0,{devices:t}],hzc:t,sandcats:t,scrypted:[0,{client:t}],"mo-siemens":t,lair:H,stolos:o,musician:t,utwente:t,edugit:t,telebit:t,thingdust:[0,{dev:he,disrec:he,prod:de,testing:he}],tickets:t,webflow:t,webflowtest:t,"drive-platform":t,editorx:t,wixstudio:t,basicserver:t,virtualserver:t}],iq:r,ir:[1,{ac:e,co:e,gov:e,id:e,net:e,org:e,sch:e,"xn--mgba3a4f16a":e,ایران:e,"xn--mgba3a4fra":e,ايران:e,arvanedge:t,vistablog:t}],is:e,it:[1,{edu:e,gov:e,abr:e,abruzzo:e,"aosta-valley":e,aostavalley:e,bas:e,basilicata:e,cal:e,calabria:e,cam:e,campania:e,"emilia-romagna":e,emiliaromagna:e,emr:e,"friuli-v-giulia":e,"friuli-ve-giulia":e,"friuli-vegiulia":e,"friuli-venezia-giulia":e,"friuli-veneziagiulia":e,"friuli-vgiulia":e,"friuliv-giulia":e,"friulive-giulia":e,friulivegiulia:e,"friulivenezia-giulia":e,friuliveneziagiulia:e,friulivgiulia:e,fvg:e,laz:e,lazio:e,lig:e,liguria:e,lom:e,lombardia:e,lombardy:e,lucania:e,mar:e,marche:e,mol:e,molise:e,piedmont:e,piemonte:e,pmn:e,pug:e,puglia:e,sar:e,sardegna:e,sardinia:e,sic:e,sicilia:e,sicily:e,taa:e,tos:e,toscana:e,"trentin-sud-tirol":e,"xn--trentin-sd-tirol-rzb":e,"trentin-süd-tirol":e,"trentin-sudtirol":e,"xn--trentin-sdtirol-7vb":e,"trentin-südtirol":e,"trentin-sued-tirol":e,"trentin-suedtirol":e,trentino:e,"trentino-a-adige":e,"trentino-aadige":e,"trentino-alto-adige":e,"trentino-altoadige":e,"trentino-s-tirol":e,"trentino-stirol":e,"trentino-sud-tirol":e,"xn--trentino-sd-tirol-c3b":e,"trentino-süd-tirol":e,"trentino-sudtirol":e,"xn--trentino-sdtirol-szb":e,"trentino-südtirol":e,"trentino-sued-tirol":e,"trentino-suedtirol":e,"trentinoa-adige":e,trentinoaadige:e,"trentinoalto-adige":e,trentinoaltoadige:e,"trentinos-tirol":e,trentinostirol:e,"trentinosud-tirol":e,"xn--trentinosd-tirol-rzb":e,"trentinosüd-tirol":e,trentinosudtirol:e,"xn--trentinosdtirol-7vb":e,trentinosüdtirol:e,"trentinosued-tirol":e,trentinosuedtirol:e,"trentinsud-tirol":e,"xn--trentinsd-tirol-6vb":e,"trentinsüd-tirol":e,trentinsudtirol:e,"xn--trentinsdtirol-nsb":e,trentinsüdtirol:e,"trentinsued-tirol":e,trentinsuedtirol:e,tuscany:e,umb:e,umbria:e,"val-d-aosta":e,"val-daosta":e,"vald-aosta":e,valdaosta:e,"valle-aosta":e,"valle-d-aosta":e,"valle-daosta":e,valleaosta:e,"valled-aosta":e,valledaosta:e,"vallee-aoste":e,"xn--valle-aoste-ebb":e,"vallée-aoste":e,"vallee-d-aoste":e,"xn--valle-d-aoste-ehb":e,"vallée-d-aoste":e,valleeaoste:e,"xn--valleaoste-e7a":e,valléeaoste:e,valleedaoste:e,"xn--valledaoste-ebb":e,valléedaoste:e,vao:e,vda:e,ven:e,veneto:e,ag:e,agrigento:e,al:e,alessandria:e,"alto-adige":e,altoadige:e,an:e,ancona:e,"andria-barletta-trani":e,"andria-trani-barletta":e,andriabarlettatrani:e,andriatranibarletta:e,ao:e,aosta:e,aoste:e,ap:e,aq:e,aquila:e,ar:e,arezzo:e,"ascoli-piceno":e,ascolipiceno:e,asti:e,at:e,av:e,avellino:e,ba:e,balsan:e,"balsan-sudtirol":e,"xn--balsan-sdtirol-nsb":e,"balsan-südtirol":e,"balsan-suedtirol":e,bari:e,"barletta-trani-andria":e,barlettatraniandria:e,belluno:e,benevento:e,bergamo:e,bg:e,bi:e,biella:e,bl:e,bn:e,bo:e,bologna:e,bolzano:e,"bolzano-altoadige":e,bozen:e,"bozen-sudtirol":e,"xn--bozen-sdtirol-2ob":e,"bozen-südtirol":e,"bozen-suedtirol":e,br:e,brescia:e,brindisi:e,bs:e,bt:e,bulsan:e,"bulsan-sudtirol":e,"xn--bulsan-sdtirol-nsb":e,"bulsan-südtirol":e,"bulsan-suedtirol":e,bz:e,ca:e,cagliari:e,caltanissetta:e,"campidano-medio":e,campidanomedio:e,campobasso:e,"carbonia-iglesias":e,carboniaiglesias:e,"carrara-massa":e,carraramassa:e,caserta:e,catania:e,catanzaro:e,cb:e,ce:e,"cesena-forli":e,"xn--cesena-forl-mcb":e,"cesena-forlì":e,cesenaforli:e,"xn--cesenaforl-i8a":e,cesenaforlì:e,ch:e,chieti:e,ci:e,cl:e,cn:e,co:e,como:e,cosenza:e,cr:e,cremona:e,crotone:e,cs:e,ct:e,cuneo:e,cz:e,"dell-ogliastra":e,dellogliastra:e,en:e,enna:e,fc:e,fe:e,fermo:e,ferrara:e,fg:e,fi:e,firenze:e,florence:e,fm:e,foggia:e,"forli-cesena":e,"xn--forl-cesena-fcb":e,"forlì-cesena":e,forlicesena:e,"xn--forlcesena-c8a":e,forlìcesena:e,fr:e,frosinone:e,ge:e,genoa:e,genova:e,go:e,gorizia:e,gr:e,grosseto:e,"iglesias-carbonia":e,iglesiascarbonia:e,im:e,imperia:e,is:e,isernia:e,kr:e,"la-spezia":e,laquila:e,laspezia:e,latina:e,lc:e,le:e,lecce:e,lecco:e,li:e,livorno:e,lo:e,lodi:e,lt:e,lu:e,lucca:e,macerata:e,mantova:e,"massa-carrara":e,massacarrara:e,matera:e,mb:e,mc:e,me:e,"medio-campidano":e,mediocampidano:e,messina:e,mi:e,milan:e,milano:e,mn:e,mo:e,modena:e,monza:e,"monza-brianza":e,"monza-e-della-brianza":e,monzabrianza:e,monzaebrianza:e,monzaedellabrianza:e,ms:e,mt:e,na:e,naples:e,napoli:e,no:e,novara:e,nu:e,nuoro:e,og:e,ogliastra:e,"olbia-tempio":e,olbiatempio:e,or:e,oristano:e,ot:e,pa:e,padova:e,padua:e,palermo:e,parma:e,pavia:e,pc:e,pd:e,pe:e,perugia:e,"pesaro-urbino":e,pesarourbino:e,pescara:e,pg:e,pi:e,piacenza:e,pisa:e,pistoia:e,pn:e,po:e,pordenone:e,potenza:e,pr:e,prato:e,pt:e,pu:e,pv:e,pz:e,ra:e,ragusa:e,ravenna:e,rc:e,re:e,"reggio-calabria":e,"reggio-emilia":e,reggiocalabria:e,reggioemilia:e,rg:e,ri:e,rieti:e,rimini:e,rm:e,rn:e,ro:e,roma:e,rome:e,rovigo:e,sa:e,salerno:e,sassari:e,savona:e,si:e,siena:e,siracusa:e,so:e,sondrio:e,sp:e,sr:e,ss:e,"xn--sdtirol-n2a":e,südtirol:e,suedtirol:e,sv:e,ta:e,taranto:e,te:e,"tempio-olbia":e,tempioolbia:e,teramo:e,terni:e,tn:e,to:e,torino:e,tp:e,tr:e,"trani-andria-barletta":e,"trani-barletta-andria":e,traniandriabarletta:e,tranibarlettaandria:e,trapani:e,trento:e,treviso:e,trieste:e,ts:e,turin:e,tv:e,ud:e,udine:e,"urbino-pesaro":e,urbinopesaro:e,va:e,varese:e,vb:e,vc:e,ve:e,venezia:e,venice:e,verbania:e,vercelli:e,verona:e,vi:e,"vibo-valentia":e,vibovalentia:e,vicenza:e,viterbo:e,vr:e,vs:e,vt:e,vv:e,ibxos:t,iliadboxos:t,neen:[0,{jc:t}],"123homepage":t,"16-b":t,"32-b":t,"64-b":t,myspreadshop:t,syncloud:t}],je:[1,{co:e,net:e,org:e,of:t}],jm:x,jo:[1,{agri:e,ai:e,com:e,edu:e,eng:e,fm:e,gov:e,mil:e,net:e,org:e,per:e,phd:e,sch:e,tv:e}],jobs:e,jp:[1,{ac:e,ad:e,co:e,ed:e,go:e,gr:e,lg:e,ne:[1,{aseinet:re,gehirn:t,ivory:t,"mail-box":t,mints:t,mokuren:t,opal:t,sakura:t,sumomo:t,topaz:t}],or:e,aichi:[1,{aisai:e,ama:e,anjo:e,asuke:e,chiryu:e,chita:e,fuso:e,gamagori:e,handa:e,hazu:e,hekinan:e,higashiura:e,ichinomiya:e,inazawa:e,inuyama:e,isshiki:e,iwakura:e,kanie:e,kariya:e,kasugai:e,kira:e,kiyosu:e,komaki:e,konan:e,kota:e,mihama:e,miyoshi:e,nishio:e,nisshin:e,obu:e,oguchi:e,oharu:e,okazaki:e,owariasahi:e,seto:e,shikatsu:e,shinshiro:e,shitara:e,tahara:e,takahama:e,tobishima:e,toei:e,togo:e,tokai:e,tokoname:e,toyoake:e,toyohashi:e,toyokawa:e,toyone:e,toyota:e,tsushima:e,yatomi:e}],akita:[1,{akita:e,daisen:e,fujisato:e,gojome:e,hachirogata:e,happou:e,higashinaruse:e,honjo:e,honjyo:e,ikawa:e,kamikoani:e,kamioka:e,katagami:e,kazuno:e,kitaakita:e,kosaka:e,kyowa:e,misato:e,mitane:e,moriyoshi:e,nikaho:e,noshiro:e,odate:e,oga:e,ogata:e,semboku:e,yokote:e,yurihonjo:e}],aomori:[1,{aomori:e,gonohe:e,hachinohe:e,hashikami:e,hiranai:e,hirosaki:e,itayanagi:e,kuroishi:e,misawa:e,mutsu:e,nakadomari:e,noheji:e,oirase:e,owani:e,rokunohe:e,sannohe:e,shichinohe:e,shingo:e,takko:e,towada:e,tsugaru:e,tsuruta:e}],chiba:[1,{abiko:e,asahi:e,chonan:e,chosei:e,choshi:e,chuo:e,funabashi:e,futtsu:e,hanamigawa:e,ichihara:e,ichikawa:e,ichinomiya:e,inzai:e,isumi:e,kamagaya:e,kamogawa:e,kashiwa:e,katori:e,katsuura:e,kimitsu:e,kisarazu:e,kozaki:e,kujukuri:e,kyonan:e,matsudo:e,midori:e,mihama:e,minamiboso:e,mobara:e,mutsuzawa:e,nagara:e,nagareyama:e,narashino:e,narita:e,noda:e,oamishirasato:e,omigawa:e,onjuku:e,otaki:e,sakae:e,sakura:e,shimofusa:e,shirako:e,shiroi:e,shisui:e,sodegaura:e,sosa:e,tako:e,tateyama:e,togane:e,tohnosho:e,tomisato:e,urayasu:e,yachimata:e,yachiyo:e,yokaichiba:e,yokoshibahikari:e,yotsukaido:e}],ehime:[1,{ainan:e,honai:e,ikata:e,imabari:e,iyo:e,kamijima:e,kihoku:e,kumakogen:e,masaki:e,matsuno:e,matsuyama:e,namikata:e,niihama:e,ozu:e,saijo:e,seiyo:e,shikokuchuo:e,tobe:e,toon:e,uchiko:e,uwajima:e,yawatahama:e}],fukui:[1,{echizen:e,eiheiji:e,fukui:e,ikeda:e,katsuyama:e,mihama:e,minamiechizen:e,obama:e,ohi:e,ono:e,sabae:e,sakai:e,takahama:e,tsuruga:e,wakasa:e}],fukuoka:[1,{ashiya:e,buzen:e,chikugo:e,chikuho:e,chikujo:e,chikushino:e,chikuzen:e,chuo:e,dazaifu:e,fukuchi:e,hakata:e,higashi:e,hirokawa:e,hisayama:e,iizuka:e,inatsuki:e,kaho:e,kasuga:e,kasuya:e,kawara:e,keisen:e,koga:e,kurate:e,kurogi:e,kurume:e,minami:e,miyako:e,miyama:e,miyawaka:e,mizumaki:e,munakata:e,nakagawa:e,nakama:e,nishi:e,nogata:e,ogori:e,okagaki:e,okawa:e,oki:e,omuta:e,onga:e,onojo:e,oto:e,saigawa:e,sasaguri:e,shingu:e,shinyoshitomi:e,shonai:e,soeda:e,sue:e,tachiarai:e,tagawa:e,takata:e,toho:e,toyotsu:e,tsuiki:e,ukiha:e,umi:e,usui:e,yamada:e,yame:e,yanagawa:e,yukuhashi:e}],fukushima:[1,{aizubange:e,aizumisato:e,aizuwakamatsu:e,asakawa:e,bandai:e,date:e,fukushima:e,furudono:e,futaba:e,hanawa:e,higashi:e,hirata:e,hirono:e,iitate:e,inawashiro:e,ishikawa:e,iwaki:e,izumizaki:e,kagamiishi:e,kaneyama:e,kawamata:e,kitakata:e,kitashiobara:e,koori:e,koriyama:e,kunimi:e,miharu:e,mishima:e,namie:e,nango:e,nishiaizu:e,nishigo:e,okuma:e,omotego:e,ono:e,otama:e,samegawa:e,shimogo:e,shirakawa:e,showa:e,soma:e,sukagawa:e,taishin:e,tamakawa:e,tanagura:e,tenei:e,yabuki:e,yamato:e,yamatsuri:e,yanaizu:e,yugawa:e}],gifu:[1,{anpachi:e,ena:e,gifu:e,ginan:e,godo:e,gujo:e,hashima:e,hichiso:e,hida:e,higashishirakawa:e,ibigawa:e,ikeda:e,kakamigahara:e,kani:e,kasahara:e,kasamatsu:e,kawaue:e,kitagata:e,mino:e,minokamo:e,mitake:e,mizunami:e,motosu:e,nakatsugawa:e,ogaki:e,sakahogi:e,seki:e,sekigahara:e,shirakawa:e,tajimi:e,takayama:e,tarui:e,toki:e,tomika:e,wanouchi:e,yamagata:e,yaotsu:e,yoro:e}],gunma:[1,{annaka:e,chiyoda:e,fujioka:e,higashiagatsuma:e,isesaki:e,itakura:e,kanna:e,kanra:e,katashina:e,kawaba:e,kiryu:e,kusatsu:e,maebashi:e,meiwa:e,midori:e,minakami:e,naganohara:e,nakanojo:e,nanmoku:e,numata:e,oizumi:e,ora:e,ota:e,shibukawa:e,shimonita:e,shinto:e,showa:e,takasaki:e,takayama:e,tamamura:e,tatebayashi:e,tomioka:e,tsukiyono:e,tsumagoi:e,ueno:e,yoshioka:e}],hiroshima:[1,{asaminami:e,daiwa:e,etajima:e,fuchu:e,fukuyama:e,hatsukaichi:e,higashihiroshima:e,hongo:e,jinsekikogen:e,kaita:e,kui:e,kumano:e,kure:e,mihara:e,miyoshi:e,naka:e,onomichi:e,osakikamijima:e,otake:e,saka:e,sera:e,seranishi:e,shinichi:e,shobara:e,takehara:e}],hokkaido:[1,{abashiri:e,abira:e,aibetsu:e,akabira:e,akkeshi:e,asahikawa:e,ashibetsu:e,ashoro:e,assabu:e,atsuma:e,bibai:e,biei:e,bifuka:e,bihoro:e,biratori:e,chippubetsu:e,chitose:e,date:e,ebetsu:e,embetsu:e,eniwa:e,erimo:e,esan:e,esashi:e,fukagawa:e,fukushima:e,furano:e,furubira:e,haboro:e,hakodate:e,hamatonbetsu:e,hidaka:e,higashikagura:e,higashikawa:e,hiroo:e,hokuryu:e,hokuto:e,honbetsu:e,horokanai:e,horonobe:e,ikeda:e,imakane:e,ishikari:e,iwamizawa:e,iwanai:e,kamifurano:e,kamikawa:e,kamishihoro:e,kamisunagawa:e,kamoenai:e,kayabe:e,kembuchi:e,kikonai:e,kimobetsu:e,kitahiroshima:e,kitami:e,kiyosato:e,koshimizu:e,kunneppu:e,kuriyama:e,kuromatsunai:e,kushiro:e,kutchan:e,kyowa:e,mashike:e,matsumae:e,mikasa:e,minamifurano:e,mombetsu:e,moseushi:e,mukawa:e,muroran:e,naie:e,nakagawa:e,nakasatsunai:e,nakatombetsu:e,nanae:e,nanporo:e,nayoro:e,nemuro:e,niikappu:e,niki:e,nishiokoppe:e,noboribetsu:e,numata:e,obihiro:e,obira:e,oketo:e,okoppe:e,otaru:e,otobe:e,otofuke:e,otoineppu:e,oumu:e,ozora:e,pippu:e,rankoshi:e,rebun:e,rikubetsu:e,rishiri:e,rishirifuji:e,saroma:e,sarufutsu:e,shakotan:e,shari:e,shibecha:e,shibetsu:e,shikabe:e,shikaoi:e,shimamaki:e,shimizu:e,shimokawa:e,shinshinotsu:e,shintoku:e,shiranuka:e,shiraoi:e,shiriuchi:e,sobetsu:e,sunagawa:e,taiki:e,takasu:e,takikawa:e,takinoue:e,teshikaga:e,tobetsu:e,tohma:e,tomakomai:e,tomari:e,toya:e,toyako:e,toyotomi:e,toyoura:e,tsubetsu:e,tsukigata:e,urakawa:e,urausu:e,uryu:e,utashinai:e,wakkanai:e,wassamu:e,yakumo:e,yoichi:e}],hyogo:[1,{aioi:e,akashi:e,ako:e,amagasaki:e,aogaki:e,asago:e,ashiya:e,awaji:e,fukusaki:e,goshiki:e,harima:e,himeji:e,ichikawa:e,inagawa:e,itami:e,kakogawa:e,kamigori:e,kamikawa:e,kasai:e,kasuga:e,kawanishi:e,miki:e,minamiawaji:e,nishinomiya:e,nishiwaki:e,ono:e,sanda:e,sannan:e,sasayama:e,sayo:e,shingu:e,shinonsen:e,shiso:e,sumoto:e,taishi:e,taka:e,takarazuka:e,takasago:e,takino:e,tamba:e,tatsuno:e,toyooka:e,yabu:e,yashiro:e,yoka:e,yokawa:e}],ibaraki:[1,{ami:e,asahi:e,bando:e,chikusei:e,daigo:e,fujishiro:e,hitachi:e,hitachinaka:e,hitachiomiya:e,hitachiota:e,ibaraki:e,ina:e,inashiki:e,itako:e,iwama:e,joso:e,kamisu:e,kasama:e,kashima:e,kasumigaura:e,koga:e,miho:e,mito:e,moriya:e,naka:e,namegata:e,oarai:e,ogawa:e,omitama:e,ryugasaki:e,sakai:e,sakuragawa:e,shimodate:e,shimotsuma:e,shirosato:e,sowa:e,suifu:e,takahagi:e,tamatsukuri:e,tokai:e,tomobe:e,tone:e,toride:e,tsuchiura:e,tsukuba:e,uchihara:e,ushiku:e,yachiyo:e,yamagata:e,yawara:e,yuki:e}],ishikawa:[1,{anamizu:e,hakui:e,hakusan:e,kaga:e,kahoku:e,kanazawa:e,kawakita:e,komatsu:e,nakanoto:e,nanao:e,nomi:e,nonoichi:e,noto:e,shika:e,suzu:e,tsubata:e,tsurugi:e,uchinada:e,wajima:e}],iwate:[1,{fudai:e,fujisawa:e,hanamaki:e,hiraizumi:e,hirono:e,ichinohe:e,ichinoseki:e,iwaizumi:e,iwate:e,joboji:e,kamaishi:e,kanegasaki:e,karumai:e,kawai:e,kitakami:e,kuji:e,kunohe:e,kuzumaki:e,miyako:e,mizusawa:e,morioka:e,ninohe:e,noda:e,ofunato:e,oshu:e,otsuchi:e,rikuzentakata:e,shiwa:e,shizukuishi:e,sumita:e,tanohata:e,tono:e,yahaba:e,yamada:e}],kagawa:[1,{ayagawa:e,higashikagawa:e,kanonji:e,kotohira:e,manno:e,marugame:e,mitoyo:e,naoshima:e,sanuki:e,tadotsu:e,takamatsu:e,tonosho:e,uchinomi:e,utazu:e,zentsuji:e}],kagoshima:[1,{akune:e,amami:e,hioki:e,isa:e,isen:e,izumi:e,kagoshima:e,kanoya:e,kawanabe:e,kinko:e,kouyama:e,makurazaki:e,matsumoto:e,minamitane:e,nakatane:e,nishinoomote:e,satsumasendai:e,soo:e,tarumizu:e,yusui:e}],kanagawa:[1,{aikawa:e,atsugi:e,ayase:e,chigasaki:e,ebina:e,fujisawa:e,hadano:e,hakone:e,hiratsuka:e,isehara:e,kaisei:e,kamakura:e,kiyokawa:e,matsuda:e,minamiashigara:e,miura:e,nakai:e,ninomiya:e,odawara:e,oi:e,oiso:e,sagamihara:e,samukawa:e,tsukui:e,yamakita:e,yamato:e,yokosuka:e,yugawara:e,zama:e,zushi:e}],kochi:[1,{aki:e,geisei:e,hidaka:e,higashitsuno:e,ino:e,kagami:e,kami:e,kitagawa:e,kochi:e,mihara:e,motoyama:e,muroto:e,nahari:e,nakamura:e,nankoku:e,nishitosa:e,niyodogawa:e,ochi:e,okawa:e,otoyo:e,otsuki:e,sakawa:e,sukumo:e,susaki:e,tosa:e,tosashimizu:e,toyo:e,tsuno:e,umaji:e,yasuda:e,yusuhara:e}],kumamoto:[1,{amakusa:e,arao:e,aso:e,choyo:e,gyokuto:e,kamiamakusa:e,kikuchi:e,kumamoto:e,mashiki:e,mifune:e,minamata:e,minamioguni:e,nagasu:e,nishihara:e,oguni:e,ozu:e,sumoto:e,takamori:e,uki:e,uto:e,yamaga:e,yamato:e,yatsushiro:e}],kyoto:[1,{ayabe:e,fukuchiyama:e,higashiyama:e,ide:e,ine:e,joyo:e,kameoka:e,kamo:e,kita:e,kizu:e,kumiyama:e,kyotamba:e,kyotanabe:e,kyotango:e,maizuru:e,minami:e,minamiyamashiro:e,miyazu:e,muko:e,nagaokakyo:e,nakagyo:e,nantan:e,oyamazaki:e,sakyo:e,seika:e,tanabe:e,uji:e,ujitawara:e,wazuka:e,yamashina:e,yawata:e}],mie:[1,{asahi:e,inabe:e,ise:e,kameyama:e,kawagoe:e,kiho:e,kisosaki:e,kiwa:e,komono:e,kumano:e,kuwana:e,matsusaka:e,meiwa:e,mihama:e,minamiise:e,misugi:e,miyama:e,nabari:e,shima:e,suzuka:e,tado:e,taiki:e,taki:e,tamaki:e,toba:e,tsu:e,udono:e,ureshino:e,watarai:e,yokkaichi:e}],miyagi:[1,{furukawa:e,higashimatsushima:e,ishinomaki:e,iwanuma:e,kakuda:e,kami:e,kawasaki:e,marumori:e,matsushima:e,minamisanriku:e,misato:e,murata:e,natori:e,ogawara:e,ohira:e,onagawa:e,osaki:e,rifu:e,semine:e,shibata:e,shichikashuku:e,shikama:e,shiogama:e,shiroishi:e,tagajo:e,taiwa:e,tome:e,tomiya:e,wakuya:e,watari:e,yamamoto:e,zao:e}],miyazaki:[1,{aya:e,ebino:e,gokase:e,hyuga:e,kadogawa:e,kawaminami:e,kijo:e,kitagawa:e,kitakata:e,kitaura:e,kobayashi:e,kunitomi:e,kushima:e,mimata:e,miyakonojo:e,miyazaki:e,morotsuka:e,nichinan:e,nishimera:e,nobeoka:e,saito:e,shiiba:e,shintomi:e,takaharu:e,takanabe:e,takazaki:e,tsuno:e}],nagano:[1,{achi:e,agematsu:e,anan:e,aoki:e,asahi:e,azumino:e,chikuhoku:e,chikuma:e,chino:e,fujimi:e,hakuba:e,hara:e,hiraya:e,iida:e,iijima:e,iiyama:e,iizuna:e,ikeda:e,ikusaka:e,ina:e,karuizawa:e,kawakami:e,kiso:e,kisofukushima:e,kitaaiki:e,komagane:e,komoro:e,matsukawa:e,matsumoto:e,miasa:e,minamiaiki:e,minamimaki:e,minamiminowa:e,minowa:e,miyada:e,miyota:e,mochizuki:e,nagano:e,nagawa:e,nagiso:e,nakagawa:e,nakano:e,nozawaonsen:e,obuse:e,ogawa:e,okaya:e,omachi:e,omi:e,ookuwa:e,ooshika:e,otaki:e,otari:e,sakae:e,sakaki:e,saku:e,sakuho:e,shimosuwa:e,shinanomachi:e,shiojiri:e,suwa:e,suzaka:e,takagi:e,takamori:e,takayama:e,tateshina:e,tatsuno:e,togakushi:e,togura:e,tomi:e,ueda:e,wada:e,yamagata:e,yamanouchi:e,yasaka:e,yasuoka:e}],nagasaki:[1,{chijiwa:e,futsu:e,goto:e,hasami:e,hirado:e,iki:e,isahaya:e,kawatana:e,kuchinotsu:e,matsuura:e,nagasaki:e,obama:e,omura:e,oseto:e,saikai:e,sasebo:e,seihi:e,shimabara:e,shinkamigoto:e,togitsu:e,tsushima:e,unzen:e}],nara:[1,{ando:e,gose:e,heguri:e,higashiyoshino:e,ikaruga:e,ikoma:e,kamikitayama:e,kanmaki:e,kashiba:e,kashihara:e,katsuragi:e,kawai:e,kawakami:e,kawanishi:e,koryo:e,kurotaki:e,mitsue:e,miyake:e,nara:e,nosegawa:e,oji:e,ouda:e,oyodo:e,sakurai:e,sango:e,shimoichi:e,shimokitayama:e,shinjo:e,soni:e,takatori:e,tawaramoto:e,tenkawa:e,tenri:e,uda:e,yamatokoriyama:e,yamatotakada:e,yamazoe:e,yoshino:e}],niigata:[1,{aga:e,agano:e,gosen:e,itoigawa:e,izumozaki:e,joetsu:e,kamo:e,kariwa:e,kashiwazaki:e,minamiuonuma:e,mitsuke:e,muika:e,murakami:e,myoko:e,nagaoka:e,niigata:e,ojiya:e,omi:e,sado:e,sanjo:e,seiro:e,seirou:e,sekikawa:e,shibata:e,tagami:e,tainai:e,tochio:e,tokamachi:e,tsubame:e,tsunan:e,uonuma:e,yahiko:e,yoita:e,yuzawa:e}],oita:[1,{beppu:e,bungoono:e,bungotakada:e,hasama:e,hiji:e,himeshima:e,hita:e,kamitsue:e,kokonoe:e,kuju:e,kunisaki:e,kusu:e,oita:e,saiki:e,taketa:e,tsukumi:e,usa:e,usuki:e,yufu:e}],okayama:[1,{akaiwa:e,asakuchi:e,bizen:e,hayashima:e,ibara:e,kagamino:e,kasaoka:e,kibichuo:e,kumenan:e,kurashiki:e,maniwa:e,misaki:e,nagi:e,niimi:e,nishiawakura:e,okayama:e,satosho:e,setouchi:e,shinjo:e,shoo:e,soja:e,takahashi:e,tamano:e,tsuyama:e,wake:e,yakage:e}],okinawa:[1,{aguni:e,ginowan:e,ginoza:e,gushikami:e,haebaru:e,higashi:e,hirara:e,iheya:e,ishigaki:e,ishikawa:e,itoman:e,izena:e,kadena:e,kin:e,kitadaito:e,kitanakagusuku:e,kumejima:e,kunigami:e,minamidaito:e,motobu:e,nago:e,naha:e,nakagusuku:e,nakijin:e,nanjo:e,nishihara:e,ogimi:e,okinawa:e,onna:e,shimoji:e,taketomi:e,tarama:e,tokashiki:e,tomigusuku:e,tonaki:e,urasoe:e,uruma:e,yaese:e,yomitan:e,yonabaru:e,yonaguni:e,zamami:e}],osaka:[1,{abeno:e,chihayaakasaka:e,chuo:e,daito:e,fujiidera:e,habikino:e,hannan:e,higashiosaka:e,higashisumiyoshi:e,higashiyodogawa:e,hirakata:e,ibaraki:e,ikeda:e,izumi:e,izumiotsu:e,izumisano:e,kadoma:e,kaizuka:e,kanan:e,kashiwara:e,katano:e,kawachinagano:e,kishiwada:e,kita:e,kumatori:e,matsubara:e,minato:e,minoh:e,misaki:e,moriguchi:e,neyagawa:e,nishi:e,nose:e,osakasayama:e,sakai:e,sayama:e,sennan:e,settsu:e,shijonawate:e,shimamoto:e,suita:e,tadaoka:e,taishi:e,tajiri:e,takaishi:e,takatsuki:e,tondabayashi:e,toyonaka:e,toyono:e,yao:e}],saga:[1,{ariake:e,arita:e,fukudomi:e,genkai:e,hamatama:e,hizen:e,imari:e,kamimine:e,kanzaki:e,karatsu:e,kashima:e,kitagata:e,kitahata:e,kiyama:e,kouhoku:e,kyuragi:e,nishiarita:e,ogi:e,omachi:e,ouchi:e,saga:e,shiroishi:e,taku:e,tara:e,tosu:e,yoshinogari:e}],saitama:[1,{arakawa:e,asaka:e,chichibu:e,fujimi:e,fujimino:e,fukaya:e,hanno:e,hanyu:e,hasuda:e,hatogaya:e,hatoyama:e,hidaka:e,higashichichibu:e,higashimatsuyama:e,honjo:e,ina:e,iruma:e,iwatsuki:e,kamiizumi:e,kamikawa:e,kamisato:e,kasukabe:e,kawagoe:e,kawaguchi:e,kawajima:e,kazo:e,kitamoto:e,koshigaya:e,kounosu:e,kuki:e,kumagaya:e,matsubushi:e,minano:e,misato:e,miyashiro:e,miyoshi:e,moroyama:e,nagatoro:e,namegawa:e,niiza:e,ogano:e,ogawa:e,ogose:e,okegawa:e,omiya:e,otaki:e,ranzan:e,ryokami:e,saitama:e,sakado:e,satte:e,sayama:e,shiki:e,shiraoka:e,soka:e,sugito:e,toda:e,tokigawa:e,tokorozawa:e,tsurugashima:e,urawa:e,warabi:e,yashio:e,yokoze:e,yono:e,yorii:e,yoshida:e,yoshikawa:e,yoshimi:e}],shiga:[1,{aisho:e,gamo:e,higashiomi:e,hikone:e,koka:e,konan:e,kosei:e,koto:e,kusatsu:e,maibara:e,moriyama:e,nagahama:e,nishiazai:e,notogawa:e,omihachiman:e,otsu:e,ritto:e,ryuoh:e,takashima:e,takatsuki:e,torahime:e,toyosato:e,yasu:e}],shimane:[1,{akagi:e,ama:e,gotsu:e,hamada:e,higashiizumo:e,hikawa:e,hikimi:e,izumo:e,kakinoki:e,masuda:e,matsue:e,misato:e,nishinoshima:e,ohda:e,okinoshima:e,okuizumo:e,shimane:e,tamayu:e,tsuwano:e,unnan:e,yakumo:e,yasugi:e,yatsuka:e}],shizuoka:[1,{arai:e,atami:e,fuji:e,fujieda:e,fujikawa:e,fujinomiya:e,fukuroi:e,gotemba:e,haibara:e,hamamatsu:e,higashiizu:e,ito:e,iwata:e,izu:e,izunokuni:e,kakegawa:e,kannami:e,kawanehon:e,kawazu:e,kikugawa:e,kosai:e,makinohara:e,matsuzaki:e,minamiizu:e,mishima:e,morimachi:e,nishiizu:e,numazu:e,omaezaki:e,shimada:e,shimizu:e,shimoda:e,shizuoka:e,susono:e,yaizu:e,yoshida:e}],tochigi:[1,{ashikaga:e,bato:e,haga:e,ichikai:e,iwafune:e,kaminokawa:e,kanuma:e,karasuyama:e,kuroiso:e,mashiko:e,mibu:e,moka:e,motegi:e,nasu:e,nasushiobara:e,nikko:e,nishikata:e,nogi:e,ohira:e,ohtawara:e,oyama:e,sakura:e,sano:e,shimotsuke:e,shioya:e,takanezawa:e,tochigi:e,tsuga:e,ujiie:e,utsunomiya:e,yaita:e}],tokushima:[1,{aizumi:e,anan:e,ichiba:e,itano:e,kainan:e,komatsushima:e,matsushige:e,mima:e,minami:e,miyoshi:e,mugi:e,nakagawa:e,naruto:e,sanagochi:e,shishikui:e,tokushima:e,wajiki:e}],tokyo:[1,{adachi:e,akiruno:e,akishima:e,aogashima:e,arakawa:e,bunkyo:e,chiyoda:e,chofu:e,chuo:e,edogawa:e,fuchu:e,fussa:e,hachijo:e,hachioji:e,hamura:e,higashikurume:e,higashimurayama:e,higashiyamato:e,hino:e,hinode:e,hinohara:e,inagi:e,itabashi:e,katsushika:e,kita:e,kiyose:e,kodaira:e,koganei:e,kokubunji:e,komae:e,koto:e,kouzushima:e,kunitachi:e,machida:e,meguro:e,minato:e,mitaka:e,mizuho:e,musashimurayama:e,musashino:e,nakano:e,nerima:e,ogasawara:e,okutama:e,ome:e,oshima:e,ota:e,setagaya:e,shibuya:e,shinagawa:e,shinjuku:e,suginami:e,sumida:e,tachikawa:e,taito:e,tama:e,toshima:e}],tottori:[1,{chizu:e,hino:e,kawahara:e,koge:e,kotoura:e,misasa:e,nanbu:e,nichinan:e,sakaiminato:e,tottori:e,wakasa:e,yazu:e,yonago:e}],toyama:[1,{asahi:e,fuchu:e,fukumitsu:e,funahashi:e,himi:e,imizu:e,inami:e,johana:e,kamiichi:e,kurobe:e,nakaniikawa:e,namerikawa:e,nanto:e,nyuzen:e,oyabe:e,taira:e,takaoka:e,tateyama:e,toga:e,tonami:e,toyama:e,unazuki:e,uozu:e,yamada:e}],wakayama:[1,{arida:e,aridagawa:e,gobo:e,hashimoto:e,hidaka:e,hirogawa:e,inami:e,iwade:e,kainan:e,kamitonda:e,katsuragi:e,kimino:e,kinokawa:e,kitayama:e,koya:e,koza:e,kozagawa:e,kudoyama:e,kushimoto:e,mihama:e,misato:e,nachikatsuura:e,shingu:e,shirahama:e,taiji:e,tanabe:e,wakayama:e,yuasa:e,yura:e}],yamagata:[1,{asahi:e,funagata:e,higashine:e,iide:e,kahoku:e,kaminoyama:e,kaneyama:e,kawanishi:e,mamurogawa:e,mikawa:e,murayama:e,nagai:e,nakayama:e,nanyo:e,nishikawa:e,obanazawa:e,oe:e,oguni:e,ohkura:e,oishida:e,sagae:e,sakata:e,sakegawa:e,shinjo:e,shirataka:e,shonai:e,takahata:e,tendo:e,tozawa:e,tsuruoka:e,yamagata:e,yamanobe:e,yonezawa:e,yuza:e}],yamaguchi:[1,{abu:e,hagi:e,hikari:e,hofu:e,iwakuni:e,kudamatsu:e,mitou:e,nagato:e,oshima:e,shimonoseki:e,shunan:e,tabuse:e,tokuyama:e,toyota:e,ube:e,yuu:e}],yamanashi:[1,{chuo:e,doshi:e,fuefuki:e,fujikawa:e,fujikawaguchiko:e,fujiyoshida:e,hayakawa:e,hokuto:e,ichikawamisato:e,kai:e,kofu:e,koshu:e,kosuge:e,"minami-alps":e,minobu:e,nakamichi:e,nanbu:e,narusawa:e,nirasaki:e,nishikatsura:e,oshino:e,otsuki:e,showa:e,tabayama:e,tsuru:e,uenohara:e,yamanakako:e,yamanashi:e}],"xn--ehqz56n":e,三重:e,"xn--1lqs03n":e,京都:e,"xn--qqqt11m":e,佐賀:e,"xn--f6qx53a":e,兵庫:e,"xn--djrs72d6uy":e,北海道:e,"xn--mkru45i":e,千葉:e,"xn--0trq7p7nn":e,和歌山:e,"xn--5js045d":e,埼玉:e,"xn--kbrq7o":e,大分:e,"xn--pssu33l":e,大阪:e,"xn--ntsq17g":e,奈良:e,"xn--uisz3g":e,宮城:e,"xn--6btw5a":e,宮崎:e,"xn--1ctwo":e,富山:e,"xn--6orx2r":e,山口:e,"xn--rht61e":e,山形:e,"xn--rht27z":e,山梨:e,"xn--nit225k":e,岐阜:e,"xn--rht3d":e,岡山:e,"xn--djty4k":e,岩手:e,"xn--klty5x":e,島根:e,"xn--kltx9a":e,広島:e,"xn--kltp7d":e,徳島:e,"xn--c3s14m":e,愛媛:e,"xn--vgu402c":e,愛知:e,"xn--efvn9s":e,新潟:e,"xn--1lqs71d":e,東京:e,"xn--4pvxs":e,栃木:e,"xn--uuwu58a":e,沖縄:e,"xn--zbx025d":e,滋賀:e,"xn--8pvr4u":e,熊本:e,"xn--5rtp49c":e,石川:e,"xn--ntso0iqx3a":e,神奈川:e,"xn--elqq16h":e,福井:e,"xn--4it168d":e,福岡:e,"xn--klt787d":e,福島:e,"xn--rny31h":e,秋田:e,"xn--7t0a264c":e,群馬:e,"xn--uist22h":e,茨城:e,"xn--8ltr62k":e,長崎:e,"xn--2m4a15e":e,長野:e,"xn--32vp30h":e,青森:e,"xn--4it797k":e,静岡:e,"xn--5rtq34k":e,香川:e,"xn--k7yn95e":e,高知:e,"xn--tor131o":e,鳥取:e,"xn--d5qv7z876c":e,鹿児島:e,kawasaki:x,kitakyushu:x,kobe:x,nagoya:x,sapporo:x,sendai:x,yokohama:x,buyshop:t,fashionstore:t,handcrafted:t,kawaiishop:t,supersale:t,theshop:t,"0am":t,"0g0":t,"0j0":t,"0t0":t,mydns:t,pgw:t,wjg:t,usercontent:t,angry:t,babyblue:t,babymilk:t,backdrop:t,bambina:t,bitter:t,blush:t,boo:t,boy:t,boyfriend:t,but:t,candypop:t,capoo:t,catfood:t,cheap:t,chicappa:t,chillout:t,chips:t,chowder:t,chu:t,ciao:t,cocotte:t,coolblog:t,cranky:t,cutegirl:t,daa:t,deca:t,deci:t,digick:t,egoism:t,fakefur:t,fem:t,flier:t,floppy:t,fool:t,frenchkiss:t,girlfriend:t,girly:t,gloomy:t,gonna:t,greater:t,hacca:t,heavy:t,her:t,hiho:t,hippy:t,holy:t,hungry:t,icurus:t,itigo:t,jellybean:t,kikirara:t,kill:t,kilo:t,kuron:t,littlestar:t,lolipopmc:t,lolitapunk:t,lomo:t,lovepop:t,lovesick:t,main:t,mods:t,mond:t,mongolian:t,moo:t,namaste:t,nikita:t,nobushi:t,noor:t,oops:t,parallel:t,parasite:t,pecori:t,peewee:t,penne:t,pepper:t,perma:t,pigboat:t,pinoko:t,punyu:t,pupu:t,pussycat:t,pya:t,raindrop:t,readymade:t,sadist:t,schoolbus:t,secret:t,staba:t,stripper:t,sub:t,sunnyday:t,thick:t,tonkotsu:t,under:t,upper:t,velvet:t,verse:t,versus:t,vivian:t,watson:t,weblike:t,whitesnow:t,zombie:t,hateblo:t,hatenablog:t,hatenadiary:t,"2-d":t,bona:t,crap:t,daynight:t,eek:t,flop:t,halfmoon:t,jeez:t,matrix:t,mimoza:t,netgamers:t,nyanta:t,o0o0:t,rdy:t,rgr:t,rulez:t,sakurastorage:[0,{isk01:ye,isk02:ye}],saloon:t,sblo:t,skr:t,tank:t,"uh-oh":t,undo:t,webaccel:[0,{rs:t,user:t}],websozai:t,xii:t}],ke:[1,{ac:e,co:e,go:e,info:e,me:e,mobi:e,ne:e,or:e,sc:e}],kg:[1,{com:e,edu:e,gov:e,mil:e,net:e,org:e,us:t,xx:t,ae:t}],kh:n,ki:be,km:[1,{ass:e,com:e,edu:e,gov:e,mil:e,nom:e,org:e,prd:e,tm:e,asso:e,coop:e,gouv:e,medecin:e,notaires:e,pharmaciens:e,presse:e,veterinaire:e}],kn:[1,{edu:e,gov:e,net:e,org:e}],kp:[1,{com:e,edu:e,gov:e,org:e,rep:e,tra:e}],kr:[1,{ac:e,ai:e,co:e,es:e,go:e,hs:e,io:e,it:e,kg:e,me:e,mil:e,ms:e,ne:e,or:e,pe:e,re:e,sc:e,busan:e,chungbuk:e,chungnam:e,daegu:e,daejeon:e,gangwon:e,gwangju:e,gyeongbuk:e,gyeonggi:e,gyeongnam:e,incheon:e,jeju:e,jeonbuk:e,jeonnam:e,seoul:e,ulsan:e,c01:t,"eliv-api":t,"eliv-cdn":t,"eliv-dns":t,mmv:t,vki:t}],kw:[1,{com:e,edu:e,emb:e,gov:e,ind:e,net:e,org:e}],ky:te,kz:[1,{com:e,edu:e,gov:e,mil:e,net:e,org:e,jcloud:t}],la:[1,{com:e,edu:e,gov:e,info:e,int:e,net:e,org:e,per:e,bnr:t}],lb:n,lc:[1,{co:e,com:e,edu:e,gov:e,net:e,org:e,oy:t}],li:e,lk:[1,{ac:e,assn:e,com:e,edu:e,gov:e,grp:e,hotel:e,int:e,ltd:e,net:e,ngo:e,org:e,sch:e,soc:e,web:e}],lr:n,ls:[1,{ac:e,biz:e,co:e,edu:e,gov:e,info:e,net:e,org:e,sc:e}],lt:l,lu:[1,{"123website":t}],lv:[1,{asn:e,com:e,conf:e,edu:e,gov:e,id:e,mil:e,net:e,org:e}],ly:[1,{com:e,edu:e,gov:e,id:e,med:e,net:e,org:e,plc:e,sch:e}],ma:[1,{ac:e,co:e,gov:e,net:e,org:e,press:e}],mc:[1,{asso:e,tm:e}],md:[1,{ir:t}],me:[1,{ac:e,co:e,edu:e,gov:e,its:e,net:e,org:e,priv:e,c66:t,craft:t,edgestack:t,mybox:t,filegear:t,"filegear-sg":t,lohmus:t,barsy:t,mcdir:t,brasilia:t,ddns:t,dnsfor:t,hopto:t,loginto:t,noip:t,webhop:t,soundcast:t,tcp4:t,vp4:t,diskstation:t,dscloud:t,i234:t,myds:t,synology:t,transip:ee,nohost:t}],mg:[1,{co:e,com:e,edu:e,gov:e,mil:e,nom:e,org:e,prd:e}],mh:e,mil:e,mk:[1,{com:e,edu:e,gov:e,inf:e,name:e,net:e,org:e}],ml:[1,{ac:e,art:e,asso:e,com:e,edu:e,gouv:e,gov:e,info:e,inst:e,net:e,org:e,pr:e,presse:e}],mm:x,mn:[1,{edu:e,gov:e,org:e,nyc:t}],mo:n,mobi:[1,{barsy:t,dscloud:t}],mp:[1,{ju:t}],mq:e,mr:l,ms:[1,{com:e,edu:e,gov:e,net:e,org:e,minisite:t}],mt:te,mu:[1,{ac:e,co:e,com:e,gov:e,net:e,or:e,org:e}],museum:e,mv:[1,{aero:e,biz:e,com:e,coop:e,edu:e,gov:e,info:e,int:e,mil:e,museum:e,name:e,net:e,org:e,pro:e}],mw:[1,{ac:e,biz:e,co:e,com:e,coop:e,edu:e,gov:e,int:e,net:e,org:e}],mx:[1,{com:e,edu:e,gob:e,net:e,org:e}],my:[1,{biz:e,com:e,edu:e,gov:e,mil:e,name:e,net:e,org:e}],mz:[1,{ac:e,adv:e,co:e,edu:e,gov:e,mil:e,net:e,org:e}],na:[1,{alt:e,co:e,com:e,gov:e,net:e,org:e}],name:[1,{her:Le,his:Le,ispmanager:t,keenetic:t}],nc:[1,{asso:e,nom:e}],ne:e,net:[1,{adobeaemcloud:t,"adobeio-static":t,adobeioruntime:t,akadns:t,akamai:t,"akamai-staging":t,akamaiedge:t,"akamaiedge-staging":t,akamaihd:t,"akamaihd-staging":t,akamaiorigin:t,"akamaiorigin-staging":t,akamaized:t,"akamaized-staging":t,edgekey:t,"edgekey-staging":t,edgesuite:t,"edgesuite-staging":t,alwaysdata:t,myamaze:t,cloudfront:t,appudo:t,"atlassian-dev":[0,{prod:se}],myfritz:t,shopselect:t,blackbaudcdn:t,boomla:t,bplaced:t,square7:t,cdn77:[0,{r:t}],"cdn77-ssl":t,gb:t,hu:t,jp:t,se:t,uk:t,clickrising:t,"ddns-ip":t,"dns-cloud":t,"dns-dynamic":t,cloudaccess:t,cloudflare:[2,{cdn:t}],cloudflareanycast:se,cloudflarecn:se,cloudflareglobal:se,ctfcloud:t,"feste-ip":t,"knx-server":t,"static-access":t,cryptonomic:o,dattolocal:t,mydatto:t,debian:t,definima:t,deno:[2,{sandbox:t}],icp:o,de5:t,"at-band-camp":t,blogdns:t,"broke-it":t,buyshouses:t,dnsalias:t,dnsdojo:t,"does-it":t,dontexist:t,dynalias:t,dynathome:t,endofinternet:t,"from-az":t,"from-co":t,"from-la":t,"from-ny":t,"gets-it":t,"ham-radio-op":t,homeftp:t,homeip:t,homelinux:t,homeunix:t,"in-the-band":t,"is-a-chef":t,"is-a-geek":t,"isa-geek":t,"kicks-ass":t,"office-on-the":t,podzone:t,"scrapper-site":t,selfip:t,"sells-it":t,servebbs:t,serveftp:t,thruhere:t,webhop:t,casacam:t,dynu:t,dynuddns:t,mysynology:t,opik:t,spryt:t,dynv6:t,twmail:t,ru:t,channelsdvr:[2,{u:t}],fastly:[0,{freetls:t,map:t,prod:[0,{a:t,global:t}],ssl:[0,{a:t,b:t,global:t}]}],fastlylb:[2,{map:t}],"keyword-on":t,"live-on":t,"server-on":t,"cdn-edges":t,heteml:t,cloudfunctions:t,"grafana-dev":t,iobb:t,moonscale:t,"in-dsl":t,"in-vpn":t,oninferno:t,botdash:t,"apps-1and1":t,ipifony:t,cloudjiffy:[2,{"fra1-de":t,"west1-us":t}],elastx:[0,{"jls-sto1":t,"jls-sto2":t,"jls-sto3":t}],massivegrid:[0,{paas:[0,{"fr-1":t,"lon-1":t,"lon-2":t,"ny-1":t,"ny-2":t,"sg-1":t}]}],saveincloud:[0,{jelastic:t,"nordeste-idc":t}],scaleforce:Y,kinghost:t,uni5:t,krellian:t,ggff:t,localto:o,barsy:t,luyani:t,memset:t,"azure-api":t,"azure-mobile":t,azureedge:t,azurefd:t,azurestaticapps:[2,{1:t,2:t,3:t,4:t,5:t,6:t,7:t,centralus:t,eastasia:t,eastus2:t,westeurope:t,westus2:t}],azurewebsites:t,cloudapp:t,trafficmanager:t,usgovcloudapi:Me,usgovcloudapp:t,usgovtrafficmanager:t,windows:Me,mynetname:[0,{sn:t}],routingthecloud:t,bounceme:t,ddns:t,"eating-organic":t,mydissent:t,myeffect:t,mymediapc:t,mypsx:t,mysecuritycamera:t,nhlfan:t,"no-ip":t,pgafan:t,privatizehealthinsurance:t,redirectme:t,serveblog:t,serveminecraft:t,sytes:t,dnsup:t,hicam:t,"now-dns":t,ownip:t,vpndns:t,cloudycluster:t,ovh:[0,{hosting:o,webpaas:o}],rackmaze:t,myradweb:t,in:t,"subsc-pay":t,squares:t,schokokeks:t,"firewall-gateway":t,seidat:t,senseering:t,siteleaf:t,mafelo:t,myspreadshop:t,"vps-host":[2,{jelastic:[0,{atl:t,njs:t,ric:t}]}],srcf:[0,{soc:t,user:t}],supabase:t,dsmynas:t,familyds:t,ts:[2,{c:o}],torproject:[2,{pages:t}],tunnelmole:t,vusercontent:t,"reserve-online":t,localcert:t,"community-pro":t,meinforum:t,yandexcloud:[2,{storage:t,website:t}],za:t,zabc:t}],nf:[1,{arts:e,com:e,firm:e,info:e,net:e,other:e,per:e,rec:e,store:e,web:e}],ng:[1,{com:e,edu:e,gov:e,i:e,mil:e,mobi:e,name:e,net:e,org:e,sch:e,biz:[2,{co:t,dl:t,go:t,lg:t,on:t}],col:t,firm:t,gen:t,ltd:t,ngo:t,plc:t}],ni:[1,{ac:e,biz:e,co:e,com:e,edu:e,gob:e,in:e,info:e,int:e,mil:e,net:e,nom:e,org:e,web:e}],nl:[1,{co:t,"hosting-cluster":t,gov:t,khplay:t,"123website":t,myspreadshop:t,transurl:o,cistron:t,demon:t}],no:[1,{fhs:e,folkebibl:e,fylkesbibl:e,idrett:e,museum:e,priv:e,vgs:e,dep:e,herad:e,kommune:e,mil:e,stat:e,aa:we,ah:we,bu:we,fm:we,hl:we,hm:we,"jan-mayen":we,mr:we,nl:we,nt:we,of:we,ol:we,oslo:we,rl:we,sf:we,st:we,svalbard:we,tm:we,tr:we,va:we,vf:we,akrehamn:e,"xn--krehamn-dxa":e,åkrehamn:e,algard:e,"xn--lgrd-poac":e,ålgård:e,arna:e,bronnoysund:e,"xn--brnnysund-m8ac":e,brønnøysund:e,brumunddal:e,bryne:e,drobak:e,"xn--drbak-wua":e,drøbak:e,egersund:e,fetsund:e,floro:e,"xn--flor-jra":e,florø:e,fredrikstad:e,hokksund:e,honefoss:e,"xn--hnefoss-q1a":e,hønefoss:e,jessheim:e,jorpeland:e,"xn--jrpeland-54a":e,jørpeland:e,kirkenes:e,kopervik:e,krokstadelva:e,langevag:e,"xn--langevg-jxa":e,langevåg:e,leirvik:e,mjondalen:e,"xn--mjndalen-64a":e,mjøndalen:e,"mo-i-rana":e,mosjoen:e,"xn--mosjen-eya":e,mosjøen:e,nesoddtangen:e,orkanger:e,osoyro:e,"xn--osyro-wua":e,osøyro:e,raholt:e,"xn--rholt-mra":e,råholt:e,sandnessjoen:e,"xn--sandnessjen-ogb":e,sandnessjøen:e,skedsmokorset:e,slattum:e,spjelkavik:e,stathelle:e,stavern:e,stjordalshalsen:e,"xn--stjrdalshalsen-sqb":e,stjørdalshalsen:e,tananger:e,tranby:e,vossevangen:e,aarborte:e,aejrie:e,afjord:e,"xn--fjord-lra":e,åfjord:e,agdenes:e,akershus:Re,aknoluokta:e,"xn--koluokta-7ya57h":e,ákŋoluokta:e,al:e,"xn--l-1fa":e,ål:e,alaheadju:e,"xn--laheadju-7ya":e,álaheadju:e,alesund:e,"xn--lesund-hua":e,ålesund:e,alstahaug:e,alta:e,"xn--lt-liac":e,áltá:e,alvdal:e,amli:e,"xn--mli-tla":e,åmli:e,amot:e,"xn--mot-tla":e,åmot:e,andasuolo:e,andebu:e,andoy:e,"xn--andy-ira":e,andøy:e,ardal:e,"xn--rdal-poa":e,årdal:e,aremark:e,arendal:e,"xn--s-1fa":e,ås:e,aseral:e,"xn--seral-lra":e,åseral:e,asker:e,askim:e,askoy:e,"xn--asky-ira":e,askøy:e,askvoll:e,asnes:e,"xn--snes-poa":e,åsnes:e,audnedaln:e,aukra:e,aure:e,aurland:e,"aurskog-holand":e,"xn--aurskog-hland-jnb":e,"aurskog-høland":e,austevoll:e,austrheim:e,averoy:e,"xn--avery-yua":e,averøy:e,badaddja:e,"xn--bdddj-mrabd":e,bådåddjå:e,"xn--brum-voa":e,bærum:e,bahcavuotna:e,"xn--bhcavuotna-s4a":e,báhcavuotna:e,bahccavuotna:e,"xn--bhccavuotna-k7a":e,báhccavuotna:e,baidar:e,"xn--bidr-5nac":e,báidár:e,bajddar:e,"xn--bjddar-pta":e,bájddar:e,balat:e,"xn--blt-elab":e,bálát:e,balestrand:e,ballangen:e,balsfjord:e,bamble:e,bardu:e,barum:e,batsfjord:e,"xn--btsfjord-9za":e,båtsfjord:e,bearalvahki:e,"xn--bearalvhki-y4a":e,bearalváhki:e,beardu:e,beiarn:e,berg:e,bergen:e,berlevag:e,"xn--berlevg-jxa":e,berlevåg:e,bievat:e,"xn--bievt-0qa":e,bievát:e,bindal:e,birkenes:e,bjerkreim:e,bjugn:e,bodo:e,"xn--bod-2na":e,bodø:e,bokn:e,bomlo:e,"xn--bmlo-gra":e,bømlo:e,bremanger:e,bronnoy:e,"xn--brnny-wuac":e,brønnøy:e,budejju:e,buskerud:Re,bygland:e,bykle:e,cahcesuolo:e,"xn--hcesuolo-7ya35b":e,čáhcesuolo:e,davvenjarga:e,"xn--davvenjrga-y4a":e,davvenjárga:e,davvesiida:e,deatnu:e,dielddanuorri:e,divtasvuodna:e,divttasvuotna:e,donna:e,"xn--dnna-gra":e,dønna:e,dovre:e,drammen:e,drangedal:e,dyroy:e,"xn--dyry-ira":e,dyrøy:e,eid:e,eidfjord:e,eidsberg:e,eidskog:e,eidsvoll:e,eigersund:e,elverum:e,enebakk:e,engerdal:e,etne:e,etnedal:e,evenassi:e,"xn--eveni-0qa01ga":e,evenášši:e,evenes:e,"evje-og-hornnes":e,farsund:e,fauske:e,fedje:e,fet:e,finnoy:e,"xn--finny-yua":e,finnøy:e,fitjar:e,fjaler:e,fjell:e,fla:e,"xn--fl-zia":e,flå:e,flakstad:e,flatanger:e,flekkefjord:e,flesberg:e,flora:e,folldal:e,forde:e,"xn--frde-gra":e,førde:e,forsand:e,fosnes:e,"xn--frna-woa":e,fræna:e,frana:e,frei:e,frogn:e,froland:e,frosta:e,froya:e,"xn--frya-hra":e,frøya:e,fuoisku:e,fuossko:e,fusa:e,fyresdal:e,gaivuotna:e,"xn--givuotna-8ya":e,gáivuotna:e,galsa:e,"xn--gls-elac":e,gálsá:e,gamvik:e,gangaviika:e,"xn--ggaviika-8ya47h":e,gáŋgaviika:e,gaular:e,gausdal:e,giehtavuoatna:e,gildeskal:e,"xn--gildeskl-g0a":e,gildeskål:e,giske:e,gjemnes:e,gjerdrum:e,gjerstad:e,gjesdal:e,gjovik:e,"xn--gjvik-wua":e,gjøvik:e,gloppen:e,gol:e,gran:e,grane:e,granvin:e,gratangen:e,grimstad:e,grong:e,grue:e,gulen:e,guovdageaidnu:e,ha:e,"xn--h-2fa":e,hå:e,habmer:e,"xn--hbmer-xqa":e,hábmer:e,hadsel:e,"xn--hgebostad-g3a":e,hægebostad:e,hagebostad:e,halden:e,halsa:e,hamar:e,hamaroy:e,hammarfeasta:e,"xn--hmmrfeasta-s4ac":e,hámmárfeasta:e,hammerfest:e,hapmir:e,"xn--hpmir-xqa":e,hápmir:e,haram:e,hareid:e,harstad:e,hasvik:e,hattfjelldal:e,haugesund:e,hedmark:[0,{os:e,valer:e,"xn--vler-qoa":e,våler:e}],hemne:e,hemnes:e,hemsedal:e,hitra:e,hjartdal:e,hjelmeland:e,hobol:e,"xn--hobl-ira":e,hobøl:e,hof:e,hol:e,hole:e,holmestrand:e,holtalen:e,"xn--holtlen-hxa":e,holtålen:e,hordaland:[0,{os:e}],hornindal:e,horten:e,hoyanger:e,"xn--hyanger-q1a":e,høyanger:e,hoylandet:e,"xn--hylandet-54a":e,høylandet:e,hurdal:e,hurum:e,hvaler:e,hyllestad:e,ibestad:e,inderoy:e,"xn--indery-fya":e,inderøy:e,iveland:e,ivgu:e,jevnaker:e,jolster:e,"xn--jlster-bya":e,jølster:e,jondal:e,kafjord:e,"xn--kfjord-iua":e,kåfjord:e,karasjohka:e,"xn--krjohka-hwab49j":e,kárášjohka:e,karasjok:e,karlsoy:e,karmoy:e,"xn--karmy-yua":e,karmøy:e,kautokeino:e,klabu:e,"xn--klbu-woa":e,klæbu:e,klepp:e,kongsberg:e,kongsvinger:e,kraanghke:e,"xn--kranghke-b0a":e,kråanghke:e,kragero:e,"xn--krager-gya":e,kragerø:e,kristiansand:e,kristiansund:e,krodsherad:e,"xn--krdsherad-m8a":e,krødsherad:e,"xn--kvfjord-nxa":e,kvæfjord:e,"xn--kvnangen-k0a":e,kvænangen:e,kvafjord:e,kvalsund:e,kvam:e,kvanangen:e,kvinesdal:e,kvinnherad:e,kviteseid:e,kvitsoy:e,"xn--kvitsy-fya":e,kvitsøy:e,laakesvuemie:e,"xn--lrdal-sra":e,lærdal:e,lahppi:e,"xn--lhppi-xqa":e,láhppi:e,lardal:e,larvik:e,lavagis:e,lavangen:e,leangaviika:e,"xn--leagaviika-52b":e,leaŋgaviika:e,lebesby:e,leikanger:e,leirfjord:e,leka:e,leksvik:e,lenvik:e,lerdal:e,lesja:e,levanger:e,lier:e,lierne:e,lillehammer:e,lillesand:e,lindas:e,"xn--linds-pra":e,lindås:e,lindesnes:e,loabat:e,"xn--loabt-0qa":e,loabát:e,lodingen:e,"xn--ldingen-q1a":e,lødingen:e,lom:e,loppa:e,lorenskog:e,"xn--lrenskog-54a":e,lørenskog:e,loten:e,"xn--lten-gra":e,løten:e,lund:e,lunner:e,luroy:e,"xn--lury-ira":e,lurøy:e,luster:e,lyngdal:e,lyngen:e,malatvuopmi:e,"xn--mlatvuopmi-s4a":e,málatvuopmi:e,malselv:e,"xn--mlselv-iua":e,målselv:e,malvik:e,mandal:e,marker:e,marnardal:e,masfjorden:e,masoy:e,"xn--msy-ula0h":e,måsøy:e,"matta-varjjat":e,"xn--mtta-vrjjat-k7af":e,"mátta-várjjat":e,meland:e,meldal:e,melhus:e,meloy:e,"xn--mely-ira":e,meløy:e,meraker:e,"xn--merker-kua":e,meråker:e,midsund:e,"midtre-gauldal":e,moareke:e,"xn--moreke-jua":e,moåreke:e,modalen:e,modum:e,molde:e,"more-og-romsdal":[0,{heroy:e,sande:e}],"xn--mre-og-romsdal-qqb":[0,{"xn--hery-ira":e,sande:e}],"møre-og-romsdal":[0,{herøy:e,sande:e}],moskenes:e,moss:e,muosat:e,"xn--muost-0qa":e,muosát:e,naamesjevuemie:e,"xn--nmesjevuemie-tcba":e,nååmesjevuemie:e,"xn--nry-yla5g":e,nærøy:e,namdalseid:e,namsos:e,namsskogan:e,nannestad:e,naroy:e,narviika:e,narvik:e,naustdal:e,navuotna:e,"xn--nvuotna-hwa":e,návuotna:e,"nedre-eiker":e,nesna:e,nesodden:e,nesseby:e,nesset:e,nissedal:e,nittedal:e,"nord-aurdal":e,"nord-fron":e,"nord-odal":e,norddal:e,nordkapp:e,nordland:[0,{bo:e,"xn--b-5ga":e,bø:e,heroy:e,"xn--hery-ira":e,herøy:e}],"nordre-land":e,nordreisa:e,"nore-og-uvdal":e,notodden:e,notteroy:e,"xn--nttery-byae":e,nøtterøy:e,odda:e,oksnes:e,"xn--ksnes-uua":e,øksnes:e,omasvuotna:e,oppdal:e,oppegard:e,"xn--oppegrd-ixa":e,oppegård:e,orkdal:e,orland:e,"xn--rland-uua":e,ørland:e,orskog:e,"xn--rskog-uua":e,ørskog:e,orsta:e,"xn--rsta-fra":e,ørsta:e,osen:e,osteroy:e,"xn--ostery-fya":e,osterøy:e,ostfold:[0,{valer:e}],"xn--stfold-9xa":[0,{"xn--vler-qoa":e}],østfold:[0,{våler:e}],"ostre-toten":e,"xn--stre-toten-zcb":e,"østre-toten":e,overhalla:e,"ovre-eiker":e,"xn--vre-eiker-k8a":e,"øvre-eiker":e,oyer:e,"xn--yer-zna":e,øyer:e,oygarden:e,"xn--ygarden-p1a":e,øygarden:e,"oystre-slidre":e,"xn--ystre-slidre-ujb":e,"øystre-slidre":e,porsanger:e,porsangu:e,"xn--porsgu-sta26f":e,porsáŋgu:e,porsgrunn:e,rade:e,"xn--rde-ula":e,råde:e,radoy:e,"xn--rady-ira":e,radøy:e,"xn--rlingen-mxa":e,rælingen:e,rahkkeravju:e,"xn--rhkkervju-01af":e,ráhkkerávju:e,raisa:e,"xn--risa-5na":e,ráisa:e,rakkestad:e,ralingen:e,rana:e,randaberg:e,rauma:e,rendalen:e,rennebu:e,rennesoy:e,"xn--rennesy-v1a":e,rennesøy:e,rindal:e,ringebu:e,ringerike:e,ringsaker:e,risor:e,"xn--risr-ira":e,risør:e,rissa:e,roan:e,rodoy:e,"xn--rdy-0nab":e,rødøy:e,rollag:e,romsa:e,romskog:e,"xn--rmskog-bya":e,rømskog:e,roros:e,"xn--rros-gra":e,røros:e,rost:e,"xn--rst-0na":e,røst:e,royken:e,"xn--ryken-vua":e,røyken:e,royrvik:e,"xn--ryrvik-bya":e,røyrvik:e,ruovat:e,rygge:e,salangen:e,salat:e,"xn--slat-5na":e,sálat:e,"xn--slt-elab":e,sálát:e,saltdal:e,samnanger:e,sandefjord:e,sandnes:e,sandoy:e,"xn--sandy-yua":e,sandøy:e,sarpsborg:e,sauda:e,sauherad:e,sel:e,selbu:e,selje:e,seljord:e,siellak:e,sigdal:e,siljan:e,sirdal:e,skanit:e,"xn--sknit-yqa":e,skánit:e,skanland:e,"xn--sknland-fxa":e,skånland:e,skaun:e,skedsmo:e,ski:e,skien:e,skierva:e,"xn--skierv-uta":e,skiervá:e,skiptvet:e,skjak:e,"xn--skjk-soa":e,skjåk:e,skjervoy:e,"xn--skjervy-v1a":e,skjervøy:e,skodje:e,smola:e,"xn--smla-hra":e,smøla:e,snaase:e,"xn--snase-nra":e,snåase:e,snasa:e,"xn--snsa-roa":e,snåsa:e,snillfjord:e,snoasa:e,sogndal:e,sogne:e,"xn--sgne-gra":e,søgne:e,sokndal:e,sola:e,solund:e,somna:e,"xn--smna-gra":e,sømna:e,"sondre-land":e,"xn--sndre-land-0cb":e,"søndre-land":e,songdalen:e,"sor-aurdal":e,"xn--sr-aurdal-l8a":e,"sør-aurdal":e,"sor-fron":e,"xn--sr-fron-q1a":e,"sør-fron":e,"sor-odal":e,"xn--sr-odal-q1a":e,"sør-odal":e,"sor-varanger":e,"xn--sr-varanger-ggb":e,"sør-varanger":e,sorfold:e,"xn--srfold-bya":e,sørfold:e,sorreisa:e,"xn--srreisa-q1a":e,sørreisa:e,sortland:e,sorum:e,"xn--srum-gra":e,sørum:e,spydeberg:e,stange:e,stavanger:e,steigen:e,steinkjer:e,stjordal:e,"xn--stjrdal-s1a":e,stjørdal:e,stokke:e,"stor-elvdal":e,stord:e,stordal:e,storfjord:e,strand:e,stranda:e,stryn:e,sula:e,suldal:e,sund:e,sunndal:e,surnadal:e,sveio:e,svelvik:e,sykkylven:e,tana:e,telemark:[0,{bo:e,"xn--b-5ga":e,bø:e}],time:e,tingvoll:e,tinn:e,tjeldsund:e,tjome:e,"xn--tjme-hra":e,tjøme:e,tokke:e,tolga:e,tonsberg:e,"xn--tnsberg-q1a":e,tønsberg:e,torsken:e,"xn--trna-woa":e,træna:e,trana:e,tranoy:e,"xn--trany-yua":e,tranøy:e,troandin:e,trogstad:e,"xn--trgstad-r1a":e,trøgstad:e,tromsa:e,tromso:e,"xn--troms-zua":e,tromsø:e,trondheim:e,trysil:e,tvedestrand:e,tydal:e,tynset:e,tysfjord:e,tysnes:e,"xn--tysvr-vra":e,tysvær:e,tysvar:e,ullensaker:e,ullensvang:e,ulvik:e,unjarga:e,"xn--unjrga-rta":e,unjárga:e,utsira:e,vaapste:e,vadso:e,"xn--vads-jra":e,vadsø:e,"xn--vry-yla5g":e,værøy:e,vaga:e,"xn--vg-yiab":e,vågå:e,vagan:e,"xn--vgan-qoa":e,vågan:e,vagsoy:e,"xn--vgsy-qoa0j":e,vågsøy:e,vaksdal:e,valle:e,vang:e,vanylven:e,vardo:e,"xn--vard-jra":e,vardø:e,varggat:e,"xn--vrggt-xqad":e,várggát:e,varoy:e,vefsn:e,vega:e,vegarshei:e,"xn--vegrshei-c0a":e,vegårshei:e,vennesla:e,verdal:e,verran:e,vestby:e,vestfold:[0,{sande:e}],vestnes:e,"vestre-slidre":e,"vestre-toten":e,vestvagoy:e,"xn--vestvgy-ixa6o":e,vestvågøy:e,vevelstad:e,vik:e,vikna:e,vindafjord:e,voagat:e,volda:e,voss:e,co:t,"123hjemmeside":t,myspreadshop:t}],np:x,nr:be,nu:[1,{merseine:t,mine:t,shacknet:t,enterprisecloud:t}],nz:[1,{ac:e,co:e,cri:e,geek:e,gen:e,govt:e,health:e,iwi:e,kiwi:e,maori:e,"xn--mori-qsa":e,māori:e,mil:e,net:e,org:e,parliament:e,school:e,cloudns:t}],om:[1,{co:e,com:e,edu:e,gov:e,med:e,museum:e,net:e,org:e,pro:e}],onion:e,org:[1,{altervista:t,pimienta:t,poivron:t,potager:t,sweetpepper:t,cdn77:[0,{c:t,rsc:t}],"cdn77-secure":[0,{origin:[0,{ssl:t}]}],ae:t,cloudns:t,"ip-dynamic":t,ddnss:t,dpdns:t,duckdns:t,tunk:t,blogdns:t,blogsite:t,boldlygoingnowhere:t,dnsalias:t,dnsdojo:t,doesntexist:t,dontexist:t,doomdns:t,dvrdns:t,dynalias:t,dyndns:[2,{go:t,home:t}],endofinternet:t,endoftheinternet:t,"from-me":t,"game-host":t,gotdns:t,"hobby-site":t,homedns:t,homeftp:t,homelinux:t,homeunix:t,"is-a-bruinsfan":t,"is-a-candidate":t,"is-a-celticsfan":t,"is-a-chef":t,"is-a-geek":t,"is-a-knight":t,"is-a-linux-user":t,"is-a-patsfan":t,"is-a-soxfan":t,"is-found":t,"is-lost":t,"is-saved":t,"is-very-bad":t,"is-very-evil":t,"is-very-good":t,"is-very-nice":t,"is-very-sweet":t,"isa-geek":t,"kicks-ass":t,misconfused:t,podzone:t,readmyblog:t,selfip:t,sellsyourhome:t,servebbs:t,serveftp:t,servegame:t,"stuff-4-sale":t,webhop:t,accesscam:t,camdvr:t,freeddns:t,mywire:t,roxa:t,webredirect:t,twmail:t,eu:[2,{al:t,asso:t,at:t,au:t,be:t,bg:t,ca:t,cd:t,ch:t,cn:t,cy:t,cz:t,de:t,dk:t,edu:t,ee:t,es:t,fi:t,fr:t,gr:t,hr:t,hu:t,ie:t,il:t,in:t,int:t,is:t,it:t,jp:t,kr:t,lt:t,lu:t,lv:t,me:t,mk:t,mt:t,my:t,net:t,ng:t,nl:t,no:t,nz:t,pl:t,pt:t,ro:t,ru:t,se:t,si:t,sk:t,tr:t,uk:t,us:t}],fedorainfracloud:t,fedorapeople:t,fedoraproject:[0,{cloud:t,os:K,stg:[0,{os:K}]}],freedesktop:t,hatenadiary:t,hepforge:t,"in-dsl":t,"in-vpn":t,js:t,barsy:t,mayfirst:t,routingthecloud:t,bmoattachments:t,"cable-modem":t,collegefan:t,couchpotatofries:t,hopto:t,mlbfan:t,myftp:t,mysecuritycamera:t,nflfan:t,"no-ip":t,"read-books":t,ufcfan:t,zapto:t,dynserv:t,"now-dns":t,"is-local":t,httpbin:t,pubtls:t,jpn:t,"my-firewall":t,myfirewall:t,spdns:t,"small-web":t,dsmynas:t,familyds:t,teckids:ye,tuxfamily:t,hk:t,us:t,toolforge:t,wmcloud:[2,{beta:t}],wmflabs:t,za:t}],pa:[1,{abo:e,ac:e,com:e,edu:e,gob:e,ing:e,med:e,net:e,nom:e,org:e,sld:e}],pe:[1,{com:e,edu:e,gob:e,mil:e,net:e,nom:e,org:e}],pf:[1,{com:e,edu:e,org:e}],pg:x,ph:[1,{com:e,edu:e,gov:e,i:e,mil:e,net:e,ngo:e,org:e,cloudns:t}],pk:[1,{ac:e,biz:e,com:e,edu:e,fam:e,gkp:e,gob:e,gog:e,gok:e,gop:e,gos:e,gov:e,net:e,org:e,web:e}],pl:[1,{com:e,net:e,org:e,agro:e,aid:e,atm:e,auto:e,biz:e,edu:e,gmina:e,gsm:e,info:e,mail:e,media:e,miasta:e,mil:e,nieruchomosci:e,nom:e,pc:e,powiat:e,priv:e,realestate:e,rel:e,sex:e,shop:e,sklep:e,sos:e,szkola:e,targi:e,tm:e,tourism:e,travel:e,turystyka:e,gov:[1,{ap:e,griw:e,ic:e,is:e,kmpsp:e,konsulat:e,kppsp:e,kwp:e,kwpsp:e,mup:e,mw:e,oia:e,oirm:e,oke:e,oow:e,oschr:e,oum:e,pa:e,pinb:e,piw:e,po:e,pr:e,psp:e,psse:e,pup:e,rzgw:e,sa:e,sdn:e,sko:e,so:e,sr:e,starostwo:e,ug:e,ugim:e,um:e,umig:e,upow:e,uppo:e,us:e,uw:e,uzs:e,wif:e,wiih:e,winb:e,wios:e,witd:e,wiw:e,wkz:e,wsa:e,wskr:e,wsse:e,wuoz:e,wzmiuw:e,zp:e,zpisdn:e}],augustow:e,"babia-gora":e,bedzin:e,beskidy:e,bialowieza:e,bialystok:e,bielawa:e,bieszczady:e,boleslawiec:e,bydgoszcz:e,bytom:e,cieszyn:e,czeladz:e,czest:e,dlugoleka:e,elblag:e,elk:e,glogow:e,gniezno:e,gorlice:e,grajewo:e,ilawa:e,jaworzno:e,"jelenia-gora":e,jgora:e,kalisz:e,karpacz:e,kartuzy:e,kaszuby:e,katowice:e,"kazimierz-dolny":e,kepno:e,ketrzyn:e,klodzko:e,kobierzyce:e,kolobrzeg:e,konin:e,konskowola:e,kutno:e,lapy:e,lebork:e,legnica:e,lezajsk:e,limanowa:e,lomza:e,lowicz:e,lubin:e,lukow:e,malbork:e,malopolska:e,mazowsze:e,mazury:e,mielec:e,mielno:e,mragowo:e,naklo:e,nowaruda:e,nysa:e,olawa:e,olecko:e,olkusz:e,olsztyn:e,opoczno:e,opole:e,ostroda:e,ostroleka:e,ostrowiec:e,ostrowwlkp:e,pila:e,pisz:e,podhale:e,podlasie:e,polkowice:e,pomorskie:e,pomorze:e,prochowice:e,pruszkow:e,przeworsk:e,pulawy:e,radom:e,"rawa-maz":e,rybnik:e,rzeszow:e,sanok:e,sejny:e,skoczow:e,slask:e,slupsk:e,sosnowiec:e,"stalowa-wola":e,starachowice:e,stargard:e,suwalki:e,swidnica:e,swiebodzin:e,swinoujscie:e,szczecin:e,szczytno:e,tarnobrzeg:e,tgory:e,turek:e,tychy:e,ustka:e,walbrzych:e,warmia:e,warszawa:e,waw:e,wegrow:e,wielun:e,wlocl:e,wloclawek:e,wodzislaw:e,wolomin:e,wroclaw:e,zachpomor:e,zagan:e,zarow:e,zgora:e,zgorzelec:e,art:t,gliwice:t,krakow:t,poznan:t,wroc:t,zakopane:t,beep:t,"ecommerce-shop":t,cfolks:t,dfirma:t,dkonto:t,you2:t,shoparena:t,homesklep:t,sdscloud:t,unicloud:t,lodz:t,pabianice:t,plock:t,sieradz:t,skierniewice:t,zgierz:t,krasnik:t,leczna:t,lubartow:t,lublin:t,poniatowa:t,swidnik:t,co:t,torun:t,simplesite:t,myspreadshop:t,gda:t,gdansk:t,gdynia:t,med:t,sopot:t,bielsko:t}],pm:[1,{own:t,name:t}],pn:[1,{co:e,edu:e,gov:e,net:e,org:e}],post:e,pr:[1,{biz:e,com:e,edu:e,gov:e,info:e,isla:e,name:e,net:e,org:e,pro:e,ac:e,est:e,prof:e}],pro:[1,{aaa:e,aca:e,acct:e,avocat:e,bar:e,cpa:e,eng:e,jur:e,law:e,med:e,recht:e,cloudns:t,keenetic:t,barsy:t,ngrok:t}],ps:[1,{com:e,edu:e,gov:e,net:e,org:e,plo:e,sec:e}],pt:[1,{com:e,edu:e,gov:e,int:e,net:e,nome:e,org:e,publ:e,"123paginaweb":t}],pw:[1,{gov:e,cloudns:t,x443:t}],py:[1,{com:e,coop:e,edu:e,gov:e,mil:e,net:e,org:e}],qa:[1,{com:e,edu:e,gov:e,mil:e,name:e,net:e,org:e,sch:e}],re:[1,{asso:e,com:e,netlib:t,can:t}],ro:[1,{arts:e,com:e,firm:e,info:e,nom:e,nt:e,org:e,rec:e,store:e,tm:e,www:e,co:t,shop:t,barsy:t}],rs:[1,{ac:e,co:e,edu:e,gov:e,in:e,org:e,brendly:y,barsy:t,ox:t}],ru:[1,{ac:t,edu:t,gov:t,int:t,mil:t,eurodir:t,adygeya:t,bashkiria:t,bir:t,cbg:t,com:t,dagestan:t,grozny:t,kalmykia:t,kustanai:t,marine:t,mordovia:t,msk:t,mytis:t,nalchik:t,nov:t,pyatigorsk:t,spb:t,vladikavkaz:t,vladimir:t,na4u:t,mircloud:t,myjino:[2,{hosting:o,landing:o,spectrum:o,vps:o}],cldmail:[0,{hb:t}],mcdir:[2,{vps:t}],mcpre:t,net:t,org:t,pp:t,ras:t}],rw:[1,{ac:e,co:e,coop:e,gov:e,mil:e,net:e,org:e}],sa:[1,{com:e,edu:e,gov:e,med:e,net:e,org:e,pub:e,sch:e}],sb:n,sc:n,sd:[1,{com:e,edu:e,gov:e,info:e,med:e,net:e,org:e,tv:e}],se:[1,{a:e,ac:e,b:e,bd:e,brand:e,c:e,d:e,e,f:e,fh:e,fhsk:e,fhv:e,g:e,h:e,i:e,k:e,komforb:e,kommunalforbund:e,komvux:e,l:e,lanbib:e,m:e,n:e,naturbruksgymn:e,o:e,org:e,p:e,parti:e,pp:e,press:e,r:e,s:e,t:e,tm:e,u:e,w:e,x:e,y:e,z:e,com:t,iopsys:t,"123minsida":t,itcouldbewor:t,myspreadshop:t}],sg:[1,{com:e,edu:e,gov:e,net:e,org:e,enscaled:t}],sh:[1,{com:e,gov:e,mil:e,net:e,org:e,hashbang:t,botda:t,lovable:t,platform:[0,{ent:t,eu:t,us:t}],teleport:t,now:t}],si:[1,{f5:t,gitapp:t,gitpage:t}],sj:e,sk:[1,{org:e}],sl:n,sm:e,sn:[1,{art:e,com:e,edu:e,gouv:e,org:e,univ:e}],so:[1,{com:e,edu:e,gov:e,me:e,net:e,org:e,surveys:t}],sr:e,ss:[1,{biz:e,co:e,com:e,edu:e,gov:e,me:e,net:e,org:e,sch:e}],st:[1,{co:e,com:e,consulado:e,edu:e,embaixada:e,mil:e,net:e,org:e,principe:e,saotome:e,store:e,helioho:t,cn:o,kirara:t,noho:t}],su:[1,{abkhazia:t,adygeya:t,aktyubinsk:t,arkhangelsk:t,armenia:t,ashgabad:t,azerbaijan:t,balashov:t,bashkiria:t,bryansk:t,bukhara:t,chimkent:t,dagestan:t,"east-kazakhstan":t,exnet:t,georgia:t,grozny:t,ivanovo:t,jambyl:t,kalmykia:t,kaluga:t,karacol:t,karaganda:t,karelia:t,khakassia:t,krasnodar:t,kurgan:t,kustanai:t,lenug:t,mangyshlak:t,mordovia:t,msk:t,murmansk:t,nalchik:t,navoi:t,"north-kazakhstan":t,nov:t,obninsk:t,penza:t,pokrovsk:t,sochi:t,spb:t,tashkent:t,termez:t,togliatti:t,troitsk:t,tselinograd:t,tula:t,tuva:t,vladikavkaz:t,vladimir:t,vologda:t}],sv:[1,{com:e,edu:e,gob:e,org:e,red:e}],sx:l,sy:r,sz:[1,{ac:e,co:e,org:e}],tc:e,td:e,tel:e,tf:[1,{sch:t}],tg:e,th:[1,{ac:e,co:e,go:e,in:e,mi:e,net:e,or:e,online:t,shop:t}],tj:[1,{ac:e,biz:e,co:e,com:e,edu:e,go:e,gov:e,int:e,mil:e,name:e,net:e,nic:e,org:e,test:e,web:e}],tk:e,tl:l,tm:[1,{co:e,com:e,edu:e,gov:e,mil:e,net:e,nom:e,org:e}],tn:[1,{com:e,ens:e,fin:e,gov:e,ind:e,info:e,intl:e,mincom:e,nat:e,net:e,org:e,perso:e,tourism:e,orangecloud:t}],to:[1,{611:t,com:e,edu:e,gov:e,mil:e,net:e,org:e,oya:t,x0:t,quickconnect:P,vpnplus:t,nett:t}],tr:[1,{av:e,bbs:e,bel:e,biz:e,com:e,dr:e,edu:e,gen:e,gov:e,info:e,k12:e,kep:e,mil:e,name:e,net:e,org:e,pol:e,tel:e,tsk:e,tv:e,web:e,nc:l}],tt:[1,{biz:e,co:e,com:e,edu:e,gov:e,info:e,mil:e,name:e,net:e,org:e,pro:e}],tv:[1,{"better-than":t,dyndns:t,"on-the-web":t,"worse-than":t,from:t,sakura:t}],tw:[1,{club:e,com:[1,{mymailer:t}],ebiz:e,edu:e,game:e,gov:e,idv:e,mil:e,net:e,org:e,url:t,mydns:t}],tz:[1,{ac:e,co:e,go:e,hotel:e,info:e,me:e,mil:e,mobi:e,ne:e,or:e,sc:e,tv:e}],ua:[1,{com:e,edu:e,gov:e,in:e,net:e,org:e,cherkassy:e,cherkasy:e,chernigov:e,chernihiv:e,chernivtsi:e,chernovtsy:e,ck:e,cn:e,cr:e,crimea:e,cv:e,dn:e,dnepropetrovsk:e,dnipropetrovsk:e,donetsk:e,dp:e,if:e,"ivano-frankivsk":e,kh:e,kharkiv:e,kharkov:e,kherson:e,khmelnitskiy:e,khmelnytskyi:e,kiev:e,kirovograd:e,km:e,kr:e,kropyvnytskyi:e,krym:e,ks:e,kv:e,kyiv:e,lg:e,lt:e,lugansk:e,luhansk:e,lutsk:e,lv:e,lviv:e,mk:e,mykolaiv:e,nikolaev:e,od:e,odesa:e,odessa:e,pl:e,poltava:e,rivne:e,rovno:e,rv:e,sb:e,sebastopol:e,sevastopol:e,sm:e,sumy:e,te:e,ternopil:e,uz:e,uzhgorod:e,uzhhorod:e,vinnica:e,vinnytsia:e,vn:e,volyn:e,yalta:e,zakarpattia:e,zaporizhzhe:e,zaporizhzhia:e,zhitomir:e,zhytomyr:e,zp:e,zt:e,cc:t,inf:t,ltd:t,cx:t,biz:t,co:t,pp:t,v:t}],ug:[1,{ac:e,co:e,com:e,edu:e,go:e,gov:e,mil:e,ne:e,or:e,org:e,sc:e,us:e}],uk:[1,{ac:e,co:[1,{bytemark:[0,{dh:t,vm:t}],layershift:Y,barsy:t,barsyonline:t,retrosnub:de,"nh-serv":t,"no-ip":t,adimo:t,myspreadshop:t}],gov:[1,{api:t,campaign:t,service:t}],ltd:e,me:e,net:e,nhs:e,org:[1,{glug:t,lug:t,lugs:t,affinitylottery:t,raffleentry:t,weeklylottery:t}],plc:e,police:e,sch:x,conn:t,copro:t,hosp:t,"independent-commission":t,"independent-inquest":t,"independent-inquiry":t,"independent-panel":t,"independent-review":t,"public-inquiry":t,"royal-commission":t,pymnt:t,barsy:t,nimsite:t,oraclegovcloudapps:o}],us:[1,{dni:e,isa:e,nsn:e,ak:fe,al:fe,ar:fe,as:fe,az:fe,ca:fe,co:fe,ct:fe,dc:fe,de:qe,fl:fe,ga:fe,gu:fe,hi:Ne,ia:fe,id:fe,il:fe,in:fe,ks:fe,ky:fe,la:fe,ma:[1,{k12:[1,{chtr:e,paroch:e,pvt:e}],cc:e,lib:e}],md:fe,me:fe,mi:[1,{k12:e,cc:e,lib:e,"ann-arbor":e,cog:e,dst:e,eaton:e,gen:e,mus:e,tec:e,washtenaw:e}],mn:fe,mo:fe,ms:[1,{k12:e,cc:e}],mt:fe,nc:fe,nd:Ne,ne:fe,nh:fe,nj:fe,nm:fe,nv:fe,ny:fe,oh:fe,ok:fe,or:fe,pa:fe,pr:fe,ri:Ne,sc:fe,sd:Ne,tn:fe,tx:fe,ut:fe,va:fe,vi:fe,vt:fe,wa:fe,wi:fe,wv:qe,wy:fe,cloudns:t,"is-by":t,"land-4-sale":t,"stuff-4-sale":t,heliohost:t,enscaled:[0,{phx:t}],mircloud:t,"azure-api":t,azurewebsites:t,ngo:t,golffan:t,noip:t,pointto:t,freeddns:t,srv:[2,{gh:t,gl:t}],servername:t}],uy:[1,{com:e,edu:e,gub:e,mil:e,net:e,org:e,gv:t}],uz:[1,{co:e,com:e,net:e,org:e}],va:e,vc:[1,{com:e,edu:e,gov:e,mil:e,net:e,org:e,gv:[2,{d:t}],"0e":o,mydns:t}],ve:[1,{arts:e,bib:e,co:e,com:e,e12:e,edu:e,emprende:e,firm:e,gob:e,gov:e,ia:e,info:e,int:e,mil:e,net:e,nom:e,org:e,rar:e,rec:e,store:e,tec:e,web:e}],vg:[1,{edu:e}],vi:[1,{co:e,com:e,k12:e,net:e,org:e}],vn:[1,{ac:e,ai:e,biz:e,com:e,edu:e,gov:e,health:e,id:e,info:e,int:e,io:e,name:e,net:e,org:e,pro:e,angiang:e,bacgiang:e,backan:e,baclieu:e,bacninh:e,"baria-vungtau":e,bentre:e,binhdinh:e,binhduong:e,binhphuoc:e,binhthuan:e,camau:e,cantho:e,caobang:e,daklak:e,daknong:e,danang:e,dienbien:e,dongnai:e,dongthap:e,gialai:e,hagiang:e,haiduong:e,haiphong:e,hanam:e,hanoi:e,hatinh:e,haugiang:e,hoabinh:e,hue:e,hungyen:e,khanhhoa:e,kiengiang:e,kontum:e,laichau:e,lamdong:e,langson:e,laocai:e,longan:e,namdinh:e,nghean:e,ninhbinh:e,ninhthuan:e,phutho:e,phuyen:e,quangbinh:e,quangnam:e,quangngai:e,quangninh:e,quangtri:e,soctrang:e,sonla:e,tayninh:e,thaibinh:e,thainguyen:e,thanhhoa:e,thanhphohochiminh:e,thuathienhue:e,tiengiang:e,travinh:e,tuyenquang:e,vinhlong:e,vinhphuc:e,yenbai:e}],vu:te,wf:[1,{biz:t,sch:t}],ws:[1,{com:e,edu:e,gov:e,net:e,org:e,advisor:o,cloud66:t,dyndns:t,mypets:t}],yt:[1,{org:t}],"xn--mgbaam7a8h":e,امارات:e,"xn--y9a3aq":e,հայ:e,"xn--54b7fta0cc":e,বাংলা:e,"xn--90ae":e,бг:e,"xn--mgbcpq6gpa1a":e,البحرين:e,"xn--90ais":e,бел:e,"xn--fiqs8s":e,中国:e,"xn--fiqz9s":e,中國:e,"xn--lgbbat1ad8j":e,الجزائر:e,"xn--wgbh1c":e,مصر:e,"xn--e1a4c":e,ею:e,"xn--qxa6a":e,ευ:e,"xn--mgbah1a3hjkrd":e,موريتانيا:e,"xn--node":e,გე:e,"xn--qxam":e,ελ:e,"xn--j6w193g":[1,{"xn--gmqw5a":e,"xn--55qx5d":e,"xn--mxtq1m":e,"xn--wcvs22d":e,"xn--uc0atv":e,"xn--od0alg":e}],香港:[1,{個人:e,公司:e,政府:e,教育:e,組織:e,網絡:e}],"xn--2scrj9c":e,ಭಾರತ:e,"xn--3hcrj9c":e,ଭାରତ:e,"xn--45br5cyl":e,ভাৰত:e,"xn--h2breg3eve":e,भारतम्:e,"xn--h2brj9c8c":e,भारोत:e,"xn--mgbgu82a":e,ڀارت:e,"xn--rvc1e0am3e":e,ഭാരതം:e,"xn--h2brj9c":e,भारत:e,"xn--mgbbh1a":e,بارت:e,"xn--mgbbh1a71e":e,بھارت:e,"xn--fpcrj9c3d":e,భారత్:e,"xn--gecrj9c":e,ભારત:e,"xn--s9brj9c":e,ਭਾਰਤ:e,"xn--45brj9c":e,ভারত:e,"xn--xkc2dl3a5ee0h":e,இந்தியா:e,"xn--mgba3a4f16a":e,ایران:e,"xn--mgba3a4fra":e,ايران:e,"xn--mgbtx2b":e,عراق:e,"xn--mgbayh7gpa":e,الاردن:e,"xn--3e0b707e":e,한국:e,"xn--80ao21a":e,қаз:e,"xn--q7ce6a":e,ລາວ:e,"xn--fzc2c9e2c":e,ලංකා:e,"xn--xkc2al3hye2a":e,இலங்கை:e,"xn--mgbc0a9azcg":e,المغرب:e,"xn--d1alf":e,мкд:e,"xn--l1acc":e,мон:e,"xn--mix891f":e,澳門:e,"xn--mix082f":e,澳门:e,"xn--mgbx4cd0ab":e,مليسيا:e,"xn--mgb9awbf":e,عمان:e,"xn--mgbai9azgqp6j":e,پاکستان:e,"xn--mgbai9a5eva00b":e,پاكستان:e,"xn--ygbi2ammx":e,فلسطين:e,"xn--90a3ac":[1,{"xn--80au":e,"xn--90azh":e,"xn--d1at":e,"xn--c1avg":e,"xn--o1ac":e,"xn--o1ach":e}],срб:[1,{ак:e,обр:e,од:e,орг:e,пр:e,упр:e}],"xn--p1ai":e,рф:e,"xn--wgbl6a":e,قطر:e,"xn--mgberp4a5d4ar":e,السعودية:e,"xn--mgberp4a5d4a87g":e,السعودیة:e,"xn--mgbqly7c0a67fbc":e,السعودیۃ:e,"xn--mgbqly7cvafr":e,السعوديه:e,"xn--mgbpl2fh":e,سودان:e,"xn--yfro4i67o":e,新加坡:e,"xn--clchc0ea0b2g2a9gcd":e,சிங்கப்பூர்:e,"xn--ogbpf8fl":e,سورية:e,"xn--mgbtf8fl":e,سوريا:e,"xn--o3cw4h":[1,{"xn--o3cyx2a":e,"xn--12co0c3b4eva":e,"xn--m3ch0j3a":e,"xn--h3cuzk1di":e,"xn--12c1fe0br":e,"xn--12cfi8ixb8l":e}],ไทย:[1,{ทหาร:e,ธุรกิจ:e,เน็ต:e,รัฐบาล:e,ศึกษา:e,องค์กร:e}],"xn--pgbs0dh":e,تونس:e,"xn--kpry57d":e,台灣:e,"xn--kprw13d":e,台湾:e,"xn--nnx388a":e,臺灣:e,"xn--j1amh":e,укр:e,"xn--mgb2ddes":e,اليمن:e,xxx:e,ye:r,za:[0,{ac:e,agric:e,alt:e,co:e,edu:e,gov:e,grondar:e,law:e,mil:e,net:e,ngo:e,nic:e,nis:e,nom:e,org:e,school:e,tm:e,web:e}],zm:[1,{ac:e,biz:e,co:e,com:e,edu:e,gov:e,info:e,mil:e,net:e,org:e,sch:e}],zw:[1,{ac:e,co:e,gov:e,mil:e,org:e}],aaa:e,aarp:e,abb:e,abbott:e,abbvie:e,abc:e,able:e,abogado:e,abudhabi:e,academy:[1,{official:t}],accenture:e,accountant:e,accountants:e,aco:e,actor:e,ads:e,adult:e,aeg:e,aetna:e,afl:e,africa:e,agakhan:e,agency:e,aig:e,airbus:e,airforce:e,airtel:e,akdn:e,alibaba:e,alipay:e,allfinanz:e,allstate:e,ally:e,alsace:e,alstom:e,amazon:e,americanexpress:e,americanfamily:e,amex:e,amfam:e,amica:e,amsterdam:e,analytics:e,android:e,anquan:e,anz:e,aol:e,apartments:e,app:[1,{adaptable:t,aiven:t,beget:o,brave:a,clerk:t,clerkstage:t,cloudflare:t,wnext:t,csb:[2,{preview:t}],convex:t,corespeed:t,deta:t,ondigitalocean:t,easypanel:t,encr:[2,{frontend:t}],evervault:i,expo:[2,{on:t,staging:[2,{on:t}]}],edgecompute:t,"on-fleek":t,flutterflow:t,sprites:t,e2b:t,framer:t,gadget:t,github:t,hosted:o,run:[0,{"*":t,mtls:o}],web:t,hackclub:t,hasura:t,onhercules:t,botdash:t,shiptoday:t,leapcell:t,loginline:t,lovable:t,luyani:t,magicpatterns:t,medusajs:t,messerli:t,miren:t,mocha:t,netlify:t,ngrok:t,"ngrok-free":t,developer:o,noop:t,northflank:o,pplx:t,upsun:o,railway:[0,{up:t}],replit:s,nyat:t,snowflake:[0,{"*":t,privatelink:o}],streamlit:t,spawnbase:t,telebit:t,typedream:t,vercel:t,wal:t,wasmer:t,bookonline:t,windsurf:t,base44:t,zeabur:t,zerops:o}],apple:[1,{int:[2,{cloud:[0,{"*":t,r:[0,{"*":t,"ap-north-1":o,"ap-south-1":o,"ap-south-2":o,"eu-central-1":o,"eu-north-1":o,"us-central-1":o,"us-central-2":o,"us-east-1":o,"us-east-2":o,"us-west-1":o,"us-west-2":o,"us-west-3":o}]}]}]}],aquarelle:e,arab:e,aramco:e,archi:e,army:e,art:e,arte:e,asda:e,associates:e,athleta:e,attorney:e,auction:e,audi:e,audible:e,audio:e,auspost:e,author:e,auto:e,autos:e,aws:[1,{on:[0,{"af-south-1":c,"ap-east-1":c,"ap-northeast-1":c,"ap-northeast-2":c,"ap-northeast-3":c,"ap-south-1":c,"ap-south-2":d,"ap-southeast-1":c,"ap-southeast-2":c,"ap-southeast-3":c,"ap-southeast-4":d,"ap-southeast-5":d,"ca-central-1":c,"ca-west-1":d,"eu-central-1":c,"eu-central-2":d,"eu-north-1":c,"eu-south-1":c,"eu-south-2":d,"eu-west-1":c,"eu-west-2":c,"eu-west-3":c,"il-central-1":d,"me-central-1":d,"me-south-1":c,"sa-east-1":c,"us-east-1":c,"us-east-2":c,"us-west-1":c,"us-west-2":c,"ap-southeast-7":f,"mx-central-1":f,"us-gov-east-1":m,"us-gov-west-1":m}],sagemaker:[0,{"ap-northeast-1":h,"ap-northeast-2":h,"ap-south-1":h,"ap-southeast-1":h,"ap-southeast-2":h,"ca-central-1":g,"eu-central-1":h,"eu-west-1":h,"eu-west-2":h,"us-east-1":g,"us-east-2":g,"us-west-2":g,"af-south-1":p,"ap-east-1":p,"ap-northeast-3":p,"ap-south-2":v,"ap-southeast-3":p,"ap-southeast-4":v,"ca-west-1":[0,{notebook:t,"notebook-fips":t}],"eu-central-2":p,"eu-north-1":p,"eu-south-1":p,"eu-south-2":p,"eu-west-3":p,"il-central-1":p,"me-central-1":p,"me-south-1":p,"sa-east-1":p,"us-gov-east-1":b,"us-gov-west-1":b,"us-west-1":[0,{notebook:t,"notebook-fips":t,studio:t}],experiments:o}],repost:[0,{private:o}]}],axa:e,azure:e,baby:e,baidu:e,banamex:e,band:e,bank:e,bar:e,barcelona:e,barclaycard:e,barclays:e,barefoot:e,bargains:e,baseball:e,basketball:[1,{aus:t,nz:t}],bauhaus:e,bayern:e,bbc:e,bbt:e,bbva:e,bcg:e,bcn:e,beats:e,beauty:e,beer:e,berlin:e,best:e,bestbuy:e,bet:e,bharti:e,bible:e,bid:e,bike:e,bing:e,bingo:e,bio:e,black:e,blackfriday:e,blockbuster:e,blog:e,bloomberg:e,blue:e,bms:e,bmw:e,bnpparibas:e,boats:e,boehringer:e,bofa:e,bom:e,bond:e,boo:e,book:e,booking:e,bosch:e,bostik:e,boston:e,bot:e,boutique:e,box:e,bradesco:e,bridgestone:e,broadway:e,broker:e,brother:e,brussels:e,build:[1,{shiptoday:t,v0:t,windsurf:t}],builders:[1,{cloudsite:t}],business:C,buy:e,buzz:e,bzh:e,cab:e,cafe:e,cal:e,call:e,calvinklein:e,cam:e,camera:e,camp:[1,{emf:[0,{at:t}]}],canon:e,capetown:e,capital:e,capitalone:e,car:e,caravan:e,cards:e,care:e,career:e,careers:e,cars:e,casa:[1,{nabu:[0,{ui:t}]}],case:[1,{sav:t}],cash:e,casino:e,catering:e,catholic:e,cba:e,cbn:e,cbre:e,center:e,ceo:e,cern:e,cfa:e,cfd:e,chanel:e,channel:e,charity:e,chase:e,chat:e,cheap:e,chintai:e,christmas:e,chrome:e,church:e,cipriani:e,circle:e,cisco:e,citadel:e,citi:e,citic:e,city:e,claims:e,cleaning:e,click:e,clinic:e,clinique:e,clothing:e,cloud:[1,{antagonist:t,begetcdn:o,convex:$,elementor:t,emergent:t,encoway:[0,{eu:t}],statics:o,ravendb:t,axarnet:[0,{"es-1":t}],diadem:t,jelastic:[0,{vip:t}],jele:t,"jenv-aruba":[0,{aruba:[0,{eur:[0,{it1:t}]}],it1:t}],keliweb:[2,{cs:t}],oxa:[2,{tn:t,uk:t}],primetel:[2,{uk:t}],reclaim:[0,{ca:t,uk:t,us:t}],trendhosting:[0,{ch:t,de:t}],jote:t,jotelulu:t,kuleuven:t,laravel:t,linkyard:t,magentosite:o,matlab:t,observablehq:t,perspecta:t,vapor:t,"on-rancher":o,scw:[0,{baremetal:[0,{"fr-par-1":t,"fr-par-2":t,"nl-ams-1":t}],"fr-par":[0,{cockpit:t,ddl:t,dtwh:t,fnc:[2,{functions:t}],ifr:t,k8s:k,kafk:t,mgdb:t,rdb:t,s3:t,"s3-website":t,scbl:t,whm:t}],instances:[0,{priv:t,pub:t}],k8s:t,"nl-ams":[0,{cockpit:t,ddl:t,dtwh:t,ifr:t,k8s:k,kafk:t,mgdb:t,rdb:t,s3:t,"s3-website":t,scbl:t,whm:t}],"pl-waw":[0,{cockpit:t,ddl:t,dtwh:t,ifr:t,k8s:k,kafk:t,mgdb:t,rdb:t,s3:t,"s3-website":t,scbl:t}],scalebook:t,smartlabeling:t}],servebolt:t,onstackit:[0,{runs:t}],trafficplex:t,"unison-services":t,urown:t,voorloper:t,zap:t}],club:[1,{cloudns:t,jele:t,barsy:t}],clubmed:e,coach:e,codes:[1,{owo:o}],coffee:e,college:e,cologne:e,commbank:e,community:[1,{nog:t,ravendb:t,myforum:t}],company:[1,{mybox:t}],compare:e,computer:e,comsec:e,condos:e,construction:e,consulting:e,contact:e,contractors:e,cooking:e,cool:[1,{elementor:t,de:t}],corsica:e,country:e,coupon:e,coupons:e,courses:e,cpa:e,credit:e,creditcard:e,creditunion:e,cricket:e,crown:e,crs:e,cruise:e,cruises:e,cuisinella:e,cymru:e,cyou:e,dad:e,dance:e,data:e,date:e,dating:e,datsun:e,day:e,dclk:e,dds:e,deal:e,dealer:e,deals:e,degree:e,delivery:e,dell:e,deloitte:e,delta:e,democrat:e,dental:e,dentist:e,desi:e,design:[1,{graphic:t,bss:t}],dev:[1,{myaddr:t,panel:t,bearblog:t,brave:a,lcl:o,lclstage:o,stg:o,stgstage:o,pages:t,r2:t,workers:t,deno:t,"deno-staging":t,deta:t,lp:[2,{api:t,objects:t}],evervault:i,payload:t,fly:t,githubpreview:t,gateway:o,grebedoc:t,botdash:t,inbrowser:o,"is-a-good":t,iserv:t,leapcell:t,runcontainers:t,localcert:[0,{user:o}],loginline:t,barsy:t,mediatech:t,"mocha-sandbox":t,modx:t,ngrok:t,"ngrok-free":t,"is-a-fullstack":t,"is-cool":t,"is-not-a":t,localplayer:t,xmit:t,"platter-app":t,replit:[2,{archer:t,bones:t,canary:t,global:t,hacker:t,id:t,janeway:t,kim:t,kira:t,kirk:t,odo:t,paris:t,picard:t,pike:t,prerelease:t,reed:t,riker:t,sisko:t,spock:t,staging:t,sulu:t,tarpit:t,teams:t,tucker:t,wesley:t,worf:t}],crm:[0,{aa:o,ab:o,ac:o,ad:o,ae:o,af:o,ci:o,d:o,pa:o,pb:o,pc:o,pd:o,pe:o,pf:o,w:o,wa:o,wb:o,wc:o,wd:o,we:o,wf:o}],erp:ae,vercel:t,webhare:o,hrsn:t,"is-a":t}],dhl:e,diamonds:e,diet:e,digital:[1,{cloudapps:[2,{london:t}]}],direct:[1,{libp2p:t}],directory:e,discount:e,discover:e,dish:e,diy:[1,{discourse:t,imagine:t}],dnp:e,docs:e,doctor:e,dog:e,domains:e,dot:e,download:e,drive:e,dtv:e,dubai:e,dupont:e,durban:e,dvag:e,dvr:e,earth:e,eat:e,eco:e,edeka:e,education:C,email:[1,{crisp:[0,{on:t}],intouch:t,tawk:oe,tawkto:oe}],emerck:e,energy:e,engineer:e,engineering:e,enterprises:e,epson:e,equipment:e,ericsson:e,erni:e,esq:e,estate:[1,{compute:o}],eurovision:e,eus:[1,{party:re}],events:[1,{koobin:t,co:t}],exchange:e,expert:e,exposed:e,express:e,extraspace:e,fage:e,fail:e,fairwinds:e,faith:e,family:e,fan:e,fans:e,farm:[1,{storj:t}],farmers:e,fashion:e,fast:e,fedex:e,feedback:e,ferrari:e,ferrero:e,fidelity:e,fido:e,film:e,final:e,finance:e,financial:C,fire:e,firestone:e,firmdale:e,fish:e,fishing:e,fit:e,fitness:e,flickr:e,flights:e,flir:e,florist:e,flowers:e,fly:e,foo:e,food:e,football:e,ford:e,forex:e,forsale:e,forum:e,foundation:e,fox:e,free:e,fresenius:e,frl:e,frogans:e,frontier:e,ftr:e,fujitsu:e,fun:ce,fund:e,furniture:e,futbol:e,fyi:e,gal:e,gallery:e,gallo:e,gallup:e,game:e,games:[1,{pley:t,sheezy:t}],gap:e,garden:e,gay:[1,{pages:t}],gbiz:e,gdn:[1,{cnpy:t}],gea:e,gent:e,genting:e,george:e,ggee:e,gift:e,gifts:e,gives:e,giving:e,glass:e,gle:e,global:[1,{appwrite:t}],globo:e,gmail:e,gmbh:e,gmo:e,gmx:e,godaddy:e,gold:e,goldpoint:e,golf:e,goodyear:e,goog:[1,{cloud:t,translate:t,usercontent:o}],google:e,gop:e,got:e,grainger:e,graphics:e,gratis:e,green:e,gripe:e,grocery:e,group:[1,{discourse:t}],gucci:e,guge:e,guide:e,guitars:e,guru:e,hair:e,hamburg:e,hangout:e,haus:e,hbo:e,hdfc:e,hdfcbank:e,health:[1,{hra:t}],healthcare:e,help:e,helsinki:e,here:e,hermes:e,hiphop:e,hisamitsu:e,hitachi:e,hiv:e,hkt:e,hockey:e,holdings:e,holiday:e,homedepot:e,homegoods:e,homes:e,homesense:e,honda:e,horse:e,hospital:e,host:[1,{cloudaccess:t,freesite:t,easypanel:t,emergent:t,fastvps:t,myfast:t,gadget:t,tempurl:t,wpmudev:t,iserv:t,jele:t,mircloud:t,bolt:t,wp2:t,half:t}],hosting:[1,{opencraft:t}],hot:e,hotel:e,hotels:e,hotmail:e,house:e,how:e,hsbc:e,hughes:e,hyatt:e,hyundai:e,ibm:e,icbc:e,ice:e,icu:e,ieee:e,ifm:e,ikano:e,imamat:e,imdb:e,immo:e,immobilien:e,inc:e,industries:e,infiniti:e,ing:e,ink:e,institute:e,insurance:e,insure:e,international:e,intuit:e,investments:e,ipiranga:e,irish:e,ismaili:e,ist:e,istanbul:e,itau:e,itv:e,jaguar:e,java:e,jcb:e,jeep:e,jetzt:e,jewelry:e,jio:e,jll:e,jmp:e,jnj:e,joburg:e,jot:e,joy:e,jpmorgan:e,jprs:e,juegos:e,juniper:e,kaufen:e,kddi:e,kerryhotels:e,kerryproperties:e,kfh:e,kia:e,kids:e,kim:e,kindle:e,kitchen:e,kiwi:e,koeln:e,komatsu:e,kosher:e,kpmg:e,kpn:e,krd:[1,{co:t,edu:t}],kred:e,kuokgroup:e,kyoto:e,lacaixa:e,lamborghini:e,lamer:e,land:e,landrover:e,lanxess:e,lasalle:e,lat:e,latino:e,latrobe:e,law:e,lawyer:e,lds:e,lease:e,leclerc:e,lefrak:e,legal:e,lego:e,lexus:e,lgbt:e,lidl:e,life:e,lifeinsurance:e,lifestyle:e,lighting:e,like:e,lilly:e,limited:e,limo:e,lincoln:e,link:[1,{myfritz:t,cyon:t,joinmc:t,dweb:o,inbrowser:o,keenetic:t,nftstorage:le,mypep:t,storacha:le,w3s:le}],live:[1,{aem:t,hlx:t,ewp:o}],living:e,llc:e,llp:e,loan:e,loans:e,locker:e,locus:e,lol:[1,{omg:t}],london:e,lotte:e,lotto:e,love:e,lpl:e,lplfinancial:e,ltd:e,ltda:e,lundbeck:e,luxe:e,luxury:e,madrid:e,maif:e,maison:e,makeup:e,man:e,management:e,mango:e,map:e,market:e,marketing:e,markets:e,marriott:e,marshalls:e,mattel:e,mba:e,mckinsey:e,med:e,media:Ce,meet:e,melbourne:e,meme:e,memorial:e,men:e,menu:[1,{barsy:t,barsyonline:t}],merck:e,merckmsd:e,miami:e,microsoft:e,mini:e,mint:e,mit:e,mitsubishi:e,mlb:e,mls:e,mma:e,mobile:e,moda:e,moe:e,moi:e,mom:e,monash:e,money:e,monster:e,mormon:e,mortgage:e,moscow:e,moto:e,motorcycles:e,mov:e,movie:e,msd:e,mtn:e,mtr:e,music:e,nab:e,nagoya:e,navy:e,nba:e,nec:e,netbank:e,netflix:e,network:[1,{aem:t,alces:o,appwrite:t,co:t,arvo:t,azimuth:t,tlon:t}],neustar:e,new:e,news:[1,{noticeable:t}],next:e,nextdirect:e,nexus:e,nfl:e,ngo:e,nhk:e,nico:e,nike:e,nikon:e,ninja:e,nissan:e,nissay:e,nokia:e,norton:e,now:e,nowruz:e,nowtv:e,nra:e,nrw:e,ntt:e,nyc:e,obi:e,observer:e,office:e,okinawa:e,olayan:e,olayangroup:e,ollo:e,omega:e,one:[1,{kin:o,service:t,website:t}],ong:e,onl:e,online:[1,{eero:t,"eero-stage":t,websitebuilder:t,leapcell:t,barsy:t}],ooo:e,open:e,oracle:e,orange:[1,{tech:t}],organic:e,origins:e,osaka:e,otsuka:e,ott:e,ovh:[1,{nerdpol:t}],page:[1,{aem:t,hlx:t,codeberg:t,deuxfleurs:t,mybox:t,heyflow:t,prvcy:t,rocky:t,statichost:t,pdns:t,plesk:t}],panasonic:e,paris:e,pars:e,partners:e,parts:e,party:e,pay:e,pccw:e,pet:e,pfizer:e,pharmacy:e,phd:e,philips:e,phone:e,photo:e,photography:e,photos:Ce,physio:e,pics:e,pictet:e,pictures:[1,{1337:t}],pid:e,pin:e,ping:e,pink:e,pioneer:e,pizza:[1,{ngrok:t}],place:C,play:e,playstation:e,plumbing:e,plus:[1,{playit:[2,{at:o,with:t}]}],pnc:e,pohl:e,poker:e,politie:e,porn:e,praxi:e,press:e,prime:e,prod:e,productions:e,prof:e,progressive:e,promo:e,properties:e,property:e,protection:e,pru:e,prudential:e,pub:[1,{id:o,kin:o,barsy:t}],pwc:e,qpon:e,quebec:e,quest:e,racing:e,radio:e,read:e,realestate:e,realtor:e,realty:e,recipes:e,red:e,redumbrella:e,rehab:e,reise:e,reisen:e,reit:e,reliance:e,ren:e,rent:e,rentals:e,repair:e,report:e,republican:e,rest:e,restaurant:e,review:e,reviews:[1,{aem:t}],rexroth:e,rich:e,richardli:e,ricoh:e,ril:e,rio:e,rip:[1,{clan:t}],rocks:[1,{myddns:t,stackit:t,"lima-city":t,webspace:t}],rodeo:e,rogers:e,room:e,rsvp:e,rugby:e,ruhr:e,run:[1,{appwrite:o,canva:t,development:t,ravendb:t,liara:[2,{iran:t}],lovable:t,needle:t,build:o,code:o,database:o,migration:o,onporter:t,repl:t,stackit:t,val:ae,vercel:t,wix:t}],rwe:e,ryukyu:e,saarland:e,safe:e,safety:e,sakura:e,sale:e,salon:e,samsclub:e,samsung:e,sandvik:e,sandvikcoromant:e,sanofi:e,sap:e,sarl:e,sas:e,save:e,saxo:e,sbi:e,sbs:e,scb:e,schaeffler:e,schmidt:e,scholarships:e,school:e,schule:e,schwarz:e,science:e,scot:[1,{co:t,me:t,org:t,gov:[2,{service:t}]}],search:e,seat:e,secure:e,security:e,seek:e,select:e,sener:e,services:[1,{loginline:t}],seven:e,sew:e,sex:e,sexy:e,sfr:e,shangrila:e,sharp:e,shell:e,shia:e,shiksha:e,shoes:e,shop:[1,{base:t,hoplix:t,barsy:t,barsyonline:t,shopware:t}],shopping:e,shouji:e,show:ce,silk:e,sina:e,singles:e,site:[1,{square:t,canva:E,cloudera:o,convex:$,cyon:t,caffeine:t,fastvps:t,figma:t,"figma-gov":t,preview:t,heyflow:t,jele:t,jouwweb:t,loginline:t,barsy:t,co:t,notion:t,omniwe:t,opensocial:t,madethis:t,support:t,platformsh:o,tst:o,byen:t,sol:t,srht:t,novecore:t,cpanel:t,wpsquared:t,sourcecraft:t}],ski:e,skin:e,sky:e,skype:e,sling:e,smart:e,smile:e,sncf:e,soccer:e,social:e,softbank:e,software:e,sohu:e,solar:e,solutions:e,song:e,sony:e,soy:e,spa:e,space:[1,{myfast:t,heiyu:t,hf:[2,{static:t}],"app-ionos":t,project:t,uber:t,xs4all:t}],sport:e,spot:e,srl:e,stada:e,staples:e,star:e,statebank:e,statefarm:e,stc:e,stcgroup:e,stockholm:e,storage:e,store:[1,{barsy:t,sellfy:t,shopware:t,storebase:t}],stream:e,studio:e,study:e,style:e,sucks:e,supplies:e,supply:e,support:[1,{barsy:t}],surf:e,surgery:e,suzuki:e,swatch:e,swiss:e,sydney:e,systems:[1,{knightpoint:t,miren:t}],tab:e,taipei:e,talk:e,taobao:e,target:e,tatamotors:e,tatar:e,tattoo:e,tax:e,taxi:e,tci:e,tdk:e,team:[1,{discourse:t,jelastic:t}],tech:[1,{cleverapps:t}],technology:C,temasek:e,tennis:e,teva:e,thd:e,theater:e,theatre:e,tiaa:e,tickets:e,tienda:e,tips:e,tires:e,tirol:e,tjmaxx:e,tjx:e,tkmaxx:e,tmall:e,today:[1,{prequalifyme:t}],tokyo:e,tools:[1,{addr:J,myaddr:t}],top:[1,{ntdll:t,wadl:o}],toray:e,toshiba:e,total:e,tours:e,town:e,toyota:e,toys:e,trade:e,trading:e,training:e,travel:e,travelers:e,travelersinsurance:e,trust:e,trv:e,tube:e,tui:e,tunes:e,tushu:e,tvs:e,ubank:e,ubs:e,unicom:e,university:e,uno:e,uol:e,ups:e,vacations:e,vana:e,vanguard:e,vegas:e,ventures:e,verisign:e,versicherung:e,vet:e,viajes:e,video:e,vig:e,viking:e,villas:e,vin:e,vip:[1,{hidns:t}],virgin:e,visa:e,vision:e,viva:e,vivo:e,vlaanderen:e,vodka:e,volvo:e,vote:e,voting:e,voto:e,voyage:e,wales:e,walmart:e,walter:e,wang:e,wanggou:e,watch:e,watches:e,weather:e,weatherchannel:e,webcam:e,weber:e,website:Ce,wed:e,wedding:e,weibo:e,weir:e,whoswho:e,wien:e,wiki:Ce,williamhill:e,win:e,windows:e,wine:e,winners:e,wme:e,woodside:e,work:[1,{"imagine-proxy":t}],works:e,world:e,wow:e,wtc:e,wtf:e,xbox:e,xerox:e,xihuan:e,xin:e,"xn--11b4c3d":e,कॉम:e,"xn--1ck2e1b":e,セール:e,"xn--1qqw23a":e,佛山:e,"xn--30rr7y":e,慈善:e,"xn--3bst00m":e,集团:e,"xn--3ds443g":e,在线:e,"xn--3pxu8k":e,点看:e,"xn--42c2d9a":e,คอม:e,"xn--45q11c":e,八卦:e,"xn--4gbrim":e,موقع:e,"xn--55qw42g":e,公益:e,"xn--55qx5d":e,公司:e,"xn--5su34j936bgsg":e,香格里拉:e,"xn--5tzm5g":e,网站:e,"xn--6frz82g":e,移动:e,"xn--6qq986b3xl":e,我爱你:e,"xn--80adxhks":e,москва:e,"xn--80aqecdr1a":e,католик:e,"xn--80asehdb":e,онлайн:e,"xn--80aswg":e,сайт:e,"xn--8y0a063a":e,联通:e,"xn--9dbq2a":e,קום:e,"xn--9et52u":e,时尚:e,"xn--9krt00a":e,微博:e,"xn--b4w605ferd":e,淡马锡:e,"xn--bck1b9a5dre4c":e,ファッション:e,"xn--c1avg":e,орг:e,"xn--c2br7g":e,नेट:e,"xn--cck2b3b":e,ストア:e,"xn--cckwcxetd":e,アマゾン:e,"xn--cg4bki":e,삼성:e,"xn--czr694b":e,商标:e,"xn--czrs0t":e,商店:e,"xn--czru2d":e,商城:e,"xn--d1acj3b":e,дети:e,"xn--eckvdtc9d":e,ポイント:e,"xn--efvy88h":e,新闻:e,"xn--fct429k":e,家電:e,"xn--fhbei":e,كوم:e,"xn--fiq228c5hs":e,中文网:e,"xn--fiq64b":e,中信:e,"xn--fjq720a":e,娱乐:e,"xn--flw351e":e,谷歌:e,"xn--fzys8d69uvgm":e,電訊盈科:e,"xn--g2xx48c":e,购物:e,"xn--gckr3f0f":e,クラウド:e,"xn--gk3at1e":e,通販:e,"xn--hxt814e":e,网店:e,"xn--i1b6b1a6a2e":e,संगठन:e,"xn--imr513n":e,餐厅:e,"xn--io0a7i":e,网络:e,"xn--j1aef":e,ком:e,"xn--jlq480n2rg":e,亚马逊:e,"xn--jvr189m":e,食品:e,"xn--kcrx77d1x4a":e,飞利浦:e,"xn--kput3i":e,手机:e,"xn--mgba3a3ejt":e,ارامكو:e,"xn--mgba7c0bbn0a":e,العليان:e,"xn--mgbab2bd":e,بازار:e,"xn--mgbca7dzdo":e,ابوظبي:e,"xn--mgbi4ecexp":e,كاثوليك:e,"xn--mgbt3dhd":e,همراه:e,"xn--mk1bu44c":e,닷컴:e,"xn--mxtq1m":e,政府:e,"xn--ngbc5azd":e,شبكة:e,"xn--ngbe9e0a":e,بيتك:e,"xn--ngbrx":e,عرب:e,"xn--nqv7f":e,机构:e,"xn--nqv7fs00ema":e,组织机构:e,"xn--nyqy26a":e,健康:e,"xn--otu796d":e,招聘:e,"xn--p1acf":[1,{"xn--90amc":t,"xn--j1aef":t,"xn--j1ael8b":t,"xn--h1ahn":t,"xn--j1adp":t,"xn--c1avg":t,"xn--80aaa0cvac":t,"xn--h1aliz":t,"xn--90a1af":t,"xn--41a":t}],рус:[1,{биз:t,ком:t,крым:t,мир:t,мск:t,орг:t,самара:t,сочи:t,спб:t,я:t}],"xn--pssy2u":e,大拿:e,"xn--q9jyb4c":e,みんな:e,"xn--qcka1pmc":e,グーグル:e,"xn--rhqv96g":e,世界:e,"xn--rovu88b":e,書籍:e,"xn--ses554g":e,网址:e,"xn--t60b56a":e,닷넷:e,"xn--tckwe":e,コム:e,"xn--tiq49xqyj":e,天主教:e,"xn--unup4y":e,游戏:e,"xn--vermgensberater-ctb":e,vermögensberater:e,"xn--vermgensberatung-pwb":e,vermögensberatung:e,"xn--vhquv":e,企业:e,"xn--vuq861b":e,信息:e,"xn--w4r85el8fhu5dnra":e,嘉里大酒店:e,"xn--w4rs40l":e,嘉里:e,"xn--xhq521b":e,广东:e,"xn--zfr164b":e,政务:e,xyz:[1,{caffeine:t,exe:t,botdash:t,telebit:o}],yachts:e,yahoo:e,yamaxun:e,yandex:e,yodobashi:e,yoga:e,yokohama:e,you:e,youtube:e,yun:e,zappos:e,zara:e,zero:e,zip:e,zone:[1,{stackit:t,lima:t,triton:o}],zuerich:e}]})();function nw(e,t,n,r){let o=null,a=t;for(;a!==void 0&&((a[0]&r)!==0&&(o={index:n+1,isIcann:(a[0]&1)!==0,isPrivate:(a[0]&2)!==0}),n!==-1);){const i=a[1];a=Object.prototype.hasOwnProperty.call(i,e[n])?i[e[n]]:i["*"],n-=1}return o}function DA(e,t,n){var r;if(MA(e,t,n))return;const o=e.split("."),a=(t.allowPrivateDomains?2:0)|(t.allowIcannDomains?1:0),i=nw(o,zA,o.length-1,a);if(i!==null){n.isIcann=i.isIcann,n.isPrivate=i.isPrivate,n.publicSuffix=o.slice(i.index+1).join(".");return}const s=nw(o,AA,o.length-1,a);if(s!==null){n.isIcann=s.isIcann,n.isPrivate=s.isPrivate,n.publicSuffix=o.slice(s.index).join(".");return}n.isIcann=!1,n.isPrivate=!1,n.publicSuffix=(r=o[o.length-1])!==null&&r!==void 0?r:null}const rw=_A();function LA(e,t={}){return TA(rw),jA(e,3,DA,t,rw).domain}function ow(e,t){return!!(t===e||e.indexOf(t)===0&&(t[t.length-1]==="/"||e.startsWith(t)&&e[t.length]==="/"))}var aw=["local","example","invalid","localhost","test"],FA=["localhost","invalid"],RA={allowSpecialUseDomain:!1,ignoreError:!1};function np(e,t={}){t={...RA,...t};const n=e.split("."),r=n[n.length-1],o=!!t.allowSpecialUseDomain,a=!!t.ignoreError;if(o&&r!==void 0&&aw.includes(r)){if(n.length>1)return`${n[n.length-2]}.${r}`;if(FA.includes(r))return r}if(!a&&r!==void 0&&aw.includes(r))throw new Error(`Cookie has domain set to the public suffix "${r}" which is a special use domain. To allow this, configure your CookieJar with {allowSpecialUseDomain: true, rejectPublicSuffixes: false}.`);const i=LA(e,{allowIcannDomains:!0,allowPrivateDomains:!0});if(i)return i}function BA(e,t){const n=np(e,{allowSpecialUseDomain:t});if(!n)return;if(n==e)return[e];e.slice(-1)=="."&&(e=e.slice(0,-1));const o=e.slice(0,-(n.length+1)).split(".").reverse();let a=n;const i=[a];for(;o.length;)a=`${o.shift()}.${a}`,i.push(a);return i}var iw=class{constructor(){this.synchronous=!1}findCookie(e,t,n,r){throw new Error("findCookie is not implemented")}findCookies(e,t,n=!1,r){throw new Error("findCookies is not implemented")}putCookie(e,t){throw new Error("putCookie is not implemented")}updateCookie(e,t,n){throw new Error("updateCookie is not implemented")}removeCookie(e,t,n,r){throw new Error("removeCookie is not implemented")}removeCookies(e,t,n){throw new Error("removeCookies is not implemented")}removeAllCookies(e){throw new Error("removeAllCookies is not implemented")}getAllCookies(e){throw new Error("getAllCookies is not implemented (therefore jar cannot be serialized)")}},rp=e=>Object.prototype.toString.call(e),VA=(e,t)=>typeof e.join!="function"?rp(e):(t.add(e),e.map(r=>r==null||t.has(r)?"":sw(r,t)).join()),sw=(e,t=new WeakSet)=>typeof e!="object"||e===null?String(e):typeof e.toString=="function"?Array.isArray(e)?VA(e,t):String(e):rp(e),op=e=>sw(e);function Tn(e){let t,n,r;const o=new Promise((a,i)=>{n=a,r=i});return typeof e=="function"?t=(a,i)=>{try{a?e(a):e(null,i)}catch(s){r(s instanceof Error?s:new Error)}}:t=(a,i)=>{try{a?r(a):n(i)}catch(s){r(s instanceof Error?s:new Error)}},{promise:o,callback:t,resolve:a=>(t(null,a),o),reject:a=>(t(a),o)}}function Cs(e,t){return e in t}var lw=class extends iw{constructor(){super(),this.synchronous=!0,this.idx=Object.create(null)}findCookie(e,t,n,r){var i,s;const o=Tn(r);if(e==null||t==null||n==null)return o.resolve(void 0);const a=(s=(i=this.idx[e])==null?void 0:i[t])==null?void 0:s[n];return o.resolve(a)}findCookies(e,t,n=!1,r){typeof n=="function"&&(r=n,n=!0);const o=[],a=Tn(r);if(!e)return a.resolve([]);let i;t?i=function(d){for(const f in d)if(ow(t,f)){const m=d[f];for(const p in m){const h=m[p];h&&o.push(h)}}}:i=function(d){for(const f in d){const m=d[f];for(const p in m){const h=m[p];h&&o.push(h)}}};const s=BA(e,n)||[e],l=this.idx;return s.forEach(c=>{const d=l[c];d&&i(d)}),a.resolve(o)}putCookie(e,t){const n=Tn(t),{domain:r,path:o,key:a}=e;if(r==null||o==null||a==null)return n.resolve(void 0);const i=this.idx[r]??Object.create(null);this.idx[r]=i;const s=i[o]??Object.create(null);return i[o]=s,s[a]=e,n.resolve(void 0)}updateCookie(e,t,n){if(n)this.putCookie(t,n);else return this.putCookie(t)}removeCookie(e,t,n,r){var a,i;const o=Tn(r);return(i=(a=this.idx[e])==null?void 0:a[t])==null||delete i[n],o.resolve(void 0)}removeCookies(e,t,n){const r=Tn(n),o=this.idx[e];return o&&(t?delete o[t]:delete this.idx[e]),r.resolve(void 0)}removeAllCookies(e){const t=Tn(e);return this.idx=Object.create(null),t.resolve(void 0)}getAllCookies(e){const t=Tn(e),n=[],r=this.idx;return Object.keys(r).forEach(a=>{const i=r[a]??{};Object.keys(i).forEach(l=>{const c=i[l]??{};Object.keys(c).forEach(f=>{const m=c[f];m!=null&&n.push(m)})})}),n.sort((a,i)=>(a.creationIndex||0)-(i.creationIndex||0)),t.resolve(n)}};function ap(e){return cw(e)&&e!==""}function ip(e){return e===""||e instanceof String&&e.toString()===""}function cw(e){return typeof e=="string"||e instanceof String}function jc(e){return rp(e)==="[object Object]"}function xs(e,t,n){if(e)return;const r=typeof t=="function"?t:void 0;let o=typeof t=="function"?n:t;jc(o)||(o="[object Object]");const a=new uw(op(o));if(r)r(a);else throw a}var uw=class extends Error{},HA="6.0.1",ia={SILENT:"silent",STRICT:"strict",DISABLED:"unsafe-disabled"};Object.freeze(ia);var WA=`
|
|
1086
|
+
\\[?(?:
|
|
1087
|
+
(?:[a-fA-F\\d]{1,4}:){7}(?:[a-fA-F\\d]{1,4}|:)|
|
|
1088
|
+
(?:[a-fA-F\\d]{1,4}:){6}(?:(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}|:[a-fA-F\\d]{1,4}|:)|
|
|
1089
|
+
(?:[a-fA-F\\d]{1,4}:){5}(?::(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}|(?::[a-fA-F\\d]{1,4}){1,2}|:)|
|
|
1090
|
+
(?:[a-fA-F\\d]{1,4}:){4}(?:(?::[a-fA-F\\d]{1,4}){0,1}:(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}|(?::[a-fA-F\\d]{1,4}){1,3}|:)|
|
|
1091
|
+
(?:[a-fA-F\\d]{1,4}:){3}(?:(?::[a-fA-F\\d]{1,4}){0,2}:(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}|(?::[a-fA-F\\d]{1,4}){1,4}|:)|
|
|
1092
|
+
(?:[a-fA-F\\d]{1,4}:){2}(?:(?::[a-fA-F\\d]{1,4}){0,3}:(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}|(?::[a-fA-F\\d]{1,4}){1,5}|:)|
|
|
1093
|
+
(?:[a-fA-F\\d]{1,4}:){1}(?:(?::[a-fA-F\\d]{1,4}){0,4}:(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}|(?::[a-fA-F\\d]{1,4}){1,6}|:)|
|
|
1094
|
+
(?::(?:(?::[a-fA-F\\d]{1,4}){0,5}:(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}|(?::[a-fA-F\\d]{1,4}){1,7}|:))
|
|
1095
|
+
)(?:%[0-9a-zA-Z]{1,})?\\]?
|
|
1096
|
+
`.replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),sp=new RegExp(`^${WA}$`),qA="(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])",UA=new RegExp(`^${qA}$`);function dw(e){return new URL(`http://${e}`).hostname}function Mc(e){if(e==null)return;let t=e.trim().replace(/^\./,"");return sp.test(t)?(t.startsWith("[")||(t="["+t),t.endsWith("]")||(t=t+"]"),dw(t).slice(1,-1)):/[^\u0001-\u007f]/.test(t)?dw(t):t.toLowerCase()}function GA(e){return e.toUTCString()}function lp(e){if(!e)return;const t={foundTime:void 0,foundDayOfMonth:void 0,foundMonth:void 0,foundYear:void 0},n=e.split(XA).filter(o=>o.length>0);for(const o of n){if(t.foundTime===void 0){const[,a,i,s]=YA.exec(o)||[];if(a!=null&&i!=null&&s!=null){const l=parseInt(a,10),c=parseInt(i,10),d=parseInt(s,10);if(!isNaN(l)&&!isNaN(c)&&!isNaN(d)){t.foundTime={hours:l,minutes:c,seconds:d};continue}}}if(t.foundDayOfMonth===void 0&&JA.test(o)){const a=parseInt(o,10);if(!isNaN(a)){t.foundDayOfMonth=a;continue}}if(t.foundMonth===void 0&&ZA.test(o)){const a=KA.indexOf(o.substring(0,3).toLowerCase());if(a>=0&&a<=11){t.foundMonth=a;continue}}if(t.foundYear===void 0&&QA.test(o)){const a=parseInt(o,10);if(!isNaN(a)){t.foundYear=a;continue}}}if(t.foundYear!==void 0&&t.foundYear>=70&&t.foundYear<=99&&(t.foundYear+=1900),t.foundYear!==void 0&&t.foundYear>=0&&t.foundYear<=69&&(t.foundYear+=2e3),t.foundDayOfMonth===void 0||t.foundMonth===void 0||t.foundYear===void 0||t.foundTime===void 0||t.foundDayOfMonth<1||t.foundDayOfMonth>31||t.foundYear<1601||t.foundTime.hours>23||t.foundTime.minutes>59||t.foundTime.seconds>59)return;const r=new Date(Date.UTC(t.foundYear,t.foundMonth,t.foundDayOfMonth,t.foundTime.hours,t.foundTime.minutes,t.foundTime.seconds));if(!(r.getUTCFullYear()!==t.foundYear||r.getUTCMonth()!==t.foundMonth||r.getUTCDate()!==t.foundDayOfMonth))return r}var KA=["jan","feb","mar","apr","may","jun","jul","aug","sep","oct","nov","dec"],XA=/[\x09\x20-\x2F\x3B-\x40\x5B-\x60\x7B-\x7E]/,YA=/^(\d{1,2}):(\d{1,2}):(\d{1,2})(?:[\x00-\x2F\x3A-\xFF][\x00-\xFF]*)?$/,JA=/^[0-9]{1,2}(?:[\x00-\x2F\x3A-\xFF][\x00-\xFF]*)?$/,ZA=/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)[\x00-\xFF]*$/i,QA=/^[\x30-\x39]{2,4}(?:[\x00-\x2F\x3A-\xFF][\x00-\xFF]*)?$/,eD=/^[\x21\x23-\x2B\x2D-\x3A\x3C-\x5B\x5D-\x7E]+$/,tD=/[\x20-\x3A\x3C-\x7E]+/,fw=/[\x00-\x1F]/,mw=[`
|
|
1097
|
+
`,"\r","\0"];function nD(e){if(ip(e))return e;for(let t=0;t<mw.length;t++){const n=mw[t],r=n?e.indexOf(n):-1;r!==-1&&(e=e.slice(0,r))}return e}function rD(e,t){e=nD(e);let n=e.indexOf("=");if(t)n===0&&(e=e.substring(1),n=e.indexOf("="));else if(n<=0)return;let r,o;if(n<=0?(r="",o=e.trim()):(r=e.slice(0,n).trim(),o=e.slice(n+1).trim()),fw.test(r)||fw.test(o))return;const a=new Zn;return a.key=r,a.value=o,a}function oD(e,t){if(ip(e)||!cw(e))return;e=e.trim();const n=e.indexOf(";"),r=n===-1?e:e.slice(0,n),o=rD(r,(t==null?void 0:t.loose)??!1);if(!o)return;if(n===-1)return o;const a=e.slice(n+1).trim();if(a.length===0)return o;const i=a.split(";");for(;i.length;){const s=(i.shift()??"").trim();if(s.length===0)continue;const l=s.indexOf("=");let c,d;switch(l===-1?(c=s,d=null):(c=s.slice(0,l),d=s.slice(l+1)),c=c.trim().toLowerCase(),d&&(d=d.trim()),c){case"expires":if(d){const f=lp(d);f&&(o.expires=f)}break;case"max-age":if(d&&/^-?[0-9]+$/.test(d)){const f=parseInt(d,10);o.setMaxAge(f)}break;case"domain":if(d){const f=d.trim().replace(/^\./,"");f&&(o.domain=f.toLowerCase())}break;case"path":o.path=d&&d[0]==="/"?d:null;break;case"secure":o.secure=!0;break;case"httponly":o.httpOnly=!0;break;case"samesite":switch(d?d.toLowerCase():""){case"strict":o.sameSite="strict";break;case"lax":o.sameSite="lax";break;case"none":o.sameSite="none";break;default:o.sameSite=void 0;break}break;default:o.extensions=o.extensions||[],o.extensions.push(s);break}}return o}function pw(e){if(!e||ip(e))return;let t;if(typeof e=="string")try{t=JSON.parse(e)}catch{return}else t=e;const n=new Zn;return Zn.serializableProperties.forEach(r=>{if(t&&typeof t=="object"&&Cs(r,t)){const o=t[r];if(o===void 0||Cs(r,$n)&&o===$n[r])return;switch(r){case"key":case"value":case"sameSite":typeof o=="string"&&(n[r]=o);break;case"expires":case"creation":case"lastAccessed":typeof o=="number"||typeof o=="string"||o instanceof Date?n[r]=t[r]=="Infinity"?"Infinity":new Date(o):o===null&&(n[r]=null);break;case"maxAge":(typeof o=="number"||o==="Infinity"||o==="-Infinity")&&(n[r]=o);break;case"domain":case"path":(typeof o=="string"||o===null)&&(n[r]=o);break;case"secure":case"httpOnly":typeof o=="boolean"&&(n[r]=o);break;case"extensions":Array.isArray(o)&&o.every(a=>typeof a=="string")&&(n[r]=o);break;case"hostOnly":case"pathIsDefault":(typeof o=="boolean"||o===null)&&(n[r]=o);break}}}),n}var $n={key:"",value:"",expires:"Infinity",maxAge:null,domain:null,path:null,secure:!1,httpOnly:!1,extensions:null,hostOnly:null,pathIsDefault:null,creation:null,lastAccessed:null,sameSite:void 0},ws=class To{constructor(t={}){this.key=t.key??$n.key,this.value=t.value??$n.value,this.expires=t.expires??$n.expires,this.maxAge=t.maxAge??$n.maxAge,this.domain=t.domain??$n.domain,this.path=t.path??$n.path,this.secure=t.secure??$n.secure,this.httpOnly=t.httpOnly??$n.httpOnly,this.extensions=t.extensions??$n.extensions,this.creation=t.creation??$n.creation,this.hostOnly=t.hostOnly??$n.hostOnly,this.pathIsDefault=t.pathIsDefault??$n.pathIsDefault,this.lastAccessed=t.lastAccessed??$n.lastAccessed,this.sameSite=t.sameSite??$n.sameSite,this.creation=t.creation??new Date,Object.defineProperty(this,"creationIndex",{configurable:!1,enumerable:!1,writable:!0,value:++To.cookiesCreated}),this.creationIndex=To.cookiesCreated}[Symbol.for("nodejs.util.inspect.custom")](){const t=Date.now(),n=this.hostOnly!=null?this.hostOnly.toString():"?",r=this.creation&&this.creation!=="Infinity"?`${String(t-this.creation.getTime())}ms`:"?",o=this.lastAccessed&&this.lastAccessed!=="Infinity"?`${String(t-this.lastAccessed.getTime())}ms`:"?";return`Cookie="${this.toString()}; hostOnly=${n}; aAge=${o}; cAge=${r}"`}toJSON(){const t={};for(const n of To.serializableProperties){const r=this[n];if(r!==$n[n])switch(n){case"key":case"value":case"sameSite":typeof r=="string"&&(t[n]=r);break;case"expires":case"creation":case"lastAccessed":typeof r=="number"||typeof r=="string"||r instanceof Date?t[n]=r=="Infinity"?"Infinity":new Date(r).toISOString():r===null&&(t[n]=null);break;case"maxAge":(typeof r=="number"||r==="Infinity"||r==="-Infinity")&&(t[n]=r);break;case"domain":case"path":(typeof r=="string"||r===null)&&(t[n]=r);break;case"secure":case"httpOnly":typeof r=="boolean"&&(t[n]=r);break;case"extensions":Array.isArray(r)&&(t[n]=r);break;case"hostOnly":case"pathIsDefault":(typeof r=="boolean"||r===null)&&(t[n]=r);break}}return t}clone(){return pw(this.toJSON())}validate(){if(!this.value||!eD.test(this.value)||this.expires!="Infinity"&&!(this.expires instanceof Date)&&!lp(this.expires)||this.maxAge!=null&&this.maxAge!=="Infinity"&&(this.maxAge==="-Infinity"||this.maxAge<=0)||this.path!=null&&!tD.test(this.path))return!1;const t=this.cdomain();return!(t&&(t.match(/\.$/)||np(t)==null))}setExpires(t){t instanceof Date?this.expires=t:this.expires=lp(t)||"Infinity"}setMaxAge(t){t===1/0?this.maxAge="Infinity":t===-1/0?this.maxAge="-Infinity":this.maxAge=t}cookieString(){const t=this.value||"";return this.key?`${this.key}=${t}`:t}toString(){let t=this.cookieString();return this.expires!="Infinity"&&this.expires instanceof Date&&(t+=`; Expires=${GA(this.expires)}`),this.maxAge!=null&&this.maxAge!=1/0&&(t+=`; Max-Age=${String(this.maxAge)}`),this.domain&&!this.hostOnly&&(t+=`; Domain=${this.domain}`),this.path&&(t+=`; Path=${this.path}`),this.secure&&(t+="; Secure"),this.httpOnly&&(t+="; HttpOnly"),this.sameSite&&this.sameSite!=="none"&&(this.sameSite.toLowerCase()===To.sameSiteCanonical.lax.toLowerCase()?t+=`; SameSite=${To.sameSiteCanonical.lax}`:this.sameSite.toLowerCase()===To.sameSiteCanonical.strict.toLowerCase()?t+=`; SameSite=${To.sameSiteCanonical.strict}`:t+=`; SameSite=${this.sameSite}`),this.extensions&&this.extensions.forEach(n=>{t+=`; ${n}`}),t}TTL(t=Date.now()){if(this.maxAge!=null&&typeof this.maxAge=="number")return this.maxAge<=0?0:this.maxAge*1e3;const n=this.expires;return n==="Infinity"?1/0:((n==null?void 0:n.getTime())??t)-(t||Date.now())}expiryTime(t){if(this.maxAge!=null){const n=t||this.lastAccessed||new Date,r=typeof this.maxAge=="number"?this.maxAge:-1/0,o=r<=0?-1/0:r*1e3;return n==="Infinity"?1/0:n.getTime()+o}return this.expires=="Infinity"?1/0:this.expires?this.expires.getTime():void 0}expiryDate(t){const n=this.expiryTime(t);return n==1/0?new Date(2147483647e3):n==-1/0?new Date(0):n==null?void 0:new Date(n)}isPersistent(){return this.maxAge!=null||this.expires!="Infinity"}canonicalizedDomain(){return Mc(this.domain)}cdomain(){return Mc(this.domain)}static parse(t,n){return oD(t,n)}static fromJSON(t){return pw(t)}};ws.cookiesCreated=0,ws.sameSiteLevel={strict:3,lax:2,none:1},ws.sameSiteCanonical={strict:"Strict",lax:"Lax"},ws.serializableProperties=["key","value","expires","maxAge","domain","path","secure","httpOnly","extensions","hostOnly","pathIsDefault","creation","lastAccessed","sameSite"];var Zn=ws,gw=2147483647e3;function hw(e,t){let n;const r=e.path?e.path.length:0;if(n=(t.path?t.path.length:0)-r,n!==0)return n;const a=e.creation&&e.creation instanceof Date?e.creation.getTime():gw,i=t.creation&&t.creation instanceof Date?t.creation.getTime():gw;return n=a-i,n!==0||(n=(e.creationIndex||0)-(t.creationIndex||0)),n}function aD(e){if(!e||e.slice(0,1)!=="/")return"/";if(e==="/")return e;const t=e.lastIndexOf("/");return t===0?"/":e.slice(0,t)}var iD=/(?:^(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}$)|(?:^(?:(?:[a-f\d]{1,4}:){7}(?:[a-f\d]{1,4}|:)|(?:[a-f\d]{1,4}:){6}(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}|:[a-f\d]{1,4}|:)|(?:[a-f\d]{1,4}:){5}(?::(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}|(?::[a-f\d]{1,4}){1,2}|:)|(?:[a-f\d]{1,4}:){4}(?:(?::[a-f\d]{1,4}){0,1}:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}|(?::[a-f\d]{1,4}){1,3}|:)|(?:[a-f\d]{1,4}:){3}(?:(?::[a-f\d]{1,4}){0,2}:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}|(?::[a-f\d]{1,4}){1,4}|:)|(?:[a-f\d]{1,4}:){2}(?:(?::[a-f\d]{1,4}){0,3}:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}|(?::[a-f\d]{1,4}){1,5}|:)|(?:[a-f\d]{1,4}:){1}(?:(?::[a-f\d]{1,4}){0,4}:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}|(?::[a-f\d]{1,4}){1,6}|:)|(?::(?:(?::[a-f\d]{1,4}){0,5}:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}|(?::[a-f\d]{1,4}){1,7}|:)))$)/;function vw(e,t,n){if(e==null||t==null)return;let r,o;if(r=e,o=t,r==null||o==null)return;if(r==o)return!0;const a=r.lastIndexOf(o);return a<=0||r.length!==o.length+a||r.substring(a-1,a)!=="."?!1:!iD.test(r)}function sD(e){const t=e.split(".");return t.length===4&&t[0]!==void 0&&parseInt(t[0],10)===127}function lD(e){return e==="::1"}function cD(e){return e.endsWith(".localhost")}function uD(e){const t=e.toLowerCase();return t==="localhost"||cD(t)}function dD(e){return e.length>=2&&e.startsWith("[")&&e.endsWith("]")?e.substring(1,e.length-1):e}function fD(e,t=!0){let n;if(typeof e=="string")try{n=new URL(e)}catch{return!1}else n=e;const r=n.protocol.replace(":","").toLowerCase(),o=dD(n.hostname).replace(/\.+$/,"");return r==="https"||r==="wss"?!0:t?UA.test(o)?sD(o):sp.test(o)?lD(o):uD(o):!1}var mD={loose:!1,sameSiteContext:void 0,ignoreError:!1,http:!0},bw={http:!0,expire:!0,allPaths:!1,sameSiteContext:void 0,sort:void 0},cp='Invalid sameSiteContext option for getCookies(); expected one of "strict", "lax", or "none"';function yw(e){if(e&&typeof e=="object"&&"hostname"in e&&typeof e.hostname=="string"&&"pathname"in e&&typeof e.pathname=="string"&&"protocol"in e&&typeof e.protocol=="string")return{hostname:e.hostname,pathname:e.pathname,protocol:e.protocol};if(typeof e=="string")try{return new URL(decodeURI(e))}catch{return new URL(e)}else throw new uw("`url` argument is not a string or URL.")}function Cw(e){const t=String(e).toLowerCase();if(t==="none"||t==="lax"||t==="strict")return t}function pD(e){return!(typeof e.key=="string"&&e.key.startsWith("__Secure-"))||e.secure}function gD(e){return!(typeof e.key=="string"&&e.key.startsWith("__Host-"))||!!(e.secure&&e.hostOnly&&e.path!=null&&e.path==="/")}function zc(e){const t=e.toLowerCase();switch(t){case ia.STRICT:case ia.SILENT:case ia.DISABLED:return t;default:return ia.SILENT}}var hD=class Os{constructor(t,n){typeof n=="boolean"&&(n={rejectPublicSuffixes:n}),this.rejectPublicSuffixes=(n==null?void 0:n.rejectPublicSuffixes)??!0,this.enableLooseMode=(n==null?void 0:n.looseMode)??!1,this.allowSpecialUseDomain=(n==null?void 0:n.allowSpecialUseDomain)??!0,this.allowSecureOnLocal=(n==null?void 0:n.allowSecureOnLocal)??!0,this.prefixSecurity=zc((n==null?void 0:n.prefixSecurity)??"silent"),this.store=t??new lw}callSync(t){if(!this.store.synchronous)throw new Error("CookieJar store is not synchronous; use async API instead.");let n=null,r;try{t.call(this,(o,a)=>{n=o,r=a})}catch(o){n=o}if(n)throw n;return r}setCookie(t,n,r,o){typeof r=="function"&&(o=r,r=void 0);const a=Tn(o),i=a.callback;let s;try{if(typeof n=="string"&&xs(ap(n),o,op(r)),s=yw(n),typeof n=="function")return a.reject(new Error("No URL was specified"));if(typeof r=="function"&&(r=mD),xs(typeof i=="function",i),!ap(t)&&!jc(t)&&t instanceof String&&t.length==0)return a.resolve(void 0)}catch(g){return a.reject(g)}const l=Mc(s.hostname)??null,c=(r==null?void 0:r.loose)||this.enableLooseMode;let d=null;if(r!=null&&r.sameSiteContext&&(d=Cw(r.sameSiteContext),!d))return a.reject(new Error(cp));if(typeof t=="string"||t instanceof String){const g=Zn.parse(t.toString(),{loose:c});if(!g){const b=new Error("Cookie failed to parse");return r!=null&&r.ignoreError?a.resolve(void 0):a.reject(b)}t=g}else if(!(t instanceof Zn)){const g=new Error("First argument to setCookie must be a Cookie object or string");return r!=null&&r.ignoreError?a.resolve(void 0):a.reject(g)}const f=(r==null?void 0:r.now)||new Date;if(this.rejectPublicSuffixes&&t.domain)try{const g=t.cdomain();if((typeof g=="string"?np(g,{allowSpecialUseDomain:this.allowSpecialUseDomain,ignoreError:r==null?void 0:r.ignoreError}):null)==null&&!sp.test(t.domain)){const y=new Error("Cookie has domain set to a public suffix");return r!=null&&r.ignoreError?a.resolve(void 0):a.reject(y)}}catch(g){return r!=null&&r.ignoreError?a.resolve(void 0):a.reject(g)}if(t.domain){if(!vw(l??void 0,t.cdomain()??void 0)){const g=new Error(`Cookie not in this host's domain. Cookie:${t.cdomain()??"null"} Request:${l??"null"}`);return r!=null&&r.ignoreError?a.resolve(void 0):a.reject(g)}t.hostOnly==null&&(t.hostOnly=!1)}else t.hostOnly=!0,t.domain=l;if((!t.path||t.path[0]!=="/")&&(t.path=aD(s.pathname),t.pathIsDefault=!0),(r==null?void 0:r.http)===!1&&t.httpOnly){const g=new Error("Cookie is HttpOnly and this isn't an HTTP API");return r.ignoreError?a.resolve(void 0):a.reject(g)}if(t.sameSite!=="none"&&t.sameSite!==void 0&&d&&d==="none"){const g=new Error("Cookie is SameSite but this is a cross-origin request");return r!=null&&r.ignoreError?a.resolve(void 0):a.reject(g)}const m=this.prefixSecurity===ia.SILENT;if(!(this.prefixSecurity===ia.DISABLED)){let g=!1,b;if(pD(t)?gD(t)||(g=!0,b="Cookie has __Host prefix but either Secure or HostOnly attribute is not set or Path is not '/'"):(g=!0,b="Cookie has __Secure prefix but Secure attribute is not set"),g)return r!=null&&r.ignoreError||m?a.resolve(void 0):a.reject(new Error(b))}const h=this.store;h.updateCookie||(h.updateCookie=async function(g,b,y){return this.putCookie(b).then(()=>y==null?void 0:y(null),x=>y==null?void 0:y(x))});const v=function(b,y){if(b){i(b);return}const x=function(C){C?i(C):typeof t=="string"?i(null,void 0):i(null,t)};if(y){if(r&&"http"in r&&r.http===!1&&y.httpOnly){b=new Error("old Cookie is HttpOnly and this isn't an HTTP API"),r.ignoreError?i(null,void 0):i(b);return}t instanceof Zn&&(t.creation=y.creation,t.creationIndex=y.creationIndex,t.lastAccessed=f,h.updateCookie(y,t,x))}else t instanceof Zn&&(t.creation=t.lastAccessed=f,h.putCookie(t,x))};return h.findCookie(t.domain,t.path,t.key,v),a.promise}setCookieSync(t,n,r){const o=r?this.setCookie.bind(this,t,n,r):this.setCookie.bind(this,t,n);return this.callSync(o)}getCookies(t,n,r){typeof n=="function"?(r=n,n=bw):n===void 0&&(n=bw);const o=Tn(r),a=o.callback;let i;try{typeof t=="string"&&xs(ap(t),a,t),i=yw(t),xs(jc(n),a,op(n)),xs(typeof a=="function",a)}catch(b){return o.reject(b)}const s=Mc(i.hostname),l=i.pathname||"/",c=fD(t,this.allowSecureOnLocal);let d=0;if(n.sameSiteContext){const b=Cw(n.sameSiteContext);if(b==null)return o.reject(new Error(cp));if(d=Zn.sameSiteLevel[b],!d)return o.reject(new Error(cp))}const f=n.http??!0,m=Date.now(),p=n.expire??!0,h=n.allPaths??!1,v=this.store;function g(b){if(b.hostOnly){if(b.domain!=s)return!1}else if(!vw(s??void 0,b.domain??void 0))return!1;if(!h&&typeof b.path=="string"&&!ow(l,b.path)||b.secure&&!c||b.httpOnly&&!f)return!1;if(d){let x;if(b.sameSite==="lax"?x=Zn.sameSiteLevel.lax:b.sameSite==="strict"?x=Zn.sameSiteLevel.strict:x=Zn.sameSiteLevel.none,x>d)return!1}const y=b.expiryTime();return p&&y!=null&&y<=m?(v.removeCookie(b.domain,b.path,b.key,()=>{}),!1):!0}return v.findCookies(s,h?null:l,this.allowSpecialUseDomain,(b,y)=>{if(b){a(b);return}if(y==null){a(null,[]);return}y=y.filter(g),"sort"in n&&n.sort!==!1&&(y=y.sort(hw));const x=new Date;for(const C of y)C.lastAccessed=x;a(null,y)}),o.promise}getCookiesSync(t,n){return this.callSync(this.getCookies.bind(this,t,n))??[]}getCookieString(t,n,r){typeof n=="function"&&(r=n,n=void 0);const o=Tn(r),a=function(i,s){i?o.callback(i):o.callback(null,s==null?void 0:s.sort(hw).map(l=>l.cookieString()).join("; "))};return this.getCookies(t,n,a),o.promise}getCookieStringSync(t,n){return this.callSync(n?this.getCookieString.bind(this,t,n):this.getCookieString.bind(this,t))??""}getSetCookieStrings(t,n,r){typeof n=="function"&&(r=n,n=void 0);const o=Tn(r),a=function(i,s){i?o.callback(i):o.callback(null,s==null?void 0:s.map(l=>l.toString()))};return this.getCookies(t,n,a),o.promise}getSetCookieStringsSync(t,n={}){return this.callSync(this.getSetCookieStrings.bind(this,t,n))??[]}serialize(t){const n=Tn(t);let r=this.store.constructor.name;jc(r)&&(r=null);const o={version:`tough-cookie@${HA}`,storeType:r,rejectPublicSuffixes:this.rejectPublicSuffixes,enableLooseMode:this.enableLooseMode,allowSpecialUseDomain:this.allowSpecialUseDomain,prefixSecurity:zc(this.prefixSecurity),cookies:[]};return typeof this.store.getAllCookies!="function"?n.reject(new Error("store does not support getAllCookies and cannot be serialized")):(this.store.getAllCookies((a,i)=>{if(a){n.callback(a);return}if(i==null){n.callback(null,o);return}o.cookies=i.map(s=>{const l=s.toJSON();return delete l.creationIndex,l}),n.callback(null,o)}),n.promise)}serializeSync(){return this.callSync(t=>{this.serialize(t)})}toJSON(){return this.serializeSync()}_importCookies(t,n){let r;if(t&&typeof t=="object"&&Cs("cookies",t)&&Array.isArray(t.cookies)&&(r=t.cookies),!r){n(new Error("serialized jar has no cookies array"),void 0);return}r=r.slice();const o=a=>{if(a){n(a,void 0);return}if(Array.isArray(r)){if(!r.length){n(a,this);return}let i;try{i=Zn.fromJSON(r.shift())}catch(s){n(s instanceof Error?s:new Error,void 0);return}if(i===void 0){o(null);return}this.store.putCookie(i,o)}};o(null)}_importCookiesSync(t){this.callSync(this._importCookies.bind(this,t))}clone(t,n){typeof t=="function"&&(n=t,t=void 0);const r=Tn(n),o=r.callback;return this.serialize((a,i)=>a?r.reject(a):Os.deserialize(i??"",t,o)),r.promise}_cloneSync(t){const n=t&&typeof t!="function"?this.clone.bind(this,t):this.clone.bind(this);return this.callSync(r=>{n(r)})}cloneSync(t){if(!t)return this._cloneSync();if(!t.synchronous)throw new Error("CookieJar clone destination store is not synchronous; use async API instead.");return this._cloneSync(t)}removeAllCookies(t){const n=Tn(t),r=n.callback,o=this.store;return typeof o.removeAllCookies=="function"&&o.removeAllCookies!==iw.prototype.removeAllCookies?(o.removeAllCookies(r),n.promise):(o.getAllCookies((a,i)=>{if(a){r(a);return}if(i||(i=[]),i.length===0){r(null,void 0);return}let s=0;const l=[],c=function(f){if(f&&l.push(f),s++,s===i.length){l[0]?r(l[0]):r(null,void 0);return}};i.forEach(d=>{o.removeCookie(d.domain,d.path,d.key,c)})}),n.promise)}removeAllCookiesSync(){this.callSync(t=>{this.removeAllCookies(t)})}static deserialize(t,n,r){typeof n=="function"&&(r=n,n=void 0);const o=Tn(r);let a;if(typeof t=="string")try{a=JSON.parse(t)}catch(d){return o.reject(d instanceof Error?d:new Error)}else a=t;const i=d=>a&&typeof a=="object"&&Cs(d,a)?a[d]:void 0,s=d=>{const f=i(d);return typeof f=="boolean"?f:void 0},l=d=>{const f=i(d);return typeof f=="string"?f:void 0},c=new Os(n,{rejectPublicSuffixes:s("rejectPublicSuffixes"),looseMode:s("enableLooseMode"),allowSpecialUseDomain:s("allowSpecialUseDomain"),prefixSecurity:zc(l("prefixSecurity")??"silent")});return c._importCookies(a,d=>{if(d){o.callback(d);return}o.callback(null,c)}),o.promise}static deserializeSync(t,n){const r=typeof t=="string"?JSON.parse(t):t,o=l=>r&&typeof r=="object"&&Cs(l,r)?r[l]:void 0,a=l=>{const c=o(l);return typeof c=="boolean"?c:void 0},i=l=>{const c=o(l);return typeof c=="string"?c:void 0},s=new Os(n,{rejectPublicSuffixes:a("rejectPublicSuffixes"),looseMode:a("enableLooseMode"),allowSpecialUseDomain:a("allowSpecialUseDomain"),prefixSecurity:zc(i("prefixSecurity")??"silent")});if(!s.store.synchronous)throw new Error("CookieJar store is not synchronous; use async API instead.");return s._importCookiesSync(r),s}static fromJSON(t,n){return Os.deserializeSync(t,n)}};/*!
|
|
1098
|
+
* Copyright (c) 2015-2020, Salesforce.com, Inc.
|
|
1099
|
+
* All rights reserved.
|
|
1100
|
+
*
|
|
1101
|
+
* Redistribution and use in source and binary forms, with or without
|
|
1102
|
+
* modification, are permitted provided that the following conditions are met:
|
|
1103
|
+
*
|
|
1104
|
+
* 1. Redistributions of source code must retain the above copyright notice,
|
|
1105
|
+
* this list of conditions and the following disclaimer.
|
|
1106
|
+
*
|
|
1107
|
+
* 2. Redistributions in binary form must reproduce the above copyright notice,
|
|
1108
|
+
* this list of conditions and the following disclaimer in the documentation
|
|
1109
|
+
* and/or other materials provided with the distribution.
|
|
1110
|
+
*
|
|
1111
|
+
* 3. Neither the name of Salesforce.com nor the names of its contributors may
|
|
1112
|
+
* be used to endorse or promote products derived from this software without
|
|
1113
|
+
* specific prior written permission.
|
|
1114
|
+
*
|
|
1115
|
+
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
1116
|
+
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
1117
|
+
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
1118
|
+
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
|
|
1119
|
+
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
|
1120
|
+
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
|
1121
|
+
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
|
1122
|
+
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
|
1123
|
+
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
|
1124
|
+
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
|
1125
|
+
* POSSIBILITY OF SUCH DAMAGE.
|
|
1126
|
+
*/function vD(e){try{return JSON.parse(e)}catch{return}}class bD{constructor(){Fc(this,Es,"__msw-cookie-store__");Fc(this,ai);Fc(this,sa);Km()||qm(typeof localStorage<"u","Failed to create a CookieStore: `localStorage` is not available in this environment. This is likely an issue with your environment, which has been detected as browser (or browser-like) environment and must implement global browser APIs correctly."),yp(this,sa,new lw),_o(this,sa).idx=this.getCookieStoreIndex(),yp(this,ai,new hD(_o(this,sa)))}getCookies(t){return _o(this,ai).getCookiesSync(t)}async setCookie(t,n){await _o(this,ai).setCookie(t,n),this.persist()}getCookieStoreIndex(){var o,a,i;if(typeof localStorage>"u"||typeof localStorage.getItem!="function")return{};const t=localStorage.getItem(_o(this,Es));if(t==null)return{};const n=vD(t);if(n==null)return{};const r={};for(const s of n){const l=Zn.fromJSON(s);l!=null&&l.domain!=null&&l.path!=null&&(r[o=l.domain]||(r[o]={}),(a=r[l.domain])[i=l.path]||(a[i]={}),r[l.domain][l.path][l.key]=l)}return r}persist(){if(typeof localStorage>"u"||typeof localStorage.setItem!="function")return;const t=[],{idx:n}=_o(this,sa);for(const r in n)for(const o in n[r])for(const a in n[r][o])t.push(n[r][o][a].toJSON());localStorage.setItem(_o(this,Es),JSON.stringify(t))}}Es=new WeakMap,ai=new WeakMap,sa=new WeakMap;const yD=new bD;function CD(e){for(var t=[],n=0;n<e.length;){var r=e[n];if(r==="*"||r==="+"||r==="?"){t.push({type:"MODIFIER",index:n,value:e[n++]});continue}if(r==="\\"){t.push({type:"ESCAPED_CHAR",index:n++,value:e[n++]});continue}if(r==="{"){t.push({type:"OPEN",index:n,value:e[n++]});continue}if(r==="}"){t.push({type:"CLOSE",index:n,value:e[n++]});continue}if(r===":"){for(var o="",a=n+1;a<e.length;){var i=e.charCodeAt(a);if(i>=48&&i<=57||i>=65&&i<=90||i>=97&&i<=122||i===95){o+=e[a++];continue}break}if(!o)throw new TypeError("Missing parameter name at ".concat(n));t.push({type:"NAME",index:n,value:o}),n=a;continue}if(r==="("){var s=1,l="",a=n+1;if(e[a]==="?")throw new TypeError('Pattern cannot start with "?" at '.concat(a));for(;a<e.length;){if(e[a]==="\\"){l+=e[a++]+e[a++];continue}if(e[a]===")"){if(s--,s===0){a++;break}}else if(e[a]==="("&&(s++,e[a+1]!=="?"))throw new TypeError("Capturing groups are not allowed at ".concat(a));l+=e[a++]}if(s)throw new TypeError("Unbalanced pattern at ".concat(n));if(!l)throw new TypeError("Missing pattern at ".concat(n));t.push({type:"PATTERN",index:n,value:l}),n=a;continue}t.push({type:"CHAR",index:n,value:e[n++]})}return t.push({type:"END",index:n,value:""}),t}function xD(e,t){t===void 0&&(t={});for(var n=CD(e),r=t.prefixes,o=r===void 0?"./":r,a=t.delimiter,i=a===void 0?"/#?":a,s=[],l=0,c=0,d="",f=function(I){if(c<n.length&&n[c].type===I)return n[c++].value},m=function(I){var N=f(I);if(N!==void 0)return N;var P=n[c],T=P.type,j=P.index;throw new TypeError("Unexpected ".concat(T," at ").concat(j,", expected ").concat(I))},p=function(){for(var I="",N;N=f("CHAR")||f("ESCAPED_CHAR");)I+=N;return I},h=function(I){for(var N=0,P=i;N<P.length;N++){var T=P[N];if(I.indexOf(T)>-1)return!0}return!1},v=function(I){var N=s[s.length-1],P=I||(N&&typeof N=="string"?N:"");if(N&&!P)throw new TypeError('Must have text between two parameters, missing text after "'.concat(N.name,'"'));return!P||h(P)?"[^".concat(Oo(i),"]+?"):"(?:(?!".concat(Oo(P),")[^").concat(Oo(i),"])+?")};c<n.length;){var g=f("CHAR"),b=f("NAME"),y=f("PATTERN");if(b||y){var x=g||"";o.indexOf(x)===-1&&(d+=x,x=""),d&&(s.push(d),d=""),s.push({name:b||l++,prefix:x,suffix:"",pattern:y||v(x),modifier:f("MODIFIER")||""});continue}var C=g||f("ESCAPED_CHAR");if(C){d+=C;continue}d&&(s.push(d),d="");var S=f("OPEN");if(S){var x=p(),$=f("NAME")||"",k=f("PATTERN")||"",E=p();m("CLOSE"),s.push({name:$||(k?l++:""),pattern:$&&!k?v(x):k,prefix:x,suffix:E,modifier:f("MODIFIER")||""});continue}m("END")}return s}function wD(e,t){var n=[],r=ww(e,n,t);return SD(r,n,t)}function SD(e,t,n){n===void 0&&(n={});var r=n.decode,o=r===void 0?function(a){return a}:r;return function(a){var i=e.exec(a);if(!i)return!1;for(var s=i[0],l=i.index,c=Object.create(null),d=function(m){if(i[m]===void 0)return"continue";var p=t[m-1];p.modifier==="*"||p.modifier==="+"?c[p.name]=i[m].split(p.prefix+p.suffix).map(function(h){return o(h,p)}):c[p.name]=o(i[m],p)},f=1;f<i.length;f++)d(f);return{path:s,index:l,params:c}}}function Oo(e){return e.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function xw(e){return e&&e.sensitive?"":"i"}function ED(e,t){if(!t)return e;for(var n=/\((?:\?<(.*?)>)?(?!\?)/g,r=0,o=n.exec(e.source);o;)t.push({name:o[1]||r++,prefix:"",suffix:"",modifier:"",pattern:""}),o=n.exec(e.source);return e}function $D(e,t,n){var r=e.map(function(o){return ww(o,t,n).source});return new RegExp("(?:".concat(r.join("|"),")"),xw(n))}function kD(e,t,n){return OD(xD(e,n),t,n)}function OD(e,t,n){n===void 0&&(n={});for(var r=n.strict,o=r===void 0?!1:r,a=n.start,i=a===void 0?!0:a,s=n.end,l=s===void 0?!0:s,c=n.encode,d=c===void 0?function(N){return N}:c,f=n.delimiter,m=f===void 0?"/#?":f,p=n.endsWith,h=p===void 0?"":p,v="[".concat(Oo(h),"]|$"),g="[".concat(Oo(m),"]"),b=i?"^":"",y=0,x=e;y<x.length;y++){var C=x[y];if(typeof C=="string")b+=Oo(d(C));else{var S=Oo(d(C.prefix)),$=Oo(d(C.suffix));if(C.pattern)if(t&&t.push(C),S||$)if(C.modifier==="+"||C.modifier==="*"){var k=C.modifier==="*"?"?":"";b+="(?:".concat(S,"((?:").concat(C.pattern,")(?:").concat($).concat(S,"(?:").concat(C.pattern,"))*)").concat($,")").concat(k)}else b+="(?:".concat(S,"(").concat(C.pattern,")").concat($,")").concat(C.modifier);else{if(C.modifier==="+"||C.modifier==="*")throw new TypeError('Can not repeat "'.concat(C.name,'" without a prefix and suffix'));b+="(".concat(C.pattern,")").concat(C.modifier)}else b+="(?:".concat(S).concat($,")").concat(C.modifier)}}if(l)o||(b+="".concat(g,"?")),b+=n.endsWith?"(?=".concat(v,")"):"$";else{var E=e[e.length-1],I=typeof E=="string"?g.indexOf(E[E.length-1])>-1:E===void 0;o||(b+="(?:".concat(g,"(?=").concat(v,"))?")),I||(b+="(?=".concat(g,"|").concat(v,")"))}return new RegExp(b,xw(n))}function ww(e,t,n){return e instanceof RegExp?ED(e,t):Array.isArray(e)?$D(e,t,n):kD(e,t,n)}const ID=/[?|#].*$/g;function Sw(e){return e.endsWith("?")?e:e.replace(ID,"")}function ND(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function PD(e,t){if(ND(e)||e.startsWith("*"))return e;const n=t||typeof location<"u"&&location.href;return n?decodeURI(new URL(encodeURI(e),n).href):e}function _D(e,t){if(e instanceof RegExp)return e;const n=PD(e,t);return Sw(n)}function TD(e){return e.replace(/([:a-zA-Z_-]*)(\*{1,2})+/g,(t,n,r)=>{const o="(.*)";return n?n.startsWith(":")?`${n}${r}`:`${n}${o}`:o}).replace(/([^/])(:)(?=(?:\d+|\(\.\*\))(?=\/|$))/,"$1\\$2").replace(/^([^/]+)(:)(?=\/\/)/,"$1\\$2")}function jD(e,t,n){const r=_D(t,n),o=typeof r=="string"?TD(r):r,a=eA(e),i=wD(o,{decode:decodeURIComponent})(a),s=i&&i.params||{};return{matches:i!==!1,params:s}}function MD(e){const t=new Date;return`${t.getHours().toString().padStart(2,"0")}:${t.getMinutes().toString().padStart(2,"0")}:${t.getSeconds().toString().padStart(2,"0")}`}function zD(e){return e!=null&&typeof e=="object"&&!Array.isArray(e)}function AD(){qm(typeof URL<"u",Gm.formatMessage(`Global "URL" class is not defined. This likely means that you're running MSW in an environment that doesn't support all Node.js standard API (e.g. React Native). If that's the case, please use an appropriate polyfill for the "URL" class, like "react-native-url-polyfill".`))}function DD(e,t){return e.toLowerCase()===t.toLowerCase()}function LD(e){return e<300?"#69AB32":e<400?"#F0BB4B":"#E95F5D"}async function FD(e){const n=await e.clone().text();return{url:new URL(e.url),method:e.method,headers:Object.fromEntries(e.headers.entries()),body:n}}const{message:RD}=Ux;async function BD(e){const t=e.clone(),n=await t.text(),r=t.status||200,o=t.statusText||RD[r]||"OK";return{status:r,statusText:o,headers:Object.fromEntries(t.headers.entries()),body:n}}var VD=Object.create,Ew=Object.defineProperty,HD=Object.getOwnPropertyDescriptor,$w=Object.getOwnPropertyNames,WD=Object.getPrototypeOf,qD=Object.prototype.hasOwnProperty,UD=(e,t)=>function(){return t||(0,e[$w(e)[0]])((t={exports:{}}).exports,t),t.exports},GD=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of $w(t))!qD.call(e,o)&&o!==n&&Ew(e,o,{get:()=>t[o],enumerable:!(r=HD(t,o))||r.enumerable});return e},KD=(e,t,n)=>(n=e!=null?VD(WD(e)):{},GD(Ew(n,"default",{value:e,enumerable:!0}),e)),XD=UD({"node_modules/.pnpm/cookie@1.1.1/node_modules/cookie/dist/index.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.parseCookie=l,e.parse=l,e.stringifyCookie=c,e.stringifySetCookie=d,e.serialize=d,e.parseSetCookie=f,e.stringifySetCookie=d,e.serialize=d;var t=/^[\u0021-\u003A\u003C\u003E-\u007E]+$/,n=/^[\u0021-\u003A\u003C-\u007E]*$/,r=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,o=/^[\u0020-\u003A\u003D-\u007E]*$/,a=/^-?\d+$/,i=Object.prototype.toString,s=(()=>{const b=function(){};return b.prototype=Object.create(null),b})();function l(b,y){const x=new s,C=b.length;if(C<2)return x;const S=(y==null?void 0:y.decode)||v;let $=0;do{const k=p(b,$,C);if(k===-1)break;const E=m(b,$,C);if(k>E){$=b.lastIndexOf(";",k-1)+1;continue}const I=h(b,$,k);x[I]===void 0&&(x[I]=S(h(b,k+1,E))),$=E+1}while($<C);return x}function c(b,y){const x=(y==null?void 0:y.encode)||encodeURIComponent,C=[];for(const S of Object.keys(b)){const $=b[S];if($===void 0)continue;if(!t.test(S))throw new TypeError(`cookie name is invalid: ${S}`);const k=x($);if(!n.test(k))throw new TypeError(`cookie val is invalid: ${$}`);C.push(`${S}=${k}`)}return C.join("; ")}function d(b,y,x){const C=typeof b=="object"?b:{...x,name:b,value:String(y)},S=typeof y=="object"?y:x,$=(S==null?void 0:S.encode)||encodeURIComponent;if(!t.test(C.name))throw new TypeError(`argument name is invalid: ${C.name}`);const k=C.value?$(C.value):"";if(!n.test(k))throw new TypeError(`argument val is invalid: ${C.value}`);let E=C.name+"="+k;if(C.maxAge!==void 0){if(!Number.isInteger(C.maxAge))throw new TypeError(`option maxAge is invalid: ${C.maxAge}`);E+="; Max-Age="+C.maxAge}if(C.domain){if(!r.test(C.domain))throw new TypeError(`option domain is invalid: ${C.domain}`);E+="; Domain="+C.domain}if(C.path){if(!o.test(C.path))throw new TypeError(`option path is invalid: ${C.path}`);E+="; Path="+C.path}if(C.expires){if(!g(C.expires)||!Number.isFinite(C.expires.valueOf()))throw new TypeError(`option expires is invalid: ${C.expires}`);E+="; Expires="+C.expires.toUTCString()}if(C.httpOnly&&(E+="; HttpOnly"),C.secure&&(E+="; Secure"),C.partitioned&&(E+="; Partitioned"),C.priority)switch(typeof C.priority=="string"?C.priority.toLowerCase():void 0){case"low":E+="; Priority=Low";break;case"medium":E+="; Priority=Medium";break;case"high":E+="; Priority=High";break;default:throw new TypeError(`option priority is invalid: ${C.priority}`)}if(C.sameSite)switch(typeof C.sameSite=="string"?C.sameSite.toLowerCase():C.sameSite){case!0:case"strict":E+="; SameSite=Strict";break;case"lax":E+="; SameSite=Lax";break;case"none":E+="; SameSite=None";break;default:throw new TypeError(`option sameSite is invalid: ${C.sameSite}`)}return E}function f(b,y){const x=(y==null?void 0:y.decode)||v,C=b.length,S=m(b,0,C),$=p(b,0,S),k=$===-1?{name:"",value:x(h(b,0,S))}:{name:h(b,0,$),value:x(h(b,$+1,S))};let E=S+1;for(;E<C;){const I=m(b,E,C),N=p(b,E,I),P=N===-1?h(b,E,I):h(b,E,N),T=N===-1?void 0:h(b,N+1,I);switch(P.toLowerCase()){case"httponly":k.httpOnly=!0;break;case"secure":k.secure=!0;break;case"partitioned":k.partitioned=!0;break;case"domain":k.domain=T;break;case"path":k.path=T;break;case"max-age":T&&a.test(T)&&(k.maxAge=Number(T));break;case"expires":if(!T)break;const j=new Date(T);Number.isFinite(j.valueOf())&&(k.expires=j);break;case"priority":if(!T)break;const _=T.toLowerCase();(_==="low"||_==="medium"||_==="high")&&(k.priority=_);break;case"samesite":if(!T)break;const M=T.toLowerCase();(M==="lax"||M==="strict"||M==="none")&&(k.sameSite=M);break}E=I+1}return k}function m(b,y,x){const C=b.indexOf(";",y);return C===-1?x:C}function p(b,y,x){const C=b.indexOf("=",y);return C<x?C:-1}function h(b,y,x){let C=y,S=x;do{const $=b.charCodeAt(C);if($!==32&&$!==9)break}while(++C<S);for(;S>C;){const $=b.charCodeAt(S-1);if($!==32&&$!==9)break;S--}return b.slice(C,S)}function v(b){if(b.indexOf("%")===-1)return b;try{return decodeURIComponent(b)}catch{return b}}function g(b){return i.call(b)==="[object Date]"}}}),kw=KD(XD()),Ow=kw.default||kw,YD=Ow.parse,JD=Ow.serialize;function Iw(e){const t=YD(e),n={};for(const r in t)typeof t[r]<"u"&&(n[r]=t[r]);return n}function Nw(){return Iw(document.cookie)}function ZD(e){if(typeof document>"u"||typeof location>"u")return{};switch(e.credentials){case"same-origin":{const t=new URL(e.url);return location.origin===t.origin?Nw():{}}case"include":return Nw();default:return{}}}function QD(e){const t=e.headers.get("cookie"),n=t?Iw(t):{},r=ZD(e);for(const i in r)e.headers.append("cookie",JD(i,r[i]));const o=yD.getCookies(e.url),a=Object.fromEntries(o.map(i=>[i.key,i.value]));for(const i of o)e.headers.append("cookie",i.toString());return{...r,...a,...n}}var Io=(e=>(e.HEAD="HEAD",e.GET="GET",e.POST="POST",e.PUT="PUT",e.PATCH="PATCH",e.OPTIONS="OPTIONS",e.DELETE="DELETE",e))(Io||{});class eL extends tp{constructor(t,n,r,o){const a=typeof n=="function"?"[custom predicate]":n;super({info:{header:`${t}${a?` ${a}`:""}`,path:n,method:t},resolver:r,options:o}),this.checkRedundantQueryParameters()}checkRedundantQueryParameters(){const{method:t,path:n}=this.info;!n||n instanceof RegExp||typeof n=="function"||Sw(n)===n||Gm.warn(`Found a redundant usage of query parameters in the request handler URL for "${t} ${n}". Please match against a path instead and access query parameters using "new URL(request.url).searchParams" instead. Learn more: https://mswjs.io/docs/http/intercepting-requests#querysearch-parameters`)}async parse(t){var a;const n=new URL(t.request.url),r=QD(t.request);if(typeof this.info.path=="function"){const i=await this.info.path({request:t.request,cookies:r});return{match:typeof i=="boolean"?{matches:i,params:{}}:i,cookies:r}}return{match:this.info.path?jD(n,this.info.path,(a=t.resolutionContext)==null?void 0:a.baseUrl):{matches:!1,params:{}},cookies:r}}async predicate(t){const n=this.matchMethod(t.request.method),r=t.parsedResult.match.matches;return n&&r}matchMethod(t){return this.info.method instanceof RegExp?this.info.method.test(t):DD(this.info.method,t)}extendResolverArgs(t){var n;return{params:((n=t.parsedResult.match)==null?void 0:n.params)||{},cookies:t.parsedResult.cookies}}async log(t){const n=tA(t.request.url),r=await FD(t.request),o=await BD(t.response),a=LD(o.status);console.groupCollapsed(Gm.formatMessage(`${MD()} ${t.request.method} ${n} (%c${o.status} ${o.statusText}%c)`),`color:${a}`,"color:inherit"),console.log("Request",r),console.log("Handler:",this),console.log("Response",o),console.groupEnd()}}function No(e){return(t,n,r={})=>new eL(e,t,n,r)}const Pw={all:No(/.+/),head:No(Io.HEAD),get:No(Io.GET),post:No(Io.POST),put:No(Io.PUT),delete:No(Io.DELETE),patch:No(Io.PATCH),options:No(Io.OPTIONS)};function tL(e){return zD(e)&&typeof Reflect.get(e,"ref")=="function"&&typeof Reflect.get(e,"unref")=="function"}const nL=2147483647;async function rL(e){let t;return t=e,new Promise(n=>{const r=setTimeout(n,t);t===nL&&Km()&&tL(r)&&r.unref()})}AD();let oL=300;async function _w(){await rL(oL)}function Tw(e,t=200){return ko.json(e,{status:t})}Pw.post("*/modularity/project0/simpleBpmnQueryGroupForWangfa",async()=>(await _w(),Tw({code:200,data:{groupList:[{id:"RL2022071211",name:"总行诉讼管理岗"},{id:"RL202207122",name:"客户经理"},{id:"RL202207124",name:"领导岗"},{id:"RL202210181",name:"问题资产管理岗"},{id:"RL202304031",name:"分行管理员"},{id:"RL202304032",name:"总行管理员"},{id:"RL202305121",name:"法务演示角色"},{id:"RL202307051",name:"最高权限管理员"},{id:"RL202308101",name:"总行业务员"},{id:"RL202309203",name:"集团数据角色"},{id:"RL202311201",name:"前测"},{id:"RL202401151",name:"总行清收管理岗"},{id:"RL202401152",name:"总行中心负责人"},{id:"RL202402231",name:"委外律师"},{id:"RL202412191",name:"理债部"}],total:17}}))),Pw.post("*/modularity/project0/simpleBpmnQueryUserForWangfa",async()=>(await _w(),Tw({code:200,data:{userList:[{id:"1",name:"张三"},{id:"2",name:"李四"},{id:"3",name:"王五"},{id:"4",name:"赵六"},{id:"5",name:"王二"}],total:5}})));const up="/api-workflow/biz";function aL(e){const t=[];for(const n in e){const r=e[n];t.push(`${n}=${String(r)}`)}return t.join("&")}async function iL(){}async function dp({url:e,method:t="get",data:n={}}){const r=new URLSearchParams(window.location.search),o=Object.fromEntries(r.entries());if(!e)return;const a={method:t,headers:{"Content-Type":"application/json"}};t.toLowerCase()==="post"&&(a.body=JSON.stringify(n));let i=(o.datasource||up)+e;t.toLocaleLowerCase()==="get"&&(i=`${i}?${aL(n)}`),await iL();const s=await fetch(`${i}`,a);return s.ok||$r.error("服务连接失败"),s.json()}async function jw(){return dp({url:"/modularity/project1775898066073707/queryUserAndRoleData",method:"get"})}async function sL(e){return dp({url:"/modularity/project0/getBpmnJsonForWangfa",method:"post",data:e})}async function lL(e){return dp({url:"/modularity/project1775898066073707/bizForm",method:"get",data:{processKey:e}})}const cL=w.memo(e=>{const t=new URLSearchParams(window.location.search),n=Object.fromEntries(t.entries()),{mode:r,children:o,themeToken:a,materials:i,materialUis:s}=e,[,l]=_n(),c=w.useMemo(()=>({token:a||l,mode:r}),[r,a,l]),d=w.useMemo(()=>new JS,[]);return w.useEffect(()=>{const f=localStorage.getItem("startNode");d&&f&&d.setStartNode(JSON.parse(f))},[d]),w.useEffect(()=>{n&&n.prcesssKey&&(localStorage.removeItem("startNode"),(async()=>{const m=await sL({prcesssKey:n.prcesssKey});d.setStartNode(m.data.jsonBpmn)})())},[]),w.useEffect(()=>{const f=d.materials,m=d.materialUis;return d.materials=[...f,...U7,...i||[]],d.materialUis={...m,...s},()=>{d.materials=f,d.materialUis=m}},[s,i,d]),O.jsx(wx.Provider,{value:d,children:O.jsx(VM,{theme:c,children:d&&o})})}),uL=w.memo(e=>{const{children:t,lang:n,locales:r,...o}=e;return O.jsx(n9,{themeMode:o.mode,children:O.jsx(cL,{...o,children:t})})}),dL=[{value:"scrap_apply",label:"报废申请"},{value:"dept_approve",label:"部门审批"},{value:"tech_eval",label:"技术评估"},{value:"asset_approve",label:"资产管理审批"},{value:"finance_approve",label:"财务审批"}],fL=w.memo(w.forwardRef((e,t)=>{const[n]=$e.useForm(),r=(o,a)=>{n.setFieldValue("subProcessName",a.label)};return w.useImperativeHandle(t,()=>({getValue:()=>n.getFieldsValue(),validateFields:()=>n.validateFields()}),[n]),O.jsxs($e,{form:n,layout:"vertical",colon:!1,initialValues:e.value,children:[O.jsx(Jo,{label:"异步子流程",name:"subProcessId",children:O.jsx(En,{placeholder:"请选择异步子流程",options:dL,onChange:r})}),O.jsx(Jo,{hidden:!0,name:"subProcessName",children:O.jsx(Rt,{})})]})})),mL=[{value:"scrap_apply",label:"报废申请"},{value:"dept_approve",label:"部门审批"},{value:"tech_eval",label:"技术评估"},{value:"asset_approve",label:"资产管理审批"},{value:"finance_approve",label:"财务审批"}],pL=w.memo(w.forwardRef((e,t)=>{const[n]=$e.useForm(),r=(o,a)=>{n.setFieldValue("subProcessName",a.label)};return w.useImperativeHandle(t,()=>({getValue:()=>n.getFieldsValue(),validateFields:()=>n.validateFields()}),[n]),O.jsxs($e,{form:n,layout:"vertical",colon:!1,initialValues:e.value,children:[O.jsx(Jo,{label:"子流程",name:"subProcessId",children:O.jsx(En,{placeholder:"请选择子流程",options:mL,onChange:r})}),O.jsx(Jo,{hidden:!0,name:"subProcessName",children:O.jsx(Rt,{})})]})})),gL=w.memo(w.forwardRef((e,t)=>{const[n]=$e.useForm();return w.useImperativeHandle(t,()=>({getValue:()=>n.getFieldsValue(),validateFields:()=>n.validateFields()}),[n]),O.jsx($e,{form:n,layout:"vertical",colon:!1,initialValues:e.value,children:O.jsx(Jo,{label:"触发器配置",children:O.jsx(Hm,{name:[]})})})}));function fp(e){var n,r,o,a,i;const t=(n=e.config)==null?void 0:n.groupType;return t?t===Rm?!!(((o=(r=e.config)==null?void 0:r.assignee)==null?void 0:o.ids)||""):t===Bm?!!(((i=(a=e.config)==null?void 0:a.role)==null?void 0:i.ids)||""):!0:!1}function Mw(e){var r,o;if(!e)return"";const t=e==null?void 0:e.groupType;let n;if(t){const a=zx.find(i=>i.value===t);if(a)switch(a.value){case Rm:n=((r=e==null?void 0:e.assignee)==null?void 0:r.names)||"";break;case Bm:n=((o=e==null?void 0:e.role)==null?void 0:o.names)||"";break;default:n=a.label;break}}return n}const hL={[dt.approver]:{viewContent:e=>{const t=Mw(e.config);return O.jsx(no,{secondary:!t,text:t||"选择审批人"})},settersPanel:v9,validate:e=>fp(e)?!0:"未选择审批人"},[dt.condition]:{viewContent:e=>{var n;const t=((n=e.config)==null?void 0:n.conditions)||[];return O.jsx(no,{secondary:!t.length,text:t.length?"已配置":"请配置条件"})},settersPanel:_9,validate:e=>e.config?!0:`${e.name}未设置条件`},[dt.notifier]:{viewContent:e=>{const t=Mw(e.config);return O.jsx(no,{secondary:!t,text:t||"选择抄送人"})},settersPanel:j9,validate:e=>fp(e)?!0:"未选择抄送人"},[dt.message]:{viewContent:e=>{var t,n;return O.jsx(no,{secondary:!((t=e.config)!=null&&t.title),text:(n=e.config)!=null&&n.title?e.config.title:"设置消息"})},settersPanel:T9,validate:e=>fp(e)?!0:"未选择通知人"},[dt.service]:{viewContent:e=>{var t,n,r;return O.jsx(no,{secondary:!((t=e.config)!=null&&t.executingValue),text:(n=e.config)!=null&&n.executingValue?(r=e.config)==null?void 0:r.executingValue:"配置服务"})},settersPanel:M9},[dt.start]:{viewContent:e=>{var t;return O.jsx(no,{text:`${(t=e.config)==null?void 0:t.initiator}`})},settersPanel:z9},[dt.subProcess]:{viewContent:e=>{var t;return O.jsx(no,{text:`${((t=e.config)==null?void 0:t.subProcessName)||"选择子流程"}`})},validate:e=>{var t;return(t=e.config)!=null&&t.subProcessId?!0:"未选择子流程"},settersPanel:pL},[dt.asyncSubProcess]:{viewContent:e=>{var t;return O.jsx(no,{text:`${((t=e.config)==null?void 0:t.subProcessName)||"选择异步子流程"}`})},validate:e=>{var t;return(t=e.config)!=null&&t.subProcessId?!0:"未选择异步子流程"},settersPanel:fL},[dt.trigger]:{viewContent:e=>{var t;return O.jsx(no,{text:`${(t=e.config)!=null&&t.api_request_url?"配置完成":"请输入请求地址"}`})},validate:e=>{var t;return(t=e.config)!=null&&t.api_request_url?!0:"未配置触发器请求地址"},settersPanel:gL}},vL=Oe.div`
|
|
1127
|
+
width: 100%;
|
|
1128
|
+
height: 100vh;
|
|
1129
|
+
display: flex;
|
|
1130
|
+
flex-flow: column;
|
|
1131
|
+
`,bL=w.memo(e=>O.jsx(vL,{children:e.children})),yL=new URLSearchParams(window.location.search),mp=Object.fromEntries(yL.entries()),CL=Oe.div`
|
|
1132
|
+
display: flex;
|
|
1133
|
+
align-items: center;
|
|
1134
|
+
`,xL=Oe(mx)`
|
|
1135
|
+
color: red;
|
|
1136
|
+
font-size: 20px;
|
|
1137
|
+
margin-right: 8px;
|
|
1138
|
+
`,wL=Oe.div`
|
|
1139
|
+
color: ${e=>{var t;return(t=e.theme.token)==null?void 0:t.colorTextSecondary}};
|
|
1140
|
+
`,SL=Oe.div`
|
|
1141
|
+
background-color: ${e=>{var t;return(t=e.theme.token)==null?void 0:t.colorBorderSecondary}};
|
|
1142
|
+
display: flex;
|
|
1143
|
+
justify-content: space-between;
|
|
1144
|
+
align-items: center;
|
|
1145
|
+
margin: 8px 0;
|
|
1146
|
+
padding: 0 16px;
|
|
1147
|
+
border-radius: 5px;
|
|
1148
|
+
min-height: 48px;
|
|
1149
|
+
`,EL=Oe.div`
|
|
1150
|
+
color:${e=>{var t;return(t=e.theme.token)==null?void 0:t.colorTextSecondary}};
|
|
1151
|
+
opacity: 0.8;
|
|
1152
|
+
`,$L=Oe.div`
|
|
1153
|
+
font-size: 13px;
|
|
1154
|
+
`,kL=w.memo(()=>{const[e,t]=w.useState(),n=Zt(),r=Oc(),o=mp.datasource||up,a=()=>{const l=n==null?void 0:n.validate();if(l!==!0&&l!==void 0){const c=[];for(const d of Object.keys(l)){const f=l[d],m=n==null?void 0:n.getNode(d);c.push({category:"流程设计",message:`${m==null?void 0:m.name}: ${f}`})}t(c)}else{const c={jsonBpmn:JSON.stringify(r),name:localStorage.getItem("processName")||"流程管理",pic:"",deploymentId:mp.deploymentId,prcesssKey:mp.prcesssKey};fetch(`${o}/modularity/project0/bpmnJsonToXmlForWangfa`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(c)}).then(async d=>{const f=await d.json();if(f.errorCode===0){const m=(f==null?void 0:f.data)||{};m.jsonBpmn=JSON.stringify(r),window.parent.postMessage(m,"*"),$r.success("发布成功"),localStorage.removeItem("startNode")}else $r.error(f.msg)}).catch(()=>{$r.error("发布失败")})}},i=()=>{t(void 0)},s=()=>{t(void 0)};return O.jsxs(O.Fragment,{children:[O.jsx(kt,{type:"primary",onClick:a,children:"发布"}),O.jsxs(fr,{title:O.jsxs(CL,{children:[O.jsx(xL,{}),"发布失败"]}),open:!!(e!=null&&e.length),cancelText:"取消",okText:"确定",onOk:i,onCancel:s,children:[O.jsx(wL,{children:"发布失败,请检查以下问题"}),e==null?void 0:e.map((l,c)=>O.jsxs(SL,{children:[O.jsx(EL,{children:l.category}),O.jsx($L,{children:l.message})]},c))]})]})}),OL=Oe.div`
|
|
1155
|
+
flex:1;
|
|
1156
|
+
display: flex;
|
|
1157
|
+
flex-flow: column;
|
|
1158
|
+
background-color: ${e=>{var t;return(t=e.theme.token)==null?void 0:t.colorBgBase}};
|
|
1159
|
+
color: ${e=>{var t;return(t=e.theme.token)==null?void 0:t.colorText}};
|
|
1160
|
+
height: 0;
|
|
1161
|
+
`,IL=w.memo(e=>{const t=new URLSearchParams(window.location.search),n=Object.fromEntries(t.entries()),{className:r,...o}=e,a=Oc(),i=X7(),s=J7(),[l,c]=w.useState(localStorage.getItem("processName")||"流程管理"),d=o.baseUrl||up;w.useEffect(()=>{n&&n.processName&&(c(n.processName),localStorage.setItem("processName",n.processName));const p=h=>{h.key==="processName"&&c(h.newValue)};return window.addEventListener("storage",p),()=>{window.removeEventListener("storage",p)}},[]);const f=w.useMemo(()=>[{label:"导入",key:"import",icon:O.jsx(gx,{}),onClick:s},{label:"导出",key:"export",icon:O.jsx(px,{}),onClick:i}],[i,s]),m=()=>{console.log(a);const p={jsonBpmn:JSON.stringify(a),name:localStorage.getItem("processName")||"不良处置方案审批",pic:"",deploymentId:n.deploymentId,prcesssKey:n.prcesssKey};fetch(`${d}/modularity/project0/saveBpmnJsonForWangfa`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(p)}).then(async h=>{const v=await h.json();v.errorCode===0?(localStorage.setItem("startNode",JSON.stringify(a)),$r.success("保存成功")):$r.error(v.msg)}).catch(()=>{$r.error("保存失败")})};return O.jsxs(OL,{className:G("workflow-editor",r||""),...o,children:[O.jsx(P7,{title:O.jsxs(zr,{children:[O.jsx(kt,{shape:"circle",icon:O.jsx(Gi,{})}),O.jsx(xy,{shape:"square",style:{backgroundColor:"rgba(44,121,245, 0.2)",color:"#2c79f6"},icon:O.jsx(vx,{})}),l]}),actions:O.jsxs(zr,{children:[O.jsx(kt,{type:"text",icon:O.jsx(bx,{}),onClick:m,children:"保存"}),O.jsx(kL,{}),O.jsx(lm,{menu:{items:f},trigger:["click"],children:O.jsx(kt,{icon:O.jsx(Yl,{})})})]})}),O.jsx(t9,{})]})}),NL=w.memo(e=>{const{materialUis:t,...n}=e;return O.jsx(uL,{materialUis:t,children:O.jsx(IL,{...n})})}),PL=w.memo(e=>O.jsx(bL,{children:O.jsx(NL,{materialUis:hL,baseUrl:e.baseUrl})}));Ot.WorkflowComponents=PL,Object.defineProperty(Ot,Symbol.toStringTag,{value:"Module"})}));
|