easy-soft-utility 2.8.103 → 2.8.105

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/es/index.js CHANGED
@@ -1 +1 @@
1
- import e from"node-cache";import t from"lodash/isBoolean";import n from"lodash/isDate";import r from"lodash/isEqual";import o from"lodash/isFunction";import a from"lodash/isNull";import i from"lodash/isNumber";import u from"lodash/isObject";import c from"lodash/isString";import s from"lodash/isUndefined";import l from"lodash/replace";import f from"lodash/assign";import d from"lodash/assignWith";import b from"lodash/difference";import p from"lodash/dropRight";import h from"lodash/endsWith";import m from"lodash/filter";import g from"lodash/find";import y from"lodash/findIndex";import v from"lodash/first";import w from"lodash/floor";import S from"lodash/forEach";import C from"lodash/get";import x from"lodash/gte";import A from"lodash/map";import D from"lodash/memoize";import $ from"lodash/remove";import M from"lodash/reverse";import j from"lodash/round";import E from"lodash/set";import _ from"lodash/size";import k from"lodash/sortBy";import O from"lodash/sortedUniq";import I from"lodash/split";import N from"lodash/startsWith";import T from"lodash/trim";import F from"lodash/uniqBy";import P from"lodash/toNumber";import z from"lodash/toString";import L from"object-hash";import{isArray as R}from"lodash";import H from"dayjs";import{stringify as Y,parse as U}from"qs";var W,q,B,G,V,K,Z,Q,J,X,ee,te,ne,re,oe,ae,ie,ue,ce,se,le,fe,de,be,pe,he,me,ge,ye="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function ve(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function we(){if(q)return W;return q=1,W=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}}function Se(){if(G)return B;G=1;var e="object"==typeof ye&&ye&&ye.Object===Object&&ye;return B=e}function Ce(){if(K)return V;K=1;var e=Se(),t="object"==typeof self&&self&&self.Object===Object&&self,n=e||t||Function("return this")();return V=n}function xe(){if(te)return ee;te=1;var e=function(){if(X)return J;X=1;var e=/\s/;return J=function(t){for(var n=t.length;n--&&e.test(t.charAt(n)););return n}}(),t=/^\s+/;return ee=function(n){return n?n.slice(0,e(n)+1).replace(t,""):n}}function Ae(){if(re)return ne;re=1;var e=Ce().Symbol;return ne=e}function De(){if(se)return ce;se=1;var e=Ae(),t=function(){if(ae)return oe;ae=1;var e=Ae(),t=Object.prototype,n=t.hasOwnProperty,r=t.toString,o=e?e.toStringTag:void 0;return oe=function(e){var t=n.call(e,o),a=e[o];try{e[o]=void 0;var i=!0}catch(e){}var u=r.call(e);return i&&(t?e[o]=a:delete e[o]),u}}(),n=function(){if(ue)return ie;ue=1;var e=Object.prototype.toString;return ie=function(t){return e.call(t)}}(),r=e?e.toStringTag:void 0;return ce=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":r&&r in Object(e)?t(e):n(e)}}function $e(){if(fe)return le;return fe=1,le=function(e){return null!=e&&"object"==typeof e}}function Me(){if(be)return de;be=1;var e=De(),t=$e();return de=function(n){return"symbol"==typeof n||t(n)&&"[object Symbol]"==e(n)}}function je(){if(ge)return me;ge=1;var e=we(),t=function(){if(Q)return Z;Q=1;var e=Ce();return Z=function(){return e.Date.now()}}(),n=function(){if(he)return pe;he=1;var e=xe(),t=we(),n=Me(),r=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,a=/^0o[0-7]+$/i,i=parseInt;return pe=function(u){if("number"==typeof u)return u;if(n(u))return NaN;if(t(u)){var c="function"==typeof u.valueOf?u.valueOf():u;u=t(c)?c+"":c}if("string"!=typeof u)return 0===u?u:+u;u=e(u);var s=o.test(u);return s||a.test(u)?i(u.slice(2),s?2:8):r.test(u)?NaN:+u}}(),r=Math.max,o=Math.min;return me=function(a,i,u){var c,s,l,f,d,b,p=0,h=!1,m=!1,g=!0;if("function"!=typeof a)throw new TypeError("Expected a function");function y(e){var t=c,n=s;return c=s=void 0,p=e,f=a.apply(n,t)}function v(e){var t=e-b;return void 0===b||t>=i||t<0||m&&e-p>=l}function w(){var e=t();if(v(e))return S(e);d=setTimeout(w,function(e){var t=i-(e-b);return m?o(t,l-(e-p)):t}(e))}function S(e){return d=void 0,g&&c?y(e):(c=s=void 0,f)}function C(){var e=t(),n=v(e);if(c=arguments,s=this,b=e,n){if(void 0===d)return function(e){return p=e,d=setTimeout(w,i),h?y(e):f}(b);if(m)return clearTimeout(d),d=setTimeout(w,i),y(b)}return void 0===d&&(d=setTimeout(w,i)),f}return i=n(i)||0,e(u)&&(h=!!u.leading,l=(m="maxWait"in u)?r(n(u.maxWait)||0,i):l,g="trailing"in u?!!u.trailing:g),C.cancel=function(){void 0!==d&&clearTimeout(d),p=0,c=b=s=d=void 0},C.flush=function(){return void 0===d?f:S(t())},C},me}var Ee,_e,ke,Oe,Ie,Ne,Te,Fe,Pe,ze,Le,Re,He,Ye,Ue,We,qe,Be,Ge,Ve,Ke,Ze,Qe,Je,Xe,et,tt,nt,rt,ot,at,it,ut=ve(je());function ct(){if(_e)return Ee;_e=1;var e=De(),t=we();return Ee=function(n){if(!t(n))return!1;var r=e(n);return"[object Function]"==r||"[object GeneratorFunction]"==r||"[object AsyncFunction]"==r||"[object Proxy]"==r}}function st(){if(Ne)return Ie;Ne=1;var e,t=function(){if(Oe)return ke;Oe=1;var e=Ce()["__core-js_shared__"];return ke=e}(),n=(e=/[^.]+$/.exec(t&&t.keys&&t.keys.IE_PROTO||""))?"Symbol(src)_1."+e:"";return Ie=function(e){return!!n&&n in e}}function lt(){if(Fe)return Te;Fe=1;var e=Function.prototype.toString;return Te=function(t){if(null!=t){try{return e.call(t)}catch(e){}try{return t+""}catch(e){}}return""}}function ft(){if(Ye)return He;Ye=1;var e=function(){if(ze)return Pe;ze=1;var e=ct(),t=st(),n=we(),r=lt(),o=/^\[object .+?Constructor\]$/,a=Function.prototype,i=Object.prototype,u=a.toString,c=i.hasOwnProperty,s=RegExp("^"+u.call(c).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");return Pe=function(a){return!(!n(a)||t(a))&&(e(a)?s:o).test(r(a))}}(),t=Re?Le:(Re=1,Le=function(e,t){return null==e?void 0:e[t]});return He=function(n,r){var o=t(n,r);return e(o)?o:void 0}}function dt(){if(Be)return qe;Be=1;var e=function(){if(We)return Ue;We=1;var e=ft(),t=function(){try{var t=e(Object,"defineProperty");return t({},"",{}),t}catch(e){}}();return Ue=t}();return qe=function(t,n,r){"__proto__"==n&&e?e(t,n,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[n]=r}}function bt(){if(Je)return Qe;Je=1;var e=(Ze?Ke:(Ze=1,Ke=function(e){return function(t,n,r){for(var o=-1,a=Object(t),i=r(t),u=i.length;u--;){var c=i[e?u:++o];if(!1===n(a[c],c,a))break}return t}}))();return Qe=e}function pt(){if(ot)return rt;ot=1;var e=function(){if(nt)return tt;nt=1;var e=De(),t=$e();return tt=function(n){return t(n)&&"[object Arguments]"==e(n)}}(),t=$e(),n=Object.prototype,r=n.hasOwnProperty,o=n.propertyIsEnumerable,a=e(function(){return arguments}())?e:function(e){return t(e)&&r.call(e,"callee")&&!o.call(e,"callee")};return rt=a}function ht(){if(it)return at;it=1;var e=Array.isArray;return at=e}var mt,gt,yt,vt,wt,St,Ct,xt,At,Dt,$t,Mt={exports:{}};function jt(){return yt||(yt=1,function(e,t){var n=Ce(),r=gt?mt:(gt=1,mt=function(){return!1}),o=t&&!t.nodeType&&t,a=o&&e&&!e.nodeType&&e,i=a&&a.exports===o?n.Buffer:void 0,u=(i?i.isBuffer:void 0)||r;e.exports=u}(Mt,Mt.exports)),Mt.exports}function Et(){if(wt)return vt;wt=1;var e=/^(?:0|[1-9]\d*)$/;return vt=function(t,n){var r=typeof t;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&e.test(t))&&t>-1&&t%1==0&&t<n}}function _t(){if(Ct)return St;Ct=1;return St=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}}var kt,Ot,It,Nt,Tt,Ft,Pt,zt,Lt,Rt,Ht,Yt,Ut,Wt,qt,Bt,Gt,Vt,Kt,Zt,Qt,Jt,Xt,en,tn,nn,rn,on,an,un,cn,sn,ln,fn,dn,bn,pn,hn,mn,gn,yn,vn,wn,Sn,Cn,xn,An,Dn,$n,Mn,jn,En,_n,kn,On,In,Nn,Tn,Fn,Pn,zn,Ln,Rn,Hn,Yn,Un,Wn,qn,Bn,Gn,Vn,Kn,Zn,Qn,Jn,Xn,er,tr,nr,rr,or,ar,ir,ur,cr,sr,lr,fr,dr,br,pr,hr,mr,gr,yr,vr,wr,Sr,Cr,xr,Ar,Dr,$r,Mr,jr,Er,_r,kr,Or,Ir,Nr,Tr,Fr,Pr,zr,Lr,Rr,Hr,Yr,Ur,Wr,qr,Br,Gr,Vr,Kr,Zr,Qr,Jr,Xr,eo,to,no,ro,oo,ao,io,uo,co,so,lo,fo,bo,po,ho,mo,go,yo,vo,wo,So,Co,xo,Ao,Do,$o,Mo,jo,Eo,_o,ko,Oo,Io,No,To,Fo,Po,zo,Lo,Ro,Ho,Yo,Uo,Wo,qo,Bo,Go,Vo,Ko,Zo,Qo,Jo,Xo,ea,ta,na,ra,oa={exports:{}};function aa(){if(It)return Ot;It=1;var e=function(){if(At)return xt;At=1;var e=De(),t=_t(),n=$e(),r={};return r["[object Float32Array]"]=r["[object Float64Array]"]=r["[object Int8Array]"]=r["[object Int16Array]"]=r["[object Int32Array]"]=r["[object Uint8Array]"]=r["[object Uint8ClampedArray]"]=r["[object Uint16Array]"]=r["[object Uint32Array]"]=!0,r["[object Arguments]"]=r["[object Array]"]=r["[object ArrayBuffer]"]=r["[object Boolean]"]=r["[object DataView]"]=r["[object Date]"]=r["[object Error]"]=r["[object Function]"]=r["[object Map]"]=r["[object Number]"]=r["[object Object]"]=r["[object RegExp]"]=r["[object Set]"]=r["[object String]"]=r["[object WeakMap]"]=!1,xt=function(o){return n(o)&&t(o.length)&&!!r[e(o)]}}(),t=$t?Dt:($t=1,Dt=function(e){return function(t){return e(t)}}),n=function(){return kt||(kt=1,e=oa,t=oa.exports,n=Se(),r=t&&!t.nodeType&&t,o=r&&e&&!e.nodeType&&e,a=o&&o.exports===r&&n.process,i=function(){try{return o&&o.require&&o.require("util").types||a&&a.binding&&a.binding("util")}catch(e){}}(),e.exports=i),oa.exports;var e,t,n,r,o,a,i}(),r=n&&n.isTypedArray,o=r?t(r):e;return Ot=o}function ia(){if(Tt)return Nt;Tt=1;var e=et?Xe:(et=1,Xe=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}),t=pt(),n=ht(),r=jt(),o=Et(),a=aa(),i=Object.prototype.hasOwnProperty;return Nt=function(u,c){var s=n(u),l=!s&&t(u),f=!s&&!l&&r(u),d=!s&&!l&&!f&&a(u),b=s||l||f||d,p=b?e(u.length,String):[],h=p.length;for(var m in u)!c&&!i.call(u,m)||b&&("length"==m||f&&("offset"==m||"parent"==m)||d&&("buffer"==m||"byteLength"==m||"byteOffset"==m)||o(m,h))||p.push(m);return p}}function ua(){if(Ht)return Rt;Ht=1;var e=(Lt?zt:(Lt=1,zt=function(e,t){return function(n){return e(t(n))}}))(Object.keys,Object);return Rt=e}function ca(){if(Ut)return Yt;Ut=1;var e=function(){if(Pt)return Ft;Pt=1;var e=Object.prototype;return Ft=function(t){var n=t&&t.constructor;return t===("function"==typeof n&&n.prototype||e)}}(),t=ua(),n=Object.prototype.hasOwnProperty;return Yt=function(r){if(!e(r))return t(r);var o=[];for(var a in Object(r))n.call(r,a)&&"constructor"!=a&&o.push(a);return o}}function sa(){if(qt)return Wt;qt=1;var e=ct(),t=_t();return Wt=function(n){return null!=n&&t(n.length)&&!e(n)}}function la(){if(Gt)return Bt;Gt=1;var e=ia(),t=ca(),n=sa();return Bt=function(r){return n(r)?e(r):t(r)}}function fa(){if(Xt)return Jt;Xt=1;var e=function(){if(Kt)return Vt;Kt=1;var e=bt(),t=la();return Vt=function(n,r){return n&&e(n,r,t)}}(),t=function(){if(Qt)return Zt;Qt=1;var e=sa();return Zt=function(t,n){return function(r,o){if(null==r)return r;if(!e(r))return t(r,o);for(var a=r.length,i=n?a:-1,u=Object(r);(n?i--:++i<a)&&!1!==o(u[i],i,u););return r}}}()(e);return Jt=t}function da(){if(an)return on;return an=1,on=function(e,t){return e===t||e!=e&&t!=t}}function ba(){if(cn)return un;cn=1;var e=da();return un=function(t,n){for(var r=t.length;r--;)if(e(t[r][0],n))return r;return-1}}function pa(){if(yn)return gn;yn=1;var e=rn?nn:(rn=1,nn=function(){this.__data__=[],this.size=0}),t=function(){if(ln)return sn;ln=1;var e=ba(),t=Array.prototype.splice;return sn=function(n){var r=this.__data__,o=e(r,n);return!(o<0||(o==r.length-1?r.pop():t.call(r,o,1),--this.size,0))}}(),n=function(){if(dn)return fn;dn=1;var e=ba();return fn=function(t){var n=this.__data__,r=e(n,t);return r<0?void 0:n[r][1]}}(),r=function(){if(pn)return bn;pn=1;var e=ba();return bn=function(t){return e(this.__data__,t)>-1}}(),o=function(){if(mn)return hn;mn=1;var e=ba();return hn=function(t,n){var r=this.__data__,o=e(r,t);return o<0?(++this.size,r.push([t,n])):r[o][1]=n,this}}();function a(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}return a.prototype.clear=e,a.prototype.delete=t,a.prototype.get=n,a.prototype.has=r,a.prototype.set=o,gn=a}function ha(){if(jn)return Mn;jn=1;var e=ft()(Ce(),"Map");return Mn=e}function ma(){if(_n)return En;_n=1;var e=ft()(Object,"create");return En=e}function ga(){if(Yn)return Hn;Yn=1;var e=function(){if(On)return kn;On=1;var e=ma();return kn=function(){this.__data__=e?e(null):{},this.size=0}}(),t=Nn?In:(Nn=1,In=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}),n=function(){if(Fn)return Tn;Fn=1;var e=ma(),t=Object.prototype.hasOwnProperty;return Tn=function(n){var r=this.__data__;if(e){var o=r[n];return"__lodash_hash_undefined__"===o?void 0:o}return t.call(r,n)?r[n]:void 0}}(),r=function(){if(zn)return Pn;zn=1;var e=ma(),t=Object.prototype.hasOwnProperty;return Pn=function(n){var r=this.__data__;return e?void 0!==r[n]:t.call(r,n)}}(),o=function(){if(Rn)return Ln;Rn=1;var e=ma();return Ln=function(t,n){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=e&&void 0===n?"__lodash_hash_undefined__":n,this}}();function a(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}return a.prototype.clear=e,a.prototype.delete=t,a.prototype.get=n,a.prototype.has=r,a.prototype.set=o,Hn=a}function ya(){if(Vn)return Gn;Vn=1;var e=Bn?qn:(Bn=1,qn=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e});return Gn=function(t,n){var r=t.__data__;return e(n)?r["string"==typeof n?"string":"hash"]:r.map},Gn}function va(){if(or)return rr;or=1;var e=function(){if(Wn)return Un;Wn=1;var e=ga(),t=pa(),n=ha();return Un=function(){this.size=0,this.__data__={hash:new e,map:new(n||t),string:new e}}}(),t=function(){if(Zn)return Kn;Zn=1;var e=ya();return Kn=function(t){var n=e(this,t).delete(t);return this.size-=n?1:0,n}}(),n=function(){if(Jn)return Qn;Jn=1;var e=ya();return Qn=function(t){return e(this,t).get(t)}}(),r=function(){if(er)return Xn;er=1;var e=ya();return Xn=function(t){return e(this,t).has(t)}}(),o=function(){if(nr)return tr;nr=1;var e=ya();return tr=function(t,n){var r=e(this,t),o=r.size;return r.set(t,n),this.size+=r.size==o?0:1,this},tr}();function a(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}return a.prototype.clear=e,a.prototype.delete=t,a.prototype.get=n,a.prototype.has=r,a.prototype.set=o,rr=a}function wa(){if(cr)return ur;cr=1;var e=pa(),t=function(){if(wn)return vn;wn=1;var e=pa();return vn=function(){this.__data__=new e,this.size=0}}(),n=Cn?Sn:(Cn=1,Sn=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}),r=An?xn:(An=1,xn=function(e){return this.__data__.get(e)}),o=$n?Dn:($n=1,Dn=function(e){return this.__data__.has(e)}),a=function(){if(ir)return ar;ir=1;var e=pa(),t=ha(),n=va();return ar=function(r,o){var a=this.__data__;if(a instanceof e){var i=a.__data__;if(!t||i.length<199)return i.push([r,o]),this.size=++a.size,this;a=this.__data__=new n(i)}return a.set(r,o),this.size=a.size,this}}();function i(t){var n=this.__data__=new e(t);this.size=n.size}return i.prototype.clear=t,i.prototype.delete=n,i.prototype.get=r,i.prototype.has=o,i.prototype.set=a,ur=i}function Sa(){if(pr)return br;pr=1;var e=va(),t=lr?sr:(lr=1,sr=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}),n=dr?fr:(dr=1,fr=function(e){return this.__data__.has(e)});function r(t){var n=-1,r=null==t?0:t.length;for(this.__data__=new e;++n<r;)this.add(t[n])}return r.prototype.add=r.prototype.push=t,r.prototype.has=n,br=r}function Ca(){if(wr)return vr;wr=1;var e=Sa(),t=mr?hr:(mr=1,hr=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}),n=yr?gr:(yr=1,gr=function(e,t){return e.has(t)});return vr=function(r,o,a,i,u,c){var s=1&a,l=r.length,f=o.length;if(l!=f&&!(s&&f>l))return!1;var d=c.get(r),b=c.get(o);if(d&&b)return d==o&&b==r;var p=-1,h=!0,m=2&a?new e:void 0;for(c.set(r,o),c.set(o,r);++p<l;){var g=r[p],y=o[p];if(i)var v=s?i(y,g,p,o,r,c):i(g,y,p,r,o,c);if(void 0!==v){if(v)continue;h=!1;break}if(m){if(!t(o,function(e,t){if(!n(m,t)&&(g===e||u(g,e,a,i,c)))return m.push(t)})){h=!1;break}}else if(g!==y&&!u(g,y,a,i,c)){h=!1;break}}return c.delete(r),c.delete(o),h},vr}function xa(){if(jr)return Mr;jr=1;var e=Ae(),t=function(){if(Cr)return Sr;Cr=1;var e=Ce().Uint8Array;return Sr=e}(),n=da(),r=Ca(),o=(Ar||(Ar=1,xr=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}),xr),a=($r||($r=1,Dr=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}),Dr),i=e?e.prototype:void 0,u=i?i.valueOf:void 0;return Mr=function(e,i,c,s,l,f,d){switch(c){case"[object DataView]":if(e.byteLength!=i.byteLength||e.byteOffset!=i.byteOffset)return!1;e=e.buffer,i=i.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=i.byteLength||!f(new t(e),new t(i)));case"[object Boolean]":case"[object Date]":case"[object Number]":return n(+e,+i);case"[object Error]":return e.name==i.name&&e.message==i.message;case"[object RegExp]":case"[object String]":return e==i+"";case"[object Map]":var b=o;case"[object Set]":var p=1&s;if(b||(b=a),e.size!=i.size&&!p)return!1;var h=d.get(e);if(h)return h==i;s|=2,d.set(e,i);var m=r(b(e),b(i),s,l,f,d);return d.delete(e),m;case"[object Symbol]":if(u)return u.call(e)==u.call(i)}return!1},Mr}function Aa(){if(Or)return kr;Or=1;var e=_r?Er:(_r=1,Er=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}),t=ht();return kr=function(n,r,o){var a=r(n);return t(n)?a:e(a,o(n))}}function Da(){if(zr)return Pr;zr=1;var e=Nr?Ir:(Nr=1,Ir=function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,a=[];++n<r;){var i=e[n];t(i,n,e)&&(a[o++]=i)}return a}),t=Fr?Tr:(Fr=1,Tr=function(){return[]}),n=Object.prototype.propertyIsEnumerable,r=Object.getOwnPropertySymbols;return Pr=r?function(t){return null==t?[]:(t=Object(t),e(r(t),function(e){return n.call(t,e)}))}:t}function $a(){if(Yr)return Hr;Yr=1;var e=function(){if(Rr)return Lr;Rr=1;var e=Aa(),t=Da(),n=la();return Lr=function(r){return e(r,n,t)}}(),t=Object.prototype.hasOwnProperty;return Hr=function(n,r,o,a,i,u){var c=1&o,s=e(n),l=s.length;if(l!=e(r).length&&!c)return!1;for(var f=l;f--;){var d=s[f];if(!(c?d in r:t.call(r,d)))return!1}var b=u.get(n),p=u.get(r);if(b&&p)return b==r&&p==n;var h=!0;u.set(n,r),u.set(r,n);for(var m=c;++f<l;){var g=n[d=s[f]],y=r[d];if(a)var v=c?a(y,g,d,r,n,u):a(g,y,d,n,r,u);if(!(void 0===v?g===y||i(g,y,o,a,u):v)){h=!1;break}m||(m="constructor"==d)}if(h&&!m){var w=n.constructor,S=r.constructor;w==S||!("constructor"in n)||!("constructor"in r)||"function"==typeof w&&w instanceof w&&"function"==typeof S&&S instanceof S||(h=!1)}return u.delete(n),u.delete(r),h},Hr}function Ma(){if(Jr)return Qr;Jr=1;var e=function(){if(Wr)return Ur;Wr=1;var e=ft()(Ce(),"DataView");return Ur=e}(),t=ha(),n=function(){if(Br)return qr;Br=1;var e=ft()(Ce(),"Promise");return qr=e}(),r=function(){if(Vr)return Gr;Vr=1;var e=ft()(Ce(),"Set");return Gr=e}(),o=function(){if(Zr)return Kr;Zr=1;var e=ft()(Ce(),"WeakMap");return Kr=e}(),a=De(),i=lt(),u="[object Map]",c="[object Promise]",s="[object Set]",l="[object WeakMap]",f="[object DataView]",d=i(e),b=i(t),p=i(n),h=i(r),m=i(o),g=a;return(e&&g(new e(new ArrayBuffer(1)))!=f||t&&g(new t)!=u||n&&g(n.resolve())!=c||r&&g(new r)!=s||o&&g(new o)!=l)&&(g=function(e){var t=a(e),n="[object Object]"==t?e.constructor:void 0,r=n?i(n):"";if(r)switch(r){case d:return f;case b:return u;case p:return c;case h:return s;case m:return l}return t}),Qr=g}function ja(){if(no)return to;no=1;var e=function(){if(eo)return Xr;eo=1;var e=wa(),t=Ca(),n=xa(),r=$a(),o=Ma(),a=ht(),i=jt(),u=aa(),c="[object Arguments]",s="[object Array]",l="[object Object]",f=Object.prototype.hasOwnProperty;return Xr=function(d,b,p,h,m,g){var y=a(d),v=a(b),w=y?s:o(d),S=v?s:o(b),C=(w=w==c?l:w)==l,x=(S=S==c?l:S)==l,A=w==S;if(A&&i(d)){if(!i(b))return!1;y=!0,C=!1}if(A&&!C)return g||(g=new e),y||u(d)?t(d,b,p,h,m,g):n(d,b,w,p,h,m,g);if(!(1&p)){var D=C&&f.call(d,"__wrapped__"),$=x&&f.call(b,"__wrapped__");if(D||$){var M=D?d.value():d,j=$?b.value():b;return g||(g=new e),m(M,j,p,h,g)}}return!!A&&(g||(g=new e),r(d,b,p,h,m,g))},Xr}(),t=$e();return to=function n(r,o,a,i,u){return r===o||(null==r||null==o||!t(r)&&!t(o)?r!=r&&o!=o:e(r,o,a,i,n,u))},to}function Ea(){if(io)return ao;io=1;var e=we();return ao=function(t){return t==t&&!e(t)}}function _a(){if(lo)return so;return lo=1,so=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}}function ka(){if(bo)return fo;bo=1;var e=function(){if(oo)return ro;oo=1;var e=wa(),t=ja();return ro=function(n,r,o,a){var i=o.length,u=i,c=!a;if(null==n)return!u;for(n=Object(n);i--;){var s=o[i];if(c&&s[2]?s[1]!==n[s[0]]:!(s[0]in n))return!1}for(;++i<u;){var l=(s=o[i])[0],f=n[l],d=s[1];if(c&&s[2]){if(void 0===f&&!(l in n))return!1}else{var b=new e;if(a)var p=a(f,d,l,n,r,b);if(!(void 0===p?t(d,f,3,a,b):p))return!1}}return!0},ro}(),t=function(){if(co)return uo;co=1;var e=Ea(),t=la();return uo=function(n){for(var r=t(n),o=r.length;o--;){var a=r[o],i=n[a];r[o]=[a,i,e(i)]}return r}}(),n=_a();return fo=function(r){var o=t(r);return 1==o.length&&o[0][2]?n(o[0][0],o[0][1]):function(t){return t===r||e(t,r,o)}}}function Oa(){if(ho)return po;ho=1;var e=ht(),t=Me(),n=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,r=/^\w*$/;return po=function(o,a){if(e(o))return!1;var i=typeof o;return!("number"!=i&&"symbol"!=i&&"boolean"!=i&&null!=o&&!t(o))||(r.test(o)||!n.test(o)||null!=a&&o in Object(a))}}function Ia(){if(vo)return yo;vo=1;var e=function(){if(go)return mo;go=1;var e=va();function t(n,r){if("function"!=typeof n||null!=r&&"function"!=typeof r)throw new TypeError("Expected a function");var o=function(){var e=arguments,t=r?r.apply(this,e):e[0],a=o.cache;if(a.has(t))return a.get(t);var i=n.apply(this,e);return o.cache=a.set(t,i)||a,i};return o.cache=new(t.Cache||e),o}return t.Cache=e,mo=t}();return yo=function(t){var n=e(t,function(e){return 500===r.size&&r.clear(),e}),r=n.cache;return n}}function Na(){if(Do)return Ao;Do=1;var e=Ae(),t=xo?Co:(xo=1,Co=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}),n=ht(),r=Me(),o=e?e.prototype:void 0,a=o?o.toString:void 0;return Ao=function e(o){if("string"==typeof o)return o;if(n(o))return t(o,e)+"";if(r(o))return a?a.call(o):"";var i=o+"";return"0"==i&&1/o==-1/0?"-0":i},Ao}function Ta(){if(Mo)return $o;Mo=1;var e=Na();return $o=function(t){return null==t?"":e(t)}}function Fa(){if(Eo)return jo;Eo=1;var e=ht(),t=Oa(),n=function(){if(So)return wo;So=1;var e=Ia(),t=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,n=/\\(\\)?/g,r=e(function(e){var r=[];return 46===e.charCodeAt(0)&&r.push(""),e.replace(t,function(e,t,o,a){r.push(o?a.replace(n,"$1"):t||e)}),r});return wo=r}(),r=Ta();return jo=function(o,a){return e(o)?o:t(o,a)?[o]:n(r(o))}}function Pa(){if(ko)return _o;ko=1;var e=Me();return _o=function(t){if("string"==typeof t||e(t))return t;var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}}function za(){if(Io)return Oo;Io=1;var e=Fa(),t=Pa();return Oo=function(n,r){for(var o=0,a=(r=e(r,n)).length;null!=n&&o<a;)n=n[t(r[o++])];return o&&o==a?n:void 0}}function La(){if(Ho)return Ro;Ho=1;var e=Po?Fo:(Po=1,Fo=function(e,t){return null!=e&&t in Object(e)}),t=function(){if(Lo)return zo;Lo=1;var e=Fa(),t=pt(),n=ht(),r=Et(),o=_t(),a=Pa();return zo=function(i,u,c){for(var s=-1,l=(u=e(u,i)).length,f=!1;++s<l;){var d=a(u[s]);if(!(f=null!=i&&c(i,d)))break;i=i[d]}return f||++s!=l?f:!!(l=null==i?0:i.length)&&o(l)&&r(d,l)&&(n(i)||t(i))}}();return Ro=function(n,r){return null!=n&&t(n,r,e)}}function Ra(){if(Uo)return Yo;Uo=1;var e=ja(),t=function(){if(To)return No;To=1;var e=za();return No=function(t,n,r){var o=null==t?void 0:e(t,n);return void 0===o?r:o}}(),n=La(),r=Oa(),o=Ea(),a=_a(),i=Pa();return Yo=function(u,c){return r(u)&&o(c)?a(i(u),c):function(r){var o=t(r,u);return void 0===o&&o===c?n(r,u):e(c,o,3)}}}function Ha(){if(Qo)return Zo;Qo=1;var e=Go?Bo:(Go=1,Bo=function(e){return function(t){return null==t?void 0:t[e]}}),t=function(){if(Ko)return Vo;Ko=1;var e=za();return Vo=function(t){return function(n){return e(n,t)}}}(),n=Oa(),r=Pa();return Zo=function(o){return n(o)?e(r(o)):t(o)}}function Ya(){if(Xo)return Jo;Xo=1;var e=ka(),t=Ra(),n=qo?Wo:(qo=1,Wo=function(e){return e}),r=ht(),o=Ha();return Jo=function(a){return"function"==typeof a?a:null==a?n:"object"==typeof a?r(a)?t(a[0],a[1]):e(a):o(a)}}function Ua(){if(ta)return ea;ta=1;var e=Ve?Ge:(Ve=1,Ge=function(e,t,n,r){for(var o=-1,a=null==e?0:e.length;++o<a;){var i=e[o];t(r,i,n(i),e)}return r}),t=function(){if(tn)return en;tn=1;var e=fa();return en=function(t,n,r,o){return e(t,function(e,t,a){n(o,e,r(e),a)}),o}}(),n=Ya(),r=ht();return ea=function(o,a){return function(i,u){var c=r(i)?e:t,s=a?a():{};return c(i,o,n(u,2),s)}}}var Wa,qa,Ba=function(){if(ra)return na;ra=1;var e=dt(),t=Ua(),n=Object.prototype.hasOwnProperty,r=t(function(t,r,o){n.call(t,o)?t[o].push(r):e(t,o,[r])});return na=r}(),Ga=ve(Ba);var Va=function(){if(qa)return Wa;qa=1;var e=je(),t=we();return Wa=function(n,r,o){var a=!0,i=!0;if("function"!=typeof n)throw new TypeError("Expected a function");return t(o)&&(a="leading"in o?!!o.leading:a,i="trailing"in o?!!o.trailing:i),e(n,r,{leading:a,maxWait:r,trailing:i})}}(),Ka=ve(Va);function Za(e,t,n=null){return C(e,t,n)}function Qa(e,t=null){return Ga(e,t)}function Ja(e,t){return j(e,t)}function Xa(e,t,n){return h(e,t,n)}function ei(e){return O(e)}function ti(e,t,n=1e3){return I(e,t,n)}function ni(e,t){return f(e,t)}function ri(e,t,n){return d(e,t,n)}function oi(e){return M(e)}function ai(e,t){return S(e,t)}function ii(e,t){return x(e,t)}function ui(e){return D(e)}function ci(e,t){return w(e,t)}function si(e){return v(e)}function li(e,t){return N(e,t)}function fi(e,t=1){return p(e,t)}function di(e,t){return F(e,t)}function bi(e){return T(e)}function pi(e,t,n){return l(e,t,n)}function hi(e,t){return $(e,t)}function mi(e,t){return A(e,t)}function gi(e,t,n){return E(e,t,n)}function yi(e){return _(e)}function vi(e,t){return b(e,t)}function wi(e,t){return m(e,t)}function Si(e,t){return k(e,t)}function Ci(e,t,n=0){return y(e,t,n)}function xi(e,t,n=0){return g(e,t,n)}function Ai(e,t=0,n={}){return ut(e,t,n)}function Di(e,t=0,n={}){return Ka(e,t,n)}function $i(e){return new Function(`return ${e}`)()}function Mi(){return"undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement}function ji(){return window&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches}function Ei(){const e=navigator.userAgent;return{trident:e.includes("Trident"),presto:e.includes("Presto"),webKit:e.includes("AppleWebKit"),gecko:e.includes("Gecko")&&!e.includes("KHTML"),mobile:!!/AppleWebKit.*Mobile.*/.test(e),ios:!!/\(i[^;]+;( U;)? CPU.+Mac OS X/.test(e),android:e.includes("Android")||e.includes("Linux"),iPhone:e.includes("iPhone"),iPad:e.includes("iPad"),webApp:!e.includes("Safari")}}function _i(){return{versions:Ei(),language:((navigator.browserLanguage||navigator.language)??"").toLowerCase()}}function ki(e){let t=[];const n=JSON.stringify(e,function(e,n){if("object"==typeof n&&null!==n){if(t.includes(n))return;t.push(n)}return n});return t=null,n}function Oi({seed:e,min:t,max:n}){const r=t||0;return r+(9301*e+49297)%233280/233280*((n||1)-r)}function Ii(e){return null==e?null:JSON.parse(ki(e))}function Ni(e,t,n){let r=[];return null!=e&&(r=[...e]),null!=n&&(r=[...r,...n]),null!=t&&(r=[t,...r]),r}function Ti(e,t,n,r,o){const a=r,i=void 0===n?null:n;return null!=t&&(a.initialValue="function"==typeof convertValue?o(e)||i:e||i),a}function Fi(e,t,n){const r=n||[];let o=null;if(null==t)return o;for(const n of r)n[e]===t&&(o=n);return o}function Pi(e){return e?(e^16*Math.random()>>e/4).toString(16):([1e7]+-1e3+-4e3+-8e3+-1e11).replaceAll(/[018]/g,Pi)}function zi(){return Pi()+""}function Li({pageNo:e,pageSize:t,total:n}){return!((n||0)<=0)&&(e||0)*(t||0)<(n||0)}function Ri(){return"development"===process.env.NODE_ENV}function Hi(e){return Object.keys(e).map(t=>e[t]).join(",")}function Yi(e,t){return Array.from({length:t-e+1},(t,n)=>e+n)}function Ui(e){return Ji(e)}function Wi(e){const t=`${Ji(e)?null:e}`.match(/^(\d{1,4})(-|\/)(\d{1,2})\2(\d{1,2})$/);if(null==t)return!1;const n=new Date(t[1],t[3]-1,t[4]);return n.getFullYear()===Number.parseInt(t[1],10)&&n.getMonth()+1===Number.parseInt(t[3],10)&&n.getDate()===Number.parseInt(t[4],10)}function qi(e){return!!Number.isInteger(e)||i(e)}function Bi(e){return!!qi(e)||!Number.isNaN(Number(e))}function Gi(e){const t=`${Ji(e)?null:e}`;if(""===t)return!1;return new RegExp(/^([1-9]\d{0,15}|0)(\.\d{1,2})?$/).test(t)}function Vi(e,t){return r(e,t)}function Ki(e,t){return ki(e||{})===ki(t||{})}function Zi(e){return o(e)}function Qi(e){return t(e)}function Ji(e){return s(e)}function Xi(e){return a(e)}function eu(e){return n(e)}function tu(e){return c(e)}function nu(e){return Array.isArray(e)}function ru(e){return!!nu(e)&&e.length<=0}function ou(e){return u(e)}function au(e){return!!ou(e)&&Object.keys(e).length<=0}function iu(e){return null!==e&&"object"==typeof e&&!nu(e)}function uu(e){return iu(e)&&Zi(e.then)&&Zi(e.catch)}function cu(e){return new RegExp(/(http|https):\/\/([\w.]+\/?)\S*/).test(e)}function su(e){return new RegExp(/(data):image\/([\w.]+\/?)\S*/).test(e)}function lu(e){return""===bi(l(e||""," ",""))}function fu(e){return!!Ji(e)||(!!Xi(e)||!nu(e)&&(!!ou(e)&&au(e)))}function du(e,t){let n=!1;return nu(e)?(e.some(e=>e===t&&(n=!0,!0)),n):n}function bu(e,t){if(lu(t))return!1;return du(Object.keys(e),t)}function pu(e){return(new Date).toISOString().slice(0,10)===e.toISOString().slice(0,10)}function hu(e,t,n){return n.getTime()>=e.getTime()&&n.getTime()<=t.getTime()}function mu(e){return 6===e.getDay()||0===e.getDay()}function gu(e,t){return e.getUTCFullYear()===new Date(`${t}`).getUTCFullYear()}function yu(e){return"[object AsyncFunction]"===Object.prototype.toString.call(e)}const vu="easy-soft-utility",wu={whetherList:[{key:"b24a21cf-a45c-4b6a-9993-f6953d7eb1ee",flag:"0",name:"否",alias:"否",description:"",availability:1},{key:"ea1b8b1e-7b78-4b29-bbce-57ef0b25e23c",flag:"1",name:"是",alias:"是",description:"",availability:1}]},Su={super:{permission:"super"}},Cu={ALIPAY:"ALIPAY",JD:"JD",QQ:"QQ",RN:"RN",SWAN:"SWAN",TT:"TT",UNKNOWN:"UNKNOWN",WEAPP:"WEAPP",WEB:"WEB"},xu={center:"center",left:"left",right:"right"},Au={bottom:"bottom",middle:"middle",top:"top"},Du={dataLoading:!1,dispatchComplete:!0,externalData:null,firstLoadSuccess:!1,loadApiPath:"",loadSuccess:!1,metaData:null,metaExtra:null,metaListData:[],metaOriginalData:null,paging:!1,processing:!1,refreshing:!1,registering:!1,reloading:!1,searching:!1,urlParams:null},$u={dataLoading:!0},Mu={real:"real",simulation:"simulation"},ju={get:"GET",post:"POST",put:"PUT",delete:"DELETE",trace:"TRACE",connect:"CONNECT"},Eu="0",_u=0,ku="1970-01-01 00:00",Ou={number:"number",whetherNumber:"whetherNumber",whetherString:"whetherString",datetime:"datetime",string:"string",moment:"moment",money:"money",array:"array",boolean:"boolean"},Iu={money:"money",datetime:"datetime",chineseMoney:"chineseMoney",percentage:"percentage"},Nu={yearMonthDayHourMinuteSecond:"YYYY-MM-DD HH:mm:ss",yearMonthDayHourMinute:"YYYY-MM-DD HH:mm",yearMonthDay:"YYYY-MM-DD",yearMonth:"YYYY-MM",year:"YYYY",monthDayHourMinuteSecond:"YYYY-MM-DD HH:mm:ss",monthDayHourMinute:"MM-DD HH:mm",monthDay:"MM-DD",hourMinute:"HH:mm",hourMinuteSecond:"HH:mm:ss",month:"MM",day:"DD",hour:"HH",minute:"mm",second:"ss"},Tu={moveUp:"moveUp",moveDown:"moveDown"},Fu={no:"0",yes:"1"},Pu={no:0,yes:1},zu={trace:"trace",debug:"debug",warn:"warn",error:"error",exception:"exception",info:"info",config:"config",execute:"execute",stack:"stack",develop:"develop",callTrack:"callTrack",callTrace:"callTrace",callResult:"callResult",render:"render"},Lu={auto:"auto",text:"text",object:"object"},Ru={open:"open",loading:"loading",info:"info",warning:"warning",warn:"warn",success:"success",error:"error"},Hu={open:"open",loading:"loading",info:"info",warning:"warning",warn:"warn",success:"success",error:"error"},Yu="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABLCAYAAACGGCK3AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAA0SURBVHhe7cExAQAAAMKg9U9tDQ8gAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIA3NXV7AAHfw7zWAAAAAElFTkSuQmCC",Uu=Yu,Wu=[19416,19168,42352,21717,53856,55632,91476,22176,39632,21970,19168,42422,42192,53840,119381,46400,54944,44450,38320,84343,18800,42160,46261,27216,27968,109396,11104,38256,21234,18800,25958,54432,59984,28309,23248,11104,100067,37600,116951,51536,54432,120998,46416,22176,107956,9680,37584,53938,43344,46423,27808,46416,86869,19872,42416,83315,21168,43432,59728,27296,44710,43856,19296,43748,42352,21088,62051,55632,23383,22176,38608,19925,19152,42192,54484,53840,54616,46400,46752,103846,38320,18864,43380,42160,45690,27216,27968,44870,43872,38256,19189,18800,25776,29859,59984,27480,21952,43872,38613,37600,51552,55636,54432,55888,30034,22176,43959,9680,37584,51893,43344,46240,47780,44368,21977,19360,42416,86390,21168,43312,31060,27296,44368,23378,19296,42726,42208,53856,60005,54576,23200,30371,38608,19195,19152,42192,118966,53840,54560,56645,46496,22224,21938,18864,42359,42160,43600,111189,27936,44448,84835,37744,18936,18800,25776,92326,59984,27424,108228,43744,41696,53987,51552,54615,54432,55888,23893,22176,42704,21972,21200,43448,43344,46240,46758,44368,21920,43940,42416,21168,45683,26928,29495,27296,44368,84821,19296,42352,21732,53600,59752,54560,55968,92838,22224,19168,43476,41680,53584,62034,54560],qu=[31,28,31,30,31,30,31,31,30,31,30,31],Bu=["甲","乙","丙","丁","戊","己","庚","辛","壬","癸"],Gu=["子","丑","寅","卯","辰","巳","午","未","申","酉","戌","亥"],Vu=["鼠","牛","虎","兔","龙","蛇","马","羊","猴","鸡","狗","猪"],Ku=["小寒","大寒","立春","雨水","惊蛰","春分","清明","谷雨","立夏","小满","芒种","夏至","小暑","大暑","立秋","处暑","白露","秋分","寒露","霜降","立冬","小雪","大雪","冬至"],Zu=["9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c3598082c95f8c965cc920f","97bd0b06bdb0722c965ce1cfcc920f","b027097bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c359801ec95f8c965cc920f","97bd0b06bdb0722c965ce1cfcc920f","b027097bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c359801ec95f8c965cc920f","97bd0b06bdb0722c965ce1cfcc920f","b027097bd097c36b0b6fc9274c91aa","9778397bd19801ec9210c965cc920e","97b6b97bd19801ec95f8c965cc920f","97bd09801d98082c95f8e1cfcc920f","97bd097bd097c36b0b6fc9210c8dc2","9778397bd197c36c9210c9274c91aa","97b6b97bd19801ec95f8c965cc920e","97bd09801d98082c95f8e1cfcc920f","97bd097bd097c36b0b6fc9210c8dc2","9778397bd097c36c9210c9274c91aa","97b6b97bd19801ec95f8c965cc920e","97bcf97c3598082c95f8e1cfcc920f","97bd097bd097c36b0b6fc9210c8dc2","9778397bd097c36c9210c9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c3598082c95f8c965cc920f","97bd097bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c3598082c95f8c965cc920f","97bd097bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c359801ec95f8c965cc920f","97bd097bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c359801ec95f8c965cc920f","97bd097bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c359801ec95f8c965cc920f","97bd097bd07f595b0b6fc920fb0722","9778397bd097c36b0b6fc9210c8dc2","9778397bd19801ec9210c9274c920e","97b6b97bd19801ec95f8c965cc920f","97bd07f5307f595b0b0bc920fb0722","7f0e397bd097c36b0b6fc9210c8dc2","9778397bd097c36c9210c9274c920e","97b6b97bd19801ec95f8c965cc920f","97bd07f5307f595b0b0bc920fb0722","7f0e397bd097c36b0b6fc9210c8dc2","9778397bd097c36c9210c9274c91aa","97b6b97bd19801ec9210c965cc920e","97bd07f1487f595b0b0bc920fb0722","7f0e397bd097c36b0b6fc9210c8dc2","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf7f1487f595b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf7f1487f595b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf7f1487f531b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf7f1487f531b0b0bb0b6fb0722","7f0e397bd07f595b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c9274c920e","97bcf7f0e47f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","9778397bd097c36b0b6fc9210c91aa","97b6b97bd197c36c9210c9274c920e","97bcf7f0e47f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","9778397bd097c36b0b6fc9210c8dc2","9778397bd097c36c9210c9274c920e","97b6b7f0e47f531b0723b0b6fb0722","7f0e37f5307f595b0b0bc920fb0722","7f0e397bd097c36b0b6fc9210c8dc2","9778397bd097c36b0b70c9274c91aa","97b6b7f0e47f531b0723b0b6fb0721","7f0e37f1487f595b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc9210c8dc2","9778397bd097c36b0b6fc9274c91aa","97b6b7f0e47f531b0723b0b6fb0721","7f0e27f1487f595b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b7f0e47f531b0723b0787b0721","7f0e27f0e47f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","9778397bd097c36b0b6fc9210c91aa","97b6b7f0e47f149b0723b0787b0721","7f0e27f0e47f531b0723b0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","9778397bd097c36b0b6fc9210c8dc2","977837f0e37f149b0723b0787b0721","7f07e7f0e47f531b0723b0b6fb0722","7f0e37f5307f595b0b0bc920fb0722","7f0e397bd097c35b0b6fc9210c8dc2","977837f0e37f14998082b0787b0721","7f07e7f0e47f531b0723b0b6fb0721","7f0e37f1487f595b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc9210c8dc2","977837f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","977837f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","977837f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","977837f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","977837f0e37f14998082b0787b06bd","7f07e7f0e47f149b0723b0787b0721","7f0e27f0e47f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","977837f0e37f14998082b0723b06bd","7f07e7f0e37f149b0723b0787b0721","7f0e27f0e47f531b0723b0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","977837f0e37f14898082b0723b02d5","7ec967f0e37f14998082b0787b0721","7f07e7f0e47f531b0723b0b6fb0722","7f0e37f1487f595b0b0bb0b6fb0722","7f0e37f0e37f14898082b0723b02d5","7ec967f0e37f14998082b0787b0721","7f07e7f0e47f531b0723b0b6fb0722","7f0e37f1487f531b0b0bb0b6fb0722","7f0e37f0e37f14898082b0723b02d5","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e37f1487f531b0b0bb0b6fb0722","7f0e37f0e37f14898082b072297c35","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e37f0e37f14898082b072297c35","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e37f0e366aa89801eb072297c35","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f149b0723b0787b0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e37f0e366aa89801eb072297c35","7ec967f0e37f14998082b0723b06bd","7f07e7f0e47f149b0723b0787b0721","7f0e27f0e47f531b0723b0b6fb0722","7f0e37f0e366aa89801eb072297c35","7ec967f0e37f14998082b0723b06bd","7f07e7f0e37f14998083b0787b0721","7f0e27f0e47f531b0723b0b6fb0722","7f0e37f0e366aa89801eb072297c35","7ec967f0e37f14898082b0723b02d5","7f07e7f0e37f14998082b0787b0721","7f07e7f0e47f531b0723b0b6fb0722","7f0e36665b66aa89801e9808297c35","665f67f0e37f14898082b0723b02d5","7ec967f0e37f14998082b0787b0721","7f07e7f0e47f531b0723b0b6fb0722","7f0e36665b66a449801e9808297c35","665f67f0e37f14898082b0723b02d5","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e36665b66a449801e9808297c35","665f67f0e37f14898082b072297c35","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e26665b66a449801e9808297c35","665f67f0e37f1489801eb072297c35","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722"],Qu=["日","一","二","三","四","五","六","七","八","九","十"],Ju=["初","十","廿","卅"],Xu=["正","二","三","四","五","六","七","八","九","十","冬","腊"];var ec,tc,nc,rc,oc,ac,ic,uc,cc,sc,lc,fc,dc,bc,pc,hc;function mc(){if(rc)return nc;rc=1;var e=tc?ec:(tc=1,ec=function(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var a=Array(o);++r<o;)a[r]=e[r+t];return a});return nc=function(t,n,r){var o=t.length;return r=void 0===r?o:r,!n&&r>=o?t:e(t,n,r)}}function gc(){if(ac)return oc;ac=1;var e=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");return oc=function(t){return e.test(t)}}function yc(){if(fc)return lc;fc=1;var e=uc?ic:(uc=1,ic=function(e){return e.split("")}),t=gc(),n=function(){if(sc)return cc;sc=1;var e="\\ud800-\\udfff",t="["+e+"]",n="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",r="\\ud83c[\\udffb-\\udfff]",o="[^"+e+"]",a="(?:\\ud83c[\\udde6-\\uddff]){2}",i="[\\ud800-\\udbff][\\udc00-\\udfff]",u="(?:"+n+"|"+r+")?",c="[\\ufe0e\\ufe0f]?",s=c+u+"(?:\\u200d(?:"+[o,a,i].join("|")+")"+c+u+")*",l="(?:"+[o+n+"?",n,a,i,t].join("|")+")",f=RegExp(r+"(?="+r+")|"+l+s,"g");return cc=function(e){return e.match(f)||[]}}();return lc=function(r){return t(r)?n(r):e(r)}}function vc(){if(bc)return dc;bc=1;var e=mc(),t=gc(),n=yc(),r=Ta();return dc=function(o){return function(a){a=r(a);var i=t(a)?n(a):void 0,u=i?i[0]:a.charAt(0),c=i?e(i,1).join(""):a.slice(1);return u[o]()+c}}}var wc,Sc,Cc=ve(function(){if(hc)return pc;hc=1;var e=vc()("toLowerCase");return pc=e}());var xc=ve(function(){if(Sc)return wc;Sc=1;var e=vc()("toUpperCase");return wc=e}());function Ac(e){return L(e,{algorithm:"sha1"})}function Dc(e){return L(e,{algorithm:"md5"})}function $c(e,t=null){const n=P(e),r=Number.isNaN(n)?0:n;return null==(t||null)?r:function(e,t){const n=Math.pow(10,t+1),r=Math.floor($c(e)*n);return 10*Math.round(r/10)/n}(r,t)}function Mc(e,t,n){if(!qi(e))throw new Error("value must be number value");let r=$c(e);return void 0!==t&&(r=Math.max(e,t)),void 0!==n&&(r=Math.min(r,n)),r}function jc(e){return Gi(e)?Number.parseFloat(e,10):0}function Ec(e){return`${jc(1e3*$c(e)/10)}%`}function _c(e){return Xi(e)?"":z(e)}function kc(e){return!!e}function Oc(e){return _c(e).toUpperCase()}function Ic(e){return xc(e)}function Nc(e){return _c(e).toLowerCase()}function Tc(e){return Cc(e)}function Fc(e){return uu(e)?e:Promise.resolve(e)}function Pc(e,t){return Ja(e,t)}function zc(e){return[...new Set(e)]}const Lc="must be an object",Rc="must be a string",Hc="must be a date",Yc="must be function",Uc="must be array",Wc="disallow empty";function qc({value:e=null,ancillaryInformation:t=""}){return`${null==(e||null)?"":", current is "+typeof e}${lu(t)?"":`, ${t}`}`}const Bc={buildDisallowEmpty:({name:e="parameter",ancillaryInformation:t=""})=>`${e} ${Wc}${qc({value:null,ancillaryInformation:t})}`,buildMustObject:({name:e="parameter",value:t=null,ancillaryInformation:n=""})=>`${e} ${Lc}${qc({value:t,ancillaryInformation:n})}`,buildMustString:({name:e="parameter",value:t=null,ancillaryInformation:n=""})=>`${e} ${Rc}${qc({value:t,ancillaryInformation:n})}`,buildMustDate:({name:e="parameter",value:t=null,ancillaryInformation:n=""})=>`${e} ${Hc}${qc({value:t,ancillaryInformation:n})}`,buildMustFunction:({name:e="parameter",value:t=null,ancillaryInformation:n=""})=>`${e} ${Yc}${qc({value:t,ancillaryInformation:n})}`,buildMustArray:({name:e="parameter",value:t=null,ancillaryInformation:n=""})=>`${e} ${Uc}${qc({value:t,ancillaryInformation:n})}`};function Gc(e,t,...n){return`${[e,...n].filter(e=>tu(e)&&!lu(e)).join("::")}::${lu(t)?"":t}`}function Vc({textCollection:e,separator:t=","}){if(!R(e)||ru(e))return"";const n=[];for(const t of e){const e=_c(t);lu(e)||n.push(e)}return n.length<=0?"":n.join(t)}function Kc(...e){return Vc({textCollection:e,separator:" -> "})}function Zc(e,t){return Kc(_c(e),t)}function Qc(e){return lu(e)?"":`data:image/png;base64,${e}`}function Jc(e){return lu(e)?"":`data:image/jpeg;base64,${e}`}const Xc="loggerAssist",es={loggerDisplaySwitchPromptSetInformationComplete:!1,loggerDisplaySwitchSetComplete:!1,display:!1},ts={config:"#F8C471",execute:"#C39BD3",info:"#89CA78",warn:"#F16F17",debug:"#00768F",trace:"#596032",error:"#E33F3E",exception:"#DC428E",stack:"#81977c",develop:"#9f6027",callTrack:"#889a14",callTrace:"#596032",render:"#7093f4"};function ns({text:e,color:t="",dataDescription:n="",ancillaryInformation:r=""}){const o=tu(e)?e:ki(e);let a="";a=nu(r)?Kc(o,...r):Kc(o,r),lu(ns)||console.log("%c%s",`color:${t};`,`${lu(n)?"":`[${Oc(n)}] `}${a}`)}function rs({data:e,color:t="",dataDescription:n="",ancillaryInformation:r=""}){return nu(e)?(ns({text:ru(e)?"":"check the following array data",color:t,dataDescription:n,ancillaryInformation:r}),void(ru(e)||console.log(e))):ou(e)?(ns({text:au(e)?"":"check the following object data",color:t,dataDescription:n,ancillaryInformation:r}),void(au(e)||console.log(e))):(ns({text:"check the following data",color:t,dataDescription:n,ancillaryInformation:r}),void console.log(e))}function os(e,t=Lu.auto,n=zu.debug,r="",o={}){const a=Ss(),{color:i="",prefix:u=""}={color:"",prefix:"",...o};if(n!=zu.develop&&!es.loggerDisplaySwitchSetComplete&&!es.loggerDisplaySwitchPromptSetInformationComplete){ns({text:Gc(vu,Kc("logData","logger display switch default is false, if want to display log, please set it before first log, use setLoggerDisplaySwitch to set it, this message only show once"),Xc),color:i||ts.develop,dataDescription:u||zu.develop,ancillaryInformation:""});try{throw new Error("please set use setLoggerDisplaySwitch")}catch(e){console.error(e)}es.loggerDisplaySwitchPromptSetInformationComplete=!0}if(!a&&!du([zu.exception,zu.develop],n))return;let c=null==(t||null)||lu(t)?Lu.auto:t;if(!du([Lu.auto,Lu.text,Lu.object],c))throw new Error(`Invalid log display mode -> ${c}`);if(c===Lu.auto&&(c=tu(e)?Lu.text:Lu.object),n!==zu.exception)n===zu.develop&&Ri()&&(c===Lu.text&&ns({text:e,color:i||ts.develop,dataDescription:u||"develop",ancillaryInformation:r}),c===Lu.object&&rs({data:e,color:i||ts.develop,dataDescription:u||"develop",ancillaryInformation:r})),a&&(n===zu.render&&(c===Lu.text&&ns({text:e,color:i||ts.render,dataDescription:u||"render",ancillaryInformation:r}),c===Lu.object&&rs({data:e,color:i||ts.render,dataDescription:u||"render",ancillaryInformation:r})),n===zu.trace&&(c===Lu.text&&ns({text:e,color:i||ts.trace,dataDescription:u||"trace",ancillaryInformation:r}),c===Lu.object&&rs({data:e,color:i||ts.trace,dataDescription:u||"trace",ancillaryInformation:r})),n===zu.callTrack&&(c===Lu.text&&ns({text:e,color:i||ts.callTrack,dataDescription:u||"callTrack",ancillaryInformation:r}),c===Lu.object&&rs({data:e,color:i||ts.callTrack,dataDescription:u||"callTrack",ancillaryInformation:r})),n===zu.callTrace&&(c===Lu.text&&ns({text:e,color:i||ts.callTrace,dataDescription:u||"callTrace",ancillaryInformation:r}),c===Lu.object&&rs({data:e,color:i||ts.callTrace,dataDescription:u||"callTrace",ancillaryInformation:r})),n===zu.debug&&(c===Lu.text&&ns({text:e,color:i||ts.debug,dataDescription:u||"debug",ancillaryInformation:r}),c===Lu.object&&rs({data:e,color:i||ts.debug,dataDescription:u||"debug",ancillaryInformation:r})),n===zu.warn&&(c===Lu.text&&ns({text:e,color:i||ts.warn,dataDescription:u||"warn",ancillaryInformation:r}),c===Lu.object&&rs({data:e,color:i||ts.warn,dataDescription:u||"warn",ancillaryInformation:r})),n===zu.info&&(c===Lu.text&&ns({text:e,color:i||ts.info,dataDescription:u||"info",ancillaryInformation:r}),c===Lu.object&&rs({data:e,color:i||ts.info,dataDescription:u||"info",ancillaryInformation:r})),n===zu.execute&&(c===Lu.text&&ns({text:e,color:i||ts.execute,dataDescription:u||"execute",ancillaryInformation:r}),c===Lu.object&&rs({data:e,color:i||ts.execute,dataDescription:u||"execute",ancillaryInformation:r})),n===zu.config&&(c===Lu.text&&ns({text:e,color:i||ts.config,dataDescription:u||"config",ancillaryInformation:r}),c===Lu.object&&rs({data:e,color:i||ts.config,dataDescription:u||"config",ancillaryInformation:r})),n===zu.stack&&(c===Lu.text&&ns({text:e,color:i||ts.stack,dataDescription:u||"stack",ancillaryInformation:r}),c===Lu.object&&rs({data:e,color:i||ts.stack,dataDescription:u||"stack",ancillaryInformation:r}),console.trace("stack call trace as bellow")),n===zu.error&&(c===Lu.text&&ns({text:e,color:i||ts.error,dataDescription:u||"error",ancillaryInformation:r}),c===Lu.object&&rs({data:e,color:i||ts.error,dataDescription:u||"error",ancillaryInformation:r})));else{c===Lu.text&&ns({text:e,color:i||ts.exception,dataDescription:u||"exception",ancillaryInformation:r}),c===Lu.object&&rs({data:e,color:i||ts.exception,dataDescription:u||"exception",ancillaryInformation:r});try{throw new Error("an error occur, check the above error message, the stack information is as follows")}catch(e){console.error(e)}}}function as(e,t="",n={}){tu(e)?vs(e,zu.warn,t,n):ws(e,zu.warn,t,n)}function is(e,t="",n={}){tu(e)?vs(e,zu.info,t,n):ws(e,zu.info,t,n)}function us(e,t="",n={}){tu(e)?vs(e,zu.config,t,n):ws(e,zu.config,t,n)}function cs(e,t="",n={}){tu(e)?vs(e,zu.develop,t,n):ws(e,zu.develop,t,n)}function ss(e,t="",n={}){tu(e)?vs(e,zu.stack,t,n):ws(e,zu.stack,t,n)}function ls(e,t="",n={}){tu(e)?vs(e,zu.trace,t,n):ws(e,zu.trace,t,n)}function fs(e,t="",n={}){tu(e)?vs(e,zu.callTrack,t,n):ws(e,zu.callTrack,t,n)}function ds(e,t="",n={}){tu(e)?vs(e,zu.callTrace,t,n):ws(e,zu.callTrace,t,n)}function bs(e,t="",n={}){tu(e)?vs(e,zu.callResult,t,n):ws(e,zu.callResult,t,n)}function ps(e,t="",n={}){tu(e)?vs(e,zu.render,t,n):ws(e,zu.render,t,n)}function hs(e,t="",n={}){tu(e)?vs(e,zu.debug,t,n):ws(e,zu.debug,t,n)}function ms(e,t="",n={}){tu(e)?vs(e,zu.execute,t,n):ws(e,zu.execute,t,n)}function gs(e,t="",n={}){tu(e)?vs(e,zu.error,t,n):ws(e,zu.error,t,n)}function ys(e,t="",n={}){tu(e)?vs(e,zu.exception,t,n):ws(e,zu.exception,t,n)}function vs(e,t=zu.trace,n="",r={}){os(e,Lu.text,t,n,r)}function ws(e,t=zu.trace,n="",r={}){os(e,Lu.object,t,n,r)}function Ss(){return kc(es.display)}function Cs(e){cs(Gc(vu,"setLoggerDisplaySwitch",Xc),kc(e)),es.display=kc(e),es.loggerDisplaySwitchSetComplete=!0}function xs(e,t="CONSOLE LOG",n="================================="){const r=`${n}${lu(t)?"":` ${t} `}${n}`;console.log(r),console.log(e)}const As="runtimeAssist",Ds={runtimeDataStorage:null,runtimeDataStorageSetComplete:!1};function $s(e){return Gc(vu,e,As)}function Ms(t){if(!ou(t))throw cs($s("setDataStorage"),"parameter must be object"),new Error(Gc(vu,"setDataStorage -> data storage mount target must be a object, current type is "+typeof target,As));cs($s("setDataStorage"),typeof t),t.runtimeDataStorage={},Ds.runtimeDataStorage=t.runtimeDataStorage,Ds.runtimeDataStorageSetComplete=!0,function(t){if(null==(t||null))throw new Error("runtimeDataStorage has not set complete");t.localRuntimeCache=new e,t.applicationInitialConfig={},t.externalConfigList=[],t.applicationConfigMergeComplete=!1,t.applicationMergeConfig={},t.lastRequestExceptionMessage={code:-1,message:"",time:Date.now()}}(Ds.runtimeDataStorage)}function js(){if(Xi(Ds.runtimeDataStorage)||!Ds.runtimeDataStorageSetComplete)throw new Error(Gc(vu,"runtimeDataStorage has not set,use setRuntimeDataStorage to set it",As));return Ds.runtimeDataStorage}function Es(){return Ds.runtimeDataStorage.lastRequestExceptionMessage||{code:-1,message:"",time:Date.now()}}function _s({code:e,message:t,time:n}){Ds.runtimeDataStorage.lastRequestExceptionMessage={code:e,message:t,time:n}}function ks(e,t=""){return Gc(vu,Zc(e,t),"cacheAssist")}function Os(e){return lu(e)?(as(ks("checkKey","cache key is null or empty")),!1):!(!tu(e)&&!qi(e))||(as(ks("checkKey","cache key must be string or number, current type id "+typeof e)),!1)}function Is(){let e=null;try{e=js()}catch{return!1}return!Xi(e)&&!!e.localRuntimeCache}function Ns(){const t=js();return t.localRuntimeCache||(t.localRuntimeCache=new e),t.localRuntimeCache}function Ts({key:e}){const t=Ns();if(null==t)throw new Error("cache pool not exist");return t.has(e)}function Fs({key:e,value:t,expiration:n=0}){if(!Os(e))return;const r=Ns();if(null==r)throw new Error("cache pool not exist");return r.set(e,t,n)}function Ps(e){if(!nu(e))throw new Error("setMultiCache: list must be array");if(e.length<=0)return!0;const t=[];for(const n of e){const{key:e,value:r,expiration:o}={key:"",value:"",expiration:0,...n};if(!lu(e)){if(!Os(e))continue;t.push({key:e,value:r,ttl:o})}}if(t.length<=0)return!1;const n=Ns();if(null==n)throw new Error("cache pool not exist");return n.mset(t)}function zs({key:e}){const t=Ns();if(null==t)throw new Error("cache pool not exist");return t.getTtl(e)}function Ls({key:e,expiration:t}){const n=Ns();if(null==n)throw new Error("cache pool not exist");return n.ttl(e,t)}function Rs({key:e}){const t=Ns();if(null==t)throw new Error("cache pool not exist");return t.get(e)}function Hs(){const e=Ns();if(null==e)throw new Error("cache pool not exist");return e.keys()}function Ys(e){if(!nu(e))throw new Error("getMultiCache: list must be array");const t=Ns();if(null==t)throw new Error("cache pool not exist");return t.mget(e)}function Us({key:e}){const t=Ns();if(null==t)throw new Error("cache pool not exist");return t.take(e)}function Ws({key:e}){if(!Os(e))return;const t=Ns();if(null==t)throw new Error("cache pool not exist");return t.del(e)}function qs(e){if(!nu(e))throw new Error("deleteMultiCache: list must be array");const t=Ns();if(null==t)throw new Error("cache pool not exist");return t.del(e)}function Bs(){const e=Ns();if(null==e)throw new Error("cache pool not exist");return e.flushAll()}function Gs(){const e=Ns();if(null==e)throw new Error("cache pool not exist");return e.getStats()}const Vs="localStorageAssist";function Ks(e,t=""){return Gc(vu,Zc(e,t),Vs)}const Zs={getStorage:e=>{ys(Gc(vu,"localStorageGetter need config, use setLocalStorageGetter to set it",Vs))},setStorage:(e,t)=>{ys(Gc(vu,"localStorageSetter need config, use setLocalStorageSetter to set it",Vs))},removeStorage:e=>{ys(Gc(vu,"localStorageRemover need config, use setLocalStorageRemover to set it",Vs))},flushStorage:()=>{ys(Gc(vu,"localStorageFlusher need config, use setLocalStorageFlusher to set it",Vs))}};function Qs(e){cs(Ks("setLocalStorageGetter"),typeof e),Zs.getStorage=e}function Js(e){cs(Ks("setLocalStorageSetter"),typeof e),Zs.setStorage=e}function Xs(e){cs(Ks("setLocalStorageRemover"),typeof e),Zs.removeStorage=e}function el(e){cs(Ks("setLocalStorageFlusher"),typeof e),Zs.flushStorage=e}function tl(e){try{return Zs.getStorage(e)}catch(t){throw ys({key:e,e:t}),t}}function nl(e){const t=tl(e);return lu(t)?null:JSON.parse(t||"{}")}function rl(e,t){Zs.setStorage(e,t)}function ol(e,t){Zs.setStorage(e,ki(t||{}))}function al(e){Zs.removeStorage(e)}function il(){Zs.flushStorage()}const ul={accessWayCollection:"ea-accessWayCollection"};function cl(){let e={};const t=ul.accessWayCollection;if(Ts({key:t})&&(e=Rs({key:t}),nu(e)))return e;const n=nl(t);return null==(n||null)?{...Su}:(e={...n||null,...Su},Fs({key:t,value:e}),e)}function sl(e){ol(ul.accessWayCollection,e||{})}const ll="loggerAssist";function fl(e,t=""){return Gc(vu,Zc(e,t),ll)}function dl({text:e}){return lu(e||null)&&(cs(Gc(vu,Zc("checkMessagePromptData option text disallow empty","{ text }"),ll)),ss("checkMessagePromptData call stack")),!0}const bl={durationConversionRatio:1,showOpenMessage:({text:e,duration:t=1500,onClose:n=()=>{}})=>{is(e)},showLoadingMessage:({text:e,duration:t=1500,onClose:n=()=>{}})=>{is(e)},showInfoMessage:({text:e,duration:t=1500,onClose:n=()=>{}})=>{is(e)},showSuccessMessage:({text:e,duration:t=1500,onClose:n=()=>{}})=>{is(e)},showWarnMessage:({text:e,duration:t=1500,onClose:n=()=>{}})=>{as(e)},showWarningMessage:({text:e,duration:t=1500,onClose:n=()=>{}})=>{as(e)},showErrorMessage:({text:e,duration:t=1500,onClose:n=()=>{}})=>{gs(e)},setErrorMessageDisplayMonitorComplete:!1};function pl(e){let t=1;if(!qi(e)||$c(e)<=0){cs(Gc(vu,Zc("setDurationConversionRatio","parameter ratio must be number and getter than 0"),ll)),t=1}else t=e;cs("setDurationConversionRatio",$c(t)),bl.durationConversionRatio=$c(t)}function hl(e){cs(fl("setOpenMessageDisplayMonitor"),typeof e),bl.showOpenMessage=e}function ml(e){cs(fl("setLoadingMessageDisplayMonitor"),typeof e),bl.showLoadingMessage=e}function gl(e){cs(fl("setInfoMessageDisplayMonitor"),typeof e),bl.showInfoMessage=e}function yl(e){cs(fl("setSuccessMessageDisplayMonitor"),typeof e),bl.showSuccessMessage=e}function vl(e){cs(fl("setWarnMessageDisplayMonitor"),typeof e),bl.showWarnMessage=e}function wl(e){cs(fl("setWarningMessageDisplayMonitor"),typeof e),bl.showWarningMessage=e}function Sl(e){cs(fl("setErrorMessageDisplayMonitor"),typeof e),bl.showErrorMessage=e,bl.setErrorMessageDisplayMonitorComplete=!0}function Cl(e){xl({text:e})}function xl({text:e,duration:t=1500,onClose:n=()=>{}}){Zi(bl.showOpenMessage)&&(dl({text:e}),bl.showOpenMessage({text:e,duration:t/bl.durationConversionRatio,onClose:n}))}function Al(e){Dl({text:e})}function Dl({text:e,duration:t=1500,onClose:n=()=>{}}){Zi(bl.showLoadingMessage)&&(dl({text:e}),bl.showLoadingMessage({text:e,duration:t/bl.durationConversionRatio,onClose:n}))}function $l(e){Ml({text:e})}function Ml({text:e,duration:t=1500,onClose:n=()=>{}}){Zi(bl.showInfoMessage)&&(dl({text:e}),bl.showInfoMessage({text:e,duration:t/bl.durationConversionRatio,onClose:n}))}function jl(e){El({text:e})}function El({text:e,duration:t=1500,onClose:n=()=>{}}){Zi(bl.showSuccessMessage)&&(dl({text:e}),bl.showSuccessMessage({text:e,duration:t/bl.durationConversionRatio,onClose:n}))}function _l(e){kl({text:e})}function kl({text:e,duration:t=1500,onClose:n=()=>{}}){Zi(bl.showWarnMessage)&&(dl({text:e}),bl.showWarnMessage({text:e,duration:t/bl.durationConversionRatio,onClose:n}))}function Ol(e){Il({text:e})}function Il({text:e,duration:t=1500,onClose:n=()=>{}}){Zi(bl.showWarningMessage)&&(dl({text:e}),bl.showWarningMessage({text:e,duration:t/bl.durationConversionRatio,onClose:n}))}function Nl(e){Tl({text:e})}function Tl({text:e,duration:t=1500,onClose:n=()=>{}}){Zi(bl.showErrorMessage)&&(dl({text:e}),bl.showErrorMessage({text:e,duration:t/bl.durationConversionRatio,onClose:n}))}function Fl(e){Pl({text:e})}function Pl({text:e}){lu(e||"")||(bl.setErrorMessageDisplayMonitorComplete&&Tl({text:e}),ys({text:e}))}const zl="applicationAssist",Ll={externalConfigListSetComplete:!1,initialConfigSetComplete:!1};function Rl(e,t=""){return Gc(vu,Zc(e,t),zl)}function Hl(e,t){if(!nu(t))return e;let n={...e};for(const e of t)ou(e)&&(n={...n,...e});return n}function Yl(e){if(cs(Rl("setApplicationInitialConfig"),typeof e),!ou(e)){const e="setApplicationInitialConfig -> config must be object";Ri()&&ns({text:Gc(vu,e,zl),color:ts.warn,dataDescription:"warn",ancillaryInformation:""}),Nl(e)}js().applicationInitialConfig=e,Ll.initialConfigSetComplete=!0}function Ul(e){if(Ll.externalConfigListSetComplete)return cs(Rl("setApplicationExternalConfigList"),"reset is not allowed, it can be set only once"),void Nl(Zc("setApplicationExternalConfigList","reset is not allowed, it can be set only once"));cs(Rl("setApplicationExternalConfigList"),typeof e);js().externalConfigList=nu(e)?e:ou(e)?[e]:[],Ll.externalConfigListSetComplete=!0}function Wl(){if(!Ll.initialConfigSetComplete)throw new Error(Gc(vu,"applicationInitialConfig has not set,use setApplicationInitialConfig to set it",zl));return js().applicationInitialConfig||{}}function ql(e){if(!Ll.externalConfigListSetComplete)return cs(Rl("appendApplicationExternalConfig"),"appendApplicationExternalConfig is not allowed when applicationConfiguration.externalConfigListSetComplete is false"),void Nl(Zc("appendApplicationExternalConfig","appendApplicationExternalConfig is not allowed when applicationConfiguration.externalConfigListSetComplete is false"));cs(Rl("appendApplicationExternalConfig"),typeof e),ou(e)&&!au(e)||_l(Zc("appendApplicationExternalConfig","appendApplicationExternalConfig ignore when config is null or empty or not object"));const t=js();t.externalConfigList=[...t.externalConfigList,e],t.applicationMergeConfig=Hl(Wl(),t.externalConfigList)}function Bl(){if(!Ll.externalConfigListSetComplete)throw new Error(Gc(vu,"applicationExternalConfigList has not set,use setApplicationExternalConfigList to set it",zl));const e=js();return nu(e.externalConfigList)?e.externalConfigList:[]}function Gl(){const e=js();return e.applicationConfigMergeComplete||(cs(Rl("merge application configuration")),e.applicationMergeConfig=Hl(Wl(),e.externalConfigList),e.applicationConfigMergeComplete=!0),e.applicationMergeConfig||{}}const Vl="ea-authorityCollection";function Kl(e){ms({authority:e},function(e,t=""){return Gc(vu,Zc(e,t),"authorityLocalAssist")}("setLocalAuthorityCollection"));ol(Vl,"string"==typeof e?[e]:e),Bs()}function Zl(){const e=tl(Vl);let t;try{e&&(t=JSON.parse(e))}catch{t=e}return"string"==typeof t?[t]:nu(t)?[...t]:[]}function Ql(){ms("removeLocalAuthorityCollection");al(Vl)}function Jl(e){let t=e;if(null==(t||null)&&(t=ku,cs({parameter:e},"easy-soft-utility::toDatetime",`parameter is not time, use default value ${ku}`)),eu(t))return new Date(t);if(tu(t)){if(t.indexOf("T")<0){const e=t.replaceAll("-","/");return new Date(e)}}return qi(t)?new Date($c(t)):new Date(t)}function Xl({target:e,convert:t}){if(Zi(t))return t(e);if(tu(t))switch(t){case Ou.number:return $c(e);case Ou.whetherNumber:return $c(e)===Pu.yes?Pu.yes:Pu.no;case Ou.whetherString:return $c(e)===Pu.yes?Fu.yes:Fu.no;case Ou.datetime:return Jl(e);case Ou.string:return _c(e);case Ou.money:return jc(e);case Ou.array:return null==(e||null)?[]:nu(e)?e:[e];default:return e}return e}var ef,tf={exports:{}};var nf,rf,of,af=ve(ef?tf.exports:(ef=1,tf.exports=(nf={year:0,month:1,day:2,hour:3,minute:4,second:5},rf={},function(e,t,n){var r,o=function(e,t,n){void 0===n&&(n={});var r=new Date(e),o=function(e,t){void 0===t&&(t={});var n=t.timeZoneName||"short",r=e+"|"+n,o=rf[r];return o||(o=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:n}),rf[r]=o),o}(t,n);return o.formatToParts(r)},a=function(e,t){for(var r=o(e,t),a=[],i=0;i<r.length;i+=1){var u=r[i],c=u.type,s=u.value,l=nf[c];l>=0&&(a[l]=parseInt(s,10))}var f=a[3],d=24===f?0:f,b=a[0]+"-"+a[1]+"-"+a[2]+" "+d+":"+a[4]+":"+a[5]+":000",p=+e;return(n.utc(b).valueOf()-(p-=p%1e3))/6e4},i=t.prototype;i.tz=function(e,t){void 0===e&&(e=r);var o,a=this.utcOffset(),i=this.toDate(),u=i.toLocaleString("en-US",{timeZone:e}),c=Math.round((i-new Date(u))/1e3/60),s=15*-Math.round(i.getTimezoneOffset()/15)-c;if(Number(s)){if(o=n(u,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(s,!0),t){var l=o.utcOffset();o=o.add(a-l,"minute")}}else o=this.utcOffset(0,t);return o.$x.$timezone=e,o},i.offsetName=function(e){var t=this.$x.$timezone||n.tz.guess(),r=o(this.valueOf(),t,{timeZoneName:e}).find(function(e){return"timezonename"===e.type.toLowerCase()});return r&&r.value};var u=i.startOf;i.startOf=function(e,t){if(!this.$x||!this.$x.$timezone)return u.call(this,e,t);var r=n(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return u.call(r,e,t).tz(this.$x.$timezone,!0)},n.tz=function(e,t,o){var i=o&&t,u=o||t||r,c=a(+n(),u);if("string"!=typeof e)return n(e).tz(u);var s=function(e,t,n){var r=e-60*t*1e3,o=a(r,n);if(t===o)return[r,t];var i=a(r-=60*(o-t)*1e3,n);return o===i?[r,o]:[e-60*Math.min(o,i)*1e3,Math.max(o,i)]}(n.utc(e,i).valueOf(),c,u),l=s[0],f=s[1],d=n(l).utcOffset(f);return d.$x.$timezone=u,d},n.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},n.tz.setDefault=function(e){r=e}}))),uf={exports:{}};var cf=(of||(of=1,uf.exports=function(){var e="minute",t=/[+-]\d\d(?::?\d\d)?/g,n=/([+-]|\d\d)/g;return function(r,o,a){var i=o.prototype;a.utc=function(e){return new o({date:e,utc:!0,args:arguments})},i.utc=function(t){var n=a(this.toDate(),{locale:this.$L,utc:!0});return t?n.add(this.utcOffset(),e):n},i.local=function(){return a(this.toDate(),{locale:this.$L,utc:!1})};var u=i.parse;i.parse=function(e){e.utc&&(this.$u=!0),this.$utils().u(e.$offset)||(this.$offset=e.$offset),u.call(this,e)};var c=i.init;i.init=function(){if(this.$u){var e=this.$d;this.$y=e.getUTCFullYear(),this.$M=e.getUTCMonth(),this.$D=e.getUTCDate(),this.$W=e.getUTCDay(),this.$H=e.getUTCHours(),this.$m=e.getUTCMinutes(),this.$s=e.getUTCSeconds(),this.$ms=e.getUTCMilliseconds()}else c.call(this)};var s=i.utcOffset;i.utcOffset=function(r,o){var a=this.$utils().u;if(a(r))return this.$u?0:a(this.$offset)?s.call(this):this.$offset;if("string"==typeof r&&(r=function(e){void 0===e&&(e="");var r=e.match(t);if(!r)return null;var o=(""+r[0]).match(n)||["-",0,0],a=o[0],i=60*+o[1]+ +o[2];return 0===i?0:"+"===a?i:-i}(r),null===r))return this;var i=Math.abs(r)<=16?60*r:r;if(0===i)return this.utc(o);var u=this.clone();if(o)return u.$offset=i,u.$u=!1,u;var c=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();return(u=this.local().add(i+c,e)).$offset=i,u.$x.$localOffset=c,u};var l=i.format;i.format=function(e){var t=e||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return l.call(this,t)},i.valueOf=function(){var e=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*e},i.isUTC=function(){return!!this.$u},i.toISOString=function(){return this.toDate().toISOString()},i.toString=function(){return this.toDate().toUTCString()};var f=i.toDate;i.toDate=function(e){return"s"===e&&this.$offset?a(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():f.call(this)};var d=i.diff;i.diff=function(e,t,n){if(e&&this.$u===e.$u)return d.call(this,e,t,n);var r=this.local(),o=a(e).local();return d.call(r,o,t,n)}}}()),uf.exports),sf=ve(cf);function lf({datetime:e,format:t="YYYY-MM-DD",locale:n=H.tz.guess(),convertEmptyDatetimeToNull:r=!0}){return r&&Jl(e).getTime()==Jl(ku).getTime()?null:H(e,t,n)}function ff(e,t){const n=Jl(e);return n.setHours(n.getHours()+t),n}function df(e,t){const n=Jl(e);return n.setMinutes(n.getMinutes()+t),n}function bf(e,t){const n=Jl(e);return n.setSeconds(n.getSeconds()+t),n}function pf(){return new Date}function hf(e,t){return Jl(e)<Jl(t)}function mf(e,t){return Jl(e)>Jl(t)}function gf(e=null){if(Xi(e)||!eu(e)){const e=Zc("getTimeStamp",Bc.buildMustDate({}));throw new Error(e)}return Jl(e).getTime()}function yf(e,t){const n=e.getTime(),r=(t.getTime()-n)/1e3,o=Number.parseInt(r/86400),a=r-24*o*60*60,i=Number.parseInt(a/3600),u=r-24*o*60*60-60*i*60,c=Number.parseInt(u/60);return{day:o,hour:i,minute:c,second:r-24*o*60*60-60*i*60-60*c}}H.extend(sf),H.extend(af);const vf=(e,t,n)=>{const r=Jl(e),o=t?Jl(t):new Date,a=o.getTime()-r.getTime();return"second"===n&&a/1e3||"minute"===n&&a/1e3/60||"hour"===n&&a/1e3/60/60||"day"===n&&a/1e3/60/60/24||"week"===n&&a/1e3/60/60/24/7||"month"===n&&wf(r,o)||"quarter"===n&&wf(r,o)/3||"year"===n&&wf(r,o)/12||a},wf=(e,t)=>{const n=Jl(e),r=Jl(t);return 12*(n.getFullYear()-r.getFullYear())+n.getMonth()-r.getMonth()};function Sf({data:e}){return H(e).day()}function Cf(e=!0){const t=H().day();if(!e)return t;let n="";switch($c(t)){case 0:n="日";break;case 1:n="一";break;case 2:n="二";break;case 3:n="三";break;case 4:n="四";break;case 5:n="五";break;case 6:n="六";break;default:n=""}return lu(n)?"":`星期${n}`}function xf(e){if(!tu(e)&&!qi(e))return ys({year:e},"param year must be string or number"),!1;tu(e)&&!Bi(e)&&ys({year:e},"param year must can convert to number");const t=qi(e)?e:$c(e);return t%4==0&&t%100!=0||t%400==0}function Af({year:e,month:t}){return new Date(`${e}/${t}/01 00:00:00`).getDay()}function Df({year:e,month:t}){return new Date(e,t,0).getDate()}function $f(e){return 15&Wu[e-1900]}function Mf(e){return $f(e)?65536&Wu[e-1900]?30:29:0}function jf(e){let t,n=348;for(t=32768;t>8;t>>=1)n+=Wu[e-1900]&t?1:0;return n+Mf(e)}function Ef(e,t){return t>12||t<1?-1:Wu[e-1900]&65536>>t?30:29}function _f(e,t){if(t>12||t<1)return-1;let n=t-1;return 1==n?e%4==0&&e%100!=0||e%400==0?29:28:qu[n]}function kf(e){let t=(e-3)%10,n=(e-3)%12;return 0==t&&(t=10),0==n&&(n=12),Bu[t-1]+Gu[n-1]}function Of(e,t){let n=[20,19,21,21,21,22,23,23,23,23,22,22];return"魔羯水瓶双鱼白羊金牛双子巨蟹狮子处女天秤天蝎射手魔羯".slice(2*e-(t<n[e-1]?2:0),2*e-(t<n[e-1]?2:0)+2)+"座"}function If(e){return Bu[e%10]+Gu[e%12]}function Nf(e,t){if(e<1900||e>2100)return-1;if(t<1||t>24)return-1;let n=Zu[e-1900],r=[Number.parseInt("0x"+n.slice(0,5)).toString(),Number.parseInt("0x"+n.slice(5,10)).toString(),Number.parseInt("0x"+n.slice(10,15)).toString(),Number.parseInt("0x"+n.slice(15,20)).toString(),Number.parseInt("0x"+n.slice(20,25)).toString(),Number.parseInt("0x"+n.slice(25,30)).toString()],o=[r[0].slice(0,1),r[0].slice(1,3),r[0].slice(3,4),r[0].slice(4,6),r[1].slice(0,1),r[1].slice(1,3),r[1].slice(3,4),r[1].slice(4,6),r[2].slice(0,1),r[2].slice(1,3),r[2].slice(3,4),r[2].slice(4,6),r[3].slice(0,1),r[3].slice(1,3),r[3].slice(3,4),r[3].slice(4,6),r[4].slice(0,1),r[4].slice(1,3),r[4].slice(3,4),r[4].slice(4,6),r[5].slice(0,1),r[5].slice(1,3),r[5].slice(3,4),r[5].slice(4,6)];return Number.parseInt(o[t-1])}function Tf(e){if(e>12||e<1)return-1;let t=Xu[e-1];return t+="月",t}function Ff(e){let t;switch(e){case 10:t="初十";break;case 20:t="二十";break;case 30:t="三十";break;default:t=Ju[Math.floor(e/10)],t+=Qu[e%10]}return t}function Pf(e){return Vu[(e-4)%12]}function zf({year:e,month:t,day:n}){if(e<1900||e>2100)return ys({year:e},"年份需要介于 1900 ~ 2100 之间"),null;if(1900==e&&1==t&&n<31)return ys({year:e},"可转换的日期下限为 1900.1.31"),null;const r=e?new Date(e,Number.parseInt(t)-1,n):new Date;let o=0,a=0,i=0;const u=r.getFullYear(),c=r.getMonth()+1,s=r.getDate();let l=(Date.UTC(r.getFullYear(),r.getMonth(),r.getDate())-Date.UTC(1900,0,31))/864e5;for(o=1900;o<2101&&l>0;o++)i=jf(o),l-=i;l<0&&(l+=i,o--);const f=new Date;let d=!1;f.getFullYear()==u&&f.getMonth()+1==c&&f.getDate()==s&&(d=!0);let b=r.getDay(),p=Qu[b];0==b&&(b=7);const h=o;a=$f(o);let m=!1;for(o=1;o<13&&l>0;o++)a>0&&o==a+1&&0==m?(--o,m=!0,i=Mf(h)):i=Ef(h,o),1==m&&o==a+1&&(m=!1),l-=i;0==l&&a>0&&o==a+1&&(m?m=!1:(m=!0,--o)),l<0&&(l+=i,--o);const g=o;let y=l+1,v=c-1;const w=kf(h);let S=Nf(h,2*c-1),C=Nf(h,2*c),x=If(12*(u-1900)+c+11);s>=S&&(x=If(12*(u-1900)+c+12));let A=!1,D="";S==s&&(A=!0,D=Ku[2*c-2]),C==s&&(A=!0,D=Ku[2*c-1]);const $=If(Date.UTC(u,v,1,0,0,0,0)/864e5+25567+10+s-1),M=Of(c,s);return{lunarYear:h,lunarMonth:g,lunarMonthName:(m?"闰":"")+Tf(g),lunarDay:y,lunarDayName:Ff(y),chineseZodiac:Pf(h),solarYear:u,solarMonth:c,solarDay:s,sexagenaryCycleYear:w,sexagenaryCycleMonth:x,sexagenaryCycleDay:$,whetherToday:d,whetherLeap:m,weekChineseHabit:b,weekName:"星期"+p,whetherTerm:A,term:D,constellation:M}}function Lf({year:e,month:t,day:n,whetherLeapMonth:r=!1}){const o=!!r;let a=a(e);if(o&&a!=t)return-1;if(2100==e&&12==t&&n>1||1900==e&&1==t&&n<31)return-1;let i=Ef(e,t),u=i;if(o&&(u=Mf(e)),e<1900||e>2100||n>u)return-1;let c=0;for(let t=1900;t<e;t++)c+=jf(t);let s=0,l=!1;for(let n=1;n<t;n++)s=a(e),!l&&s<=n&&s>0&&(c+=Mf(e),l=!0),c+=Ef(e,n);o&&(c+=i);let f=Date.UTC(1900,1,30,0,0,0),d=new Date(864e5*(c+n-31)+f);return zf({year:d.getUTCFullYear(),month:d.getUTCMonth()+1,day:d.getUTCDate()})}function Rf({data:e,places:t=2,thousand:n=",",decimal:r="."}){return Hf({data:e,places:t,symbol:"",thousand:n,decimal:r})}function Hf({data:e,places:t=2,symbol:n="¥",thousand:r=",",decimal:o="."}){let a=e||0,i=Number.isNaN(t=Math.abs(t))?2:t,u=void 0===n?"¥":n,c=r||",",s=o||".",l=a<0?"-":"",f=Number.parseInt(a=Math.abs(+a||0).toFixed(i),10)+"",d=f.length;return d=d>3?d%3:0,u+l+(d?f.slice(0,Math.max(0,d))+c:"")+f.slice(d).replaceAll(/(\d{3})(?=\d)/g,n+"1"+c)+(i?s+Math.abs(a-$c(f)).toFixed(i).slice(2):"")}function Yf({target:e}){let t,n,r,o=new Array("零","壹","贰","叁","肆","伍","陆","柒","捌","玖"),a=new Array("","拾","佰","仟"),i=new Array("","万","亿","兆"),u=new Array("角","分","毫","厘"),c="",s=e;if(tu(s)&&lu(s))return"";if(s=Number.parseFloat(s),s>=9999999999999.99)return"";if(0==s)return c=o[0]+"元整",c;if(s=s.toString(),s.includes(".")?(r=s.split("."),t=r[0],n=r[1].slice(0,4)):(t=s,n=""),Number.parseInt(t,10)>0){let e=0,n=t.length;for(let r=0;r<n;r++){let u=t.slice(r,r+1),s=n-r-1,l=s/4,f=s%4;"0"==u?e++:(e>0&&(c+=o[0]),e=0,c+=o[Number.parseInt(u)]+a[f]),0==f&&e<4&&(c+=i[l])}c+="元"}if(""!=n){let e=n.length;for(let t=0;t<e;t++){let e=n.slice(t,t+1);"0"!=e&&(c+=o[Number(e)]+u[t])}}return""==c?c+=o[0]+"元整":""==n&&(c+="整"),c}function Uf({data:e,format:t=Nu.yearMonthDayHourMinuteSecond}){return null==(e||null)?"":H(e).format(t)}function Wf({target:e,format:t,option:n={}}){if(Zi(t))return t(e);if(tu(t))switch(t){case Iu.money:return Hf({...n,data:e});case Iu.datetime:return Uf({data:e});case Iu.chineseMoney:return Yf({target:e});case Iu.percentage:return`${Pc(100*e,1)}%`;default:return e}return e}function qf(e,t){return e.replace(/%d/i,t)}function Bf(e,t,n={}){const r={second:["刚刚","片刻后"],seconds:["%d 秒前","%d 秒后"],minute:["大约 1 分钟前","大约 1 分钟后"],minutes:["%d 分钟前","%d 分钟后"],hour:["大约 1 小时前","大约 1 小时后"],hours:["%d 小时前","%d 小时后"],day:["1 天前","1 天后"],days:["%d 天前","%d 天后"],month:["大约 1 个月前","大约 1 个月后"],months:["%d 月前","%d 月后"],year:["大约 1 年前","大约 1 年后"],years:["%d 年前","%d 年后"],...n},o=vf(e,t),a=o<0?1:0,i=Math.abs(o)/1e3,u=i/60,c=u/60,s=c/24,l=s/365;return i<10&&qf(r.second[a],Number.parseInt(i))||i<45&&qf(r.seconds[a],Number.parseInt(i))||i<90&&qf(r.minute[a],1)||u<45&&qf(r.minutes[a],Number.parseInt(u))||u<90&&qf(r.hour[a],1)||c<24&&qf(r.hours[a],Number.parseInt(c))||c<42&&qf(r.day[a],1)||s<30&&qf(r.days[a],Number.parseInt(s))||s<45&&qf(r.month[a],1)||s<365&&qf(r.months[a],Number.parseInt(s/30))||l<1.5&&qf(r.year[a],1)||qf(r.years[a],Number.parseInt(l))}function Gf(e,t={}){return Bf(e,pf(),t)}function Vf(e,t=""){return Gc(vu,Zc(e,t),"common")}function Kf(e,t,n="..."){return e&&e.length>t?`${_c(e).slice(0,Math.max(0,t))}${n}`:_c(e)}function Zf(e,t,n,r){let o=_c(e);const a=(e||"").length;if(a>0&&(n>=0||r>=0))if(n>=a||r>=a||(n||0)+(r||0)>=a)o=e;else{o=e.slice(0,Math.max(0,n)+1)+t+e.slice(a-r)}return o||""}function Qf(e,t){Zi(t)&&t()}function Jf(e,t,n=null){if(Ji(e))return n;if(null==e)return n;if(!tu(t))return Vf("getPathValue","path must be string"),Pl({}),null;const r=Za(e,t,n);return Ji(n)||Xi(n)?r:r||n}function Xf(e,t){if(!tu(e))throw new Error(Vf("removeEndMatch",Bc.buildMustString({name:"target",value:e})));if(!tu(t))throw new Error(Vf("removeEndMatch",Bc.buildMustString({name:"match",value:t})));if(lu(e))return e;if(lu(t))return e;const n=e.lastIndexOf(t);return n>=0&&e.length===n+t.length?e.slice(n,t.length):e}function ed(e,t){if(!tu(e))throw new Error(Vf("removeLastMatch",Bc.buildMustString({name:"target",value:e})));if(!tu(t))throw new Error(Vf("removeLastMatch",Bc.buildMustString({name:"match",value:t})));if(lu(e))return e;if(lu(t))return e;const n=e.lastIndexOf(t);return n>=0?e.slice(n,t.length):e}function td({data:e,key:t,defaultValue:n=null,convert:r=null,convertBuilder:o=null,format:a=null,formatBuilder:i=null}){const u=Jf(e,t,n);let c=u;return null==(o||null)&&null==(r||null)||(c=Zi(o)?Xl({target:u,convert:o}):Xl({target:u,convert:r})),null==(i||null)&&null==(a||null)||(c=Zi(i)?Wf({target:c,format:i}):Wf({target:c,format:a})),c}function nd({operate:e,item:t,list:n,key:r,sortInitialValue:o=0}){if(Ji(r)||!tu(r))return _l(Vf("sortCollectionByKey","option parameter key need set, it must be string")),n;if(Ji(o)||!qi(o))return _l(Vf("sortCollectionByKey","option parameter sortInitialValue need set")),n;const a=[],i=[];let u=[];if((n||[]).length<=1){return kl({text:"无需排序!"}),n}const c=td({data:t,key:r,convert:Ou.number});for(const e of n||[]){const t=td({data:e,key:r,convert:Ou.number});t<c&&a.push(e),t>c&&i.push(e)}switch(e){case Tu.moveUp:if(c===o){return kl({text:"已经排在首位!"}),n}for(const[e,n]of(a||[]).entries())if(e<a.length-1)u.push(n);else{const e=t;e[r]-=1,u.push(e);const o=n;o[r]+=1,u.push(o)}u=[...u,...i];break;case Tu.moveDown:if(c===(n||[]).length+o-1){return kl({text:"已经排在末位!"}),n}u=[...u,...a];for(const[e,n]of(i||[]).entries())if(0===e){const e=n;e[r]-=1,u.push(e);const o=t;o[r]+=1,u.push(o)}else u.push(n);break;default:kl({text:`不符合的操作, 允许的操作为['${Tu.moveUp}','${Tu.moveDown}']!`});break}return u}function rd({list:e=[],convert:t=null,recursiveKey:n="children"}){return(nu(e)?e:[e]).map(e=>od({data:e,convert:t}))}function od({data:e,convert:t=null,recursiveKey:n="children"}){if(!Zi(t))return e;const r=t(e),o=e[n];let a=[];return nu(o)&&(a=o.map(e=>od({data:e,convert:t}))),r[n]=a,r}function ad(e,t,n=0){return!Ji(xi(e,t,n))}function id({target:e,value:t,compareValueHandler:n,handler:r}){if(!ou(e))throw new Error(Vf("handleItem",Bc.buildMustObject({name:"target",value:e})));if(!ou(e.state))throw new Error(Vf("handleItem",Bc.buildMustObject({name:"target.state",value:e.state})));const{metaListData:o}=e.state;if(!nu(o))throw new Error(Vf("handleItem",Bc.buildMustObject({name:"target.state.metaListData",value:o})));const a=ud({list:o,value:t,compareValueHandler:n,handler:r});ls(a,[Vf("handleItem"),"set target.state.metaListData","will trigger target forceUpdate"]),e.setState({metaListData:[...a]}),e.forceUpdate()}function ud({list:e,value:t,compareValueHandler:n,handler:r}){if(!nu(e))throw new Error(Vf("handleListItem",Bc.buildMustArray({name:"list",value:e})));if(ru(e))return e;let o=-1;if(Zi(n)){if(Zi(r)){for(const[r,a]of e.entries()){if(n(a)===t){o=r;break}}return o>=0&&(e[o]=r(e[o])),e}Pl({})}else Fl(Vf("handleItem",Bc.buildMustFunction({name:"compareValueHandler",value:n})))}const cd="authorityCollectionCache",sd="hasSuperPermission";function ld(e,t=""){return Gc(vu,Zc(e,t),"authorityAssist")}const fd={handleAuthorizationFail:e=>{},handleAuthorizationFailSetComplete:!1};function dd(e){fd.handleAuthorizationFailSetComplete?cs("setAuthorizationFailHandler","reset is not allowed, it can be set only once"):(Zi(e)?cs("setAuthorizationFailHandler",typeof e):cs("setAuthorizationFailHandler","parameter must be function"),fd.handleAuthorizationFail=e,fd.handleAuthorizationFailSetComplete=!0)}function bd(){let e=[];if(Ts({key:cd})&&(e=Rs({key:cd}),nu(e)))return e;return e=[...Zl()],Fs({key:cd,value:e}),e}function pd(){if(Ts({key:sd})){const e=Rs({key:sd});if(void 0!==e)return!!e}const e=function(){let e="";const t=cl();if(!ou(t))return e;const n=td({data:t,key:"super"});if(ou(n)){const t=td({data:n,key:"permission"});tu(t)&&(e=t)}return e}();if(!lu(e)){if(((bd()||[]).find(t=>t===e)||"")===e)return Fs({key:sd,value:!0}),!0}return Fs({key:sd,value:!1}),!1}function hd(e){if(pd())return!0;let t="0";if(Ts({key:e})&&(t=Rs({key:e}),void 0!==t))return"0"!==t;const n=bd(),r=cl();t=void 0===(n||[]).find(t=>t===e)?"0":"1",Fs({key:e,value:t});const o="0"!==t;return o||ls({checkAuthority:e,listAuthority:n,accessWayCollection:r},"check authority fail"),o}function md(e){if(!fd.handleAuthorizationFailSetComplete)throw new Error(ld("doWhenAuthorizationFail","handleAuthorizationFail has not set, please use setAuthorizationFailHandler to set it"));Zi(fd.handleAuthorizationFail)&&fd.handleAuthorizationFail(e)}function gd(e){if(nu(e))return ru(e)?(as(ld("checkHasAuthority","authority is empty array")),!1):function(e){let t=!1;return nu(e)?(t=e.some(e=>hd(e)),t):tu(e)?(t=hd(e),t):t}(e);if(tu(e))return hd(e);throw ws({auth:e}),new Error("auth need string or string array, please check in console.")}const yd="function"==typeof Buffer,vd="function"==typeof TextDecoder?new TextDecoder:void 0,wd="function"==typeof TextEncoder?new TextEncoder:void 0,Sd=Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="),Cd=(()=>{let e={};return Sd.forEach((t,n)=>e[t]=n),e})(),xd=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,Ad=String.fromCharCode.bind(String),Dd="function"==typeof Uint8Array.from?Uint8Array.from.bind(Uint8Array):e=>new Uint8Array(Array.prototype.slice.call(e,0)),$d=e=>e.replace(/[^A-Za-z0-9\+\/]/g,""),Md="function"==typeof btoa?e=>btoa(e):yd?e=>Buffer.from(e,"binary").toString("base64"):e=>{let t,n,r,o,a="";const i=e.length%3;for(let i=0;i<e.length;){if((n=e.charCodeAt(i++))>255||(r=e.charCodeAt(i++))>255||(o=e.charCodeAt(i++))>255)throw new TypeError("invalid character found");t=n<<16|r<<8|o,a+=Sd[t>>18&63]+Sd[t>>12&63]+Sd[t>>6&63]+Sd[63&t]}return i?a.slice(0,i-3)+"===".substring(i):a},jd=yd?e=>Buffer.from(e).toString("base64"):e=>{let t=[];for(let n=0,r=e.length;n<r;n+=4096)t.push(Ad.apply(null,e.subarray(n,n+4096)));return Md(t.join(""))},Ed=e=>{if(e.length<2)return(t=e.charCodeAt(0))<128?e:t<2048?Ad(192|t>>>6)+Ad(128|63&t):Ad(224|t>>>12&15)+Ad(128|t>>>6&63)+Ad(128|63&t);var t=65536+1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320);return Ad(240|t>>>18&7)+Ad(128|t>>>12&63)+Ad(128|t>>>6&63)+Ad(128|63&t)},_d=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,kd=yd?e=>Buffer.from(e,"utf8").toString("base64"):wd?e=>jd(wd.encode(e)):e=>Md(e.replace(_d,Ed)),Od=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,Id=e=>{switch(e.length){case 4:var t=((7&e.charCodeAt(0))<<18|(63&e.charCodeAt(1))<<12|(63&e.charCodeAt(2))<<6|63&e.charCodeAt(3))-65536;return Ad((t>>>10)+55296)+Ad(56320+(1023&t));case 3:return Ad((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:return Ad((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}},Nd="function"==typeof atob?e=>atob($d(e)):yd?e=>Buffer.from(e,"base64").toString("binary"):e=>{if(e=e.replace(/\s+/g,""),!xd.test(e))throw new TypeError("malformed base64.");let t,n,r;e+="==".slice(2-(3&e.length));let o=[];for(let a=0;a<e.length;)t=Cd[e.charAt(a++)]<<18|Cd[e.charAt(a++)]<<12|(n=Cd[e.charAt(a++)])<<6|(r=Cd[e.charAt(a++)]),64===n?o.push(Ad(t>>16&255)):64===r?o.push(Ad(t>>16&255,t>>8&255)):o.push(Ad(t>>16&255,t>>8&255,255&t));return o.join("")},Td=yd?e=>Dd(Buffer.from(e,"base64")):e=>Dd(Nd(e).split("").map(e=>e.charCodeAt(0))),Fd=yd?e=>Buffer.from(e,"base64").toString("utf8"):vd?e=>vd.decode(Td(e)):e=>Nd(e).replace(Od,Id),Pd=e=>Fd($d(e.replace(/[-_]/g,e=>"-"==e?"+":"/")));function zd(e){return Pd(e)}function Ld(e){return((e,t=!1)=>t?(e=>e.replace(/=/g,"").replace(/[+\/]/g,e=>"+"==e?"-":"_"))(kd(e)):kd(e))(e)}function Rd(e){return 1*e<10?`0${e}`:e}function Hd(e){return e.reduce((e,t)=>e+t)/e.length}function Yd({seed:e}){return`#${("00000"+Math.trunc(16777216*Oi({seed:e})).toString(16)).slice(-6)}`}function Ud(e,t="RGB",n=!1){let r=(e??"").toLowerCase();if(/^#([\dA-f]{3}|[\dA-f]{6})$/.test(r)){4===r.length&&(r=`#${r.charAt(1)}${r.charAt(1)}${r.charAt(2)}${r.charAt(2)}${r.charAt(3)}${r.charAt(3)}`);const e=[];for(let t=1;t<7;t+=2)e.push(Number.parseInt("0x"+r.slice(t,t+2)));return t?`${t}(${e.join(",")})`:n?e:e.join(",")}return ys(`Invalid hex color -> ${e}`),r}function Wd({progress:e,startColor:t,endColor:n}){const r=Ud(t,null,!0),o=Ud(n,null,!0),[a,i,u]=r,[c,s,l]=o;return`#${[(a+Math.round((c-a)*e)).toString(16),(i+Math.round((s-i)*e)).toString(16),(u+Math.round((l-u)*e)).toString(16)].join("").toUpperCase()}`}function qd({direct:e,list:t=[]}){return`linear-gradient(${qi(e)?`${e}deg`:e}, ${t.join(",")})`}function Bd(e,t){return Ji(t)?e:t}function Gd(...e){let t=ni({},e[0]);for(let n=1;n<e.length;n++)t=ri(t,e[n],Bd);return t}function Vd(e){if(e&&"object"==typeof e){let t="";for(const n of Object.keys(e)){t+=`${(n.replace(/([A-Z])/g,"-$1")??"").toLowerCase()}:${e[n]};`}return t}return e&&"string"==typeof e?e:""}function Kd(e,t){return e&&"object"==typeof e&&t&&"object"==typeof t?Object.assign({},e,t):Vd(e)+Vd(t)}function Zd(e,t){const n=e;for(const e in t)Object.prototype.hasOwnProperty.call(t,e)&&(n[e]=t[e]);return n}const Qd="ea-token",Jd="token";function Xd(){return Jd}function eb(){return tl(Qd)}function tb(e){return rl(Qd,e)}function nb(){return al(Qd)}function rb(){const e={};return e[`${Xd()}`]=eb()||"",e}const ob="ea-currentOperator";function ab(){return ob}function ib(){ms("getCurrentOperatorCache");const e=nl(ob);return null==(e||null)||""===e.flag||e.flag!==eb()?null:e.data||null}function ub(e){ms("setCurrentOperatorCache");return ol(ob,{data:e||null,flag:eb()||""})}function cb(){ms("removeCurrentOperatorCache");al(ob)}const sb={prepareCallback:()=>{},setPrepareComplete:!1,prepareExecuteComplete:!1};function lb(){sb.prepareExecuteComplete||(cs(Gc(vu,"tryDoDvaPrepareWork","dvaAssist"),"try to do dva prepare work"),Zi(sb.prepareCallback)&&sb.prepareCallback(),sb.prepareExecuteComplete=!0)}function fb(e){Ri()&&ns({text:"setPrepareCallback",color:ts.execute,dataDescription:"execute",ancillaryInformation:""}),sb.prepareCallback=e,sb.setPrepareComplete=!0}const db={reducerNormalData:"reducerNormalData",reducerRemoteData:"reducerRemoteData",reducerRemoveKey:"reducerRemoveKey"};function bb(e,t){lb();const{payload:n,alias:r,cacheData:o}={alias:null,cacheData:!1,...t};let a=null;if(Ji(r)||!tu(r)?a={...e,data:n}:(a={...e},a[r]=n),o){const e=function(e){const{type:t}={type:"",...e},n=`${t}`.split("/");return 2===n.length?n[0]:""}(t);cs(`modal ${e} cache data, key is ${e}_${r||"data"}`,Fs({key:`${e}_${r||"data"}`,value:n})?"cache success":"cache fail")}return a}function pb(e,t){lb();const{payload:n}={payload:{},...t};return{...e,...ou(n)?n:{}}}function hb(e,t){const{payload:n}={payload:{},...t},r={...e};if(tu(n)&&delete r[n],nu(n)&&!ru(n))for(const e of n)tu(e)&&delete r[n];return r}const mb={reducerRemoteData:(e,t)=>bb(e,t),reducerNormalData:(e,t)=>pb(e,t),reducerRemoveKey:(e,t)=>hb(e,t)};function gb(){return lb(),{data:{code:0,message:"success",dataSuccess:!0,data:{},list:[],extra:{}}}}const yb={cacheData:!1},vb={callback:null,pretreatment:null};function wb(e,t,n=5,r=0){if(!qi(e))return e;if(!qi(t)||t<=0)throw new Error(Gc(vu,`pxToRem -> root value must be number and greater than 0, current root value [${t}] is invalid`,"htmlAssist"));const o=Number.parseFloat(e);if(o<r)return e;const a=$c(o/t,n);return 0===a?"0":a+"rem"}function Sb(e,t=""){const n=/\/\//gi,r=lu(t)?e:`${t}${e}`;if(r.indexOf("://")<0)return r.replaceAll(n,"/");let o=r.replaceAll(/:\/\//gi,"!:-/-/!");o=o.replaceAll(n,"/");return o.replaceAll(/!:-\/-\/!/gi,"://")}const Cb="ea-localMetaData";function xb(){return Cb}function Ab(){const e=nl(Cb);if(null==(e||null))return null;const{dataVersion:t}=e;if(null==(t||null))return null;const{data:n}={data:null,...e};return n||null}function Db(e){ms("setLocalMetaData");return ol(Cb,{data:e,dataVersion:Number.parseInt(Date.now()/1e3/60/30,10)})}function $b(){al(Cb)}const Mb="modelAssist",jb="ea-modelNameList",Eb={embedBuilders:[],extraBuilders:[],buildComplete:!1,models:[]};function _b(){return Eb.embedBuilders.length+Eb.extraBuilders.length}function kb(e){if(!Zi(e))throw new Error(Gc(vu,"appendEmbedBuilder -> builder must be none parameter function and return an object, current is "+typeof e,Mb));Eb.embedBuilders.push(e)}function Ob(e){if(!Zi(e))throw new Error(Gc(vu,"appendExtraBuilder -> builder must be none parameter function and return an object, current is "+typeof e,Mb));Eb.extraBuilders.push(e)}function Ib(){const e=[],t=[],n=[];for(const n of Eb.embedBuilders)if(Zi(n)){const r=n();if(ou(r)){const{namespace:n}=r;e.push(r),t.push(n)}}cs("append embed builder",ru(t)?"no embed model builder has set, ignore":t.join(","));for(const t of Eb.extraBuilders)if(Zi(t)){const r=t();if(ou(r)){const{namespace:t}=r;e.push(r),n.push(t)}}cs("append extra builder",ru(n)?"no extra model builder has set yet, ignore":n.join(",")),Eb.buildComplete=!0,Eb.models=e,cs(function(e,t=""){return Gc(vu,Zc(e,t),Mb)}("buildModelCollection"),"models build complete")}function Nb(){if(!Eb.buildComplete){Ib();const e=Eb.models.map(e=>{const{namespace:t}=e;return t}).join(",");cs(`all model collection -> ${e}`),Fb(e)}return Eb.models}function Tb(){return tl(jb)}function Fb(e){return rl(jb,e||"")}function Pb(){al(jb)}const zb="navigationAssist";function Lb(e,t=""){return Gc(vu,Zc(e,t),zb)}const Rb={navigateTo:e=>{ys(Gc(vu,"setNavigator need config, use setNavigator to set it",zb))},redirectTo:e=>{ys(Gc(vu,"setRedirector need config, use setRedirector to set it",zb))}};function Hb(e){cs(Lb("setNavigator"),typeof e),Rb.navigateTo=e}function Yb(e){cs(Lb("setRedirector"),typeof e),Rb.redirectTo=e}function Ub(e){if(!tu(e)&&!ou(e)){return void Nl("invalid parameter, params need string or object")}Rb.redirectTo(e)}function Wb(e){if(!tu(e)&&!ou(e)){return void Nl("invalid parameter, params need string or object")}Rb.navigateTo(e)}const qb={showOpenNotification:({title:e,description:t="",placement:n="",duration:r=3e3,onClose:o=()=>{}})=>{is(Zc(e,t))},showLoadingNotification:({title:e,description:t="",placement:n="",duration:r=3e3,onClose:o=()=>{}})=>{is(Zc(e,t))},showInfoNotification:({title:e,description:t="",placement:n="",duration:r=3e3,onClose:o=()=>{}})=>{is(Zc(e,t))},showSuccessNotification:({title:e,description:t="",placement:n="",duration:r=3e3,onClose:o=()=>{}})=>{is(Zc(e,t))},showWarnNotification:({title:e,description:t="",placement:n="",duration:r=3e3,onClose:o=()=>{}})=>{as(Zc(e,t))},showWarningNotification:({title:e,description:t="",placement:n="",duration:r=3e3,onClose:o=()=>{}})=>{as(Zc(e,t))},showErrorNotification:({title:e,description:t="",placement:n="",duration:r=3e3,onClose:o=()=>{}})=>{gs(Zc(e,t))}};function Bb(e){qb.showOpenNotification=e}function Gb(e){qb.showLoadingNotification=e}function Vb(e){qb.showInfoNotification=e}function Kb(e){qb.showSuccessNotification=e}function Zb(e){qb.showWarnNotification=e}function Qb(e){qb.showWarningNotification=e}function Jb(e){qb.showErrorNotification=e}function Xb(e){ep({description:e})}function ep({title:e,description:t="",placement:n="",duration:r=3e3,onClose:o=()=>{}}){Zi(qb.showOpenNotification)&&qb.showOpenNotification({title:e,description:t,placement:n,duration:r,onClose:o})}function tp(e){np({description:e})}function np({title:e,description:t="",placement:n="",duration:r=3e3,onClose:o=()=>{}}){Zi(qb.showLoadingNotification)&&qb.showLoadingNotification({title:e,description:t,placement:n,duration:r,onClose:o})}function rp(e){op({description:e})}function op({title:e,description:t="",placement:n="",duration:r=3e3,onClose:o=()=>{}}){Zi(qb.showInfoNotification)&&qb.showInfoNotification({title:e,description:t,placement:n,duration:r,onClose:o})}function ap(e){ip({description:e})}function ip({title:e,description:t="",placement:n="",duration:r=3e3,onClose:o=()=>{}}){Zi(qb.showWarnNotification)&&qb.showWarnNotification({title:e,description:t,placement:n,duration:r,onClose:o})}function up(e){cp({description:e})}function cp({title:e,description:t="",placement:n="",duration:r=3e3,onClose:o=()=>{}}){Zi(qb.showWarningNotification)&&qb.showWarningNotification({title:e,description:t,placement:n,duration:r,onClose:o})}function sp(e){lp({description:e})}function lp({title:e,description:t="",placement:n="",duration:r=3e3,onClose:o=()=>{}}){Zi(qb.showSuccessNotification)&&qb.showSuccessNotification({title:e,description:t,placement:n,duration:r,onClose:o})}function fp(e){dp({description:e})}function dp({title:e,description:t="",placement:n="",duration:r=3e3,onClose:o=()=>{}}){Zi(qb.showErrorNotification)&&qb.showErrorNotification({title:e,description:t,placement:n,duration:r,onClose:o})}const bp="ea-nearestLocalhostNotify";function pp(){const e=nl(bp);return null==(e||null)||null==(e.nearestTime||null)?null:e||null}function hp(){return ol(bp,{nearestTime:Number.parseInt(Date.now()/1e3,10)})}function mp(){al(bp)}function gp({text:e}){let t=!1,n=0;const r=pp()||null;null==r?t=!0:n=r.nearestTime||0;const o=Number.parseInt(Date.now()/1e3,10);try{n+30<o&&(t=!0),t&&(ep({title:"Current Request Host",description:e}),cs("current request host",`"${e}"`),hp())}catch(e){os(e)}}function yp(e){al(e)}function vp(e){const t=nl(e);if(null==(t||null))return yp(e),null;if(""===(t.dataVersion||""))return yp(e),null;const n=Number.parseInt(Date.now()/1e3/60/30,10);return t.dataVersion<n?(yp(e),null):t.useParamsData||null}function wp(e,t){return ol(e,{useParamsData:t||null,dataVersion:Number.parseInt(Date.now()/1e3/60/30,10)})}function Sp(e,t=""){return Gc(vu,Zc(e,t),"progressAssist")}const Cp={handleProgressStart:()=>{},handleProgressStartSetComplete:!1,handleProgressStop:()=>{},handleProgressStopSetComplete:!1};function xp(e){Cp.handleProgressStartSetComplete?cs("setProgressStartHandler","reset is not allowed, it can be set only once"):(Zi(e)?cs("setProgressStartHandler",typeof e):cs("setProgressStartHandler","parameter must be function"),Cp.handleProgressStart=e,Cp.handleProgressStartSetComplete=!0)}function Ap(e){Cp.handleProgressStopSetComplete?cs("setProgressStopHandler","reset is not allowed, it can be set only once"):(Zi(e)?cs("setProgressStopHandler",typeof e):cs("setProgressStopHandler","parameter must be function"),Cp.handleProgressStop=e,Cp.handleProgressStopSetComplete=!0)}function Dp(){if(!Cp.handleProgressStartSetComplete)throw new Error(Sp("startProgress -> handleProgressStart has not set, please use setProgressStartHandler to set it"));Cp.handleProgressStart()}function $p(){if(!Cp.handleProgressStopSetComplete)throw new Error(Sp("stopProgress -> handleProgressStop has not set, please use setProgressStopHandler to set it"));Cp.handleProgressStop()}function Mp(e,t=""){let n=Y(e);if(lu(t))return n;if(lu(n))return t;const r=t.lastIndexOf("?")>=0?"&":"?";return`${t}${r}${n}`}function jp(e){return U(e)}function Ep(e,t=""){return Gc(vu,Zc(e,t),"requestAssist")}const _p={successCodeSetComplete:!1,authenticationFailCodeSetComplete:!1,successCode:200,authenticationFailCode:2001,promptSimulation:!1,promptSimulationSetComplete:!1,urlGlobalPrefix:"",handleSupplementGlobalHeader:()=>({}),handleSupplementGlobalHeaderSetComplete:!1,handleRequest:async({url:e,method:t=ju.post,data:n={},header:r=[],option:o={}})=>{},handleRequestSetComplete:!1,handleAuthenticationFail:()=>{},handleAuthenticationFailSetComplete:!1,handleSimulationAuthorizeExtra:()=>!0,handleSimulationAuthorizeExtraSetComplete:!1};function kp(e){_p.successCodeSetComplete?cs("setSuccessCode","reset is not allowed, it can be set only once"):(qi(e)?cs("setSuccessCode",$c(e)):cs("setSuccessCode","parameter must be number"),_p.successCode=$c(e),_p.successCodeSetComplete=!0)}function Op(e){_p.authenticationFailCodeSetComplete?cs("setAuthenticationFailCode","reset is not allowed, it can be set only once"):(qi(e)?cs("setAuthenticationFailCode",$c(e)):cs("setAuthenticationFailCode","parameter must be number"),_p.authenticationFailCode=$c(e),_p.authenticationFailCodeSetComplete=!0)}function Ip(e){_p.promptSimulationSetComplete?cs("setPromptSimulation","reset is not allowed, it can be set only once"):(Qi(e)?cs("setPromptSimulation",kc(e)):cs("setPromptSimulation","parameter must be bool"),_p.promptSimulation=kc(e),_p.promptSimulationSetComplete=!0)}function Np(){return _p.urlGlobalPrefix||""}function Tp(e){if(!tu(e))throw new Error(Ep("setUrlGlobalPrefix param globalPrefix need string","current is "+typeof e));_p.urlGlobalPrefix=e}function Fp(e){_p.handleRequestSetComplete?cs("setRequestHandler","reset is not allowed, it can be set only once"):(Zi(e)?cs(Ep("setRequestHandler"),typeof e):cs(Ep("setRequestHandler"),"parameter must be function"),_p.handleRequest=e,_p.handleRequestSetComplete=!0)}function Pp(e){_p.handleAuthenticationFailSetComplete?cs("setAuthenticationFailHandler","reset is not allowed, it can be set only once"):(Zi(e)?cs("setAuthenticationFailHandler",typeof e):cs("setAuthenticationFailHandler","parameter must be function"),_p.handleAuthenticationFail=e,_p.handleAuthenticationFailSetComplete=!0)}function zp(e){_p.handleSimulationAuthorizeExtraSetComplete?cs("setSimulationAuthorizeExtraHandler","reset is not allowed, it can be set only once"):(Zi(e)?cs("setSimulationAuthorizeExtraHandler",typeof e):cs("setSimulationAuthorizeExtraHandler","parameter must be function"),_p.handleSimulationAuthorizeExtra=e,_p.handleSimulationAuthorizeExtraSetComplete=!0)}function Lp(e){_p.handleSupplementGlobalHeaderSetComplete?cs("setGlobalHeaderSupplementHandler","reset is not allowed, it can be set only once"):(Zi(e)?cs("setGlobalHeaderSupplementHandler",typeof e):cs("setGlobalHeaderSupplementHandler","parameter must be function"),_p.handleSupplementGlobalHeader=e,_p.handleSupplementGlobalHeaderSetComplete=!0)}function Rp(e){const{code:t,message:n}=e,r={code:-1,message:"",data:null,list:[],extra:null},o=Es(),a=$c(t);if(a!==r.code){const e=Date.now();a===_p.authenticationFailCode?hs("api call failed, authentication fail"):(as(`api call failed, code: ${a}, message: ${n}`),a===$c(o.code)?e-o.time>800&&(Nl(n),_s({code:a,message:n,time:e})):(Nl(n),_s({code:a,message:n,time:e}))),a===_p.authenticationFailCode&&Gp()}}function Hp({source:e,pretreatment:t=null,successCallback:n=null,failCallback:r=null}){const{code:o,message:a}={code:-1,message:"",data:null,list:[],extra:null,...e};let i={};const u=$c(o);if(u===$c(_p.successCode)){const{data:r,extra:o}=e;Zi(t)&&(i=t(e)),i={code:u,message:a,data:r||{},extra:o||{},dataSuccess:!0},Zi(n)&&n(i)}else i={code:u,message:a||"网络异常",data:null,extra:null,dataSuccess:!1},Zi(r)&&r(i),Rp(i);return i}function Yp({source:e,pretreatment:t=null,itemPretreatment:n=null,successCallback:r=null,failCallback:o=null}){const{code:a,message:i}=e||{code:-1,message:"",data:null,list:[],extra:null};let u={};const c=$c(a);if(c===$c(_p.successCode)){let o=e;Zi(t)&&(o=t(e));const{list:a,extra:s}=o,l=(a||[]).map((e,t)=>{let r=e;return null==(r.key||null)&&(r.key=`list-${t}`),Zi(n)&&(r=n(r)),r});u={code:c,message:i,count:(l||[]).length,list:l,extra:s,dataSuccess:!0},Zi(r)&&r(u)}else u={code:c,message:i||"网络异常",count:0,list:[],extra:null,dataSuccess:!1},Zi(o)&&o(u),Rp(u);return u}function Up({source:e,pretreatment:t=null,itemPretreatment:n=null,successCallback:r=null,failCallback:o=null}){const{code:a,message:i}=e||{code:-1,message:"",data:null,list:[],extra:null};let u={};const c=$c(a);if(c===$c(_p.successCode)){let o=e;Zi(t)&&(o=t(e));const{list:a,extra:s}=o,{pageNo:l,total:f,pageSize:d}={pageNo:0,pageSize:0,total:0,...s},b=(a||[]).map((e,t)=>{let r=e;return null==(r.key||null)&&(r.key=`${l}-${t}`),Zi(n)&&(r=n(r)),r});u={code:c,message:i,count:(b||[]).length,list:b,pagination:{total:f,pageSize:d,current:Number.parseInt(l||1,10)||1},extra:s,dataSuccess:!0},Zi(r)&&r(u)}else u={code:c,message:i||"网络异常",count:0,list:[],extra:null,pagination:{total:0,pageSize:10,current:1},dataSuccess:!1},Zi(o)&&o(u),Rp(u);return u}function Wp(e,t){let n={...e};return"function"==typeof t&&(n=t(n)),Object.fromEntries(Object.keys(n).filter(e=>null!=n[e]).map(e=>[e,n[e]]))}function qp(e,t,n){const{payload:r,callback:o,pretreatment:a,alias:i,cacheData:u}=t;let c=Yp(r);Zi(o)&&(c=o(c));let s=null;if(Ji(i)||!tu(i))return{...e,data:c};if(s={...e},s[i]=c,u){hs(`modal ${n} cache data, key is ${n}_${i||"data"}, ${Fs({key:`${n}_${i||"data"}`,value:c})?"cache success":"cache fail"}.`)}return s}function Bp(e,t,n){const{payload:r,callback:o,pretreatment:a,alias:i,cacheData:u}=t;let c=Up(r);Zi(o)&&(c=o(c));let s=null;if(Ji(i)||!tu(i))return{...e,data:c};if(s={...e},s[i]=c,u){cs(`modal ${n} cache data, key is ${n}_${i||"data"}, ${Fs({key:`${n}_${i||"data"}`,value:c})?"cache success":"cache fail"}.`)}return s}function Gp(){if(!_p.handleAuthenticationFailSetComplete)throw new Error(Ep("handleAuthenticationFail","handleAuthenticationFail has not set, please use setAuthenticationFailHandler to set it"));_p.handleAuthenticationFail()}function Vp(){return Zi(_p.handleSimulationAuthorizeExtra)?_p.handleSimulationAuthorizeExtra():(cs(Ep("handleSimulationAuthorizeExtra","handleSimulationAuthorizeExtra is not function, ignore execute, if you need it, please use setSimulationAuthorizeExtraHandler to set it")),!0)}async function Kp({api:e,urlParams:t=null,params:n={},header:r={},method:o=ju.post,mode:a=Mu.real,promptSimulation:i=_p.promptSimulation,promptSimulationDelay:u=500,simulateRequestMaxDelay:c=0,simulativeSuccessResponse:s={},simulativeFailResponse:l={code:1001,message:"虚拟未知错误"},simulateRequestResult:f=!0,simulativeAuthorize:d=!1}){let b=_p.urlGlobalPrefix;if(!tu(b))throw as(b,"error globalPrefix"),new Error("url global prefix is not string");if(!tu(e))throw as(e,"error api"),new Error("api is not string");let p=e;if(Nc(p).startsWith("http://")||Nc(p).startsWith("https://")?p=e:(lu(b)||(b=`/${b}/`),p=`${b}${e}`.replace("//","/")),p=Sb(p),null!=(t||null)&&(tu(t)&&(p=`${p}?${t}`),ou(t)&&(p=`${p}?${Mp(t)}`)),a===Mu.simulation){ls(`api request is simulation mode, simulate start,${c>0?`max delay ${c}ms,`:""} api is "${e}".`),i&&setTimeout(()=>{$l("由虚拟访问返回")},u>0?u:0);let h={},m=!1;if(d){if(lu(eb())||(m=!0),!Zi(_p.handleSimulationAuthorizeExtra))throw new Error("handleSimulationAuthorizeExtra must be function and return boolean");m=_p.handleSimulationAuthorizeExtra()||!1}return d&&!m?Gp():(ls({api:e,method:o,header:r,urlParams:t,params:n,apiVersion:b,mode:a,simulateRequestMaxDelay:c,simulativeAuthorize:d},Ep("request",`simulation request address: "${p}"`)),h=await th({api:e,simulateRequestMaxDelay:c,dataBuild:e=>{e(f?Jp({response:s,needAuthorize:d}):Qp({response:l,needAuthorize:d}))}}),ls({response:h},Ep("request","simulation request complete"))),h}ls({api:e,method:o,header:r,urlParams:t,params:n,apiVersion:b,mode:a},Ep("request",`request address: "${p}"`));const h=bi(Oc(o));if(du([ju.get,ju.post],h)){const e=await async function({url:e,method:t=ju.post,data:n={},header:r=[],option:o={}}){ms({url:e,method:t,data:n,header:r,option:o},Ep('realRequest"'));let a=r;if(_p.handleSupplementGlobalHeaderSetComplete&&Zi(_p.handleSupplementGlobalHeader)){const e=_p.handleSupplementGlobalHeader();ou(e)&&(a={...r,...e})}if(!_p.handleRequestSetComplete)throw new Error(Ep("realRequest","handleRequest has not set, please use setRequestHandler to set it"));return await _p.handleRequest({url:e,method:t,data:n,header:a,option:o})}({url:p,data:n,header:{...r},option:{},method:ju.post});return ls({requestResult:e},Ep("request","real request complete")),e}throw new Error(`unsupported method:${o}`)}function Zp(){return lu(eb())}function Qp({response:e,code:t,message:n,needAuthorize:r=!0}){return r?Zp()?(Fl(n),{code:t,message:n,success:!1,...e}):{code:_p.authenticationFailCode,message:"登录失效, 请重新登录",success:!1}:(Fl(n),{code:t,message:n,success:!1,...e})}function Jp({response:e,needAuthorize:t=!0}){return t?Zp()?{code:_p.successCode,message:"success",success:!0,...e}:{code:_p.authenticationFailCode,message:"登录失效, 请重新登录",success:!1}:{code:_p.successCode,message:"success",success:!0,...e}}async function Xp({remoteResponse:e,needAuthorize:t=!0}){let n={};await new Promise(e=>{setTimeout(()=>{e(Jp({needAuthorize:t}))},300)}).then(e=>(n=e,e)).catch(e=>{gs(e)});const{code:r}=n;return r===_p.authenticationFailCode&&Gp(),n}async function eh({remoteResponse:e,needAuthorize:t=!0}){let n={};await new Promise(t=>{setTimeout(()=>{t(Qp(e))},300)}).then(e=>(n=e,e)).catch(e=>{gs(e)});const{code:r,message:o}=n;return r===_p.authenticationFailCode?Gp():r!==_p.successCode&&_l(o),n}async function th({api:e="",simulateRequestMaxDelay:t=200,dataBuild:n}){let r={};await new Promise(e=>{if(Zi(n)){const r=t>0?$c(Math.random()*t):0;ls(`api request simulate realy delay ${r}ms`),setTimeout(()=>{n(e)},r)}}).then(t=>(ls("api request simulate completed",`"${e}"`),r=t,t)).catch(e=>{gs(e)});const{code:o,message:a}=r;return o!==_p.successCode&&Ol(a),r}const nh="sessionStorageAssist",rh={getStorage:e=>{ys(Gc(vu,Zc("sessionStorageGetter need config, use setSessionStorageGetter to set it",`key ${e}`),nh))},setStorage:(e,t)=>{ys(Gc(vu,Zc("sessionStorageSetter need config, use setSessionStorageSetter to set it",`key ${e}, value type ${typeof t}`),nh))},removeStorage:e=>{ys(Gc(vu,Zc("sessionStorageRemover need config, use setSessionStorageRemover to set it",`key ${e}`),nh))},flushStorage:()=>{ys(Gc(vu,"sessionStorageFlusher need config, use setSessionStorageFlusher to set it",nh))}};function oh(e){rh.getStorage=e}function ah(e){rh.setStorage=e}function ih(e){rh.removeStorage=e}function uh(e){rh.flushStorage=e}function ch(e){try{return rh.getStorage(e)}catch(t){throw ys({key:e,e:t}),t}}function sh(e){const t=ch(e);return lu(t)?null:JSON.parse(t||"{}")}function lh(e,t){rh.setStorage(e,t)}function fh(e,t){rh.setStorage(e,ki(t||{}))}function dh(e){rh.removeStorage(e)}function bh(){rh.flushStorage()}function ph(e,t,n=""){return`请${t||"输入"}${e}${lu(n)?"":`,${n}`}`}function hh({label:e,name:t,helper:n}){let r="",o="",a="";if(tu(e))r=e;else{const r=Bc.buildMustString({name:"label",value:e});gs({label:e,name:t,helper:n},r),Nl(r)}if(tu(t))o=t;else{const r=Bc.buildMustString({name:"name",value:t});gs({label:e,name:t,helper:n},r),Nl(r)}if(tu(n||""))a=n;else{const r=Bc.buildMustString({name:"helper",value:n});gs({label:e,name:t,helper:n},r),Nl(r)}return{label:r,name:o,helper:a}}function mh(e,t="注: "){return`${t}${e}. `}export{Su as accessWaySpecialCollection,ff as addHour,df as addMinute,bf as addSecond,Sb as adjustUrl,xu as alignHorizontal,Au as alignVertical,ql as appendApplicationExternalConfig,kb as appendEmbedBuilder,Ob as appendExtraBuilder,Ll as applicationConfiguration,ni as assign,ri as assignWith,Zd as attachPropertiesToComponent,fd as authorityAssist,Hd as averageArray,Jc as buildBase64Jpeg,Qc as buildBase64Png,ph as buildFieldDescription,mh as buildFieldHelper,Wd as buildHexColor,qd as buildLinearGradient,Ib as buildModelCollection,Gc as buildPromptModuleInfo,Mp as buildQueryStringify,Ud as buildRGBColorFromHexColor,Yd as buildRandomHexColor,Qp as buildSimulateRequestFailResponse,Jp as buildSimulateRequestSuccessResponse,Vd as buildStringStyle,rb as buildTokenData,vf as calculateDateInterval,wf as calculateMonthInterval,yf as calculateTimeInterval,Bi as canToNumber,ji as checkDarkMode,ad as checkExist,hh as checkFromConfig,gd as checkHasAuthority,Li as checkHasMore,du as checkInCollection,pd as checkIsSuper,dl as checkMessagePromptData,fu as checkObjectIsNullOrEmpty,lu as checkStringIsNullOrWhiteSpace,Ri as checkWhetherDevelopmentEnvironment,Qu as chineseNumeralCollection,Vu as chineseZodiacCollection,Ii as cloneWithoutMethod,mf as compareTimeGreaterThan,hf as compareTimeLessThan,Ou as convertCollection,Lf as convertLunarToSolar,kf as convertLunarYearToSexagenaryCycleYear,wb as convertPixelToRem,zf as convertSolarToLunar,If as convertToSexagenaryCycle,lf as createDayJsDatetime,Nu as datetimeFormat,Ai as debounce,zd as decodeBase64,Ws as deleteCache,qs as deleteMultiCache,vi as difference,rs as displayObjectMessage,ns as displayTextMessage,fi as dropRight,Gu as earthlyBranchCollection,Kf as ellipsis,ku as emptyDatetime,Ld as encodeBase64,Xa as endsWith,Cu as environmentCollection,Uu as errorImage,$i as evil,Is as existCachePool,wi as filter,xi as find,Ci as findIndex,si as first,Rd as fixedZero,ci as floor,Bs as flushAllCache,il as flushLocalStorage,bh as flushSessionStorage,ai as forEach,Iu as formatCollection,Bf as formatDateInterval,Gf as formatDateIntervalWithNow,Uf as formatDatetime,Rf as formatDecimal,Hf as formatMoney,Yf as formatMoneyToChinese,Wf as formatTarget,Yi as generateNumberCollection,Za as get,cl as getAccessWayCollectionCache,Bl as getApplicationExternalConfigList,Wl as getApplicationInitialConfig,Gl as getApplicationMergeConfig,_i as getBrowserInfo,Ei as getBrowserVersion,_b as getBuilderCount,Rs as getCache,Ns as getCachePool,Pf as getChineseZodiac,Of as getConstellation,ib as getCurrentOperatorCache,ab as getCurrentOperatorCacheKey,Sf as getDayOfWeek,zs as getExpiration,zi as getGuid,nl as getJsonFromLocalStorage,sh as getJsonFromSessionStorage,Es as getLastRequestExceptionMessage,Mf as getLeapDays,$f as getLeapMonth,Zl as getLocalAuthorityCollection,Ab as getLocalMetaData,xb as getLocalMetaDataCacheKey,Ss as getLoggerDisplaySwitch,jf as getLunarYearDays,Nb as getModelCollection,Tb as getModelNameList,Df as getMonthDay,Ef as getMonthDays,Ys as getMultiCache,pp as getNearestLocalhostNotifyCache,pf as getNow,vp as getParametersDataCache,Jf as getPathValue,js as getRuntimeDataStorage,_f as getSolarDays,tl as getStringFromLocalStorage,ch as getStringFromSessionStorage,gb as getTacitlyState,Nf as getTerm,gf as getTimeStamp,Cf as getTodayOfWeek,eb as getToken,Xd as getTokenKeyName,Np as getUrlGlobalPrefix,Hi as getValue,td as getValueByKey,Af as getWeekday,Qa as groupBy,ii as gte,Gp as handleAuthenticationFail,md as handleAuthorizationFail,vb as handleDefaultParameters,id as handleItem,qp as handleListDataAssist,ud as handleListItem,Bp as handlePageListDataAssist,Vp as handleSimulationAuthorizeExtra,Ts as hasCache,bu as hasKey,Bu as heavenlyStemCollection,gu as inYear,nu as isArray,yu as isAsyncFunction,hu as isBetweenDatetime,Qi as isBoolean,Mi as isBrowser,eu as isDate,Wi as isDatetime,ru as isEmptyArray,au as isEmptyObject,Vi as isEqual,Ki as isEqualBySerialize,Zi as isFunction,su as isImageBase4,Ui as isInvalid,Gi as isMoney,Xi as isNull,qi as isNumber,ou as isObject,iu as isPlainObject,uu as isPromise,tu as isString,pu as isToday,Ji as isUndefined,cu as isUrl,mu as isWeekend,xf as judgeLeapYear,Hs as keys,Zs as localStorageAssist,bs as logCallResult,ds as logCallTrace,fs as logCallTrack,ts as logColorCollection,us as logConfig,xs as logConsole,os as logData,hs as logDebug,cs as logDevelop,Lu as logDisplay,gs as logError,ys as logException,ms as logExecute,is as logInfo,zu as logLevel,ws as logObject,ps as logRender,ss as logStack,vs as logText,ls as logTrace,as as logWarn,es as loggerSwitch,Wu as lunarInfoCollection,Ju as lunarPrefixCollection,Xu as lunarSuffixCollection,mi as map,ui as memoize,Kc as mergeArrowText,Gd as mergeProperties,Kd as mergeStyle,Vc as mergeTextCollection,Zc as mergeTextMessage,bl as messagePromptAssist,Hu as messageTypeCollection,Eb as modelContainer,wu as modelGlobalCollection,Wb as navigateTo,Rb as navigationAssist,qb as notificationPromptAssist,Ru as notificationTypeCollection,jp as parseQueryString,sb as preparationWork,Yp as pretreatmentRemoteListData,Up as pretreatmentRemotePageListData,Hp as pretreatmentRemoteSingleData,Wp as pretreatmentRequestParameters,Cp as progressAssist,Bc as promptTextBuilder,Ub as redirectTo,mb as reducerCollection,yb as reducerDefaultParameters,db as reducerNameCollection,pb as reducerNormalDataAssist,bb as reducerRemoteDataAssist,hb as reducerRemoveKeyAssist,Ni as refitCommonData,Ti as refitFieldDecoratorOption,cb as removeCurrentOperatorCache,Xf as removeEndMatch,hi as removeFromArray,ed as removeLastMatch,Ql as removeLocalAuthorityCollection,$b as removeLocalMetaData,al as removeLocalStorage,Pb as removeModelNameList,mp as removeNearestLocalhostNotifyCache,yp as removeParametersDataCache,dh as removeSessionStorage,nb as removeToken,pi as replace,Zf as replaceWithKeep,Kp as request,_p as requestConfiguration,ju as requestMethod,Mu as requestMode,oi as reverse,Ja as round,Ds as runtimeConfiguration,ol as saveJsonToLocalStorage,fh as saveJsonToSessionStorage,rl as saveStringToLocalStorage,lh as saveStringToSessionStorage,Fi as searchFromList,Oi as seededRandom,rh as sessionStorageAssist,gi as set,sl as setAccessWayCollectionCache,Ul as setApplicationExternalConfigList,Yl as setApplicationInitialConfig,Op as setAuthenticationFailCode,Pp as setAuthenticationFailHandler,dd as setAuthorizationFailHandler,Fs as setCache,ub as setCurrentOperatorCache,pl as setDurationConversionRatio,Sl as setErrorMessageDisplayMonitor,Jb as setErrorNotificationDisplayMonitor,Ls as setExpiration,Lp as setGlobalHeaderSupplementHandler,gl as setInfoMessageDisplayMonitor,Vb as setInfoNotificationDisplayMonitor,_s as setLastRequestExceptionMessage,ml as setLoadingMessageDisplayMonitor,Gb as setLoadingNotificationDisplayMonitor,Kl as setLocalAuthorityCollection,Db as setLocalMetaData,el as setLocalStorageFlusher,Qs as setLocalStorageGetter,Xs as setLocalStorageRemover,Js as setLocalStorageSetter,Cs as setLoggerDisplaySwitch,Fb as setModelNameList,Ps as setMultiCache,Hb as setNavigator,hp as setNearestLocalhostNotifyCache,hl as setOpenMessageDisplayMonitor,Bb as setOpenNotificationDisplayMonitor,wp as setParametersDataCache,fb as setPrepareCallback,xp as setProgressStartHandler,Ap as setProgressStopHandler,Ip as setPromptSimulation,Yb as setRedirector,Fp as setRequestHandler,Ms as setRuntimeDataStorage,uh as setSessionStorageFlusher,oh as setSessionStorageGetter,ih as setSessionStorageRemover,ah as setSessionStorageSetter,zp as setSimulationAuthorizeExtraHandler,kp as setSuccessCode,yl as setSuccessMessageDisplayMonitor,Kb as setSuccessNotificationDisplayMonitor,tb as setToken,Tp as setUrlGlobalPrefix,vl as setWarnMessageDisplayMonitor,Zb as setWarnNotificationDisplayMonitor,wl as setWarningMessageDisplayMonitor,Qb as setWarningNotificationDisplayMonitor,Tl as showErrorMessage,dp as showErrorNotification,Ml as showInfoMessage,op as showInfoNotification,Dl as showLoadingMessage,np as showLoadingNotification,xl as showOpenMessage,ep as showOpenNotification,Pl as showRuntimeError,Nl as showSimpleErrorMessage,fp as showSimpleErrorNotification,$l as showSimpleInfoMessage,rp as showSimpleInfoNotification,Al as showSimpleLoadingMessage,tp as showSimpleLoadingNotification,Cl as showSimpleOpenMessage,Xb as showSimpleOpenNotification,Fl as showSimpleRuntimeError,jl as showSimpleSuccessMessage,sp as showSimpleSuccessNotification,_l as showSimpleWarnMessage,ap as showSimpleWarnNotification,Ol as showSimpleWarningMessage,up as showSimpleWarningNotification,El as showSuccessMessage,lp as showSuccessNotification,kl as showWarnMessage,ip as showWarnNotification,Il as showWarningMessage,cp as showWarningNotification,eh as simulateFailRequest,th as simulateRequest,Xp as simulateSuccessRequest,yi as size,Qf as sleep,qu as solarMonthCollection,Ku as solarTermCollection,Si as sortBy,nd as sortCollectionByKey,Tu as sortOperate,ei as sortedUnique,ti as split,Dp as startProgress,li as startsWith,Gs as statisticsCache,$p as stopProgress,ul as storageKeyCollection,ki as stringifyJson,Us as takeCache,Zu as termInfoCollection,Di as throttle,Xl as to,kc as toBoolean,Mc as toBoundary,Ff as toChinaDay,Tf as toChinaMonth,Jl as toDatetime,Nc as toLower,Tc as toLowerFirst,Dc as toMd5,jc as toMoney,$c as toNumber,Ec as toPercentage,Fc as toPromise,Pc as toRound,Ac as toSha1,_c as toString,zc as toUniqueArray,Oc as toUpper,Ic as toUpperFirst,od as transformData,rd as transformListData,Yu as transparentImage,bi as trim,lb as tryDoDvaPrepareWork,gp as trySendNearestLocalhostNotify,$u as underlyingExtensionState,Du as underlyingState,di as uniqBy,Pu as whetherNumber,Fu as whetherString,_u as zeroInt,Eu as zeroString};
1
+ import e from"node-cache";import t from"lodash/isBoolean";import n from"lodash/isDate";import r from"lodash/isEqual";import o from"lodash/isFunction";import a from"lodash/isNull";import i from"lodash/isNumber";import u from"lodash/isObject";import c from"lodash/isString";import s from"lodash/isUndefined";import l from"lodash/replace";import f from"lodash/assign";import d from"lodash/assignWith";import b from"lodash/difference";import p from"lodash/dropRight";import h from"lodash/endsWith";import m from"lodash/filter";import g from"lodash/find";import y from"lodash/findIndex";import v from"lodash/first";import w from"lodash/floor";import S from"lodash/forEach";import C from"lodash/get";import x from"lodash/gte";import A from"lodash/map";import D from"lodash/memoize";import $ from"lodash/remove";import M from"lodash/reverse";import j from"lodash/round";import E from"lodash/set";import _ from"lodash/size";import k from"lodash/sortBy";import O from"lodash/sortedUniq";import I from"lodash/split";import N from"lodash/startsWith";import T from"lodash/trim";import F from"lodash/uniqBy";import P from"lodash/toNumber";import z from"lodash/toString";import L from"object-hash";import R from"dayjs";import{stringify as H,parse as Y}from"qs";var U,W,q,B,G,V,K,Z,Q,J,X,ee,te,ne,re,oe,ae,ie,ue,ce,se,le,fe,de,be,pe,he,me,ge="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function ye(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function ve(){if(W)return U;return W=1,U=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}}function we(){if(B)return q;B=1;var e="object"==typeof ge&&ge&&ge.Object===Object&&ge;return q=e}function Se(){if(V)return G;V=1;var e=we(),t="object"==typeof self&&self&&self.Object===Object&&self,n=e||t||Function("return this")();return G=n}function Ce(){if(ee)return X;ee=1;var e=function(){if(J)return Q;J=1;var e=/\s/;return Q=function(t){for(var n=t.length;n--&&e.test(t.charAt(n)););return n}}(),t=/^\s+/;return X=function(n){return n?n.slice(0,e(n)+1).replace(t,""):n}}function xe(){if(ne)return te;ne=1;var e=Se().Symbol;return te=e}function Ae(){if(ce)return ue;ce=1;var e=xe(),t=function(){if(oe)return re;oe=1;var e=xe(),t=Object.prototype,n=t.hasOwnProperty,r=t.toString,o=e?e.toStringTag:void 0;return re=function(e){var t=n.call(e,o),a=e[o];try{e[o]=void 0;var i=!0}catch(e){}var u=r.call(e);return i&&(t?e[o]=a:delete e[o]),u}}(),n=function(){if(ie)return ae;ie=1;var e=Object.prototype.toString;return ae=function(t){return e.call(t)}}(),r=e?e.toStringTag:void 0;return ue=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":r&&r in Object(e)?t(e):n(e)}}function De(){if(le)return se;return le=1,se=function(e){return null!=e&&"object"==typeof e}}function $e(){if(de)return fe;de=1;var e=Ae(),t=De();return fe=function(n){return"symbol"==typeof n||t(n)&&"[object Symbol]"==e(n)}}function Me(){if(me)return he;me=1;var e=ve(),t=function(){if(Z)return K;Z=1;var e=Se();return K=function(){return e.Date.now()}}(),n=function(){if(pe)return be;pe=1;var e=Ce(),t=ve(),n=$e(),r=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,a=/^0o[0-7]+$/i,i=parseInt;return be=function(u){if("number"==typeof u)return u;if(n(u))return NaN;if(t(u)){var c="function"==typeof u.valueOf?u.valueOf():u;u=t(c)?c+"":c}if("string"!=typeof u)return 0===u?u:+u;u=e(u);var s=o.test(u);return s||a.test(u)?i(u.slice(2),s?2:8):r.test(u)?NaN:+u}}(),r=Math.max,o=Math.min;return he=function(a,i,u){var c,s,l,f,d,b,p=0,h=!1,m=!1,g=!0;if("function"!=typeof a)throw new TypeError("Expected a function");function y(e){var t=c,n=s;return c=s=void 0,p=e,f=a.apply(n,t)}function v(e){var t=e-b;return void 0===b||t>=i||t<0||m&&e-p>=l}function w(){var e=t();if(v(e))return S(e);d=setTimeout(w,function(e){var t=i-(e-b);return m?o(t,l-(e-p)):t}(e))}function S(e){return d=void 0,g&&c?y(e):(c=s=void 0,f)}function C(){var e=t(),n=v(e);if(c=arguments,s=this,b=e,n){if(void 0===d)return function(e){return p=e,d=setTimeout(w,i),h?y(e):f}(b);if(m)return clearTimeout(d),d=setTimeout(w,i),y(b)}return void 0===d&&(d=setTimeout(w,i)),f}return i=n(i)||0,e(u)&&(h=!!u.leading,l=(m="maxWait"in u)?r(n(u.maxWait)||0,i):l,g="trailing"in u?!!u.trailing:g),C.cancel=function(){void 0!==d&&clearTimeout(d),p=0,c=b=s=d=void 0},C.flush=function(){return void 0===d?f:S(t())},C},he}var je,Ee,_e,ke,Oe,Ie,Ne,Te,Fe,Pe,ze,Le,Re,He,Ye,Ue,We,qe,Be,Ge,Ve,Ke,Ze,Qe,Je,Xe,et,tt,nt,rt,ot,at,it=ye(Me());function ut(){if(Ee)return je;Ee=1;var e=Ae(),t=ve();return je=function(n){if(!t(n))return!1;var r=e(n);return"[object Function]"==r||"[object GeneratorFunction]"==r||"[object AsyncFunction]"==r||"[object Proxy]"==r}}function ct(){if(Ie)return Oe;Ie=1;var e,t=function(){if(ke)return _e;ke=1;var e=Se()["__core-js_shared__"];return _e=e}(),n=(e=/[^.]+$/.exec(t&&t.keys&&t.keys.IE_PROTO||""))?"Symbol(src)_1."+e:"";return Oe=function(e){return!!n&&n in e}}function st(){if(Te)return Ne;Te=1;var e=Function.prototype.toString;return Ne=function(t){if(null!=t){try{return e.call(t)}catch(e){}try{return t+""}catch(e){}}return""}}function lt(){if(He)return Re;He=1;var e=function(){if(Pe)return Fe;Pe=1;var e=ut(),t=ct(),n=ve(),r=st(),o=/^\[object .+?Constructor\]$/,a=Function.prototype,i=Object.prototype,u=a.toString,c=i.hasOwnProperty,s=RegExp("^"+u.call(c).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");return Fe=function(a){return!(!n(a)||t(a))&&(e(a)?s:o).test(r(a))}}(),t=Le?ze:(Le=1,ze=function(e,t){return null==e?void 0:e[t]});return Re=function(n,r){var o=t(n,r);return e(o)?o:void 0}}function ft(){if(qe)return We;qe=1;var e=function(){if(Ue)return Ye;Ue=1;var e=lt(),t=function(){try{var t=e(Object,"defineProperty");return t({},"",{}),t}catch(e){}}();return Ye=t}();return We=function(t,n,r){"__proto__"==n&&e?e(t,n,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[n]=r}}function dt(){if(Qe)return Ze;Qe=1;var e=(Ke?Ve:(Ke=1,Ve=function(e){return function(t,n,r){for(var o=-1,a=Object(t),i=r(t),u=i.length;u--;){var c=i[e?u:++o];if(!1===n(a[c],c,a))break}return t}}))();return Ze=e}function bt(){if(rt)return nt;rt=1;var e=function(){if(tt)return et;tt=1;var e=Ae(),t=De();return et=function(n){return t(n)&&"[object Arguments]"==e(n)}}(),t=De(),n=Object.prototype,r=n.hasOwnProperty,o=n.propertyIsEnumerable,a=e(function(){return arguments}())?e:function(e){return t(e)&&r.call(e,"callee")&&!o.call(e,"callee")};return nt=a}function pt(){if(at)return ot;at=1;var e=Array.isArray;return ot=e}var ht,mt,gt,yt,vt,wt,St,Ct,xt,At,Dt,$t={exports:{}};function Mt(){return gt||(gt=1,function(e,t){var n=Se(),r=mt?ht:(mt=1,ht=function(){return!1}),o=t&&!t.nodeType&&t,a=o&&e&&!e.nodeType&&e,i=a&&a.exports===o?n.Buffer:void 0,u=(i?i.isBuffer:void 0)||r;e.exports=u}($t,$t.exports)),$t.exports}function jt(){if(vt)return yt;vt=1;var e=/^(?:0|[1-9]\d*)$/;return yt=function(t,n){var r=typeof t;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&e.test(t))&&t>-1&&t%1==0&&t<n}}function Et(){if(St)return wt;St=1;return wt=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}}var _t,kt,Ot,It,Nt,Tt,Ft,Pt,zt,Lt,Rt,Ht,Yt,Ut,Wt,qt,Bt,Gt,Vt,Kt,Zt,Qt,Jt,Xt,en,tn,nn,rn,on,an,un,cn,sn,ln,fn,dn,bn,pn,hn,mn,gn,yn,vn,wn,Sn,Cn,xn,An,Dn,$n,Mn,jn,En,_n,kn,On,In,Nn,Tn,Fn,Pn,zn,Ln,Rn,Hn,Yn,Un,Wn,qn,Bn,Gn,Vn,Kn,Zn,Qn,Jn,Xn,er,tr,nr,rr,or,ar,ir,ur,cr,sr,lr,fr,dr,br,pr,hr,mr,gr,yr,vr,wr,Sr,Cr,xr,Ar,Dr,$r,Mr,jr,Er,_r,kr,Or,Ir,Nr,Tr,Fr,Pr,zr,Lr,Rr,Hr,Yr,Ur,Wr,qr,Br,Gr,Vr,Kr,Zr,Qr,Jr,Xr,eo,to,no,ro,oo,ao,io,uo,co,so,lo,fo,bo,po,ho,mo,go,yo,vo,wo,So,Co,xo,Ao,Do,$o,Mo,jo,Eo,_o,ko,Oo,Io,No,To,Fo,Po,zo,Lo,Ro,Ho,Yo,Uo,Wo,qo,Bo,Go,Vo,Ko,Zo,Qo,Jo,Xo,ea,ta,na,ra={exports:{}};function oa(){if(Ot)return kt;Ot=1;var e=function(){if(xt)return Ct;xt=1;var e=Ae(),t=Et(),n=De(),r={};return r["[object Float32Array]"]=r["[object Float64Array]"]=r["[object Int8Array]"]=r["[object Int16Array]"]=r["[object Int32Array]"]=r["[object Uint8Array]"]=r["[object Uint8ClampedArray]"]=r["[object Uint16Array]"]=r["[object Uint32Array]"]=!0,r["[object Arguments]"]=r["[object Array]"]=r["[object ArrayBuffer]"]=r["[object Boolean]"]=r["[object DataView]"]=r["[object Date]"]=r["[object Error]"]=r["[object Function]"]=r["[object Map]"]=r["[object Number]"]=r["[object Object]"]=r["[object RegExp]"]=r["[object Set]"]=r["[object String]"]=r["[object WeakMap]"]=!1,Ct=function(o){return n(o)&&t(o.length)&&!!r[e(o)]}}(),t=Dt?At:(Dt=1,At=function(e){return function(t){return e(t)}}),n=function(){return _t||(_t=1,e=ra,t=ra.exports,n=we(),r=t&&!t.nodeType&&t,o=r&&e&&!e.nodeType&&e,a=o&&o.exports===r&&n.process,i=function(){try{return o&&o.require&&o.require("util").types||a&&a.binding&&a.binding("util")}catch(e){}}(),e.exports=i),ra.exports;var e,t,n,r,o,a,i}(),r=n&&n.isTypedArray,o=r?t(r):e;return kt=o}function aa(){if(Nt)return It;Nt=1;var e=Xe?Je:(Xe=1,Je=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}),t=bt(),n=pt(),r=Mt(),o=jt(),a=oa(),i=Object.prototype.hasOwnProperty;return It=function(u,c){var s=n(u),l=!s&&t(u),f=!s&&!l&&r(u),d=!s&&!l&&!f&&a(u),b=s||l||f||d,p=b?e(u.length,String):[],h=p.length;for(var m in u)!c&&!i.call(u,m)||b&&("length"==m||f&&("offset"==m||"parent"==m)||d&&("buffer"==m||"byteLength"==m||"byteOffset"==m)||o(m,h))||p.push(m);return p}}function ia(){if(Rt)return Lt;Rt=1;var e=(zt?Pt:(zt=1,Pt=function(e,t){return function(n){return e(t(n))}}))(Object.keys,Object);return Lt=e}function ua(){if(Yt)return Ht;Yt=1;var e=function(){if(Ft)return Tt;Ft=1;var e=Object.prototype;return Tt=function(t){var n=t&&t.constructor;return t===("function"==typeof n&&n.prototype||e)}}(),t=ia(),n=Object.prototype.hasOwnProperty;return Ht=function(r){if(!e(r))return t(r);var o=[];for(var a in Object(r))n.call(r,a)&&"constructor"!=a&&o.push(a);return o}}function ca(){if(Wt)return Ut;Wt=1;var e=ut(),t=Et();return Ut=function(n){return null!=n&&t(n.length)&&!e(n)}}function sa(){if(Bt)return qt;Bt=1;var e=aa(),t=ua(),n=ca();return qt=function(r){return n(r)?e(r):t(r)}}function la(){if(Jt)return Qt;Jt=1;var e=function(){if(Vt)return Gt;Vt=1;var e=dt(),t=sa();return Gt=function(n,r){return n&&e(n,r,t)}}(),t=function(){if(Zt)return Kt;Zt=1;var e=ca();return Kt=function(t,n){return function(r,o){if(null==r)return r;if(!e(r))return t(r,o);for(var a=r.length,i=n?a:-1,u=Object(r);(n?i--:++i<a)&&!1!==o(u[i],i,u););return r}}}()(e);return Qt=t}function fa(){if(on)return rn;return on=1,rn=function(e,t){return e===t||e!=e&&t!=t}}function da(){if(un)return an;un=1;var e=fa();return an=function(t,n){for(var r=t.length;r--;)if(e(t[r][0],n))return r;return-1}}function ba(){if(gn)return mn;gn=1;var e=nn?tn:(nn=1,tn=function(){this.__data__=[],this.size=0}),t=function(){if(sn)return cn;sn=1;var e=da(),t=Array.prototype.splice;return cn=function(n){var r=this.__data__,o=e(r,n);return!(o<0||(o==r.length-1?r.pop():t.call(r,o,1),--this.size,0))}}(),n=function(){if(fn)return ln;fn=1;var e=da();return ln=function(t){var n=this.__data__,r=e(n,t);return r<0?void 0:n[r][1]}}(),r=function(){if(bn)return dn;bn=1;var e=da();return dn=function(t){return e(this.__data__,t)>-1}}(),o=function(){if(hn)return pn;hn=1;var e=da();return pn=function(t,n){var r=this.__data__,o=e(r,t);return o<0?(++this.size,r.push([t,n])):r[o][1]=n,this}}();function a(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}return a.prototype.clear=e,a.prototype.delete=t,a.prototype.get=n,a.prototype.has=r,a.prototype.set=o,mn=a}function pa(){if(Mn)return $n;Mn=1;var e=lt()(Se(),"Map");return $n=e}function ha(){if(En)return jn;En=1;var e=lt()(Object,"create");return jn=e}function ma(){if(Hn)return Rn;Hn=1;var e=function(){if(kn)return _n;kn=1;var e=ha();return _n=function(){this.__data__=e?e(null):{},this.size=0}}(),t=In?On:(In=1,On=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}),n=function(){if(Tn)return Nn;Tn=1;var e=ha(),t=Object.prototype.hasOwnProperty;return Nn=function(n){var r=this.__data__;if(e){var o=r[n];return"__lodash_hash_undefined__"===o?void 0:o}return t.call(r,n)?r[n]:void 0}}(),r=function(){if(Pn)return Fn;Pn=1;var e=ha(),t=Object.prototype.hasOwnProperty;return Fn=function(n){var r=this.__data__;return e?void 0!==r[n]:t.call(r,n)}}(),o=function(){if(Ln)return zn;Ln=1;var e=ha();return zn=function(t,n){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=e&&void 0===n?"__lodash_hash_undefined__":n,this}}();function a(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}return a.prototype.clear=e,a.prototype.delete=t,a.prototype.get=n,a.prototype.has=r,a.prototype.set=o,Rn=a}function ga(){if(Gn)return Bn;Gn=1;var e=qn?Wn:(qn=1,Wn=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e});return Bn=function(t,n){var r=t.__data__;return e(n)?r["string"==typeof n?"string":"hash"]:r.map},Bn}function ya(){if(rr)return nr;rr=1;var e=function(){if(Un)return Yn;Un=1;var e=ma(),t=ba(),n=pa();return Yn=function(){this.size=0,this.__data__={hash:new e,map:new(n||t),string:new e}}}(),t=function(){if(Kn)return Vn;Kn=1;var e=ga();return Vn=function(t){var n=e(this,t).delete(t);return this.size-=n?1:0,n}}(),n=function(){if(Qn)return Zn;Qn=1;var e=ga();return Zn=function(t){return e(this,t).get(t)}}(),r=function(){if(Xn)return Jn;Xn=1;var e=ga();return Jn=function(t){return e(this,t).has(t)}}(),o=function(){if(tr)return er;tr=1;var e=ga();return er=function(t,n){var r=e(this,t),o=r.size;return r.set(t,n),this.size+=r.size==o?0:1,this},er}();function a(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}return a.prototype.clear=e,a.prototype.delete=t,a.prototype.get=n,a.prototype.has=r,a.prototype.set=o,nr=a}function va(){if(ur)return ir;ur=1;var e=ba(),t=function(){if(vn)return yn;vn=1;var e=ba();return yn=function(){this.__data__=new e,this.size=0}}(),n=Sn?wn:(Sn=1,wn=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}),r=xn?Cn:(xn=1,Cn=function(e){return this.__data__.get(e)}),o=Dn?An:(Dn=1,An=function(e){return this.__data__.has(e)}),a=function(){if(ar)return or;ar=1;var e=ba(),t=pa(),n=ya();return or=function(r,o){var a=this.__data__;if(a instanceof e){var i=a.__data__;if(!t||i.length<199)return i.push([r,o]),this.size=++a.size,this;a=this.__data__=new n(i)}return a.set(r,o),this.size=a.size,this}}();function i(t){var n=this.__data__=new e(t);this.size=n.size}return i.prototype.clear=t,i.prototype.delete=n,i.prototype.get=r,i.prototype.has=o,i.prototype.set=a,ir=i}function wa(){if(br)return dr;br=1;var e=ya(),t=sr?cr:(sr=1,cr=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}),n=fr?lr:(fr=1,lr=function(e){return this.__data__.has(e)});function r(t){var n=-1,r=null==t?0:t.length;for(this.__data__=new e;++n<r;)this.add(t[n])}return r.prototype.add=r.prototype.push=t,r.prototype.has=n,dr=r}function Sa(){if(vr)return yr;vr=1;var e=wa(),t=hr?pr:(hr=1,pr=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}),n=gr?mr:(gr=1,mr=function(e,t){return e.has(t)});return yr=function(r,o,a,i,u,c){var s=1&a,l=r.length,f=o.length;if(l!=f&&!(s&&f>l))return!1;var d=c.get(r),b=c.get(o);if(d&&b)return d==o&&b==r;var p=-1,h=!0,m=2&a?new e:void 0;for(c.set(r,o),c.set(o,r);++p<l;){var g=r[p],y=o[p];if(i)var v=s?i(y,g,p,o,r,c):i(g,y,p,r,o,c);if(void 0!==v){if(v)continue;h=!1;break}if(m){if(!t(o,function(e,t){if(!n(m,t)&&(g===e||u(g,e,a,i,c)))return m.push(t)})){h=!1;break}}else if(g!==y&&!u(g,y,a,i,c)){h=!1;break}}return c.delete(r),c.delete(o),h},yr}function Ca(){if(Mr)return $r;Mr=1;var e=xe(),t=function(){if(Sr)return wr;Sr=1;var e=Se().Uint8Array;return wr=e}(),n=fa(),r=Sa(),o=(xr||(xr=1,Cr=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}),Cr),a=(Dr||(Dr=1,Ar=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}),Ar),i=e?e.prototype:void 0,u=i?i.valueOf:void 0;return $r=function(e,i,c,s,l,f,d){switch(c){case"[object DataView]":if(e.byteLength!=i.byteLength||e.byteOffset!=i.byteOffset)return!1;e=e.buffer,i=i.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=i.byteLength||!f(new t(e),new t(i)));case"[object Boolean]":case"[object Date]":case"[object Number]":return n(+e,+i);case"[object Error]":return e.name==i.name&&e.message==i.message;case"[object RegExp]":case"[object String]":return e==i+"";case"[object Map]":var b=o;case"[object Set]":var p=1&s;if(b||(b=a),e.size!=i.size&&!p)return!1;var h=d.get(e);if(h)return h==i;s|=2,d.set(e,i);var m=r(b(e),b(i),s,l,f,d);return d.delete(e),m;case"[object Symbol]":if(u)return u.call(e)==u.call(i)}return!1},$r}function xa(){if(kr)return _r;kr=1;var e=Er?jr:(Er=1,jr=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}),t=pt();return _r=function(n,r,o){var a=r(n);return t(n)?a:e(a,o(n))}}function Aa(){if(Pr)return Fr;Pr=1;var e=Ir?Or:(Ir=1,Or=function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,a=[];++n<r;){var i=e[n];t(i,n,e)&&(a[o++]=i)}return a}),t=Tr?Nr:(Tr=1,Nr=function(){return[]}),n=Object.prototype.propertyIsEnumerable,r=Object.getOwnPropertySymbols;return Fr=r?function(t){return null==t?[]:(t=Object(t),e(r(t),function(e){return n.call(t,e)}))}:t}function Da(){if(Hr)return Rr;Hr=1;var e=function(){if(Lr)return zr;Lr=1;var e=xa(),t=Aa(),n=sa();return zr=function(r){return e(r,n,t)}}(),t=Object.prototype.hasOwnProperty;return Rr=function(n,r,o,a,i,u){var c=1&o,s=e(n),l=s.length;if(l!=e(r).length&&!c)return!1;for(var f=l;f--;){var d=s[f];if(!(c?d in r:t.call(r,d)))return!1}var b=u.get(n),p=u.get(r);if(b&&p)return b==r&&p==n;var h=!0;u.set(n,r),u.set(r,n);for(var m=c;++f<l;){var g=n[d=s[f]],y=r[d];if(a)var v=c?a(y,g,d,r,n,u):a(g,y,d,n,r,u);if(!(void 0===v?g===y||i(g,y,o,a,u):v)){h=!1;break}m||(m="constructor"==d)}if(h&&!m){var w=n.constructor,S=r.constructor;w==S||!("constructor"in n)||!("constructor"in r)||"function"==typeof w&&w instanceof w&&"function"==typeof S&&S instanceof S||(h=!1)}return u.delete(n),u.delete(r),h},Rr}function $a(){if(Qr)return Zr;Qr=1;var e=function(){if(Ur)return Yr;Ur=1;var e=lt()(Se(),"DataView");return Yr=e}(),t=pa(),n=function(){if(qr)return Wr;qr=1;var e=lt()(Se(),"Promise");return Wr=e}(),r=function(){if(Gr)return Br;Gr=1;var e=lt()(Se(),"Set");return Br=e}(),o=function(){if(Kr)return Vr;Kr=1;var e=lt()(Se(),"WeakMap");return Vr=e}(),a=Ae(),i=st(),u="[object Map]",c="[object Promise]",s="[object Set]",l="[object WeakMap]",f="[object DataView]",d=i(e),b=i(t),p=i(n),h=i(r),m=i(o),g=a;return(e&&g(new e(new ArrayBuffer(1)))!=f||t&&g(new t)!=u||n&&g(n.resolve())!=c||r&&g(new r)!=s||o&&g(new o)!=l)&&(g=function(e){var t=a(e),n="[object Object]"==t?e.constructor:void 0,r=n?i(n):"";if(r)switch(r){case d:return f;case b:return u;case p:return c;case h:return s;case m:return l}return t}),Zr=g}function Ma(){if(to)return eo;to=1;var e=function(){if(Xr)return Jr;Xr=1;var e=va(),t=Sa(),n=Ca(),r=Da(),o=$a(),a=pt(),i=Mt(),u=oa(),c="[object Arguments]",s="[object Array]",l="[object Object]",f=Object.prototype.hasOwnProperty;return Jr=function(d,b,p,h,m,g){var y=a(d),v=a(b),w=y?s:o(d),S=v?s:o(b),C=(w=w==c?l:w)==l,x=(S=S==c?l:S)==l,A=w==S;if(A&&i(d)){if(!i(b))return!1;y=!0,C=!1}if(A&&!C)return g||(g=new e),y||u(d)?t(d,b,p,h,m,g):n(d,b,w,p,h,m,g);if(!(1&p)){var D=C&&f.call(d,"__wrapped__"),$=x&&f.call(b,"__wrapped__");if(D||$){var M=D?d.value():d,j=$?b.value():b;return g||(g=new e),m(M,j,p,h,g)}}return!!A&&(g||(g=new e),r(d,b,p,h,m,g))},Jr}(),t=De();return eo=function n(r,o,a,i,u){return r===o||(null==r||null==o||!t(r)&&!t(o)?r!=r&&o!=o:e(r,o,a,i,n,u))},eo}function ja(){if(ao)return oo;ao=1;var e=ve();return oo=function(t){return t==t&&!e(t)}}function Ea(){if(so)return co;return so=1,co=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}}function _a(){if(fo)return lo;fo=1;var e=function(){if(ro)return no;ro=1;var e=va(),t=Ma();return no=function(n,r,o,a){var i=o.length,u=i,c=!a;if(null==n)return!u;for(n=Object(n);i--;){var s=o[i];if(c&&s[2]?s[1]!==n[s[0]]:!(s[0]in n))return!1}for(;++i<u;){var l=(s=o[i])[0],f=n[l],d=s[1];if(c&&s[2]){if(void 0===f&&!(l in n))return!1}else{var b=new e;if(a)var p=a(f,d,l,n,r,b);if(!(void 0===p?t(d,f,3,a,b):p))return!1}}return!0},no}(),t=function(){if(uo)return io;uo=1;var e=ja(),t=sa();return io=function(n){for(var r=t(n),o=r.length;o--;){var a=r[o],i=n[a];r[o]=[a,i,e(i)]}return r}}(),n=Ea();return lo=function(r){var o=t(r);return 1==o.length&&o[0][2]?n(o[0][0],o[0][1]):function(t){return t===r||e(t,r,o)}}}function ka(){if(po)return bo;po=1;var e=pt(),t=$e(),n=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,r=/^\w*$/;return bo=function(o,a){if(e(o))return!1;var i=typeof o;return!("number"!=i&&"symbol"!=i&&"boolean"!=i&&null!=o&&!t(o))||(r.test(o)||!n.test(o)||null!=a&&o in Object(a))}}function Oa(){if(yo)return go;yo=1;var e=function(){if(mo)return ho;mo=1;var e=ya();function t(n,r){if("function"!=typeof n||null!=r&&"function"!=typeof r)throw new TypeError("Expected a function");var o=function(){var e=arguments,t=r?r.apply(this,e):e[0],a=o.cache;if(a.has(t))return a.get(t);var i=n.apply(this,e);return o.cache=a.set(t,i)||a,i};return o.cache=new(t.Cache||e),o}return t.Cache=e,ho=t}();return go=function(t){var n=e(t,function(e){return 500===r.size&&r.clear(),e}),r=n.cache;return n}}function Ia(){if(Ao)return xo;Ao=1;var e=xe(),t=Co?So:(Co=1,So=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}),n=pt(),r=$e(),o=e?e.prototype:void 0,a=o?o.toString:void 0;return xo=function e(o){if("string"==typeof o)return o;if(n(o))return t(o,e)+"";if(r(o))return a?a.call(o):"";var i=o+"";return"0"==i&&1/o==-1/0?"-0":i},xo}function Na(){if($o)return Do;$o=1;var e=Ia();return Do=function(t){return null==t?"":e(t)}}function Ta(){if(jo)return Mo;jo=1;var e=pt(),t=ka(),n=function(){if(wo)return vo;wo=1;var e=Oa(),t=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,n=/\\(\\)?/g,r=e(function(e){var r=[];return 46===e.charCodeAt(0)&&r.push(""),e.replace(t,function(e,t,o,a){r.push(o?a.replace(n,"$1"):t||e)}),r});return vo=r}(),r=Na();return Mo=function(o,a){return e(o)?o:t(o,a)?[o]:n(r(o))}}function Fa(){if(_o)return Eo;_o=1;var e=$e();return Eo=function(t){if("string"==typeof t||e(t))return t;var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}}function Pa(){if(Oo)return ko;Oo=1;var e=Ta(),t=Fa();return ko=function(n,r){for(var o=0,a=(r=e(r,n)).length;null!=n&&o<a;)n=n[t(r[o++])];return o&&o==a?n:void 0}}function za(){if(Ro)return Lo;Ro=1;var e=Fo?To:(Fo=1,To=function(e,t){return null!=e&&t in Object(e)}),t=function(){if(zo)return Po;zo=1;var e=Ta(),t=bt(),n=pt(),r=jt(),o=Et(),a=Fa();return Po=function(i,u,c){for(var s=-1,l=(u=e(u,i)).length,f=!1;++s<l;){var d=a(u[s]);if(!(f=null!=i&&c(i,d)))break;i=i[d]}return f||++s!=l?f:!!(l=null==i?0:i.length)&&o(l)&&r(d,l)&&(n(i)||t(i))}}();return Lo=function(n,r){return null!=n&&t(n,r,e)}}function La(){if(Yo)return Ho;Yo=1;var e=Ma(),t=function(){if(No)return Io;No=1;var e=Pa();return Io=function(t,n,r){var o=null==t?void 0:e(t,n);return void 0===o?r:o}}(),n=za(),r=ka(),o=ja(),a=Ea(),i=Fa();return Ho=function(u,c){return r(u)&&o(c)?a(i(u),c):function(r){var o=t(r,u);return void 0===o&&o===c?n(r,u):e(c,o,3)}}}function Ra(){if(Zo)return Ko;Zo=1;var e=Bo?qo:(Bo=1,qo=function(e){return function(t){return null==t?void 0:t[e]}}),t=function(){if(Vo)return Go;Vo=1;var e=Pa();return Go=function(t){return function(n){return e(n,t)}}}(),n=ka(),r=Fa();return Ko=function(o){return n(o)?e(r(o)):t(o)}}function Ha(){if(Jo)return Qo;Jo=1;var e=_a(),t=La(),n=Wo?Uo:(Wo=1,Uo=function(e){return e}),r=pt(),o=Ra();return Qo=function(a){return"function"==typeof a?a:null==a?n:"object"==typeof a?r(a)?t(a[0],a[1]):e(a):o(a)}}function Ya(){if(ea)return Xo;ea=1;var e=Ge?Be:(Ge=1,Be=function(e,t,n,r){for(var o=-1,a=null==e?0:e.length;++o<a;){var i=e[o];t(r,i,n(i),e)}return r}),t=function(){if(en)return Xt;en=1;var e=la();return Xt=function(t,n,r,o){return e(t,function(e,t,a){n(o,e,r(e),a)}),o}}(),n=Ha(),r=pt();return Xo=function(o,a){return function(i,u){var c=r(i)?e:t,s=a?a():{};return c(i,o,n(u,2),s)}}}var Ua,Wa,qa=function(){if(na)return ta;na=1;var e=ft(),t=Ya(),n=Object.prototype.hasOwnProperty,r=t(function(t,r,o){n.call(t,o)?t[o].push(r):e(t,o,[r])});return ta=r}(),Ba=ye(qa);var Ga=function(){if(Wa)return Ua;Wa=1;var e=Me(),t=ve();return Ua=function(n,r,o){var a=!0,i=!0;if("function"!=typeof n)throw new TypeError("Expected a function");return t(o)&&(a="leading"in o?!!o.leading:a,i="trailing"in o?!!o.trailing:i),e(n,r,{leading:a,maxWait:r,trailing:i})}}(),Va=ye(Ga);function Ka(e,t,n=null){return C(e,t,n)}function Za(e,t=null){return Ba(e,t)}function Qa(e,t){return j(e,t)}function Ja(e,t,n){return h(e,t,n)}function Xa(e){return O(e)}function ei(e,t,n=1e3){return I(e,t,n)}function ti(e,t){return f(e,t)}function ni(e,t,n){return d(e,t,n)}function ri(e){return M(e)}function oi(e,t){return S(e,t)}function ai(e,t){return x(e,t)}function ii(e){return D(e)}function ui(e,t){return w(e,t)}function ci(e){return v(e)}function si(e,t){return N(e,t)}function li(e,t=1){return p(e,t)}function fi(e,t){return F(e,t)}function di(e){return T(e)}function bi(e,t,n){return l(e,t,n)}function pi(e,t){return $(e,t)}function hi(e,t){return A(e,t)}function mi(e,t,n){return E(e,t,n)}function gi(e){return _(e)}function yi(e,t){return b(e,t)}function vi(e,t){return m(e,t)}function wi(e,t){return k(e,t)}function Si(e,t,n=0){return y(e,t,n)}function Ci(e,t,n=0){return g(e,t,n)}function xi(e,t=0,n={}){return it(e,t,n)}function Ai(e,t=0,n={}){return Va(e,t,n)}function Di(e){return new Function(`return ${e}`)()}function $i(){return"undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement}function Mi(){return window&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches}function ji(){const e=navigator.userAgent;return{trident:e.includes("Trident"),presto:e.includes("Presto"),webKit:e.includes("AppleWebKit"),gecko:e.includes("Gecko")&&!e.includes("KHTML"),mobile:!!/AppleWebKit.*Mobile.*/.test(e),ios:!!/\(i[^;]+;( U;)? CPU.+Mac OS X/.test(e),android:e.includes("Android")||e.includes("Linux"),iPhone:e.includes("iPhone"),iPad:e.includes("iPad"),webApp:!e.includes("Safari")}}function Ei(){return{versions:ji(),language:((navigator.browserLanguage||navigator.language)??"").toLowerCase()}}function _i(e){let t=[];const n=JSON.stringify(e,function(e,n){if("object"==typeof n&&null!==n){if(t.includes(n))return;t.push(n)}return n});return t=null,n}function ki({seed:e,min:t,max:n}){const r=t||0;return r+(9301*e+49297)%233280/233280*((n||1)-r)}function Oi(e){return null==e?null:JSON.parse(_i(e))}function Ii(e,t,n){let r=[];return null!=e&&(r=[...e]),null!=n&&(r=[...r,...n]),null!=t&&(r=[t,...r]),r}function Ni(e,t,n,r,o){const a=r,i=void 0===n?null:n;return null!=t&&(a.initialValue="function"==typeof convertValue?o(e)||i:e||i),a}function Ti(e,t,n){const r=n||[];let o=null;if(null==t)return o;for(const n of r)n[e]===t&&(o=n);return o}function Fi(e){return e?(e^16*Math.random()>>e/4).toString(16):([1e7]+-1e3+-4e3+-8e3+-1e11).replaceAll(/[018]/g,Fi)}function Pi(){return Fi()+""}function zi({pageNo:e,pageSize:t,total:n}){return!((n||0)<=0)&&(e||0)*(t||0)<(n||0)}function Li(){return"development"===process.env.NODE_ENV}function Ri(e){return Object.keys(e).map(t=>e[t]).join(",")}function Hi(e,t){return Array.from({length:t-e+1},(t,n)=>e+n)}function Yi(e){return Qi(e)}function Ui(e){const t=`${Qi(e)?null:e}`.match(/^(\d{1,4})(-|\/)(\d{1,2})\2(\d{1,2})$/);if(null==t)return!1;const n=new Date(t[1],t[3]-1,t[4]);return n.getFullYear()===Number.parseInt(t[1],10)&&n.getMonth()+1===Number.parseInt(t[3],10)&&n.getDate()===Number.parseInt(t[4],10)}function Wi(e){return!!Number.isInteger(e)||i(e)}function qi(e){return!!Wi(e)||!Number.isNaN(Number(e))}function Bi(e){const t=`${Qi(e)?null:e}`;if(""===t)return!1;return new RegExp(/^([1-9]\d{0,15}|0)(\.\d{1,2})?$/).test(t)}function Gi(e,t){return r(e,t)}function Vi(e,t){return _i(e||{})===_i(t||{})}function Ki(e){return o(e)}function Zi(e){return t(e)}function Qi(e){return s(e)}function Ji(e){return a(e)}function Xi(e){return n(e)}function eu(e){return c(e)}function tu(e){return Array.isArray(e)}function nu(e){return!!tu(e)&&e.length<=0}function ru(e){return u(e)}function ou(e){return!!ru(e)&&Object.keys(e).length<=0}function au(e){return null!==e&&"object"==typeof e&&!tu(e)}function iu(e){return au(e)&&Ki(e.then)&&Ki(e.catch)}function uu(e){return new RegExp(/(http|https):\/\/([\w.]+\/?)\S*/).test(e)}function cu(e){return new RegExp(/(data):image\/([\w.]+\/?)\S*/).test(e)}function su(e){return""===di(l(e||""," ",""))}function lu(e){return!!Qi(e)||(!!Ji(e)||!tu(e)&&(!!ru(e)&&ou(e)))}function fu(e,t){let n=!1;return tu(e)?(e.some(e=>e===t&&(n=!0,!0)),n):n}function du(e,t){if(su(t))return!1;return fu(Object.keys(e),t)}function bu(e){return(new Date).toISOString().slice(0,10)===e.toISOString().slice(0,10)}function pu(e,t,n){return n.getTime()>=e.getTime()&&n.getTime()<=t.getTime()}function hu(e){return 6===e.getDay()||0===e.getDay()}function mu(e,t){return e.getUTCFullYear()===new Date(`${t}`).getUTCFullYear()}function gu(e){return"[object AsyncFunction]"===Object.prototype.toString.call(e)}const yu="easy-soft-utility",vu={whetherList:[{key:"b24a21cf-a45c-4b6a-9993-f6953d7eb1ee",flag:"0",name:"否",alias:"否",description:"",availability:1},{key:"ea1b8b1e-7b78-4b29-bbce-57ef0b25e23c",flag:"1",name:"是",alias:"是",description:"",availability:1}]},wu={super:{permission:"super"}},Su={ALIPAY:"ALIPAY",JD:"JD",QQ:"QQ",RN:"RN",SWAN:"SWAN",TT:"TT",UNKNOWN:"UNKNOWN",WEAPP:"WEAPP",WEB:"WEB"},Cu={center:"center",left:"left",right:"right"},xu={bottom:"bottom",middle:"middle",top:"top"},Au={dataLoading:!1,dispatchComplete:!0,externalData:null,firstLoadSuccess:!1,loadApiPath:"",loadSuccess:!1,metaData:null,metaExtra:null,metaListData:[],metaOriginalData:null,paging:!1,processing:!1,refreshing:!1,registering:!1,reloading:!1,searching:!1,urlParams:null},Du={dataLoading:!0},$u={real:"real",simulation:"simulation"},Mu={get:"GET",post:"POST",put:"PUT",delete:"DELETE",trace:"TRACE",connect:"CONNECT"},ju="0",Eu=0,_u="1970-01-01 00:00",ku={number:"number",whetherNumber:"whetherNumber",whetherString:"whetherString",datetime:"datetime",string:"string",moment:"moment",money:"money",array:"array",boolean:"boolean"},Ou={money:"money",datetime:"datetime",chineseMoney:"chineseMoney",percentage:"percentage"},Iu={yearMonthDayHourMinuteSecond:"YYYY-MM-DD HH:mm:ss",yearMonthDayHourMinute:"YYYY-MM-DD HH:mm",yearMonthDay:"YYYY-MM-DD",yearMonth:"YYYY-MM",year:"YYYY",monthDayHourMinuteSecond:"YYYY-MM-DD HH:mm:ss",monthDayHourMinute:"MM-DD HH:mm",monthDay:"MM-DD",hourMinute:"HH:mm",hourMinuteSecond:"HH:mm:ss",month:"MM",day:"DD",hour:"HH",minute:"mm",second:"ss"},Nu={moveUp:"moveUp",moveDown:"moveDown"},Tu={no:"0",yes:"1"},Fu={no:0,yes:1},Pu={trace:"trace",debug:"debug",warn:"warn",error:"error",exception:"exception",info:"info",config:"config",execute:"execute",stack:"stack",develop:"develop",callTrack:"callTrack",callTrace:"callTrace",callResult:"callResult",render:"render"},zu={auto:"auto",text:"text",object:"object"},Lu={open:"open",loading:"loading",info:"info",warning:"warning",warn:"warn",success:"success",error:"error"},Ru={open:"open",loading:"loading",info:"info",warning:"warning",warn:"warn",success:"success",error:"error"},Hu="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABLCAYAAACGGCK3AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAA0SURBVHhe7cExAQAAAMKg9U9tDQ8gAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIA3NXV7AAHfw7zWAAAAAElFTkSuQmCC",Yu=Hu,Uu=[19416,19168,42352,21717,53856,55632,91476,22176,39632,21970,19168,42422,42192,53840,119381,46400,54944,44450,38320,84343,18800,42160,46261,27216,27968,109396,11104,38256,21234,18800,25958,54432,59984,28309,23248,11104,100067,37600,116951,51536,54432,120998,46416,22176,107956,9680,37584,53938,43344,46423,27808,46416,86869,19872,42416,83315,21168,43432,59728,27296,44710,43856,19296,43748,42352,21088,62051,55632,23383,22176,38608,19925,19152,42192,54484,53840,54616,46400,46752,103846,38320,18864,43380,42160,45690,27216,27968,44870,43872,38256,19189,18800,25776,29859,59984,27480,21952,43872,38613,37600,51552,55636,54432,55888,30034,22176,43959,9680,37584,51893,43344,46240,47780,44368,21977,19360,42416,86390,21168,43312,31060,27296,44368,23378,19296,42726,42208,53856,60005,54576,23200,30371,38608,19195,19152,42192,118966,53840,54560,56645,46496,22224,21938,18864,42359,42160,43600,111189,27936,44448,84835,37744,18936,18800,25776,92326,59984,27424,108228,43744,41696,53987,51552,54615,54432,55888,23893,22176,42704,21972,21200,43448,43344,46240,46758,44368,21920,43940,42416,21168,45683,26928,29495,27296,44368,84821,19296,42352,21732,53600,59752,54560,55968,92838,22224,19168,43476,41680,53584,62034,54560],Wu=[31,28,31,30,31,30,31,31,30,31,30,31],qu=["甲","乙","丙","丁","戊","己","庚","辛","壬","癸"],Bu=["子","丑","寅","卯","辰","巳","午","未","申","酉","戌","亥"],Gu=["鼠","牛","虎","兔","龙","蛇","马","羊","猴","鸡","狗","猪"],Vu=["小寒","大寒","立春","雨水","惊蛰","春分","清明","谷雨","立夏","小满","芒种","夏至","小暑","大暑","立秋","处暑","白露","秋分","寒露","霜降","立冬","小雪","大雪","冬至"],Ku=["9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c3598082c95f8c965cc920f","97bd0b06bdb0722c965ce1cfcc920f","b027097bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c359801ec95f8c965cc920f","97bd0b06bdb0722c965ce1cfcc920f","b027097bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c359801ec95f8c965cc920f","97bd0b06bdb0722c965ce1cfcc920f","b027097bd097c36b0b6fc9274c91aa","9778397bd19801ec9210c965cc920e","97b6b97bd19801ec95f8c965cc920f","97bd09801d98082c95f8e1cfcc920f","97bd097bd097c36b0b6fc9210c8dc2","9778397bd197c36c9210c9274c91aa","97b6b97bd19801ec95f8c965cc920e","97bd09801d98082c95f8e1cfcc920f","97bd097bd097c36b0b6fc9210c8dc2","9778397bd097c36c9210c9274c91aa","97b6b97bd19801ec95f8c965cc920e","97bcf97c3598082c95f8e1cfcc920f","97bd097bd097c36b0b6fc9210c8dc2","9778397bd097c36c9210c9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c3598082c95f8c965cc920f","97bd097bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c3598082c95f8c965cc920f","97bd097bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c359801ec95f8c965cc920f","97bd097bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c359801ec95f8c965cc920f","97bd097bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c359801ec95f8c965cc920f","97bd097bd07f595b0b6fc920fb0722","9778397bd097c36b0b6fc9210c8dc2","9778397bd19801ec9210c9274c920e","97b6b97bd19801ec95f8c965cc920f","97bd07f5307f595b0b0bc920fb0722","7f0e397bd097c36b0b6fc9210c8dc2","9778397bd097c36c9210c9274c920e","97b6b97bd19801ec95f8c965cc920f","97bd07f5307f595b0b0bc920fb0722","7f0e397bd097c36b0b6fc9210c8dc2","9778397bd097c36c9210c9274c91aa","97b6b97bd19801ec9210c965cc920e","97bd07f1487f595b0b0bc920fb0722","7f0e397bd097c36b0b6fc9210c8dc2","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf7f1487f595b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf7f1487f595b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf7f1487f531b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf7f1487f531b0b0bb0b6fb0722","7f0e397bd07f595b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c9274c920e","97bcf7f0e47f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","9778397bd097c36b0b6fc9210c91aa","97b6b97bd197c36c9210c9274c920e","97bcf7f0e47f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","9778397bd097c36b0b6fc9210c8dc2","9778397bd097c36c9210c9274c920e","97b6b7f0e47f531b0723b0b6fb0722","7f0e37f5307f595b0b0bc920fb0722","7f0e397bd097c36b0b6fc9210c8dc2","9778397bd097c36b0b70c9274c91aa","97b6b7f0e47f531b0723b0b6fb0721","7f0e37f1487f595b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc9210c8dc2","9778397bd097c36b0b6fc9274c91aa","97b6b7f0e47f531b0723b0b6fb0721","7f0e27f1487f595b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b7f0e47f531b0723b0787b0721","7f0e27f0e47f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","9778397bd097c36b0b6fc9210c91aa","97b6b7f0e47f149b0723b0787b0721","7f0e27f0e47f531b0723b0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","9778397bd097c36b0b6fc9210c8dc2","977837f0e37f149b0723b0787b0721","7f07e7f0e47f531b0723b0b6fb0722","7f0e37f5307f595b0b0bc920fb0722","7f0e397bd097c35b0b6fc9210c8dc2","977837f0e37f14998082b0787b0721","7f07e7f0e47f531b0723b0b6fb0721","7f0e37f1487f595b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc9210c8dc2","977837f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","977837f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","977837f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","977837f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","977837f0e37f14998082b0787b06bd","7f07e7f0e47f149b0723b0787b0721","7f0e27f0e47f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","977837f0e37f14998082b0723b06bd","7f07e7f0e37f149b0723b0787b0721","7f0e27f0e47f531b0723b0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","977837f0e37f14898082b0723b02d5","7ec967f0e37f14998082b0787b0721","7f07e7f0e47f531b0723b0b6fb0722","7f0e37f1487f595b0b0bb0b6fb0722","7f0e37f0e37f14898082b0723b02d5","7ec967f0e37f14998082b0787b0721","7f07e7f0e47f531b0723b0b6fb0722","7f0e37f1487f531b0b0bb0b6fb0722","7f0e37f0e37f14898082b0723b02d5","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e37f1487f531b0b0bb0b6fb0722","7f0e37f0e37f14898082b072297c35","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e37f0e37f14898082b072297c35","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e37f0e366aa89801eb072297c35","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f149b0723b0787b0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e37f0e366aa89801eb072297c35","7ec967f0e37f14998082b0723b06bd","7f07e7f0e47f149b0723b0787b0721","7f0e27f0e47f531b0723b0b6fb0722","7f0e37f0e366aa89801eb072297c35","7ec967f0e37f14998082b0723b06bd","7f07e7f0e37f14998083b0787b0721","7f0e27f0e47f531b0723b0b6fb0722","7f0e37f0e366aa89801eb072297c35","7ec967f0e37f14898082b0723b02d5","7f07e7f0e37f14998082b0787b0721","7f07e7f0e47f531b0723b0b6fb0722","7f0e36665b66aa89801e9808297c35","665f67f0e37f14898082b0723b02d5","7ec967f0e37f14998082b0787b0721","7f07e7f0e47f531b0723b0b6fb0722","7f0e36665b66a449801e9808297c35","665f67f0e37f14898082b0723b02d5","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e36665b66a449801e9808297c35","665f67f0e37f14898082b072297c35","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e26665b66a449801e9808297c35","665f67f0e37f1489801eb072297c35","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722"],Zu=["日","一","二","三","四","五","六","七","八","九","十"],Qu=["初","十","廿","卅"],Ju=["正","二","三","四","五","六","七","八","九","十","冬","腊"];var Xu,ec,tc,nc,rc,oc,ac,ic,uc,cc,sc,lc,fc,dc,bc,pc;function hc(){if(nc)return tc;nc=1;var e=ec?Xu:(ec=1,Xu=function(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var a=Array(o);++r<o;)a[r]=e[r+t];return a});return tc=function(t,n,r){var o=t.length;return r=void 0===r?o:r,!n&&r>=o?t:e(t,n,r)}}function mc(){if(oc)return rc;oc=1;var e=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");return rc=function(t){return e.test(t)}}function gc(){if(lc)return sc;lc=1;var e=ic?ac:(ic=1,ac=function(e){return e.split("")}),t=mc(),n=function(){if(cc)return uc;cc=1;var e="\\ud800-\\udfff",t="["+e+"]",n="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",r="\\ud83c[\\udffb-\\udfff]",o="[^"+e+"]",a="(?:\\ud83c[\\udde6-\\uddff]){2}",i="[\\ud800-\\udbff][\\udc00-\\udfff]",u="(?:"+n+"|"+r+")?",c="[\\ufe0e\\ufe0f]?",s=c+u+"(?:\\u200d(?:"+[o,a,i].join("|")+")"+c+u+")*",l="(?:"+[o+n+"?",n,a,i,t].join("|")+")",f=RegExp(r+"(?="+r+")|"+l+s,"g");return uc=function(e){return e.match(f)||[]}}();return sc=function(r){return t(r)?n(r):e(r)}}function yc(){if(dc)return fc;dc=1;var e=hc(),t=mc(),n=gc(),r=Na();return fc=function(o){return function(a){a=r(a);var i=t(a)?n(a):void 0,u=i?i[0]:a.charAt(0),c=i?e(i,1).join(""):a.slice(1);return u[o]()+c}}}var vc,wc,Sc=ye(function(){if(pc)return bc;pc=1;var e=yc()("toLowerCase");return bc=e}());var Cc=ye(function(){if(wc)return vc;wc=1;var e=yc()("toUpperCase");return vc=e}());function xc(e){return L(e,{algorithm:"sha1"})}function Ac(e){return L(e,{algorithm:"md5"})}function Dc(e,t=null){const n=P(e),r=Number.isNaN(n)?0:n;return null==(t||null)?r:function(e,t){const n=Math.pow(10,t+1),r=Math.floor(Dc(e)*n);return 10*Math.round(r/10)/n}(r,t)}function $c(e,t,n){if(!Wi(e))throw new Error("value must be number value");let r=Dc(e);return void 0!==t&&(r=Math.max(e,t)),void 0!==n&&(r=Math.min(r,n)),r}function Mc(e){return Bi(e)?Number.parseFloat(e,10):0}function jc(e){return`${Mc(1e3*Dc(e)/10)}%`}function Ec(e){return Ji(e)?"":z(e)}function _c(e){return!!e}function kc(e){return Ec(e).toUpperCase()}function Oc(e){return Cc(e)}function Ic(e){return Ec(e).toLowerCase()}function Nc(e){return Sc(e)}function Tc(e){return iu(e)?e:Promise.resolve(e)}function Fc(e,t){return Qa(e,t)}function Pc(e){return[...new Set(e)]}const zc="must be an object",Lc="must be a string",Rc="must be a date",Hc="must be function",Yc="must be array",Uc="disallow empty";function Wc({value:e=null,ancillaryInformation:t=""}){return`${null==(e||null)?"":", current is "+typeof e}${su(t)?"":`, ${t}`}`}const qc={buildDisallowEmpty:({name:e="parameter",ancillaryInformation:t=""})=>`${e} ${Uc}${Wc({value:null,ancillaryInformation:t})}`,buildMustObject:({name:e="parameter",value:t=null,ancillaryInformation:n=""})=>`${e} ${zc}${Wc({value:t,ancillaryInformation:n})}`,buildMustString:({name:e="parameter",value:t=null,ancillaryInformation:n=""})=>`${e} ${Lc}${Wc({value:t,ancillaryInformation:n})}`,buildMustDate:({name:e="parameter",value:t=null,ancillaryInformation:n=""})=>`${e} ${Rc}${Wc({value:t,ancillaryInformation:n})}`,buildMustFunction:({name:e="parameter",value:t=null,ancillaryInformation:n=""})=>`${e} ${Hc}${Wc({value:t,ancillaryInformation:n})}`,buildMustArray:({name:e="parameter",value:t=null,ancillaryInformation:n=""})=>`${e} ${Yc}${Wc({value:t,ancillaryInformation:n})}`};function Bc(e,t,...n){return`${[e,...n].filter(e=>eu(e)&&!su(e)).join("::")}::${su(t)?"":t}`}function Gc({textCollection:e,separator:t=","}){if(!tu(e)||nu(e))return"";const n=[];for(const t of e){const e=Ec(t);su(e)||n.push(e)}return n.length<=0?"":n.join(t)}function Vc(...e){return Gc({textCollection:e,separator:" -> "})}function Kc(e,t){return Vc(Ec(e),t)}function Zc(e){return su(e)?"":`data:image/png;base64,${e}`}function Qc(e){return su(e)?"":`data:image/jpeg;base64,${e}`}function Jc(e,t){if(!tu(e))return[];if(nu(e))return[];if(!Ki(t))throw new Error("distinctAdjacent 参数 split 需要为函数且返回 bool 值");if(1===e.length)return e;const n=e[0],r=t(n);let o=r;const a=[],i=[];let u=[],c=[];o?c.push(n):u.push(n),e.shift();const s=[...e];for(const e of s)t(e)?(o||nu(c)||(i.push([...c]),c=[]),c.push(e)):o?(nu(u)||(a.push([...u]),u=[]),u.push(e)):u.push(e),o=t(e);i.push([...c]),a.push([...u]);const l=[];for(const e of i)1!==e.length?e.length>1&&l.push([e[0]]):l.push(e);const f=[];if(r)for(const[e,t]of l.entries())f.push(t),a.length>e&&f.push(a[e]);else for(const[e,t]of a.entries())f.push(t),l.length>e&&f.push(l[e]);return f.flat()}const Xc="loggerAssist",es={loggerDisplaySwitchPromptSetInformationComplete:!1,loggerDisplaySwitchSetComplete:!1,display:!1},ts={config:"#F8C471",execute:"#C39BD3",info:"#89CA78",warn:"#F16F17",debug:"#00768F",trace:"#596032",error:"#E33F3E",exception:"#DC428E",stack:"#81977c",develop:"#9f6027",callTrack:"#889a14",callTrace:"#596032",render:"#7093f4"};function ns({text:e,color:t="",dataDescription:n="",ancillaryInformation:r=""}){const o=eu(e)?e:_i(e);let a="";a=tu(r)?Vc(o,...r):Vc(o,r),su(ns)||console.log("%c%s",`color:${t};`,`${su(n)?"":`[${kc(n)}] `}${a}`)}function rs({data:e,color:t="",dataDescription:n="",ancillaryInformation:r=""}){return tu(e)?(ns({text:nu(e)?"":"check the following array data",color:t,dataDescription:n,ancillaryInformation:r}),void(nu(e)||console.log(e))):ru(e)?(ns({text:ou(e)?"":"check the following object data",color:t,dataDescription:n,ancillaryInformation:r}),void(ou(e)||console.log(e))):(ns({text:"check the following data",color:t,dataDescription:n,ancillaryInformation:r}),void console.log(e))}function os(e,t=zu.auto,n=Pu.debug,r="",o={}){const a=Ss(),{color:i="",prefix:u=""}={color:"",prefix:"",...o};if(n!=Pu.develop&&!es.loggerDisplaySwitchSetComplete&&!es.loggerDisplaySwitchPromptSetInformationComplete){ns({text:Bc(yu,Vc("logData","logger display switch default is false, if want to display log, please set it before first log, use setLoggerDisplaySwitch to set it, this message only show once"),Xc),color:i||ts.develop,dataDescription:u||Pu.develop,ancillaryInformation:""});try{throw new Error("please set use setLoggerDisplaySwitch")}catch(e){console.error(e)}es.loggerDisplaySwitchPromptSetInformationComplete=!0}if(!a&&!fu([Pu.exception,Pu.develop],n))return;let c=null==(t||null)||su(t)?zu.auto:t;if(!fu([zu.auto,zu.text,zu.object],c))throw new Error(`Invalid log display mode -> ${c}`);if(c===zu.auto&&(c=eu(e)?zu.text:zu.object),n!==Pu.exception)n===Pu.develop&&Li()&&(c===zu.text&&ns({text:e,color:i||ts.develop,dataDescription:u||"develop",ancillaryInformation:r}),c===zu.object&&rs({data:e,color:i||ts.develop,dataDescription:u||"develop",ancillaryInformation:r})),a&&(n===Pu.render&&(c===zu.text&&ns({text:e,color:i||ts.render,dataDescription:u||"render",ancillaryInformation:r}),c===zu.object&&rs({data:e,color:i||ts.render,dataDescription:u||"render",ancillaryInformation:r})),n===Pu.trace&&(c===zu.text&&ns({text:e,color:i||ts.trace,dataDescription:u||"trace",ancillaryInformation:r}),c===zu.object&&rs({data:e,color:i||ts.trace,dataDescription:u||"trace",ancillaryInformation:r})),n===Pu.callTrack&&(c===zu.text&&ns({text:e,color:i||ts.callTrack,dataDescription:u||"callTrack",ancillaryInformation:r}),c===zu.object&&rs({data:e,color:i||ts.callTrack,dataDescription:u||"callTrack",ancillaryInformation:r})),n===Pu.callTrace&&(c===zu.text&&ns({text:e,color:i||ts.callTrace,dataDescription:u||"callTrace",ancillaryInformation:r}),c===zu.object&&rs({data:e,color:i||ts.callTrace,dataDescription:u||"callTrace",ancillaryInformation:r})),n===Pu.debug&&(c===zu.text&&ns({text:e,color:i||ts.debug,dataDescription:u||"debug",ancillaryInformation:r}),c===zu.object&&rs({data:e,color:i||ts.debug,dataDescription:u||"debug",ancillaryInformation:r})),n===Pu.warn&&(c===zu.text&&ns({text:e,color:i||ts.warn,dataDescription:u||"warn",ancillaryInformation:r}),c===zu.object&&rs({data:e,color:i||ts.warn,dataDescription:u||"warn",ancillaryInformation:r})),n===Pu.info&&(c===zu.text&&ns({text:e,color:i||ts.info,dataDescription:u||"info",ancillaryInformation:r}),c===zu.object&&rs({data:e,color:i||ts.info,dataDescription:u||"info",ancillaryInformation:r})),n===Pu.execute&&(c===zu.text&&ns({text:e,color:i||ts.execute,dataDescription:u||"execute",ancillaryInformation:r}),c===zu.object&&rs({data:e,color:i||ts.execute,dataDescription:u||"execute",ancillaryInformation:r})),n===Pu.config&&(c===zu.text&&ns({text:e,color:i||ts.config,dataDescription:u||"config",ancillaryInformation:r}),c===zu.object&&rs({data:e,color:i||ts.config,dataDescription:u||"config",ancillaryInformation:r})),n===Pu.stack&&(c===zu.text&&ns({text:e,color:i||ts.stack,dataDescription:u||"stack",ancillaryInformation:r}),c===zu.object&&rs({data:e,color:i||ts.stack,dataDescription:u||"stack",ancillaryInformation:r}),console.trace("stack call trace as bellow")),n===Pu.error&&(c===zu.text&&ns({text:e,color:i||ts.error,dataDescription:u||"error",ancillaryInformation:r}),c===zu.object&&rs({data:e,color:i||ts.error,dataDescription:u||"error",ancillaryInformation:r})));else{c===zu.text&&ns({text:e,color:i||ts.exception,dataDescription:u||"exception",ancillaryInformation:r}),c===zu.object&&rs({data:e,color:i||ts.exception,dataDescription:u||"exception",ancillaryInformation:r});try{throw new Error("an error occur, check the above error message, the stack information is as follows")}catch(e){console.error(e)}}}function as(e,t="",n={}){eu(e)?vs(e,Pu.warn,t,n):ws(e,Pu.warn,t,n)}function is(e,t="",n={}){eu(e)?vs(e,Pu.info,t,n):ws(e,Pu.info,t,n)}function us(e,t="",n={}){eu(e)?vs(e,Pu.config,t,n):ws(e,Pu.config,t,n)}function cs(e,t="",n={}){eu(e)?vs(e,Pu.develop,t,n):ws(e,Pu.develop,t,n)}function ss(e,t="",n={}){eu(e)?vs(e,Pu.stack,t,n):ws(e,Pu.stack,t,n)}function ls(e,t="",n={}){eu(e)?vs(e,Pu.trace,t,n):ws(e,Pu.trace,t,n)}function fs(e,t="",n={}){eu(e)?vs(e,Pu.callTrack,t,n):ws(e,Pu.callTrack,t,n)}function ds(e,t="",n={}){eu(e)?vs(e,Pu.callTrace,t,n):ws(e,Pu.callTrace,t,n)}function bs(e,t="",n={}){eu(e)?vs(e,Pu.callResult,t,n):ws(e,Pu.callResult,t,n)}function ps(e,t="",n={}){eu(e)?vs(e,Pu.render,t,n):ws(e,Pu.render,t,n)}function hs(e,t="",n={}){eu(e)?vs(e,Pu.debug,t,n):ws(e,Pu.debug,t,n)}function ms(e,t="",n={}){eu(e)?vs(e,Pu.execute,t,n):ws(e,Pu.execute,t,n)}function gs(e,t="",n={}){eu(e)?vs(e,Pu.error,t,n):ws(e,Pu.error,t,n)}function ys(e,t="",n={}){eu(e)?vs(e,Pu.exception,t,n):ws(e,Pu.exception,t,n)}function vs(e,t=Pu.trace,n="",r={}){os(e,zu.text,t,n,r)}function ws(e,t=Pu.trace,n="",r={}){os(e,zu.object,t,n,r)}function Ss(){return _c(es.display)}function Cs(e){cs(Bc(yu,"setLoggerDisplaySwitch",Xc),_c(e)),es.display=_c(e),es.loggerDisplaySwitchSetComplete=!0}function xs(e,t="CONSOLE LOG",n="================================="){const r=`${n}${su(t)?"":` ${t} `}${n}`;console.log(r),console.log(e)}const As="runtimeAssist",Ds={runtimeDataStorage:null,runtimeDataStorageSetComplete:!1};function $s(e){return Bc(yu,e,As)}function Ms(t){if(!ru(t))throw cs($s("setDataStorage"),"parameter must be object"),new Error(Bc(yu,"setDataStorage -> data storage mount target must be a object, current type is "+typeof target,As));cs($s("setDataStorage"),typeof t),t.runtimeDataStorage={},Ds.runtimeDataStorage=t.runtimeDataStorage,Ds.runtimeDataStorageSetComplete=!0,function(t){if(null==(t||null))throw new Error("runtimeDataStorage has not set complete");t.localRuntimeCache=new e,t.applicationInitialConfig={},t.externalConfigList=[],t.applicationConfigMergeComplete=!1,t.applicationMergeConfig={},t.lastRequestExceptionMessage={code:-1,message:"",time:Date.now()}}(Ds.runtimeDataStorage)}function js(){if(Ji(Ds.runtimeDataStorage)||!Ds.runtimeDataStorageSetComplete)throw new Error(Bc(yu,"runtimeDataStorage has not set,use setRuntimeDataStorage to set it",As));return Ds.runtimeDataStorage}function Es(){return Ds.runtimeDataStorage.lastRequestExceptionMessage||{code:-1,message:"",time:Date.now()}}function _s({code:e,message:t,time:n}){Ds.runtimeDataStorage.lastRequestExceptionMessage={code:e,message:t,time:n}}function ks(e,t=""){return Bc(yu,Kc(e,t),"cacheAssist")}function Os(e){return su(e)?(as(ks("checkKey","cache key is null or empty")),!1):!(!eu(e)&&!Wi(e))||(as(ks("checkKey","cache key must be string or number, current type id "+typeof e)),!1)}function Is(){let e=null;try{e=js()}catch{return!1}return!Ji(e)&&!!e.localRuntimeCache}function Ns(){const t=js();return t.localRuntimeCache||(t.localRuntimeCache=new e),t.localRuntimeCache}function Ts({key:e}){const t=Ns();if(null==t)throw new Error("cache pool not exist");return t.has(e)}function Fs({key:e,value:t,expiration:n=0}){if(!Os(e))return;const r=Ns();if(null==r)throw new Error("cache pool not exist");return r.set(e,t,n)}function Ps(e){if(!tu(e))throw new Error("setMultiCache: list must be array");if(e.length<=0)return!0;const t=[];for(const n of e){const{key:e,value:r,expiration:o}={key:"",value:"",expiration:0,...n};if(!su(e)){if(!Os(e))continue;t.push({key:e,value:r,ttl:o})}}if(t.length<=0)return!1;const n=Ns();if(null==n)throw new Error("cache pool not exist");return n.mset(t)}function zs({key:e}){const t=Ns();if(null==t)throw new Error("cache pool not exist");return t.getTtl(e)}function Ls({key:e,expiration:t}){const n=Ns();if(null==n)throw new Error("cache pool not exist");return n.ttl(e,t)}function Rs({key:e}){const t=Ns();if(null==t)throw new Error("cache pool not exist");return t.get(e)}function Hs(){const e=Ns();if(null==e)throw new Error("cache pool not exist");return e.keys()}function Ys(e){if(!tu(e))throw new Error("getMultiCache: list must be array");const t=Ns();if(null==t)throw new Error("cache pool not exist");return t.mget(e)}function Us({key:e}){const t=Ns();if(null==t)throw new Error("cache pool not exist");return t.take(e)}function Ws({key:e}){if(!Os(e))return;const t=Ns();if(null==t)throw new Error("cache pool not exist");return t.del(e)}function qs(e){if(!tu(e))throw new Error("deleteMultiCache: list must be array");const t=Ns();if(null==t)throw new Error("cache pool not exist");return t.del(e)}function Bs(){const e=Ns();if(null==e)throw new Error("cache pool not exist");return e.flushAll()}function Gs(){const e=Ns();if(null==e)throw new Error("cache pool not exist");return e.getStats()}const Vs="localStorageAssist";function Ks(e,t=""){return Bc(yu,Kc(e,t),Vs)}const Zs={getStorage:e=>{ys(Bc(yu,"localStorageGetter need config, use setLocalStorageGetter to set it",Vs))},setStorage:(e,t)=>{ys(Bc(yu,"localStorageSetter need config, use setLocalStorageSetter to set it",Vs))},removeStorage:e=>{ys(Bc(yu,"localStorageRemover need config, use setLocalStorageRemover to set it",Vs))},flushStorage:()=>{ys(Bc(yu,"localStorageFlusher need config, use setLocalStorageFlusher to set it",Vs))}};function Qs(e){cs(Ks("setLocalStorageGetter"),typeof e),Zs.getStorage=e}function Js(e){cs(Ks("setLocalStorageSetter"),typeof e),Zs.setStorage=e}function Xs(e){cs(Ks("setLocalStorageRemover"),typeof e),Zs.removeStorage=e}function el(e){cs(Ks("setLocalStorageFlusher"),typeof e),Zs.flushStorage=e}function tl(e){try{return Zs.getStorage(e)}catch(t){throw ys({key:e,e:t}),t}}function nl(e){const t=tl(e);return su(t)?null:JSON.parse(t||"{}")}function rl(e,t){Zs.setStorage(e,t)}function ol(e,t){Zs.setStorage(e,_i(t||{}))}function al(e){Zs.removeStorage(e)}function il(){Zs.flushStorage()}const ul={accessWayCollection:"ea-accessWayCollection"};function cl(){let e={};const t=ul.accessWayCollection;if(Ts({key:t})&&(e=Rs({key:t}),tu(e)))return e;const n=nl(t);return null==(n||null)?{...wu}:(e={...n||null,...wu},Fs({key:t,value:e}),e)}function sl(e){ol(ul.accessWayCollection,e||{})}const ll="loggerAssist";function fl(e,t=""){return Bc(yu,Kc(e,t),ll)}function dl({text:e}){return su(e||null)&&(cs(Bc(yu,Kc("checkMessagePromptData option text disallow empty","{ text }"),ll)),ss("checkMessagePromptData call stack")),!0}const bl={durationConversionRatio:1,showOpenMessage:({text:e,duration:t=1500,onClose:n=()=>{}})=>{is(e)},showLoadingMessage:({text:e,duration:t=1500,onClose:n=()=>{}})=>{is(e)},showInfoMessage:({text:e,duration:t=1500,onClose:n=()=>{}})=>{is(e)},showSuccessMessage:({text:e,duration:t=1500,onClose:n=()=>{}})=>{is(e)},showWarnMessage:({text:e,duration:t=1500,onClose:n=()=>{}})=>{as(e)},showWarningMessage:({text:e,duration:t=1500,onClose:n=()=>{}})=>{as(e)},showErrorMessage:({text:e,duration:t=1500,onClose:n=()=>{}})=>{gs(e)},setErrorMessageDisplayMonitorComplete:!1};function pl(e){let t=1;if(!Wi(e)||Dc(e)<=0){cs(Bc(yu,Kc("setDurationConversionRatio","parameter ratio must be number and getter than 0"),ll)),t=1}else t=e;cs("setDurationConversionRatio",Dc(t)),bl.durationConversionRatio=Dc(t)}function hl(e){cs(fl("setOpenMessageDisplayMonitor"),typeof e),bl.showOpenMessage=e}function ml(e){cs(fl("setLoadingMessageDisplayMonitor"),typeof e),bl.showLoadingMessage=e}function gl(e){cs(fl("setInfoMessageDisplayMonitor"),typeof e),bl.showInfoMessage=e}function yl(e){cs(fl("setSuccessMessageDisplayMonitor"),typeof e),bl.showSuccessMessage=e}function vl(e){cs(fl("setWarnMessageDisplayMonitor"),typeof e),bl.showWarnMessage=e}function wl(e){cs(fl("setWarningMessageDisplayMonitor"),typeof e),bl.showWarningMessage=e}function Sl(e){cs(fl("setErrorMessageDisplayMonitor"),typeof e),bl.showErrorMessage=e,bl.setErrorMessageDisplayMonitorComplete=!0}function Cl(e){xl({text:e})}function xl({text:e,duration:t=1500,onClose:n=()=>{}}){Ki(bl.showOpenMessage)&&(dl({text:e}),bl.showOpenMessage({text:e,duration:t/bl.durationConversionRatio,onClose:n}))}function Al(e){Dl({text:e})}function Dl({text:e,duration:t=1500,onClose:n=()=>{}}){Ki(bl.showLoadingMessage)&&(dl({text:e}),bl.showLoadingMessage({text:e,duration:t/bl.durationConversionRatio,onClose:n}))}function $l(e){Ml({text:e})}function Ml({text:e,duration:t=1500,onClose:n=()=>{}}){Ki(bl.showInfoMessage)&&(dl({text:e}),bl.showInfoMessage({text:e,duration:t/bl.durationConversionRatio,onClose:n}))}function jl(e){El({text:e})}function El({text:e,duration:t=1500,onClose:n=()=>{}}){Ki(bl.showSuccessMessage)&&(dl({text:e}),bl.showSuccessMessage({text:e,duration:t/bl.durationConversionRatio,onClose:n}))}function _l(e){kl({text:e})}function kl({text:e,duration:t=1500,onClose:n=()=>{}}){Ki(bl.showWarnMessage)&&(dl({text:e}),bl.showWarnMessage({text:e,duration:t/bl.durationConversionRatio,onClose:n}))}function Ol(e){Il({text:e})}function Il({text:e,duration:t=1500,onClose:n=()=>{}}){Ki(bl.showWarningMessage)&&(dl({text:e}),bl.showWarningMessage({text:e,duration:t/bl.durationConversionRatio,onClose:n}))}function Nl(e){Tl({text:e})}function Tl({text:e,duration:t=1500,onClose:n=()=>{}}){Ki(bl.showErrorMessage)&&(dl({text:e}),bl.showErrorMessage({text:e,duration:t/bl.durationConversionRatio,onClose:n}))}function Fl(e){Pl({text:e})}function Pl({text:e}){su(e||"")||(bl.setErrorMessageDisplayMonitorComplete&&Tl({text:e}),ys({text:e}))}const zl="applicationAssist",Ll={externalConfigListSetComplete:!1,initialConfigSetComplete:!1};function Rl(e,t=""){return Bc(yu,Kc(e,t),zl)}function Hl(e,t){if(!tu(t))return e;let n={...e};for(const e of t)ru(e)&&(n={...n,...e});return n}function Yl(e){if(cs(Rl("setApplicationInitialConfig"),typeof e),!ru(e)){const e="setApplicationInitialConfig -> config must be object";Li()&&ns({text:Bc(yu,e,zl),color:ts.warn,dataDescription:"warn",ancillaryInformation:""}),Nl(e)}js().applicationInitialConfig=e,Ll.initialConfigSetComplete=!0}function Ul(e){if(Ll.externalConfigListSetComplete)return cs(Rl("setApplicationExternalConfigList"),"reset is not allowed, it can be set only once"),void Nl(Kc("setApplicationExternalConfigList","reset is not allowed, it can be set only once"));cs(Rl("setApplicationExternalConfigList"),typeof e);js().externalConfigList=tu(e)?e:ru(e)?[e]:[],Ll.externalConfigListSetComplete=!0}function Wl(){if(!Ll.initialConfigSetComplete)throw new Error(Bc(yu,"applicationInitialConfig has not set,use setApplicationInitialConfig to set it",zl));return js().applicationInitialConfig||{}}function ql(e){if(!Ll.externalConfigListSetComplete)return cs(Rl("appendApplicationExternalConfig"),"appendApplicationExternalConfig is not allowed when applicationConfiguration.externalConfigListSetComplete is false"),void Nl(Kc("appendApplicationExternalConfig","appendApplicationExternalConfig is not allowed when applicationConfiguration.externalConfigListSetComplete is false"));cs(Rl("appendApplicationExternalConfig"),typeof e),ru(e)&&!ou(e)||_l(Kc("appendApplicationExternalConfig","appendApplicationExternalConfig ignore when config is null or empty or not object"));const t=js();t.externalConfigList=[...t.externalConfigList,e],t.applicationMergeConfig=Hl(Wl(),t.externalConfigList)}function Bl(){if(!Ll.externalConfigListSetComplete)throw new Error(Bc(yu,"applicationExternalConfigList has not set,use setApplicationExternalConfigList to set it",zl));const e=js();return tu(e.externalConfigList)?e.externalConfigList:[]}function Gl(){const e=js();return e.applicationConfigMergeComplete||(cs(Rl("merge application configuration")),e.applicationMergeConfig=Hl(Wl(),e.externalConfigList),e.applicationConfigMergeComplete=!0),e.applicationMergeConfig||{}}const Vl="ea-authorityCollection";function Kl(e){ms({authority:e},function(e,t=""){return Bc(yu,Kc(e,t),"authorityLocalAssist")}("setLocalAuthorityCollection"));ol(Vl,"string"==typeof e?[e]:e),Bs()}function Zl(){const e=tl(Vl);let t;try{e&&(t=JSON.parse(e))}catch{t=e}return"string"==typeof t?[t]:tu(t)?[...t]:[]}function Ql(){ms("removeLocalAuthorityCollection");al(Vl)}function Jl(e){let t=e;if(null==(t||null)&&(t=_u,cs({parameter:e},"easy-soft-utility::toDatetime",`parameter is not time, use default value ${_u}`)),Xi(t))return new Date(t);if(eu(t)){if(t.indexOf("T")<0){const e=t.replaceAll("-","/");return new Date(e)}}return Wi(t)?new Date(Dc(t)):new Date(t)}function Xl({target:e,convert:t}){if(Ki(t))return t(e);if(eu(t))switch(t){case ku.number:return Dc(e);case ku.whetherNumber:return Dc(e)===Fu.yes?Fu.yes:Fu.no;case ku.whetherString:return Dc(e)===Fu.yes?Tu.yes:Tu.no;case ku.datetime:return Jl(e);case ku.string:return Ec(e);case ku.money:return Mc(e);case ku.array:return null==(e||null)?[]:tu(e)?e:[e];default:return e}return e}var ef,tf={exports:{}};var nf,rf,of,af=ye(ef?tf.exports:(ef=1,tf.exports=(nf={year:0,month:1,day:2,hour:3,minute:4,second:5},rf={},function(e,t,n){var r,o=function(e,t,n){void 0===n&&(n={});var r=new Date(e),o=function(e,t){void 0===t&&(t={});var n=t.timeZoneName||"short",r=e+"|"+n,o=rf[r];return o||(o=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:n}),rf[r]=o),o}(t,n);return o.formatToParts(r)},a=function(e,t){for(var r=o(e,t),a=[],i=0;i<r.length;i+=1){var u=r[i],c=u.type,s=u.value,l=nf[c];l>=0&&(a[l]=parseInt(s,10))}var f=a[3],d=24===f?0:f,b=a[0]+"-"+a[1]+"-"+a[2]+" "+d+":"+a[4]+":"+a[5]+":000",p=+e;return(n.utc(b).valueOf()-(p-=p%1e3))/6e4},i=t.prototype;i.tz=function(e,t){void 0===e&&(e=r);var o,a=this.utcOffset(),i=this.toDate(),u=i.toLocaleString("en-US",{timeZone:e}),c=Math.round((i-new Date(u))/1e3/60),s=15*-Math.round(i.getTimezoneOffset()/15)-c;if(Number(s)){if(o=n(u,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(s,!0),t){var l=o.utcOffset();o=o.add(a-l,"minute")}}else o=this.utcOffset(0,t);return o.$x.$timezone=e,o},i.offsetName=function(e){var t=this.$x.$timezone||n.tz.guess(),r=o(this.valueOf(),t,{timeZoneName:e}).find(function(e){return"timezonename"===e.type.toLowerCase()});return r&&r.value};var u=i.startOf;i.startOf=function(e,t){if(!this.$x||!this.$x.$timezone)return u.call(this,e,t);var r=n(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return u.call(r,e,t).tz(this.$x.$timezone,!0)},n.tz=function(e,t,o){var i=o&&t,u=o||t||r,c=a(+n(),u);if("string"!=typeof e)return n(e).tz(u);var s=function(e,t,n){var r=e-60*t*1e3,o=a(r,n);if(t===o)return[r,t];var i=a(r-=60*(o-t)*1e3,n);return o===i?[r,o]:[e-60*Math.min(o,i)*1e3,Math.max(o,i)]}(n.utc(e,i).valueOf(),c,u),l=s[0],f=s[1],d=n(l).utcOffset(f);return d.$x.$timezone=u,d},n.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},n.tz.setDefault=function(e){r=e}}))),uf={exports:{}};var cf=(of||(of=1,uf.exports=function(){var e="minute",t=/[+-]\d\d(?::?\d\d)?/g,n=/([+-]|\d\d)/g;return function(r,o,a){var i=o.prototype;a.utc=function(e){return new o({date:e,utc:!0,args:arguments})},i.utc=function(t){var n=a(this.toDate(),{locale:this.$L,utc:!0});return t?n.add(this.utcOffset(),e):n},i.local=function(){return a(this.toDate(),{locale:this.$L,utc:!1})};var u=i.parse;i.parse=function(e){e.utc&&(this.$u=!0),this.$utils().u(e.$offset)||(this.$offset=e.$offset),u.call(this,e)};var c=i.init;i.init=function(){if(this.$u){var e=this.$d;this.$y=e.getUTCFullYear(),this.$M=e.getUTCMonth(),this.$D=e.getUTCDate(),this.$W=e.getUTCDay(),this.$H=e.getUTCHours(),this.$m=e.getUTCMinutes(),this.$s=e.getUTCSeconds(),this.$ms=e.getUTCMilliseconds()}else c.call(this)};var s=i.utcOffset;i.utcOffset=function(r,o){var a=this.$utils().u;if(a(r))return this.$u?0:a(this.$offset)?s.call(this):this.$offset;if("string"==typeof r&&(r=function(e){void 0===e&&(e="");var r=e.match(t);if(!r)return null;var o=(""+r[0]).match(n)||["-",0,0],a=o[0],i=60*+o[1]+ +o[2];return 0===i?0:"+"===a?i:-i}(r),null===r))return this;var i=Math.abs(r)<=16?60*r:r;if(0===i)return this.utc(o);var u=this.clone();if(o)return u.$offset=i,u.$u=!1,u;var c=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();return(u=this.local().add(i+c,e)).$offset=i,u.$x.$localOffset=c,u};var l=i.format;i.format=function(e){var t=e||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return l.call(this,t)},i.valueOf=function(){var e=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*e},i.isUTC=function(){return!!this.$u},i.toISOString=function(){return this.toDate().toISOString()},i.toString=function(){return this.toDate().toUTCString()};var f=i.toDate;i.toDate=function(e){return"s"===e&&this.$offset?a(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():f.call(this)};var d=i.diff;i.diff=function(e,t,n){if(e&&this.$u===e.$u)return d.call(this,e,t,n);var r=this.local(),o=a(e).local();return d.call(r,o,t,n)}}}()),uf.exports),sf=ye(cf);function lf({datetime:e,format:t="YYYY-MM-DD",locale:n=R.tz.guess(),convertEmptyDatetimeToNull:r=!0}){return r&&Jl(e).getTime()==Jl(_u).getTime()?null:R(e,t,n)}function ff(e,t){const n=Jl(e);return n.setHours(n.getHours()+t),n}function df(e,t){const n=Jl(e);return n.setMinutes(n.getMinutes()+t),n}function bf(e,t){const n=Jl(e);return n.setSeconds(n.getSeconds()+t),n}function pf(){return new Date}function hf(e,t){return Jl(e)<Jl(t)}function mf(e,t){return Jl(e)>Jl(t)}function gf(e=null){if(Ji(e)||!Xi(e)){const e=Kc("getTimeStamp",qc.buildMustDate({}));throw new Error(e)}return Jl(e).getTime()}function yf(e,t){const n=e.getTime(),r=(t.getTime()-n)/1e3,o=Number.parseInt(r/86400),a=r-24*o*60*60,i=Number.parseInt(a/3600),u=r-24*o*60*60-60*i*60,c=Number.parseInt(u/60);return{day:o,hour:i,minute:c,second:r-24*o*60*60-60*i*60-60*c}}R.extend(sf),R.extend(af);const vf=(e,t,n)=>{const r=Jl(e),o=t?Jl(t):new Date,a=o.getTime()-r.getTime();return"second"===n&&a/1e3||"minute"===n&&a/1e3/60||"hour"===n&&a/1e3/60/60||"day"===n&&a/1e3/60/60/24||"week"===n&&a/1e3/60/60/24/7||"month"===n&&wf(r,o)||"quarter"===n&&wf(r,o)/3||"year"===n&&wf(r,o)/12||a},wf=(e,t)=>{const n=Jl(e),r=Jl(t);return 12*(n.getFullYear()-r.getFullYear())+n.getMonth()-r.getMonth()};function Sf({data:e}){return R(e).day()}function Cf(e=!0){const t=R().day();if(!e)return t;let n="";switch(Dc(t)){case 0:n="日";break;case 1:n="一";break;case 2:n="二";break;case 3:n="三";break;case 4:n="四";break;case 5:n="五";break;case 6:n="六";break;default:n=""}return su(n)?"":`星期${n}`}function xf(e){if(!eu(e)&&!Wi(e))return ys({year:e},"param year must be string or number"),!1;eu(e)&&!qi(e)&&ys({year:e},"param year must can convert to number");const t=Wi(e)?e:Dc(e);return t%4==0&&t%100!=0||t%400==0}function Af({year:e,month:t}){return new Date(`${e}/${t}/01 00:00:00`).getDay()}function Df({year:e,month:t}){return new Date(e,t,0).getDate()}function $f(e){return 15&Uu[e-1900]}function Mf(e){return $f(e)?65536&Uu[e-1900]?30:29:0}function jf(e){let t,n=348;for(t=32768;t>8;t>>=1)n+=Uu[e-1900]&t?1:0;return n+Mf(e)}function Ef(e,t){return t>12||t<1?-1:Uu[e-1900]&65536>>t?30:29}function _f(e,t){if(t>12||t<1)return-1;let n=t-1;return 1==n?e%4==0&&e%100!=0||e%400==0?29:28:Wu[n]}function kf(e){let t=(e-3)%10,n=(e-3)%12;return 0==t&&(t=10),0==n&&(n=12),qu[t-1]+Bu[n-1]}function Of(e,t){let n=[20,19,21,21,21,22,23,23,23,23,22,22];return"魔羯水瓶双鱼白羊金牛双子巨蟹狮子处女天秤天蝎射手魔羯".slice(2*e-(t<n[e-1]?2:0),2*e-(t<n[e-1]?2:0)+2)+"座"}function If(e){return qu[e%10]+Bu[e%12]}function Nf(e,t){if(e<1900||e>2100)return-1;if(t<1||t>24)return-1;let n=Ku[e-1900],r=[Number.parseInt("0x"+n.slice(0,5)).toString(),Number.parseInt("0x"+n.slice(5,10)).toString(),Number.parseInt("0x"+n.slice(10,15)).toString(),Number.parseInt("0x"+n.slice(15,20)).toString(),Number.parseInt("0x"+n.slice(20,25)).toString(),Number.parseInt("0x"+n.slice(25,30)).toString()],o=[r[0].slice(0,1),r[0].slice(1,3),r[0].slice(3,4),r[0].slice(4,6),r[1].slice(0,1),r[1].slice(1,3),r[1].slice(3,4),r[1].slice(4,6),r[2].slice(0,1),r[2].slice(1,3),r[2].slice(3,4),r[2].slice(4,6),r[3].slice(0,1),r[3].slice(1,3),r[3].slice(3,4),r[3].slice(4,6),r[4].slice(0,1),r[4].slice(1,3),r[4].slice(3,4),r[4].slice(4,6),r[5].slice(0,1),r[5].slice(1,3),r[5].slice(3,4),r[5].slice(4,6)];return Number.parseInt(o[t-1])}function Tf(e){if(e>12||e<1)return-1;let t=Ju[e-1];return t+="月",t}function Ff(e){let t;switch(e){case 10:t="初十";break;case 20:t="二十";break;case 30:t="三十";break;default:t=Qu[Math.floor(e/10)],t+=Zu[e%10]}return t}function Pf(e){return Gu[(e-4)%12]}function zf({year:e,month:t,day:n}){if(e<1900||e>2100)return ys({year:e},"年份需要介于 1900 ~ 2100 之间"),null;if(1900==e&&1==t&&n<31)return ys({year:e},"可转换的日期下限为 1900.1.31"),null;const r=e?new Date(e,Number.parseInt(t)-1,n):new Date;let o=0,a=0,i=0;const u=r.getFullYear(),c=r.getMonth()+1,s=r.getDate();let l=(Date.UTC(r.getFullYear(),r.getMonth(),r.getDate())-Date.UTC(1900,0,31))/864e5;for(o=1900;o<2101&&l>0;o++)i=jf(o),l-=i;l<0&&(l+=i,o--);const f=new Date;let d=!1;f.getFullYear()==u&&f.getMonth()+1==c&&f.getDate()==s&&(d=!0);let b=r.getDay(),p=Zu[b];0==b&&(b=7);const h=o;a=$f(o);let m=!1;for(o=1;o<13&&l>0;o++)a>0&&o==a+1&&0==m?(--o,m=!0,i=Mf(h)):i=Ef(h,o),1==m&&o==a+1&&(m=!1),l-=i;0==l&&a>0&&o==a+1&&(m?m=!1:(m=!0,--o)),l<0&&(l+=i,--o);const g=o;let y=l+1,v=c-1;const w=kf(h);let S=Nf(h,2*c-1),C=Nf(h,2*c),x=If(12*(u-1900)+c+11);s>=S&&(x=If(12*(u-1900)+c+12));let A=!1,D="";S==s&&(A=!0,D=Vu[2*c-2]),C==s&&(A=!0,D=Vu[2*c-1]);const $=If(Date.UTC(u,v,1,0,0,0,0)/864e5+25567+10+s-1),M=Of(c,s);return{lunarYear:h,lunarMonth:g,lunarMonthName:(m?"闰":"")+Tf(g),lunarDay:y,lunarDayName:Ff(y),chineseZodiac:Pf(h),solarYear:u,solarMonth:c,solarDay:s,sexagenaryCycleYear:w,sexagenaryCycleMonth:x,sexagenaryCycleDay:$,whetherToday:d,whetherLeap:m,weekChineseHabit:b,weekName:"星期"+p,whetherTerm:A,term:D,constellation:M}}function Lf({year:e,month:t,day:n,whetherLeapMonth:r=!1}){const o=!!r;let a=a(e);if(o&&a!=t)return-1;if(2100==e&&12==t&&n>1||1900==e&&1==t&&n<31)return-1;let i=Ef(e,t),u=i;if(o&&(u=Mf(e)),e<1900||e>2100||n>u)return-1;let c=0;for(let t=1900;t<e;t++)c+=jf(t);let s=0,l=!1;for(let n=1;n<t;n++)s=a(e),!l&&s<=n&&s>0&&(c+=Mf(e),l=!0),c+=Ef(e,n);o&&(c+=i);let f=Date.UTC(1900,1,30,0,0,0),d=new Date(864e5*(c+n-31)+f);return zf({year:d.getUTCFullYear(),month:d.getUTCMonth()+1,day:d.getUTCDate()})}function Rf({data:e,places:t=2,thousand:n=",",decimal:r="."}){return Hf({data:e,places:t,symbol:"",thousand:n,decimal:r})}function Hf({data:e,places:t=2,symbol:n="¥",thousand:r=",",decimal:o="."}){let a=e||0,i=Number.isNaN(t=Math.abs(t))?2:t,u=void 0===n?"¥":n,c=r||",",s=o||".",l=a<0?"-":"",f=Number.parseInt(a=Math.abs(+a||0).toFixed(i),10)+"",d=f.length;return d=d>3?d%3:0,u+l+(d?f.slice(0,Math.max(0,d))+c:"")+f.slice(d).replaceAll(/(\d{3})(?=\d)/g,n+"1"+c)+(i?s+Math.abs(a-Dc(f)).toFixed(i).slice(2):"")}function Yf({target:e}){let t,n,r,o=new Array("零","壹","贰","叁","肆","伍","陆","柒","捌","玖"),a=new Array("","拾","佰","仟"),i=new Array("","万","亿","兆"),u=new Array("角","分","毫","厘"),c="",s=e;if(eu(s)&&su(s))return"";if(s=Number.parseFloat(s),s>=9999999999999.99)return"";if(0==s)return c=o[0]+"元整",c;if(s=s.toString(),s.includes(".")?(r=s.split("."),t=r[0],n=r[1].slice(0,4)):(t=s,n=""),Number.parseInt(t,10)>0){let e=0,n=t.length;for(let r=0;r<n;r++){let u=t.slice(r,r+1),s=n-r-1,l=s/4,f=s%4;"0"==u?e++:(e>0&&(c+=o[0]),e=0,c+=o[Number.parseInt(u)]+a[f]),0==f&&e<4&&(c+=i[l])}c+="元"}if(""!=n){let e=n.length;for(let t=0;t<e;t++){let e=n.slice(t,t+1);"0"!=e&&(c+=o[Number(e)]+u[t])}}return""==c?c+=o[0]+"元整":""==n&&(c+="整"),c}function Uf({data:e,format:t=Iu.yearMonthDayHourMinuteSecond}){return null==(e||null)?"":R(e).format(t)}function Wf({target:e,format:t,option:n={}}){if(Ki(t))return t(e);if(eu(t))switch(t){case Ou.money:return Hf({...n,data:e});case Ou.datetime:return Uf({data:e});case Ou.chineseMoney:return Yf({target:e});case Ou.percentage:return`${Fc(100*e,1)}%`;default:return e}return e}function qf(e,t){return e.replace(/%d/i,t)}function Bf(e,t,n={}){const r={second:["刚刚","片刻后"],seconds:["%d 秒前","%d 秒后"],minute:["大约 1 分钟前","大约 1 分钟后"],minutes:["%d 分钟前","%d 分钟后"],hour:["大约 1 小时前","大约 1 小时后"],hours:["%d 小时前","%d 小时后"],day:["1 天前","1 天后"],days:["%d 天前","%d 天后"],month:["大约 1 个月前","大约 1 个月后"],months:["%d 月前","%d 月后"],year:["大约 1 年前","大约 1 年后"],years:["%d 年前","%d 年后"],...n},o=vf(e,t),a=o<0?1:0,i=Math.abs(o)/1e3,u=i/60,c=u/60,s=c/24,l=s/365;return i<10&&qf(r.second[a],Number.parseInt(i))||i<45&&qf(r.seconds[a],Number.parseInt(i))||i<90&&qf(r.minute[a],1)||u<45&&qf(r.minutes[a],Number.parseInt(u))||u<90&&qf(r.hour[a],1)||c<24&&qf(r.hours[a],Number.parseInt(c))||c<42&&qf(r.day[a],1)||s<30&&qf(r.days[a],Number.parseInt(s))||s<45&&qf(r.month[a],1)||s<365&&qf(r.months[a],Number.parseInt(s/30))||l<1.5&&qf(r.year[a],1)||qf(r.years[a],Number.parseInt(l))}function Gf(e,t={}){return Bf(e,pf(),t)}function Vf(e,t=""){return Bc(yu,Kc(e,t),"common")}function Kf(e,t,n="..."){return e&&e.length>t?`${Ec(e).slice(0,Math.max(0,t))}${n}`:Ec(e)}function Zf(e,t,n,r){let o=Ec(e);const a=(e||"").length;if(a>0&&(n>=0||r>=0))if(n>=a||r>=a||(n||0)+(r||0)>=a)o=e;else{o=e.slice(0,Math.max(0,n)+1)+t+e.slice(a-r)}return o||""}function Qf(e,t){Ki(t)&&t()}function Jf(e,t,n=null){if(Qi(e))return n;if(null==e)return n;if(!eu(t))return Vf("getPathValue","path must be string"),Pl({}),null;const r=Ka(e,t,n);return Qi(n)||Ji(n)?r:r||n}function Xf(e,t){if(!eu(e))throw new Error(Vf("removeEndMatch",qc.buildMustString({name:"target",value:e})));if(!eu(t))throw new Error(Vf("removeEndMatch",qc.buildMustString({name:"match",value:t})));if(su(e))return e;if(su(t))return e;const n=e.lastIndexOf(t);return n>=0&&e.length===n+t.length?e.slice(n,t.length):e}function ed(e,t){if(!eu(e))throw new Error(Vf("removeLastMatch",qc.buildMustString({name:"target",value:e})));if(!eu(t))throw new Error(Vf("removeLastMatch",qc.buildMustString({name:"match",value:t})));if(su(e))return e;if(su(t))return e;const n=e.lastIndexOf(t);return n>=0?e.slice(n,t.length):e}function td({data:e,key:t,defaultValue:n=null,convert:r=null,convertBuilder:o=null,format:a=null,formatBuilder:i=null}){const u=Jf(e,t,n);let c=u;return null==(o||null)&&null==(r||null)||(c=Ki(o)?Xl({target:u,convert:o}):Xl({target:u,convert:r})),null==(i||null)&&null==(a||null)||(c=Ki(i)?Wf({target:c,format:i}):Wf({target:c,format:a})),c}function nd({operate:e,item:t,list:n,key:r,sortInitialValue:o=0}){if(Qi(r)||!eu(r))return _l(Vf("sortCollectionByKey","option parameter key need set, it must be string")),n;if(Qi(o)||!Wi(o))return _l(Vf("sortCollectionByKey","option parameter sortInitialValue need set")),n;const a=[],i=[];let u=[];if((n||[]).length<=1){return kl({text:"无需排序!"}),n}const c=td({data:t,key:r,convert:ku.number});for(const e of n||[]){const t=td({data:e,key:r,convert:ku.number});t<c&&a.push(e),t>c&&i.push(e)}switch(e){case Nu.moveUp:if(c===o){return kl({text:"已经排在首位!"}),n}for(const[e,n]of(a||[]).entries())if(e<a.length-1)u.push(n);else{const e=t;e[r]-=1,u.push(e);const o=n;o[r]+=1,u.push(o)}u=[...u,...i];break;case Nu.moveDown:if(c===(n||[]).length+o-1){return kl({text:"已经排在末位!"}),n}u=[...u,...a];for(const[e,n]of(i||[]).entries())if(0===e){const e=n;e[r]-=1,u.push(e);const o=t;o[r]+=1,u.push(o)}else u.push(n);break;default:kl({text:`不符合的操作, 允许的操作为['${Nu.moveUp}','${Nu.moveDown}']!`});break}return u}function rd({list:e=[],convert:t=null,recursiveKey:n="children"}){return(tu(e)?e:[e]).map(e=>od({data:e,convert:t}))}function od({data:e,convert:t=null,recursiveKey:n="children"}){if(!Ki(t))return e;const r=t(e),o=e[n];let a=[];return tu(o)&&(a=o.map(e=>od({data:e,convert:t}))),r[n]=a,r}function ad(e,t,n=0){return!Qi(Ci(e,t,n))}function id({target:e,value:t,compareValueHandler:n,handler:r}){if(!ru(e))throw new Error(Vf("handleItem",qc.buildMustObject({name:"target",value:e})));if(!ru(e.state))throw new Error(Vf("handleItem",qc.buildMustObject({name:"target.state",value:e.state})));const{metaListData:o}=e.state;if(!tu(o))throw new Error(Vf("handleItem",qc.buildMustObject({name:"target.state.metaListData",value:o})));const a=ud({list:o,value:t,compareValueHandler:n,handler:r});ls(a,[Vf("handleItem"),"set target.state.metaListData","will trigger target forceUpdate"]),e.setState({metaListData:[...a]}),e.forceUpdate()}function ud({list:e,value:t,compareValueHandler:n,handler:r}){if(!tu(e))throw new Error(Vf("handleListItem",qc.buildMustArray({name:"list",value:e})));if(nu(e))return e;let o=-1;if(Ki(n)){if(Ki(r)){for(const[r,a]of e.entries()){if(n(a)===t){o=r;break}}return o>=0&&(e[o]=r(e[o])),e}Pl({})}else Fl(Vf("handleItem",qc.buildMustFunction({name:"compareValueHandler",value:n})))}const cd="authorityCollectionCache",sd="hasSuperPermission";function ld(e,t=""){return Bc(yu,Kc(e,t),"authorityAssist")}const fd={handleAuthorizationFail:e=>{},handleAuthorizationFailSetComplete:!1};function dd(e){fd.handleAuthorizationFailSetComplete?cs("setAuthorizationFailHandler","reset is not allowed, it can be set only once"):(Ki(e)?cs("setAuthorizationFailHandler",typeof e):cs("setAuthorizationFailHandler","parameter must be function"),fd.handleAuthorizationFail=e,fd.handleAuthorizationFailSetComplete=!0)}function bd(){let e=[];if(Ts({key:cd})&&(e=Rs({key:cd}),tu(e)))return e;return e=[...Zl()],Fs({key:cd,value:e}),e}function pd(){if(Ts({key:sd})){const e=Rs({key:sd});if(void 0!==e)return!!e}const e=function(){let e="";const t=cl();if(!ru(t))return e;const n=td({data:t,key:"super"});if(ru(n)){const t=td({data:n,key:"permission"});eu(t)&&(e=t)}return e}();if(!su(e)){if(((bd()||[]).find(t=>t===e)||"")===e)return Fs({key:sd,value:!0}),!0}return Fs({key:sd,value:!1}),!1}function hd(e){if(pd())return!0;let t="0";if(Ts({key:e})&&(t=Rs({key:e}),void 0!==t))return"0"!==t;const n=bd(),r=cl();t=void 0===(n||[]).find(t=>t===e)?"0":"1",Fs({key:e,value:t});const o="0"!==t;return o||ls({checkAuthority:e,listAuthority:n,accessWayCollection:r},"check authority fail"),o}function md(e){if(!fd.handleAuthorizationFailSetComplete)throw new Error(ld("doWhenAuthorizationFail","handleAuthorizationFail has not set, please use setAuthorizationFailHandler to set it"));Ki(fd.handleAuthorizationFail)&&fd.handleAuthorizationFail(e)}function gd(e){if(tu(e))return nu(e)?(as(ld("checkHasAuthority","authority is empty array")),!1):function(e){let t=!1;return tu(e)?(t=e.some(e=>hd(e)),t):eu(e)?(t=hd(e),t):t}(e);if(eu(e))return hd(e);throw ws({auth:e}),new Error("auth need string or string array, please check in console.")}const yd="function"==typeof Buffer,vd="function"==typeof TextDecoder?new TextDecoder:void 0,wd="function"==typeof TextEncoder?new TextEncoder:void 0,Sd=Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="),Cd=(()=>{let e={};return Sd.forEach((t,n)=>e[t]=n),e})(),xd=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,Ad=String.fromCharCode.bind(String),Dd="function"==typeof Uint8Array.from?Uint8Array.from.bind(Uint8Array):e=>new Uint8Array(Array.prototype.slice.call(e,0)),$d=e=>e.replace(/[^A-Za-z0-9\+\/]/g,""),Md="function"==typeof btoa?e=>btoa(e):yd?e=>Buffer.from(e,"binary").toString("base64"):e=>{let t,n,r,o,a="";const i=e.length%3;for(let i=0;i<e.length;){if((n=e.charCodeAt(i++))>255||(r=e.charCodeAt(i++))>255||(o=e.charCodeAt(i++))>255)throw new TypeError("invalid character found");t=n<<16|r<<8|o,a+=Sd[t>>18&63]+Sd[t>>12&63]+Sd[t>>6&63]+Sd[63&t]}return i?a.slice(0,i-3)+"===".substring(i):a},jd=yd?e=>Buffer.from(e).toString("base64"):e=>{let t=[];for(let n=0,r=e.length;n<r;n+=4096)t.push(Ad.apply(null,e.subarray(n,n+4096)));return Md(t.join(""))},Ed=e=>{if(e.length<2)return(t=e.charCodeAt(0))<128?e:t<2048?Ad(192|t>>>6)+Ad(128|63&t):Ad(224|t>>>12&15)+Ad(128|t>>>6&63)+Ad(128|63&t);var t=65536+1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320);return Ad(240|t>>>18&7)+Ad(128|t>>>12&63)+Ad(128|t>>>6&63)+Ad(128|63&t)},_d=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,kd=yd?e=>Buffer.from(e,"utf8").toString("base64"):wd?e=>jd(wd.encode(e)):e=>Md(e.replace(_d,Ed)),Od=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,Id=e=>{switch(e.length){case 4:var t=((7&e.charCodeAt(0))<<18|(63&e.charCodeAt(1))<<12|(63&e.charCodeAt(2))<<6|63&e.charCodeAt(3))-65536;return Ad((t>>>10)+55296)+Ad(56320+(1023&t));case 3:return Ad((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:return Ad((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}},Nd="function"==typeof atob?e=>atob($d(e)):yd?e=>Buffer.from(e,"base64").toString("binary"):e=>{if(e=e.replace(/\s+/g,""),!xd.test(e))throw new TypeError("malformed base64.");let t,n,r;e+="==".slice(2-(3&e.length));let o=[];for(let a=0;a<e.length;)t=Cd[e.charAt(a++)]<<18|Cd[e.charAt(a++)]<<12|(n=Cd[e.charAt(a++)])<<6|(r=Cd[e.charAt(a++)]),64===n?o.push(Ad(t>>16&255)):64===r?o.push(Ad(t>>16&255,t>>8&255)):o.push(Ad(t>>16&255,t>>8&255,255&t));return o.join("")},Td=yd?e=>Dd(Buffer.from(e,"base64")):e=>Dd(Nd(e).split("").map(e=>e.charCodeAt(0))),Fd=yd?e=>Buffer.from(e,"base64").toString("utf8"):vd?e=>vd.decode(Td(e)):e=>Nd(e).replace(Od,Id),Pd=e=>Fd($d(e.replace(/[-_]/g,e=>"-"==e?"+":"/")));function zd(e){return Pd(e)}function Ld(e){return((e,t=!1)=>t?(e=>e.replace(/=/g,"").replace(/[+\/]/g,e=>"+"==e?"-":"_"))(kd(e)):kd(e))(e)}function Rd(e){return 1*e<10?`0${e}`:e}function Hd(e){return e.reduce((e,t)=>e+t)/e.length}function Yd({seed:e}){return`#${("00000"+Math.trunc(16777216*ki({seed:e})).toString(16)).slice(-6)}`}function Ud(e,t="RGB",n=!1){let r=(e??"").toLowerCase();if(/^#([\dA-f]{3}|[\dA-f]{6})$/.test(r)){4===r.length&&(r=`#${r.charAt(1)}${r.charAt(1)}${r.charAt(2)}${r.charAt(2)}${r.charAt(3)}${r.charAt(3)}`);const e=[];for(let t=1;t<7;t+=2)e.push(Number.parseInt("0x"+r.slice(t,t+2)));return t?`${t}(${e.join(",")})`:n?e:e.join(",")}return ys(`Invalid hex color -> ${e}`),r}function Wd({progress:e,startColor:t,endColor:n}){const r=Ud(t,null,!0),o=Ud(n,null,!0),[a,i,u]=r,[c,s,l]=o;return`#${[(a+Math.round((c-a)*e)).toString(16),(i+Math.round((s-i)*e)).toString(16),(u+Math.round((l-u)*e)).toString(16)].join("").toUpperCase()}`}function qd({direct:e,list:t=[]}){return`linear-gradient(${Wi(e)?`${e}deg`:e}, ${t.join(",")})`}function Bd(e,t){return Qi(t)?e:t}function Gd(...e){let t=ti({},e[0]);for(let n=1;n<e.length;n++)t=ni(t,e[n],Bd);return t}function Vd(e){if(e&&"object"==typeof e){let t="";for(const n of Object.keys(e)){t+=`${(n.replace(/([A-Z])/g,"-$1")??"").toLowerCase()}:${e[n]};`}return t}return e&&"string"==typeof e?e:""}function Kd(e,t){return e&&"object"==typeof e&&t&&"object"==typeof t?Object.assign({},e,t):Vd(e)+Vd(t)}function Zd(e,t){const n=e;for(const e in t)Object.prototype.hasOwnProperty.call(t,e)&&(n[e]=t[e]);return n}const Qd="ea-token",Jd="token";function Xd(){return Jd}function eb(){return tl(Qd)}function tb(e){return rl(Qd,e)}function nb(){return al(Qd)}function rb(){const e={};return e[`${Xd()}`]=eb()||"",e}const ob="ea-currentOperator";function ab(){return ob}function ib(){ms("getCurrentOperatorCache");const e=nl(ob);return null==(e||null)||""===e.flag||e.flag!==eb()?null:e.data||null}function ub(e){ms("setCurrentOperatorCache");return ol(ob,{data:e||null,flag:eb()||""})}function cb(){ms("removeCurrentOperatorCache");al(ob)}const sb={prepareCallback:()=>{},setPrepareComplete:!1,prepareExecuteComplete:!1};function lb(){sb.prepareExecuteComplete||(cs(Bc(yu,"tryDoDvaPrepareWork","dvaAssist"),"try to do dva prepare work"),Ki(sb.prepareCallback)&&sb.prepareCallback(),sb.prepareExecuteComplete=!0)}function fb(e){Li()&&ns({text:"setPrepareCallback",color:ts.execute,dataDescription:"execute",ancillaryInformation:""}),sb.prepareCallback=e,sb.setPrepareComplete=!0}const db={reducerNormalData:"reducerNormalData",reducerRemoteData:"reducerRemoteData",reducerRemoveKey:"reducerRemoveKey"};function bb(e,t){lb();const{payload:n,alias:r,cacheData:o}={alias:null,cacheData:!1,...t};let a=null;if(Qi(r)||!eu(r)?a={...e,data:n}:(a={...e},a[r]=n),o){const e=function(e){const{type:t}={type:"",...e},n=`${t}`.split("/");return 2===n.length?n[0]:""}(t);cs(`modal ${e} cache data, key is ${e}_${r||"data"}`,Fs({key:`${e}_${r||"data"}`,value:n})?"cache success":"cache fail")}return a}function pb(e,t){lb();const{payload:n}={payload:{},...t};return{...e,...ru(n)?n:{}}}function hb(e,t){const{payload:n}={payload:{},...t},r={...e};if(eu(n)&&delete r[n],tu(n)&&!nu(n))for(const e of n)eu(e)&&delete r[n];return r}const mb={reducerRemoteData:(e,t)=>bb(e,t),reducerNormalData:(e,t)=>pb(e,t),reducerRemoveKey:(e,t)=>hb(e,t)};function gb(){return lb(),{data:{code:0,message:"success",dataSuccess:!0,data:{},list:[],extra:{}}}}const yb={cacheData:!1},vb={callback:null,pretreatment:null};function wb(e,t,n=5,r=0){if(!Wi(e))return e;if(!Wi(t)||t<=0)throw new Error(Bc(yu,`pxToRem -> root value must be number and greater than 0, current root value [${t}] is invalid`,"htmlAssist"));const o=Number.parseFloat(e);if(o<r)return e;const a=Dc(o/t,n);return 0===a?"0":a+"rem"}function Sb(e,t=""){const n=/\/\//gi,r=su(t)?e:`${t}${e}`;if(r.indexOf("://")<0)return r.replaceAll(n,"/");let o=r.replaceAll(/:\/\//gi,"!:-/-/!");o=o.replaceAll(n,"/");return o.replaceAll(/!:-\/-\/!/gi,"://")}const Cb="ea-localMetaData";function xb(){return Cb}function Ab(){const e=nl(Cb);if(null==(e||null))return null;const{dataVersion:t}=e;if(null==(t||null))return null;const{data:n}={data:null,...e};return n||null}function Db(e){ms("setLocalMetaData");return ol(Cb,{data:e,dataVersion:Number.parseInt(Date.now()/1e3/60/30,10)})}function $b(){al(Cb)}const Mb="modelAssist",jb="ea-modelNameList",Eb={embedBuilders:[],extraBuilders:[],buildComplete:!1,models:[]};function _b(){return Eb.embedBuilders.length+Eb.extraBuilders.length}function kb(e){if(!Ki(e))throw new Error(Bc(yu,"appendEmbedBuilder -> builder must be none parameter function and return an object, current is "+typeof e,Mb));Eb.embedBuilders.push(e)}function Ob(e){if(!Ki(e))throw new Error(Bc(yu,"appendExtraBuilder -> builder must be none parameter function and return an object, current is "+typeof e,Mb));Eb.extraBuilders.push(e)}function Ib(){const e=[],t=[],n=[];for(const n of Eb.embedBuilders)if(Ki(n)){const r=n();if(ru(r)){const{namespace:n}=r;e.push(r),t.push(n)}}cs("append embed builder",nu(t)?"no embed model builder has set, ignore":t.join(","));for(const t of Eb.extraBuilders)if(Ki(t)){const r=t();if(ru(r)){const{namespace:t}=r;e.push(r),n.push(t)}}cs("append extra builder",nu(n)?"no extra model builder has set yet, ignore":n.join(",")),Eb.buildComplete=!0,Eb.models=e,cs(function(e,t=""){return Bc(yu,Kc(e,t),Mb)}("buildModelCollection"),"models build complete")}function Nb(){if(!Eb.buildComplete){Ib();const e=Eb.models.map(e=>{const{namespace:t}=e;return t}).join(",");cs(`all model collection -> ${e}`),Fb(e)}return Eb.models}function Tb(){return tl(jb)}function Fb(e){return rl(jb,e||"")}function Pb(){al(jb)}const zb="navigationAssist";function Lb(e,t=""){return Bc(yu,Kc(e,t),zb)}const Rb={navigateTo:e=>{ys(Bc(yu,"setNavigator need config, use setNavigator to set it",zb))},redirectTo:e=>{ys(Bc(yu,"setRedirector need config, use setRedirector to set it",zb))}};function Hb(e){cs(Lb("setNavigator"),typeof e),Rb.navigateTo=e}function Yb(e){cs(Lb("setRedirector"),typeof e),Rb.redirectTo=e}function Ub(e){if(!eu(e)&&!ru(e)){return void Nl("invalid parameter, params need string or object")}Rb.redirectTo(e)}function Wb(e){if(!eu(e)&&!ru(e)){return void Nl("invalid parameter, params need string or object")}Rb.navigateTo(e)}const qb={showOpenNotification:({title:e,description:t="",placement:n="",duration:r=3e3,onClose:o=()=>{}})=>{is(Kc(e,t))},showLoadingNotification:({title:e,description:t="",placement:n="",duration:r=3e3,onClose:o=()=>{}})=>{is(Kc(e,t))},showInfoNotification:({title:e,description:t="",placement:n="",duration:r=3e3,onClose:o=()=>{}})=>{is(Kc(e,t))},showSuccessNotification:({title:e,description:t="",placement:n="",duration:r=3e3,onClose:o=()=>{}})=>{is(Kc(e,t))},showWarnNotification:({title:e,description:t="",placement:n="",duration:r=3e3,onClose:o=()=>{}})=>{as(Kc(e,t))},showWarningNotification:({title:e,description:t="",placement:n="",duration:r=3e3,onClose:o=()=>{}})=>{as(Kc(e,t))},showErrorNotification:({title:e,description:t="",placement:n="",duration:r=3e3,onClose:o=()=>{}})=>{gs(Kc(e,t))}};function Bb(e){qb.showOpenNotification=e}function Gb(e){qb.showLoadingNotification=e}function Vb(e){qb.showInfoNotification=e}function Kb(e){qb.showSuccessNotification=e}function Zb(e){qb.showWarnNotification=e}function Qb(e){qb.showWarningNotification=e}function Jb(e){qb.showErrorNotification=e}function Xb(e){ep({description:e})}function ep({title:e,description:t="",placement:n="",duration:r=3e3,onClose:o=()=>{}}){Ki(qb.showOpenNotification)&&qb.showOpenNotification({title:e,description:t,placement:n,duration:r,onClose:o})}function tp(e){np({description:e})}function np({title:e,description:t="",placement:n="",duration:r=3e3,onClose:o=()=>{}}){Ki(qb.showLoadingNotification)&&qb.showLoadingNotification({title:e,description:t,placement:n,duration:r,onClose:o})}function rp(e){op({description:e})}function op({title:e,description:t="",placement:n="",duration:r=3e3,onClose:o=()=>{}}){Ki(qb.showInfoNotification)&&qb.showInfoNotification({title:e,description:t,placement:n,duration:r,onClose:o})}function ap(e){ip({description:e})}function ip({title:e,description:t="",placement:n="",duration:r=3e3,onClose:o=()=>{}}){Ki(qb.showWarnNotification)&&qb.showWarnNotification({title:e,description:t,placement:n,duration:r,onClose:o})}function up(e){cp({description:e})}function cp({title:e,description:t="",placement:n="",duration:r=3e3,onClose:o=()=>{}}){Ki(qb.showWarningNotification)&&qb.showWarningNotification({title:e,description:t,placement:n,duration:r,onClose:o})}function sp(e){lp({description:e})}function lp({title:e,description:t="",placement:n="",duration:r=3e3,onClose:o=()=>{}}){Ki(qb.showSuccessNotification)&&qb.showSuccessNotification({title:e,description:t,placement:n,duration:r,onClose:o})}function fp(e){dp({description:e})}function dp({title:e,description:t="",placement:n="",duration:r=3e3,onClose:o=()=>{}}){Ki(qb.showErrorNotification)&&qb.showErrorNotification({title:e,description:t,placement:n,duration:r,onClose:o})}const bp="ea-nearestLocalhostNotify";function pp(){const e=nl(bp);return null==(e||null)||null==(e.nearestTime||null)?null:e||null}function hp(){return ol(bp,{nearestTime:Number.parseInt(Date.now()/1e3,10)})}function mp(){al(bp)}function gp({text:e}){let t=!1,n=0;const r=pp()||null;null==r?t=!0:n=r.nearestTime||0;const o=Number.parseInt(Date.now()/1e3,10);try{n+30<o&&(t=!0),t&&(ep({title:"Current Request Host",description:e}),cs("current request host",`"${e}"`),hp())}catch(e){os(e)}}function yp(e){al(e)}function vp(e){const t=nl(e);if(null==(t||null))return yp(e),null;if(""===(t.dataVersion||""))return yp(e),null;const n=Number.parseInt(Date.now()/1e3/60/30,10);return t.dataVersion<n?(yp(e),null):t.useParamsData||null}function wp(e,t){return ol(e,{useParamsData:t||null,dataVersion:Number.parseInt(Date.now()/1e3/60/30,10)})}function Sp(e,t=""){return Bc(yu,Kc(e,t),"progressAssist")}const Cp={handleProgressStart:()=>{},handleProgressStartSetComplete:!1,handleProgressStop:()=>{},handleProgressStopSetComplete:!1};function xp(e){Cp.handleProgressStartSetComplete?cs("setProgressStartHandler","reset is not allowed, it can be set only once"):(Ki(e)?cs("setProgressStartHandler",typeof e):cs("setProgressStartHandler","parameter must be function"),Cp.handleProgressStart=e,Cp.handleProgressStartSetComplete=!0)}function Ap(e){Cp.handleProgressStopSetComplete?cs("setProgressStopHandler","reset is not allowed, it can be set only once"):(Ki(e)?cs("setProgressStopHandler",typeof e):cs("setProgressStopHandler","parameter must be function"),Cp.handleProgressStop=e,Cp.handleProgressStopSetComplete=!0)}function Dp(){if(!Cp.handleProgressStartSetComplete)throw new Error(Sp("startProgress -> handleProgressStart has not set, please use setProgressStartHandler to set it"));Cp.handleProgressStart()}function $p(){if(!Cp.handleProgressStopSetComplete)throw new Error(Sp("stopProgress -> handleProgressStop has not set, please use setProgressStopHandler to set it"));Cp.handleProgressStop()}function Mp(e,t=""){let n=H(e);if(su(t))return n;if(su(n))return t;const r=t.lastIndexOf("?")>=0?"&":"?";return`${t}${r}${n}`}function jp(e){return Y(e)}function Ep(e,t=""){return Bc(yu,Kc(e,t),"requestAssist")}const _p={successCodeSetComplete:!1,authenticationFailCodeSetComplete:!1,successCode:200,authenticationFailCode:2001,promptSimulation:!1,promptSimulationSetComplete:!1,urlGlobalPrefix:"",handleSupplementGlobalHeader:()=>({}),handleSupplementGlobalHeaderSetComplete:!1,handleRequest:async({url:e,method:t=Mu.post,data:n={},header:r=[],option:o={}})=>{},handleRequestSetComplete:!1,handleAuthenticationFail:()=>{},handleAuthenticationFailSetComplete:!1,handleSimulationAuthorizeExtra:()=>!0,handleSimulationAuthorizeExtraSetComplete:!1};function kp(e){_p.successCodeSetComplete?cs("setSuccessCode","reset is not allowed, it can be set only once"):(Wi(e)?cs("setSuccessCode",Dc(e)):cs("setSuccessCode","parameter must be number"),_p.successCode=Dc(e),_p.successCodeSetComplete=!0)}function Op(e){_p.authenticationFailCodeSetComplete?cs("setAuthenticationFailCode","reset is not allowed, it can be set only once"):(Wi(e)?cs("setAuthenticationFailCode",Dc(e)):cs("setAuthenticationFailCode","parameter must be number"),_p.authenticationFailCode=Dc(e),_p.authenticationFailCodeSetComplete=!0)}function Ip(e){_p.promptSimulationSetComplete?cs("setPromptSimulation","reset is not allowed, it can be set only once"):(Zi(e)?cs("setPromptSimulation",_c(e)):cs("setPromptSimulation","parameter must be bool"),_p.promptSimulation=_c(e),_p.promptSimulationSetComplete=!0)}function Np(){return _p.urlGlobalPrefix||""}function Tp(e){if(!eu(e))throw new Error(Ep("setUrlGlobalPrefix param globalPrefix need string","current is "+typeof e));_p.urlGlobalPrefix=e}function Fp(e){_p.handleRequestSetComplete?cs("setRequestHandler","reset is not allowed, it can be set only once"):(Ki(e)?cs(Ep("setRequestHandler"),typeof e):cs(Ep("setRequestHandler"),"parameter must be function"),_p.handleRequest=e,_p.handleRequestSetComplete=!0)}function Pp(e){_p.handleAuthenticationFailSetComplete?cs("setAuthenticationFailHandler","reset is not allowed, it can be set only once"):(Ki(e)?cs("setAuthenticationFailHandler",typeof e):cs("setAuthenticationFailHandler","parameter must be function"),_p.handleAuthenticationFail=e,_p.handleAuthenticationFailSetComplete=!0)}function zp(e){_p.handleSimulationAuthorizeExtraSetComplete?cs("setSimulationAuthorizeExtraHandler","reset is not allowed, it can be set only once"):(Ki(e)?cs("setSimulationAuthorizeExtraHandler",typeof e):cs("setSimulationAuthorizeExtraHandler","parameter must be function"),_p.handleSimulationAuthorizeExtra=e,_p.handleSimulationAuthorizeExtraSetComplete=!0)}function Lp(e){_p.handleSupplementGlobalHeaderSetComplete?cs("setGlobalHeaderSupplementHandler","reset is not allowed, it can be set only once"):(Ki(e)?cs("setGlobalHeaderSupplementHandler",typeof e):cs("setGlobalHeaderSupplementHandler","parameter must be function"),_p.handleSupplementGlobalHeader=e,_p.handleSupplementGlobalHeaderSetComplete=!0)}function Rp(e){const{code:t,message:n}=e,r={code:-1,message:"",data:null,list:[],extra:null},o=Es(),a=Dc(t);if(a!==r.code){const e=Date.now();a===_p.authenticationFailCode?hs("api call failed, authentication fail"):(as(`api call failed, code: ${a}, message: ${n}`),a===Dc(o.code)?e-o.time>800&&(Nl(n),_s({code:a,message:n,time:e})):(Nl(n),_s({code:a,message:n,time:e}))),a===_p.authenticationFailCode&&Gp()}}function Hp({source:e,pretreatment:t=null,successCallback:n=null,failCallback:r=null}){const{code:o,message:a}={code:-1,message:"",data:null,list:[],extra:null,...e};let i={};const u=Dc(o);if(u===Dc(_p.successCode)){const{data:r,extra:o}=e;Ki(t)&&(i=t(e)),i={code:u,message:a,data:r||{},extra:o||{},dataSuccess:!0},Ki(n)&&n(i)}else i={code:u,message:a||"网络异常",data:null,extra:null,dataSuccess:!1},Ki(r)&&r(i),Rp(i);return i}function Yp({source:e,pretreatment:t=null,itemPretreatment:n=null,successCallback:r=null,failCallback:o=null}){const{code:a,message:i}=e||{code:-1,message:"",data:null,list:[],extra:null};let u={};const c=Dc(a);if(c===Dc(_p.successCode)){let o=e;Ki(t)&&(o=t(e));const{list:a,extra:s}=o,l=(a||[]).map((e,t)=>{let r=e;return null==(r.key||null)&&(r.key=`list-${t}`),Ki(n)&&(r=n(r)),r});u={code:c,message:i,count:(l||[]).length,list:l,extra:s,dataSuccess:!0},Ki(r)&&r(u)}else u={code:c,message:i||"网络异常",count:0,list:[],extra:null,dataSuccess:!1},Ki(o)&&o(u),Rp(u);return u}function Up({source:e,pretreatment:t=null,itemPretreatment:n=null,successCallback:r=null,failCallback:o=null}){const{code:a,message:i}=e||{code:-1,message:"",data:null,list:[],extra:null};let u={};const c=Dc(a);if(c===Dc(_p.successCode)){let o=e;Ki(t)&&(o=t(e));const{list:a,extra:s}=o,{pageNo:l,total:f,pageSize:d}={pageNo:0,pageSize:0,total:0,...s},b=(a||[]).map((e,t)=>{let r=e;return null==(r.key||null)&&(r.key=`${l}-${t}`),Ki(n)&&(r=n(r)),r});u={code:c,message:i,count:(b||[]).length,list:b,pagination:{total:f,pageSize:d,current:Number.parseInt(l||1,10)||1},extra:s,dataSuccess:!0},Ki(r)&&r(u)}else u={code:c,message:i||"网络异常",count:0,list:[],extra:null,pagination:{total:0,pageSize:10,current:1},dataSuccess:!1},Ki(o)&&o(u),Rp(u);return u}function Wp(e,t){let n={...e};return"function"==typeof t&&(n=t(n)),Object.fromEntries(Object.keys(n).filter(e=>null!=n[e]).map(e=>[e,n[e]]))}function qp(e,t,n){const{payload:r,callback:o,pretreatment:a,alias:i,cacheData:u}=t;let c=Yp(r);Ki(o)&&(c=o(c));let s=null;if(Qi(i)||!eu(i))return{...e,data:c};if(s={...e},s[i]=c,u){hs(`modal ${n} cache data, key is ${n}_${i||"data"}, ${Fs({key:`${n}_${i||"data"}`,value:c})?"cache success":"cache fail"}.`)}return s}function Bp(e,t,n){const{payload:r,callback:o,pretreatment:a,alias:i,cacheData:u}=t;let c=Up(r);Ki(o)&&(c=o(c));let s=null;if(Qi(i)||!eu(i))return{...e,data:c};if(s={...e},s[i]=c,u){cs(`modal ${n} cache data, key is ${n}_${i||"data"}, ${Fs({key:`${n}_${i||"data"}`,value:c})?"cache success":"cache fail"}.`)}return s}function Gp(){if(!_p.handleAuthenticationFailSetComplete)throw new Error(Ep("handleAuthenticationFail","handleAuthenticationFail has not set, please use setAuthenticationFailHandler to set it"));_p.handleAuthenticationFail()}function Vp(){return Ki(_p.handleSimulationAuthorizeExtra)?_p.handleSimulationAuthorizeExtra():(cs(Ep("handleSimulationAuthorizeExtra","handleSimulationAuthorizeExtra is not function, ignore execute, if you need it, please use setSimulationAuthorizeExtraHandler to set it")),!0)}async function Kp({api:e,urlParams:t=null,params:n={},header:r={},method:o=Mu.post,mode:a=$u.real,promptSimulation:i=_p.promptSimulation,promptSimulationDelay:u=500,simulateRequestMaxDelay:c=0,simulativeSuccessResponse:s={},simulativeFailResponse:l={code:1001,message:"虚拟未知错误"},simulateRequestResult:f=!0,simulativeAuthorize:d=!1}){let b=_p.urlGlobalPrefix;if(!eu(b))throw as(b,"error globalPrefix"),new Error("url global prefix is not string");if(!eu(e))throw as(e,"error api"),new Error("api is not string");let p=e;if(Ic(p).startsWith("http://")||Ic(p).startsWith("https://")?p=e:(su(b)||(b=`/${b}/`),p=`${b}${e}`.replace("//","/")),p=Sb(p),null!=(t||null)&&(eu(t)&&(p=`${p}?${t}`),ru(t)&&(p=`${p}?${Mp(t)}`)),a===$u.simulation){ls(`api request is simulation mode, simulate start,${c>0?`max delay ${c}ms,`:""} api is "${e}".`),i&&setTimeout(()=>{$l("由虚拟访问返回")},u>0?u:0);let h={},m=!1;if(d){if(su(eb())||(m=!0),!Ki(_p.handleSimulationAuthorizeExtra))throw new Error("handleSimulationAuthorizeExtra must be function and return boolean");m=_p.handleSimulationAuthorizeExtra()||!1}return d&&!m?Gp():(ls({api:e,method:o,header:r,urlParams:t,params:n,apiVersion:b,mode:a,simulateRequestMaxDelay:c,simulativeAuthorize:d},Ep("request",`simulation request address: "${p}"`)),h=await th({api:e,simulateRequestMaxDelay:c,dataBuild:e=>{e(f?Jp({response:s,needAuthorize:d}):Qp({response:l,needAuthorize:d}))}}),ls({response:h},Ep("request","simulation request complete"))),h}ls({api:e,method:o,header:r,urlParams:t,params:n,apiVersion:b,mode:a},Ep("request",`request address: "${p}"`));const h=di(kc(o));if(fu([Mu.get,Mu.post],h)){const e=await async function({url:e,method:t=Mu.post,data:n={},header:r=[],option:o={}}){ms({url:e,method:t,data:n,header:r,option:o},Ep('realRequest"'));let a=r;if(_p.handleSupplementGlobalHeaderSetComplete&&Ki(_p.handleSupplementGlobalHeader)){const e=_p.handleSupplementGlobalHeader();ru(e)&&(a={...r,...e})}if(!_p.handleRequestSetComplete)throw new Error(Ep("realRequest","handleRequest has not set, please use setRequestHandler to set it"));return await _p.handleRequest({url:e,method:t,data:n,header:a,option:o})}({url:p,data:n,header:{...r},option:{},method:Mu.post});return ls({requestResult:e},Ep("request","real request complete")),e}throw new Error(`unsupported method:${o}`)}function Zp(){return su(eb())}function Qp({response:e,code:t,message:n,needAuthorize:r=!0}){return r?Zp()?(Fl(n),{code:t,message:n,success:!1,...e}):{code:_p.authenticationFailCode,message:"登录失效, 请重新登录",success:!1}:(Fl(n),{code:t,message:n,success:!1,...e})}function Jp({response:e,needAuthorize:t=!0}){return t?Zp()?{code:_p.successCode,message:"success",success:!0,...e}:{code:_p.authenticationFailCode,message:"登录失效, 请重新登录",success:!1}:{code:_p.successCode,message:"success",success:!0,...e}}async function Xp({remoteResponse:e,needAuthorize:t=!0}){let n={};await new Promise(e=>{setTimeout(()=>{e(Jp({needAuthorize:t}))},300)}).then(e=>(n=e,e)).catch(e=>{gs(e)});const{code:r}=n;return r===_p.authenticationFailCode&&Gp(),n}async function eh({remoteResponse:e,needAuthorize:t=!0}){let n={};await new Promise(t=>{setTimeout(()=>{t(Qp(e))},300)}).then(e=>(n=e,e)).catch(e=>{gs(e)});const{code:r,message:o}=n;return r===_p.authenticationFailCode?Gp():r!==_p.successCode&&_l(o),n}async function th({api:e="",simulateRequestMaxDelay:t=200,dataBuild:n}){let r={};await new Promise(e=>{if(Ki(n)){const r=t>0?Dc(Math.random()*t):0;ls(`api request simulate realy delay ${r}ms`),setTimeout(()=>{n(e)},r)}}).then(t=>(ls("api request simulate completed",`"${e}"`),r=t,t)).catch(e=>{gs(e)});const{code:o,message:a}=r;return o!==_p.successCode&&Ol(a),r}const nh="sessionStorageAssist",rh={getStorage:e=>{ys(Bc(yu,Kc("sessionStorageGetter need config, use setSessionStorageGetter to set it",`key ${e}`),nh))},setStorage:(e,t)=>{ys(Bc(yu,Kc("sessionStorageSetter need config, use setSessionStorageSetter to set it",`key ${e}, value type ${typeof t}`),nh))},removeStorage:e=>{ys(Bc(yu,Kc("sessionStorageRemover need config, use setSessionStorageRemover to set it",`key ${e}`),nh))},flushStorage:()=>{ys(Bc(yu,"sessionStorageFlusher need config, use setSessionStorageFlusher to set it",nh))}};function oh(e){rh.getStorage=e}function ah(e){rh.setStorage=e}function ih(e){rh.removeStorage=e}function uh(e){rh.flushStorage=e}function ch(e){try{return rh.getStorage(e)}catch(t){throw ys({key:e,e:t}),t}}function sh(e){const t=ch(e);return su(t)?null:JSON.parse(t||"{}")}function lh(e,t){rh.setStorage(e,t)}function fh(e,t){rh.setStorage(e,_i(t||{}))}function dh(e){rh.removeStorage(e)}function bh(){rh.flushStorage()}function ph(e,t,n=""){return`请${t||"输入"}${e}${su(n)?"":`,${n}`}`}function hh({label:e,name:t,helper:n}){let r="",o="",a="";if(eu(e))r=e;else{const r=qc.buildMustString({name:"label",value:e});gs({label:e,name:t,helper:n},r),Nl(r)}if(eu(t))o=t;else{const r=qc.buildMustString({name:"name",value:t});gs({label:e,name:t,helper:n},r),Nl(r)}if(eu(n||""))a=n;else{const r=qc.buildMustString({name:"helper",value:n});gs({label:e,name:t,helper:n},r),Nl(r)}return{label:r,name:o,helper:a}}function mh(e,t="注: "){return`${t}${e}. `}export{wu as accessWaySpecialCollection,ff as addHour,df as addMinute,bf as addSecond,Sb as adjustUrl,Cu as alignHorizontal,xu as alignVertical,ql as appendApplicationExternalConfig,kb as appendEmbedBuilder,Ob as appendExtraBuilder,Ll as applicationConfiguration,ti as assign,ni as assignWith,Zd as attachPropertiesToComponent,fd as authorityAssist,Hd as averageArray,Qc as buildBase64Jpeg,Zc as buildBase64Png,ph as buildFieldDescription,mh as buildFieldHelper,Wd as buildHexColor,qd as buildLinearGradient,Ib as buildModelCollection,Bc as buildPromptModuleInfo,Mp as buildQueryStringify,Ud as buildRGBColorFromHexColor,Yd as buildRandomHexColor,Qp as buildSimulateRequestFailResponse,Jp as buildSimulateRequestSuccessResponse,Vd as buildStringStyle,rb as buildTokenData,vf as calculateDateInterval,wf as calculateMonthInterval,yf as calculateTimeInterval,qi as canToNumber,Mi as checkDarkMode,ad as checkExist,hh as checkFromConfig,gd as checkHasAuthority,zi as checkHasMore,fu as checkInCollection,pd as checkIsSuper,dl as checkMessagePromptData,lu as checkObjectIsNullOrEmpty,su as checkStringIsNullOrWhiteSpace,Li as checkWhetherDevelopmentEnvironment,Zu as chineseNumeralCollection,Gu as chineseZodiacCollection,Oi as cloneWithoutMethod,mf as compareTimeGreaterThan,hf as compareTimeLessThan,ku as convertCollection,Lf as convertLunarToSolar,kf as convertLunarYearToSexagenaryCycleYear,wb as convertPixelToRem,zf as convertSolarToLunar,If as convertToSexagenaryCycle,lf as createDayJsDatetime,Iu as datetimeFormat,xi as debounce,zd as decodeBase64,Ws as deleteCache,qs as deleteMultiCache,yi as difference,rs as displayObjectMessage,ns as displayTextMessage,Jc as distinctAdjacent,li as dropRight,Bu as earthlyBranchCollection,Kf as ellipsis,_u as emptyDatetime,Ld as encodeBase64,Ja as endsWith,Su as environmentCollection,Yu as errorImage,Di as evil,Is as existCachePool,vi as filter,Ci as find,Si as findIndex,ci as first,Rd as fixedZero,ui as floor,Bs as flushAllCache,il as flushLocalStorage,bh as flushSessionStorage,oi as forEach,Ou as formatCollection,Bf as formatDateInterval,Gf as formatDateIntervalWithNow,Uf as formatDatetime,Rf as formatDecimal,Hf as formatMoney,Yf as formatMoneyToChinese,Wf as formatTarget,Hi as generateNumberCollection,Ka as get,cl as getAccessWayCollectionCache,Bl as getApplicationExternalConfigList,Wl as getApplicationInitialConfig,Gl as getApplicationMergeConfig,Ei as getBrowserInfo,ji as getBrowserVersion,_b as getBuilderCount,Rs as getCache,Ns as getCachePool,Pf as getChineseZodiac,Of as getConstellation,ib as getCurrentOperatorCache,ab as getCurrentOperatorCacheKey,Sf as getDayOfWeek,zs as getExpiration,Pi as getGuid,nl as getJsonFromLocalStorage,sh as getJsonFromSessionStorage,Es as getLastRequestExceptionMessage,Mf as getLeapDays,$f as getLeapMonth,Zl as getLocalAuthorityCollection,Ab as getLocalMetaData,xb as getLocalMetaDataCacheKey,Ss as getLoggerDisplaySwitch,jf as getLunarYearDays,Nb as getModelCollection,Tb as getModelNameList,Df as getMonthDay,Ef as getMonthDays,Ys as getMultiCache,pp as getNearestLocalhostNotifyCache,pf as getNow,vp as getParametersDataCache,Jf as getPathValue,js as getRuntimeDataStorage,_f as getSolarDays,tl as getStringFromLocalStorage,ch as getStringFromSessionStorage,gb as getTacitlyState,Nf as getTerm,gf as getTimeStamp,Cf as getTodayOfWeek,eb as getToken,Xd as getTokenKeyName,Np as getUrlGlobalPrefix,Ri as getValue,td as getValueByKey,Af as getWeekday,Za as groupBy,ai as gte,Gp as handleAuthenticationFail,md as handleAuthorizationFail,vb as handleDefaultParameters,id as handleItem,qp as handleListDataAssist,ud as handleListItem,Bp as handlePageListDataAssist,Vp as handleSimulationAuthorizeExtra,Ts as hasCache,du as hasKey,qu as heavenlyStemCollection,mu as inYear,tu as isArray,gu as isAsyncFunction,pu as isBetweenDatetime,Zi as isBoolean,$i as isBrowser,Xi as isDate,Ui as isDatetime,nu as isEmptyArray,ou as isEmptyObject,Gi as isEqual,Vi as isEqualBySerialize,Ki as isFunction,cu as isImageBase4,Yi as isInvalid,Bi as isMoney,Ji as isNull,Wi as isNumber,ru as isObject,au as isPlainObject,iu as isPromise,eu as isString,bu as isToday,Qi as isUndefined,uu as isUrl,hu as isWeekend,xf as judgeLeapYear,Hs as keys,Zs as localStorageAssist,bs as logCallResult,ds as logCallTrace,fs as logCallTrack,ts as logColorCollection,us as logConfig,xs as logConsole,os as logData,hs as logDebug,cs as logDevelop,zu as logDisplay,gs as logError,ys as logException,ms as logExecute,is as logInfo,Pu as logLevel,ws as logObject,ps as logRender,ss as logStack,vs as logText,ls as logTrace,as as logWarn,es as loggerSwitch,Uu as lunarInfoCollection,Qu as lunarPrefixCollection,Ju as lunarSuffixCollection,hi as map,ii as memoize,Vc as mergeArrowText,Gd as mergeProperties,Kd as mergeStyle,Gc as mergeTextCollection,Kc as mergeTextMessage,bl as messagePromptAssist,Ru as messageTypeCollection,Eb as modelContainer,vu as modelGlobalCollection,Wb as navigateTo,Rb as navigationAssist,qb as notificationPromptAssist,Lu as notificationTypeCollection,jp as parseQueryString,sb as preparationWork,Yp as pretreatmentRemoteListData,Up as pretreatmentRemotePageListData,Hp as pretreatmentRemoteSingleData,Wp as pretreatmentRequestParameters,Cp as progressAssist,qc as promptTextBuilder,Ub as redirectTo,mb as reducerCollection,yb as reducerDefaultParameters,db as reducerNameCollection,pb as reducerNormalDataAssist,bb as reducerRemoteDataAssist,hb as reducerRemoveKeyAssist,Ii as refitCommonData,Ni as refitFieldDecoratorOption,cb as removeCurrentOperatorCache,Xf as removeEndMatch,pi as removeFromArray,ed as removeLastMatch,Ql as removeLocalAuthorityCollection,$b as removeLocalMetaData,al as removeLocalStorage,Pb as removeModelNameList,mp as removeNearestLocalhostNotifyCache,yp as removeParametersDataCache,dh as removeSessionStorage,nb as removeToken,bi as replace,Zf as replaceWithKeep,Kp as request,_p as requestConfiguration,Mu as requestMethod,$u as requestMode,ri as reverse,Qa as round,Ds as runtimeConfiguration,ol as saveJsonToLocalStorage,fh as saveJsonToSessionStorage,rl as saveStringToLocalStorage,lh as saveStringToSessionStorage,Ti as searchFromList,ki as seededRandom,rh as sessionStorageAssist,mi as set,sl as setAccessWayCollectionCache,Ul as setApplicationExternalConfigList,Yl as setApplicationInitialConfig,Op as setAuthenticationFailCode,Pp as setAuthenticationFailHandler,dd as setAuthorizationFailHandler,Fs as setCache,ub as setCurrentOperatorCache,pl as setDurationConversionRatio,Sl as setErrorMessageDisplayMonitor,Jb as setErrorNotificationDisplayMonitor,Ls as setExpiration,Lp as setGlobalHeaderSupplementHandler,gl as setInfoMessageDisplayMonitor,Vb as setInfoNotificationDisplayMonitor,_s as setLastRequestExceptionMessage,ml as setLoadingMessageDisplayMonitor,Gb as setLoadingNotificationDisplayMonitor,Kl as setLocalAuthorityCollection,Db as setLocalMetaData,el as setLocalStorageFlusher,Qs as setLocalStorageGetter,Xs as setLocalStorageRemover,Js as setLocalStorageSetter,Cs as setLoggerDisplaySwitch,Fb as setModelNameList,Ps as setMultiCache,Hb as setNavigator,hp as setNearestLocalhostNotifyCache,hl as setOpenMessageDisplayMonitor,Bb as setOpenNotificationDisplayMonitor,wp as setParametersDataCache,fb as setPrepareCallback,xp as setProgressStartHandler,Ap as setProgressStopHandler,Ip as setPromptSimulation,Yb as setRedirector,Fp as setRequestHandler,Ms as setRuntimeDataStorage,uh as setSessionStorageFlusher,oh as setSessionStorageGetter,ih as setSessionStorageRemover,ah as setSessionStorageSetter,zp as setSimulationAuthorizeExtraHandler,kp as setSuccessCode,yl as setSuccessMessageDisplayMonitor,Kb as setSuccessNotificationDisplayMonitor,tb as setToken,Tp as setUrlGlobalPrefix,vl as setWarnMessageDisplayMonitor,Zb as setWarnNotificationDisplayMonitor,wl as setWarningMessageDisplayMonitor,Qb as setWarningNotificationDisplayMonitor,Tl as showErrorMessage,dp as showErrorNotification,Ml as showInfoMessage,op as showInfoNotification,Dl as showLoadingMessage,np as showLoadingNotification,xl as showOpenMessage,ep as showOpenNotification,Pl as showRuntimeError,Nl as showSimpleErrorMessage,fp as showSimpleErrorNotification,$l as showSimpleInfoMessage,rp as showSimpleInfoNotification,Al as showSimpleLoadingMessage,tp as showSimpleLoadingNotification,Cl as showSimpleOpenMessage,Xb as showSimpleOpenNotification,Fl as showSimpleRuntimeError,jl as showSimpleSuccessMessage,sp as showSimpleSuccessNotification,_l as showSimpleWarnMessage,ap as showSimpleWarnNotification,Ol as showSimpleWarningMessage,up as showSimpleWarningNotification,El as showSuccessMessage,lp as showSuccessNotification,kl as showWarnMessage,ip as showWarnNotification,Il as showWarningMessage,cp as showWarningNotification,eh as simulateFailRequest,th as simulateRequest,Xp as simulateSuccessRequest,gi as size,Qf as sleep,Wu as solarMonthCollection,Vu as solarTermCollection,wi as sortBy,nd as sortCollectionByKey,Nu as sortOperate,Xa as sortedUnique,ei as split,Dp as startProgress,si as startsWith,Gs as statisticsCache,$p as stopProgress,ul as storageKeyCollection,_i as stringifyJson,Us as takeCache,Ku as termInfoCollection,Ai as throttle,Xl as to,_c as toBoolean,$c as toBoundary,Ff as toChinaDay,Tf as toChinaMonth,Jl as toDatetime,Ic as toLower,Nc as toLowerFirst,Ac as toMd5,Mc as toMoney,Dc as toNumber,jc as toPercentage,Tc as toPromise,Fc as toRound,xc as toSha1,Ec as toString,Pc as toUniqueArray,kc as toUpper,Oc as toUpperFirst,od as transformData,rd as transformListData,Hu as transparentImage,di as trim,lb as tryDoDvaPrepareWork,gp as trySendNearestLocalhostNotify,Du as underlyingExtensionState,Au as underlyingState,fi as uniqBy,Fu as whetherNumber,Tu as whetherString,Eu as zeroInt,ju as zeroString};
@@ -21,3 +21,10 @@ export function mergeArrowText(...textCollection: any[]): string;
21
21
  export function mergeTextMessage(text: string, ancillaryInformation: string): string;
22
22
  export function buildBase64Png(v: any): string;
23
23
  export function buildBase64Jpeg(v: any): string;
24
+ /**
25
+ * 依据条件相邻位去重
26
+ * @param {Array} list 即将去重的数据集合
27
+ * @param {Function} split 分割逻辑
28
+ * @returns 去重后的数据集合
29
+ */
30
+ export function distinctAdjacent(list: any[], split: Function): any[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "easy-soft-utility",
3
- "version": "2.8.103",
3
+ "version": "2.8.105",
4
4
  "private": false,
5
5
  "description": "easy-soft-utility",
6
6
  "keywords": [
@@ -64,7 +64,7 @@
64
64
  "lodash": "^4.17.21",
65
65
  "node-cache": "^5.1.2",
66
66
  "object-hash": "^3.0.0",
67
- "qs": "^6.14.0",
67
+ "qs": "^6.14.1",
68
68
  "react": "^18.3.1",
69
69
  "react-dom": "^18.3.1"
70
70
  },
@@ -79,8 +79,8 @@
79
79
  "@babel/preset-react": "^7.28.5",
80
80
  "@babel/runtime": "^7.28.4",
81
81
  "@changesets/cli": "^2.29.8",
82
- "@commitlint/cli": "^20.1.0",
83
- "@commitlint/config-conventional": "^20.0.0",
82
+ "@commitlint/cli": "^20.3.0",
83
+ "@commitlint/config-conventional": "^20.3.0",
84
84
  "@commitlint/config-pnpm-scopes": "^20.1.0",
85
85
  "@pmmmwh/react-refresh-webpack-plugin": "^0.6.2",
86
86
  "@rollup/plugin-alias": "^6.0.0",
@@ -96,16 +96,16 @@
96
96
  "@types/fs-extra": "^11.0.4",
97
97
  "@types/jest": "^30.0.0",
98
98
  "@types/lodash": "^4.17.21",
99
- "@types/node": "^24.10.1",
99
+ "@types/node": "^25.0.3",
100
100
  "@types/object-hash": "^3.0.6",
101
101
  "@types/qs": "^6.14.0",
102
102
  "@types/react": "^18.3.1",
103
103
  "@types/react-dom": "^18.3.1",
104
- "@types/shelljs": "^0.8.17",
104
+ "@types/shelljs": "^0.10.0",
105
105
  "@types/webpack-env": "^1.18.8",
106
- "@typescript-eslint/eslint-plugin": "^8.48.0",
107
- "@typescript-eslint/parser": "^8.48.0",
108
- "autoprefixer": "^10.4.22",
106
+ "@typescript-eslint/eslint-plugin": "^8.52.0",
107
+ "@typescript-eslint/parser": "^8.52.0",
108
+ "autoprefixer": "^10.4.23",
109
109
  "babel-cli": "^6.26.0",
110
110
  "babel-jest": "^30.2.0",
111
111
  "babel-plugin-import": "^1.13.8",
@@ -116,7 +116,7 @@
116
116
  "cssnano": "^7.1.2",
117
117
  "cz-git": "^1.12.0",
118
118
  "docdash": "^2.0.2",
119
- "easy-soft-develop": "^2.1.314",
119
+ "easy-soft-develop": "^2.2.7",
120
120
  "eslint": "^8.57.0",
121
121
  "eslint-config-airbnb": "^19.0.4",
122
122
  "eslint-config-airbnb-typescript": "^18.0.0",
@@ -125,7 +125,7 @@
125
125
  "eslint-import-resolver-typescript": "^4.4.4",
126
126
  "eslint-plugin-eslint-comments": "^3.2.0",
127
127
  "eslint-plugin-import": "^2.32.0",
128
- "eslint-plugin-jest": "^29.2.1",
128
+ "eslint-plugin-jest": "^29.12.1",
129
129
  "eslint-plugin-jsx-a11y": "^6.10.2",
130
130
  "eslint-plugin-prettier": "^5.5.4",
131
131
  "eslint-plugin-promise": "^7.2.1",
@@ -138,16 +138,16 @@
138
138
  "jsdoc": "^4.0.5",
139
139
  "lint-staged": "^16.2.7",
140
140
  "mm": "^4.0.2",
141
- "npm-check-updates": "^19.1.2",
141
+ "npm-check-updates": "^19.3.1",
142
142
  "postcss": "^8.5.6",
143
143
  "postcss-less": "^6.0.0",
144
144
  "postcss-pxtorem": "^6.1.0",
145
- "prettier": "^3.7.3",
145
+ "prettier": "^3.7.4",
146
146
  "prettier-plugin-organize-imports": "^4.3.0",
147
147
  "prettier-plugin-packagejson": "^2.5.20",
148
148
  "react-refresh": "^0.18.0",
149
149
  "rimraf": "^6.1.2",
150
- "rollup": "^4.53.3",
150
+ "rollup": "^4.55.1",
151
151
  "rollup-plugin-copy": "^3.5.0",
152
152
  "rollup-plugin-livereload": "^2.0.5",
153
153
  "rollup-plugin-postcss": "^4.0.2",
@@ -158,8 +158,8 @@
158
158
  "stylelint-config-css-modules": "^4.5.1",
159
159
  "stylelint-config-standard": "^39.0.1",
160
160
  "stylelint-declaration-block-no-ignored-properties": "^2.8.0",
161
- "stylelint-order": "^7.0.0",
161
+ "stylelint-order": "^7.0.1",
162
162
  "terminal-kit": "^3.1.2",
163
- "webpack": "^5.103.0"
163
+ "webpack": "^5.104.1"
164
164
  }
165
165
  }