@indfnd/utils 0.0.33 → 0.0.35

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/CHANGELOG.md CHANGED
@@ -2,6 +2,20 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [0.0.35](http://git.inspur.com/imp-ec/ind-front/ind-utils/compare/v0.0.34...v0.0.35) (2024-02-22)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * **request:** 修改超时时的报错 ([72f729b](http://git.inspur.com/imp-ec/ind-front/ind-utils/commit/72f729bbd56f7bc1a5773b2ed4af86602de372d4))
11
+
12
+ ### [0.0.34](http://git.inspur.com/imp-ec/ind-front/ind-utils/compare/v0.0.33...v0.0.34) (2024-02-22)
13
+
14
+
15
+ ### Bug Fixes
16
+
17
+ * **table:** 修改列定义中没有key时报错的问题 ([a37636e](http://git.inspur.com/imp-ec/ind-front/ind-utils/commit/a37636edde00f9dbdfd38c593e4c812fad81898d))
18
+
5
19
  ### [0.0.33](http://git.inspur.com/imp-ec/ind-front/ind-utils/compare/v0.0.32...v0.0.33) (2024-01-31)
6
20
 
7
21
 
@@ -3319,10 +3319,10 @@ function responseInterceptors(response) {
3319
3319
  return Promise.reject(data);
3320
3320
  }
3321
3321
  function inspectorError(error) {
3322
+ var _a;
3322
3323
  if ((error == null ? void 0 : error.code) === "ECONNABORTED") {
3323
3324
  window.apiErrorHandler && window.apiErrorHandler("\u8BF7\u6C42\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u518D\u8BD5");
3324
- }
3325
- if (error.response.status !== 200) {
3325
+ } else if (((_a = error == null ? void 0 : error.response) == null ? void 0 : _a.status) !== 200) {
3326
3326
  window.apiErrorHandler && window.apiErrorHandler("\u8BF7\u6C42\u51FA\u9519\u4E86");
3327
3327
  }
3328
3328
  return Promise.reject(error);
@@ -10547,7 +10547,7 @@ function row2column(data = [], columnGroups = [], rowKey, option = {}) {
10547
10547
  const rowGroupData = groupData[item[rowKey]] || [];
10548
10548
  const newItem = __spreadValues({}, item);
10549
10549
  leafColumns.forEach((column) => {
10550
- const columnKey = column[option.keyPropName || "key"];
10550
+ const columnKey = column[option.keyPropName || "key"] || "";
10551
10551
  const keys = columnKey.split(GROUP_SEP) || [];
10552
10552
  const value = renderRowData(rowGroupData, keys);
10553
10553
  newItem[columnKey] = value;
@@ -10568,7 +10568,7 @@ function flattenRowData(rowData = {}, leafColumns = [], option = {}) {
10568
10568
  });
10569
10569
  leafColumns.forEach((column) => {
10570
10570
  const cellData = {};
10571
- const columnKey = column[option.keyPropName || "key"];
10571
+ const columnKey = column[option.keyPropName || "key"] || "";
10572
10572
  if (columnKey.includes(GROUP_SEP)) {
10573
10573
  const keys2 = columnKey.split(GROUP_SEP);
10574
10574
  keys2.forEach((key, idx) => {
@@ -2,7 +2,7 @@
2
2
  `),function(h){if(c=h.indexOf(":"),a=su.trim(h.substr(0,c)).toLowerCase(),s=su.trim(h.substr(c+1)),a){if(u[a]&&Ip.indexOf(a)>=0)return;a==="set-cookie"?u[a]=(u[a]?u[a]:[]).concat([s]):u[a]=u[a]?u[a]+", "+s:s}}),u},xa=rt,Pp=xa.isStandardBrowserEnv()?function(){var i=/(msie|trident)/i.test(navigator.userAgent),u=document.createElement("a"),a;function s(c){var g=c;return i&&(u.setAttribute("href",g),g=u.href),u.setAttribute("href",g),{href:u.href,protocol:u.protocol?u.protocol.replace(/:$/,""):"",host:u.host,search:u.search?u.search.replace(/^\?/,""):"",hash:u.hash?u.hash.replace(/^#/,""):"",hostname:u.hostname,port:u.port,pathname:u.pathname.charAt(0)==="/"?u.pathname:"/"+u.pathname}}return a=s(window.location.href),function(g){var h=xa.isString(g)?s(g):g;return h.protocol===a.protocol&&h.host===a.host}}():function(){return function(){return!0}}(),Kr=rt,Mp=Ap,Dp=bp,Rp=ba,Lp=$p,Np=Fp,Bp=Pp,lu=Ca,Ta=function(i){return new Promise(function(a,s){var c=i.data,g=i.headers,h=i.responseType;Kr.isFormData(c)&&delete g["Content-Type"];var d=new XMLHttpRequest;if(i.auth){var y=i.auth.username||"",E=i.auth.password?unescape(encodeURIComponent(i.auth.password)):"";g.Authorization="Basic "+btoa(y+":"+E)}var w=Lp(i.baseURL,i.url);d.open(i.method.toUpperCase(),Rp(w,i.params,i.paramsSerializer),!0),d.timeout=i.timeout;function _(){if(!!d){var I="getAllResponseHeaders"in d?Np(d.getAllResponseHeaders()):null,D=!h||h==="text"||h==="json"?d.responseText:d.response,W={data:D,status:d.status,statusText:d.statusText,headers:I,config:i,request:d};Mp(a,s,W),d=null}}if("onloadend"in d?d.onloadend=_:d.onreadystatechange=function(){!d||d.readyState!==4||d.status===0&&!(d.responseURL&&d.responseURL.indexOf("file:")===0)||setTimeout(_)},d.onabort=function(){!d||(s(lu("Request aborted",i,"ECONNABORTED",d)),d=null)},d.onerror=function(){s(lu("Network Error",i,null,d)),d=null},d.ontimeout=function(){var D="timeout of "+i.timeout+"ms exceeded";i.timeoutErrorMessage&&(D=i.timeoutErrorMessage),s(lu(D,i,i.transitional&&i.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",d)),d=null},Kr.isStandardBrowserEnv()){var A=(i.withCredentials||Bp(w))&&i.xsrfCookieName?Dp.read(i.xsrfCookieName):void 0;A&&(g[i.xsrfHeaderName]=A)}"setRequestHeader"in d&&Kr.forEach(g,function(D,W){typeof c=="undefined"&&W.toLowerCase()==="content-type"?delete g[W]:d.setRequestHeader(W,D)}),Kr.isUndefined(i.withCredentials)||(d.withCredentials=!!i.withCredentials),h&&h!=="json"&&(d.responseType=i.responseType),typeof i.onDownloadProgress=="function"&&d.addEventListener("progress",i.onDownloadProgress),typeof i.onUploadProgress=="function"&&d.upload&&d.upload.addEventListener("progress",i.onUploadProgress),i.cancelToken&&i.cancelToken.promise.then(function(D){!d||(d.abort(),s(D),d=null)}),c||(c=null),d.send(c)})},Ue=rt,$a=wp,Up=Oa,Wp={"Content-Type":"application/x-www-form-urlencoded"};function Ia(n,i){!Ue.isUndefined(n)&&Ue.isUndefined(n["Content-Type"])&&(n["Content-Type"]=i)}function Hp(){var n;return(typeof XMLHttpRequest!="undefined"||typeof process!="undefined"&&Object.prototype.toString.call(process)==="[object process]")&&(n=Ta),n}function Yp(n,i,u){if(Ue.isString(n))try{return(i||JSON.parse)(n),Ue.trim(n)}catch(a){if(a.name!=="SyntaxError")throw a}return(u||JSON.stringify)(n)}var Jr={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:Hp(),transformRequest:[function(i,u){return $a(u,"Accept"),$a(u,"Content-Type"),Ue.isFormData(i)||Ue.isArrayBuffer(i)||Ue.isBuffer(i)||Ue.isStream(i)||Ue.isFile(i)||Ue.isBlob(i)?i:Ue.isArrayBufferView(i)?i.buffer:Ue.isURLSearchParams(i)?(Ia(u,"application/x-www-form-urlencoded;charset=utf-8"),i.toString()):Ue.isObject(i)||u&&u["Content-Type"]==="application/json"?(Ia(u,"application/json"),Yp(i)):i}],transformResponse:[function(i){var u=this.transitional,a=u&&u.silentJSONParsing,s=u&&u.forcedJSONParsing,c=!a&&this.responseType==="json";if(c||s&&Ue.isString(i)&&i.length)try{return JSON.parse(i)}catch(g){if(c)throw g.name==="SyntaxError"?Up(g,this,"E_JSON_PARSE"):g}return i}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(i){return i>=200&&i<300}};Jr.headers={common:{Accept:"application/json, text/plain, */*"}},Ue.forEach(["delete","get","head"],function(i){Jr.headers[i]={}}),Ue.forEach(["post","put","patch"],function(i){Jr.headers[i]=Ue.merge(Wp)});var cu=Jr,kp=rt,Gp=cu,qp=function(i,u,a){var s=this||Gp;return kp.forEach(a,function(g){i=g.call(s,i,u)}),i},Fa=function(i){return!!(i&&i.__CANCEL__)},Pa=rt,pu=qp,zp=Fa,Kp=cu;function hu(n){n.cancelToken&&n.cancelToken.throwIfRequested()}var Jp=function(i){hu(i),i.headers=i.headers||{},i.data=pu.call(i,i.data,i.headers,i.transformRequest),i.headers=Pa.merge(i.headers.common||{},i.headers[i.method]||{},i.headers),Pa.forEach(["delete","get","head","post","put","patch","common"],function(s){delete i.headers[s]});var u=i.adapter||Kp.adapter;return u(i).then(function(s){return hu(i),s.data=pu.call(i,s.data,s.headers,i.transformResponse),s},function(s){return zp(s)||(hu(i),s&&s.response&&(s.response.data=pu.call(i,s.response.data,s.response.headers,i.transformResponse))),Promise.reject(s)})},Ye=rt,Ma=function(i,u){u=u||{};var a={},s=["url","method","data"],c=["headers","auth","proxy","params"],g=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],h=["validateStatus"];function d(_,A){return Ye.isPlainObject(_)&&Ye.isPlainObject(A)?Ye.merge(_,A):Ye.isPlainObject(A)?Ye.merge({},A):Ye.isArray(A)?A.slice():A}function y(_){Ye.isUndefined(u[_])?Ye.isUndefined(i[_])||(a[_]=d(void 0,i[_])):a[_]=d(i[_],u[_])}Ye.forEach(s,function(A){Ye.isUndefined(u[A])||(a[A]=d(void 0,u[A]))}),Ye.forEach(c,y),Ye.forEach(g,function(A){Ye.isUndefined(u[A])?Ye.isUndefined(i[A])||(a[A]=d(void 0,i[A])):a[A]=d(void 0,u[A])}),Ye.forEach(h,function(A){A in u?a[A]=d(i[A],u[A]):A in i&&(a[A]=d(void 0,i[A]))});var E=s.concat(c).concat(g).concat(h),w=Object.keys(i).concat(Object.keys(u)).filter(function(A){return E.indexOf(A)===-1});return Ye.forEach(w,y),a},Vp={name:"axios",version:"0.21.4",description:"Promise based HTTP client for the browser and node.js",main:"index.js",scripts:{test:"grunt test",start:"node ./sandbox/server.js",build:"NODE_ENV=production grunt build",preversion:"npm test",version:"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json",postversion:"git push && git push --tags",examples:"node ./examples/server.js",coveralls:"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",fix:"eslint --fix lib/**/*.js"},repository:{type:"git",url:"https://github.com/axios/axios.git"},keywords:["xhr","http","ajax","promise","node"],author:"Matt Zabriskie",license:"MIT",bugs:{url:"https://github.com/axios/axios/issues"},homepage:"https://axios-http.com",devDependencies:{coveralls:"^3.0.0","es6-promise":"^4.2.4",grunt:"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.19","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1",karma:"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2",minimist:"^1.2.0",mocha:"^8.2.1",sinon:"^4.5.0","terser-webpack-plugin":"^4.2.3",typescript:"^4.0.5","url-search-params":"^0.10.0",webpack:"^4.44.2","webpack-dev-server":"^3.11.0"},browser:{"./lib/adapters/http.js":"./lib/adapters/xhr.js"},jsdelivr:"dist/axios.min.js",unpkg:"dist/axios.min.js",typings:"./index.d.ts",dependencies:{"follow-redirects":"^1.14.0"},bundlesize:[{path:"./dist/axios.min.js",threshold:"5kB"}]},Da=Vp,gu={};["object","boolean","number","function","string","symbol"].forEach(function(n,i){gu[n]=function(a){return typeof a===n||"a"+(i<1?"n ":" ")+n}});var Ra={},Qp=Da.version.split(".");function La(n,i){for(var u=i?i.split("."):Qp,a=n.split("."),s=0;s<3;s++){if(u[s]>a[s])return!0;if(u[s]<a[s])return!1}return!1}gu.transitional=function(i,u,a){var s=u&&La(u);function c(g,h){return"[Axios v"+Da.version+"] Transitional option '"+g+"'"+h+(a?". "+a:"")}return function(g,h,d){if(i===!1)throw new Error(c(h," has been removed in "+u));return s&&!Ra[h]&&(Ra[h]=!0,console.warn(c(h," has been deprecated since v"+u+" and will be removed in the near future"))),i?i(g,h,d):!0}};function Zp(n,i,u){if(typeof n!="object")throw new TypeError("options must be an object");for(var a=Object.keys(n),s=a.length;s-- >0;){var c=a[s],g=i[c];if(g){var h=n[c],d=h===void 0||g(h,c,n);if(d!==!0)throw new TypeError("option "+c+" must be "+d);continue}if(u!==!0)throw Error("Unknown option "+c)}}var Xp={isOlderVersion:La,assertOptions:Zp,validators:gu},Na=rt,jp=ba,Ba=mp,Ua=Jp,Vr=Ma,Wa=Xp,Rn=Wa.validators;function cr(n){this.defaults=n,this.interceptors={request:new Ba,response:new Ba}}cr.prototype.request=function(i){typeof i=="string"?(i=arguments[1]||{},i.url=arguments[0]):i=i||{},i=Vr(this.defaults,i),i.method?i.method=i.method.toLowerCase():this.defaults.method?i.method=this.defaults.method.toLowerCase():i.method="get";var u=i.transitional;u!==void 0&&Wa.assertOptions(u,{silentJSONParsing:Rn.transitional(Rn.boolean,"1.0.0"),forcedJSONParsing:Rn.transitional(Rn.boolean,"1.0.0"),clarifyTimeoutError:Rn.transitional(Rn.boolean,"1.0.0")},!1);var a=[],s=!0;this.interceptors.request.forEach(function(_){typeof _.runWhen=="function"&&_.runWhen(i)===!1||(s=s&&_.synchronous,a.unshift(_.fulfilled,_.rejected))});var c=[];this.interceptors.response.forEach(function(_){c.push(_.fulfilled,_.rejected)});var g;if(!s){var h=[Ua,void 0];for(Array.prototype.unshift.apply(h,a),h=h.concat(c),g=Promise.resolve(i);h.length;)g=g.then(h.shift(),h.shift());return g}for(var d=i;a.length;){var y=a.shift(),E=a.shift();try{d=y(d)}catch(w){E(w);break}}try{g=Ua(d)}catch(w){return Promise.reject(w)}for(;c.length;)g=g.then(c.shift(),c.shift());return g},cr.prototype.getUri=function(i){return i=Vr(this.defaults,i),jp(i.url,i.params,i.paramsSerializer).replace(/^\?/,"")},Na.forEach(["delete","get","head","options"],function(i){cr.prototype[i]=function(u,a){return this.request(Vr(a||{},{method:i,url:u,data:(a||{}).data}))}}),Na.forEach(["post","put","patch"],function(i){cr.prototype[i]=function(u,a,s){return this.request(Vr(s||{},{method:i,url:u,data:a}))}});var eh=cr;function du(n){this.message=n}du.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},du.prototype.__CANCEL__=!0;var Ha=du,th=Ha;function Qr(n){if(typeof n!="function")throw new TypeError("executor must be a function.");var i;this.promise=new Promise(function(s){i=s});var u=this;n(function(s){u.reason||(u.reason=new th(s),i(u.reason))})}Qr.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},Qr.source=function(){var i,u=new Qr(function(s){i=s});return{token:u,cancel:i}};var nh=Qr,rh=function(i){return function(a){return i.apply(null,a)}},ih=function(i){return typeof i=="object"&&i.isAxiosError===!0},Ya=rt,uh=wa,Zr=eh,oh=Ma,ah=cu;function ka(n){var i=new Zr(n),u=uh(Zr.prototype.request,i);return Ya.extend(u,Zr.prototype,i),Ya.extend(u,i),u}var At=ka(ah);At.Axios=Zr,At.create=function(i){return ka(oh(At.defaults,i))},At.Cancel=Ha,At.CancelToken=nh,At.isCancel=Fa,At.all=function(i){return Promise.all(i)},At.spread=rh,At.isAxiosError=ih,iu.exports=At,iu.exports.default=At;var fh=iu.exports,sh=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var i={},u=Symbol("test"),a=Object(u);if(typeof u=="string"||Object.prototype.toString.call(u)!=="[object Symbol]"||Object.prototype.toString.call(a)!=="[object Symbol]")return!1;var s=42;i[u]=s;for(u in i)return!1;if(typeof Object.keys=="function"&&Object.keys(i).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(i).length!==0)return!1;var c=Object.getOwnPropertySymbols(i);if(c.length!==1||c[0]!==u||!Object.prototype.propertyIsEnumerable.call(i,u))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var g=Object.getOwnPropertyDescriptor(i,u);if(g.value!==s||g.enumerable!==!0)return!1}return!0},Ga=typeof Symbol!="undefined"&&Symbol,lh=sh,ch=function(){return typeof Ga!="function"||typeof Symbol!="function"||typeof Ga("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:lh()},qa={foo:{}},ph=Object,hh=function(){return{__proto__:qa}.foo===qa.foo&&!({__proto__:null}instanceof ph)},gh="Function.prototype.bind called on incompatible ",dh=Object.prototype.toString,vh=Math.max,yh="[object Function]",za=function(i,u){for(var a=[],s=0;s<i.length;s+=1)a[s]=i[s];for(var c=0;c<u.length;c+=1)a[c+i.length]=u[c];return a},mh=function(i,u){for(var a=[],s=u||0,c=0;s<i.length;s+=1,c+=1)a[c]=i[s];return a},_h=function(n,i){for(var u="",a=0;a<n.length;a+=1)u+=n[a],a+1<n.length&&(u+=i);return u},wh=function(i){var u=this;if(typeof u!="function"||dh.apply(u)!==yh)throw new TypeError(gh+u);for(var a=mh(arguments,1),s,c=function(){if(this instanceof s){var E=u.apply(this,za(a,arguments));return Object(E)===E?E:this}return u.apply(i,za(a,arguments))},g=vh(0,u.length-a.length),h=[],d=0;d<g;d++)h[d]="$"+d;if(s=Function("binder","return function ("+_h(h,",")+"){ return binder.apply(this,arguments); }")(c),u.prototype){var y=function(){};y.prototype=u.prototype,s.prototype=new y,y.prototype=null}return s},Eh=wh,vu=Function.prototype.bind||Eh,Sh=Function.prototype.call,Ah=Object.prototype.hasOwnProperty,bh=vu,Oh=bh.call(Sh,Ah),ae,Ln=SyntaxError,Ka=Function,Nn=TypeError,yu=function(n){try{return Ka('"use strict"; return ('+n+").constructor;")()}catch(i){}},_n=Object.getOwnPropertyDescriptor;if(_n)try{_n({},"")}catch(n){_n=null}var mu=function(){throw new Nn},Ch=_n?function(){try{return arguments.callee,mu}catch(n){try{return _n(arguments,"callee").get}catch(i){return mu}}}():mu,Bn=ch(),xh=hh(),De=Object.getPrototypeOf||(xh?function(n){return n.__proto__}:null),Un={},Th=typeof Uint8Array=="undefined"||!De?ae:De(Uint8Array),wn={"%AggregateError%":typeof AggregateError=="undefined"?ae:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer=="undefined"?ae:ArrayBuffer,"%ArrayIteratorPrototype%":Bn&&De?De([][Symbol.iterator]()):ae,"%AsyncFromSyncIteratorPrototype%":ae,"%AsyncFunction%":Un,"%AsyncGenerator%":Un,"%AsyncGeneratorFunction%":Un,"%AsyncIteratorPrototype%":Un,"%Atomics%":typeof Atomics=="undefined"?ae:Atomics,"%BigInt%":typeof BigInt=="undefined"?ae:BigInt,"%BigInt64Array%":typeof BigInt64Array=="undefined"?ae:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array=="undefined"?ae:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView=="undefined"?ae:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array=="undefined"?ae:Float32Array,"%Float64Array%":typeof Float64Array=="undefined"?ae:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry=="undefined"?ae:FinalizationRegistry,"%Function%":Ka,"%GeneratorFunction%":Un,"%Int8Array%":typeof Int8Array=="undefined"?ae:Int8Array,"%Int16Array%":typeof Int16Array=="undefined"?ae:Int16Array,"%Int32Array%":typeof Int32Array=="undefined"?ae:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Bn&&De?De(De([][Symbol.iterator]())):ae,"%JSON%":typeof JSON=="object"?JSON:ae,"%Map%":typeof Map=="undefined"?ae:Map,"%MapIteratorPrototype%":typeof Map=="undefined"||!Bn||!De?ae:De(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise=="undefined"?ae:Promise,"%Proxy%":typeof Proxy=="undefined"?ae:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect=="undefined"?ae:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set=="undefined"?ae:Set,"%SetIteratorPrototype%":typeof Set=="undefined"||!Bn||!De?ae:De(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer=="undefined"?ae:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Bn&&De?De(""[Symbol.iterator]()):ae,"%Symbol%":Bn?Symbol:ae,"%SyntaxError%":Ln,"%ThrowTypeError%":Ch,"%TypedArray%":Th,"%TypeError%":Nn,"%Uint8Array%":typeof Uint8Array=="undefined"?ae:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray=="undefined"?ae:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array=="undefined"?ae:Uint16Array,"%Uint32Array%":typeof Uint32Array=="undefined"?ae:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap=="undefined"?ae:WeakMap,"%WeakRef%":typeof WeakRef=="undefined"?ae:WeakRef,"%WeakSet%":typeof WeakSet=="undefined"?ae:WeakSet};if(De)try{null.error}catch(n){var $h=De(De(n));wn["%Error.prototype%"]=$h}var Ih=function n(i){var u;if(i==="%AsyncFunction%")u=yu("async function () {}");else if(i==="%GeneratorFunction%")u=yu("function* () {}");else if(i==="%AsyncGeneratorFunction%")u=yu("async function* () {}");else if(i==="%AsyncGenerator%"){var a=n("%AsyncGeneratorFunction%");a&&(u=a.prototype)}else if(i==="%AsyncIteratorPrototype%"){var s=n("%AsyncGenerator%");s&&De&&(u=De(s.prototype))}return wn[i]=u,u},Ja={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},pr=vu,Xr=Oh,Fh=pr.call(Function.call,Array.prototype.concat),Ph=pr.call(Function.apply,Array.prototype.splice),Va=pr.call(Function.call,String.prototype.replace),jr=pr.call(Function.call,String.prototype.slice),Mh=pr.call(Function.call,RegExp.prototype.exec),Dh=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Rh=/\\(\\)?/g,Lh=function(i){var u=jr(i,0,1),a=jr(i,-1);if(u==="%"&&a!=="%")throw new Ln("invalid intrinsic syntax, expected closing `%`");if(a==="%"&&u!=="%")throw new Ln("invalid intrinsic syntax, expected opening `%`");var s=[];return Va(i,Dh,function(c,g,h,d){s[s.length]=h?Va(d,Rh,"$1"):g||c}),s},Nh=function(i,u){var a=i,s;if(Xr(Ja,a)&&(s=Ja[a],a="%"+s[0]+"%"),Xr(wn,a)){var c=wn[a];if(c===Un&&(c=Ih(a)),typeof c=="undefined"&&!u)throw new Nn("intrinsic "+i+" exists, but is not available. Please file an issue!");return{alias:s,name:a,value:c}}throw new Ln("intrinsic "+i+" does not exist!")},En=function(i,u){if(typeof i!="string"||i.length===0)throw new Nn("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof u!="boolean")throw new Nn('"allowMissing" argument must be a boolean');if(Mh(/^%?[^%]*%?$/,i)===null)throw new Ln("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var a=Lh(i),s=a.length>0?a[0]:"",c=Nh("%"+s+"%",u),g=c.name,h=c.value,d=!1,y=c.alias;y&&(s=y[0],Ph(a,Fh([0,1],y)));for(var E=1,w=!0;E<a.length;E+=1){var _=a[E],A=jr(_,0,1),I=jr(_,-1);if((A==='"'||A==="'"||A==="`"||I==='"'||I==="'"||I==="`")&&A!==I)throw new Ln("property names with quotes must have matching quotes");if((_==="constructor"||!w)&&(d=!0),s+="."+_,g="%"+s+"%",Xr(wn,g))h=wn[g];else if(h!=null){if(!(_ in h)){if(!u)throw new Nn("base intrinsic for "+i+" exists, but the property is not available.");return}if(_n&&E+1>=a.length){var D=_n(h,_);w=!!D,w&&"get"in D&&!("originalValue"in D.get)?h=D.get:h=h[_]}else w=Xr(h,_),h=h[_];w&&!d&&(wn[g]=h)}}return h},Qa={exports:{}},Bh=En,_u=Bh("%Object.defineProperty%",!0),wu=function(){if(_u)try{return _u({},"a",{value:1}),!0}catch(i){return!1}return!1};wu.hasArrayLengthDefineBug=function(){if(!wu())return null;try{return _u([],"length",{value:1}).length!==1}catch(i){return!0}};var Za=wu,Uh=En,ei=Uh("%Object.getOwnPropertyDescriptor%",!0);if(ei)try{ei([],"length")}catch(n){ei=null}var Xa=ei,Wh=Za(),Eu=En,hr=Wh&&Eu("%Object.defineProperty%",!0);if(hr)try{hr({},"a",{value:1})}catch(n){hr=!1}var Hh=Eu("%SyntaxError%"),Wn=Eu("%TypeError%"),ja=Xa,Yh=function(i,u,a){if(!i||typeof i!="object"&&typeof i!="function")throw new Wn("`obj` must be an object or a function`");if(typeof u!="string"&&typeof u!="symbol")throw new Wn("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new Wn("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new Wn("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new Wn("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new Wn("`loose`, if provided, must be a boolean");var s=arguments.length>3?arguments[3]:null,c=arguments.length>4?arguments[4]:null,g=arguments.length>5?arguments[5]:null,h=arguments.length>6?arguments[6]:!1,d=!!ja&&ja(i,u);if(hr)hr(i,u,{configurable:g===null&&d?d.configurable:!g,enumerable:s===null&&d?d.enumerable:!s,value:a,writable:c===null&&d?d.writable:!c});else if(h||!s&&!c&&!g)i[u]=a;else throw new Hh("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},ef=En,tf=Yh,kh=Za(),nf=Xa,rf=ef("%TypeError%"),Gh=ef("%Math.floor%"),qh=function(i,u){if(typeof i!="function")throw new rf("`fn` is not a function");if(typeof u!="number"||u<0||u>4294967295||Gh(u)!==u)throw new rf("`length` must be a positive 32-bit integer");var a=arguments.length>2&&!!arguments[2],s=!0,c=!0;if("length"in i&&nf){var g=nf(i,"length");g&&!g.configurable&&(s=!1),g&&!g.writable&&(c=!1)}return(s||c||!a)&&(kh?tf(i,"length",u,!0,!0):tf(i,"length",u)),i};(function(n){var i=vu,u=En,a=qh,s=u("%TypeError%"),c=u("%Function.prototype.apply%"),g=u("%Function.prototype.call%"),h=u("%Reflect.apply%",!0)||i.call(g,c),d=u("%Object.defineProperty%",!0),y=u("%Math.max%");if(d)try{d({},"a",{value:1})}catch(w){d=null}n.exports=function(_){if(typeof _!="function")throw new s("a function is required");var A=h(i,g,arguments);return a(A,1+y(0,_.length-(arguments.length-1)),!0)};var E=function(){return h(i,c,arguments)};d?d(n.exports,"apply",{value:E}):n.exports.apply=E})(Qa);var uf=En,of=Qa.exports,zh=of(uf("String.prototype.indexOf")),Kh=function(i,u){var a=uf(i,!!u);return typeof a=="function"&&zh(i,".prototype.")>-1?of(a):a},Jh={},Vh=Object.freeze(Object.defineProperty({__proto__:null,default:Jh},Symbol.toStringTag,{value:"Module"})),Qh=ep(Vh),Su=typeof Map=="function"&&Map.prototype,Au=Object.getOwnPropertyDescriptor&&Su?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,ti=Su&&Au&&typeof Au.get=="function"?Au.get:null,af=Su&&Map.prototype.forEach,bu=typeof Set=="function"&&Set.prototype,Ou=Object.getOwnPropertyDescriptor&&bu?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,ni=bu&&Ou&&typeof Ou.get=="function"?Ou.get:null,ff=bu&&Set.prototype.forEach,Zh=typeof WeakMap=="function"&&WeakMap.prototype,gr=Zh?WeakMap.prototype.has:null,Xh=typeof WeakSet=="function"&&WeakSet.prototype,dr=Xh?WeakSet.prototype.has:null,jh=typeof WeakRef=="function"&&WeakRef.prototype,sf=jh?WeakRef.prototype.deref:null,eg=Boolean.prototype.valueOf,tg=Object.prototype.toString,ng=Function.prototype.toString,rg=String.prototype.match,Cu=String.prototype.slice,rn=String.prototype.replace,ig=String.prototype.toUpperCase,lf=String.prototype.toLowerCase,cf=RegExp.prototype.test,pf=Array.prototype.concat,Dt=Array.prototype.join,ug=Array.prototype.slice,hf=Math.floor,xu=typeof BigInt=="function"?BigInt.prototype.valueOf:null,Tu=Object.getOwnPropertySymbols,$u=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,Hn=typeof Symbol=="function"&&typeof Symbol.iterator=="object",ke=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===Hn?"object":"symbol")?Symbol.toStringTag:null,gf=Object.prototype.propertyIsEnumerable,df=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(n){return n.__proto__}:null);function vf(n,i){if(n===1/0||n===-1/0||n!==n||n&&n>-1e3&&n<1e3||cf.call(/e/,i))return i;var u=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof n=="number"){var a=n<0?-hf(-n):hf(n);if(a!==n){var s=String(a),c=Cu.call(i,s.length+1);return rn.call(s,u,"$&_")+"."+rn.call(rn.call(c,/([0-9]{3})/g,"$&_"),/_$/,"")}}return rn.call(i,u,"$&_")}var Iu=Qh,yf=Iu.custom,mf=Ef(yf)?yf:null,og=function n(i,u,a,s){var c=u||{};if(un(c,"quoteStyle")&&c.quoteStyle!=="single"&&c.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(un(c,"maxStringLength")&&(typeof c.maxStringLength=="number"?c.maxStringLength<0&&c.maxStringLength!==1/0:c.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var g=un(c,"customInspect")?c.customInspect:!0;if(typeof g!="boolean"&&g!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(un(c,"indent")&&c.indent!==null&&c.indent!==" "&&!(parseInt(c.indent,10)===c.indent&&c.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(un(c,"numericSeparator")&&typeof c.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var h=c.numericSeparator;if(typeof i=="undefined")return"undefined";if(i===null)return"null";if(typeof i=="boolean")return i?"true":"false";if(typeof i=="string")return Af(i,c);if(typeof i=="number"){if(i===0)return 1/0/i>0?"0":"-0";var d=String(i);return h?vf(i,d):d}if(typeof i=="bigint"){var y=String(i)+"n";return h?vf(i,y):y}var E=typeof c.depth=="undefined"?5:c.depth;if(typeof a=="undefined"&&(a=0),a>=E&&E>0&&typeof i=="object")return Fu(i)?"[Array]":"[Object]";var w=bg(c,a);if(typeof s=="undefined")s=[];else if(Sf(s,i)>=0)return"[Circular]";function _(Xe,z,H){if(z&&(s=ug.call(s),s.push(z)),H){var R={depth:c.depth};return un(c,"quoteStyle")&&(R.quoteStyle=c.quoteStyle),n(Xe,R,a+1,s)}return n(Xe,c,a+1,s)}if(typeof i=="function"&&!wf(i)){var A=dg(i),I=ri(i,_);return"[Function"+(A?": "+A:" (anonymous)")+"]"+(I.length>0?" { "+Dt.call(I,", ")+" }":"")}if(Ef(i)){var D=Hn?rn.call(String(i),/^(Symbol\(.*\))_[^)]*$/,"$1"):$u.call(i);return typeof i=="object"&&!Hn?vr(D):D}if(Eg(i)){for(var W="<"+lf.call(String(i.nodeName)),M=i.attributes||[],q=0;q<M.length;q++)W+=" "+M[q].name+"="+_f(ag(M[q].value),"double",c);return W+=">",i.childNodes&&i.childNodes.length&&(W+="..."),W+="</"+lf.call(String(i.nodeName))+">",W}if(Fu(i)){if(i.length===0)return"[]";var P=ri(i,_);return w&&!Ag(P)?"["+Mu(P,w)+"]":"[ "+Dt.call(P,", ")+" ]"}if(sg(i)){var L=ri(i,_);return!("cause"in Error.prototype)&&"cause"in i&&!gf.call(i,"cause")?"{ ["+String(i)+"] "+Dt.call(pf.call("[cause]: "+_(i.cause),L),", ")+" }":L.length===0?"["+String(i)+"]":"{ ["+String(i)+"] "+Dt.call(L,", ")+" }"}if(typeof i=="object"&&g){if(mf&&typeof i[mf]=="function"&&Iu)return Iu(i,{depth:E-a});if(g!=="symbol"&&typeof i.inspect=="function")return i.inspect()}if(vg(i)){var N=[];return af&&af.call(i,function(Xe,z){N.push(_(z,i,!0)+" => "+_(Xe,i))}),bf("Map",ti.call(i),N,w)}if(_g(i)){var re=[];return ff&&ff.call(i,function(Xe){re.push(_(Xe,i))}),bf("Set",ni.call(i),re,w)}if(yg(i))return Pu("WeakMap");if(wg(i))return Pu("WeakSet");if(mg(i))return Pu("WeakRef");if(cg(i))return vr(_(Number(i)));if(hg(i))return vr(_(xu.call(i)));if(pg(i))return vr(eg.call(i));if(lg(i))return vr(_(String(i)));if(typeof window!="undefined"&&i===window)return"{ [object Window] }";if(i===yn)return"{ [object globalThis] }";if(!fg(i)&&!wf(i)){var X=ri(i,_),ge=df?df(i)===Object.prototype:i instanceof Object||i.constructor===Object,xe=i instanceof Object?"":"null prototype",ve=!ge&&ke&&Object(i)===i&&ke in i?Cu.call(on(i),8,-1):xe?"Object":"",fe=ge||typeof i.constructor!="function"?"":i.constructor.name?i.constructor.name+" ":"",Le=fe+(ve||xe?"["+Dt.call(pf.call([],ve||[],xe||[]),": ")+"] ":"");return X.length===0?Le+"{}":w?Le+"{"+Mu(X,w)+"}":Le+"{ "+Dt.call(X,", ")+" }"}return String(i)};function _f(n,i,u){var a=(u.quoteStyle||i)==="double"?'"':"'";return a+n+a}function ag(n){return rn.call(String(n),/"/g,"&quot;")}function Fu(n){return on(n)==="[object Array]"&&(!ke||!(typeof n=="object"&&ke in n))}function fg(n){return on(n)==="[object Date]"&&(!ke||!(typeof n=="object"&&ke in n))}function wf(n){return on(n)==="[object RegExp]"&&(!ke||!(typeof n=="object"&&ke in n))}function sg(n){return on(n)==="[object Error]"&&(!ke||!(typeof n=="object"&&ke in n))}function lg(n){return on(n)==="[object String]"&&(!ke||!(typeof n=="object"&&ke in n))}function cg(n){return on(n)==="[object Number]"&&(!ke||!(typeof n=="object"&&ke in n))}function pg(n){return on(n)==="[object Boolean]"&&(!ke||!(typeof n=="object"&&ke in n))}function Ef(n){if(Hn)return n&&typeof n=="object"&&n instanceof Symbol;if(typeof n=="symbol")return!0;if(!n||typeof n!="object"||!$u)return!1;try{return $u.call(n),!0}catch(i){}return!1}function hg(n){if(!n||typeof n!="object"||!xu)return!1;try{return xu.call(n),!0}catch(i){}return!1}var gg=Object.prototype.hasOwnProperty||function(n){return n in this};function un(n,i){return gg.call(n,i)}function on(n){return tg.call(n)}function dg(n){if(n.name)return n.name;var i=rg.call(ng.call(n),/^function\s*([\w$]+)/);return i?i[1]:null}function Sf(n,i){if(n.indexOf)return n.indexOf(i);for(var u=0,a=n.length;u<a;u++)if(n[u]===i)return u;return-1}function vg(n){if(!ti||!n||typeof n!="object")return!1;try{ti.call(n);try{ni.call(n)}catch(i){return!0}return n instanceof Map}catch(i){}return!1}function yg(n){if(!gr||!n||typeof n!="object")return!1;try{gr.call(n,gr);try{dr.call(n,dr)}catch(i){return!0}return n instanceof WeakMap}catch(i){}return!1}function mg(n){if(!sf||!n||typeof n!="object")return!1;try{return sf.call(n),!0}catch(i){}return!1}function _g(n){if(!ni||!n||typeof n!="object")return!1;try{ni.call(n);try{ti.call(n)}catch(i){return!0}return n instanceof Set}catch(i){}return!1}function wg(n){if(!dr||!n||typeof n!="object")return!1;try{dr.call(n,dr);try{gr.call(n,gr)}catch(i){return!0}return n instanceof WeakSet}catch(i){}return!1}function Eg(n){return!n||typeof n!="object"?!1:typeof HTMLElement!="undefined"&&n instanceof HTMLElement?!0:typeof n.nodeName=="string"&&typeof n.getAttribute=="function"}function Af(n,i){if(n.length>i.maxStringLength){var u=n.length-i.maxStringLength,a="... "+u+" more character"+(u>1?"s":"");return Af(Cu.call(n,0,i.maxStringLength),i)+a}var s=rn.call(rn.call(n,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,Sg);return _f(s,"single",i)}function Sg(n){var i=n.charCodeAt(0),u={8:"b",9:"t",10:"n",12:"f",13:"r"}[i];return u?"\\"+u:"\\x"+(i<16?"0":"")+ig.call(i.toString(16))}function vr(n){return"Object("+n+")"}function Pu(n){return n+" { ? }"}function bf(n,i,u,a){var s=a?Mu(u,a):Dt.call(u,", ");return n+" ("+i+") {"+s+"}"}function Ag(n){for(var i=0;i<n.length;i++)if(Sf(n[i],`
3
3
  `)>=0)return!1;return!0}function bg(n,i){var u;if(n.indent===" ")u=" ";else if(typeof n.indent=="number"&&n.indent>0)u=Dt.call(Array(n.indent+1)," ");else return null;return{base:u,prev:Dt.call(Array(i+1),u)}}function Mu(n,i){if(n.length===0)return"";var u=`
4
4
  `+i.prev+i.base;return u+Dt.call(n,","+u)+`
5
- `+i.prev}function ri(n,i){var u=Fu(n),a=[];if(u){a.length=n.length;for(var s=0;s<n.length;s++)a[s]=un(n,s)?i(n[s],n):""}var c=typeof Tu=="function"?Tu(n):[],g;if(Hn){g={};for(var h=0;h<c.length;h++)g["$"+c[h]]=c[h]}for(var d in n)!un(n,d)||u&&String(Number(d))===d&&d<n.length||Hn&&g["$"+d]instanceof Symbol||(cf.call(/[^\w$]/,d)?a.push(i(d,n)+": "+i(n[d],n)):a.push(d+": "+i(n[d],n)));if(typeof Tu=="function")for(var y=0;y<c.length;y++)gf.call(n,c[y])&&a.push("["+i(c[y])+"]: "+i(n[c[y]],n));return a}var Du=En,Yn=Kh,Og=og,Cg=Du("%TypeError%"),ii=Du("%WeakMap%",!0),ui=Du("%Map%",!0),xg=Yn("WeakMap.prototype.get",!0),Tg=Yn("WeakMap.prototype.set",!0),$g=Yn("WeakMap.prototype.has",!0),Ig=Yn("Map.prototype.get",!0),Fg=Yn("Map.prototype.set",!0),Pg=Yn("Map.prototype.has",!0),Ru=function(n,i){for(var u=n,a;(a=u.next)!==null;u=a)if(a.key===i)return u.next=a.next,a.next=n.next,n.next=a,a},Mg=function(n,i){var u=Ru(n,i);return u&&u.value},Dg=function(n,i,u){var a=Ru(n,i);a?a.value=u:n.next={key:i,next:n.next,value:u}},Rg=function(n,i){return!!Ru(n,i)},Lg=function(){var i,u,a,s={assert:function(c){if(!s.has(c))throw new Cg("Side channel does not contain "+Og(c))},get:function(c){if(ii&&c&&(typeof c=="object"||typeof c=="function")){if(i)return xg(i,c)}else if(ui){if(u)return Ig(u,c)}else if(a)return Mg(a,c)},has:function(c){if(ii&&c&&(typeof c=="object"||typeof c=="function")){if(i)return $g(i,c)}else if(ui){if(u)return Pg(u,c)}else if(a)return Rg(a,c);return!1},set:function(c,g){ii&&c&&(typeof c=="object"||typeof c=="function")?(i||(i=new ii),Tg(i,c,g)):ui?(u||(u=new ui),Fg(u,c,g)):(a||(a={key:{},next:null}),Dg(a,c,g))}};return s},Ng=String.prototype.replace,Bg=/%20/g,Lu={RFC1738:"RFC1738",RFC3986:"RFC3986"},Nu={default:Lu.RFC3986,formatters:{RFC1738:function(n){return Ng.call(n,Bg,"+")},RFC3986:function(n){return String(n)}},RFC1738:Lu.RFC1738,RFC3986:Lu.RFC3986},Ug=Nu,Bu=Object.prototype.hasOwnProperty,Sn=Array.isArray,Rt=function(){for(var n=[],i=0;i<256;++i)n.push("%"+((i<16?"0":"")+i.toString(16)).toUpperCase());return n}(),Wg=function(i){for(;i.length>1;){var u=i.pop(),a=u.obj[u.prop];if(Sn(a)){for(var s=[],c=0;c<a.length;++c)typeof a[c]!="undefined"&&s.push(a[c]);u.obj[u.prop]=s}}},Of=function(i,u){for(var a=u&&u.plainObjects?Object.create(null):{},s=0;s<i.length;++s)typeof i[s]!="undefined"&&(a[s]=i[s]);return a},Hg=function n(i,u,a){if(!u)return i;if(typeof u!="object"){if(Sn(i))i.push(u);else if(i&&typeof i=="object")(a&&(a.plainObjects||a.allowPrototypes)||!Bu.call(Object.prototype,u))&&(i[u]=!0);else return[i,u];return i}if(!i||typeof i!="object")return[i].concat(u);var s=i;return Sn(i)&&!Sn(u)&&(s=Of(i,a)),Sn(i)&&Sn(u)?(u.forEach(function(c,g){if(Bu.call(i,g)){var h=i[g];h&&typeof h=="object"&&c&&typeof c=="object"?i[g]=n(h,c,a):i.push(c)}else i[g]=c}),i):Object.keys(u).reduce(function(c,g){var h=u[g];return Bu.call(c,g)?c[g]=n(c[g],h,a):c[g]=h,c},s)},Yg=function(i,u){return Object.keys(u).reduce(function(a,s){return a[s]=u[s],a},i)},kg=function(n,i,u){var a=n.replace(/\+/g," ");if(u==="iso-8859-1")return a.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(a)}catch(s){return a}},Gg=function(i,u,a,s,c){if(i.length===0)return i;var g=i;if(typeof i=="symbol"?g=Symbol.prototype.toString.call(i):typeof i!="string"&&(g=String(i)),a==="iso-8859-1")return escape(g).replace(/%u[0-9a-f]{4}/gi,function(E){return"%26%23"+parseInt(E.slice(2),16)+"%3B"});for(var h="",d=0;d<g.length;++d){var y=g.charCodeAt(d);if(y===45||y===46||y===95||y===126||y>=48&&y<=57||y>=65&&y<=90||y>=97&&y<=122||c===Ug.RFC1738&&(y===40||y===41)){h+=g.charAt(d);continue}if(y<128){h=h+Rt[y];continue}if(y<2048){h=h+(Rt[192|y>>6]+Rt[128|y&63]);continue}if(y<55296||y>=57344){h=h+(Rt[224|y>>12]+Rt[128|y>>6&63]+Rt[128|y&63]);continue}d+=1,y=65536+((y&1023)<<10|g.charCodeAt(d)&1023),h+=Rt[240|y>>18]+Rt[128|y>>12&63]+Rt[128|y>>6&63]+Rt[128|y&63]}return h},qg=function(i){for(var u=[{obj:{o:i},prop:"o"}],a=[],s=0;s<u.length;++s)for(var c=u[s],g=c.obj[c.prop],h=Object.keys(g),d=0;d<h.length;++d){var y=h[d],E=g[y];typeof E=="object"&&E!==null&&a.indexOf(E)===-1&&(u.push({obj:g,prop:y}),a.push(E))}return Wg(u),i},zg=function(i){return Object.prototype.toString.call(i)==="[object RegExp]"},Kg=function(i){return!i||typeof i!="object"?!1:!!(i.constructor&&i.constructor.isBuffer&&i.constructor.isBuffer(i))},Jg=function(i,u){return[].concat(i,u)},Vg=function(i,u){if(Sn(i)){for(var a=[],s=0;s<i.length;s+=1)a.push(u(i[s]));return a}return u(i)},Cf={arrayToObject:Of,assign:Yg,combine:Jg,compact:qg,decode:kg,encode:Gg,isBuffer:Kg,isRegExp:zg,maybeMap:Vg,merge:Hg},xf=Lg,oi=Cf,yr=Nu,Qg=Object.prototype.hasOwnProperty,Tf={brackets:function(i){return i+"[]"},comma:"comma",indices:function(i,u){return i+"["+u+"]"},repeat:function(i){return i}},Yt=Array.isArray,Zg=Array.prototype.push,$f=function(n,i){Zg.apply(n,Yt(i)?i:[i])},Xg=Date.prototype.toISOString,If=yr.default,Ge={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:oi.encode,encodeValuesOnly:!1,format:If,formatter:yr.formatters[If],indices:!1,serializeDate:function(i){return Xg.call(i)},skipNulls:!1,strictNullHandling:!1},jg=function(i){return typeof i=="string"||typeof i=="number"||typeof i=="boolean"||typeof i=="symbol"||typeof i=="bigint"},Uu={},ed=function n(i,u,a,s,c,g,h,d,y,E,w,_,A,I,D,W){for(var M=i,q=W,P=0,L=!1;(q=q.get(Uu))!==void 0&&!L;){var N=q.get(i);if(P+=1,typeof N!="undefined"){if(N===P)throw new RangeError("Cyclic object value");L=!0}typeof q.get(Uu)=="undefined"&&(P=0)}if(typeof d=="function"?M=d(u,M):M instanceof Date?M=w(M):a==="comma"&&Yt(M)&&(M=oi.maybeMap(M,function(R){return R instanceof Date?w(R):R})),M===null){if(c)return h&&!I?h(u,Ge.encoder,D,"key",_):u;M=""}if(jg(M)||oi.isBuffer(M)){if(h){var re=I?u:h(u,Ge.encoder,D,"key",_);return[A(re)+"="+A(h(M,Ge.encoder,D,"value",_))]}return[A(u)+"="+A(String(M))]}var X=[];if(typeof M=="undefined")return X;var ge;if(a==="comma"&&Yt(M))I&&h&&(M=oi.maybeMap(M,h)),ge=[{value:M.length>0?M.join(",")||null:void 0}];else if(Yt(d))ge=d;else{var xe=Object.keys(M);ge=y?xe.sort(y):xe}for(var ve=s&&Yt(M)&&M.length===1?u+"[]":u,fe=0;fe<ge.length;++fe){var Le=ge[fe],Xe=typeof Le=="object"&&typeof Le.value!="undefined"?Le.value:M[Le];if(!(g&&Xe===null)){var z=Yt(M)?typeof a=="function"?a(ve,Le):ve:ve+(E?"."+Le:"["+Le+"]");W.set(i,P);var H=xf();H.set(Uu,W),$f(X,n(Xe,z,a,s,c,g,a==="comma"&&I&&Yt(M)?null:h,d,y,E,w,_,A,I,D,H))}}return X},td=function(i){if(!i)return Ge;if(i.encoder!==null&&typeof i.encoder!="undefined"&&typeof i.encoder!="function")throw new TypeError("Encoder has to be a function.");var u=i.charset||Ge.charset;if(typeof i.charset!="undefined"&&i.charset!=="utf-8"&&i.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var a=yr.default;if(typeof i.format!="undefined"){if(!Qg.call(yr.formatters,i.format))throw new TypeError("Unknown format option provided.");a=i.format}var s=yr.formatters[a],c=Ge.filter;return(typeof i.filter=="function"||Yt(i.filter))&&(c=i.filter),{addQueryPrefix:typeof i.addQueryPrefix=="boolean"?i.addQueryPrefix:Ge.addQueryPrefix,allowDots:typeof i.allowDots=="undefined"?Ge.allowDots:!!i.allowDots,charset:u,charsetSentinel:typeof i.charsetSentinel=="boolean"?i.charsetSentinel:Ge.charsetSentinel,delimiter:typeof i.delimiter=="undefined"?Ge.delimiter:i.delimiter,encode:typeof i.encode=="boolean"?i.encode:Ge.encode,encoder:typeof i.encoder=="function"?i.encoder:Ge.encoder,encodeValuesOnly:typeof i.encodeValuesOnly=="boolean"?i.encodeValuesOnly:Ge.encodeValuesOnly,filter:c,format:a,formatter:s,serializeDate:typeof i.serializeDate=="function"?i.serializeDate:Ge.serializeDate,skipNulls:typeof i.skipNulls=="boolean"?i.skipNulls:Ge.skipNulls,sort:typeof i.sort=="function"?i.sort:null,strictNullHandling:typeof i.strictNullHandling=="boolean"?i.strictNullHandling:Ge.strictNullHandling}},nd=function(n,i){var u=n,a=td(i),s,c;typeof a.filter=="function"?(c=a.filter,u=c("",u)):Yt(a.filter)&&(c=a.filter,s=c);var g=[];if(typeof u!="object"||u===null)return"";var h;i&&i.arrayFormat in Tf?h=i.arrayFormat:i&&"indices"in i?h=i.indices?"indices":"repeat":h="indices";var d=Tf[h];if(i&&"commaRoundTrip"in i&&typeof i.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var y=d==="comma"&&i&&i.commaRoundTrip;s||(s=Object.keys(u)),a.sort&&s.sort(a.sort);for(var E=xf(),w=0;w<s.length;++w){var _=s[w];a.skipNulls&&u[_]===null||$f(g,ed(u[_],_,d,y,a.strictNullHandling,a.skipNulls,a.encode?a.encoder:null,a.filter,a.sort,a.allowDots,a.serializeDate,a.format,a.formatter,a.encodeValuesOnly,a.charset,E))}var A=g.join(a.delimiter),I=a.addQueryPrefix===!0?"?":"";return a.charsetSentinel&&(a.charset==="iso-8859-1"?I+="utf8=%26%2310003%3B&":I+="utf8=%E2%9C%93&"),A.length>0?I+A:""},kn=Cf,Wu=Object.prototype.hasOwnProperty,rd=Array.isArray,Re={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:kn.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},id=function(n){return n.replace(/&#(\d+);/g,function(i,u){return String.fromCharCode(parseInt(u,10))})},Ff=function(n,i){return n&&typeof n=="string"&&i.comma&&n.indexOf(",")>-1?n.split(","):n},ud="utf8=%26%2310003%3B",od="utf8=%E2%9C%93",ad=function(i,u){var a={__proto__:null},s=u.ignoreQueryPrefix?i.replace(/^\?/,""):i,c=u.parameterLimit===1/0?void 0:u.parameterLimit,g=s.split(u.delimiter,c),h=-1,d,y=u.charset;if(u.charsetSentinel)for(d=0;d<g.length;++d)g[d].indexOf("utf8=")===0&&(g[d]===od?y="utf-8":g[d]===ud&&(y="iso-8859-1"),h=d,d=g.length);for(d=0;d<g.length;++d)if(d!==h){var E=g[d],w=E.indexOf("]="),_=w===-1?E.indexOf("="):w+1,A,I;_===-1?(A=u.decoder(E,Re.decoder,y,"key"),I=u.strictNullHandling?null:""):(A=u.decoder(E.slice(0,_),Re.decoder,y,"key"),I=kn.maybeMap(Ff(E.slice(_+1),u),function(D){return u.decoder(D,Re.decoder,y,"value")})),I&&u.interpretNumericEntities&&y==="iso-8859-1"&&(I=id(I)),E.indexOf("[]=")>-1&&(I=rd(I)?[I]:I),Wu.call(a,A)?a[A]=kn.combine(a[A],I):a[A]=I}return a},fd=function(n,i,u,a){for(var s=a?i:Ff(i,u),c=n.length-1;c>=0;--c){var g,h=n[c];if(h==="[]"&&u.parseArrays)g=[].concat(s);else{g=u.plainObjects?Object.create(null):{};var d=h.charAt(0)==="["&&h.charAt(h.length-1)==="]"?h.slice(1,-1):h,y=parseInt(d,10);!u.parseArrays&&d===""?g={0:s}:!isNaN(y)&&h!==d&&String(y)===d&&y>=0&&u.parseArrays&&y<=u.arrayLimit?(g=[],g[y]=s):d!=="__proto__"&&(g[d]=s)}s=g}return s},sd=function(i,u,a,s){if(!!i){var c=a.allowDots?i.replace(/\.([^.[]+)/g,"[$1]"):i,g=/(\[[^[\]]*])/,h=/(\[[^[\]]*])/g,d=a.depth>0&&g.exec(c),y=d?c.slice(0,d.index):c,E=[];if(y){if(!a.plainObjects&&Wu.call(Object.prototype,y)&&!a.allowPrototypes)return;E.push(y)}for(var w=0;a.depth>0&&(d=h.exec(c))!==null&&w<a.depth;){if(w+=1,!a.plainObjects&&Wu.call(Object.prototype,d[1].slice(1,-1))&&!a.allowPrototypes)return;E.push(d[1])}return d&&E.push("["+c.slice(d.index)+"]"),fd(E,u,a,s)}},ld=function(i){if(!i)return Re;if(i.decoder!==null&&i.decoder!==void 0&&typeof i.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof i.charset!="undefined"&&i.charset!=="utf-8"&&i.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var u=typeof i.charset=="undefined"?Re.charset:i.charset;return{allowDots:typeof i.allowDots=="undefined"?Re.allowDots:!!i.allowDots,allowPrototypes:typeof i.allowPrototypes=="boolean"?i.allowPrototypes:Re.allowPrototypes,allowSparse:typeof i.allowSparse=="boolean"?i.allowSparse:Re.allowSparse,arrayLimit:typeof i.arrayLimit=="number"?i.arrayLimit:Re.arrayLimit,charset:u,charsetSentinel:typeof i.charsetSentinel=="boolean"?i.charsetSentinel:Re.charsetSentinel,comma:typeof i.comma=="boolean"?i.comma:Re.comma,decoder:typeof i.decoder=="function"?i.decoder:Re.decoder,delimiter:typeof i.delimiter=="string"||kn.isRegExp(i.delimiter)?i.delimiter:Re.delimiter,depth:typeof i.depth=="number"||i.depth===!1?+i.depth:Re.depth,ignoreQueryPrefix:i.ignoreQueryPrefix===!0,interpretNumericEntities:typeof i.interpretNumericEntities=="boolean"?i.interpretNumericEntities:Re.interpretNumericEntities,parameterLimit:typeof i.parameterLimit=="number"?i.parameterLimit:Re.parameterLimit,parseArrays:i.parseArrays!==!1,plainObjects:typeof i.plainObjects=="boolean"?i.plainObjects:Re.plainObjects,strictNullHandling:typeof i.strictNullHandling=="boolean"?i.strictNullHandling:Re.strictNullHandling}},cd=function(n,i){var u=ld(i);if(n===""||n===null||typeof n=="undefined")return u.plainObjects?Object.create(null):{};for(var a=typeof n=="string"?ad(n,u):n,s=u.plainObjects?Object.create(null):{},c=Object.keys(a),g=0;g<c.length;++g){var h=c[g],d=sd(h,a[h],u,typeof n=="string");s=kn.merge(s,d,u)}return u.allowSparse===!0?s:kn.compact(s)},pd=nd,hd=cd,gd=Nu,dd={formats:gd,parse:hd,stringify:pd};function Pf(){const n=location.search,i=new Object;if(n.indexOf("?")!=-1){let a=n.substr(1).split("&");for(let s=0;s<a.length;s++)i[a[s].split("=")[0]]=unescape(a[s].split("=")[1])}return i}const Mf="Content-Type";function Hu(n){return(n==null?void 0:n[Mf])||(n==null?void 0:n["content-type"])}function Df(n,i){n[Mf]=i}const ai={form:"application/x-www-form-urlencoded","multi-form":"multipart/form-data",body:"application/json",os:"application/octet-stream"},Rf="v8-token",vd="lambo-token";function yd(n){sr(Rf,n),Yu.set("TOKEN_KEY",n,1)}function Lf(){let n=me(vd);return n||(n=Yu.get("lambo-sso-key")),n||(n=Yu.get("TOKEN_KEY")),n||(n=fr(Rf)),n||!1}const Yu={set:function(n,i,u){if(n.indexOf("=")!==-1)throw new Error("Cookie\u4E0D\u652F\u6301key\u4E2D\u4F7F\u7528\u7B49\u53F7\u3010=\u3011, key:"+n);let a=new Date;a.setTime(a.getTime()+24*60*60*1e3*u),window.document.cookie=n+"="+i+";path=/;expires="+a.toGMTString()},get:function(n){if(document.cookie.length>0){var i=document.cookie.split("; ");for(let a=0;a<i.length;a++){let s=i[a].split("=");if(s[0]===n){var u=s[1];for(let c=2;c<s.length;c++)u+="="+s[c];return u}}}}};var Nf={title:"",icomId:"",showMenus:!1,routerBase:"ind",loginRouteName:"login",rootRouteName:"root",homeRouteName:"home",authServerContext:"/user-manage-server",ossServerContext:"/user-manage-server",ismAmServerContext:"/ind-ism-am-server",ismAcServerContext:"/ind-ism-ac-server",ismSqServerContext:"/ind-ism-sq-server",ilmServerContext:"/ind-ilm-server",ucExtServerContext:"/ind-uc-ext-server",kkfilepreviewContext:"/kkfilepreview",errorMessage:"\u7CFB\u7EDF\u5F00\u5C0F\u5DEE\u4E86\uFF0C\u8BF7\u7A0D\u540E\u5C1D\u8BD5",leftLockDays:7,labelStyle:{labelWidthButton:50,labelWidthSmall:100+40,labelWidthMiddle:120+40,labelWidthMiddleLarge:140+40,labelWidthLarge:160+40,labelWidthSuperLarge:180+40},linkColor:"#488AFF"};function md(){return{showMenus:!0}}function _d(){return{showMenus:typeof window!="undefined"&&window.top===window.self}}function Bf(n){return n?Object.assign({},Nf,md()):Object.assign({},Nf,_d())}const kt=Bf(),wd=1,Ed=10106;let mr=null;function Sd(n){mr&&clearTimeout(mr);let i=!mr;mr=setTimeout(()=>{mr=null},1e3*20),i&&n()}function Ad(n){let i=Lf();i&&(n.headers.token=i);const u=Pf();(u.hasOwnProperty("sso_token")||sessionStorage.getItem("sso_token"))&&(n.params=Object.assign({sso_token:u.sso_token||sessionStorage.getItem("sso_token"),sso_id:u.sso_id},n.params));const a=Hu(n.headers);return n.method==="post"?a===ai.form&&(n.data=dd.stringify(n.data)):n.method,n}function Uf(n){let i=n.data;if(Hu(n.headers)===ai.os)return i;switch(typeof n.data=="string"&&(i=JSON.parse(n.data)),i.code){case wd:return i;case Ed:{Sd(function(){window.sessionNotValidHandler&&window.sessionNotValidHandler()});break}default:{let s=i.message||i.msg||kt.errorMessage;window.apiErrorHandler&&window.apiErrorHandler(s)}}return Promise.reject(i)}function Wf(n){return(n==null?void 0:n.code)==="ECONNABORTED"&&window.apiErrorHandler&&window.apiErrorHandler("\u8BF7\u6C42\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u518D\u8BD5"),n.response.status!==200&&window.apiErrorHandler&&window.apiErrorHandler("\u8BF7\u6C42\u51FA\u9519\u4E86"),Promise.reject(n)}const he=fh.create({timeout:60*1e3});he.interceptors.request.use(Ad,Wf),he.interceptors.response.use(Uf,Wf),he.formPost=function(n,i,u){const a=(u==null?void 0:u.headers)||{};return Df(a,ai.form),he.post(n,i,Mt(pt({},u),{headers:a}))};var Hf={exports:{}},Yf={exports:{}};(function(){var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i={rotl:function(u,a){return u<<a|u>>>32-a},rotr:function(u,a){return u<<32-a|u>>>a},endian:function(u){if(u.constructor==Number)return i.rotl(u,8)&16711935|i.rotl(u,24)&4278255360;for(var a=0;a<u.length;a++)u[a]=i.endian(u[a]);return u},randomBytes:function(u){for(var a=[];u>0;u--)a.push(Math.floor(Math.random()*256));return a},bytesToWords:function(u){for(var a=[],s=0,c=0;s<u.length;s++,c+=8)a[c>>>5]|=u[s]<<24-c%32;return a},wordsToBytes:function(u){for(var a=[],s=0;s<u.length*32;s+=8)a.push(u[s>>>5]>>>24-s%32&255);return a},bytesToHex:function(u){for(var a=[],s=0;s<u.length;s++)a.push((u[s]>>>4).toString(16)),a.push((u[s]&15).toString(16));return a.join("")},hexToBytes:function(u){for(var a=[],s=0;s<u.length;s+=2)a.push(parseInt(u.substr(s,2),16));return a},bytesToBase64:function(u){for(var a=[],s=0;s<u.length;s+=3)for(var c=u[s]<<16|u[s+1]<<8|u[s+2],g=0;g<4;g++)s*8+g*6<=u.length*8?a.push(n.charAt(c>>>6*(3-g)&63)):a.push("=");return a.join("")},base64ToBytes:function(u){u=u.replace(/[^A-Z0-9+\/]/ig,"");for(var a=[],s=0,c=0;s<u.length;c=++s%4)c!=0&&a.push((n.indexOf(u.charAt(s-1))&Math.pow(2,-2*c+8)-1)<<c*2|n.indexOf(u.charAt(s))>>>6-c*2);return a}};Yf.exports=i})();var ku={utf8:{stringToBytes:function(n){return ku.bin.stringToBytes(unescape(encodeURIComponent(n)))},bytesToString:function(n){return decodeURIComponent(escape(ku.bin.bytesToString(n)))}},bin:{stringToBytes:function(n){for(var i=[],u=0;u<n.length;u++)i.push(n.charCodeAt(u)&255);return i},bytesToString:function(n){for(var i=[],u=0;u<n.length;u++)i.push(String.fromCharCode(n[u]));return i.join("")}}},kf=ku;/*!
5
+ `+i.prev}function ri(n,i){var u=Fu(n),a=[];if(u){a.length=n.length;for(var s=0;s<n.length;s++)a[s]=un(n,s)?i(n[s],n):""}var c=typeof Tu=="function"?Tu(n):[],g;if(Hn){g={};for(var h=0;h<c.length;h++)g["$"+c[h]]=c[h]}for(var d in n)!un(n,d)||u&&String(Number(d))===d&&d<n.length||Hn&&g["$"+d]instanceof Symbol||(cf.call(/[^\w$]/,d)?a.push(i(d,n)+": "+i(n[d],n)):a.push(d+": "+i(n[d],n)));if(typeof Tu=="function")for(var y=0;y<c.length;y++)gf.call(n,c[y])&&a.push("["+i(c[y])+"]: "+i(n[c[y]],n));return a}var Du=En,Yn=Kh,Og=og,Cg=Du("%TypeError%"),ii=Du("%WeakMap%",!0),ui=Du("%Map%",!0),xg=Yn("WeakMap.prototype.get",!0),Tg=Yn("WeakMap.prototype.set",!0),$g=Yn("WeakMap.prototype.has",!0),Ig=Yn("Map.prototype.get",!0),Fg=Yn("Map.prototype.set",!0),Pg=Yn("Map.prototype.has",!0),Ru=function(n,i){for(var u=n,a;(a=u.next)!==null;u=a)if(a.key===i)return u.next=a.next,a.next=n.next,n.next=a,a},Mg=function(n,i){var u=Ru(n,i);return u&&u.value},Dg=function(n,i,u){var a=Ru(n,i);a?a.value=u:n.next={key:i,next:n.next,value:u}},Rg=function(n,i){return!!Ru(n,i)},Lg=function(){var i,u,a,s={assert:function(c){if(!s.has(c))throw new Cg("Side channel does not contain "+Og(c))},get:function(c){if(ii&&c&&(typeof c=="object"||typeof c=="function")){if(i)return xg(i,c)}else if(ui){if(u)return Ig(u,c)}else if(a)return Mg(a,c)},has:function(c){if(ii&&c&&(typeof c=="object"||typeof c=="function")){if(i)return $g(i,c)}else if(ui){if(u)return Pg(u,c)}else if(a)return Rg(a,c);return!1},set:function(c,g){ii&&c&&(typeof c=="object"||typeof c=="function")?(i||(i=new ii),Tg(i,c,g)):ui?(u||(u=new ui),Fg(u,c,g)):(a||(a={key:{},next:null}),Dg(a,c,g))}};return s},Ng=String.prototype.replace,Bg=/%20/g,Lu={RFC1738:"RFC1738",RFC3986:"RFC3986"},Nu={default:Lu.RFC3986,formatters:{RFC1738:function(n){return Ng.call(n,Bg,"+")},RFC3986:function(n){return String(n)}},RFC1738:Lu.RFC1738,RFC3986:Lu.RFC3986},Ug=Nu,Bu=Object.prototype.hasOwnProperty,Sn=Array.isArray,Rt=function(){for(var n=[],i=0;i<256;++i)n.push("%"+((i<16?"0":"")+i.toString(16)).toUpperCase());return n}(),Wg=function(i){for(;i.length>1;){var u=i.pop(),a=u.obj[u.prop];if(Sn(a)){for(var s=[],c=0;c<a.length;++c)typeof a[c]!="undefined"&&s.push(a[c]);u.obj[u.prop]=s}}},Of=function(i,u){for(var a=u&&u.plainObjects?Object.create(null):{},s=0;s<i.length;++s)typeof i[s]!="undefined"&&(a[s]=i[s]);return a},Hg=function n(i,u,a){if(!u)return i;if(typeof u!="object"){if(Sn(i))i.push(u);else if(i&&typeof i=="object")(a&&(a.plainObjects||a.allowPrototypes)||!Bu.call(Object.prototype,u))&&(i[u]=!0);else return[i,u];return i}if(!i||typeof i!="object")return[i].concat(u);var s=i;return Sn(i)&&!Sn(u)&&(s=Of(i,a)),Sn(i)&&Sn(u)?(u.forEach(function(c,g){if(Bu.call(i,g)){var h=i[g];h&&typeof h=="object"&&c&&typeof c=="object"?i[g]=n(h,c,a):i.push(c)}else i[g]=c}),i):Object.keys(u).reduce(function(c,g){var h=u[g];return Bu.call(c,g)?c[g]=n(c[g],h,a):c[g]=h,c},s)},Yg=function(i,u){return Object.keys(u).reduce(function(a,s){return a[s]=u[s],a},i)},kg=function(n,i,u){var a=n.replace(/\+/g," ");if(u==="iso-8859-1")return a.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(a)}catch(s){return a}},Gg=function(i,u,a,s,c){if(i.length===0)return i;var g=i;if(typeof i=="symbol"?g=Symbol.prototype.toString.call(i):typeof i!="string"&&(g=String(i)),a==="iso-8859-1")return escape(g).replace(/%u[0-9a-f]{4}/gi,function(E){return"%26%23"+parseInt(E.slice(2),16)+"%3B"});for(var h="",d=0;d<g.length;++d){var y=g.charCodeAt(d);if(y===45||y===46||y===95||y===126||y>=48&&y<=57||y>=65&&y<=90||y>=97&&y<=122||c===Ug.RFC1738&&(y===40||y===41)){h+=g.charAt(d);continue}if(y<128){h=h+Rt[y];continue}if(y<2048){h=h+(Rt[192|y>>6]+Rt[128|y&63]);continue}if(y<55296||y>=57344){h=h+(Rt[224|y>>12]+Rt[128|y>>6&63]+Rt[128|y&63]);continue}d+=1,y=65536+((y&1023)<<10|g.charCodeAt(d)&1023),h+=Rt[240|y>>18]+Rt[128|y>>12&63]+Rt[128|y>>6&63]+Rt[128|y&63]}return h},qg=function(i){for(var u=[{obj:{o:i},prop:"o"}],a=[],s=0;s<u.length;++s)for(var c=u[s],g=c.obj[c.prop],h=Object.keys(g),d=0;d<h.length;++d){var y=h[d],E=g[y];typeof E=="object"&&E!==null&&a.indexOf(E)===-1&&(u.push({obj:g,prop:y}),a.push(E))}return Wg(u),i},zg=function(i){return Object.prototype.toString.call(i)==="[object RegExp]"},Kg=function(i){return!i||typeof i!="object"?!1:!!(i.constructor&&i.constructor.isBuffer&&i.constructor.isBuffer(i))},Jg=function(i,u){return[].concat(i,u)},Vg=function(i,u){if(Sn(i)){for(var a=[],s=0;s<i.length;s+=1)a.push(u(i[s]));return a}return u(i)},Cf={arrayToObject:Of,assign:Yg,combine:Jg,compact:qg,decode:kg,encode:Gg,isBuffer:Kg,isRegExp:zg,maybeMap:Vg,merge:Hg},xf=Lg,oi=Cf,yr=Nu,Qg=Object.prototype.hasOwnProperty,Tf={brackets:function(i){return i+"[]"},comma:"comma",indices:function(i,u){return i+"["+u+"]"},repeat:function(i){return i}},Yt=Array.isArray,Zg=Array.prototype.push,$f=function(n,i){Zg.apply(n,Yt(i)?i:[i])},Xg=Date.prototype.toISOString,If=yr.default,Ge={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:oi.encode,encodeValuesOnly:!1,format:If,formatter:yr.formatters[If],indices:!1,serializeDate:function(i){return Xg.call(i)},skipNulls:!1,strictNullHandling:!1},jg=function(i){return typeof i=="string"||typeof i=="number"||typeof i=="boolean"||typeof i=="symbol"||typeof i=="bigint"},Uu={},ed=function n(i,u,a,s,c,g,h,d,y,E,w,_,A,I,D,W){for(var M=i,q=W,P=0,L=!1;(q=q.get(Uu))!==void 0&&!L;){var N=q.get(i);if(P+=1,typeof N!="undefined"){if(N===P)throw new RangeError("Cyclic object value");L=!0}typeof q.get(Uu)=="undefined"&&(P=0)}if(typeof d=="function"?M=d(u,M):M instanceof Date?M=w(M):a==="comma"&&Yt(M)&&(M=oi.maybeMap(M,function(R){return R instanceof Date?w(R):R})),M===null){if(c)return h&&!I?h(u,Ge.encoder,D,"key",_):u;M=""}if(jg(M)||oi.isBuffer(M)){if(h){var re=I?u:h(u,Ge.encoder,D,"key",_);return[A(re)+"="+A(h(M,Ge.encoder,D,"value",_))]}return[A(u)+"="+A(String(M))]}var X=[];if(typeof M=="undefined")return X;var ge;if(a==="comma"&&Yt(M))I&&h&&(M=oi.maybeMap(M,h)),ge=[{value:M.length>0?M.join(",")||null:void 0}];else if(Yt(d))ge=d;else{var xe=Object.keys(M);ge=y?xe.sort(y):xe}for(var ve=s&&Yt(M)&&M.length===1?u+"[]":u,fe=0;fe<ge.length;++fe){var Le=ge[fe],Xe=typeof Le=="object"&&typeof Le.value!="undefined"?Le.value:M[Le];if(!(g&&Xe===null)){var z=Yt(M)?typeof a=="function"?a(ve,Le):ve:ve+(E?"."+Le:"["+Le+"]");W.set(i,P);var H=xf();H.set(Uu,W),$f(X,n(Xe,z,a,s,c,g,a==="comma"&&I&&Yt(M)?null:h,d,y,E,w,_,A,I,D,H))}}return X},td=function(i){if(!i)return Ge;if(i.encoder!==null&&typeof i.encoder!="undefined"&&typeof i.encoder!="function")throw new TypeError("Encoder has to be a function.");var u=i.charset||Ge.charset;if(typeof i.charset!="undefined"&&i.charset!=="utf-8"&&i.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var a=yr.default;if(typeof i.format!="undefined"){if(!Qg.call(yr.formatters,i.format))throw new TypeError("Unknown format option provided.");a=i.format}var s=yr.formatters[a],c=Ge.filter;return(typeof i.filter=="function"||Yt(i.filter))&&(c=i.filter),{addQueryPrefix:typeof i.addQueryPrefix=="boolean"?i.addQueryPrefix:Ge.addQueryPrefix,allowDots:typeof i.allowDots=="undefined"?Ge.allowDots:!!i.allowDots,charset:u,charsetSentinel:typeof i.charsetSentinel=="boolean"?i.charsetSentinel:Ge.charsetSentinel,delimiter:typeof i.delimiter=="undefined"?Ge.delimiter:i.delimiter,encode:typeof i.encode=="boolean"?i.encode:Ge.encode,encoder:typeof i.encoder=="function"?i.encoder:Ge.encoder,encodeValuesOnly:typeof i.encodeValuesOnly=="boolean"?i.encodeValuesOnly:Ge.encodeValuesOnly,filter:c,format:a,formatter:s,serializeDate:typeof i.serializeDate=="function"?i.serializeDate:Ge.serializeDate,skipNulls:typeof i.skipNulls=="boolean"?i.skipNulls:Ge.skipNulls,sort:typeof i.sort=="function"?i.sort:null,strictNullHandling:typeof i.strictNullHandling=="boolean"?i.strictNullHandling:Ge.strictNullHandling}},nd=function(n,i){var u=n,a=td(i),s,c;typeof a.filter=="function"?(c=a.filter,u=c("",u)):Yt(a.filter)&&(c=a.filter,s=c);var g=[];if(typeof u!="object"||u===null)return"";var h;i&&i.arrayFormat in Tf?h=i.arrayFormat:i&&"indices"in i?h=i.indices?"indices":"repeat":h="indices";var d=Tf[h];if(i&&"commaRoundTrip"in i&&typeof i.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var y=d==="comma"&&i&&i.commaRoundTrip;s||(s=Object.keys(u)),a.sort&&s.sort(a.sort);for(var E=xf(),w=0;w<s.length;++w){var _=s[w];a.skipNulls&&u[_]===null||$f(g,ed(u[_],_,d,y,a.strictNullHandling,a.skipNulls,a.encode?a.encoder:null,a.filter,a.sort,a.allowDots,a.serializeDate,a.format,a.formatter,a.encodeValuesOnly,a.charset,E))}var A=g.join(a.delimiter),I=a.addQueryPrefix===!0?"?":"";return a.charsetSentinel&&(a.charset==="iso-8859-1"?I+="utf8=%26%2310003%3B&":I+="utf8=%E2%9C%93&"),A.length>0?I+A:""},kn=Cf,Wu=Object.prototype.hasOwnProperty,rd=Array.isArray,Re={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:kn.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},id=function(n){return n.replace(/&#(\d+);/g,function(i,u){return String.fromCharCode(parseInt(u,10))})},Ff=function(n,i){return n&&typeof n=="string"&&i.comma&&n.indexOf(",")>-1?n.split(","):n},ud="utf8=%26%2310003%3B",od="utf8=%E2%9C%93",ad=function(i,u){var a={__proto__:null},s=u.ignoreQueryPrefix?i.replace(/^\?/,""):i,c=u.parameterLimit===1/0?void 0:u.parameterLimit,g=s.split(u.delimiter,c),h=-1,d,y=u.charset;if(u.charsetSentinel)for(d=0;d<g.length;++d)g[d].indexOf("utf8=")===0&&(g[d]===od?y="utf-8":g[d]===ud&&(y="iso-8859-1"),h=d,d=g.length);for(d=0;d<g.length;++d)if(d!==h){var E=g[d],w=E.indexOf("]="),_=w===-1?E.indexOf("="):w+1,A,I;_===-1?(A=u.decoder(E,Re.decoder,y,"key"),I=u.strictNullHandling?null:""):(A=u.decoder(E.slice(0,_),Re.decoder,y,"key"),I=kn.maybeMap(Ff(E.slice(_+1),u),function(D){return u.decoder(D,Re.decoder,y,"value")})),I&&u.interpretNumericEntities&&y==="iso-8859-1"&&(I=id(I)),E.indexOf("[]=")>-1&&(I=rd(I)?[I]:I),Wu.call(a,A)?a[A]=kn.combine(a[A],I):a[A]=I}return a},fd=function(n,i,u,a){for(var s=a?i:Ff(i,u),c=n.length-1;c>=0;--c){var g,h=n[c];if(h==="[]"&&u.parseArrays)g=[].concat(s);else{g=u.plainObjects?Object.create(null):{};var d=h.charAt(0)==="["&&h.charAt(h.length-1)==="]"?h.slice(1,-1):h,y=parseInt(d,10);!u.parseArrays&&d===""?g={0:s}:!isNaN(y)&&h!==d&&String(y)===d&&y>=0&&u.parseArrays&&y<=u.arrayLimit?(g=[],g[y]=s):d!=="__proto__"&&(g[d]=s)}s=g}return s},sd=function(i,u,a,s){if(!!i){var c=a.allowDots?i.replace(/\.([^.[]+)/g,"[$1]"):i,g=/(\[[^[\]]*])/,h=/(\[[^[\]]*])/g,d=a.depth>0&&g.exec(c),y=d?c.slice(0,d.index):c,E=[];if(y){if(!a.plainObjects&&Wu.call(Object.prototype,y)&&!a.allowPrototypes)return;E.push(y)}for(var w=0;a.depth>0&&(d=h.exec(c))!==null&&w<a.depth;){if(w+=1,!a.plainObjects&&Wu.call(Object.prototype,d[1].slice(1,-1))&&!a.allowPrototypes)return;E.push(d[1])}return d&&E.push("["+c.slice(d.index)+"]"),fd(E,u,a,s)}},ld=function(i){if(!i)return Re;if(i.decoder!==null&&i.decoder!==void 0&&typeof i.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof i.charset!="undefined"&&i.charset!=="utf-8"&&i.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var u=typeof i.charset=="undefined"?Re.charset:i.charset;return{allowDots:typeof i.allowDots=="undefined"?Re.allowDots:!!i.allowDots,allowPrototypes:typeof i.allowPrototypes=="boolean"?i.allowPrototypes:Re.allowPrototypes,allowSparse:typeof i.allowSparse=="boolean"?i.allowSparse:Re.allowSparse,arrayLimit:typeof i.arrayLimit=="number"?i.arrayLimit:Re.arrayLimit,charset:u,charsetSentinel:typeof i.charsetSentinel=="boolean"?i.charsetSentinel:Re.charsetSentinel,comma:typeof i.comma=="boolean"?i.comma:Re.comma,decoder:typeof i.decoder=="function"?i.decoder:Re.decoder,delimiter:typeof i.delimiter=="string"||kn.isRegExp(i.delimiter)?i.delimiter:Re.delimiter,depth:typeof i.depth=="number"||i.depth===!1?+i.depth:Re.depth,ignoreQueryPrefix:i.ignoreQueryPrefix===!0,interpretNumericEntities:typeof i.interpretNumericEntities=="boolean"?i.interpretNumericEntities:Re.interpretNumericEntities,parameterLimit:typeof i.parameterLimit=="number"?i.parameterLimit:Re.parameterLimit,parseArrays:i.parseArrays!==!1,plainObjects:typeof i.plainObjects=="boolean"?i.plainObjects:Re.plainObjects,strictNullHandling:typeof i.strictNullHandling=="boolean"?i.strictNullHandling:Re.strictNullHandling}},cd=function(n,i){var u=ld(i);if(n===""||n===null||typeof n=="undefined")return u.plainObjects?Object.create(null):{};for(var a=typeof n=="string"?ad(n,u):n,s=u.plainObjects?Object.create(null):{},c=Object.keys(a),g=0;g<c.length;++g){var h=c[g],d=sd(h,a[h],u,typeof n=="string");s=kn.merge(s,d,u)}return u.allowSparse===!0?s:kn.compact(s)},pd=nd,hd=cd,gd=Nu,dd={formats:gd,parse:hd,stringify:pd};function Pf(){const n=location.search,i=new Object;if(n.indexOf("?")!=-1){let a=n.substr(1).split("&");for(let s=0;s<a.length;s++)i[a[s].split("=")[0]]=unescape(a[s].split("=")[1])}return i}const Mf="Content-Type";function Hu(n){return(n==null?void 0:n[Mf])||(n==null?void 0:n["content-type"])}function Df(n,i){n[Mf]=i}const ai={form:"application/x-www-form-urlencoded","multi-form":"multipart/form-data",body:"application/json",os:"application/octet-stream"},Rf="v8-token",vd="lambo-token";function yd(n){sr(Rf,n),Yu.set("TOKEN_KEY",n,1)}function Lf(){let n=me(vd);return n||(n=Yu.get("lambo-sso-key")),n||(n=Yu.get("TOKEN_KEY")),n||(n=fr(Rf)),n||!1}const Yu={set:function(n,i,u){if(n.indexOf("=")!==-1)throw new Error("Cookie\u4E0D\u652F\u6301key\u4E2D\u4F7F\u7528\u7B49\u53F7\u3010=\u3011, key:"+n);let a=new Date;a.setTime(a.getTime()+24*60*60*1e3*u),window.document.cookie=n+"="+i+";path=/;expires="+a.toGMTString()},get:function(n){if(document.cookie.length>0){var i=document.cookie.split("; ");for(let a=0;a<i.length;a++){let s=i[a].split("=");if(s[0]===n){var u=s[1];for(let c=2;c<s.length;c++)u+="="+s[c];return u}}}}};var Nf={title:"",icomId:"",showMenus:!1,routerBase:"ind",loginRouteName:"login",rootRouteName:"root",homeRouteName:"home",authServerContext:"/user-manage-server",ossServerContext:"/user-manage-server",ismAmServerContext:"/ind-ism-am-server",ismAcServerContext:"/ind-ism-ac-server",ismSqServerContext:"/ind-ism-sq-server",ilmServerContext:"/ind-ilm-server",ucExtServerContext:"/ind-uc-ext-server",kkfilepreviewContext:"/kkfilepreview",errorMessage:"\u7CFB\u7EDF\u5F00\u5C0F\u5DEE\u4E86\uFF0C\u8BF7\u7A0D\u540E\u5C1D\u8BD5",leftLockDays:7,labelStyle:{labelWidthButton:50,labelWidthSmall:100+40,labelWidthMiddle:120+40,labelWidthMiddleLarge:140+40,labelWidthLarge:160+40,labelWidthSuperLarge:180+40},linkColor:"#488AFF"};function md(){return{showMenus:!0}}function _d(){return{showMenus:typeof window!="undefined"&&window.top===window.self}}function Bf(n){return n?Object.assign({},Nf,md()):Object.assign({},Nf,_d())}const kt=Bf(),wd=1,Ed=10106;let mr=null;function Sd(n){mr&&clearTimeout(mr);let i=!mr;mr=setTimeout(()=>{mr=null},1e3*20),i&&n()}function Ad(n){let i=Lf();i&&(n.headers.token=i);const u=Pf();(u.hasOwnProperty("sso_token")||sessionStorage.getItem("sso_token"))&&(n.params=Object.assign({sso_token:u.sso_token||sessionStorage.getItem("sso_token"),sso_id:u.sso_id},n.params));const a=Hu(n.headers);return n.method==="post"?a===ai.form&&(n.data=dd.stringify(n.data)):n.method,n}function Uf(n){let i=n.data;if(Hu(n.headers)===ai.os)return i;switch(typeof n.data=="string"&&(i=JSON.parse(n.data)),i.code){case wd:return i;case Ed:{Sd(function(){window.sessionNotValidHandler&&window.sessionNotValidHandler()});break}default:{let s=i.message||i.msg||kt.errorMessage;window.apiErrorHandler&&window.apiErrorHandler(s)}}return Promise.reject(i)}function Wf(n){var i;return(n==null?void 0:n.code)==="ECONNABORTED"?window.apiErrorHandler&&window.apiErrorHandler("\u8BF7\u6C42\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u518D\u8BD5"):((i=n==null?void 0:n.response)==null?void 0:i.status)!==200&&window.apiErrorHandler&&window.apiErrorHandler("\u8BF7\u6C42\u51FA\u9519\u4E86"),Promise.reject(n)}const he=fh.create({timeout:60*1e3});he.interceptors.request.use(Ad,Wf),he.interceptors.response.use(Uf,Wf),he.formPost=function(n,i,u){const a=(u==null?void 0:u.headers)||{};return Df(a,ai.form),he.post(n,i,Mt(pt({},u),{headers:a}))};var Hf={exports:{}},Yf={exports:{}};(function(){var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i={rotl:function(u,a){return u<<a|u>>>32-a},rotr:function(u,a){return u<<32-a|u>>>a},endian:function(u){if(u.constructor==Number)return i.rotl(u,8)&16711935|i.rotl(u,24)&4278255360;for(var a=0;a<u.length;a++)u[a]=i.endian(u[a]);return u},randomBytes:function(u){for(var a=[];u>0;u--)a.push(Math.floor(Math.random()*256));return a},bytesToWords:function(u){for(var a=[],s=0,c=0;s<u.length;s++,c+=8)a[c>>>5]|=u[s]<<24-c%32;return a},wordsToBytes:function(u){for(var a=[],s=0;s<u.length*32;s+=8)a.push(u[s>>>5]>>>24-s%32&255);return a},bytesToHex:function(u){for(var a=[],s=0;s<u.length;s++)a.push((u[s]>>>4).toString(16)),a.push((u[s]&15).toString(16));return a.join("")},hexToBytes:function(u){for(var a=[],s=0;s<u.length;s+=2)a.push(parseInt(u.substr(s,2),16));return a},bytesToBase64:function(u){for(var a=[],s=0;s<u.length;s+=3)for(var c=u[s]<<16|u[s+1]<<8|u[s+2],g=0;g<4;g++)s*8+g*6<=u.length*8?a.push(n.charAt(c>>>6*(3-g)&63)):a.push("=");return a.join("")},base64ToBytes:function(u){u=u.replace(/[^A-Z0-9+\/]/ig,"");for(var a=[],s=0,c=0;s<u.length;c=++s%4)c!=0&&a.push((n.indexOf(u.charAt(s-1))&Math.pow(2,-2*c+8)-1)<<c*2|n.indexOf(u.charAt(s))>>>6-c*2);return a}};Yf.exports=i})();var ku={utf8:{stringToBytes:function(n){return ku.bin.stringToBytes(unescape(encodeURIComponent(n)))},bytesToString:function(n){return decodeURIComponent(escape(ku.bin.bytesToString(n)))}},bin:{stringToBytes:function(n){for(var i=[],u=0;u<n.length;u++)i.push(n.charCodeAt(u)&255);return i},bytesToString:function(n){for(var i=[],u=0;u<n.length;u++)i.push(String.fromCharCode(n[u]));return i.join("")}}},kf=ku;/*!
6
6
  * Determine if an object is a Buffer
7
7
  *
8
8
  * @author Feross Aboukhadijeh <https://feross.org>
@@ -33,4 +33,4 @@ __p += '`),le&&(F+=`' +
33
33
  function print() { __p += __j.call(arguments, '') }
34
34
  `:`;
35
35
  `)+F+`return __p
36
- }`;var ne=Yc(function(){return ce(p,G+"return "+F).apply(u,v)});if(ne.source=F,sa(ne))throw ne;return ne}function AS(e){return pe(e).toLowerCase()}function bS(e){return pe(e).toUpperCase()}function OS(e,t,r){if(e=pe(e),e&&(r||t===u))return Zs(e);if(!e||!(t=ft(t)))return e;var o=$t(e),f=$t(t),p=Xs(o,f),v=js(o,f)+1;return dn(o,p,v).join("")}function CS(e,t,r){if(e=pe(e),e&&(r||t===u))return e.slice(0,tl(e)+1);if(!e||!(t=ft(t)))return e;var o=$t(e),f=js(o,$t(t))+1;return dn(o,0,f).join("")}function xS(e,t,r){if(e=pe(e),e&&(r||t===u))return e.replace(fo,"");if(!e||!(t=ft(t)))return e;var o=$t(e),f=Xs(o,$t(t));return dn(o,f).join("")}function TS(e,t){var r=ve,o=fe;if(Oe(t)){var f="separator"in t?t.separator:f;r="length"in t?te(t.length):r,o="omission"in t?ft(t.omission):o}e=pe(e);var p=e.length;if(Qn(e)){var v=$t(e);p=v.length}if(r>=p)return e;var m=r-Zn(o);if(m<1)return o;var b=v?dn(v,0,m).join(""):e.slice(0,m);if(f===u)return b+o;if(v&&(m+=b.length-m),la(f)){if(e.slice(m).search(f)){var T,$=b;for(f.global||(f=Co(f.source,pe(_s.exec(f))+"g")),f.lastIndex=0;T=f.exec($);)var F=T.index;b=b.slice(0,F===u?m:F)}}else if(e.indexOf(ft(f),m)!=m){var U=b.lastIndexOf(f);U>-1&&(b=b.slice(0,U))}return b+o}function $S(e){return e=pe(e),e&&Wv.test(e)?e.replace(vs,iy):e}var IS=ir(function(e,t,r){return e+(r?" ":"")+t.toUpperCase()}),ha=kl("toUpperCase");function Hc(e,t,r){return e=pe(e),t=r?u:t,t===u?j1(e)?ay(e):G1(e):e.match(t)||[]}var Yc=ie(function(e,t){try{return ot(e,u,t)}catch(r){return sa(r)?r:new Z(r)}}),FS=Xt(function(e,t){return dt(t,function(r){r=Ht(r),Qt(e,r,aa(e[r],e))}),e});function PS(e){var t=e==null?0:e.length,r=K();return e=t?Ee(e,function(o){if(typeof o[1]!="function")throw new vt(g);return[r(o[0]),o[1]]}):[],ie(function(o){for(var f=-1;++f<t;){var p=e[f];if(ot(p[0],this,o))return ot(p[1],this,o)}})}function MS(e){return im(mt(e,w))}function ga(e){return function(){return e}}function DS(e,t){return e==null||e!==e?t:e}var RS=ql(),LS=ql(!0);function nt(e){return e}function da(e){return El(typeof e=="function"?e:mt(e,w))}function NS(e){return Al(mt(e,w))}function BS(e,t){return bl(e,mt(t,w))}var US=ie(function(e,t){return function(r){return Lr(r,e,t)}}),WS=ie(function(e,t){return function(r){return Lr(e,r,t)}});function va(e,t,r){var o=Be(t),f=Ri(t,o);r==null&&!(Oe(t)&&(f.length||!o.length))&&(r=t,t=e,e=this,f=Ri(t,Be(t)));var p=!(Oe(r)&&"chain"in r)||!!r.chain,v=en(e);return dt(f,function(m){var b=t[m];e[m]=b,v&&(e.prototype[m]=function(){var T=this.__chain__;if(p||T){var $=e(this.__wrapped__),F=$.__actions__=je(this.__actions__);return F.push({func:b,args:arguments,thisArg:e}),$.__chain__=T,$}return b.apply(e,sn([this.value()],arguments))})}),e}function HS(){return We._===this&&(We._=hy),this}function ya(){}function YS(e){return e=te(e),ie(function(t){return Ol(t,e)})}var kS=Jo(Ee),GS=Jo(zs),qS=Jo(_o);function kc(e){return ta(e)?wo(Ht(e)):Em(e)}function zS(e){return function(t){return e==null?u:$n(e,t)}}var KS=Kl(),JS=Kl(!0);function ma(){return[]}function _a(){return!1}function VS(){return{}}function QS(){return""}function ZS(){return!0}function XS(e,t){if(e=te(e),e<1||e>B)return[];var r=ue,o=ze(e,ue);t=K(t),e-=ue;for(var f=Ao(o,t);++r<e;)t(r);return f}function jS(e){return ee(e)?Ee(e,Ht):st(e)?[e]:je(sc(pe(e)))}function eA(e){var t=++cy;return pe(e)+t}var tA=Hi(function(e,t){return e+t},0),nA=Vo("ceil"),rA=Hi(function(e,t){return e/t},1),iA=Vo("floor");function uA(e){return e&&e.length?Di(e,nt,Do):u}function oA(e,t){return e&&e.length?Di(e,K(t,2),Do):u}function aA(e){return Vs(e,nt)}function fA(e,t){return Vs(e,K(t,2))}function sA(e){return e&&e.length?Di(e,nt,Bo):u}function lA(e,t){return e&&e.length?Di(e,K(t,2),Bo):u}var cA=Hi(function(e,t){return e*t},1),pA=Vo("round"),hA=Hi(function(e,t){return e-t},0);function gA(e){return e&&e.length?So(e,nt):0}function dA(e,t){return e&&e.length?So(e,K(t,2)):0}return l.after=Nw,l.ary=wc,l.assign=bE,l.assignIn=Dc,l.assignInWith=eu,l.assignWith=OE,l.at=CE,l.before=Ec,l.bind=aa,l.bindAll=FS,l.bindKey=Sc,l.castArray=Vw,l.chain=yc,l.chunk=i_,l.compact=u_,l.concat=o_,l.cond=PS,l.conforms=MS,l.constant=ga,l.countBy=gw,l.create=xE,l.curry=Ac,l.curryRight=bc,l.debounce=Oc,l.defaults=TE,l.defaultsDeep=$E,l.defer=Bw,l.delay=Uw,l.difference=a_,l.differenceBy=f_,l.differenceWith=s_,l.drop=l_,l.dropRight=c_,l.dropRightWhile=p_,l.dropWhile=h_,l.fill=g_,l.filter=vw,l.flatMap=_w,l.flatMapDeep=ww,l.flatMapDepth=Ew,l.flatten=hc,l.flattenDeep=d_,l.flattenDepth=v_,l.flip=Ww,l.flow=RS,l.flowRight=LS,l.fromPairs=y_,l.functions=LE,l.functionsIn=NE,l.groupBy=Sw,l.initial=__,l.intersection=w_,l.intersectionBy=E_,l.intersectionWith=S_,l.invert=UE,l.invertBy=WE,l.invokeMap=bw,l.iteratee=da,l.keyBy=Ow,l.keys=Be,l.keysIn=tt,l.map=Ji,l.mapKeys=YE,l.mapValues=kE,l.matches=NS,l.matchesProperty=BS,l.memoize=Qi,l.merge=GE,l.mergeWith=Rc,l.method=US,l.methodOf=WS,l.mixin=va,l.negate=Zi,l.nthArg=YS,l.omit=qE,l.omitBy=zE,l.once=Hw,l.orderBy=Cw,l.over=kS,l.overArgs=Yw,l.overEvery=GS,l.overSome=qS,l.partial=fa,l.partialRight=Cc,l.partition=xw,l.pick=KE,l.pickBy=Lc,l.property=kc,l.propertyOf=zS,l.pull=C_,l.pullAll=dc,l.pullAllBy=x_,l.pullAllWith=T_,l.pullAt=$_,l.range=KS,l.rangeRight=JS,l.rearg=kw,l.reject=Iw,l.remove=I_,l.rest=Gw,l.reverse=ua,l.sampleSize=Pw,l.set=VE,l.setWith=QE,l.shuffle=Mw,l.slice=F_,l.sortBy=Lw,l.sortedUniq=B_,l.sortedUniqBy=U_,l.split=_S,l.spread=qw,l.tail=W_,l.take=H_,l.takeRight=Y_,l.takeRightWhile=k_,l.takeWhile=G_,l.tap=uw,l.throttle=zw,l.thru=Ki,l.toArray=Fc,l.toPairs=Nc,l.toPairsIn=Bc,l.toPath=jS,l.toPlainObject=Mc,l.transform=ZE,l.unary=Kw,l.union=q_,l.unionBy=z_,l.unionWith=K_,l.uniq=J_,l.uniqBy=V_,l.uniqWith=Q_,l.unset=XE,l.unzip=oa,l.unzipWith=vc,l.update=jE,l.updateWith=eS,l.values=ar,l.valuesIn=tS,l.without=Z_,l.words=Hc,l.wrap=Jw,l.xor=X_,l.xorBy=j_,l.xorWith=ew,l.zip=tw,l.zipObject=nw,l.zipObjectDeep=rw,l.zipWith=iw,l.entries=Nc,l.entriesIn=Bc,l.extend=Dc,l.extendWith=eu,va(l,l),l.add=tA,l.attempt=Yc,l.camelCase=uS,l.capitalize=Uc,l.ceil=nA,l.clamp=nS,l.clone=Qw,l.cloneDeep=Xw,l.cloneDeepWith=jw,l.cloneWith=Zw,l.conformsTo=eE,l.deburr=Wc,l.defaultTo=DS,l.divide=rA,l.endsWith=oS,l.eq=Ft,l.escape=aS,l.escapeRegExp=fS,l.every=dw,l.find=yw,l.findIndex=cc,l.findKey=IE,l.findLast=mw,l.findLastIndex=pc,l.findLastKey=FE,l.floor=iA,l.forEach=mc,l.forEachRight=_c,l.forIn=PE,l.forInRight=ME,l.forOwn=DE,l.forOwnRight=RE,l.get=ca,l.gt=tE,l.gte=nE,l.has=BE,l.hasIn=pa,l.head=gc,l.identity=nt,l.includes=Aw,l.indexOf=m_,l.inRange=rS,l.invoke=HE,l.isArguments=Pn,l.isArray=ee,l.isArrayBuffer=rE,l.isArrayLike=et,l.isArrayLikeObject=Te,l.isBoolean=iE,l.isBuffer=vn,l.isDate=uE,l.isElement=oE,l.isEmpty=aE,l.isEqual=fE,l.isEqualWith=sE,l.isError=sa,l.isFinite=lE,l.isFunction=en,l.isInteger=xc,l.isLength=Xi,l.isMap=Tc,l.isMatch=cE,l.isMatchWith=pE,l.isNaN=hE,l.isNative=gE,l.isNil=vE,l.isNull=dE,l.isNumber=$c,l.isObject=Oe,l.isObjectLike=Ce,l.isPlainObject=Yr,l.isRegExp=la,l.isSafeInteger=yE,l.isSet=Ic,l.isString=ji,l.isSymbol=st,l.isTypedArray=or,l.isUndefined=mE,l.isWeakMap=_E,l.isWeakSet=wE,l.join=A_,l.kebabCase=sS,l.last=wt,l.lastIndexOf=b_,l.lowerCase=lS,l.lowerFirst=cS,l.lt=EE,l.lte=SE,l.max=uA,l.maxBy=oA,l.mean=aA,l.meanBy=fA,l.min=sA,l.minBy=lA,l.stubArray=ma,l.stubFalse=_a,l.stubObject=VS,l.stubString=QS,l.stubTrue=ZS,l.multiply=cA,l.nth=O_,l.noConflict=HS,l.noop=ya,l.now=Vi,l.pad=pS,l.padEnd=hS,l.padStart=gS,l.parseInt=dS,l.random=iS,l.reduce=Tw,l.reduceRight=$w,l.repeat=vS,l.replace=yS,l.result=JE,l.round=pA,l.runInContext=S,l.sample=Fw,l.size=Dw,l.snakeCase=mS,l.some=Rw,l.sortedIndex=P_,l.sortedIndexBy=M_,l.sortedIndexOf=D_,l.sortedLastIndex=R_,l.sortedLastIndexBy=L_,l.sortedLastIndexOf=N_,l.startCase=wS,l.startsWith=ES,l.subtract=hA,l.sum=gA,l.sumBy=dA,l.template=SS,l.times=XS,l.toFinite=tn,l.toInteger=te,l.toLength=Pc,l.toLower=AS,l.toNumber=Et,l.toSafeInteger=AE,l.toString=pe,l.toUpper=bS,l.trim=OS,l.trimEnd=CS,l.trimStart=xS,l.truncate=TS,l.unescape=$S,l.uniqueId=eA,l.upperCase=IS,l.upperFirst=ha,l.each=mc,l.eachRight=_c,l.first=gc,va(l,function(){var e={};return Ut(l,function(t,r){de.call(l.prototype,r)||(e[r]=t)}),e}(),{chain:!1}),l.VERSION=a,dt(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){l[e].placeholder=l}),dt(["drop","take"],function(e,t){se.prototype[e]=function(r){r=r===u?1:Me(te(r),0);var o=this.__filtered__&&!t?new se(this):this.clone();return o.__filtered__?o.__takeCount__=ze(r,o.__takeCount__):o.__views__.push({size:ze(r,ue),type:e+(o.__dir__<0?"Right":"")}),o},se.prototype[e+"Right"]=function(r){return this.reverse()[e](r).reverse()}}),dt(["filter","map","takeWhile"],function(e,t){var r=t+1,o=r==z||r==R;se.prototype[e]=function(f){var p=this.clone();return p.__iteratees__.push({iteratee:K(f,3),type:r}),p.__filtered__=p.__filtered__||o,p}}),dt(["head","last"],function(e,t){var r="take"+(t?"Right":"");se.prototype[e]=function(){return this[r](1).value()[0]}}),dt(["initial","tail"],function(e,t){var r="drop"+(t?"":"Right");se.prototype[e]=function(){return this.__filtered__?new se(this):this[r](1)}}),se.prototype.compact=function(){return this.filter(nt)},se.prototype.find=function(e){return this.filter(e).head()},se.prototype.findLast=function(e){return this.reverse().find(e)},se.prototype.invokeMap=ie(function(e,t){return typeof e=="function"?new se(this):this.map(function(r){return Lr(r,e,t)})}),se.prototype.reject=function(e){return this.filter(Zi(K(e)))},se.prototype.slice=function(e,t){e=te(e);var r=this;return r.__filtered__&&(e>0||t<0)?new se(r):(e<0?r=r.takeRight(-e):e&&(r=r.drop(e)),t!==u&&(t=te(t),r=t<0?r.dropRight(-t):r.take(t-e)),r)},se.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},se.prototype.toArray=function(){return this.take(ue)},Ut(se.prototype,function(e,t){var r=/^(?:filter|find|map|reject)|While$/.test(t),o=/^(?:head|last)$/.test(t),f=l[o?"take"+(t=="last"?"Right":""):t],p=o||/^find/.test(t);!f||(l.prototype[t]=function(){var v=this.__wrapped__,m=o?[1]:arguments,b=v instanceof se,T=m[0],$=b||ee(v),F=function(oe){var le=f.apply(l,sn([oe],m));return o&&U?le[0]:le};$&&r&&typeof T=="function"&&T.length!=1&&(b=$=!1);var U=this.__chain__,G=!!this.__actions__.length,J=p&&!U,ne=b&&!G;if(!p&&$){v=ne?v:new se(this);var V=e.apply(v,m);return V.__actions__.push({func:Ki,args:[F],thisArg:u}),new yt(V,U)}return J&&ne?e.apply(this,m):(V=this.thru(F),J?o?V.value()[0]:V.value():V)})}),dt(["pop","push","shift","sort","splice","unshift"],function(e){var t=_i[e],r=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",o=/^(?:pop|shift)$/.test(e);l.prototype[e]=function(){var f=arguments;if(o&&!this.__chain__){var p=this.value();return t.apply(ee(p)?p:[],f)}return this[r](function(v){return t.apply(ee(v)?v:[],f)})}}),Ut(se.prototype,function(e,t){var r=l[t];if(r){var o=r.name+"";de.call(tr,o)||(tr[o]=[]),tr[o].push({name:t,func:r})}}),tr[Wi(u,M).name]=[{name:"wrapper",func:u}],se.prototype.clone=$y,se.prototype.reverse=Iy,se.prototype.value=Fy,l.prototype.at=ow,l.prototype.chain=aw,l.prototype.commit=fw,l.prototype.next=sw,l.prototype.plant=cw,l.prototype.reverse=pw,l.prototype.toJSON=l.prototype.valueOf=l.prototype.value=hw,l.prototype.first=l.prototype.head,$r&&(l.prototype[$r]=lw),l},Xn=fy();bn?((bn.exports=Xn)._=Xn,go._=Xn):We._=Xn}).call(yn)})(Vu,Vu.exports);var Ae=Vu.exports;const ts="IS_ENUM",a0={1:"\u662F",0:"\u5426"},ns=[{K:"1",V:"\u662F"},{K:"0",V:"\u5426"}],f0={MANAGE_UNIT_ID:"00000000000000000000000020370001",ORG_CODE_ADMIN:"default",ORG_CODE_MKT:"08",ORG_CODE_LOG:"08",ORG_CODE_ACTIVITY:"08",ADMIN_LEVEL_IND:"01",ADMIN_LEVEL_CENTER:"02",ADMIN_LEVEL_FAC:"03",ADMIN_LEVEL_DIST:"04",ADMIN_LEVEL_COMMON_DEPT:"08",ADMIN_LEVEL_COMMON_POST:"80",LEVEL_IND:"01",LEVEL_CENTER:"02",LEVEL_FAC:"02",LEVEL_DIST:"04",LEVEL_CIGAR_DIST:"05",LEVEL_COMMON_DEPT:"03",LEVEL_COMMON_POST:"80",LEVEL_DIST_MANAGE_POST:"81",LEVEL_CUST_MANAGE_POST:"82",LEVEL_CIGAR_DIST_MANAGE_POST:"83",LEVEL_CIGAR_CUST_MANAGE_POST:"84",LEVEL_INTERNAL_POST:"85"};function s0(n=[],i="K",u="V"){return n.map(a=>({K:a[i],V:a[u]}))}function l0(n=[],i="K",u="V"){return n.reduce(a=>Mt(pt({},a),{[a[i]]:a[u]}),{})}function c0(n=[],i={}){const u=Ae.cloneDeep(n),a=Object.keys(i);return u.forEach(s=>{const c=s.field||s.key,g=["enum","select"].includes(s.type);if(a.includes(c)&&g){s.cellRendererParams||(s.cellRendererParams={});const h=i[c];s.type==="enum"?Ju(h)?s.cellRendererParams.enumList=h:s.cellRendererParams.enumData=h:s.type==="select"&&(s.cellRendererParams.datas=h)}}),u}function p0(n=[],i={}){const u=Ae.cloneDeep(n),a=Object.keys(i);return u.forEach(s=>{const c=s.formKey;if(a.includes(c)){const g=i[c];Ju(g)?s.enumList=g:s.enumData=g}}),u}const h0={bold:!0,fontSize:"14",horizontalAlignment:"center",verticalAlignment:"center"},g0={fontSize:"10",horizontalAlignment:"left",verticalAlignment:"center",topBorder:!0,bottomBorder:!0},d0={fontSize:"10",horizontalAlignment:"right",verticalAlignment:"center",topBorder:!0,bottomBorder:!0},v0={bold:!0,fontSize:"10",horizontalAlignment:"center",verticalAlignment:"center",fill:"bdc3c7",topBorder:!0,bottomBorder:!0,leftBorder:!0,rightBorder:!0},Sr={fontSize:"10",horizontalAlignment:"center",verticalAlignment:"center",topBorder:!0,bottomBorder:!0,leftBorder:!0,rightBorder:!0},y0=27,m0=18,_0=18,w0=18;function rs({columns:n,datas:i}){var u=Ae.cloneDeep(n),a=Ae.cloneDeep(i);Ae.remove(u,P=>{var L;return P.cellClass&&((L=P==null?void 0:P.cellClass)==null?void 0:L.indexOf("button"))!=-1}),a.forEach((P,L)=>{P.__seq=L+1}),Ae.forEach(u,P=>{var L;P.cellClass&&((L=P==null?void 0:P.cellClass)==null?void 0:L.indexOf("enum"))!=-1&&a.forEach(N=>{N[P.field]=P.cellRendererParams.datas[N[P.field]]})});const s=P=>{if(P.children){var L=1+Math.max(...P.children.map(N=>s(N)));return P.deepth=L,L}else return 1};var c=Math.max(...u.map(P=>{var L=s(P);return P.deepth=L,L}));console.log("calc deepth = ",c);const g=P=>{if(P.children){var L=Ae.sum(P.children.map(N=>g(N)));return P.width=L,L}else return 1};var h=Ae.sum(u.map(P=>{var L=g(P);return P.width=L,L}));console.log("calc width = ",h),console.log("now columnsClo is ",u);var d=[],y=1,E=0;function w(P,L){E+=1,P.reduce((N,re,X)=>(re.children?(N.push({text:re.excelName||re.headerName||re.title,srow:E,scol:y,erow:E,ecol:y+re.width-1}),w(re.children,N)):(N.push({text:re.excelName||re.headerName||re.title,srow:E,scol:y,erow:c,ecol:y}),y+=1),N),L),E-=1}w(u,d);var _=[];function A(P,L){P.reduce((N,re)=>(re.children?A(re.children,N):N.push(re),N),L)}A(u,_);var I=_.map(P=>P.align||"left"),D=_.map(P=>P.align=="right"||P.align=="rightNum"?"n":"s"),W=_.map(P=>P.excelWidth?P.excelWidth:P.width?Math.floor(P.width/10):10),M=_.map(P=>P.numberFormat===void 0?P.align=="rightNum"?"#,##0.0000":P.align=="right"?"#,##0.00":"":P.numberFormat);_.map((P,L)=>{P.field=P.field?P.field:P.key;var N=P.excelName||P.headerName||P.title;N=N.replace(/<br\/>/g,""),P.columnWidth!==void 0?W[L]=P.columnWidth:N&&W[L]<N.length*2&&(W[L]=N.length*2)});var q=a.map(P=>_.map((L,N)=>{L.columnWidth!==void 0?W[N]=L.columnWidth:P[L.field]&&W[N]<(""+P[L.field]).length*2&&(W[N]=(""+P[L.field]).length*2);let re=null;L.cellStyle&&(L.cellStyle instanceof Function?re=L.cellStyle(P[L.field],P,a):re=L.cellStyle);let X=null;return L.formula&&(L.formula instanceof Function?X=L.formula(P[L.field],P,a):X=L.formula),{cellStyle:re,formula:X,value:P[L.field]}}));return{deepth:c,columnAlign:I,columnType:D,columnWidth:W,exportData:q,numberFormat:M,columnTitle:d,columnsCalc:_}}var is=[];function E0(n){if(n.rowSpanColumns){let a=function(s,c){var g=Ae.findIndex(n.columns,{field:s});if(!i[s]){var h=[],d="CUR_VAL",y={};Ae.forEach(n.datas,function(E,w){var _=c?E[s]!=d||w==(u[""+w]||{}).first:E[s]!=d;if(_){if(!c&&y.first!==void 0)for(var A=y.first;A<=y.last;A++)u[""+A]={first:y.first,last:y.last};d=E[s],y={col:s,val:d,first:w,last:w,rowSpan:1},h.push(y)}else if(y.last=w,y.rowSpan=y.last-y.first+1,h.push({rowSpan:0}),!c&&w==n.datas.length-1)for(var A=y.first;A<=y.last;A++)u[""+A]={first:y.first,last:y.last}}),i[s]=h,Ae.forEach(h,function(E,w){E.rowSpan>1&&is.push({mergeRowS:w,mergeRowE:w+E.rowSpan-1,megerColS:g,megerColE:g})})}};n.rowSpanIndexCol&&(n.rowSpanIndexCol=n.rowSpanColumns[0]);var i={},u={};a(n.rowSpanIndexCol),Ae.forEach(n.rowSpanColumns,function(s){a(s,!0)})}}function S0(n){var i=rs(n);console.log("calcExportDatas",i);var u=n.title,a=i.deepth,s=n.columnAlign||i.columnAlign,c=n.columnType||i.columnType,g=i.columnTitle,h=n.columnWidth||i.columnWidth,d=s.length,y=n.paramLeft,E=n.paramRight,w=i.exportData,_=n.numberFormat||i.numberFormat;XlsxPopulate.fromBlankAsync().then(A=>{var I=A.sheet("Sheet1");I.name(u);for(var D=0;D<d;D++)I.column(D+1).width(h[D]==0?10:h[D]);var W=I.range(1,1,1,d);W.merged(!0),W.style(h0),W.cell(0,0).value(u),I.row(1).height(y0);var M=2;if(!!n.paramLeft||!!n.paramRight){var q=I.range(2,1,2,Math.round(d/2));q.cell(0,0).value(y||""),q.merged(!0),q.style(g0);var P=I.range(2,Math.round(d/2)+1,2,d);P.cell(0,0).value(E||""),P.merged(!0),P.style(d0),I.row(2).height(m0),M+=1}g.forEach(X=>{var ge=I.range(X.srow+M-1,X.scol,X.erow+M-1,X.ecol);ge.merged(!0),ge.style(v0),ge.cell(0,0).value(X.text.replace(/<br\/>/g,""))});for(let X=0;X<a;X++)I.row(M+X).height(_0);M+=a;for(var D=0;D<w.length;D++){for(var L=w[D],N=0;N<L.length;N++)if(c[N]==="s"&&L[N]?(I.cell(M+D,N+1).value(L[N].value),Sr.numberFormat=""):c[N]==="n"&&L[N]?(I.cell(M+D,N+1).value(L[N].value?parseFloat(L[N].value):L[N].value),Sr.numberFormat=_[N]):I.cell(M+D,N+1).value(""),L[N].formula&&I.cell(M+D,N+1).formula(L[N].formula),Sr.horizontalAlignment=s[N],L[N].cellStyle){let ge=Ae.merge({},Sr,L[N].cellStyle);I.cell(M+D,N+1).style(ge)}else I.cell(M+D,N+1).style(Sr);if(n.rowColor&&D%2!=0){var re=I.range(M+D,1,M+D,d);re.style({fill:"f8f8f9"})}I.row(M+D).height(w0)}n.rowSpanColumns&&(E0(Mt(pt({},n),{columns:i.columnsCalc})),Ae.forEach(is,function(X){var ge=I.range(X.mergeRowS+M,X.megerColS+1,X.mergeRowE+M,X.megerColE+1);ge.merged(!0)})),I.freezePanes(n.leftColumns||0,(n.topRows||0)+M-1),A.outputAsync().then(function(X){if(window.navigator&&window.navigator.msSaveOrOpenBlob)window.navigator.msSaveOrOpenBlob(X,u+".xlsx");else{var ge=window.URL.createObjectURL(X),xe=document.createElement("a");document.body.appendChild(xe),xe.href=ge,xe.download=u+".xlsx",xe.click(),window.URL.revokeObjectURL(ge),document.body.removeChild(xe)}})}).catch(A=>console.log(A))}function A0(n){return new Promise((i,u)=>{var a=rs(n),s=a.deepth;a.exportData;const c=new FileReader;c.onload=g=>nu(this,null,function*(){XlsxPopulate.fromDataAsync(g.target.result).then(h=>{var _;var d=h.sheet(0),y=2;(!!n.paramLeft||!!n.paramRight)&&(y+=1),y+=s;let E=[];for(let A=y;A<d._rows.length;A++){var w=d.row(A);let I={};E.push(I);for(let D=1;D<w._cells.length;D++){let W=(_=w._cells[D])==null?void 0:_._value;if(D>a.columnsCalc.length)continue;let M=a.columnsCalc[D-1];I[M.field]=W}}i(E)}).catch(h=>console.log(h))}),c.readAsArrayBuffer(n.file)})}const us=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];function b0(n){if(!n)return"";let i="";const u=us.length;for(;n>=0;){const a=n%u;i=us[a]+i,n=parseInt((n-a)/u)-1}return i}function O0(){return document.addEventListener?function(n,i,u){n&&i&&u&&n.addEventListener(i,u,!1)}:function(n,i,u){n&&i&&u&&n.attachEvent("on"+i,u)}}function C0(){return window.document.removeEventListener?function(n,i,u){n&&i&&n.removeEventListener(i,u,!1)}:function(n,i,u){n&&i&&n.detachEvent("on"+i,u)}}function x0(n,i,u){const a=O0();return a(n,i,u),a}function T0(n,i,u){const a=C0();return a(n,i,u),a}function $0(n){if(!n||n.length<6)return"";const i=n.substring(0,4),u=n.substring(4,6),a=os(parseInt(u));return`${i}H${a}`}function os(n){if(typeof n=="string"){if(isNaN(parseInt(n)))return 0;n=parseInt(n)}return n<=6?1:2}function I0(n){if(!n||n.length<6)return n;const i=n.substring(0,4),a=parseInt(n.substring(5))===1?"\u4E0A\u534A\u5E74":"\u4E0B\u534A\u5E74";return`${i}${a}`}function F0(n){if(!n||n.length<6)return n;const i=n.substring(0,4),a=parseInt(n.substring(5))*6-5,s=a<10?`0${a}`:`${a}`;return`${i}${s}`}function P0(n){if(!n||n.length<6)return n;const i=n.substring(0,4),a=parseInt(n.substring(5))*2,s=a<10?`0${a}`:`${a}`;return`${i}${s}`}const M0={aac:"audio/aac",abw:"application/x-abiword",arc:"application/x-freearc",avi:"video/x-msvideo",azw:"application/vnd.amazon.ebook",bin:"application/octet-stream",bmp:"image/bmp",bz:"application/x-bzip",bz2:"application/x-bzip2",csh:"application/x-csh",css:"text/css",csv:"text/csv",doc:"application/msword",docx:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",eot:"application/vnd.ms-fontobject",epub:"application/epub+zip",gif:"image/gif",html:"text/html",ico:"image/vnd.microsoft.icon",ics:"text/calendar",jar:"application/java-archive",jpg:"image/jpeg",jpeg:"image/jpeg",js:"text/javascript",json:"application/json",jsonld:"application/ld+json",mid:"audio/midi",midi:"audio/x-midi",mjs:"text/javascript",mp3:"audio/mpeg",mpeg:"video/mpeg",mpkg:"application/vnd.apple.installer+xml",odp:"application/vnd.oasis.opendocument.presentation",ods:"application/vnd.oasis.opendocument.spreadsheet",odt:"application/vnd.oasis.opendocument.text",oga:"audio/ogg",ogv:"video/ogg",ogx:"application/ogg",otf:"font/otf",png:"image/png",pdf:"application/pdf",ppt:"application/vnd.ms-powerpoint",pptx:"application/vnd.openxmlformats-officedocument.presentationml.presentation",rar:"application/x-rar-compressed",rtf:"application/rtf",sh:"application/x-sh",svg:"image/svg+xml",swf:"application/x-shockwave-flash",tar:"application/x-tar",tiff:"image/tiff",ttf:"font/ttf",txt:"text/plain",vsd:"application/vnd.visio",wav:"audio/wav",weba:"audio/webm",webm:"video/webm",webp:"image/webp",woff:"font/woff",woff2:"font/woff2",xhtml:"application/xhtml+xml",xls:"application/vnd.ms-excel",xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",xul:"application/vnd.mozilla.xul+xml",zip:"application/zip","7z":"application/x-7z-compressed"};function D0(n){let i="";for(n=(n||0).toString();n.length>3;)i=","+n.slice(-3)+i,n=n.slice(0,n.length-3);return n&&(i=n+i),i}function R0(n){const i=n.length,u=["\u96F6","\u58F9","\u8D30","\u53C1","\u8086","\u4F0D","\u9646","\u67D2","\u634C","\u7396"],a=["\u4EDF","\u4F70","\u62FE","\u4EBF","\u4EDF","\u4F70","\u62FE","\u4E07","\u4EDF","\u4F70","\u62FE"];let s=[],c=[],g="";for(let h=0;h<i;h++)s.push(parseInt(n[h])),c[h]=u[s[h]];for(let h=i-1,d=1;h>0;h--)c.splice(h,0,a[a.length-d++]);return g=c.join(""),i>=1&&(g+="\u5143\u6574"),g}function L0(n){if(!/^(0|[1-9]\d*)(\.\d+)?$/.test(n))return"\u6570\u636E\u975E\u6CD5";let i="\u5343\u767E\u62FE\u4EBF\u5343\u767E\u62FE\u4E07\u5343\u767E\u62FE\u5143\u89D2\u5206",u="";n+="00";let a=n.indexOf(".");a>=0&&(n=n.substring(0,a)+n.substr(a+1,2)),i=i.substr(i.length-n.length);for(let s=0;s<n.length;s++)u+="\u96F6\u58F9\u8D30\u53C1\u8086\u4F0D\u9646\u67D2\u634C\u7396".charAt(parseInt(n.charAt(s)))+i.charAt(s);return u.replace(/零(千|百|拾|角)/g,"\u96F6").replace(/(零)+/g,"\u96F6").replace(/零(万|亿|元)/g,"$1").replace(/(亿)万|壹(拾)/g,"$1$2").replace(/^元零?|零分/g,"").replace(/元$/g,"\u5143\u6574")}function N0(n,i=2){n=n.toString();let u=n.indexOf(".");return u!==-1?n=n.substring(0,i+u+1):n=n.substring(0),parseFloat(n).toFixed(i)}function as(n,i=2){if(typeof n=="number"){const a=/([0-9])+e([-0-9]+)/.exec(n+"")||[];if(a.length>2){const s=a[1],c=a[2];return Math.round(parseInt(+s+"e"+(+c+i)))/Math.pow(10,i)}return Math.round(parseInt(+n+"e"+i))/Math.pow(10,i)}return n}function B0(n,i=2){const u=parseFloat(n+"");return!isNaN(u)&&(u||u===0)?as(u,i).toFixed(i):n}const U0=n=>{if(isNaN(n))throw"numToChineseNumerals: \u6570\u636E\u975E\u6CD5";return n=Number(n),fs(n).replace(/^零/,"").replace(/^一十/,"\u5341")},W0=["\u96F6","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D","\u4E03","\u516B","\u4E5D"],H0=["","\u5341","\u767E","\u5343"];function fs(n){if(n===0)return"";const i=Math.floor(Math.log10(n)),u=Math.floor(i/8),a=Math.floor(i%8/4);let s=Math.floor(n/Math.pow(10,4*a+8*u)),c=n%Math.pow(10,4*a+8*u),g=Ae(String(s).padStart(4,"0")).split("").map((h,d)=>W0[h]+(h==="0"?"":H0[3-d])).uniq().value().join("").replace(/零$/,"");for(let h=0;h<a;h++)g+="\u4E07";for(let h=0;h<u;h++)g+="\u4EBF";return g+fs(c)}function ss(n){return n?["\u4E00","\u4E8C","\u4E09","\u56DB"][n-1]:""}function Y0(n){if(!n||n.length<6)return"";const i=n.substring(0,4),u=n.substring(4,6),a=ls(parseInt(u));return`${i}Q${a}`}function ls(n){if(typeof n=="string"){if(isNaN(parseInt(n)))return 0;n=parseInt(n)}return Math.ceil(n/3)}function k0(n){if(!n||n.length<6)return n;const i=n.substring(0,4),u=parseInt(n.substring(5));return`${i}\u7B2C${ss(u)}\u5B63\u5EA6`}function G0(n){if(!n||n.length<6)return n;const i=n.substring(0,4),a=parseInt(n.substring(5))*3-2,s=a<10?`0${a}`:`${a}`;return`${i}${s}`}function q0(n){if(!n||n.length<6)return n;const i=n.substring(0,4),a=parseInt(n.substring(5))*3,s=a<10?`0${a}`:`${a}`;return`${i}${s}`}const Gn="__",qn="--";function Qu(n,i,u={}){const I=i,{key:a,keyProp:s,title:c,titleProp:g,titleFormatter:h,children:d}=I,y=Jc(I,["key","keyProp","title","titleProp","titleFormatter","children"]),{keyPropName:E="key",titlePropName:w="title",keyPrefix:_="",keyLastSuffix:A=""}=u;if(s)return Ae.uniqBy(n,i.keyProp).map(W=>{const M=h?h(W[g]):W[g];if(d&&d.length){const P=`${_}${s}${qn}${W[s]}${Gn}`,L=d.map(N=>Qu(n,N,Mt(pt({},u),{keyPrefix:P})));return Mt(pt({},y),{[w]:M,children:Ae.flatten(L)})}const q=A?`${Gn}${A}`:"";return Mt(pt({},y),{[E]:`${_}${s}${qn}${W[s]}${q}`,[w]:M})});if(d&&d.length){const D=`${_}${a}`,W=d.map(M=>Qu(n,M,Mt(pt({},u),{keyPrefix:D})));return Mt(pt({},y),{[w]:c,children:Ae.flatten(W)})}return Mt(pt({},y),{[E]:`${_}${a}`,[w]:c})}function Zu(n=[]){return!n||!n.length?[]:n.reduce((i,u)=>u.children?[...i,...Zu(u.children)]:[...i,u],[])}function cs(n,i){var s;if(!i.length)return;const u=i[0];if(i=i.slice(1),u.includes(qn)&&i.length){const[c,g]=u.split(qn),h=Ae.filter(n,{[c]:g});return cs(h,i)}return i.length&&console.error("\u600E\u4E48\u4F1A\u4E0D\u662F\u6700\u540E\u4E00\u5C42\u5206\u7EC4\u5462\uFF0C\u8BF7\u8054\u7CFB\u5F00\u53D1\u4EBA\u5458\u67E5\u770B\uFF01"),(s=n==null?void 0:n[0])==null?void 0:s[u]}function z0(n=[],i=[],u,a={}){const s=Ae.flatten(i.map(y=>Qu(n,y,a))),c=Zu(s),g=Ae.uniqBy(n,u),h=Ae.groupBy(n,u);return{data:g.map(y=>{const E=h[y[u]]||[],w=pt({},y);return c.forEach(_=>{const A=_[a.keyPropName||"key"],I=A.split(Gn)||[],D=cs(E,I);w[A]=D,delete w[I[I.length-1]]}),w}),columns:s}}function K0(n={},i=[],u={}){const a=[],s={};return Object.keys(n).forEach(g=>{g.includes(Gn)||(s[g]=n[g])}),i.forEach(g=>{const h={},d=g[u.keyPropName||"key"];if(d.includes(Gn)){const y=d.split(Gn);y.forEach((E,w)=>{if(E.includes(qn)&&y.length){const[_,A]=E.split(qn);h[_]=A}else if(y.length!==w+1)console.error("columns\u6709\u95EE\u9898\uFF0C\u8BF7\u68C0\u67E5\uFF01");else{const _=Ae.find(a,h);_?_[E]=n[d]:a.push(Mt(pt(pt({},s),h),{[E]:n[d]}))}})}}),a}function J0(n=[],i=[],u={}){const a=Zu(i);return n.reduce((s,c)=>[...s,...K0(c,a,u)],[])}let V0=n=>crypto.getRandomValues(new Uint8Array(n)),Q0=(n,i,u)=>{let a=(2<<Math.log(n.length-1)/Math.LN2)-1,s=-~(1.6*a*i/n.length);return(c=i)=>{let g="";for(;;){let h=u(s),d=s;for(;d--;)if(g+=n[h[d]&a]||"",g.length===c)return g}}};const Z0=((n,i=21)=>Q0(n,i,V0))("0123456789abcdef",32);function X0(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(n){var i=Math.random()*16|0,u=n==="x"?i:i&3|8;return u.toString(16)})}function j0(n){var i=new Array("\u9A8C\u8BC1\u901A\u8FC7!","\u8EAB\u4EFD\u8BC1\u53F7\u7801\u4F4D\u6570\u4E0D\u5BF9!","\u8EAB\u4EFD\u8BC1\u53F7\u7801\u51FA\u751F\u65E5\u671F\u8D85\u51FA\u8303\u56F4\u6216\u542B\u6709\u975E\u6CD5\u5B57\u7B26!","\u8EAB\u4EFD\u8BC1\u53F7\u7801\u6821\u9A8C\u9519\u8BEF!","\u8EAB\u4EFD\u8BC1\u5730\u533A\u975E\u6CD5!"),u={11:"\u5317\u4EAC",12:"\u5929\u6D25",13:"\u6CB3\u5317",14:"\u5C71\u897F",15:"\u5185\u8499\u53E4",21:"\u8FBD\u5B81",22:"\u5409\u6797",23:"\u9ED1\u9F99\u6C5F",31:"\u4E0A\u6D77",32:"\u6C5F\u82CF",33:"\u6D59\u6C5F",34:"\u5B89\u5FBD",35:"\u798F\u5EFA",36:"\u6C5F\u897F",37:"\u5C71\u4E1C",41:"\u6CB3\u5357",42:"\u6E56\u5317",43:"\u6E56\u5357",44:"\u5E7F\u4E1C",45:"\u5E7F\u897F",46:"\u6D77\u5357",50:"\u91CD\u5E86",51:"\u56DB\u5DDD",52:"\u8D35\u5DDE",53:"\u4E91\u5357",54:"\u897F\u85CF",61:"\u9655\u897F",62:"\u7518\u8083",63:"\u9752\u6D77",64:"\u5B81\u590F",65:"\u65B0\u7586",71:"\u53F0\u6E7E",81:"\u9999\u6E2F",82:"\u6FB3\u95E8",91:"\u56FD\u5916"},a,s,c,g,h,d=new Array;if(d=n.split(""),u[parseInt(n.substr(0,2))]==null)return i[4];switch(n.length){case 15:return(parseInt(n.substr(6,2))+1900)%4==0||(parseInt(n.substr(6,2))+1900)%100==0&&(parseInt(n.substr(6,2))+1900)%4==0?h=/^[1-9][0-9]{5}19[0-9]{2}((01|03|05|07|08|10|12)(0[1-9]|[1-2][0-9]|3[0-1])|(04|06|09|11)(0[1-9]|[1-2][0-9]|30)|02(0[1-9]|[1-2][0-9]))[0-9]{3}$/:h=/^[1-9][0-9]{5}19[0-9]{2}((01|03|05|07|08|10|12)(0[1-9]|[1-2][0-9]|3[0-1])|(04|06|09|11)(0[1-9]|[1-2][0-9]|30)|02(0[1-9]|1[0-9]|2[0-8]))[0-9]{3}$/,h.test(n)?i[0]:i[2];case 18:return parseInt(n.substr(6,4))%4==0||parseInt(n.substr(6,4))%100==0&&parseInt(n.substr(6,4))%4==0?h=/^[1-9][0-9]{5}(19|20)[0-9]{2}((01|03|05|07|08|10|12)(0[1-9]|[1-2][0-9]|3[0-1])|(04|06|09|11)(0[1-9]|[1-2][0-9]|30)|02(0[1-9]|[1-2][0-9]))[0-9]{3}[0-9Xx]$/:h=/^[1-9][0-9]{5}(19|20)[0-9]{2}((01|03|05|07|08|10|12)(0[1-9]|[1-2][0-9]|3[0-1])|(04|06|09|11)(0[1-9]|[1-2][0-9]|30)|02(0[1-9]|1[0-9]|2[0-8]))[0-9]{3}[0-9Xx]$/,h.test(n)?(c=(parseInt(d[0])+parseInt(d[10]))*7+(parseInt(d[1])+parseInt(d[11]))*9+(parseInt(d[2])+parseInt(d[12]))*10+(parseInt(d[3])+parseInt(d[13]))*5+(parseInt(d[4])+parseInt(d[14]))*8+(parseInt(d[5])+parseInt(d[15]))*4+(parseInt(d[6])+parseInt(d[16]))*2+parseInt(d[7])*1+parseInt(d[8])*6+parseInt(d[9])*3,a=c%11,g="F",s="10X98765432",g=s.substr(a,1),g==d[17]?i[0]:i[3]):i[2];default:return i[1]}}function ev(n){var i=/^1[3456789]\d{9}$/;return!!i.test(n)}function tv(n){var i=/^([0-9]{3,4}-)?[0-9]{7,8}$/,u=/^((\+?86)|(\(\+86\)))?(13[0123456789][0-9]{8}|15[012356789][0-9]{8}|18[0123456789][0-9]{8}|14[57][0-9]{8}|17[678][0-9]{8})$/;return!!(u.test(n)||i.test(n))}function nv(n){return/^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领][A-HJ-NP-Z]-(([DF]((?![IO])[a-zA-Z0-9](?![IO]))[0-9]{4})|([0-9]{5}[DF]))$/.test(n)?!0:/^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领][A-HJ-NP-Z]-[A-HJ-NP-Z0-9]{4}[A-HJ-NP-Z0-9挂学警港澳]$/.test(n)}const ps="ind-dict_";function rv(n){return me(`${ps}${n}`)}function iv(n,i){Se(`${ps}${n}`,i)}const hs=kt.authServerContext;function uv(n){return he.get(`${hs}/anon/dict/getDictsMap`,{params:{dictId:n}})}function gs(n){return nu(this,null,function*(){if(n===ts)return ns;const i=rv(n);if(i)return i;try{const{data:u}=yield he.get(`${hs}/dict/getDicts`,{params:{dictId:n}});return iv(n,u),u}catch(u){console.error(`getDict error dictId=${n}`,u)}})}function ov(n){return nu(this,null,function*(){const i={},u=yield Promise.all(n.map(a=>gs(a)));return n.forEach((a,s)=>{if(u[s]){const c={};u[s].forEach(g=>{c[g.K]=g.V}),i[a]={data:c,renderData:u[s]}}}),i})}const Nt=kt.authServerContext;function av(){return he.get(`${Nt}/manage/menu/getAllPermission`)}function fv(){return he.get(`${Nt}/manage/upmsMenuHistory/list`)}function sv(n){return he.post(`${Nt}/manage/upmsMenuHistory/add`,null,{params:n})}function lv(n){return he.get(`${Nt}/manage/upmsMenuHistory/delete/`+n)}function cv(){return he.get(`${Nt}/manage/upmsMenuCollect/list`)}function pv(n){return he.post(`${Nt}/manage/upmsMenuCollect/add`,null,{params:n})}function hv(n){return he.get(`${Nt}/manage/upmsMenuCollect/delete/`+n)}function gv(n){return he.post(`${Nt}/manage/upmsMenuCollect/remove`,null,{params:n})}function dv(){return he.get(`${Nt}/manage/app/list`)}function vv(){return he.get(`${Nt}/ipm/bc/basic/item/getMaxTabNum`)}const yv=kt.ossServerContext;function mv(n){return he.get(`${yv}/oss/file/get/${n}`)}const zn=kt.authServerContext;function _v({userName:n,password:i,validCodeId:u,validCodeInput:a}){const s={username:n,password:i,validCodeId:u,validCodeInput:a};return he.formPost(zn+"/sso/login",s)}function wv(){return he.get(`${zn}/manage/user/getCurrentInfo`)}function Ev(){return he.get(`${zn}/anon/user/getGlobalPolicy`)}function Sv(n){return he.post(`${zn}/manage/user/updatePassword`,n)}function Av(n){return`${zn}/anon/user/getCaptcha/`+n}function bv(){return he.get(`${zn}/sso/logout`)}const Ov=kt.ismAmServerContext;function Cv(n){return he.get(`${Ov}/tree/com/listComTree`,{params:n})}const ci=kt.ismAmServerContext;function xv(n){return he.get(`${ci}/tree/item/listItemTree`,{params:n})}function Tv(n){return he.get(`${ci}/tree/item/listComTree`,{params:n})}function $v(n){return he.get(`${ci}/tree/item/listComTree`,{params:n})}function Iv(n){return he.get(`${ci}/tree/item/listComTree`,{params:n})}const Fv=kt.ucExtServerContext;function Pv(n){return he.get(`${Fv}/tree/uc-user/listUserTree`,{params:n})}O.CONTENT_TYPE=ai,O.IS_OR_NOT_ENUM=a0,O.IS_OR_NOT_ENUM_KEY=ts,O.IS_OR_NOT_ENUM_LIST=ns,O.MIME_TYPE=M0,O.UC_ENUM=f0,O.addMenuCollectApi=pv,O.axios=he,O.checkIdCard=j0,O.checkPhone=ev,O.checkTel=tv,O.checkVehicleNo=nv,O.clearPermissionCache=Qc,O.clearSessionStorage=kr,O.clearUserInfoCache=jc,O.config=kt,O.cryptor=Rd,O.deleteMenuCollectApi=hv,O.deleteMenuHistoryApi=lv,O.exportJsonToExcel=S0,O.flattenRow2ColumnData=J0,O.formatDate=Nd,O.formatDateChinese=Bd,O.formatDecimal=N0,O.formatHalfYear=I0,O.formatQuarter=k0,O.getAppListApi=dv,O.getCaptchaURL=Av,O.getContentType=Hu,O.getDictApi=gs,O.getDictMapApi=ov,O.getDictsMapApi=uv,O.getExcelColumnIdx=b0,O.getGlobalPolicyApi=Ev,O.getHalfYear=$0,O.getHalfYearBeginMonth=F0,O.getHalfYearEndMonth=P0,O.getHalfYearNum=os,O.getItem=Iv,O.getLocalStorage=fr,O.getMaxTabNumValueApi=vv,O.getMenuCollectApi=cv,O.getMenuHistoryApi=fv,O.getOssFileApi=mv,O.getPermissionApi=av,O.getPermissionCache=lr,O.getPriceCode=Tv,O.getPriceSeg=$v,O.getQuarter=Y0,O.getQuarterBeginMonth=G0,O.getQuarterEndMonth=q0,O.getQuarterNum=ls,O.getSessionStorage=me,O.getToken=Lf,O.getType=Xf,O.getUrlParams=Pf,O.getUserInfoApi=wv,O.getUserInfoCache=Zc,O.guid=X0,O.importJsonFromExcel=A0,O.isArguments=Kd,O.isArray=Ju,O.isArrayLike=fi,O.isBoolean=Yd,O.isDate=zd,O.isDecimal=n0,O.isElement=Qd,O.isEmpty=Zd,O.isEqual=li,O.isEqualWith=o0,O.isError=Vd,O.isEven=Xd,O.isFinite=e0,O.isFunction=es,O.isInteger=t0,O.isNegative=r0,O.isNil=Zf,O.isNull=Vf,O.isNumber=an,O.isNumberEqual=u0,O.isObject=kd,O.isObjectLike=si,O.isOdd=jd,O.isPlainObject=Gd,O.isPositive=i0,O.isPromise=qd,O.isPrototype=jf,O.isRegExp=Jd,O.isString=Ku,O.isType=bt,O.isUndefined=Qf,O.listComTreeApi=Cv,O.listItemTreeApi=xv,O.listUserTreeApi=Pv,O.loginApi=_v,O.logoutApi=bv,O.menuHistoryApi=sv,O.numToChineseNumerals=U0,O.numToDX=L0,O.off=T0,O.on=x0,O.quarter2Chinese=ss,O.removeLocalStorage=Mn,O.removeMenuCollectApi=gv,O.removeSessionStorage=Ze,O.renderColumnEnums=c0,O.renderEnumData=l0,O.renderEnumList=s0,O.renderFieldEnums=p0,O.responseInterceptors=Uf,O.round=as,O.row2column=z0,O.setContentType=Df,O.setLocalStorage=sr,O.setPermissionCache=Vc,O.setSessionStorage=Se,O.setToken=yd,O.setUserInfoCache=Xc,O.str2Date=Ld,O.toChies=R0,O.toFixed=B0,O.toThousands=D0,O.updatePasswordApi=Sv,O.useConfig=Bf,O.uuid=Z0,Object.defineProperties(O,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
36
+ }`;var ne=Yc(function(){return ce(p,G+"return "+F).apply(u,v)});if(ne.source=F,sa(ne))throw ne;return ne}function AS(e){return pe(e).toLowerCase()}function bS(e){return pe(e).toUpperCase()}function OS(e,t,r){if(e=pe(e),e&&(r||t===u))return Zs(e);if(!e||!(t=ft(t)))return e;var o=$t(e),f=$t(t),p=Xs(o,f),v=js(o,f)+1;return dn(o,p,v).join("")}function CS(e,t,r){if(e=pe(e),e&&(r||t===u))return e.slice(0,tl(e)+1);if(!e||!(t=ft(t)))return e;var o=$t(e),f=js(o,$t(t))+1;return dn(o,0,f).join("")}function xS(e,t,r){if(e=pe(e),e&&(r||t===u))return e.replace(fo,"");if(!e||!(t=ft(t)))return e;var o=$t(e),f=Xs(o,$t(t));return dn(o,f).join("")}function TS(e,t){var r=ve,o=fe;if(Oe(t)){var f="separator"in t?t.separator:f;r="length"in t?te(t.length):r,o="omission"in t?ft(t.omission):o}e=pe(e);var p=e.length;if(Qn(e)){var v=$t(e);p=v.length}if(r>=p)return e;var m=r-Zn(o);if(m<1)return o;var b=v?dn(v,0,m).join(""):e.slice(0,m);if(f===u)return b+o;if(v&&(m+=b.length-m),la(f)){if(e.slice(m).search(f)){var T,$=b;for(f.global||(f=Co(f.source,pe(_s.exec(f))+"g")),f.lastIndex=0;T=f.exec($);)var F=T.index;b=b.slice(0,F===u?m:F)}}else if(e.indexOf(ft(f),m)!=m){var U=b.lastIndexOf(f);U>-1&&(b=b.slice(0,U))}return b+o}function $S(e){return e=pe(e),e&&Wv.test(e)?e.replace(vs,iy):e}var IS=ir(function(e,t,r){return e+(r?" ":"")+t.toUpperCase()}),ha=kl("toUpperCase");function Hc(e,t,r){return e=pe(e),t=r?u:t,t===u?j1(e)?ay(e):G1(e):e.match(t)||[]}var Yc=ie(function(e,t){try{return ot(e,u,t)}catch(r){return sa(r)?r:new Z(r)}}),FS=Xt(function(e,t){return dt(t,function(r){r=Ht(r),Qt(e,r,aa(e[r],e))}),e});function PS(e){var t=e==null?0:e.length,r=K();return e=t?Ee(e,function(o){if(typeof o[1]!="function")throw new vt(g);return[r(o[0]),o[1]]}):[],ie(function(o){for(var f=-1;++f<t;){var p=e[f];if(ot(p[0],this,o))return ot(p[1],this,o)}})}function MS(e){return im(mt(e,w))}function ga(e){return function(){return e}}function DS(e,t){return e==null||e!==e?t:e}var RS=ql(),LS=ql(!0);function nt(e){return e}function da(e){return El(typeof e=="function"?e:mt(e,w))}function NS(e){return Al(mt(e,w))}function BS(e,t){return bl(e,mt(t,w))}var US=ie(function(e,t){return function(r){return Lr(r,e,t)}}),WS=ie(function(e,t){return function(r){return Lr(e,r,t)}});function va(e,t,r){var o=Be(t),f=Ri(t,o);r==null&&!(Oe(t)&&(f.length||!o.length))&&(r=t,t=e,e=this,f=Ri(t,Be(t)));var p=!(Oe(r)&&"chain"in r)||!!r.chain,v=en(e);return dt(f,function(m){var b=t[m];e[m]=b,v&&(e.prototype[m]=function(){var T=this.__chain__;if(p||T){var $=e(this.__wrapped__),F=$.__actions__=je(this.__actions__);return F.push({func:b,args:arguments,thisArg:e}),$.__chain__=T,$}return b.apply(e,sn([this.value()],arguments))})}),e}function HS(){return We._===this&&(We._=hy),this}function ya(){}function YS(e){return e=te(e),ie(function(t){return Ol(t,e)})}var kS=Jo(Ee),GS=Jo(zs),qS=Jo(_o);function kc(e){return ta(e)?wo(Ht(e)):Em(e)}function zS(e){return function(t){return e==null?u:$n(e,t)}}var KS=Kl(),JS=Kl(!0);function ma(){return[]}function _a(){return!1}function VS(){return{}}function QS(){return""}function ZS(){return!0}function XS(e,t){if(e=te(e),e<1||e>B)return[];var r=ue,o=ze(e,ue);t=K(t),e-=ue;for(var f=Ao(o,t);++r<e;)t(r);return f}function jS(e){return ee(e)?Ee(e,Ht):st(e)?[e]:je(sc(pe(e)))}function eA(e){var t=++cy;return pe(e)+t}var tA=Hi(function(e,t){return e+t},0),nA=Vo("ceil"),rA=Hi(function(e,t){return e/t},1),iA=Vo("floor");function uA(e){return e&&e.length?Di(e,nt,Do):u}function oA(e,t){return e&&e.length?Di(e,K(t,2),Do):u}function aA(e){return Vs(e,nt)}function fA(e,t){return Vs(e,K(t,2))}function sA(e){return e&&e.length?Di(e,nt,Bo):u}function lA(e,t){return e&&e.length?Di(e,K(t,2),Bo):u}var cA=Hi(function(e,t){return e*t},1),pA=Vo("round"),hA=Hi(function(e,t){return e-t},0);function gA(e){return e&&e.length?So(e,nt):0}function dA(e,t){return e&&e.length?So(e,K(t,2)):0}return l.after=Nw,l.ary=wc,l.assign=bE,l.assignIn=Dc,l.assignInWith=eu,l.assignWith=OE,l.at=CE,l.before=Ec,l.bind=aa,l.bindAll=FS,l.bindKey=Sc,l.castArray=Vw,l.chain=yc,l.chunk=i_,l.compact=u_,l.concat=o_,l.cond=PS,l.conforms=MS,l.constant=ga,l.countBy=gw,l.create=xE,l.curry=Ac,l.curryRight=bc,l.debounce=Oc,l.defaults=TE,l.defaultsDeep=$E,l.defer=Bw,l.delay=Uw,l.difference=a_,l.differenceBy=f_,l.differenceWith=s_,l.drop=l_,l.dropRight=c_,l.dropRightWhile=p_,l.dropWhile=h_,l.fill=g_,l.filter=vw,l.flatMap=_w,l.flatMapDeep=ww,l.flatMapDepth=Ew,l.flatten=hc,l.flattenDeep=d_,l.flattenDepth=v_,l.flip=Ww,l.flow=RS,l.flowRight=LS,l.fromPairs=y_,l.functions=LE,l.functionsIn=NE,l.groupBy=Sw,l.initial=__,l.intersection=w_,l.intersectionBy=E_,l.intersectionWith=S_,l.invert=UE,l.invertBy=WE,l.invokeMap=bw,l.iteratee=da,l.keyBy=Ow,l.keys=Be,l.keysIn=tt,l.map=Ji,l.mapKeys=YE,l.mapValues=kE,l.matches=NS,l.matchesProperty=BS,l.memoize=Qi,l.merge=GE,l.mergeWith=Rc,l.method=US,l.methodOf=WS,l.mixin=va,l.negate=Zi,l.nthArg=YS,l.omit=qE,l.omitBy=zE,l.once=Hw,l.orderBy=Cw,l.over=kS,l.overArgs=Yw,l.overEvery=GS,l.overSome=qS,l.partial=fa,l.partialRight=Cc,l.partition=xw,l.pick=KE,l.pickBy=Lc,l.property=kc,l.propertyOf=zS,l.pull=C_,l.pullAll=dc,l.pullAllBy=x_,l.pullAllWith=T_,l.pullAt=$_,l.range=KS,l.rangeRight=JS,l.rearg=kw,l.reject=Iw,l.remove=I_,l.rest=Gw,l.reverse=ua,l.sampleSize=Pw,l.set=VE,l.setWith=QE,l.shuffle=Mw,l.slice=F_,l.sortBy=Lw,l.sortedUniq=B_,l.sortedUniqBy=U_,l.split=_S,l.spread=qw,l.tail=W_,l.take=H_,l.takeRight=Y_,l.takeRightWhile=k_,l.takeWhile=G_,l.tap=uw,l.throttle=zw,l.thru=Ki,l.toArray=Fc,l.toPairs=Nc,l.toPairsIn=Bc,l.toPath=jS,l.toPlainObject=Mc,l.transform=ZE,l.unary=Kw,l.union=q_,l.unionBy=z_,l.unionWith=K_,l.uniq=J_,l.uniqBy=V_,l.uniqWith=Q_,l.unset=XE,l.unzip=oa,l.unzipWith=vc,l.update=jE,l.updateWith=eS,l.values=ar,l.valuesIn=tS,l.without=Z_,l.words=Hc,l.wrap=Jw,l.xor=X_,l.xorBy=j_,l.xorWith=ew,l.zip=tw,l.zipObject=nw,l.zipObjectDeep=rw,l.zipWith=iw,l.entries=Nc,l.entriesIn=Bc,l.extend=Dc,l.extendWith=eu,va(l,l),l.add=tA,l.attempt=Yc,l.camelCase=uS,l.capitalize=Uc,l.ceil=nA,l.clamp=nS,l.clone=Qw,l.cloneDeep=Xw,l.cloneDeepWith=jw,l.cloneWith=Zw,l.conformsTo=eE,l.deburr=Wc,l.defaultTo=DS,l.divide=rA,l.endsWith=oS,l.eq=Ft,l.escape=aS,l.escapeRegExp=fS,l.every=dw,l.find=yw,l.findIndex=cc,l.findKey=IE,l.findLast=mw,l.findLastIndex=pc,l.findLastKey=FE,l.floor=iA,l.forEach=mc,l.forEachRight=_c,l.forIn=PE,l.forInRight=ME,l.forOwn=DE,l.forOwnRight=RE,l.get=ca,l.gt=tE,l.gte=nE,l.has=BE,l.hasIn=pa,l.head=gc,l.identity=nt,l.includes=Aw,l.indexOf=m_,l.inRange=rS,l.invoke=HE,l.isArguments=Pn,l.isArray=ee,l.isArrayBuffer=rE,l.isArrayLike=et,l.isArrayLikeObject=Te,l.isBoolean=iE,l.isBuffer=vn,l.isDate=uE,l.isElement=oE,l.isEmpty=aE,l.isEqual=fE,l.isEqualWith=sE,l.isError=sa,l.isFinite=lE,l.isFunction=en,l.isInteger=xc,l.isLength=Xi,l.isMap=Tc,l.isMatch=cE,l.isMatchWith=pE,l.isNaN=hE,l.isNative=gE,l.isNil=vE,l.isNull=dE,l.isNumber=$c,l.isObject=Oe,l.isObjectLike=Ce,l.isPlainObject=Yr,l.isRegExp=la,l.isSafeInteger=yE,l.isSet=Ic,l.isString=ji,l.isSymbol=st,l.isTypedArray=or,l.isUndefined=mE,l.isWeakMap=_E,l.isWeakSet=wE,l.join=A_,l.kebabCase=sS,l.last=wt,l.lastIndexOf=b_,l.lowerCase=lS,l.lowerFirst=cS,l.lt=EE,l.lte=SE,l.max=uA,l.maxBy=oA,l.mean=aA,l.meanBy=fA,l.min=sA,l.minBy=lA,l.stubArray=ma,l.stubFalse=_a,l.stubObject=VS,l.stubString=QS,l.stubTrue=ZS,l.multiply=cA,l.nth=O_,l.noConflict=HS,l.noop=ya,l.now=Vi,l.pad=pS,l.padEnd=hS,l.padStart=gS,l.parseInt=dS,l.random=iS,l.reduce=Tw,l.reduceRight=$w,l.repeat=vS,l.replace=yS,l.result=JE,l.round=pA,l.runInContext=S,l.sample=Fw,l.size=Dw,l.snakeCase=mS,l.some=Rw,l.sortedIndex=P_,l.sortedIndexBy=M_,l.sortedIndexOf=D_,l.sortedLastIndex=R_,l.sortedLastIndexBy=L_,l.sortedLastIndexOf=N_,l.startCase=wS,l.startsWith=ES,l.subtract=hA,l.sum=gA,l.sumBy=dA,l.template=SS,l.times=XS,l.toFinite=tn,l.toInteger=te,l.toLength=Pc,l.toLower=AS,l.toNumber=Et,l.toSafeInteger=AE,l.toString=pe,l.toUpper=bS,l.trim=OS,l.trimEnd=CS,l.trimStart=xS,l.truncate=TS,l.unescape=$S,l.uniqueId=eA,l.upperCase=IS,l.upperFirst=ha,l.each=mc,l.eachRight=_c,l.first=gc,va(l,function(){var e={};return Ut(l,function(t,r){de.call(l.prototype,r)||(e[r]=t)}),e}(),{chain:!1}),l.VERSION=a,dt(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){l[e].placeholder=l}),dt(["drop","take"],function(e,t){se.prototype[e]=function(r){r=r===u?1:Me(te(r),0);var o=this.__filtered__&&!t?new se(this):this.clone();return o.__filtered__?o.__takeCount__=ze(r,o.__takeCount__):o.__views__.push({size:ze(r,ue),type:e+(o.__dir__<0?"Right":"")}),o},se.prototype[e+"Right"]=function(r){return this.reverse()[e](r).reverse()}}),dt(["filter","map","takeWhile"],function(e,t){var r=t+1,o=r==z||r==R;se.prototype[e]=function(f){var p=this.clone();return p.__iteratees__.push({iteratee:K(f,3),type:r}),p.__filtered__=p.__filtered__||o,p}}),dt(["head","last"],function(e,t){var r="take"+(t?"Right":"");se.prototype[e]=function(){return this[r](1).value()[0]}}),dt(["initial","tail"],function(e,t){var r="drop"+(t?"":"Right");se.prototype[e]=function(){return this.__filtered__?new se(this):this[r](1)}}),se.prototype.compact=function(){return this.filter(nt)},se.prototype.find=function(e){return this.filter(e).head()},se.prototype.findLast=function(e){return this.reverse().find(e)},se.prototype.invokeMap=ie(function(e,t){return typeof e=="function"?new se(this):this.map(function(r){return Lr(r,e,t)})}),se.prototype.reject=function(e){return this.filter(Zi(K(e)))},se.prototype.slice=function(e,t){e=te(e);var r=this;return r.__filtered__&&(e>0||t<0)?new se(r):(e<0?r=r.takeRight(-e):e&&(r=r.drop(e)),t!==u&&(t=te(t),r=t<0?r.dropRight(-t):r.take(t-e)),r)},se.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},se.prototype.toArray=function(){return this.take(ue)},Ut(se.prototype,function(e,t){var r=/^(?:filter|find|map|reject)|While$/.test(t),o=/^(?:head|last)$/.test(t),f=l[o?"take"+(t=="last"?"Right":""):t],p=o||/^find/.test(t);!f||(l.prototype[t]=function(){var v=this.__wrapped__,m=o?[1]:arguments,b=v instanceof se,T=m[0],$=b||ee(v),F=function(oe){var le=f.apply(l,sn([oe],m));return o&&U?le[0]:le};$&&r&&typeof T=="function"&&T.length!=1&&(b=$=!1);var U=this.__chain__,G=!!this.__actions__.length,J=p&&!U,ne=b&&!G;if(!p&&$){v=ne?v:new se(this);var V=e.apply(v,m);return V.__actions__.push({func:Ki,args:[F],thisArg:u}),new yt(V,U)}return J&&ne?e.apply(this,m):(V=this.thru(F),J?o?V.value()[0]:V.value():V)})}),dt(["pop","push","shift","sort","splice","unshift"],function(e){var t=_i[e],r=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",o=/^(?:pop|shift)$/.test(e);l.prototype[e]=function(){var f=arguments;if(o&&!this.__chain__){var p=this.value();return t.apply(ee(p)?p:[],f)}return this[r](function(v){return t.apply(ee(v)?v:[],f)})}}),Ut(se.prototype,function(e,t){var r=l[t];if(r){var o=r.name+"";de.call(tr,o)||(tr[o]=[]),tr[o].push({name:t,func:r})}}),tr[Wi(u,M).name]=[{name:"wrapper",func:u}],se.prototype.clone=$y,se.prototype.reverse=Iy,se.prototype.value=Fy,l.prototype.at=ow,l.prototype.chain=aw,l.prototype.commit=fw,l.prototype.next=sw,l.prototype.plant=cw,l.prototype.reverse=pw,l.prototype.toJSON=l.prototype.valueOf=l.prototype.value=hw,l.prototype.first=l.prototype.head,$r&&(l.prototype[$r]=lw),l},Xn=fy();bn?((bn.exports=Xn)._=Xn,go._=Xn):We._=Xn}).call(yn)})(Vu,Vu.exports);var Ae=Vu.exports;const ts="IS_ENUM",a0={1:"\u662F",0:"\u5426"},ns=[{K:"1",V:"\u662F"},{K:"0",V:"\u5426"}],f0={MANAGE_UNIT_ID:"00000000000000000000000020370001",ORG_CODE_ADMIN:"default",ORG_CODE_MKT:"08",ORG_CODE_LOG:"08",ORG_CODE_ACTIVITY:"08",ADMIN_LEVEL_IND:"01",ADMIN_LEVEL_CENTER:"02",ADMIN_LEVEL_FAC:"03",ADMIN_LEVEL_DIST:"04",ADMIN_LEVEL_COMMON_DEPT:"08",ADMIN_LEVEL_COMMON_POST:"80",LEVEL_IND:"01",LEVEL_CENTER:"02",LEVEL_FAC:"02",LEVEL_DIST:"04",LEVEL_CIGAR_DIST:"05",LEVEL_COMMON_DEPT:"03",LEVEL_COMMON_POST:"80",LEVEL_DIST_MANAGE_POST:"81",LEVEL_CUST_MANAGE_POST:"82",LEVEL_CIGAR_DIST_MANAGE_POST:"83",LEVEL_CIGAR_CUST_MANAGE_POST:"84",LEVEL_INTERNAL_POST:"85"};function s0(n=[],i="K",u="V"){return n.map(a=>({K:a[i],V:a[u]}))}function l0(n=[],i="K",u="V"){return n.reduce(a=>Mt(pt({},a),{[a[i]]:a[u]}),{})}function c0(n=[],i={}){const u=Ae.cloneDeep(n),a=Object.keys(i);return u.forEach(s=>{const c=s.field||s.key,g=["enum","select"].includes(s.type);if(a.includes(c)&&g){s.cellRendererParams||(s.cellRendererParams={});const h=i[c];s.type==="enum"?Ju(h)?s.cellRendererParams.enumList=h:s.cellRendererParams.enumData=h:s.type==="select"&&(s.cellRendererParams.datas=h)}}),u}function p0(n=[],i={}){const u=Ae.cloneDeep(n),a=Object.keys(i);return u.forEach(s=>{const c=s.formKey;if(a.includes(c)){const g=i[c];Ju(g)?s.enumList=g:s.enumData=g}}),u}const h0={bold:!0,fontSize:"14",horizontalAlignment:"center",verticalAlignment:"center"},g0={fontSize:"10",horizontalAlignment:"left",verticalAlignment:"center",topBorder:!0,bottomBorder:!0},d0={fontSize:"10",horizontalAlignment:"right",verticalAlignment:"center",topBorder:!0,bottomBorder:!0},v0={bold:!0,fontSize:"10",horizontalAlignment:"center",verticalAlignment:"center",fill:"bdc3c7",topBorder:!0,bottomBorder:!0,leftBorder:!0,rightBorder:!0},Sr={fontSize:"10",horizontalAlignment:"center",verticalAlignment:"center",topBorder:!0,bottomBorder:!0,leftBorder:!0,rightBorder:!0},y0=27,m0=18,_0=18,w0=18;function rs({columns:n,datas:i}){var u=Ae.cloneDeep(n),a=Ae.cloneDeep(i);Ae.remove(u,P=>{var L;return P.cellClass&&((L=P==null?void 0:P.cellClass)==null?void 0:L.indexOf("button"))!=-1}),a.forEach((P,L)=>{P.__seq=L+1}),Ae.forEach(u,P=>{var L;P.cellClass&&((L=P==null?void 0:P.cellClass)==null?void 0:L.indexOf("enum"))!=-1&&a.forEach(N=>{N[P.field]=P.cellRendererParams.datas[N[P.field]]})});const s=P=>{if(P.children){var L=1+Math.max(...P.children.map(N=>s(N)));return P.deepth=L,L}else return 1};var c=Math.max(...u.map(P=>{var L=s(P);return P.deepth=L,L}));console.log("calc deepth = ",c);const g=P=>{if(P.children){var L=Ae.sum(P.children.map(N=>g(N)));return P.width=L,L}else return 1};var h=Ae.sum(u.map(P=>{var L=g(P);return P.width=L,L}));console.log("calc width = ",h),console.log("now columnsClo is ",u);var d=[],y=1,E=0;function w(P,L){E+=1,P.reduce((N,re,X)=>(re.children?(N.push({text:re.excelName||re.headerName||re.title,srow:E,scol:y,erow:E,ecol:y+re.width-1}),w(re.children,N)):(N.push({text:re.excelName||re.headerName||re.title,srow:E,scol:y,erow:c,ecol:y}),y+=1),N),L),E-=1}w(u,d);var _=[];function A(P,L){P.reduce((N,re)=>(re.children?A(re.children,N):N.push(re),N),L)}A(u,_);var I=_.map(P=>P.align||"left"),D=_.map(P=>P.align=="right"||P.align=="rightNum"?"n":"s"),W=_.map(P=>P.excelWidth?P.excelWidth:P.width?Math.floor(P.width/10):10),M=_.map(P=>P.numberFormat===void 0?P.align=="rightNum"?"#,##0.0000":P.align=="right"?"#,##0.00":"":P.numberFormat);_.map((P,L)=>{P.field=P.field?P.field:P.key;var N=P.excelName||P.headerName||P.title;N=N.replace(/<br\/>/g,""),P.columnWidth!==void 0?W[L]=P.columnWidth:N&&W[L]<N.length*2&&(W[L]=N.length*2)});var q=a.map(P=>_.map((L,N)=>{L.columnWidth!==void 0?W[N]=L.columnWidth:P[L.field]&&W[N]<(""+P[L.field]).length*2&&(W[N]=(""+P[L.field]).length*2);let re=null;L.cellStyle&&(L.cellStyle instanceof Function?re=L.cellStyle(P[L.field],P,a):re=L.cellStyle);let X=null;return L.formula&&(L.formula instanceof Function?X=L.formula(P[L.field],P,a):X=L.formula),{cellStyle:re,formula:X,value:P[L.field]}}));return{deepth:c,columnAlign:I,columnType:D,columnWidth:W,exportData:q,numberFormat:M,columnTitle:d,columnsCalc:_}}var is=[];function E0(n){if(n.rowSpanColumns){let a=function(s,c){var g=Ae.findIndex(n.columns,{field:s});if(!i[s]){var h=[],d="CUR_VAL",y={};Ae.forEach(n.datas,function(E,w){var _=c?E[s]!=d||w==(u[""+w]||{}).first:E[s]!=d;if(_){if(!c&&y.first!==void 0)for(var A=y.first;A<=y.last;A++)u[""+A]={first:y.first,last:y.last};d=E[s],y={col:s,val:d,first:w,last:w,rowSpan:1},h.push(y)}else if(y.last=w,y.rowSpan=y.last-y.first+1,h.push({rowSpan:0}),!c&&w==n.datas.length-1)for(var A=y.first;A<=y.last;A++)u[""+A]={first:y.first,last:y.last}}),i[s]=h,Ae.forEach(h,function(E,w){E.rowSpan>1&&is.push({mergeRowS:w,mergeRowE:w+E.rowSpan-1,megerColS:g,megerColE:g})})}};n.rowSpanIndexCol&&(n.rowSpanIndexCol=n.rowSpanColumns[0]);var i={},u={};a(n.rowSpanIndexCol),Ae.forEach(n.rowSpanColumns,function(s){a(s,!0)})}}function S0(n){var i=rs(n);console.log("calcExportDatas",i);var u=n.title,a=i.deepth,s=n.columnAlign||i.columnAlign,c=n.columnType||i.columnType,g=i.columnTitle,h=n.columnWidth||i.columnWidth,d=s.length,y=n.paramLeft,E=n.paramRight,w=i.exportData,_=n.numberFormat||i.numberFormat;XlsxPopulate.fromBlankAsync().then(A=>{var I=A.sheet("Sheet1");I.name(u);for(var D=0;D<d;D++)I.column(D+1).width(h[D]==0?10:h[D]);var W=I.range(1,1,1,d);W.merged(!0),W.style(h0),W.cell(0,0).value(u),I.row(1).height(y0);var M=2;if(!!n.paramLeft||!!n.paramRight){var q=I.range(2,1,2,Math.round(d/2));q.cell(0,0).value(y||""),q.merged(!0),q.style(g0);var P=I.range(2,Math.round(d/2)+1,2,d);P.cell(0,0).value(E||""),P.merged(!0),P.style(d0),I.row(2).height(m0),M+=1}g.forEach(X=>{var ge=I.range(X.srow+M-1,X.scol,X.erow+M-1,X.ecol);ge.merged(!0),ge.style(v0),ge.cell(0,0).value(X.text.replace(/<br\/>/g,""))});for(let X=0;X<a;X++)I.row(M+X).height(_0);M+=a;for(var D=0;D<w.length;D++){for(var L=w[D],N=0;N<L.length;N++)if(c[N]==="s"&&L[N]?(I.cell(M+D,N+1).value(L[N].value),Sr.numberFormat=""):c[N]==="n"&&L[N]?(I.cell(M+D,N+1).value(L[N].value?parseFloat(L[N].value):L[N].value),Sr.numberFormat=_[N]):I.cell(M+D,N+1).value(""),L[N].formula&&I.cell(M+D,N+1).formula(L[N].formula),Sr.horizontalAlignment=s[N],L[N].cellStyle){let ge=Ae.merge({},Sr,L[N].cellStyle);I.cell(M+D,N+1).style(ge)}else I.cell(M+D,N+1).style(Sr);if(n.rowColor&&D%2!=0){var re=I.range(M+D,1,M+D,d);re.style({fill:"f8f8f9"})}I.row(M+D).height(w0)}n.rowSpanColumns&&(E0(Mt(pt({},n),{columns:i.columnsCalc})),Ae.forEach(is,function(X){var ge=I.range(X.mergeRowS+M,X.megerColS+1,X.mergeRowE+M,X.megerColE+1);ge.merged(!0)})),I.freezePanes(n.leftColumns||0,(n.topRows||0)+M-1),A.outputAsync().then(function(X){if(window.navigator&&window.navigator.msSaveOrOpenBlob)window.navigator.msSaveOrOpenBlob(X,u+".xlsx");else{var ge=window.URL.createObjectURL(X),xe=document.createElement("a");document.body.appendChild(xe),xe.href=ge,xe.download=u+".xlsx",xe.click(),window.URL.revokeObjectURL(ge),document.body.removeChild(xe)}})}).catch(A=>console.log(A))}function A0(n){return new Promise((i,u)=>{var a=rs(n),s=a.deepth;a.exportData;const c=new FileReader;c.onload=g=>nu(this,null,function*(){XlsxPopulate.fromDataAsync(g.target.result).then(h=>{var _;var d=h.sheet(0),y=2;(!!n.paramLeft||!!n.paramRight)&&(y+=1),y+=s;let E=[];for(let A=y;A<d._rows.length;A++){var w=d.row(A);let I={};E.push(I);for(let D=1;D<w._cells.length;D++){let W=(_=w._cells[D])==null?void 0:_._value;if(D>a.columnsCalc.length)continue;let M=a.columnsCalc[D-1];I[M.field]=W}}i(E)}).catch(h=>console.log(h))}),c.readAsArrayBuffer(n.file)})}const us=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];function b0(n){if(!n)return"";let i="";const u=us.length;for(;n>=0;){const a=n%u;i=us[a]+i,n=parseInt((n-a)/u)-1}return i}function O0(){return document.addEventListener?function(n,i,u){n&&i&&u&&n.addEventListener(i,u,!1)}:function(n,i,u){n&&i&&u&&n.attachEvent("on"+i,u)}}function C0(){return window.document.removeEventListener?function(n,i,u){n&&i&&n.removeEventListener(i,u,!1)}:function(n,i,u){n&&i&&n.detachEvent("on"+i,u)}}function x0(n,i,u){const a=O0();return a(n,i,u),a}function T0(n,i,u){const a=C0();return a(n,i,u),a}function $0(n){if(!n||n.length<6)return"";const i=n.substring(0,4),u=n.substring(4,6),a=os(parseInt(u));return`${i}H${a}`}function os(n){if(typeof n=="string"){if(isNaN(parseInt(n)))return 0;n=parseInt(n)}return n<=6?1:2}function I0(n){if(!n||n.length<6)return n;const i=n.substring(0,4),a=parseInt(n.substring(5))===1?"\u4E0A\u534A\u5E74":"\u4E0B\u534A\u5E74";return`${i}${a}`}function F0(n){if(!n||n.length<6)return n;const i=n.substring(0,4),a=parseInt(n.substring(5))*6-5,s=a<10?`0${a}`:`${a}`;return`${i}${s}`}function P0(n){if(!n||n.length<6)return n;const i=n.substring(0,4),a=parseInt(n.substring(5))*2,s=a<10?`0${a}`:`${a}`;return`${i}${s}`}const M0={aac:"audio/aac",abw:"application/x-abiword",arc:"application/x-freearc",avi:"video/x-msvideo",azw:"application/vnd.amazon.ebook",bin:"application/octet-stream",bmp:"image/bmp",bz:"application/x-bzip",bz2:"application/x-bzip2",csh:"application/x-csh",css:"text/css",csv:"text/csv",doc:"application/msword",docx:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",eot:"application/vnd.ms-fontobject",epub:"application/epub+zip",gif:"image/gif",html:"text/html",ico:"image/vnd.microsoft.icon",ics:"text/calendar",jar:"application/java-archive",jpg:"image/jpeg",jpeg:"image/jpeg",js:"text/javascript",json:"application/json",jsonld:"application/ld+json",mid:"audio/midi",midi:"audio/x-midi",mjs:"text/javascript",mp3:"audio/mpeg",mpeg:"video/mpeg",mpkg:"application/vnd.apple.installer+xml",odp:"application/vnd.oasis.opendocument.presentation",ods:"application/vnd.oasis.opendocument.spreadsheet",odt:"application/vnd.oasis.opendocument.text",oga:"audio/ogg",ogv:"video/ogg",ogx:"application/ogg",otf:"font/otf",png:"image/png",pdf:"application/pdf",ppt:"application/vnd.ms-powerpoint",pptx:"application/vnd.openxmlformats-officedocument.presentationml.presentation",rar:"application/x-rar-compressed",rtf:"application/rtf",sh:"application/x-sh",svg:"image/svg+xml",swf:"application/x-shockwave-flash",tar:"application/x-tar",tiff:"image/tiff",ttf:"font/ttf",txt:"text/plain",vsd:"application/vnd.visio",wav:"audio/wav",weba:"audio/webm",webm:"video/webm",webp:"image/webp",woff:"font/woff",woff2:"font/woff2",xhtml:"application/xhtml+xml",xls:"application/vnd.ms-excel",xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",xul:"application/vnd.mozilla.xul+xml",zip:"application/zip","7z":"application/x-7z-compressed"};function D0(n){let i="";for(n=(n||0).toString();n.length>3;)i=","+n.slice(-3)+i,n=n.slice(0,n.length-3);return n&&(i=n+i),i}function R0(n){const i=n.length,u=["\u96F6","\u58F9","\u8D30","\u53C1","\u8086","\u4F0D","\u9646","\u67D2","\u634C","\u7396"],a=["\u4EDF","\u4F70","\u62FE","\u4EBF","\u4EDF","\u4F70","\u62FE","\u4E07","\u4EDF","\u4F70","\u62FE"];let s=[],c=[],g="";for(let h=0;h<i;h++)s.push(parseInt(n[h])),c[h]=u[s[h]];for(let h=i-1,d=1;h>0;h--)c.splice(h,0,a[a.length-d++]);return g=c.join(""),i>=1&&(g+="\u5143\u6574"),g}function L0(n){if(!/^(0|[1-9]\d*)(\.\d+)?$/.test(n))return"\u6570\u636E\u975E\u6CD5";let i="\u5343\u767E\u62FE\u4EBF\u5343\u767E\u62FE\u4E07\u5343\u767E\u62FE\u5143\u89D2\u5206",u="";n+="00";let a=n.indexOf(".");a>=0&&(n=n.substring(0,a)+n.substr(a+1,2)),i=i.substr(i.length-n.length);for(let s=0;s<n.length;s++)u+="\u96F6\u58F9\u8D30\u53C1\u8086\u4F0D\u9646\u67D2\u634C\u7396".charAt(parseInt(n.charAt(s)))+i.charAt(s);return u.replace(/零(千|百|拾|角)/g,"\u96F6").replace(/(零)+/g,"\u96F6").replace(/零(万|亿|元)/g,"$1").replace(/(亿)万|壹(拾)/g,"$1$2").replace(/^元零?|零分/g,"").replace(/元$/g,"\u5143\u6574")}function N0(n,i=2){n=n.toString();let u=n.indexOf(".");return u!==-1?n=n.substring(0,i+u+1):n=n.substring(0),parseFloat(n).toFixed(i)}function as(n,i=2){if(typeof n=="number"){const a=/([0-9])+e([-0-9]+)/.exec(n+"")||[];if(a.length>2){const s=a[1],c=a[2];return Math.round(parseInt(+s+"e"+(+c+i)))/Math.pow(10,i)}return Math.round(parseInt(+n+"e"+i))/Math.pow(10,i)}return n}function B0(n,i=2){const u=parseFloat(n+"");return!isNaN(u)&&(u||u===0)?as(u,i).toFixed(i):n}const U0=n=>{if(isNaN(n))throw"numToChineseNumerals: \u6570\u636E\u975E\u6CD5";return n=Number(n),fs(n).replace(/^零/,"").replace(/^一十/,"\u5341")},W0=["\u96F6","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D","\u4E03","\u516B","\u4E5D"],H0=["","\u5341","\u767E","\u5343"];function fs(n){if(n===0)return"";const i=Math.floor(Math.log10(n)),u=Math.floor(i/8),a=Math.floor(i%8/4);let s=Math.floor(n/Math.pow(10,4*a+8*u)),c=n%Math.pow(10,4*a+8*u),g=Ae(String(s).padStart(4,"0")).split("").map((h,d)=>W0[h]+(h==="0"?"":H0[3-d])).uniq().value().join("").replace(/零$/,"");for(let h=0;h<a;h++)g+="\u4E07";for(let h=0;h<u;h++)g+="\u4EBF";return g+fs(c)}function ss(n){return n?["\u4E00","\u4E8C","\u4E09","\u56DB"][n-1]:""}function Y0(n){if(!n||n.length<6)return"";const i=n.substring(0,4),u=n.substring(4,6),a=ls(parseInt(u));return`${i}Q${a}`}function ls(n){if(typeof n=="string"){if(isNaN(parseInt(n)))return 0;n=parseInt(n)}return Math.ceil(n/3)}function k0(n){if(!n||n.length<6)return n;const i=n.substring(0,4),u=parseInt(n.substring(5));return`${i}\u7B2C${ss(u)}\u5B63\u5EA6`}function G0(n){if(!n||n.length<6)return n;const i=n.substring(0,4),a=parseInt(n.substring(5))*3-2,s=a<10?`0${a}`:`${a}`;return`${i}${s}`}function q0(n){if(!n||n.length<6)return n;const i=n.substring(0,4),a=parseInt(n.substring(5))*3,s=a<10?`0${a}`:`${a}`;return`${i}${s}`}const Gn="__",qn="--";function Qu(n,i,u={}){const I=i,{key:a,keyProp:s,title:c,titleProp:g,titleFormatter:h,children:d}=I,y=Jc(I,["key","keyProp","title","titleProp","titleFormatter","children"]),{keyPropName:E="key",titlePropName:w="title",keyPrefix:_="",keyLastSuffix:A=""}=u;if(s)return Ae.uniqBy(n,i.keyProp).map(W=>{const M=h?h(W[g]):W[g];if(d&&d.length){const P=`${_}${s}${qn}${W[s]}${Gn}`,L=d.map(N=>Qu(n,N,Mt(pt({},u),{keyPrefix:P})));return Mt(pt({},y),{[w]:M,children:Ae.flatten(L)})}const q=A?`${Gn}${A}`:"";return Mt(pt({},y),{[E]:`${_}${s}${qn}${W[s]}${q}`,[w]:M})});if(d&&d.length){const D=`${_}${a}`,W=d.map(M=>Qu(n,M,Mt(pt({},u),{keyPrefix:D})));return Mt(pt({},y),{[w]:c,children:Ae.flatten(W)})}return Mt(pt({},y),{[E]:`${_}${a}`,[w]:c})}function Zu(n=[]){return!n||!n.length?[]:n.reduce((i,u)=>u.children?[...i,...Zu(u.children)]:[...i,u],[])}function cs(n,i){var s;if(!i.length)return;const u=i[0];if(i=i.slice(1),u.includes(qn)&&i.length){const[c,g]=u.split(qn),h=Ae.filter(n,{[c]:g});return cs(h,i)}return i.length&&console.error("\u600E\u4E48\u4F1A\u4E0D\u662F\u6700\u540E\u4E00\u5C42\u5206\u7EC4\u5462\uFF0C\u8BF7\u8054\u7CFB\u5F00\u53D1\u4EBA\u5458\u67E5\u770B\uFF01"),(s=n==null?void 0:n[0])==null?void 0:s[u]}function z0(n=[],i=[],u,a={}){const s=Ae.flatten(i.map(y=>Qu(n,y,a))),c=Zu(s),g=Ae.uniqBy(n,u),h=Ae.groupBy(n,u);return{data:g.map(y=>{const E=h[y[u]]||[],w=pt({},y);return c.forEach(_=>{const A=_[a.keyPropName||"key"]||"",I=A.split(Gn)||[],D=cs(E,I);w[A]=D,delete w[I[I.length-1]]}),w}),columns:s}}function K0(n={},i=[],u={}){const a=[],s={};return Object.keys(n).forEach(g=>{g.includes(Gn)||(s[g]=n[g])}),i.forEach(g=>{const h={},d=g[u.keyPropName||"key"]||"";if(d.includes(Gn)){const y=d.split(Gn);y.forEach((E,w)=>{if(E.includes(qn)&&y.length){const[_,A]=E.split(qn);h[_]=A}else if(y.length!==w+1)console.error("columns\u6709\u95EE\u9898\uFF0C\u8BF7\u68C0\u67E5\uFF01");else{const _=Ae.find(a,h);_?_[E]=n[d]:a.push(Mt(pt(pt({},s),h),{[E]:n[d]}))}})}}),a}function J0(n=[],i=[],u={}){const a=Zu(i);return n.reduce((s,c)=>[...s,...K0(c,a,u)],[])}let V0=n=>crypto.getRandomValues(new Uint8Array(n)),Q0=(n,i,u)=>{let a=(2<<Math.log(n.length-1)/Math.LN2)-1,s=-~(1.6*a*i/n.length);return(c=i)=>{let g="";for(;;){let h=u(s),d=s;for(;d--;)if(g+=n[h[d]&a]||"",g.length===c)return g}}};const Z0=((n,i=21)=>Q0(n,i,V0))("0123456789abcdef",32);function X0(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(n){var i=Math.random()*16|0,u=n==="x"?i:i&3|8;return u.toString(16)})}function j0(n){var i=new Array("\u9A8C\u8BC1\u901A\u8FC7!","\u8EAB\u4EFD\u8BC1\u53F7\u7801\u4F4D\u6570\u4E0D\u5BF9!","\u8EAB\u4EFD\u8BC1\u53F7\u7801\u51FA\u751F\u65E5\u671F\u8D85\u51FA\u8303\u56F4\u6216\u542B\u6709\u975E\u6CD5\u5B57\u7B26!","\u8EAB\u4EFD\u8BC1\u53F7\u7801\u6821\u9A8C\u9519\u8BEF!","\u8EAB\u4EFD\u8BC1\u5730\u533A\u975E\u6CD5!"),u={11:"\u5317\u4EAC",12:"\u5929\u6D25",13:"\u6CB3\u5317",14:"\u5C71\u897F",15:"\u5185\u8499\u53E4",21:"\u8FBD\u5B81",22:"\u5409\u6797",23:"\u9ED1\u9F99\u6C5F",31:"\u4E0A\u6D77",32:"\u6C5F\u82CF",33:"\u6D59\u6C5F",34:"\u5B89\u5FBD",35:"\u798F\u5EFA",36:"\u6C5F\u897F",37:"\u5C71\u4E1C",41:"\u6CB3\u5357",42:"\u6E56\u5317",43:"\u6E56\u5357",44:"\u5E7F\u4E1C",45:"\u5E7F\u897F",46:"\u6D77\u5357",50:"\u91CD\u5E86",51:"\u56DB\u5DDD",52:"\u8D35\u5DDE",53:"\u4E91\u5357",54:"\u897F\u85CF",61:"\u9655\u897F",62:"\u7518\u8083",63:"\u9752\u6D77",64:"\u5B81\u590F",65:"\u65B0\u7586",71:"\u53F0\u6E7E",81:"\u9999\u6E2F",82:"\u6FB3\u95E8",91:"\u56FD\u5916"},a,s,c,g,h,d=new Array;if(d=n.split(""),u[parseInt(n.substr(0,2))]==null)return i[4];switch(n.length){case 15:return(parseInt(n.substr(6,2))+1900)%4==0||(parseInt(n.substr(6,2))+1900)%100==0&&(parseInt(n.substr(6,2))+1900)%4==0?h=/^[1-9][0-9]{5}19[0-9]{2}((01|03|05|07|08|10|12)(0[1-9]|[1-2][0-9]|3[0-1])|(04|06|09|11)(0[1-9]|[1-2][0-9]|30)|02(0[1-9]|[1-2][0-9]))[0-9]{3}$/:h=/^[1-9][0-9]{5}19[0-9]{2}((01|03|05|07|08|10|12)(0[1-9]|[1-2][0-9]|3[0-1])|(04|06|09|11)(0[1-9]|[1-2][0-9]|30)|02(0[1-9]|1[0-9]|2[0-8]))[0-9]{3}$/,h.test(n)?i[0]:i[2];case 18:return parseInt(n.substr(6,4))%4==0||parseInt(n.substr(6,4))%100==0&&parseInt(n.substr(6,4))%4==0?h=/^[1-9][0-9]{5}(19|20)[0-9]{2}((01|03|05|07|08|10|12)(0[1-9]|[1-2][0-9]|3[0-1])|(04|06|09|11)(0[1-9]|[1-2][0-9]|30)|02(0[1-9]|[1-2][0-9]))[0-9]{3}[0-9Xx]$/:h=/^[1-9][0-9]{5}(19|20)[0-9]{2}((01|03|05|07|08|10|12)(0[1-9]|[1-2][0-9]|3[0-1])|(04|06|09|11)(0[1-9]|[1-2][0-9]|30)|02(0[1-9]|1[0-9]|2[0-8]))[0-9]{3}[0-9Xx]$/,h.test(n)?(c=(parseInt(d[0])+parseInt(d[10]))*7+(parseInt(d[1])+parseInt(d[11]))*9+(parseInt(d[2])+parseInt(d[12]))*10+(parseInt(d[3])+parseInt(d[13]))*5+(parseInt(d[4])+parseInt(d[14]))*8+(parseInt(d[5])+parseInt(d[15]))*4+(parseInt(d[6])+parseInt(d[16]))*2+parseInt(d[7])*1+parseInt(d[8])*6+parseInt(d[9])*3,a=c%11,g="F",s="10X98765432",g=s.substr(a,1),g==d[17]?i[0]:i[3]):i[2];default:return i[1]}}function ev(n){var i=/^1[3456789]\d{9}$/;return!!i.test(n)}function tv(n){var i=/^([0-9]{3,4}-)?[0-9]{7,8}$/,u=/^((\+?86)|(\(\+86\)))?(13[0123456789][0-9]{8}|15[012356789][0-9]{8}|18[0123456789][0-9]{8}|14[57][0-9]{8}|17[678][0-9]{8})$/;return!!(u.test(n)||i.test(n))}function nv(n){return/^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领][A-HJ-NP-Z]-(([DF]((?![IO])[a-zA-Z0-9](?![IO]))[0-9]{4})|([0-9]{5}[DF]))$/.test(n)?!0:/^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领][A-HJ-NP-Z]-[A-HJ-NP-Z0-9]{4}[A-HJ-NP-Z0-9挂学警港澳]$/.test(n)}const ps="ind-dict_";function rv(n){return me(`${ps}${n}`)}function iv(n,i){Se(`${ps}${n}`,i)}const hs=kt.authServerContext;function uv(n){return he.get(`${hs}/anon/dict/getDictsMap`,{params:{dictId:n}})}function gs(n){return nu(this,null,function*(){if(n===ts)return ns;const i=rv(n);if(i)return i;try{const{data:u}=yield he.get(`${hs}/dict/getDicts`,{params:{dictId:n}});return iv(n,u),u}catch(u){console.error(`getDict error dictId=${n}`,u)}})}function ov(n){return nu(this,null,function*(){const i={},u=yield Promise.all(n.map(a=>gs(a)));return n.forEach((a,s)=>{if(u[s]){const c={};u[s].forEach(g=>{c[g.K]=g.V}),i[a]={data:c,renderData:u[s]}}}),i})}const Nt=kt.authServerContext;function av(){return he.get(`${Nt}/manage/menu/getAllPermission`)}function fv(){return he.get(`${Nt}/manage/upmsMenuHistory/list`)}function sv(n){return he.post(`${Nt}/manage/upmsMenuHistory/add`,null,{params:n})}function lv(n){return he.get(`${Nt}/manage/upmsMenuHistory/delete/`+n)}function cv(){return he.get(`${Nt}/manage/upmsMenuCollect/list`)}function pv(n){return he.post(`${Nt}/manage/upmsMenuCollect/add`,null,{params:n})}function hv(n){return he.get(`${Nt}/manage/upmsMenuCollect/delete/`+n)}function gv(n){return he.post(`${Nt}/manage/upmsMenuCollect/remove`,null,{params:n})}function dv(){return he.get(`${Nt}/manage/app/list`)}function vv(){return he.get(`${Nt}/ipm/bc/basic/item/getMaxTabNum`)}const yv=kt.ossServerContext;function mv(n){return he.get(`${yv}/oss/file/get/${n}`)}const zn=kt.authServerContext;function _v({userName:n,password:i,validCodeId:u,validCodeInput:a}){const s={username:n,password:i,validCodeId:u,validCodeInput:a};return he.formPost(zn+"/sso/login",s)}function wv(){return he.get(`${zn}/manage/user/getCurrentInfo`)}function Ev(){return he.get(`${zn}/anon/user/getGlobalPolicy`)}function Sv(n){return he.post(`${zn}/manage/user/updatePassword`,n)}function Av(n){return`${zn}/anon/user/getCaptcha/`+n}function bv(){return he.get(`${zn}/sso/logout`)}const Ov=kt.ismAmServerContext;function Cv(n){return he.get(`${Ov}/tree/com/listComTree`,{params:n})}const ci=kt.ismAmServerContext;function xv(n){return he.get(`${ci}/tree/item/listItemTree`,{params:n})}function Tv(n){return he.get(`${ci}/tree/item/listComTree`,{params:n})}function $v(n){return he.get(`${ci}/tree/item/listComTree`,{params:n})}function Iv(n){return he.get(`${ci}/tree/item/listComTree`,{params:n})}const Fv=kt.ucExtServerContext;function Pv(n){return he.get(`${Fv}/tree/uc-user/listUserTree`,{params:n})}O.CONTENT_TYPE=ai,O.IS_OR_NOT_ENUM=a0,O.IS_OR_NOT_ENUM_KEY=ts,O.IS_OR_NOT_ENUM_LIST=ns,O.MIME_TYPE=M0,O.UC_ENUM=f0,O.addMenuCollectApi=pv,O.axios=he,O.checkIdCard=j0,O.checkPhone=ev,O.checkTel=tv,O.checkVehicleNo=nv,O.clearPermissionCache=Qc,O.clearSessionStorage=kr,O.clearUserInfoCache=jc,O.config=kt,O.cryptor=Rd,O.deleteMenuCollectApi=hv,O.deleteMenuHistoryApi=lv,O.exportJsonToExcel=S0,O.flattenRow2ColumnData=J0,O.formatDate=Nd,O.formatDateChinese=Bd,O.formatDecimal=N0,O.formatHalfYear=I0,O.formatQuarter=k0,O.getAppListApi=dv,O.getCaptchaURL=Av,O.getContentType=Hu,O.getDictApi=gs,O.getDictMapApi=ov,O.getDictsMapApi=uv,O.getExcelColumnIdx=b0,O.getGlobalPolicyApi=Ev,O.getHalfYear=$0,O.getHalfYearBeginMonth=F0,O.getHalfYearEndMonth=P0,O.getHalfYearNum=os,O.getItem=Iv,O.getLocalStorage=fr,O.getMaxTabNumValueApi=vv,O.getMenuCollectApi=cv,O.getMenuHistoryApi=fv,O.getOssFileApi=mv,O.getPermissionApi=av,O.getPermissionCache=lr,O.getPriceCode=Tv,O.getPriceSeg=$v,O.getQuarter=Y0,O.getQuarterBeginMonth=G0,O.getQuarterEndMonth=q0,O.getQuarterNum=ls,O.getSessionStorage=me,O.getToken=Lf,O.getType=Xf,O.getUrlParams=Pf,O.getUserInfoApi=wv,O.getUserInfoCache=Zc,O.guid=X0,O.importJsonFromExcel=A0,O.isArguments=Kd,O.isArray=Ju,O.isArrayLike=fi,O.isBoolean=Yd,O.isDate=zd,O.isDecimal=n0,O.isElement=Qd,O.isEmpty=Zd,O.isEqual=li,O.isEqualWith=o0,O.isError=Vd,O.isEven=Xd,O.isFinite=e0,O.isFunction=es,O.isInteger=t0,O.isNegative=r0,O.isNil=Zf,O.isNull=Vf,O.isNumber=an,O.isNumberEqual=u0,O.isObject=kd,O.isObjectLike=si,O.isOdd=jd,O.isPlainObject=Gd,O.isPositive=i0,O.isPromise=qd,O.isPrototype=jf,O.isRegExp=Jd,O.isString=Ku,O.isType=bt,O.isUndefined=Qf,O.listComTreeApi=Cv,O.listItemTreeApi=xv,O.listUserTreeApi=Pv,O.loginApi=_v,O.logoutApi=bv,O.menuHistoryApi=sv,O.numToChineseNumerals=U0,O.numToDX=L0,O.off=T0,O.on=x0,O.quarter2Chinese=ss,O.removeLocalStorage=Mn,O.removeMenuCollectApi=gv,O.removeSessionStorage=Ze,O.renderColumnEnums=c0,O.renderEnumData=l0,O.renderEnumList=s0,O.renderFieldEnums=p0,O.responseInterceptors=Uf,O.round=as,O.row2column=z0,O.setContentType=Df,O.setLocalStorage=sr,O.setPermissionCache=Vc,O.setSessionStorage=Se,O.setToken=yd,O.setUserInfoCache=Xc,O.str2Date=Ld,O.toChies=R0,O.toFixed=B0,O.toThousands=D0,O.updatePasswordApi=Sv,O.useConfig=Bf,O.uuid=Z0,Object.defineProperties(O,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@indfnd/utils",
3
- "version": "0.0.33",
3
+ "version": "0.0.35",
4
4
  "author": "huxuetong",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -98,8 +98,7 @@ export function inspectorError(error) {
98
98
  if (error?.code === 'ECONNABORTED') {
99
99
  // 超时
100
100
  window.apiErrorHandler && window.apiErrorHandler('请求超时,请稍后再试')
101
- }
102
- if (error.response.status !== 200) {
101
+ } else if (error?.response?.status !== 200) {
103
102
  window.apiErrorHandler && window.apiErrorHandler('请求出错了')
104
103
  }
105
104
  return Promise.reject(error)
@@ -2,7 +2,7 @@
2
2
  * @Author: huxuetong
3
3
  * @Date: 2023-10-27 15:05:25
4
4
  * @Last Modified by: huxuetong
5
- * @Last Modified time: 2024-01-08 22:58:03
5
+ * @Last Modified time: 2024-02-21 17:34:35
6
6
  */
7
7
 
8
8
  import _ from 'lodash'
@@ -170,7 +170,7 @@ export function row2column(
170
170
  const newItem = { ...item }
171
171
 
172
172
  leafColumns.forEach((column) => {
173
- const columnKey: string = column[option.keyPropName || 'key']
173
+ const columnKey: string = column[option.keyPropName || 'key'] || ''
174
174
  const keys = columnKey.split(GROUP_SEP) || []
175
175
  const value = renderRowData(rowGroupData, keys)
176
176
  newItem[columnKey] = value
@@ -203,7 +203,7 @@ function flattenRowData(
203
203
 
204
204
  leafColumns.forEach((column) => {
205
205
  const cellData = {}
206
- const columnKey: string = column[option.keyPropName || 'key']
206
+ const columnKey: string = column[option.keyPropName || 'key'] || ''
207
207
 
208
208
  if (columnKey.includes(GROUP_SEP)) {
209
209
  // 动态列
@@ -1 +1 @@
1
- {"version":3,"file":"interceptors.d.ts","sourceRoot":"","sources":["../../../src/utils/request/interceptors.ts"],"names":[],"mappings":"AAuBA,wBAAgB,mBAAmB,CAAC,MAAM,KAAA,OAwCzC;AAED,wBAAgB,oBAAoB,CAAC,QAAQ,KAAA,OA6B5C;AAED,wBAAgB,cAAc,CAAC,KAAK,KAAA,kBASnC"}
1
+ {"version":3,"file":"interceptors.d.ts","sourceRoot":"","sources":["../../../src/utils/request/interceptors.ts"],"names":[],"mappings":"AAuBA,wBAAgB,mBAAmB,CAAC,MAAM,KAAA,OAwCzC;AAED,wBAAgB,oBAAoB,CAAC,QAAQ,KAAA,OA6B5C;AAED,wBAAgB,cAAc,CAAC,KAAK,KAAA,kBAQnC"}