@indfnd/utils 0.1.23 → 0.1.25
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 +14 -0
- package/dist/ind-utils.es.js +3 -1
- package/dist/ind-utils.umd.cjs +2 -2
- package/package.json +1 -1
- package/src/api/platform/oss.ts +3 -1
- package/src/config/base.config.ts +2 -0
- package/types/api/platform/oss.d.ts.map +1 -1
- package/types/config/base.config.d.ts +1 -0
- package/types/config/base.config.d.ts.map +1 -1
- package/types/config/index.d.ts +2 -0
- package/types/config/index.d.ts.map +1 -1
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.1.25](http://git.inspur.com/imp-ec/ind-front/ind-utils/compare/v0.1.24...v0.1.25) (2025-09-04)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* wps ([9f9f9f0](http://git.inspur.com/imp-ec/ind-front/ind-utils/commit/9f9f9f0b7d5aa1ac02458dc82720999ae9ab6e14))
|
|
11
|
+
|
|
12
|
+
### [0.1.24](http://git.inspur.com/imp-ec/ind-front/ind-utils/compare/v0.1.23...v0.1.24) (2025-07-22)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Features
|
|
16
|
+
|
|
17
|
+
* cookie问题修复 ([d4491c6](http://git.inspur.com/imp-ec/ind-front/ind-utils/commit/d4491c67f1577c077fdc59f97602682be9202126))
|
|
18
|
+
|
|
5
19
|
### [0.1.23](http://git.inspur.com/imp-ec/ind-front/ind-utils/compare/v0.1.22...v0.1.23) (2025-07-19)
|
|
6
20
|
|
|
7
21
|
|
package/dist/ind-utils.es.js
CHANGED
|
@@ -3247,6 +3247,7 @@ var baseConfig = {
|
|
|
3247
3247
|
imgServerContext: "/ind-img-server",
|
|
3248
3248
|
imaServerContext: "/imarket-act-manage-server",
|
|
3249
3249
|
ucExtServerContext: "/ind-uc-ext-server",
|
|
3250
|
+
dataManageServerContext: "/ddd-data-manage-server",
|
|
3250
3251
|
kkfilepreviewContext: "/kkfilepreview",
|
|
3251
3252
|
errorMessage: "\u7CFB\u7EDF\u5F00\u5C0F\u5DEE\u4E86\uFF0C\u8BF7\u7A0D\u540E\u5C1D\u8BD5",
|
|
3252
3253
|
leftLockDays: 7,
|
|
@@ -11137,9 +11138,10 @@ function putOssFileApi(filename, blob) {
|
|
|
11137
11138
|
});
|
|
11138
11139
|
}
|
|
11139
11140
|
function getPreviewUrlApi(fileId) {
|
|
11141
|
+
const isWeb = location.protocol === "https:" ? "1" : "";
|
|
11140
11142
|
const axiosConfig = {};
|
|
11141
11143
|
return instance.get(
|
|
11142
|
-
`${config.ucExtServerContext}/api/wps/getPreviewUrl/${fileId}?previewMode=high_definition`,
|
|
11144
|
+
`${config.ucExtServerContext}/api/wps/getPreviewUrl/${fileId}?isWeb=${isWeb}&previewMode=high_definition`,
|
|
11143
11145
|
axiosConfig
|
|
11144
11146
|
);
|
|
11145
11147
|
}
|
package/dist/ind-utils.umd.cjs
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
`),function(p){if(l=p.indexOf(":"),a=pu.trim(p.substr(0,l)).toLowerCase(),f=pu.trim(p.substr(l+1)),a){if(u[a]&&kh.indexOf(a)>=0)return;a==="set-cookie"?u[a]=(u[a]?u[a]:[]).concat([f]):u[a]=u[a]?u[a]+", "+f:f}}),u},Fa=rt,qh=Fa.isStandardBrowserEnv()?function(){var r=/(msie|trident)/i.test(navigator.userAgent),u=document.createElement("a"),a;function f(l){var g=l;return r&&(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=f(window.location.href),function(g){var p=Fa.isString(g)?f(g):g;return p.protocol===a.protocol&&p.host===a.host}}():function(){return function(){return!0}}(),Vr=rt,zh=Lh,Kh=Nh,Jh=Ia,Vh=Yh,Qh=Gh,Xh=qh,gu=Da,Pa=function(r){return new Promise(function(a,f){var l=r.data,g=r.headers,p=r.responseType;Vr.isFormData(l)&&delete g["Content-Type"];var d=new XMLHttpRequest;if(r.auth){var v=r.auth.username||"",E=r.auth.password?unescape(encodeURIComponent(r.auth.password)):"";g.Authorization="Basic "+btoa(v+":"+E)}var _=Vh(r.baseURL,r.url);d.open(r.method.toUpperCase(),Jh(_,r.params,r.paramsSerializer),!0),d.timeout=r.timeout;function w(){if(!!d){var $="getAllResponseHeaders"in d?Qh(d.getAllResponseHeaders()):null,M=!p||p==="text"||p==="json"?d.responseText:d.response,B={data:M,status:d.status,statusText:d.statusText,headers:$,config:r,request:d};zh(a,f,B),d=null}}if("onloadend"in d?d.onloadend=w:d.onreadystatechange=function(){!d||d.readyState!==4||d.status===0&&!(d.responseURL&&d.responseURL.indexOf("file:")===0)||setTimeout(w)},d.onabort=function(){!d||(f(gu("Request aborted",r,"ECONNABORTED",d)),d=null)},d.onerror=function(){f(gu("Network Error",r,null,d)),d=null},d.ontimeout=function(){var M="timeout of "+r.timeout+"ms exceeded";r.timeoutErrorMessage&&(M=r.timeoutErrorMessage),f(gu(M,r,r.transitional&&r.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",d)),d=null},Vr.isStandardBrowserEnv()){var S=(r.withCredentials||Xh(_))&&r.xsrfCookieName?Kh.read(r.xsrfCookieName):void 0;S&&(g[r.xsrfHeaderName]=S)}"setRequestHeader"in d&&Vr.forEach(g,function(M,B){typeof l=="undefined"&&B.toLowerCase()==="content-type"?delete g[B]:d.setRequestHeader(B,M)}),Vr.isUndefined(r.withCredentials)||(d.withCredentials=!!r.withCredentials),p&&p!=="json"&&(d.responseType=r.responseType),typeof r.onDownloadProgress=="function"&&d.addEventListener("progress",r.onDownloadProgress),typeof r.onUploadProgress=="function"&&d.upload&&d.upload.addEventListener("progress",r.onUploadProgress),r.cancelToken&&r.cancelToken.promise.then(function(M){!d||(d.abort(),f(M),d=null)}),l||(l=null),d.send(l)})},Ue=rt,Ma=Ph,Zh=$a,jh={"Content-Type":"application/x-www-form-urlencoded"};function Ra(n,r){!Ue.isUndefined(n)&&Ue.isUndefined(n["Content-Type"])&&(n["Content-Type"]=r)}function ep(){var n;return(typeof XMLHttpRequest!="undefined"||typeof process!="undefined"&&Object.prototype.toString.call(process)==="[object process]")&&(n=Pa),n}function tp(n,r,u){if(Ue.isString(n))try{return(r||JSON.parse)(n),Ue.trim(n)}catch(a){if(a.name!=="SyntaxError")throw a}return(u||JSON.stringify)(n)}var Qr={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:ep(),transformRequest:[function(r,u){return Ma(u,"Accept"),Ma(u,"Content-Type"),Ue.isFormData(r)||Ue.isArrayBuffer(r)||Ue.isBuffer(r)||Ue.isStream(r)||Ue.isFile(r)||Ue.isBlob(r)?r:Ue.isArrayBufferView(r)?r.buffer:Ue.isURLSearchParams(r)?(Ra(u,"application/x-www-form-urlencoded;charset=utf-8"),r.toString()):Ue.isObject(r)||u&&u["Content-Type"]==="application/json"?(Ra(u,"application/json"),tp(r)):r}],transformResponse:[function(r){var u=this.transitional,a=u&&u.silentJSONParsing,f=u&&u.forcedJSONParsing,l=!a&&this.responseType==="json";if(l||f&&Ue.isString(r)&&r.length)try{return JSON.parse(r)}catch(g){if(l)throw g.name==="SyntaxError"?Zh(g,this,"E_JSON_PARSE"):g}return r}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(r){return r>=200&&r<300}};Qr.headers={common:{Accept:"application/json, text/plain, */*"}},Ue.forEach(["delete","get","head"],function(r){Qr.headers[r]={}}),Ue.forEach(["post","put","patch"],function(r){Qr.headers[r]=Ue.merge(jh)});var du=Qr,np=rt,rp=du,ip=function(r,u,a){var f=this||rp;return np.forEach(a,function(g){r=g.call(f,r,u)}),r},La=function(r){return!!(r&&r.__CANCEL__)},Na=rt,vu=ip,up=La,op=du;function yu(n){n.cancelToken&&n.cancelToken.throwIfRequested()}var ap=function(r){yu(r),r.headers=r.headers||{},r.data=vu.call(r,r.data,r.headers,r.transformRequest),r.headers=Na.merge(r.headers.common||{},r.headers[r.method]||{},r.headers),Na.forEach(["delete","get","head","post","put","patch","common"],function(f){delete r.headers[f]});var u=r.adapter||op.adapter;return u(r).then(function(f){return yu(r),f.data=vu.call(r,f.data,f.headers,r.transformResponse),f},function(f){return up(f)||(yu(r),f&&f.response&&(f.response.data=vu.call(r,f.response.data,f.response.headers,r.transformResponse))),Promise.reject(f)})},Ye=rt,Ba=function(r,u){u=u||{};var a={},f=["url","method","data"],l=["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"],p=["validateStatus"];function d(w,S){return Ye.isPlainObject(w)&&Ye.isPlainObject(S)?Ye.merge(w,S):Ye.isPlainObject(S)?Ye.merge({},S):Ye.isArray(S)?S.slice():S}function v(w){Ye.isUndefined(u[w])?Ye.isUndefined(r[w])||(a[w]=d(void 0,r[w])):a[w]=d(r[w],u[w])}Ye.forEach(f,function(S){Ye.isUndefined(u[S])||(a[S]=d(void 0,u[S]))}),Ye.forEach(l,v),Ye.forEach(g,function(S){Ye.isUndefined(u[S])?Ye.isUndefined(r[S])||(a[S]=d(void 0,r[S])):a[S]=d(void 0,u[S])}),Ye.forEach(p,function(S){S in u?a[S]=d(r[S],u[S]):S in r&&(a[S]=d(void 0,r[S]))});var E=f.concat(l).concat(g).concat(p),_=Object.keys(r).concat(Object.keys(u)).filter(function(S){return E.indexOf(S)===-1});return Ye.forEach(_,v),a},fp={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"}]},Ua=fp,mu={};["object","boolean","number","function","string","symbol"].forEach(function(n,r){mu[n]=function(a){return typeof a===n||"a"+(r<1?"n ":" ")+n}});var Wa={},sp=Ua.version.split(".");function Ha(n,r){for(var u=r?r.split("."):sp,a=n.split("."),f=0;f<3;f++){if(u[f]>a[f])return!0;if(u[f]<a[f])return!1}return!1}mu.transitional=function(r,u,a){var f=u&&Ha(u);function l(g,p){return"[Axios v"+Ua.version+"] Transitional option '"+g+"'"+p+(a?". "+a:"")}return function(g,p,d){if(r===!1)throw new Error(l(p," has been removed in "+u));return f&&!Wa[p]&&(Wa[p]=!0,console.warn(l(p," has been deprecated since v"+u+" and will be removed in the near future"))),r?r(g,p,d):!0}};function lp(n,r,u){if(typeof n!="object")throw new TypeError("options must be an object");for(var a=Object.keys(n),f=a.length;f-- >0;){var l=a[f],g=r[l];if(g){var p=n[l],d=p===void 0||g(p,l,n);if(d!==!0)throw new TypeError("option "+l+" must be "+d);continue}if(u!==!0)throw Error("Unknown option "+l)}}var cp={isOlderVersion:Ha,assertOptions:lp,validators:mu},Ya=rt,hp=Ia,ka=Dh,Ga=ap,Xr=Ba,qa=cp,Bn=qa.validators;function pr(n){this.defaults=n,this.interceptors={request:new ka,response:new ka}}pr.prototype.request=function(r){typeof r=="string"?(r=arguments[1]||{},r.url=arguments[0]):r=r||{},r=Xr(this.defaults,r),r.method?r.method=r.method.toLowerCase():this.defaults.method?r.method=this.defaults.method.toLowerCase():r.method="get";var u=r.transitional;u!==void 0&&qa.assertOptions(u,{silentJSONParsing:Bn.transitional(Bn.boolean,"1.0.0"),forcedJSONParsing:Bn.transitional(Bn.boolean,"1.0.0"),clarifyTimeoutError:Bn.transitional(Bn.boolean,"1.0.0")},!1);var a=[],f=!0;this.interceptors.request.forEach(function(w){typeof w.runWhen=="function"&&w.runWhen(r)===!1||(f=f&&w.synchronous,a.unshift(w.fulfilled,w.rejected))});var l=[];this.interceptors.response.forEach(function(w){l.push(w.fulfilled,w.rejected)});var g;if(!f){var p=[Ga,void 0];for(Array.prototype.unshift.apply(p,a),p=p.concat(l),g=Promise.resolve(r);p.length;)g=g.then(p.shift(),p.shift());return g}for(var d=r;a.length;){var v=a.shift(),E=a.shift();try{d=v(d)}catch(_){E(_);break}}try{g=Ga(d)}catch(_){return Promise.reject(_)}for(;l.length;)g=g.then(l.shift(),l.shift());return g},pr.prototype.getUri=function(r){return r=Xr(this.defaults,r),hp(r.url,r.params,r.paramsSerializer).replace(/^\?/,"")},Ya.forEach(["delete","get","head","options"],function(r){pr.prototype[r]=function(u,a){return this.request(Xr(a||{},{method:r,url:u,data:(a||{}).data}))}}),Ya.forEach(["post","put","patch"],function(r){pr.prototype[r]=function(u,a,f){return this.request(Xr(f||{},{method:r,url:u,data:a}))}});var pp=pr;function _u(n){this.message=n}_u.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},_u.prototype.__CANCEL__=!0;var za=_u,gp=za;function Zr(n){if(typeof n!="function")throw new TypeError("executor must be a function.");var r;this.promise=new Promise(function(f){r=f});var u=this;n(function(f){u.reason||(u.reason=new gp(f),r(u.reason))})}Zr.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},Zr.source=function(){var r,u=new Zr(function(f){r=f});return{token:u,cancel:r}};var dp=Zr,vp=function(r){return function(a){return r.apply(null,a)}},yp=function(r){return typeof r=="object"&&r.isAxiosError===!0},Ka=rt,mp=Ca,jr=pp,_p=Ba,wp=du;function Ja(n){var r=new jr(n),u=mp(jr.prototype.request,r);return Ka.extend(u,jr.prototype,r),Ka.extend(u,r),u}var At=Ja(wp);At.Axios=jr,At.create=function(r){return Ja(_p(At.defaults,r))},At.Cancel=za,At.CancelToken=dp,At.isCancel=La,At.all=function(r){return Promise.all(r)},At.spread=vp,At.isAxiosError=yp,fu.exports=At,fu.exports.default=At;var Ep=fu.exports,Sp=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var r={},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 f=42;r[u]=f;for(u in r)return!1;if(typeof Object.keys=="function"&&Object.keys(r).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(r).length!==0)return!1;var l=Object.getOwnPropertySymbols(r);if(l.length!==1||l[0]!==u||!Object.prototype.propertyIsEnumerable.call(r,u))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var g=Object.getOwnPropertyDescriptor(r,u);if(g.value!==f||g.enumerable!==!0)return!1}return!0},Va=typeof Symbol!="undefined"&&Symbol,Ap=Sp,bp=function(){return typeof Va!="function"||typeof Symbol!="function"||typeof Va("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:Ap()},Qa={foo:{}},Cp=Object,xp=function(){return{__proto__:Qa}.foo===Qa.foo&&!({__proto__:null}instanceof Cp)},Op="Function.prototype.bind called on incompatible ",Tp=Object.prototype.toString,Ip=Math.max,$p="[object Function]",Xa=function(r,u){for(var a=[],f=0;f<r.length;f+=1)a[f]=r[f];for(var l=0;l<u.length;l+=1)a[l+r.length]=u[l];return a},Dp=function(r,u){for(var a=[],f=u||0,l=0;f<r.length;f+=1,l+=1)a[l]=r[f];return a},Fp=function(n,r){for(var u="",a=0;a<n.length;a+=1)u+=n[a],a+1<n.length&&(u+=r);return u},Pp=function(r){var u=this;if(typeof u!="function"||Tp.apply(u)!==$p)throw new TypeError(Op+u);for(var a=Dp(arguments,1),f,l=function(){if(this instanceof f){var E=u.apply(this,Xa(a,arguments));return Object(E)===E?E:this}return u.apply(r,Xa(a,arguments))},g=Ip(0,u.length-a.length),p=[],d=0;d<g;d++)p[d]="$"+d;if(f=Function("binder","return function ("+Fp(p,",")+"){ return binder.apply(this,arguments); }")(l),u.prototype){var v=function(){};v.prototype=u.prototype,f.prototype=new v,v.prototype=null}return f},Mp=Pp,wu=Function.prototype.bind||Mp,Rp=Function.prototype.call,Lp=Object.prototype.hasOwnProperty,Np=wu,Bp=Np.call(Rp,Lp),se,Un=SyntaxError,Za=Function,Wn=TypeError,Eu=function(n){try{return Za('"use strict"; return ('+n+").constructor;")()}catch(r){}},En=Object.getOwnPropertyDescriptor;if(En)try{En({},"")}catch(n){En=null}var Su=function(){throw new Wn},Up=En?function(){try{return arguments.callee,Su}catch(n){try{return En(arguments,"callee").get}catch(r){return Su}}}():Su,Hn=bp(),Wp=xp(),Re=Object.getPrototypeOf||(Wp?function(n){return n.__proto__}:null),Yn={},Hp=typeof Uint8Array=="undefined"||!Re?se:Re(Uint8Array),Sn={"%AggregateError%":typeof AggregateError=="undefined"?se:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer=="undefined"?se:ArrayBuffer,"%ArrayIteratorPrototype%":Hn&&Re?Re([][Symbol.iterator]()):se,"%AsyncFromSyncIteratorPrototype%":se,"%AsyncFunction%":Yn,"%AsyncGenerator%":Yn,"%AsyncGeneratorFunction%":Yn,"%AsyncIteratorPrototype%":Yn,"%Atomics%":typeof Atomics=="undefined"?se:Atomics,"%BigInt%":typeof BigInt=="undefined"?se:BigInt,"%BigInt64Array%":typeof BigInt64Array=="undefined"?se:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array=="undefined"?se:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView=="undefined"?se:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array=="undefined"?se:Float32Array,"%Float64Array%":typeof Float64Array=="undefined"?se:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry=="undefined"?se:FinalizationRegistry,"%Function%":Za,"%GeneratorFunction%":Yn,"%Int8Array%":typeof Int8Array=="undefined"?se:Int8Array,"%Int16Array%":typeof Int16Array=="undefined"?se:Int16Array,"%Int32Array%":typeof Int32Array=="undefined"?se:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Hn&&Re?Re(Re([][Symbol.iterator]())):se,"%JSON%":typeof JSON=="object"?JSON:se,"%Map%":typeof Map=="undefined"?se:Map,"%MapIteratorPrototype%":typeof Map=="undefined"||!Hn||!Re?se:Re(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise=="undefined"?se:Promise,"%Proxy%":typeof Proxy=="undefined"?se:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect=="undefined"?se:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set=="undefined"?se:Set,"%SetIteratorPrototype%":typeof Set=="undefined"||!Hn||!Re?se:Re(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer=="undefined"?se:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Hn&&Re?Re(""[Symbol.iterator]()):se,"%Symbol%":Hn?Symbol:se,"%SyntaxError%":Un,"%ThrowTypeError%":Up,"%TypedArray%":Hp,"%TypeError%":Wn,"%Uint8Array%":typeof Uint8Array=="undefined"?se:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray=="undefined"?se:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array=="undefined"?se:Uint16Array,"%Uint32Array%":typeof Uint32Array=="undefined"?se:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap=="undefined"?se:WeakMap,"%WeakRef%":typeof WeakRef=="undefined"?se:WeakRef,"%WeakSet%":typeof WeakSet=="undefined"?se:WeakSet};if(Re)try{null.error}catch(n){var Yp=Re(Re(n));Sn["%Error.prototype%"]=Yp}var kp=function n(r){var u;if(r==="%AsyncFunction%")u=Eu("async function () {}");else if(r==="%GeneratorFunction%")u=Eu("function* () {}");else if(r==="%AsyncGeneratorFunction%")u=Eu("async function* () {}");else if(r==="%AsyncGenerator%"){var a=n("%AsyncGeneratorFunction%");a&&(u=a.prototype)}else if(r==="%AsyncIteratorPrototype%"){var f=n("%AsyncGenerator%");f&&Re&&(u=Re(f.prototype))}return Sn[r]=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"]},gr=wu,ei=Bp,Gp=gr.call(Function.call,Array.prototype.concat),qp=gr.call(Function.apply,Array.prototype.splice),ef=gr.call(Function.call,String.prototype.replace),ti=gr.call(Function.call,String.prototype.slice),zp=gr.call(Function.call,RegExp.prototype.exec),Kp=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Jp=/\\(\\)?/g,Vp=function(r){var u=ti(r,0,1),a=ti(r,-1);if(u==="%"&&a!=="%")throw new Un("invalid intrinsic syntax, expected closing `%`");if(a==="%"&&u!=="%")throw new Un("invalid intrinsic syntax, expected opening `%`");var f=[];return ef(r,Kp,function(l,g,p,d){f[f.length]=p?ef(d,Jp,"$1"):g||l}),f},Qp=function(r,u){var a=r,f;if(ei(ja,a)&&(f=ja[a],a="%"+f[0]+"%"),ei(Sn,a)){var l=Sn[a];if(l===Yn&&(l=kp(a)),typeof l=="undefined"&&!u)throw new Wn("intrinsic "+r+" exists, but is not available. Please file an issue!");return{alias:f,name:a,value:l}}throw new Un("intrinsic "+r+" does not exist!")},An=function(r,u){if(typeof r!="string"||r.length===0)throw new Wn("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof u!="boolean")throw new Wn('"allowMissing" argument must be a boolean');if(zp(/^%?[^%]*%?$/,r)===null)throw new Un("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var a=Vp(r),f=a.length>0?a[0]:"",l=Qp("%"+f+"%",u),g=l.name,p=l.value,d=!1,v=l.alias;v&&(f=v[0],qp(a,Gp([0,1],v)));for(var E=1,_=!0;E<a.length;E+=1){var w=a[E],S=ti(w,0,1),$=ti(w,-1);if((S==='"'||S==="'"||S==="`"||$==='"'||$==="'"||$==="`")&&S!==$)throw new Un("property names with quotes must have matching quotes");if((w==="constructor"||!_)&&(d=!0),f+="."+w,g="%"+f+"%",ei(Sn,g))p=Sn[g];else if(p!=null){if(!(w in p)){if(!u)throw new Wn("base intrinsic for "+r+" exists, but the property is not available.");return}if(En&&E+1>=a.length){var M=En(p,w);_=!!M,_&&"get"in M&&!("originalValue"in M.get)?p=M.get:p=p[w]}else _=ei(p,w),p=p[w];_&&!d&&(Sn[g]=p)}}return p},tf={exports:{}},Xp=An,Au=Xp("%Object.defineProperty%",!0),bu=function(){if(Au)try{return Au({},"a",{value:1}),!0}catch(r){return!1}return!1};bu.hasArrayLengthDefineBug=function(){if(!bu())return null;try{return Au([],"length",{value:1}).length!==1}catch(r){return!0}};var nf=bu,Zp=An,ni=Zp("%Object.getOwnPropertyDescriptor%",!0);if(ni)try{ni([],"length")}catch(n){ni=null}var rf=ni,jp=nf(),Cu=An,dr=jp&&Cu("%Object.defineProperty%",!0);if(dr)try{dr({},"a",{value:1})}catch(n){dr=!1}var eg=Cu("%SyntaxError%"),kn=Cu("%TypeError%"),uf=rf,tg=function(r,u,a){if(!r||typeof r!="object"&&typeof r!="function")throw new kn("`obj` must be an object or a function`");if(typeof u!="string"&&typeof u!="symbol")throw new kn("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new kn("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new kn("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new kn("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new kn("`loose`, if provided, must be a boolean");var f=arguments.length>3?arguments[3]:null,l=arguments.length>4?arguments[4]:null,g=arguments.length>5?arguments[5]:null,p=arguments.length>6?arguments[6]:!1,d=!!uf&&uf(r,u);if(dr)dr(r,u,{configurable:g===null&&d?d.configurable:!g,enumerable:f===null&&d?d.enumerable:!f,value:a,writable:l===null&&d?d.writable:!l});else if(p||!f&&!l&&!g)r[u]=a;else throw new eg("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},of=An,af=tg,ng=nf(),ff=rf,sf=of("%TypeError%"),rg=of("%Math.floor%"),ig=function(r,u){if(typeof r!="function")throw new sf("`fn` is not a function");if(typeof u!="number"||u<0||u>4294967295||rg(u)!==u)throw new sf("`length` must be a positive 32-bit integer");var a=arguments.length>2&&!!arguments[2],f=!0,l=!0;if("length"in r&&ff){var g=ff(r,"length");g&&!g.configurable&&(f=!1),g&&!g.writable&&(l=!1)}return(f||l||!a)&&(ng?af(r,"length",u,!0,!0):af(r,"length",u)),r};(function(n){var r=wu,u=An,a=ig,f=u("%TypeError%"),l=u("%Function.prototype.apply%"),g=u("%Function.prototype.call%"),p=u("%Reflect.apply%",!0)||r.call(g,l),d=u("%Object.defineProperty%",!0),v=u("%Math.max%");if(d)try{d({},"a",{value:1})}catch(_){d=null}n.exports=function(w){if(typeof w!="function")throw new f("a function is required");var S=p(r,g,arguments);return a(S,1+v(0,w.length-(arguments.length-1)),!0)};var E=function(){return p(r,l,arguments)};d?d(n.exports,"apply",{value:E}):n.exports.apply=E})(tf);var lf=An,cf=tf.exports,ug=cf(lf("String.prototype.indexOf")),og=function(r,u){var a=lf(r,!!u);return typeof a=="function"&&ug(r,".prototype.")>-1?cf(a):a},ag={},fg=Object.freeze(Object.defineProperty({__proto__:null,default:ag},Symbol.toStringTag,{value:"Module"})),sg=ph(fg),xu=typeof Map=="function"&&Map.prototype,Ou=Object.getOwnPropertyDescriptor&&xu?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,ri=xu&&Ou&&typeof Ou.get=="function"?Ou.get:null,hf=xu&&Map.prototype.forEach,Tu=typeof Set=="function"&&Set.prototype,Iu=Object.getOwnPropertyDescriptor&&Tu?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,ii=Tu&&Iu&&typeof Iu.get=="function"?Iu.get:null,pf=Tu&&Set.prototype.forEach,lg=typeof WeakMap=="function"&&WeakMap.prototype,vr=lg?WeakMap.prototype.has:null,cg=typeof WeakSet=="function"&&WeakSet.prototype,yr=cg?WeakSet.prototype.has:null,hg=typeof WeakRef=="function"&&WeakRef.prototype,gf=hg?WeakRef.prototype.deref:null,pg=Boolean.prototype.valueOf,gg=Object.prototype.toString,dg=Function.prototype.toString,vg=String.prototype.match,$u=String.prototype.slice,un=String.prototype.replace,yg=String.prototype.toUpperCase,df=String.prototype.toLowerCase,vf=RegExp.prototype.test,yf=Array.prototype.concat,Rt=Array.prototype.join,mg=Array.prototype.slice,mf=Math.floor,Du=typeof BigInt=="function"?BigInt.prototype.valueOf:null,Fu=Object.getOwnPropertySymbols,Pu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,Gn=typeof Symbol=="function"&&typeof Symbol.iterator=="object",ke=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===Gn?"object":"symbol")?Symbol.toStringTag:null,_f=Object.prototype.propertyIsEnumerable,wf=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(n){return n.__proto__}:null);function Ef(n,r){if(n===1/0||n===-1/0||n!==n||n&&n>-1e3&&n<1e3||vf.call(/e/,r))return r;var u=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof n=="number"){var a=n<0?-mf(-n):mf(n);if(a!==n){var f=String(a),l=$u.call(r,f.length+1);return un.call(f,u,"$&_")+"."+un.call(un.call(l,/([0-9]{3})/g,"$&_"),/_$/,"")}}return un.call(r,u,"$&_")}var Mu=sg,Sf=Mu.custom,Af=xf(Sf)?Sf:null,_g=function n(r,u,a,f){var l=u||{};if(on(l,"quoteStyle")&&l.quoteStyle!=="single"&&l.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(on(l,"maxStringLength")&&(typeof l.maxStringLength=="number"?l.maxStringLength<0&&l.maxStringLength!==1/0:l.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var g=on(l,"customInspect")?l.customInspect:!0;if(typeof g!="boolean"&&g!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(on(l,"indent")&&l.indent!==null&&l.indent!==" "&&!(parseInt(l.indent,10)===l.indent&&l.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(on(l,"numericSeparator")&&typeof l.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var p=l.numericSeparator;if(typeof r=="undefined")return"undefined";if(r===null)return"null";if(typeof r=="boolean")return r?"true":"false";if(typeof r=="string")return Tf(r,l);if(typeof r=="number"){if(r===0)return 1/0/r>0?"0":"-0";var d=String(r);return p?Ef(r,d):d}if(typeof r=="bigint"){var v=String(r)+"n";return p?Ef(r,v):v}var E=typeof l.depth=="undefined"?5:l.depth;if(typeof a=="undefined"&&(a=0),a>=E&&E>0&&typeof r=="object")return Ru(r)?"[Array]":"[Object]";var _=Ng(l,a);if(typeof f=="undefined")f=[];else if(Of(f,r)>=0)return"[Circular]";function w(qe,K,H){if(K&&(f=mg.call(f),f.push(K)),H){var L={depth:l.depth};return on(l,"quoteStyle")&&(L.quoteStyle=l.quoteStyle),n(qe,L,a+1,f)}return n(qe,l,a+1,f)}if(typeof r=="function"&&!Cf(r)){var S=Tg(r),$=ui(r,w);return"[Function"+(S?": "+S:" (anonymous)")+"]"+($.length>0?" { "+Rt.call($,", ")+" }":"")}if(xf(r)){var M=Gn?un.call(String(r),/^(Symbol\(.*\))_[^)]*$/,"$1"):Pu.call(r);return typeof r=="object"&&!Gn?mr(M):M}if(Mg(r)){for(var B="<"+df.call(String(r.nodeName)),P=r.attributes||[],k=0;k<P.length;k++)B+=" "+P[k].name+"="+bf(wg(P[k].value),"double",l);return B+=">",r.childNodes&&r.childNodes.length&&(B+="..."),B+="</"+df.call(String(r.nodeName))+">",B}if(Ru(r)){if(r.length===0)return"[]";var F=ui(r,w);return _&&!Lg(F)?"["+Nu(F,_)+"]":"[ "+Rt.call(F,", ")+" ]"}if(Sg(r)){var N=ui(r,w);return!("cause"in Error.prototype)&&"cause"in r&&!_f.call(r,"cause")?"{ ["+String(r)+"] "+Rt.call(yf.call("[cause]: "+w(r.cause),N),", ")+" }":N.length===0?"["+String(r)+"]":"{ ["+String(r)+"] "+Rt.call(N,", ")+" }"}if(typeof r=="object"&&g){if(Af&&typeof r[Af]=="function"&&Mu)return Mu(r,{depth:E-a});if(g!=="symbol"&&typeof r.inspect=="function")return r.inspect()}if(Ig(r)){var R=[];return hf&&hf.call(r,function(qe,K){R.push(w(K,r,!0)+" => "+w(qe,r))}),If("Map",ri.call(r),R,_)}if(Fg(r)){var X=[];return pf&&pf.call(r,function(qe){X.push(w(qe,r))}),If("Set",ii.call(r),X,_)}if($g(r))return Lu("WeakMap");if(Pg(r))return Lu("WeakSet");if(Dg(r))return Lu("WeakRef");if(bg(r))return mr(w(Number(r)));if(xg(r))return mr(w(Du.call(r)));if(Cg(r))return mr(pg.call(r));if(Ag(r))return mr(w(String(r)));if(typeof window!="undefined"&&r===window)return"{ [object Window] }";if(r===_n)return"{ [object globalThis] }";if(!Eg(r)&&!Cf(r)){var z=ui(r,w),ue=wf?wf(r)===Object.prototype:r instanceof Object||r.constructor===Object,ye=r instanceof Object?"":"null prototype",de=!ue&&ke&&Object(r)===r&&ke in r?$u.call(an(r),8,-1):ye?"Object":"",oe=ue||typeof r.constructor!="function"?"":r.constructor.name?r.constructor.name+" ":"",$e=oe+(de||ye?"["+Rt.call(yf.call([],de||[],ye||[]),": ")+"] ":"");return z.length===0?$e+"{}":_?$e+"{"+Nu(z,_)+"}":$e+"{ "+Rt.call(z,", ")+" }"}return String(r)};function bf(n,r,u){var a=(u.quoteStyle||r)==="double"?'"':"'";return a+n+a}function wg(n){return un.call(String(n),/"/g,""")}function Ru(n){return an(n)==="[object Array]"&&(!ke||!(typeof n=="object"&&ke in n))}function Eg(n){return an(n)==="[object Date]"&&(!ke||!(typeof n=="object"&&ke in n))}function Cf(n){return an(n)==="[object RegExp]"&&(!ke||!(typeof n=="object"&&ke in n))}function Sg(n){return an(n)==="[object Error]"&&(!ke||!(typeof n=="object"&&ke in n))}function Ag(n){return an(n)==="[object String]"&&(!ke||!(typeof n=="object"&&ke in n))}function bg(n){return an(n)==="[object Number]"&&(!ke||!(typeof n=="object"&&ke in n))}function Cg(n){return an(n)==="[object Boolean]"&&(!ke||!(typeof n=="object"&&ke in n))}function xf(n){if(Gn)return n&&typeof n=="object"&&n instanceof Symbol;if(typeof n=="symbol")return!0;if(!n||typeof n!="object"||!Pu)return!1;try{return Pu.call(n),!0}catch(r){}return!1}function xg(n){if(!n||typeof n!="object"||!Du)return!1;try{return Du.call(n),!0}catch(r){}return!1}var Og=Object.prototype.hasOwnProperty||function(n){return n in this};function on(n,r){return Og.call(n,r)}function an(n){return gg.call(n)}function Tg(n){if(n.name)return n.name;var r=vg.call(dg.call(n),/^function\s*([\w$]+)/);return r?r[1]:null}function Of(n,r){if(n.indexOf)return n.indexOf(r);for(var u=0,a=n.length;u<a;u++)if(n[u]===r)return u;return-1}function Ig(n){if(!ri||!n||typeof n!="object")return!1;try{ri.call(n);try{ii.call(n)}catch(r){return!0}return n instanceof Map}catch(r){}return!1}function $g(n){if(!vr||!n||typeof n!="object")return!1;try{vr.call(n,vr);try{yr.call(n,yr)}catch(r){return!0}return n instanceof WeakMap}catch(r){}return!1}function Dg(n){if(!gf||!n||typeof n!="object")return!1;try{return gf.call(n),!0}catch(r){}return!1}function Fg(n){if(!ii||!n||typeof n!="object")return!1;try{ii.call(n);try{ri.call(n)}catch(r){return!0}return n instanceof Set}catch(r){}return!1}function Pg(n){if(!yr||!n||typeof n!="object")return!1;try{yr.call(n,yr);try{vr.call(n,vr)}catch(r){return!0}return n instanceof WeakSet}catch(r){}return!1}function Mg(n){return!n||typeof n!="object"?!1:typeof HTMLElement!="undefined"&&n instanceof HTMLElement?!0:typeof n.nodeName=="string"&&typeof n.getAttribute=="function"}function Tf(n,r){if(n.length>r.maxStringLength){var u=n.length-r.maxStringLength,a="... "+u+" more character"+(u>1?"s":"");return Tf($u.call(n,0,r.maxStringLength),r)+a}var f=un.call(un.call(n,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,Rg);return bf(f,"single",r)}function Rg(n){var r=n.charCodeAt(0),u={8:"b",9:"t",10:"n",12:"f",13:"r"}[r];return u?"\\"+u:"\\x"+(r<16?"0":"")+yg.call(r.toString(16))}function mr(n){return"Object("+n+")"}function Lu(n){return n+" { ? }"}function If(n,r,u,a){var f=a?Nu(u,a):Rt.call(u,", ");return n+" ("+r+") {"+f+"}"}function Lg(n){for(var r=0;r<n.length;r++)if(Of(n[r],`
|
|
3
3
|
`)>=0)return!1;return!0}function Ng(n,r){var u;if(n.indent===" ")u=" ";else if(typeof n.indent=="number"&&n.indent>0)u=Rt.call(Array(n.indent+1)," ");else return null;return{base:u,prev:Rt.call(Array(r+1),u)}}function Nu(n,r){if(n.length===0)return"";var u=`
|
|
4
4
|
`+r.prev+r.base;return u+Rt.call(n,","+u)+`
|
|
5
|
-
`+r.prev}function ui(n,r){var u=Ru(n),a=[];if(u){a.length=n.length;for(var f=0;f<n.length;f++)a[f]=on(n,f)?r(n[f],n):""}var l=typeof Fu=="function"?Fu(n):[],g;if(Gn){g={};for(var p=0;p<l.length;p++)g["$"+l[p]]=l[p]}for(var d in n)!on(n,d)||u&&String(Number(d))===d&&d<n.length||Gn&&g["$"+d]instanceof Symbol||(vf.call(/[^\w$]/,d)?a.push(r(d,n)+": "+r(n[d],n)):a.push(d+": "+r(n[d],n)));if(typeof Fu=="function")for(var v=0;v<l.length;v++)_f.call(n,l[v])&&a.push("["+r(l[v])+"]: "+r(n[l[v]],n));return a}var Bu=An,qn=og,Bg=_g,Ug=Bu("%TypeError%"),oi=Bu("%WeakMap%",!0),ai=Bu("%Map%",!0),Wg=qn("WeakMap.prototype.get",!0),Hg=qn("WeakMap.prototype.set",!0),Yg=qn("WeakMap.prototype.has",!0),kg=qn("Map.prototype.get",!0),Gg=qn("Map.prototype.set",!0),qg=qn("Map.prototype.has",!0),Uu=function(n,r){for(var u=n,a;(a=u.next)!==null;u=a)if(a.key===r)return u.next=a.next,a.next=n.next,n.next=a,a},zg=function(n,r){var u=Uu(n,r);return u&&u.value},Kg=function(n,r,u){var a=Uu(n,r);a?a.value=u:n.next={key:r,next:n.next,value:u}},Jg=function(n,r){return!!Uu(n,r)},Vg=function(){var r,u,a,f={assert:function(l){if(!f.has(l))throw new Ug("Side channel does not contain "+Bg(l))},get:function(l){if(oi&&l&&(typeof l=="object"||typeof l=="function")){if(r)return Wg(r,l)}else if(ai){if(u)return kg(u,l)}else if(a)return zg(a,l)},has:function(l){if(oi&&l&&(typeof l=="object"||typeof l=="function")){if(r)return Yg(r,l)}else if(ai){if(u)return qg(u,l)}else if(a)return Jg(a,l);return!1},set:function(l,g){oi&&l&&(typeof l=="object"||typeof l=="function")?(r||(r=new oi),Hg(r,l,g)):ai?(u||(u=new ai),Gg(u,l,g)):(a||(a={key:{},next:null}),Kg(a,l,g))}};return f},Qg=String.prototype.replace,Xg=/%20/g,Wu={RFC1738:"RFC1738",RFC3986:"RFC3986"},Hu={default:Wu.RFC3986,formatters:{RFC1738:function(n){return Qg.call(n,Xg,"+")},RFC3986:function(n){return String(n)}},RFC1738:Wu.RFC1738,RFC3986:Wu.RFC3986},Zg=Hu,Yu=Object.prototype.hasOwnProperty,bn=Array.isArray,Lt=function(){for(var n=[],r=0;r<256;++r)n.push("%"+((r<16?"0":"")+r.toString(16)).toUpperCase());return n}(),jg=function(r){for(;r.length>1;){var u=r.pop(),a=u.obj[u.prop];if(bn(a)){for(var f=[],l=0;l<a.length;++l)typeof a[l]!="undefined"&&f.push(a[l]);u.obj[u.prop]=f}}},$f=function(r,u){for(var a=u&&u.plainObjects?Object.create(null):{},f=0;f<r.length;++f)typeof r[f]!="undefined"&&(a[f]=r[f]);return a},ed=function n(r,u,a){if(!u)return r;if(typeof u!="object"){if(bn(r))r.push(u);else if(r&&typeof r=="object")(a&&(a.plainObjects||a.allowPrototypes)||!Yu.call(Object.prototype,u))&&(r[u]=!0);else return[r,u];return r}if(!r||typeof r!="object")return[r].concat(u);var f=r;return bn(r)&&!bn(u)&&(f=$f(r,a)),bn(r)&&bn(u)?(u.forEach(function(l,g){if(Yu.call(r,g)){var p=r[g];p&&typeof p=="object"&&l&&typeof l=="object"?r[g]=n(p,l,a):r.push(l)}else r[g]=l}),r):Object.keys(u).reduce(function(l,g){var p=u[g];return Yu.call(l,g)?l[g]=n(l[g],p,a):l[g]=p,l},f)},td=function(r,u){return Object.keys(u).reduce(function(a,f){return a[f]=u[f],a},r)},nd=function(n,r,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(f){return a}},rd=function(r,u,a,f,l){if(r.length===0)return r;var g=r;if(typeof r=="symbol"?g=Symbol.prototype.toString.call(r):typeof r!="string"&&(g=String(r)),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 p="",d=0;d<g.length;++d){var v=g.charCodeAt(d);if(v===45||v===46||v===95||v===126||v>=48&&v<=57||v>=65&&v<=90||v>=97&&v<=122||l===Zg.RFC1738&&(v===40||v===41)){p+=g.charAt(d);continue}if(v<128){p=p+Lt[v];continue}if(v<2048){p=p+(Lt[192|v>>6]+Lt[128|v&63]);continue}if(v<55296||v>=57344){p=p+(Lt[224|v>>12]+Lt[128|v>>6&63]+Lt[128|v&63]);continue}d+=1,v=65536+((v&1023)<<10|g.charCodeAt(d)&1023),p+=Lt[240|v>>18]+Lt[128|v>>12&63]+Lt[128|v>>6&63]+Lt[128|v&63]}return p},id=function(r){for(var u=[{obj:{o:r},prop:"o"}],a=[],f=0;f<u.length;++f)for(var l=u[f],g=l.obj[l.prop],p=Object.keys(g),d=0;d<p.length;++d){var v=p[d],E=g[v];typeof E=="object"&&E!==null&&a.indexOf(E)===-1&&(u.push({obj:g,prop:v}),a.push(E))}return jg(u),r},ud=function(r){return Object.prototype.toString.call(r)==="[object RegExp]"},od=function(r){return!r||typeof r!="object"?!1:!!(r.constructor&&r.constructor.isBuffer&&r.constructor.isBuffer(r))},ad=function(r,u){return[].concat(r,u)},fd=function(r,u){if(bn(r)){for(var a=[],f=0;f<r.length;f+=1)a.push(u(r[f]));return a}return u(r)},Df={arrayToObject:$f,assign:td,combine:ad,compact:id,decode:nd,encode:rd,isBuffer:od,isRegExp:ud,maybeMap:fd,merge:ed},Ff=Vg,fi=Df,_r=Hu,sd=Object.prototype.hasOwnProperty,Pf={brackets:function(r){return r+"[]"},comma:"comma",indices:function(r,u){return r+"["+u+"]"},repeat:function(r){return r}},kt=Array.isArray,ld=Array.prototype.push,Mf=function(n,r){ld.apply(n,kt(r)?r:[r])},cd=Date.prototype.toISOString,Rf=_r.default,Ge={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:fi.encode,encodeValuesOnly:!1,format:Rf,formatter:_r.formatters[Rf],indices:!1,serializeDate:function(r){return cd.call(r)},skipNulls:!1,strictNullHandling:!1},hd=function(r){return typeof r=="string"||typeof r=="number"||typeof r=="boolean"||typeof r=="symbol"||typeof r=="bigint"},ku={},pd=function n(r,u,a,f,l,g,p,d,v,E,_,w,S,$,M,B){for(var P=r,k=B,F=0,N=!1;(k=k.get(ku))!==void 0&&!N;){var R=k.get(r);if(F+=1,typeof R!="undefined"){if(R===F)throw new RangeError("Cyclic object value");N=!0}typeof k.get(ku)=="undefined"&&(F=0)}if(typeof d=="function"?P=d(u,P):P instanceof Date?P=_(P):a==="comma"&&kt(P)&&(P=fi.maybeMap(P,function(L){return L instanceof Date?_(L):L})),P===null){if(l)return p&&!$?p(u,Ge.encoder,M,"key",w):u;P=""}if(hd(P)||fi.isBuffer(P)){if(p){var X=$?u:p(u,Ge.encoder,M,"key",w);return[S(X)+"="+S(p(P,Ge.encoder,M,"value",w))]}return[S(u)+"="+S(String(P))]}var z=[];if(typeof P=="undefined")return z;var ue;if(a==="comma"&&kt(P))$&&p&&(P=fi.maybeMap(P,p)),ue=[{value:P.length>0?P.join(",")||null:void 0}];else if(kt(d))ue=d;else{var ye=Object.keys(P);ue=v?ye.sort(v):ye}for(var de=f&&kt(P)&&P.length===1?u+"[]":u,oe=0;oe<ue.length;++oe){var $e=ue[oe],qe=typeof $e=="object"&&typeof $e.value!="undefined"?$e.value:P[$e];if(!(g&&qe===null)){var K=kt(P)?typeof a=="function"?a(de,$e):de:de+(E?"."+$e:"["+$e+"]");B.set(r,F);var H=Ff();H.set(ku,B),Mf(z,n(qe,K,a,f,l,g,a==="comma"&&$&&kt(P)?null:p,d,v,E,_,w,S,$,M,H))}}return z},gd=function(r){if(!r)return Ge;if(r.encoder!==null&&typeof r.encoder!="undefined"&&typeof r.encoder!="function")throw new TypeError("Encoder has to be a function.");var u=r.charset||Ge.charset;if(typeof r.charset!="undefined"&&r.charset!=="utf-8"&&r.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var a=_r.default;if(typeof r.format!="undefined"){if(!sd.call(_r.formatters,r.format))throw new TypeError("Unknown format option provided.");a=r.format}var f=_r.formatters[a],l=Ge.filter;return(typeof r.filter=="function"||kt(r.filter))&&(l=r.filter),{addQueryPrefix:typeof r.addQueryPrefix=="boolean"?r.addQueryPrefix:Ge.addQueryPrefix,allowDots:typeof r.allowDots=="undefined"?Ge.allowDots:!!r.allowDots,charset:u,charsetSentinel:typeof r.charsetSentinel=="boolean"?r.charsetSentinel:Ge.charsetSentinel,delimiter:typeof r.delimiter=="undefined"?Ge.delimiter:r.delimiter,encode:typeof r.encode=="boolean"?r.encode:Ge.encode,encoder:typeof r.encoder=="function"?r.encoder:Ge.encoder,encodeValuesOnly:typeof r.encodeValuesOnly=="boolean"?r.encodeValuesOnly:Ge.encodeValuesOnly,filter:l,format:a,formatter:f,serializeDate:typeof r.serializeDate=="function"?r.serializeDate:Ge.serializeDate,skipNulls:typeof r.skipNulls=="boolean"?r.skipNulls:Ge.skipNulls,sort:typeof r.sort=="function"?r.sort:null,strictNullHandling:typeof r.strictNullHandling=="boolean"?r.strictNullHandling:Ge.strictNullHandling}},dd=function(n,r){var u=n,a=gd(r),f,l;typeof a.filter=="function"?(l=a.filter,u=l("",u)):kt(a.filter)&&(l=a.filter,f=l);var g=[];if(typeof u!="object"||u===null)return"";var p;r&&r.arrayFormat in Pf?p=r.arrayFormat:r&&"indices"in r?p=r.indices?"indices":"repeat":p="indices";var d=Pf[p];if(r&&"commaRoundTrip"in r&&typeof r.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var v=d==="comma"&&r&&r.commaRoundTrip;f||(f=Object.keys(u)),a.sort&&f.sort(a.sort);for(var E=Ff(),_=0;_<f.length;++_){var w=f[_];a.skipNulls&&u[w]===null||Mf(g,pd(u[w],w,d,v,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 S=g.join(a.delimiter),$=a.addQueryPrefix===!0?"?":"";return a.charsetSentinel&&(a.charset==="iso-8859-1"?$+="utf8=%26%2310003%3B&":$+="utf8=%E2%9C%93&"),S.length>0?$+S:""},zn=Df,Gu=Object.prototype.hasOwnProperty,vd=Array.isArray,Le={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:zn.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},yd=function(n){return n.replace(/&#(\d+);/g,function(r,u){return String.fromCharCode(parseInt(u,10))})},Lf=function(n,r){return n&&typeof n=="string"&&r.comma&&n.indexOf(",")>-1?n.split(","):n},md="utf8=%26%2310003%3B",_d="utf8=%E2%9C%93",wd=function(r,u){var a={__proto__:null},f=u.ignoreQueryPrefix?r.replace(/^\?/,""):r,l=u.parameterLimit===1/0?void 0:u.parameterLimit,g=f.split(u.delimiter,l),p=-1,d,v=u.charset;if(u.charsetSentinel)for(d=0;d<g.length;++d)g[d].indexOf("utf8=")===0&&(g[d]===_d?v="utf-8":g[d]===md&&(v="iso-8859-1"),p=d,d=g.length);for(d=0;d<g.length;++d)if(d!==p){var E=g[d],_=E.indexOf("]="),w=_===-1?E.indexOf("="):_+1,S,$;w===-1?(S=u.decoder(E,Le.decoder,v,"key"),$=u.strictNullHandling?null:""):(S=u.decoder(E.slice(0,w),Le.decoder,v,"key"),$=zn.maybeMap(Lf(E.slice(w+1),u),function(M){return u.decoder(M,Le.decoder,v,"value")})),$&&u.interpretNumericEntities&&v==="iso-8859-1"&&($=yd($)),E.indexOf("[]=")>-1&&($=vd($)?[$]:$),Gu.call(a,S)?a[S]=zn.combine(a[S],$):a[S]=$}return a},Ed=function(n,r,u,a){for(var f=a?r:Lf(r,u),l=n.length-1;l>=0;--l){var g,p=n[l];if(p==="[]"&&u.parseArrays)g=[].concat(f);else{g=u.plainObjects?Object.create(null):{};var d=p.charAt(0)==="["&&p.charAt(p.length-1)==="]"?p.slice(1,-1):p,v=parseInt(d,10);!u.parseArrays&&d===""?g={0:f}:!isNaN(v)&&p!==d&&String(v)===d&&v>=0&&u.parseArrays&&v<=u.arrayLimit?(g=[],g[v]=f):d!=="__proto__"&&(g[d]=f)}f=g}return f},Sd=function(r,u,a,f){if(!!r){var l=a.allowDots?r.replace(/\.([^.[]+)/g,"[$1]"):r,g=/(\[[^[\]]*])/,p=/(\[[^[\]]*])/g,d=a.depth>0&&g.exec(l),v=d?l.slice(0,d.index):l,E=[];if(v){if(!a.plainObjects&&Gu.call(Object.prototype,v)&&!a.allowPrototypes)return;E.push(v)}for(var _=0;a.depth>0&&(d=p.exec(l))!==null&&_<a.depth;){if(_+=1,!a.plainObjects&&Gu.call(Object.prototype,d[1].slice(1,-1))&&!a.allowPrototypes)return;E.push(d[1])}return d&&E.push("["+l.slice(d.index)+"]"),Ed(E,u,a,f)}},Ad=function(r){if(!r)return Le;if(r.decoder!==null&&r.decoder!==void 0&&typeof r.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof r.charset!="undefined"&&r.charset!=="utf-8"&&r.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var u=typeof r.charset=="undefined"?Le.charset:r.charset;return{allowDots:typeof r.allowDots=="undefined"?Le.allowDots:!!r.allowDots,allowPrototypes:typeof r.allowPrototypes=="boolean"?r.allowPrototypes:Le.allowPrototypes,allowSparse:typeof r.allowSparse=="boolean"?r.allowSparse:Le.allowSparse,arrayLimit:typeof r.arrayLimit=="number"?r.arrayLimit:Le.arrayLimit,charset:u,charsetSentinel:typeof r.charsetSentinel=="boolean"?r.charsetSentinel:Le.charsetSentinel,comma:typeof r.comma=="boolean"?r.comma:Le.comma,decoder:typeof r.decoder=="function"?r.decoder:Le.decoder,delimiter:typeof r.delimiter=="string"||zn.isRegExp(r.delimiter)?r.delimiter:Le.delimiter,depth:typeof r.depth=="number"||r.depth===!1?+r.depth:Le.depth,ignoreQueryPrefix:r.ignoreQueryPrefix===!0,interpretNumericEntities:typeof r.interpretNumericEntities=="boolean"?r.interpretNumericEntities:Le.interpretNumericEntities,parameterLimit:typeof r.parameterLimit=="number"?r.parameterLimit:Le.parameterLimit,parseArrays:r.parseArrays!==!1,plainObjects:typeof r.plainObjects=="boolean"?r.plainObjects:Le.plainObjects,strictNullHandling:typeof r.strictNullHandling=="boolean"?r.strictNullHandling:Le.strictNullHandling}},bd=function(n,r){var u=Ad(r);if(n===""||n===null||typeof n=="undefined")return u.plainObjects?Object.create(null):{};for(var a=typeof n=="string"?wd(n,u):n,f=u.plainObjects?Object.create(null):{},l=Object.keys(a),g=0;g<l.length;++g){var p=l[g],d=Sd(p,a[p],u,typeof n=="string");f=zn.merge(f,d,u)}return u.allowSparse===!0?f:zn.compact(f)},Cd=dd,xd=bd,Od=Hu,Td={formats:Od,parse:xd,stringify:Cd};function Nf(){const n=location.search,r=new Object;if(n.indexOf("?")!=-1){let a=n.substr(1).split("&");for(let f=0;f<a.length;f++)r[a[f].split("=")[0]]=unescape(a[f].split("=")[1])}return r}const Bf="Content-Type";function qu(n){let r=(n==null?void 0:n[Bf])||(n==null?void 0:n["content-type"])||"";const u=r.indexOf(";");return u!==-1&&(r=r.substring(0,u)),r}function Uf(n,r){n[Bf]=r}const wr={form:"application/x-www-form-urlencoded",multiForm:"multipart/form-data",body:"application/json",os:"application/octet-stream",json:"application/json"},Wf="v8-token",Hf="lambo-token";function Id(n){Ln(Wf,n),Ae(Hf,n),si.set("TOKEN_KEY",n,1),si.set("lambo-sso-key",n,1)}function Yf(){let n=_e(Hf);return n||(n=si.get("lambo-sso-key")),n||(n=si.get("TOKEN_KEY")),n||(n=Rn(Wf)),n||!1}const si={set:function(n,r,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+"="+r+";path=/;expires="+a.toGMTString()},get:function(n){if(document.cookie.length>0){var r=document.cookie.split("; ");for(let a=0;a<r.length;a++){let f=r[a].split("=");if(f[0]===n){var u=f[1];for(let l=2;l<f.length;l++)u+="="+f[l];return u}}}}};var kf={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",imgServerContext:"/ind-img-server",imaServerContext:"/imarket-act-manage-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 $d(){return{showMenus:!0}}function Dd(){return{showMenus:typeof window!="undefined"&&window.top===window.self}}function Gf(n){return n?Object.assign({},kf,$d()):Object.assign({},kf,Dd())}const bt=Gf(),Fd=1,Pd=10106;let Er=null;function Md(n){Er&&clearTimeout(Er);let r=!Er;Er=setTimeout(()=>{Er=null},1e3*20),r&&n()}function Rd(n){let r=Yf();r&&(n.headers.token=r);const u=Nf();(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=qu(n.headers);return n.method==="post"?a===wr.form&&(n.data=Td.stringify(n.data)):n.method,n}function qf(n){var f;let r=n.data;if(qu(n.headers)!==wr.json)return r;switch(typeof n.data=="string"&&(r=JSON.parse(n.data)),r.code){case Fd:return sessionStorage.getItem("isFromIM")=="1"&&((f=r==null?void 0:r.extInfo)==null?void 0:f.handleTask)&&typeof window.native!="undefined"&&window.native.goHome(),r;case Pd:{Md(function(){window.sessionNotValidHandler&&window.sessionNotValidHandler()});break}default:{let l=r.message||r.msg||bt.errorMessage;window.apiErrorHandler&&window.apiErrorHandler(l)}}return Promise.reject(r)}function zf(n){var r;return(n==null?void 0:n.code)==="ECONNABORTED"?window.apiErrorHandler&&window.apiErrorHandler("\u8BF7\u6C42\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u518D\u8BD5"):((r=n==null?void 0:n.response)==null?void 0:r.status)!==200&&window.apiErrorHandler&&window.apiErrorHandler("\u8BF7\u6C42\u51FA\u9519\u4E86"),Promise.reject(n)}const he=Ep.create({timeout:5*60*1e3});he.interceptors.request.use(Rd,zf),he.interceptors.response.use(qf,zf),he.formPost=function(n,r,u){const a=(u==null?void 0:u.headers)||{};return Uf(a,wr.form),he.post(n,r,Mt(ht({},u),{headers:a}))};var Kf={exports:{}},Jf={exports:{}};(function(){var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r={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 r.rotl(u,8)&16711935|r.rotl(u,24)&4278255360;for(var a=0;a<u.length;a++)u[a]=r.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=[],f=0,l=0;f<u.length;f++,l+=8)a[l>>>5]|=u[f]<<24-l%32;return a},wordsToBytes:function(u){for(var a=[],f=0;f<u.length*32;f+=8)a.push(u[f>>>5]>>>24-f%32&255);return a},bytesToHex:function(u){for(var a=[],f=0;f<u.length;f++)a.push((u[f]>>>4).toString(16)),a.push((u[f]&15).toString(16));return a.join("")},hexToBytes:function(u){for(var a=[],f=0;f<u.length;f+=2)a.push(parseInt(u.substr(f,2),16));return a},bytesToBase64:function(u){for(var a=[],f=0;f<u.length;f+=3)for(var l=u[f]<<16|u[f+1]<<8|u[f+2],g=0;g<4;g++)f*8+g*6<=u.length*8?a.push(n.charAt(l>>>6*(3-g)&63)):a.push("=");return a.join("")},base64ToBytes:function(u){u=u.replace(/[^A-Z0-9+\/]/ig,"");for(var a=[],f=0,l=0;f<u.length;l=++f%4)l!=0&&a.push((n.indexOf(u.charAt(f-1))&Math.pow(2,-2*l+8)-1)<<l*2|n.indexOf(u.charAt(f))>>>6-l*2);return a}};Jf.exports=r})();var zu={utf8:{stringToBytes:function(n){return zu.bin.stringToBytes(unescape(encodeURIComponent(n)))},bytesToString:function(n){return decodeURIComponent(escape(zu.bin.bytesToString(n)))}},bin:{stringToBytes:function(n){for(var r=[],u=0;u<n.length;u++)r.push(n.charCodeAt(u)&255);return r},bytesToString:function(n){for(var r=[],u=0;u<n.length;u++)r.push(String.fromCharCode(n[u]));return r.join("")}}},Vf=zu;/*!
|
|
5
|
+
`+r.prev}function ui(n,r){var u=Ru(n),a=[];if(u){a.length=n.length;for(var f=0;f<n.length;f++)a[f]=on(n,f)?r(n[f],n):""}var l=typeof Fu=="function"?Fu(n):[],g;if(Gn){g={};for(var p=0;p<l.length;p++)g["$"+l[p]]=l[p]}for(var d in n)!on(n,d)||u&&String(Number(d))===d&&d<n.length||Gn&&g["$"+d]instanceof Symbol||(vf.call(/[^\w$]/,d)?a.push(r(d,n)+": "+r(n[d],n)):a.push(d+": "+r(n[d],n)));if(typeof Fu=="function")for(var v=0;v<l.length;v++)_f.call(n,l[v])&&a.push("["+r(l[v])+"]: "+r(n[l[v]],n));return a}var Bu=An,qn=og,Bg=_g,Ug=Bu("%TypeError%"),oi=Bu("%WeakMap%",!0),ai=Bu("%Map%",!0),Wg=qn("WeakMap.prototype.get",!0),Hg=qn("WeakMap.prototype.set",!0),Yg=qn("WeakMap.prototype.has",!0),kg=qn("Map.prototype.get",!0),Gg=qn("Map.prototype.set",!0),qg=qn("Map.prototype.has",!0),Uu=function(n,r){for(var u=n,a;(a=u.next)!==null;u=a)if(a.key===r)return u.next=a.next,a.next=n.next,n.next=a,a},zg=function(n,r){var u=Uu(n,r);return u&&u.value},Kg=function(n,r,u){var a=Uu(n,r);a?a.value=u:n.next={key:r,next:n.next,value:u}},Jg=function(n,r){return!!Uu(n,r)},Vg=function(){var r,u,a,f={assert:function(l){if(!f.has(l))throw new Ug("Side channel does not contain "+Bg(l))},get:function(l){if(oi&&l&&(typeof l=="object"||typeof l=="function")){if(r)return Wg(r,l)}else if(ai){if(u)return kg(u,l)}else if(a)return zg(a,l)},has:function(l){if(oi&&l&&(typeof l=="object"||typeof l=="function")){if(r)return Yg(r,l)}else if(ai){if(u)return qg(u,l)}else if(a)return Jg(a,l);return!1},set:function(l,g){oi&&l&&(typeof l=="object"||typeof l=="function")?(r||(r=new oi),Hg(r,l,g)):ai?(u||(u=new ai),Gg(u,l,g)):(a||(a={key:{},next:null}),Kg(a,l,g))}};return f},Qg=String.prototype.replace,Xg=/%20/g,Wu={RFC1738:"RFC1738",RFC3986:"RFC3986"},Hu={default:Wu.RFC3986,formatters:{RFC1738:function(n){return Qg.call(n,Xg,"+")},RFC3986:function(n){return String(n)}},RFC1738:Wu.RFC1738,RFC3986:Wu.RFC3986},Zg=Hu,Yu=Object.prototype.hasOwnProperty,bn=Array.isArray,Lt=function(){for(var n=[],r=0;r<256;++r)n.push("%"+((r<16?"0":"")+r.toString(16)).toUpperCase());return n}(),jg=function(r){for(;r.length>1;){var u=r.pop(),a=u.obj[u.prop];if(bn(a)){for(var f=[],l=0;l<a.length;++l)typeof a[l]!="undefined"&&f.push(a[l]);u.obj[u.prop]=f}}},$f=function(r,u){for(var a=u&&u.plainObjects?Object.create(null):{},f=0;f<r.length;++f)typeof r[f]!="undefined"&&(a[f]=r[f]);return a},ed=function n(r,u,a){if(!u)return r;if(typeof u!="object"){if(bn(r))r.push(u);else if(r&&typeof r=="object")(a&&(a.plainObjects||a.allowPrototypes)||!Yu.call(Object.prototype,u))&&(r[u]=!0);else return[r,u];return r}if(!r||typeof r!="object")return[r].concat(u);var f=r;return bn(r)&&!bn(u)&&(f=$f(r,a)),bn(r)&&bn(u)?(u.forEach(function(l,g){if(Yu.call(r,g)){var p=r[g];p&&typeof p=="object"&&l&&typeof l=="object"?r[g]=n(p,l,a):r.push(l)}else r[g]=l}),r):Object.keys(u).reduce(function(l,g){var p=u[g];return Yu.call(l,g)?l[g]=n(l[g],p,a):l[g]=p,l},f)},td=function(r,u){return Object.keys(u).reduce(function(a,f){return a[f]=u[f],a},r)},nd=function(n,r,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(f){return a}},rd=function(r,u,a,f,l){if(r.length===0)return r;var g=r;if(typeof r=="symbol"?g=Symbol.prototype.toString.call(r):typeof r!="string"&&(g=String(r)),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 p="",d=0;d<g.length;++d){var v=g.charCodeAt(d);if(v===45||v===46||v===95||v===126||v>=48&&v<=57||v>=65&&v<=90||v>=97&&v<=122||l===Zg.RFC1738&&(v===40||v===41)){p+=g.charAt(d);continue}if(v<128){p=p+Lt[v];continue}if(v<2048){p=p+(Lt[192|v>>6]+Lt[128|v&63]);continue}if(v<55296||v>=57344){p=p+(Lt[224|v>>12]+Lt[128|v>>6&63]+Lt[128|v&63]);continue}d+=1,v=65536+((v&1023)<<10|g.charCodeAt(d)&1023),p+=Lt[240|v>>18]+Lt[128|v>>12&63]+Lt[128|v>>6&63]+Lt[128|v&63]}return p},id=function(r){for(var u=[{obj:{o:r},prop:"o"}],a=[],f=0;f<u.length;++f)for(var l=u[f],g=l.obj[l.prop],p=Object.keys(g),d=0;d<p.length;++d){var v=p[d],E=g[v];typeof E=="object"&&E!==null&&a.indexOf(E)===-1&&(u.push({obj:g,prop:v}),a.push(E))}return jg(u),r},ud=function(r){return Object.prototype.toString.call(r)==="[object RegExp]"},od=function(r){return!r||typeof r!="object"?!1:!!(r.constructor&&r.constructor.isBuffer&&r.constructor.isBuffer(r))},ad=function(r,u){return[].concat(r,u)},fd=function(r,u){if(bn(r)){for(var a=[],f=0;f<r.length;f+=1)a.push(u(r[f]));return a}return u(r)},Df={arrayToObject:$f,assign:td,combine:ad,compact:id,decode:nd,encode:rd,isBuffer:od,isRegExp:ud,maybeMap:fd,merge:ed},Ff=Vg,fi=Df,_r=Hu,sd=Object.prototype.hasOwnProperty,Pf={brackets:function(r){return r+"[]"},comma:"comma",indices:function(r,u){return r+"["+u+"]"},repeat:function(r){return r}},kt=Array.isArray,ld=Array.prototype.push,Mf=function(n,r){ld.apply(n,kt(r)?r:[r])},cd=Date.prototype.toISOString,Rf=_r.default,Ge={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:fi.encode,encodeValuesOnly:!1,format:Rf,formatter:_r.formatters[Rf],indices:!1,serializeDate:function(r){return cd.call(r)},skipNulls:!1,strictNullHandling:!1},hd=function(r){return typeof r=="string"||typeof r=="number"||typeof r=="boolean"||typeof r=="symbol"||typeof r=="bigint"},ku={},pd=function n(r,u,a,f,l,g,p,d,v,E,_,w,S,$,M,B){for(var P=r,k=B,F=0,N=!1;(k=k.get(ku))!==void 0&&!N;){var R=k.get(r);if(F+=1,typeof R!="undefined"){if(R===F)throw new RangeError("Cyclic object value");N=!0}typeof k.get(ku)=="undefined"&&(F=0)}if(typeof d=="function"?P=d(u,P):P instanceof Date?P=_(P):a==="comma"&&kt(P)&&(P=fi.maybeMap(P,function(L){return L instanceof Date?_(L):L})),P===null){if(l)return p&&!$?p(u,Ge.encoder,M,"key",w):u;P=""}if(hd(P)||fi.isBuffer(P)){if(p){var X=$?u:p(u,Ge.encoder,M,"key",w);return[S(X)+"="+S(p(P,Ge.encoder,M,"value",w))]}return[S(u)+"="+S(String(P))]}var z=[];if(typeof P=="undefined")return z;var ue;if(a==="comma"&&kt(P))$&&p&&(P=fi.maybeMap(P,p)),ue=[{value:P.length>0?P.join(",")||null:void 0}];else if(kt(d))ue=d;else{var ye=Object.keys(P);ue=v?ye.sort(v):ye}for(var de=f&&kt(P)&&P.length===1?u+"[]":u,oe=0;oe<ue.length;++oe){var $e=ue[oe],qe=typeof $e=="object"&&typeof $e.value!="undefined"?$e.value:P[$e];if(!(g&&qe===null)){var K=kt(P)?typeof a=="function"?a(de,$e):de:de+(E?"."+$e:"["+$e+"]");B.set(r,F);var H=Ff();H.set(ku,B),Mf(z,n(qe,K,a,f,l,g,a==="comma"&&$&&kt(P)?null:p,d,v,E,_,w,S,$,M,H))}}return z},gd=function(r){if(!r)return Ge;if(r.encoder!==null&&typeof r.encoder!="undefined"&&typeof r.encoder!="function")throw new TypeError("Encoder has to be a function.");var u=r.charset||Ge.charset;if(typeof r.charset!="undefined"&&r.charset!=="utf-8"&&r.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var a=_r.default;if(typeof r.format!="undefined"){if(!sd.call(_r.formatters,r.format))throw new TypeError("Unknown format option provided.");a=r.format}var f=_r.formatters[a],l=Ge.filter;return(typeof r.filter=="function"||kt(r.filter))&&(l=r.filter),{addQueryPrefix:typeof r.addQueryPrefix=="boolean"?r.addQueryPrefix:Ge.addQueryPrefix,allowDots:typeof r.allowDots=="undefined"?Ge.allowDots:!!r.allowDots,charset:u,charsetSentinel:typeof r.charsetSentinel=="boolean"?r.charsetSentinel:Ge.charsetSentinel,delimiter:typeof r.delimiter=="undefined"?Ge.delimiter:r.delimiter,encode:typeof r.encode=="boolean"?r.encode:Ge.encode,encoder:typeof r.encoder=="function"?r.encoder:Ge.encoder,encodeValuesOnly:typeof r.encodeValuesOnly=="boolean"?r.encodeValuesOnly:Ge.encodeValuesOnly,filter:l,format:a,formatter:f,serializeDate:typeof r.serializeDate=="function"?r.serializeDate:Ge.serializeDate,skipNulls:typeof r.skipNulls=="boolean"?r.skipNulls:Ge.skipNulls,sort:typeof r.sort=="function"?r.sort:null,strictNullHandling:typeof r.strictNullHandling=="boolean"?r.strictNullHandling:Ge.strictNullHandling}},dd=function(n,r){var u=n,a=gd(r),f,l;typeof a.filter=="function"?(l=a.filter,u=l("",u)):kt(a.filter)&&(l=a.filter,f=l);var g=[];if(typeof u!="object"||u===null)return"";var p;r&&r.arrayFormat in Pf?p=r.arrayFormat:r&&"indices"in r?p=r.indices?"indices":"repeat":p="indices";var d=Pf[p];if(r&&"commaRoundTrip"in r&&typeof r.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var v=d==="comma"&&r&&r.commaRoundTrip;f||(f=Object.keys(u)),a.sort&&f.sort(a.sort);for(var E=Ff(),_=0;_<f.length;++_){var w=f[_];a.skipNulls&&u[w]===null||Mf(g,pd(u[w],w,d,v,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 S=g.join(a.delimiter),$=a.addQueryPrefix===!0?"?":"";return a.charsetSentinel&&(a.charset==="iso-8859-1"?$+="utf8=%26%2310003%3B&":$+="utf8=%E2%9C%93&"),S.length>0?$+S:""},zn=Df,Gu=Object.prototype.hasOwnProperty,vd=Array.isArray,Le={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:zn.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},yd=function(n){return n.replace(/&#(\d+);/g,function(r,u){return String.fromCharCode(parseInt(u,10))})},Lf=function(n,r){return n&&typeof n=="string"&&r.comma&&n.indexOf(",")>-1?n.split(","):n},md="utf8=%26%2310003%3B",_d="utf8=%E2%9C%93",wd=function(r,u){var a={__proto__:null},f=u.ignoreQueryPrefix?r.replace(/^\?/,""):r,l=u.parameterLimit===1/0?void 0:u.parameterLimit,g=f.split(u.delimiter,l),p=-1,d,v=u.charset;if(u.charsetSentinel)for(d=0;d<g.length;++d)g[d].indexOf("utf8=")===0&&(g[d]===_d?v="utf-8":g[d]===md&&(v="iso-8859-1"),p=d,d=g.length);for(d=0;d<g.length;++d)if(d!==p){var E=g[d],_=E.indexOf("]="),w=_===-1?E.indexOf("="):_+1,S,$;w===-1?(S=u.decoder(E,Le.decoder,v,"key"),$=u.strictNullHandling?null:""):(S=u.decoder(E.slice(0,w),Le.decoder,v,"key"),$=zn.maybeMap(Lf(E.slice(w+1),u),function(M){return u.decoder(M,Le.decoder,v,"value")})),$&&u.interpretNumericEntities&&v==="iso-8859-1"&&($=yd($)),E.indexOf("[]=")>-1&&($=vd($)?[$]:$),Gu.call(a,S)?a[S]=zn.combine(a[S],$):a[S]=$}return a},Ed=function(n,r,u,a){for(var f=a?r:Lf(r,u),l=n.length-1;l>=0;--l){var g,p=n[l];if(p==="[]"&&u.parseArrays)g=[].concat(f);else{g=u.plainObjects?Object.create(null):{};var d=p.charAt(0)==="["&&p.charAt(p.length-1)==="]"?p.slice(1,-1):p,v=parseInt(d,10);!u.parseArrays&&d===""?g={0:f}:!isNaN(v)&&p!==d&&String(v)===d&&v>=0&&u.parseArrays&&v<=u.arrayLimit?(g=[],g[v]=f):d!=="__proto__"&&(g[d]=f)}f=g}return f},Sd=function(r,u,a,f){if(!!r){var l=a.allowDots?r.replace(/\.([^.[]+)/g,"[$1]"):r,g=/(\[[^[\]]*])/,p=/(\[[^[\]]*])/g,d=a.depth>0&&g.exec(l),v=d?l.slice(0,d.index):l,E=[];if(v){if(!a.plainObjects&&Gu.call(Object.prototype,v)&&!a.allowPrototypes)return;E.push(v)}for(var _=0;a.depth>0&&(d=p.exec(l))!==null&&_<a.depth;){if(_+=1,!a.plainObjects&&Gu.call(Object.prototype,d[1].slice(1,-1))&&!a.allowPrototypes)return;E.push(d[1])}return d&&E.push("["+l.slice(d.index)+"]"),Ed(E,u,a,f)}},Ad=function(r){if(!r)return Le;if(r.decoder!==null&&r.decoder!==void 0&&typeof r.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof r.charset!="undefined"&&r.charset!=="utf-8"&&r.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var u=typeof r.charset=="undefined"?Le.charset:r.charset;return{allowDots:typeof r.allowDots=="undefined"?Le.allowDots:!!r.allowDots,allowPrototypes:typeof r.allowPrototypes=="boolean"?r.allowPrototypes:Le.allowPrototypes,allowSparse:typeof r.allowSparse=="boolean"?r.allowSparse:Le.allowSparse,arrayLimit:typeof r.arrayLimit=="number"?r.arrayLimit:Le.arrayLimit,charset:u,charsetSentinel:typeof r.charsetSentinel=="boolean"?r.charsetSentinel:Le.charsetSentinel,comma:typeof r.comma=="boolean"?r.comma:Le.comma,decoder:typeof r.decoder=="function"?r.decoder:Le.decoder,delimiter:typeof r.delimiter=="string"||zn.isRegExp(r.delimiter)?r.delimiter:Le.delimiter,depth:typeof r.depth=="number"||r.depth===!1?+r.depth:Le.depth,ignoreQueryPrefix:r.ignoreQueryPrefix===!0,interpretNumericEntities:typeof r.interpretNumericEntities=="boolean"?r.interpretNumericEntities:Le.interpretNumericEntities,parameterLimit:typeof r.parameterLimit=="number"?r.parameterLimit:Le.parameterLimit,parseArrays:r.parseArrays!==!1,plainObjects:typeof r.plainObjects=="boolean"?r.plainObjects:Le.plainObjects,strictNullHandling:typeof r.strictNullHandling=="boolean"?r.strictNullHandling:Le.strictNullHandling}},bd=function(n,r){var u=Ad(r);if(n===""||n===null||typeof n=="undefined")return u.plainObjects?Object.create(null):{};for(var a=typeof n=="string"?wd(n,u):n,f=u.plainObjects?Object.create(null):{},l=Object.keys(a),g=0;g<l.length;++g){var p=l[g],d=Sd(p,a[p],u,typeof n=="string");f=zn.merge(f,d,u)}return u.allowSparse===!0?f:zn.compact(f)},Cd=dd,xd=bd,Od=Hu,Td={formats:Od,parse:xd,stringify:Cd};function Nf(){const n=location.search,r=new Object;if(n.indexOf("?")!=-1){let a=n.substr(1).split("&");for(let f=0;f<a.length;f++)r[a[f].split("=")[0]]=unescape(a[f].split("=")[1])}return r}const Bf="Content-Type";function qu(n){let r=(n==null?void 0:n[Bf])||(n==null?void 0:n["content-type"])||"";const u=r.indexOf(";");return u!==-1&&(r=r.substring(0,u)),r}function Uf(n,r){n[Bf]=r}const wr={form:"application/x-www-form-urlencoded",multiForm:"multipart/form-data",body:"application/json",os:"application/octet-stream",json:"application/json"},Wf="v8-token",Hf="lambo-token";function Id(n){Ln(Wf,n),Ae(Hf,n),si.set("TOKEN_KEY",n,1),si.set("lambo-sso-key",n,1)}function Yf(){let n=_e(Hf);return n||(n=si.get("lambo-sso-key")),n||(n=si.get("TOKEN_KEY")),n||(n=Rn(Wf)),n||!1}const si={set:function(n,r,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+"="+r+";path=/;expires="+a.toGMTString()},get:function(n){if(document.cookie.length>0){var r=document.cookie.split("; ");for(let a=0;a<r.length;a++){let f=r[a].split("=");if(f[0]===n){var u=f[1];for(let l=2;l<f.length;l++)u+="="+f[l];return u}}}}};var kf={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",imgServerContext:"/ind-img-server",imaServerContext:"/imarket-act-manage-server",ucExtServerContext:"/ind-uc-ext-server",dataManageServerContext:"/ddd-data-manage-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 $d(){return{showMenus:!0}}function Dd(){return{showMenus:typeof window!="undefined"&&window.top===window.self}}function Gf(n){return n?Object.assign({},kf,$d()):Object.assign({},kf,Dd())}const bt=Gf(),Fd=1,Pd=10106;let Er=null;function Md(n){Er&&clearTimeout(Er);let r=!Er;Er=setTimeout(()=>{Er=null},1e3*20),r&&n()}function Rd(n){let r=Yf();r&&(n.headers.token=r);const u=Nf();(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=qu(n.headers);return n.method==="post"?a===wr.form&&(n.data=Td.stringify(n.data)):n.method,n}function qf(n){var f;let r=n.data;if(qu(n.headers)!==wr.json)return r;switch(typeof n.data=="string"&&(r=JSON.parse(n.data)),r.code){case Fd:return sessionStorage.getItem("isFromIM")=="1"&&((f=r==null?void 0:r.extInfo)==null?void 0:f.handleTask)&&typeof window.native!="undefined"&&window.native.goHome(),r;case Pd:{Md(function(){window.sessionNotValidHandler&&window.sessionNotValidHandler()});break}default:{let l=r.message||r.msg||bt.errorMessage;window.apiErrorHandler&&window.apiErrorHandler(l)}}return Promise.reject(r)}function zf(n){var r;return(n==null?void 0:n.code)==="ECONNABORTED"?window.apiErrorHandler&&window.apiErrorHandler("\u8BF7\u6C42\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u518D\u8BD5"):((r=n==null?void 0:n.response)==null?void 0:r.status)!==200&&window.apiErrorHandler&&window.apiErrorHandler("\u8BF7\u6C42\u51FA\u9519\u4E86"),Promise.reject(n)}const he=Ep.create({timeout:5*60*1e3});he.interceptors.request.use(Rd,zf),he.interceptors.response.use(qf,zf),he.formPost=function(n,r,u){const a=(u==null?void 0:u.headers)||{};return Uf(a,wr.form),he.post(n,r,Mt(ht({},u),{headers:a}))};var Kf={exports:{}},Jf={exports:{}};(function(){var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r={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 r.rotl(u,8)&16711935|r.rotl(u,24)&4278255360;for(var a=0;a<u.length;a++)u[a]=r.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=[],f=0,l=0;f<u.length;f++,l+=8)a[l>>>5]|=u[f]<<24-l%32;return a},wordsToBytes:function(u){for(var a=[],f=0;f<u.length*32;f+=8)a.push(u[f>>>5]>>>24-f%32&255);return a},bytesToHex:function(u){for(var a=[],f=0;f<u.length;f++)a.push((u[f]>>>4).toString(16)),a.push((u[f]&15).toString(16));return a.join("")},hexToBytes:function(u){for(var a=[],f=0;f<u.length;f+=2)a.push(parseInt(u.substr(f,2),16));return a},bytesToBase64:function(u){for(var a=[],f=0;f<u.length;f+=3)for(var l=u[f]<<16|u[f+1]<<8|u[f+2],g=0;g<4;g++)f*8+g*6<=u.length*8?a.push(n.charAt(l>>>6*(3-g)&63)):a.push("=");return a.join("")},base64ToBytes:function(u){u=u.replace(/[^A-Z0-9+\/]/ig,"");for(var a=[],f=0,l=0;f<u.length;l=++f%4)l!=0&&a.push((n.indexOf(u.charAt(f-1))&Math.pow(2,-2*l+8)-1)<<l*2|n.indexOf(u.charAt(f))>>>6-l*2);return a}};Jf.exports=r})();var zu={utf8:{stringToBytes:function(n){return zu.bin.stringToBytes(unescape(encodeURIComponent(n)))},bytesToString:function(n){return decodeURIComponent(escape(zu.bin.bytesToString(n)))}},bin:{stringToBytes:function(n){for(var r=[],u=0;u<n.length;u++)r.push(n.charCodeAt(u)&255);return r},bytesToString:function(n){for(var r=[],u=0;u<n.length;u++)r.push(String.fromCharCode(n[u]));return r.join("")}}},Vf=zu;/*!
|
|
6
6
|
* Determine if an object is a Buffer
|
|
7
7
|
*
|
|
8
8
|
* @author Feross Aboukhadijeh <https://feross.org>
|
|
@@ -33,4 +33,4 @@ __p += '`),ce&&(D+=`' +
|
|
|
33
33
|
function print() { __p += __j.call(arguments, '') }
|
|
34
34
|
`:`;
|
|
35
35
|
`)+D+`return __p
|
|
36
|
-
}`;var re=Zc(function(){return pe(h,q+"return "+D).apply(u,y)});if(re.source=D,ga(re))throw re;return re}function YS(e){return ge(e).toLowerCase()}function kS(e){return ge(e).toUpperCase()}function GS(e,t,i){if(e=ge(e),e&&(i||t===u))return al(e);if(!e||!(t=ft(t)))return e;var o=$t(e),s=$t(t),h=fl(o,s),y=sl(o,s)+1;return vn(o,h,y).join("")}function qS(e,t,i){if(e=ge(e),e&&(i||t===u))return e.slice(0,cl(e)+1);if(!e||!(t=ft(t)))return e;var o=$t(e),s=sl(o,$t(t))+1;return vn(o,0,s).join("")}function zS(e,t,i){if(e=ge(e),e&&(i||t===u))return e.replace(po,"");if(!e||!(t=ft(t)))return e;var o=$t(e),s=fl(o,$t(t));return vn(o,s).join("")}function KS(e,t){var i=de,o=oe;if(xe(t)){var s="separator"in t?t.separator:s;i="length"in t?ne(t.length):i,o="omission"in t?ft(t.omission):o}e=ge(e);var h=e.length;if(er(e)){var y=$t(e);h=y.length}if(i>=h)return e;var m=i-tr(o);if(m<1)return o;var b=y?vn(y,0,m).join(""):e.slice(0,m);if(s===u)return b+o;if(y&&(m+=b.length-m),da(s)){if(e.slice(m).search(s)){var T,I=b;for(s.global||(s=Do(s.source,ge(Is.exec(s))+"g")),s.lastIndex=0;T=s.exec(I);)var D=T.index;b=b.slice(0,D===u?m:D)}}else if(e.indexOf(ft(s),m)!=m){var W=b.lastIndexOf(s);W>-1&&(b=b.slice(0,W))}return b+o}function JS(e){return e=ge(e),e&&u1.test(e)?e.replace(xs,Ay):e}var VS=fr(function(e,t,i){return e+(i?" ":"")+t.toUpperCase()}),ma=jl("toUpperCase");function Xc(e,t,i){return e=ge(e),t=i?u:t,t===u?my(e)?xy(e):sy(e):e.match(t)||[]}var Zc=ie(function(e,t){try{return ot(e,u,t)}catch(i){return ga(i)?i:new j(i)}}),QS=jt(function(e,t){return dt(t,function(i){i=Yt(i),Xt(e,i,ha(e[i],e))}),e});function XS(e){var t=e==null?0:e.length,i=J();return e=t?be(e,function(o){if(typeof o[1]!="function")throw new vt(g);return[i(o[0]),o[1]]}):[],ie(function(o){for(var s=-1;++s<t;){var h=e[s];if(ot(h[0],this,o))return ot(h[1],this,o)}})}function ZS(e){return Am(mt(e,_))}function _a(e){return function(){return e}}function jS(e,t){return e==null||e!==e?t:e}var eA=tc(),tA=tc(!0);function nt(e){return e}function wa(e){return Dl(typeof e=="function"?e:mt(e,_))}function nA(e){return Pl(mt(e,_))}function rA(e,t){return Ml(e,mt(t,_))}var iA=ie(function(e,t){return function(i){return Br(i,e,t)}}),uA=ie(function(e,t){return function(i){return Br(e,i,t)}});function Ea(e,t,i){var o=Be(t),s=Bi(t,o);i==null&&!(xe(t)&&(s.length||!o.length))&&(i=t,t=e,e=this,s=Bi(t,Be(t)));var h=!(xe(i)&&"chain"in i)||!!i.chain,y=tn(e);return dt(s,function(m){var b=t[m];e[m]=b,y&&(e.prototype[m]=function(){var T=this.__chain__;if(h||T){var I=e(this.__wrapped__),D=I.__actions__=je(this.__actions__);return D.push({func:b,args:arguments,thisArg:e}),I.__chain__=T,I}return b.apply(e,ln([this.value()],arguments))})}),e}function oA(){return We._===this&&(We._=Fy),this}function Sa(){}function aA(e){return e=ne(e),ie(function(t){return Rl(t,e)})}var fA=jo(be),sA=jo(nl),lA=jo(bo);function jc(e){return oa(e)?Co(Yt(e)):Wm(e)}function cA(e){return function(t){return e==null?u:Dn(e,t)}}var hA=rc(),pA=rc(!0);function Aa(){return[]}function ba(){return!1}function gA(){return{}}function dA(){return""}function vA(){return!0}function yA(e,t){if(e=ne(e),e<1||e>U)return[];var i=ae,o=Ke(e,ae);t=J(t),e-=ae;for(var s=To(o,t);++i<e;)t(i);return s}function mA(e){return te(e)?be(e,Yt):st(e)?[e]:je(_c(ge(e)))}function _A(e){var t=++$y;return ge(e)+t}var wA=Gi(function(e,t){return e+t},0),EA=ea("ceil"),SA=Gi(function(e,t){return e/t},1),AA=ea("floor");function bA(e){return e&&e.length?Ni(e,nt,Uo):u}function CA(e,t){return e&&e.length?Ni(e,J(t,2),Uo):u}function xA(e){return ul(e,nt)}function OA(e,t){return ul(e,J(t,2))}function TA(e){return e&&e.length?Ni(e,nt,ko):u}function IA(e,t){return e&&e.length?Ni(e,J(t,2),ko):u}var $A=Gi(function(e,t){return e*t},1),DA=ea("round"),FA=Gi(function(e,t){return e-t},0);function PA(e){return e&&e.length?Oo(e,nt):0}function MA(e,t){return e&&e.length?Oo(e,J(t,2)):0}return c.after=nE,c.ary=$c,c.assign=kE,c.assignIn=Gc,c.assignInWith=ru,c.assignWith=GE,c.at=qE,c.before=Dc,c.bind=ha,c.bindAll=QS,c.bindKey=Fc,c.castArray=gE,c.chain=Oc,c.chunk=A_,c.compact=b_,c.concat=C_,c.cond=XS,c.conforms=ZS,c.constant=_a,c.countBy=Pw,c.create=zE,c.curry=Pc,c.curryRight=Mc,c.debounce=Rc,c.defaults=KE,c.defaultsDeep=JE,c.defer=rE,c.delay=iE,c.difference=x_,c.differenceBy=O_,c.differenceWith=T_,c.drop=I_,c.dropRight=$_,c.dropRightWhile=D_,c.dropWhile=F_,c.fill=P_,c.filter=Rw,c.flatMap=Bw,c.flatMapDeep=Uw,c.flatMapDepth=Ww,c.flatten=Ac,c.flattenDeep=M_,c.flattenDepth=R_,c.flip=uE,c.flow=eA,c.flowRight=tA,c.fromPairs=L_,c.functions=tS,c.functionsIn=nS,c.groupBy=Hw,c.initial=B_,c.intersection=U_,c.intersectionBy=W_,c.intersectionWith=H_,c.invert=iS,c.invertBy=uS,c.invokeMap=kw,c.iteratee=wa,c.keyBy=Gw,c.keys=Be,c.keysIn=tt,c.map=Xi,c.mapKeys=aS,c.mapValues=fS,c.matches=nA,c.matchesProperty=rA,c.memoize=ji,c.merge=sS,c.mergeWith=qc,c.method=iA,c.methodOf=uA,c.mixin=Ea,c.negate=eu,c.nthArg=aA,c.omit=lS,c.omitBy=cS,c.once=oE,c.orderBy=qw,c.over=fA,c.overArgs=aE,c.overEvery=sA,c.overSome=lA,c.partial=pa,c.partialRight=Lc,c.partition=zw,c.pick=hS,c.pickBy=zc,c.property=jc,c.propertyOf=cA,c.pull=q_,c.pullAll=Cc,c.pullAllBy=z_,c.pullAllWith=K_,c.pullAt=J_,c.range=hA,c.rangeRight=pA,c.rearg=fE,c.reject=Vw,c.remove=V_,c.rest=sE,c.reverse=la,c.sampleSize=Xw,c.set=gS,c.setWith=dS,c.shuffle=Zw,c.slice=Q_,c.sortBy=tE,c.sortedUniq=rw,c.sortedUniqBy=iw,c.split=BS,c.spread=lE,c.tail=uw,c.take=ow,c.takeRight=aw,c.takeRightWhile=fw,c.takeWhile=sw,c.tap=bw,c.throttle=cE,c.thru=Qi,c.toArray=Hc,c.toPairs=Kc,c.toPairsIn=Jc,c.toPath=mA,c.toPlainObject=kc,c.transform=vS,c.unary=hE,c.union=lw,c.unionBy=cw,c.unionWith=hw,c.uniq=pw,c.uniqBy=gw,c.uniqWith=dw,c.unset=yS,c.unzip=ca,c.unzipWith=xc,c.update=mS,c.updateWith=_S,c.values=cr,c.valuesIn=wS,c.without=vw,c.words=Xc,c.wrap=pE,c.xor=yw,c.xorBy=mw,c.xorWith=_w,c.zip=ww,c.zipObject=Ew,c.zipObjectDeep=Sw,c.zipWith=Aw,c.entries=Kc,c.entriesIn=Jc,c.extend=Gc,c.extendWith=ru,Ea(c,c),c.add=wA,c.attempt=Zc,c.camelCase=bS,c.capitalize=Vc,c.ceil=EA,c.clamp=ES,c.clone=dE,c.cloneDeep=yE,c.cloneDeepWith=mE,c.cloneWith=vE,c.conformsTo=_E,c.deburr=Qc,c.defaultTo=jS,c.divide=SA,c.endsWith=CS,c.eq=Ft,c.escape=xS,c.escapeRegExp=OS,c.every=Mw,c.find=Lw,c.findIndex=Ec,c.findKey=VE,c.findLast=Nw,c.findLastIndex=Sc,c.findLastKey=QE,c.floor=AA,c.forEach=Tc,c.forEachRight=Ic,c.forIn=XE,c.forInRight=ZE,c.forOwn=jE,c.forOwnRight=eS,c.get=va,c.gt=wE,c.gte=EE,c.has=rS,c.hasIn=ya,c.head=bc,c.identity=nt,c.includes=Yw,c.indexOf=N_,c.inRange=SS,c.invoke=oS,c.isArguments=Mn,c.isArray=te,c.isArrayBuffer=SE,c.isArrayLike=et,c.isArrayLikeObject=Te,c.isBoolean=AE,c.isBuffer=yn,c.isDate=bE,c.isElement=CE,c.isEmpty=xE,c.isEqual=OE,c.isEqualWith=TE,c.isError=ga,c.isFinite=IE,c.isFunction=tn,c.isInteger=Nc,c.isLength=tu,c.isMap=Bc,c.isMatch=$E,c.isMatchWith=DE,c.isNaN=FE,c.isNative=PE,c.isNil=RE,c.isNull=ME,c.isNumber=Uc,c.isObject=xe,c.isObjectLike=Oe,c.isPlainObject=Gr,c.isRegExp=da,c.isSafeInteger=LE,c.isSet=Wc,c.isString=nu,c.isSymbol=st,c.isTypedArray=lr,c.isUndefined=NE,c.isWeakMap=BE,c.isWeakSet=UE,c.join=Y_,c.kebabCase=TS,c.last=wt,c.lastIndexOf=k_,c.lowerCase=IS,c.lowerFirst=$S,c.lt=WE,c.lte=HE,c.max=bA,c.maxBy=CA,c.mean=xA,c.meanBy=OA,c.min=TA,c.minBy=IA,c.stubArray=Aa,c.stubFalse=ba,c.stubObject=gA,c.stubString=dA,c.stubTrue=vA,c.multiply=$A,c.nth=G_,c.noConflict=oA,c.noop=Sa,c.now=Zi,c.pad=DS,c.padEnd=FS,c.padStart=PS,c.parseInt=MS,c.random=AS,c.reduce=Kw,c.reduceRight=Jw,c.repeat=RS,c.replace=LS,c.result=pS,c.round=DA,c.runInContext=A,c.sample=Qw,c.size=jw,c.snakeCase=NS,c.some=eE,c.sortedIndex=X_,c.sortedIndexBy=Z_,c.sortedIndexOf=j_,c.sortedLastIndex=ew,c.sortedLastIndexBy=tw,c.sortedLastIndexOf=nw,c.startCase=US,c.startsWith=WS,c.subtract=FA,c.sum=PA,c.sumBy=MA,c.template=HS,c.times=yA,c.toFinite=nn,c.toInteger=ne,c.toLength=Yc,c.toLower=YS,c.toNumber=Et,c.toSafeInteger=YE,c.toString=ge,c.toUpper=kS,c.trim=GS,c.trimEnd=qS,c.trimStart=zS,c.truncate=KS,c.unescape=JS,c.uniqueId=_A,c.upperCase=VS,c.upperFirst=ma,c.each=Tc,c.eachRight=Ic,c.first=bc,Ea(c,function(){var e={};return Wt(c,function(t,i){ve.call(c.prototype,i)||(e[i]=t)}),e}(),{chain:!1}),c.VERSION=a,dt(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){c[e].placeholder=c}),dt(["drop","take"],function(e,t){le.prototype[e]=function(i){i=i===u?1:Me(ne(i),0);var o=this.__filtered__&&!t?new le(this):this.clone();return o.__filtered__?o.__takeCount__=Ke(i,o.__takeCount__):o.__views__.push({size:Ke(i,ae),type:e+(o.__dir__<0?"Right":"")}),o},le.prototype[e+"Right"]=function(i){return this.reverse()[e](i).reverse()}}),dt(["filter","map","takeWhile"],function(e,t){var i=t+1,o=i==K||i==L;le.prototype[e]=function(s){var h=this.clone();return h.__iteratees__.push({iteratee:J(s,3),type:i}),h.__filtered__=h.__filtered__||o,h}}),dt(["head","last"],function(e,t){var i="take"+(t?"Right":"");le.prototype[e]=function(){return this[i](1).value()[0]}}),dt(["initial","tail"],function(e,t){var i="drop"+(t?"":"Right");le.prototype[e]=function(){return this.__filtered__?new le(this):this[i](1)}}),le.prototype.compact=function(){return this.filter(nt)},le.prototype.find=function(e){return this.filter(e).head()},le.prototype.findLast=function(e){return this.reverse().find(e)},le.prototype.invokeMap=ie(function(e,t){return typeof e=="function"?new le(this):this.map(function(i){return Br(i,e,t)})}),le.prototype.reject=function(e){return this.filter(eu(J(e)))},le.prototype.slice=function(e,t){e=ne(e);var i=this;return i.__filtered__&&(e>0||t<0)?new le(i):(e<0?i=i.takeRight(-e):e&&(i=i.drop(e)),t!==u&&(t=ne(t),i=t<0?i.dropRight(-t):i.take(t-e)),i)},le.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},le.prototype.toArray=function(){return this.take(ae)},Wt(le.prototype,function(e,t){var i=/^(?:filter|find|map|reject)|While$/.test(t),o=/^(?:head|last)$/.test(t),s=c[o?"take"+(t=="last"?"Right":""):t],h=o||/^find/.test(t);!s||(c.prototype[t]=function(){var y=this.__wrapped__,m=o?[1]:arguments,b=y instanceof le,T=m[0],I=b||te(y),D=function(fe){var ce=s.apply(c,ln([fe],m));return o&&W?ce[0]:ce};I&&i&&typeof T=="function"&&T.length!=1&&(b=I=!1);var W=this.__chain__,q=!!this.__actions__.length,V=h&&!W,re=b&&!q;if(!h&&I){y=re?y:new le(this);var Q=e.apply(y,m);return Q.__actions__.push({func:Qi,args:[D],thisArg:u}),new yt(Q,W)}return V&&re?e.apply(this,m):(Q=this.thru(D),V?o?Q.value()[0]:Q.value():Q)})}),dt(["pop","push","shift","sort","splice","unshift"],function(e){var t=Si[e],i=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",o=/^(?:pop|shift)$/.test(e);c.prototype[e]=function(){var s=arguments;if(o&&!this.__chain__){var h=this.value();return t.apply(te(h)?h:[],s)}return this[i](function(y){return t.apply(te(y)?y:[],s)})}}),Wt(le.prototype,function(e,t){var i=c[t];if(i){var o=i.name+"";ve.call(ur,o)||(ur[o]=[]),ur[o].push({name:t,func:i})}}),ur[ki(u,P).name]=[{name:"wrapper",func:u}],le.prototype.clone=Jy,le.prototype.reverse=Vy,le.prototype.value=Qy,c.prototype.at=Cw,c.prototype.chain=xw,c.prototype.commit=Ow,c.prototype.next=Tw,c.prototype.plant=$w,c.prototype.reverse=Dw,c.prototype.toJSON=c.prototype.valueOf=c.prototype.value=Fw,c.prototype.first=c.prototype.head,Dr&&(c.prototype[Dr]=Iw),c},nr=Oy();xn?((xn.exports=nr)._=nr,wo._=nr):We._=nr}).call(_n)})(Zu,Zu.exports);var we=Zu.exports;const us="IS_ENUM",S0={1:"\u662F",0:"\u5426"},os=[{K:"1",V:"\u662F"},{K:"0",V:"\u5426"}],A0={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 b0(n=[],r="K",u="V"){return n.map(a=>({K:a[r],V:a[u]}))}function C0(n=[],r="K",u="V"){return n.reduce(a=>Mt(ht({},a),{[a[r]]:a[u]}),{})}function as(n=[],r={}){const u=we.cloneDeep(n),a=Object.keys(r);return u.forEach(f=>{const l=f.field||f.key,g=["enum","select"].includes(f.type);if(a.includes(l)&&g){f.cellRendererParams||(f.cellRendererParams={});const p=r[l];f.type==="enum"?Qu(p)?f.cellRendererParams.enumList=p:f.cellRendererParams.enumData=p:f.type==="select"&&(f.cellRendererParams.datas=p)}f.children&&f.children.length&&(f.children=as(f.children,r))}),u}function x0(n=[],r={}){const u=we.cloneDeep(n),a=Object.keys(r);return u.forEach(f=>{const l=f.formKey;if(a.includes(l)){const g=r[l];Qu(g)?f.enumList=g:f.enumData=g}}),u}const O0={bold:!0,fontSize:"14",horizontalAlignment:"center",verticalAlignment:"center"},T0={fontSize:"10",horizontalAlignment:"left",verticalAlignment:"center",topBorder:!0,bottomBorder:!0},I0={fontSize:"10",horizontalAlignment:"right",verticalAlignment:"center",topBorder:!0,bottomBorder:!0},$0={bold:!0,fontSize:"10",horizontalAlignment:"center",verticalAlignment:"center",fill:"bdc3c7",topBorder:!0,bottomBorder:!0,leftBorder:!0,rightBorder:!0},Jn={fontSize:"10",horizontalAlignment:"center",verticalAlignment:"center",topBorder:!0,bottomBorder:!0,leftBorder:!0,rightBorder:!0},D0=27,F0=18,P0=18,M0=18;function fs({columns:n,datas:r}){var u=we.cloneDeep(n),a=we.cloneDeep(r);we.remove(u,F=>{var N;return F.cellClass&&((N=F==null?void 0:F.cellClass)==null?void 0:N.indexOf("button"))!=-1}),a.forEach((F,N)=>{F.__seq=N+1}),we.forEach(u,F=>{var N;F.cellClass&&((N=F==null?void 0:F.cellClass)==null?void 0:N.indexOf("enum"))!=-1&&a.forEach(R=>{R[F.field]=F.cellRendererParams.datas[R[F.field]]})});const f=F=>{if(F.children){var N=1+Math.max(...F.children.map(R=>f(R)));return F.deepth=N,N}else return 1};var l=Math.max(...u.map(F=>{var N=f(F);return F.deepth=N,N}));console.log("calc deepth = ",l);const g=F=>{if(F.children){var N=we.sum(F.children.map(R=>g(R)));return F.width=N,N}else return 1};var p=we.sum(u.map(F=>{var N=g(F);return F.width=N,N}));console.log("calc width = ",p),console.log("now columnsClo is ",u);var d=[],v=1,E=0;function _(F,N){E+=1,F.reduce((R,X,z)=>(X.children?(R.push({text:X.excelName||X.headerName||X.title,srow:E,scol:v,erow:E,ecol:v+X.width-1}),_(X.children,R)):(R.push({text:X.excelName||X.headerName||X.title,srow:E,scol:v,erow:l,ecol:v}),v+=1),R),N),E-=1}_(u,d);var w=[];function S(F,N){F.reduce((R,X)=>(X.children?S(X.children,R):R.push(X),R),N)}S(u,w);var $=w.map(F=>F.align||"left"),M=w.map(F=>F.align=="right"||F.align=="rightNum"?"n":"s"),B=w.map(F=>F.excelWidth?F.excelWidth:F.width?Math.floor(F.width/10):10),P=w.map(F=>F.numberFormat===void 0?F.align=="rightNum"?"#,##0.0000":F.align=="right"?"#,##0.00":"":F.numberFormat);w.map((F,N)=>{F.field=F.field?F.field:F.key;var R=F.excelName||F.headerName||F.title;R=R.replace(/<br\/>/g,""),F.columnWidth!==void 0?B[N]=F.columnWidth:R&&B[N]<R.length*2&&(B[N]=R.length*2)});var k=a.map(F=>w.map((N,R)=>{N.columnWidth!==void 0?B[R]=N.columnWidth:F[N.field]&&B[R]<(""+F[N.field]).length*2&&(B[R]=(""+F[N.field]).length*2);let X=null;N.cellStyle&&(N.cellStyle instanceof Function?X=N.cellStyle(F[N.field],F,a):X=N.cellStyle);let z=null;return N.formula&&(N.formula instanceof Function?z=N.formula(F[N.field],F,a):z=N.formula),{cellStyle:X,formula:z,value:F[N.field]}}));return{deepth:l,columnAlign:$,columnType:M,columnWidth:B,exportData:k,numberFormat:P,columnTitle:d,columnsCalc:w}}var ss=[];function R0(n){if(n.rowSpanColumns){let a=function(f,l){var g=we.findIndex(n.columns,{field:f});if(!r[f]){var p=[],d="CUR_VAL",v={};we.forEach(n.datas,function(E,_){var w=l?E[f]!=d||_==(u[""+_]||{}).first:E[f]!=d;if(w){if(!l&&v.first!==void 0)for(var S=v.first;S<=v.last;S++)u[""+S]={first:v.first,last:v.last};d=E[f],v={col:f,val:d,first:_,last:_,rowSpan:1},p.push(v)}else if(v.last=_,v.rowSpan=v.last-v.first+1,p.push({rowSpan:0}),!l&&_==n.datas.length-1)for(var S=v.first;S<=v.last;S++)u[""+S]={first:v.first,last:v.last}}),r[f]=p,we.forEach(p,function(E,_){E.rowSpan>1&&ss.push({mergeRowS:_,mergeRowE:_+E.rowSpan-1,megerColS:g,megerColE:g})})}};n.rowSpanIndexCol&&(n.rowSpanIndexCol=n.rowSpanColumns[0]);var r={},u={};a(n.rowSpanIndexCol),we.forEach(n.rowSpanColumns,function(f){a(f,!0)})}}function L0(n){var r=fs(n);console.log("calcExportDatas",r);var u=n.title,a=r.deepth,f=n.columnAlign||r.columnAlign,l=n.columnType||r.columnType,g=r.columnTitle,p=n.columnWidth||r.columnWidth,d=f.length,v=n.paramLeft,E=n.paramRight,_=r.exportData,w=n.numberFormat||r.numberFormat;XlsxPopulate.fromBlankAsync().then(S=>{var $=S.sheet("Sheet1");$.name(u);for(var M=0;M<d;M++)$.column(M+1).width(p[M]==0?10:p[M]);var B=$.range(1,1,1,d);B.merged(!0),B.style(O0),B.cell(0,0).value(u),$.row(1).height(D0);var P=2;if(!!n.paramLeft||!!n.paramRight){var k=$.range(2,1,2,Math.round(d/2));k.cell(0,0).value(v||""),k.merged(!0),k.style(T0);var F=$.range(2,Math.round(d/2)+1,2,d);F.cell(0,0).value(E||""),F.merged(!0),F.style(I0),$.row(2).height(F0),P+=1}g.forEach(z=>{var ue=$.range(z.srow+P-1,z.scol,z.erow+P-1,z.ecol);ue.merged(!0),ue.style($0),ue.cell(0,0).value(z.text.replace(/<br\/>/g,""))});for(let z=0;z<a;z++)$.row(P+z).height(P0);P+=a;for(var M=0;M<_.length;M++){for(var N=_[M],R=0;R<N.length;R++)if(l[R]==="s"&&N[R]?($.cell(P+M,R+1).value(N[R].value),Jn.numberFormat=""):l[R]==="n"&&N[R]?($.cell(P+M,R+1).value(N[R].value?parseFloat(N[R].value):N[R].value),Jn.numberFormat=w[R]):l[R]==="n"?Jn.numberFormat=w[R]:$.cell(P+M,R+1).value(""),N[R].formula&&$.cell(P+M,R+1).formula(N[R].formula),Jn.horizontalAlignment=f[R],N[R].cellStyle){let ue=we.merge({},Jn,N[R].cellStyle);$.cell(P+M,R+1).style(ue)}else $.cell(P+M,R+1).style(Jn);if(n.rowColor&&M%2!=0){var X=$.range(P+M,1,P+M,d);X.style({fill:"f8f8f9"})}$.row(P+M).height(M0)}n.rowSpanColumns&&(R0(Mt(ht({},n),{columns:r.columnsCalc})),we.forEach(ss,function(z){var ue=$.range(z.mergeRowS+P,z.megerColS+1,z.mergeRowE+P,z.megerColE+1);ue.merged(!0)})),$.freezePanes(n.leftColumns||0,(n.topRows||0)+P-1),S.outputAsync().then(function(z){if(window.navigator&&window.navigator.msSaveOrOpenBlob)window.navigator.msSaveOrOpenBlob(z,u+".xlsx");else{var ue=window.URL.createObjectURL(z),ye=document.createElement("a");document.body.appendChild(ye),ye.href=ue,ye.download=u+".xlsx",ye.click(),window.URL.revokeObjectURL(ue),document.body.removeChild(ye)}})}).catch(S=>console.log(S))}function N0(n){return new Promise((r,u)=>{var a=fs(n),f=a.deepth;a.exportData;const l=new FileReader;l.onload=g=>uu(this,null,function*(){XlsxPopulate.fromDataAsync(g.target.result).then(p=>{var w;var d=p.sheet(0),v=2;(!!n.paramLeft||!!n.paramRight)&&(v+=1),v+=f;let E=[];for(let S=v;S<d._rows.length;S++){var _=d.row(S);let $={};E.push($);for(let M=1;M<_._cells.length;M++){let B=(w=_._cells[M])==null?void 0:w._value;if(M>a.columnsCalc.length)continue;let P=a.columnsCalc[M-1];$[P.field]=B}}r(E)}).catch(p=>console.log(p))}),l.readAsArrayBuffer(n.file)})}const ls=["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 r="";const u=ls.length;for(;n>=0;){const a=n%u;r=ls[a]+r,n=parseInt((n-a)/u)-1}return r}function U0(){return document.addEventListener?function(n,r,u){n&&r&&u&&n.addEventListener(r,u,!1)}:function(n,r,u){n&&r&&u&&n.attachEvent("on"+r,u)}}function W0(){return window.document.removeEventListener?function(n,r,u){n&&r&&n.removeEventListener(r,u,!1)}:function(n,r,u){n&&r&&n.detachEvent("on"+r,u)}}function H0(n,r,u){const a=U0();return a(n,r,u),a}function Y0(n,r,u){const a=W0();return a(n,r,u),a}const cs=n=>n.stopPropagation();function k0(n,r){(typeof n.cancelable!="boolean"||n.cancelable)&&n.preventDefault(),r&&cs(n)}function G0(n){if(!n||n.length<4)return"";const r=n.substring(0,4),u=n.substring(4,6),a=hs(parseInt(u));return u?`${r}H${a}`:`${r}`}function hs(n){if(typeof n=="string"){if(isNaN(parseInt(n)))return 0;n=parseInt(n)}return n<=6?1:2}function q0(n){if(!n||n.length<4)return n;const r=n.substring(0,4);if(!n.substring(4,6))return`${r}\u5168\u5E74`;const f=parseInt(n.substring(5))===1?"\u4E0A\u534A\u5E74":"\u4E0B\u534A\u5E74";return`${r}${f}`}function z0(n){if(!n||n.length<4)return n;const r=n.substring(0,4);if(!n.substring(4,6))return`${r}01`;const f=parseInt(n.substring(5))*6-5,l=f<10?`0${f}`:`${f}`;return`${r}${l}`}function K0(n){if(!n||n.length<4)return n;const r=n.substring(0,4);if(!n.substring(4,6))return`${r}12`;const f=parseInt(n.substring(5))*2,l=f<10?`0${f}`:`${f}`;return`${r}${l}`}const J0={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 V0(n){let r="";for(n=(n||0).toString();n.length>3;)r=","+n.slice(-3)+r,n=n.slice(0,n.length-3);return n&&(r=n+r),r}function Q0(n){const r=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 f=[],l=[],g="";for(let p=0;p<r;p++)f.push(parseInt(n[p])),l[p]=u[f[p]];for(let p=r-1,d=1;p>0;p--)l.splice(p,0,a[a.length-d++]);return g=l.join(""),r>=1&&(g+="\u5143\u6574"),g}function X0(n){if(!/^(0|[1-9]\d*)(\.\d+)?$/.test(n))return"\u6570\u636E\u975E\u6CD5";let r="\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)),r=r.substr(r.length-n.length);for(let f=0;f<n.length;f++)u+="\u96F6\u58F9\u8D30\u53C1\u8086\u4F0D\u9646\u67D2\u634C\u7396".charAt(parseInt(n.charAt(f)))+r.charAt(f);return u.replace(/零(千|百|拾|角)/g,"\u96F6").replace(/(零)+/g,"\u96F6").replace(/零(万|亿|元)/g,"$1").replace(/(亿)万|壹(拾)/g,"$1$2").replace(/^元零?|零分/g,"").replace(/元$/g,"\u5143\u6574")}function Z0(n,r=2){n=n.toString();let u=n.indexOf(".");return u!==-1?n=n.substring(0,r+u+1):n=n.substring(0),parseFloat(n).toFixed(r)}function ps(n,r=2){if(typeof n=="number"){const a=/([0-9])+e([-0-9]+)/.exec(n+"")||[];if(a.length>2){const f=a[1],l=a[2];return Math.round(parseFloat(+f+"e"+(+l+r)))/Math.pow(10,r)}return Math.round(parseFloat(+n+"e"+r))/Math.pow(10,r)}return n}function j0(n,r=2){const u=parseFloat(n+"");return!isNaN(u)&&(u||u===0)?ps(u,r).toFixed(r):n}const ev=n=>{if(isNaN(n))throw"numToChineseNumerals: \u6570\u636E\u975E\u6CD5";return n=Number(n),gs(n).replace(/^零/,"").replace(/^一十/,"\u5341")},tv=["\u96F6","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D","\u4E03","\u516B","\u4E5D"],nv=["","\u5341","\u767E","\u5343"];function gs(n){if(n===0)return"";const r=Math.floor(Math.log10(n)),u=Math.floor(r/8),a=Math.floor(r%8/4);let f=Math.floor(n/Math.pow(10,4*a+8*u)),l=n%Math.pow(10,4*a+8*u),g=we(String(f).padStart(4,"0")).split("").map((p,d)=>tv[p]+(p==="0"?"":nv[3-d])).uniq().value().join("").replace(/零$/,"");for(let p=0;p<a;p++)g+="\u4E07";for(let p=0;p<u;p++)g+="\u4EBF";return g+gs(l)}function ds(n){return n?["\u4E00","\u4E8C","\u4E09","\u56DB"][n-1]:""}function rv(n){if(!n||n.length<6)return"";const r=n.substring(0,4),u=n.substring(4,6),a=vs(parseInt(u));return`${r}Q${a}`}function vs(n){if(typeof n=="string"){if(isNaN(parseInt(n)))return 0;n=parseInt(n)}return Math.ceil(n/3)}function iv(n){if(!n||n.length<6)return n;const r=n.substring(0,4),u=parseInt(n.substring(5));return`${r}\u7B2C${ds(u)}\u5B63\u5EA6`}function uv(n){if(!n||n.length<6)return n;const r=n.substring(0,4),a=parseInt(n.substring(5))*3-2,f=a<10?`0${a}`:`${a}`;return`${r}${f}`}function ov(n){if(!n||n.length<6)return n;const r=n.substring(0,4),a=parseInt(n.substring(5))*3,f=a<10?`0${a}`:`${a}`;return`${r}${f}`}const zt="__",Vn="--";function ju({tooltip:n,item:r,parents:u,title:a}){let f=null;return n&&(Xu(n)?f=n(r,u):n===!0?f=a:f=n),f}function eo(n,r,u={}){var R;const N=r,{key:a,keyProp:f,title:l,titleProp:g,titleFormatter:p,sortProp:d,sortOrder:v="asc",keyLastSuffix:E,isLimitChildren:_,headerTooltip:w,children:S}=N,$=ih(N,["key","keyProp","title","titleProp","titleFormatter","sortProp","sortOrder","keyLastSuffix","isLimitChildren","headerTooltip","children"]),{keyPropName:M="key",titlePropName:B="title",keyPrefix:P="",parents:k=[]}=u;if(f){let X=((R=we.uniqBy(n,r.keyProp))==null?void 0:R.filter(z=>!Kn(z[r.keyProp])))||[];if(d){const z=X.filter(ye=>Kn(ye[d])),ue=X.filter(ye=>!Kn(ye[d]));X=we.orderBy(ue,[d],[v]).concat(z)}return X.map(z=>{const ue=p?p(z[g]):z[g];if(S&&S.length){const de=`${P}${f}${Vn}${z[f]}${zt}`,oe=S.map($e=>{let qe=_?n.filter(K=>K[f]===z[f]):n;return eo(qe,$e,Mt(ht({},u),{keyPrefix:de,parents:[...k,z]}))});return Mt(ht({},$),{[B]:ue,headerTooltip:ju({tooltip:w,item:z,parents:k,title:ue}),children:we.flatten(oe)})}const ye=E?`${zt}${E}`:"";return Mt(ht({},$),{[M]:`${P}${f}${Vn}${z[f]}${ye}`,[B]:ue,headerTooltip:ju({tooltip:w,item:z,parents:k,title:ue})})})}const F=ju({tooltip:w,item:{},parents:k,title:l});if(S&&S.length){const X=`${P}${a||""}`,z=S.map(ue=>eo(n,ue,Mt(ht({},u),{keyPrefix:X})));return Mt(ht({},$),{[B]:l,headerTooltip:F,children:we.flatten(z)})}return Mt(ht({},$),{[M]:`${P}${a||""}`,[B]:l,headerTooltip:F})}function to(n=[]){return!n||!n.length?[]:n.reduce((r,u)=>u.children?[...r,...to(u.children)]:[...r,u],[])}function ys(n,r){var f;if(!r.length)return;const u=r[0];if(r=r.slice(1),u.includes(Vn)&&r.length){const[l,g]=u.split(Vn),p=we.filter(n,{[l]:g});return ys(p,r)}return r.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"),(f=n==null?void 0:n[0])==null?void 0:f[u]}function gi(n,r){if(!n)return"";if(li(r))return n[r]||"";for(const u of r)if(n[u])return n[u];return""}function ms(n,r,u,a,f){if(u>=n.length)return;const l=n[u];let g=we.find(a,{key:l});if(!g&&(g={key:l,title:r[u],children:[]},a.push(g),u===n.length-1)){Object.assign(g,f,{title:r[u]});return}ms(n,r,u+1,g.children,f)}function av({sumColumnDefs:n}){const r=[];for(const u of n){const{key:a,title:f}=u,l=a.split(zt),g=f.split(zt);ms(l,g,0,r,u)}return r}function fv(n=[],r=[],u,a={}){var E;const f=[];a.sumColumnDefs&&a.sumColumnDefs.length&&f.push(...av(a));const l=we.flatten(r.map(_=>eo(n,_,a)))||[];f.push(...l);const g=to(f),p=((E=we.uniqBy(n,_=>gi(_,u)))==null?void 0:E.filter(_=>!Kn(gi(_,u))))||[],d=we.groupBy(n,_=>gi(_,u));return{data:p.map(_=>{const w=gi(_,u),S=d[w]||[],$=ht({},_);return a.sumColumnDefs&&a.sumColumnDefs.length&&a.sumColumnDefs.forEach(M=>{const{key:B}=M,P=B.split(zt)||[],k=(P==null?void 0:P[0])||"",F=(P==null?void 0:P[P.length-1])||"",{sumColKeyProp:N="sumColCode"}=a,R=we.find(S,{[N]:k})||{};$[B]=R[F]}),g.forEach(M=>{const B=M[a.keyPropName||"key"]||"",P=B.split(zt)||[],k=ys(S,P);$[B]=k,delete $[P[P.length-1]]}),$}),columns:f}}function sv(n={},r=[],u={}){const a=[],f={};return Object.keys(n).forEach(g=>{g.includes(zt)||(f[g]=n[g])}),r.forEach(g=>{const p={},d=g[u.keyPropName||"key"]||"";if(d.includes(zt)){const v=d.split(zt);v.forEach((E,_)=>{if(E.includes(Vn)&&v.length){const[w,S]=E.split(Vn);p[w]=S}else if(v.length!==_+1)console.error("columns\u6709\u95EE\u9898\uFF0C\u8BF7\u68C0\u67E5\uFF01");else{const w=we.find(a,p);w?w[E]=n[d]:a.push(Mt(ht(ht({},f),p),{[E]:n[d]}))}})}}),a}function lv(n=[],r=[],u={}){const a=to(r);return n.reduce((f,l)=>[...f,...sv(l,a,u)],[])}let cv=n=>crypto.getRandomValues(new Uint8Array(n)),hv=(n,r,u)=>{let a=(2<<Math.log(n.length-1)/Math.LN2)-1,f=-~(1.6*a*r/n.length);return(l=r)=>{let g="";for(;;){let p=u(f),d=f;for(;d--;)if(g+=n[p[d]&a]||"",g.length===l)return g}}};const pv=((n,r=21)=>hv(n,r,cv))("0123456789abcdef",32);function gv(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(n){var r=Math.random()*16|0,u=n==="x"?r:r&3|8;return u.toString(16)})}function dv(n){var r=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,f,l,g,p,d=new Array;if(d=n.split(""),u[parseInt(n.substr(0,2))]==null)return r[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?p=/^[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}$/:p=/^[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}$/,p.test(n)?r[0]:r[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?p=/^[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]$/:p=/^[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]$/,p.test(n)?(l=(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=l%11,g="F",f="10X98765432",g=f.substr(a,1),g==d[17]?r[0]:r[3]):r[2];default:return r[1]}}function vv(n){var r=/^1[3456789]\d{9}$/;return!!r.test(n)}function yv(n){var r=/^([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)||r.test(n))}function mv(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 _s="ind-dict_";function _v(n){return _e(`${_s}${n}`)}function wv(n,r){Ae(`${_s}${n}`,r)}const ws=bt.authServerContext;function Ev(n){return he.get(`${ws}/anon/dict/getDictsMap`,{params:{dictId:n}})}function Es(n){return uu(this,null,function*(){if(n===us)return os;const r=_v(n);if(r)return r;try{const{data:u}=yield he.get(`${ws}/dict/getDicts`,{params:{dictId:n}});return wv(n,u),u}catch(u){console.error(`getDict error dictId=${n}`,u)}})}function Sv(n){return uu(this,null,function*(){const r={},u=yield Promise.all(n.map(a=>Es(a)));return n.forEach((a,f)=>{if(u[f]){const l={};u[f].forEach(g=>{l[g.K]=g.V}),r[a]={data:l,renderData:u[f]}}}),r})}const Bt=bt.authServerContext;function Av(){return he.get(`${Bt}/manage/menu/getAllPermission`)}function bv(){return he.get(`${Bt}/manage/upmsMenuHistory/list`)}function Cv(n){return he.post(`${Bt}/manage/upmsMenuHistory/add`,null,{params:n})}function xv(n){return he.get(`${Bt}/manage/upmsMenuHistory/delete/`+n)}function Ov(){return he.get(`${Bt}/manage/upmsMenuCollect/list`)}function Tv(n){return he.post(`${Bt}/manage/upmsMenuCollect/add`,null,{params:n})}function Iv(n){return he.get(`${Bt}/manage/upmsMenuCollect/delete/`+n)}function $v(n){return he.post(`${Bt}/manage/upmsMenuCollect/remove`,null,{params:n})}function Dv(){return he.get(`${Bt}/manage/app/list`)}function Fv(){return he.get(`${Bt}/ipm/bc/basic/item/getMaxTabNum`)}const Ss=bt.ossServerContext;function As(n=""){return`${Ss}/oss/file/get/${n}`}function bs(){return`${Ss}/oss/file/put`}function Pv(n,r){const u={};return r&&(u.responseType=r),he.get(As(n),u)}function Mv(n,r){let u=new FormData;return u.append("file",r,n),he({method:"post",url:bs(),headers:{"Content-Type":wr.multiForm},data:u})}function Rv(n){const r={};return he.get(`${bt.ucExtServerContext}/api/wps/getPreviewUrl/${n}?previewMode=high_definition`,r)}let Lv={Base64Chars:"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789@*-",encode:function(n){if(!n||n.length==0)return n;for(var r="",u=this.ucs2_utf8(n),a,f,l,g,p=u.length,d=0;d<p;){var v=u[d++];a=(v&252)>>2,f=(v&3)<<4,d<p?(v=u[d++],f|=(v&240)>>4,l=(v&15)<<2,d<p?(v=u[d++],l|=(v&192)>>6,g=v&63):g=64):l=g=64,r+=this.Base64Chars.charAt(a),r+=this.Base64Chars.charAt(f),r+=this.Base64Chars.charAt(l),r+=this.Base64Chars.charAt(g)}return r},ucs2_utf8:function(n){if(!n)return null;var r=new Array;if(n=="")return r;for(var u=0,a=0,f=0,l=n.length;a<l;)u=n.charCodeAt(a++),u<=127?r[f++]=u:u>=128&&u<=2047?(r[f++]=u>>6&31|192,r[f++]=u&63|128):(r[f++]=u>>12|224,r[f++]=u>>6&63|128,r[f++]=u&63|128);return r},utf8_ucs2:function(n){if(!n)return null;var r=n.length;if(r==0)return"";for(var u="",a=0,f=0,l=0;f<r;)a=n[f++],(a&224)==224?(l=(a&15)<<12,a=n[f++],l|=(a&63)<<6,a=n[f++],l|=a&63):(a&192)==192?(l=(a&31)<<6,a=n[f++],l|=a&63):l=a,u+=String.fromCharCode(l);return u}};const Qn=bt.authServerContext;function Nv({userName:n,password:r,validCodeId:u,validCodeInput:a}){let f="MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDD2iolFHi+6bUh+V6JPr2gFJQsC0QNsq2EwI0MAPlI5AaizBHRVMjX1H73ptuDSiT3QZh4kk74w+eDLyYj4JXo1SvvDw5w378SLhUIDzH0zrlt3oleT3kiPQxC17yM3Os/wrtHO7IC+KGo9qrg+LJFyR/fYYHcyH9i+JAejBEnJQIDAQAB",g=new window.NodeRSA(f,"pkcs8-public").encrypt(r,"base64"),p=Lv.encode(g);const d={usn:n,upw:p,validCodeId:u,validCodeInput:a};return he.formPost(Qn+"/sso/auth/login",d)}function Bv(){return he.get(`${Qn}/manage/user/getCurrentInfo`)}function Uv(){return he.get(`${Qn}/anon/user/getGlobalPolicy`)}function Wv(n){return he.post(`${Qn}/manage/user/updatePassword`,n)}function Hv(n){return`${Qn}/anon/user/getCaptcha/`+n}function Yv(){return he.get(`${Qn}/sso/logout`)}const kv=bt.ismAmServerContext;function Gv(n){return he.get(`${kv}/tree/com/listComTree`,{params:n})}const qv=bt.ucExtServerContext;function zv(n){return he.get(`${qv}/index-desc/list`,{params:n})}const no=bt.ismAmServerContext;function Kv(n){return he.get(`${no}/tree/item/listItemTree`,{params:n})}function Jv(){return he.get(`${no}/basic/getPriceInfo`,{})}function Vv(n){return he.get(`${no}/basic/getItem`,{params:n})}const Qv=bt.ucExtServerContext;function Xv(n){return he.get(`${Qv}/tree/uc-user/listUserTree`,{params:n})}C.Base64ForLogin=Jd,C.CONTENT_TYPE=wr,C.IS_OR_NOT_ENUM=S0,C.IS_OR_NOT_ENUM_KEY=us,C.IS_OR_NOT_ENUM_LIST=os,C.MIME_TYPE=J0,C.UC_ENUM=A0,C.addMenuCollectApi=Tv,C.axios=he,C.base64ToBlob=Vd,C.blobToBase64=Qd,C.checkIdCard=dv,C.checkPhone=vv,C.checkTel=yv,C.checkVehicleNo=mv,C.clearIndexDescCache=oh,C.clearPermissionCache=sh,C.clearSessionStorage=qr,C.clearUserInfoCache=hh,C.config=bt,C.cryptor=Kd,C.deleteMenuCollectApi=Iv,C.deleteMenuHistoryApi=xv,C.exportJsonToExcel=L0,C.flattenRow2ColumnData=lv,C.formatDate=Zd,C.formatDateChinese=jd,C.formatDecimal=Z0,C.formatHalfYear=q0,C.formatQuarter=iv,C.getAppListApi=Dv,C.getCaptchaURL=Hv,C.getContentType=qu,C.getDictApi=Es,C.getDictMapApi=Sv,C.getDictsMapApi=Ev,C.getExcelColumnIdx=B0,C.getGlobalPolicyApi=Uv,C.getHalfYear=G0,C.getHalfYearBeginMonth=z0,C.getHalfYearEndMonth=K0,C.getHalfYearNum=hs,C.getIndexDescCache=hr,C.getItem=Vv,C.getLocalStorage=Rn,C.getMaxTabNumValueApi=Fv,C.getMenuCollectApi=Ov,C.getMenuHistoryApi=bv,C.getOssFileApi=Pv,C.getOssFileUrl=As,C.getPermissionApi=Av,C.getPermissionCache=ah,C.getPreviewUrlApi=Rv,C.getPriceInfo=Jv,C.getQuarter=rv,C.getQuarterBeginMonth=uv,C.getQuarterEndMonth=ov,C.getQuarterNum=vs,C.getSessionStorage=_e,C.getToken=Yf,C.getType=rs,C.getUrlParams=Nf,C.getUserInfoApi=Bv,C.getUserInfoCache=lh,C.guid=gv,C.importJsonFromExcel=N0,C.isArguments=f0,C.isArray=Qu,C.isArrayLike=ci,C.isBoolean=r0,C.isDate=a0,C.isDecimal=y0,C.isElement=c0,C.isEmpty=h0,C.isEqual=pi,C.isEqualWith=E0,C.isError=l0,C.isEven=p0,C.isFinite=d0,C.isFunction=Xu,C.isInteger=v0,C.isNegative=m0,C.isNil=Kn,C.isNull=ts,C.isNumber=fn,C.isNumberEqual=w0,C.isObject=i0,C.isObjectLike=hi,C.isOdd=g0,C.isPlainObject=u0,C.isPositive=_0,C.isPromise=o0,C.isPrototype=is,C.isRegExp=s0,C.isString=li,C.isType=Ct,C.isUndefined=ns,C.listComTreeApi=Gv,C.listIndexDescApi=zv,C.listItemTreeApi=Kv,C.listUserTreeApi=Xv,C.loginApi=Nv,C.logoutApi=Yv,C.menuHistoryApi=Cv,C.numToChineseNumerals=ev,C.numToDX=X0,C.off=Y0,C.on=H0,C.preventDefault=k0,C.putOssFileApi=Mv,C.putOssFileUrl=bs,C.quarter2Chinese=ds,C.removeLocalStorage=mn,C.removeMenuCollectApi=$v,C.removeSessionStorage=Ze,C.renderColumnEnums=as,C.renderEnumData=C0,C.renderEnumList=b0,C.renderFieldEnums=x0,C.responseInterceptors=qf,C.round=ps,C.row2column=fv,C.setContentType=Uf,C.setIndexDescCache=uh,C.setLocalStorage=Ln,C.setPermissionCache=fh,C.setSessionStorage=Ae,C.setToken=Id,C.setUserInfoCache=ch,C.stopPropagation=cs,C.str2Date=Xd,C.toChies=Q0,C.toFixed=j0,C.toThousands=V0,C.updatePasswordApi=Wv,C.useConfig=Gf,C.uuid=pv,Object.defineProperties(C,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
|
36
|
+
}`;var re=Zc(function(){return pe(h,q+"return "+D).apply(u,y)});if(re.source=D,ga(re))throw re;return re}function YS(e){return ge(e).toLowerCase()}function kS(e){return ge(e).toUpperCase()}function GS(e,t,i){if(e=ge(e),e&&(i||t===u))return al(e);if(!e||!(t=ft(t)))return e;var o=$t(e),s=$t(t),h=fl(o,s),y=sl(o,s)+1;return vn(o,h,y).join("")}function qS(e,t,i){if(e=ge(e),e&&(i||t===u))return e.slice(0,cl(e)+1);if(!e||!(t=ft(t)))return e;var o=$t(e),s=sl(o,$t(t))+1;return vn(o,0,s).join("")}function zS(e,t,i){if(e=ge(e),e&&(i||t===u))return e.replace(po,"");if(!e||!(t=ft(t)))return e;var o=$t(e),s=fl(o,$t(t));return vn(o,s).join("")}function KS(e,t){var i=de,o=oe;if(xe(t)){var s="separator"in t?t.separator:s;i="length"in t?ne(t.length):i,o="omission"in t?ft(t.omission):o}e=ge(e);var h=e.length;if(er(e)){var y=$t(e);h=y.length}if(i>=h)return e;var m=i-tr(o);if(m<1)return o;var b=y?vn(y,0,m).join(""):e.slice(0,m);if(s===u)return b+o;if(y&&(m+=b.length-m),da(s)){if(e.slice(m).search(s)){var T,I=b;for(s.global||(s=Do(s.source,ge(Is.exec(s))+"g")),s.lastIndex=0;T=s.exec(I);)var D=T.index;b=b.slice(0,D===u?m:D)}}else if(e.indexOf(ft(s),m)!=m){var W=b.lastIndexOf(s);W>-1&&(b=b.slice(0,W))}return b+o}function JS(e){return e=ge(e),e&&u1.test(e)?e.replace(xs,Ay):e}var VS=fr(function(e,t,i){return e+(i?" ":"")+t.toUpperCase()}),ma=jl("toUpperCase");function Xc(e,t,i){return e=ge(e),t=i?u:t,t===u?my(e)?xy(e):sy(e):e.match(t)||[]}var Zc=ie(function(e,t){try{return ot(e,u,t)}catch(i){return ga(i)?i:new j(i)}}),QS=jt(function(e,t){return dt(t,function(i){i=Yt(i),Xt(e,i,ha(e[i],e))}),e});function XS(e){var t=e==null?0:e.length,i=J();return e=t?be(e,function(o){if(typeof o[1]!="function")throw new vt(g);return[i(o[0]),o[1]]}):[],ie(function(o){for(var s=-1;++s<t;){var h=e[s];if(ot(h[0],this,o))return ot(h[1],this,o)}})}function ZS(e){return Am(mt(e,_))}function _a(e){return function(){return e}}function jS(e,t){return e==null||e!==e?t:e}var eA=tc(),tA=tc(!0);function nt(e){return e}function wa(e){return Dl(typeof e=="function"?e:mt(e,_))}function nA(e){return Pl(mt(e,_))}function rA(e,t){return Ml(e,mt(t,_))}var iA=ie(function(e,t){return function(i){return Br(i,e,t)}}),uA=ie(function(e,t){return function(i){return Br(e,i,t)}});function Ea(e,t,i){var o=Be(t),s=Bi(t,o);i==null&&!(xe(t)&&(s.length||!o.length))&&(i=t,t=e,e=this,s=Bi(t,Be(t)));var h=!(xe(i)&&"chain"in i)||!!i.chain,y=tn(e);return dt(s,function(m){var b=t[m];e[m]=b,y&&(e.prototype[m]=function(){var T=this.__chain__;if(h||T){var I=e(this.__wrapped__),D=I.__actions__=je(this.__actions__);return D.push({func:b,args:arguments,thisArg:e}),I.__chain__=T,I}return b.apply(e,ln([this.value()],arguments))})}),e}function oA(){return We._===this&&(We._=Fy),this}function Sa(){}function aA(e){return e=ne(e),ie(function(t){return Rl(t,e)})}var fA=jo(be),sA=jo(nl),lA=jo(bo);function jc(e){return oa(e)?Co(Yt(e)):Wm(e)}function cA(e){return function(t){return e==null?u:Dn(e,t)}}var hA=rc(),pA=rc(!0);function Aa(){return[]}function ba(){return!1}function gA(){return{}}function dA(){return""}function vA(){return!0}function yA(e,t){if(e=ne(e),e<1||e>U)return[];var i=ae,o=Ke(e,ae);t=J(t),e-=ae;for(var s=To(o,t);++i<e;)t(i);return s}function mA(e){return te(e)?be(e,Yt):st(e)?[e]:je(_c(ge(e)))}function _A(e){var t=++$y;return ge(e)+t}var wA=Gi(function(e,t){return e+t},0),EA=ea("ceil"),SA=Gi(function(e,t){return e/t},1),AA=ea("floor");function bA(e){return e&&e.length?Ni(e,nt,Uo):u}function CA(e,t){return e&&e.length?Ni(e,J(t,2),Uo):u}function xA(e){return ul(e,nt)}function OA(e,t){return ul(e,J(t,2))}function TA(e){return e&&e.length?Ni(e,nt,ko):u}function IA(e,t){return e&&e.length?Ni(e,J(t,2),ko):u}var $A=Gi(function(e,t){return e*t},1),DA=ea("round"),FA=Gi(function(e,t){return e-t},0);function PA(e){return e&&e.length?Oo(e,nt):0}function MA(e,t){return e&&e.length?Oo(e,J(t,2)):0}return c.after=nE,c.ary=$c,c.assign=kE,c.assignIn=Gc,c.assignInWith=ru,c.assignWith=GE,c.at=qE,c.before=Dc,c.bind=ha,c.bindAll=QS,c.bindKey=Fc,c.castArray=gE,c.chain=Oc,c.chunk=A_,c.compact=b_,c.concat=C_,c.cond=XS,c.conforms=ZS,c.constant=_a,c.countBy=Pw,c.create=zE,c.curry=Pc,c.curryRight=Mc,c.debounce=Rc,c.defaults=KE,c.defaultsDeep=JE,c.defer=rE,c.delay=iE,c.difference=x_,c.differenceBy=O_,c.differenceWith=T_,c.drop=I_,c.dropRight=$_,c.dropRightWhile=D_,c.dropWhile=F_,c.fill=P_,c.filter=Rw,c.flatMap=Bw,c.flatMapDeep=Uw,c.flatMapDepth=Ww,c.flatten=Ac,c.flattenDeep=M_,c.flattenDepth=R_,c.flip=uE,c.flow=eA,c.flowRight=tA,c.fromPairs=L_,c.functions=tS,c.functionsIn=nS,c.groupBy=Hw,c.initial=B_,c.intersection=U_,c.intersectionBy=W_,c.intersectionWith=H_,c.invert=iS,c.invertBy=uS,c.invokeMap=kw,c.iteratee=wa,c.keyBy=Gw,c.keys=Be,c.keysIn=tt,c.map=Xi,c.mapKeys=aS,c.mapValues=fS,c.matches=nA,c.matchesProperty=rA,c.memoize=ji,c.merge=sS,c.mergeWith=qc,c.method=iA,c.methodOf=uA,c.mixin=Ea,c.negate=eu,c.nthArg=aA,c.omit=lS,c.omitBy=cS,c.once=oE,c.orderBy=qw,c.over=fA,c.overArgs=aE,c.overEvery=sA,c.overSome=lA,c.partial=pa,c.partialRight=Lc,c.partition=zw,c.pick=hS,c.pickBy=zc,c.property=jc,c.propertyOf=cA,c.pull=q_,c.pullAll=Cc,c.pullAllBy=z_,c.pullAllWith=K_,c.pullAt=J_,c.range=hA,c.rangeRight=pA,c.rearg=fE,c.reject=Vw,c.remove=V_,c.rest=sE,c.reverse=la,c.sampleSize=Xw,c.set=gS,c.setWith=dS,c.shuffle=Zw,c.slice=Q_,c.sortBy=tE,c.sortedUniq=rw,c.sortedUniqBy=iw,c.split=BS,c.spread=lE,c.tail=uw,c.take=ow,c.takeRight=aw,c.takeRightWhile=fw,c.takeWhile=sw,c.tap=bw,c.throttle=cE,c.thru=Qi,c.toArray=Hc,c.toPairs=Kc,c.toPairsIn=Jc,c.toPath=mA,c.toPlainObject=kc,c.transform=vS,c.unary=hE,c.union=lw,c.unionBy=cw,c.unionWith=hw,c.uniq=pw,c.uniqBy=gw,c.uniqWith=dw,c.unset=yS,c.unzip=ca,c.unzipWith=xc,c.update=mS,c.updateWith=_S,c.values=cr,c.valuesIn=wS,c.without=vw,c.words=Xc,c.wrap=pE,c.xor=yw,c.xorBy=mw,c.xorWith=_w,c.zip=ww,c.zipObject=Ew,c.zipObjectDeep=Sw,c.zipWith=Aw,c.entries=Kc,c.entriesIn=Jc,c.extend=Gc,c.extendWith=ru,Ea(c,c),c.add=wA,c.attempt=Zc,c.camelCase=bS,c.capitalize=Vc,c.ceil=EA,c.clamp=ES,c.clone=dE,c.cloneDeep=yE,c.cloneDeepWith=mE,c.cloneWith=vE,c.conformsTo=_E,c.deburr=Qc,c.defaultTo=jS,c.divide=SA,c.endsWith=CS,c.eq=Ft,c.escape=xS,c.escapeRegExp=OS,c.every=Mw,c.find=Lw,c.findIndex=Ec,c.findKey=VE,c.findLast=Nw,c.findLastIndex=Sc,c.findLastKey=QE,c.floor=AA,c.forEach=Tc,c.forEachRight=Ic,c.forIn=XE,c.forInRight=ZE,c.forOwn=jE,c.forOwnRight=eS,c.get=va,c.gt=wE,c.gte=EE,c.has=rS,c.hasIn=ya,c.head=bc,c.identity=nt,c.includes=Yw,c.indexOf=N_,c.inRange=SS,c.invoke=oS,c.isArguments=Mn,c.isArray=te,c.isArrayBuffer=SE,c.isArrayLike=et,c.isArrayLikeObject=Te,c.isBoolean=AE,c.isBuffer=yn,c.isDate=bE,c.isElement=CE,c.isEmpty=xE,c.isEqual=OE,c.isEqualWith=TE,c.isError=ga,c.isFinite=IE,c.isFunction=tn,c.isInteger=Nc,c.isLength=tu,c.isMap=Bc,c.isMatch=$E,c.isMatchWith=DE,c.isNaN=FE,c.isNative=PE,c.isNil=RE,c.isNull=ME,c.isNumber=Uc,c.isObject=xe,c.isObjectLike=Oe,c.isPlainObject=Gr,c.isRegExp=da,c.isSafeInteger=LE,c.isSet=Wc,c.isString=nu,c.isSymbol=st,c.isTypedArray=lr,c.isUndefined=NE,c.isWeakMap=BE,c.isWeakSet=UE,c.join=Y_,c.kebabCase=TS,c.last=wt,c.lastIndexOf=k_,c.lowerCase=IS,c.lowerFirst=$S,c.lt=WE,c.lte=HE,c.max=bA,c.maxBy=CA,c.mean=xA,c.meanBy=OA,c.min=TA,c.minBy=IA,c.stubArray=Aa,c.stubFalse=ba,c.stubObject=gA,c.stubString=dA,c.stubTrue=vA,c.multiply=$A,c.nth=G_,c.noConflict=oA,c.noop=Sa,c.now=Zi,c.pad=DS,c.padEnd=FS,c.padStart=PS,c.parseInt=MS,c.random=AS,c.reduce=Kw,c.reduceRight=Jw,c.repeat=RS,c.replace=LS,c.result=pS,c.round=DA,c.runInContext=A,c.sample=Qw,c.size=jw,c.snakeCase=NS,c.some=eE,c.sortedIndex=X_,c.sortedIndexBy=Z_,c.sortedIndexOf=j_,c.sortedLastIndex=ew,c.sortedLastIndexBy=tw,c.sortedLastIndexOf=nw,c.startCase=US,c.startsWith=WS,c.subtract=FA,c.sum=PA,c.sumBy=MA,c.template=HS,c.times=yA,c.toFinite=nn,c.toInteger=ne,c.toLength=Yc,c.toLower=YS,c.toNumber=Et,c.toSafeInteger=YE,c.toString=ge,c.toUpper=kS,c.trim=GS,c.trimEnd=qS,c.trimStart=zS,c.truncate=KS,c.unescape=JS,c.uniqueId=_A,c.upperCase=VS,c.upperFirst=ma,c.each=Tc,c.eachRight=Ic,c.first=bc,Ea(c,function(){var e={};return Wt(c,function(t,i){ve.call(c.prototype,i)||(e[i]=t)}),e}(),{chain:!1}),c.VERSION=a,dt(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){c[e].placeholder=c}),dt(["drop","take"],function(e,t){le.prototype[e]=function(i){i=i===u?1:Me(ne(i),0);var o=this.__filtered__&&!t?new le(this):this.clone();return o.__filtered__?o.__takeCount__=Ke(i,o.__takeCount__):o.__views__.push({size:Ke(i,ae),type:e+(o.__dir__<0?"Right":"")}),o},le.prototype[e+"Right"]=function(i){return this.reverse()[e](i).reverse()}}),dt(["filter","map","takeWhile"],function(e,t){var i=t+1,o=i==K||i==L;le.prototype[e]=function(s){var h=this.clone();return h.__iteratees__.push({iteratee:J(s,3),type:i}),h.__filtered__=h.__filtered__||o,h}}),dt(["head","last"],function(e,t){var i="take"+(t?"Right":"");le.prototype[e]=function(){return this[i](1).value()[0]}}),dt(["initial","tail"],function(e,t){var i="drop"+(t?"":"Right");le.prototype[e]=function(){return this.__filtered__?new le(this):this[i](1)}}),le.prototype.compact=function(){return this.filter(nt)},le.prototype.find=function(e){return this.filter(e).head()},le.prototype.findLast=function(e){return this.reverse().find(e)},le.prototype.invokeMap=ie(function(e,t){return typeof e=="function"?new le(this):this.map(function(i){return Br(i,e,t)})}),le.prototype.reject=function(e){return this.filter(eu(J(e)))},le.prototype.slice=function(e,t){e=ne(e);var i=this;return i.__filtered__&&(e>0||t<0)?new le(i):(e<0?i=i.takeRight(-e):e&&(i=i.drop(e)),t!==u&&(t=ne(t),i=t<0?i.dropRight(-t):i.take(t-e)),i)},le.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},le.prototype.toArray=function(){return this.take(ae)},Wt(le.prototype,function(e,t){var i=/^(?:filter|find|map|reject)|While$/.test(t),o=/^(?:head|last)$/.test(t),s=c[o?"take"+(t=="last"?"Right":""):t],h=o||/^find/.test(t);!s||(c.prototype[t]=function(){var y=this.__wrapped__,m=o?[1]:arguments,b=y instanceof le,T=m[0],I=b||te(y),D=function(fe){var ce=s.apply(c,ln([fe],m));return o&&W?ce[0]:ce};I&&i&&typeof T=="function"&&T.length!=1&&(b=I=!1);var W=this.__chain__,q=!!this.__actions__.length,V=h&&!W,re=b&&!q;if(!h&&I){y=re?y:new le(this);var Q=e.apply(y,m);return Q.__actions__.push({func:Qi,args:[D],thisArg:u}),new yt(Q,W)}return V&&re?e.apply(this,m):(Q=this.thru(D),V?o?Q.value()[0]:Q.value():Q)})}),dt(["pop","push","shift","sort","splice","unshift"],function(e){var t=Si[e],i=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",o=/^(?:pop|shift)$/.test(e);c.prototype[e]=function(){var s=arguments;if(o&&!this.__chain__){var h=this.value();return t.apply(te(h)?h:[],s)}return this[i](function(y){return t.apply(te(y)?y:[],s)})}}),Wt(le.prototype,function(e,t){var i=c[t];if(i){var o=i.name+"";ve.call(ur,o)||(ur[o]=[]),ur[o].push({name:t,func:i})}}),ur[ki(u,P).name]=[{name:"wrapper",func:u}],le.prototype.clone=Jy,le.prototype.reverse=Vy,le.prototype.value=Qy,c.prototype.at=Cw,c.prototype.chain=xw,c.prototype.commit=Ow,c.prototype.next=Tw,c.prototype.plant=$w,c.prototype.reverse=Dw,c.prototype.toJSON=c.prototype.valueOf=c.prototype.value=Fw,c.prototype.first=c.prototype.head,Dr&&(c.prototype[Dr]=Iw),c},nr=Oy();xn?((xn.exports=nr)._=nr,wo._=nr):We._=nr}).call(_n)})(Zu,Zu.exports);var we=Zu.exports;const us="IS_ENUM",S0={1:"\u662F",0:"\u5426"},os=[{K:"1",V:"\u662F"},{K:"0",V:"\u5426"}],A0={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 b0(n=[],r="K",u="V"){return n.map(a=>({K:a[r],V:a[u]}))}function C0(n=[],r="K",u="V"){return n.reduce(a=>Mt(ht({},a),{[a[r]]:a[u]}),{})}function as(n=[],r={}){const u=we.cloneDeep(n),a=Object.keys(r);return u.forEach(f=>{const l=f.field||f.key,g=["enum","select"].includes(f.type);if(a.includes(l)&&g){f.cellRendererParams||(f.cellRendererParams={});const p=r[l];f.type==="enum"?Qu(p)?f.cellRendererParams.enumList=p:f.cellRendererParams.enumData=p:f.type==="select"&&(f.cellRendererParams.datas=p)}f.children&&f.children.length&&(f.children=as(f.children,r))}),u}function x0(n=[],r={}){const u=we.cloneDeep(n),a=Object.keys(r);return u.forEach(f=>{const l=f.formKey;if(a.includes(l)){const g=r[l];Qu(g)?f.enumList=g:f.enumData=g}}),u}const O0={bold:!0,fontSize:"14",horizontalAlignment:"center",verticalAlignment:"center"},T0={fontSize:"10",horizontalAlignment:"left",verticalAlignment:"center",topBorder:!0,bottomBorder:!0},I0={fontSize:"10",horizontalAlignment:"right",verticalAlignment:"center",topBorder:!0,bottomBorder:!0},$0={bold:!0,fontSize:"10",horizontalAlignment:"center",verticalAlignment:"center",fill:"bdc3c7",topBorder:!0,bottomBorder:!0,leftBorder:!0,rightBorder:!0},Jn={fontSize:"10",horizontalAlignment:"center",verticalAlignment:"center",topBorder:!0,bottomBorder:!0,leftBorder:!0,rightBorder:!0},D0=27,F0=18,P0=18,M0=18;function fs({columns:n,datas:r}){var u=we.cloneDeep(n),a=we.cloneDeep(r);we.remove(u,F=>{var N;return F.cellClass&&((N=F==null?void 0:F.cellClass)==null?void 0:N.indexOf("button"))!=-1}),a.forEach((F,N)=>{F.__seq=N+1}),we.forEach(u,F=>{var N;F.cellClass&&((N=F==null?void 0:F.cellClass)==null?void 0:N.indexOf("enum"))!=-1&&a.forEach(R=>{R[F.field]=F.cellRendererParams.datas[R[F.field]]})});const f=F=>{if(F.children){var N=1+Math.max(...F.children.map(R=>f(R)));return F.deepth=N,N}else return 1};var l=Math.max(...u.map(F=>{var N=f(F);return F.deepth=N,N}));console.log("calc deepth = ",l);const g=F=>{if(F.children){var N=we.sum(F.children.map(R=>g(R)));return F.width=N,N}else return 1};var p=we.sum(u.map(F=>{var N=g(F);return F.width=N,N}));console.log("calc width = ",p),console.log("now columnsClo is ",u);var d=[],v=1,E=0;function _(F,N){E+=1,F.reduce((R,X,z)=>(X.children?(R.push({text:X.excelName||X.headerName||X.title,srow:E,scol:v,erow:E,ecol:v+X.width-1}),_(X.children,R)):(R.push({text:X.excelName||X.headerName||X.title,srow:E,scol:v,erow:l,ecol:v}),v+=1),R),N),E-=1}_(u,d);var w=[];function S(F,N){F.reduce((R,X)=>(X.children?S(X.children,R):R.push(X),R),N)}S(u,w);var $=w.map(F=>F.align||"left"),M=w.map(F=>F.align=="right"||F.align=="rightNum"?"n":"s"),B=w.map(F=>F.excelWidth?F.excelWidth:F.width?Math.floor(F.width/10):10),P=w.map(F=>F.numberFormat===void 0?F.align=="rightNum"?"#,##0.0000":F.align=="right"?"#,##0.00":"":F.numberFormat);w.map((F,N)=>{F.field=F.field?F.field:F.key;var R=F.excelName||F.headerName||F.title;R=R.replace(/<br\/>/g,""),F.columnWidth!==void 0?B[N]=F.columnWidth:R&&B[N]<R.length*2&&(B[N]=R.length*2)});var k=a.map(F=>w.map((N,R)=>{N.columnWidth!==void 0?B[R]=N.columnWidth:F[N.field]&&B[R]<(""+F[N.field]).length*2&&(B[R]=(""+F[N.field]).length*2);let X=null;N.cellStyle&&(N.cellStyle instanceof Function?X=N.cellStyle(F[N.field],F,a):X=N.cellStyle);let z=null;return N.formula&&(N.formula instanceof Function?z=N.formula(F[N.field],F,a):z=N.formula),{cellStyle:X,formula:z,value:F[N.field]}}));return{deepth:l,columnAlign:$,columnType:M,columnWidth:B,exportData:k,numberFormat:P,columnTitle:d,columnsCalc:w}}var ss=[];function R0(n){if(n.rowSpanColumns){let a=function(f,l){var g=we.findIndex(n.columns,{field:f});if(!r[f]){var p=[],d="CUR_VAL",v={};we.forEach(n.datas,function(E,_){var w=l?E[f]!=d||_==(u[""+_]||{}).first:E[f]!=d;if(w){if(!l&&v.first!==void 0)for(var S=v.first;S<=v.last;S++)u[""+S]={first:v.first,last:v.last};d=E[f],v={col:f,val:d,first:_,last:_,rowSpan:1},p.push(v)}else if(v.last=_,v.rowSpan=v.last-v.first+1,p.push({rowSpan:0}),!l&&_==n.datas.length-1)for(var S=v.first;S<=v.last;S++)u[""+S]={first:v.first,last:v.last}}),r[f]=p,we.forEach(p,function(E,_){E.rowSpan>1&&ss.push({mergeRowS:_,mergeRowE:_+E.rowSpan-1,megerColS:g,megerColE:g})})}};n.rowSpanIndexCol&&(n.rowSpanIndexCol=n.rowSpanColumns[0]);var r={},u={};a(n.rowSpanIndexCol),we.forEach(n.rowSpanColumns,function(f){a(f,!0)})}}function L0(n){var r=fs(n);console.log("calcExportDatas",r);var u=n.title,a=r.deepth,f=n.columnAlign||r.columnAlign,l=n.columnType||r.columnType,g=r.columnTitle,p=n.columnWidth||r.columnWidth,d=f.length,v=n.paramLeft,E=n.paramRight,_=r.exportData,w=n.numberFormat||r.numberFormat;XlsxPopulate.fromBlankAsync().then(S=>{var $=S.sheet("Sheet1");$.name(u);for(var M=0;M<d;M++)$.column(M+1).width(p[M]==0?10:p[M]);var B=$.range(1,1,1,d);B.merged(!0),B.style(O0),B.cell(0,0).value(u),$.row(1).height(D0);var P=2;if(!!n.paramLeft||!!n.paramRight){var k=$.range(2,1,2,Math.round(d/2));k.cell(0,0).value(v||""),k.merged(!0),k.style(T0);var F=$.range(2,Math.round(d/2)+1,2,d);F.cell(0,0).value(E||""),F.merged(!0),F.style(I0),$.row(2).height(F0),P+=1}g.forEach(z=>{var ue=$.range(z.srow+P-1,z.scol,z.erow+P-1,z.ecol);ue.merged(!0),ue.style($0),ue.cell(0,0).value(z.text.replace(/<br\/>/g,""))});for(let z=0;z<a;z++)$.row(P+z).height(P0);P+=a;for(var M=0;M<_.length;M++){for(var N=_[M],R=0;R<N.length;R++)if(l[R]==="s"&&N[R]?($.cell(P+M,R+1).value(N[R].value),Jn.numberFormat=""):l[R]==="n"&&N[R]?($.cell(P+M,R+1).value(N[R].value?parseFloat(N[R].value):N[R].value),Jn.numberFormat=w[R]):l[R]==="n"?Jn.numberFormat=w[R]:$.cell(P+M,R+1).value(""),N[R].formula&&$.cell(P+M,R+1).formula(N[R].formula),Jn.horizontalAlignment=f[R],N[R].cellStyle){let ue=we.merge({},Jn,N[R].cellStyle);$.cell(P+M,R+1).style(ue)}else $.cell(P+M,R+1).style(Jn);if(n.rowColor&&M%2!=0){var X=$.range(P+M,1,P+M,d);X.style({fill:"f8f8f9"})}$.row(P+M).height(M0)}n.rowSpanColumns&&(R0(Mt(ht({},n),{columns:r.columnsCalc})),we.forEach(ss,function(z){var ue=$.range(z.mergeRowS+P,z.megerColS+1,z.mergeRowE+P,z.megerColE+1);ue.merged(!0)})),$.freezePanes(n.leftColumns||0,(n.topRows||0)+P-1),S.outputAsync().then(function(z){if(window.navigator&&window.navigator.msSaveOrOpenBlob)window.navigator.msSaveOrOpenBlob(z,u+".xlsx");else{var ue=window.URL.createObjectURL(z),ye=document.createElement("a");document.body.appendChild(ye),ye.href=ue,ye.download=u+".xlsx",ye.click(),window.URL.revokeObjectURL(ue),document.body.removeChild(ye)}})}).catch(S=>console.log(S))}function N0(n){return new Promise((r,u)=>{var a=fs(n),f=a.deepth;a.exportData;const l=new FileReader;l.onload=g=>uu(this,null,function*(){XlsxPopulate.fromDataAsync(g.target.result).then(p=>{var w;var d=p.sheet(0),v=2;(!!n.paramLeft||!!n.paramRight)&&(v+=1),v+=f;let E=[];for(let S=v;S<d._rows.length;S++){var _=d.row(S);let $={};E.push($);for(let M=1;M<_._cells.length;M++){let B=(w=_._cells[M])==null?void 0:w._value;if(M>a.columnsCalc.length)continue;let P=a.columnsCalc[M-1];$[P.field]=B}}r(E)}).catch(p=>console.log(p))}),l.readAsArrayBuffer(n.file)})}const ls=["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 r="";const u=ls.length;for(;n>=0;){const a=n%u;r=ls[a]+r,n=parseInt((n-a)/u)-1}return r}function U0(){return document.addEventListener?function(n,r,u){n&&r&&u&&n.addEventListener(r,u,!1)}:function(n,r,u){n&&r&&u&&n.attachEvent("on"+r,u)}}function W0(){return window.document.removeEventListener?function(n,r,u){n&&r&&n.removeEventListener(r,u,!1)}:function(n,r,u){n&&r&&n.detachEvent("on"+r,u)}}function H0(n,r,u){const a=U0();return a(n,r,u),a}function Y0(n,r,u){const a=W0();return a(n,r,u),a}const cs=n=>n.stopPropagation();function k0(n,r){(typeof n.cancelable!="boolean"||n.cancelable)&&n.preventDefault(),r&&cs(n)}function G0(n){if(!n||n.length<4)return"";const r=n.substring(0,4),u=n.substring(4,6),a=hs(parseInt(u));return u?`${r}H${a}`:`${r}`}function hs(n){if(typeof n=="string"){if(isNaN(parseInt(n)))return 0;n=parseInt(n)}return n<=6?1:2}function q0(n){if(!n||n.length<4)return n;const r=n.substring(0,4);if(!n.substring(4,6))return`${r}\u5168\u5E74`;const f=parseInt(n.substring(5))===1?"\u4E0A\u534A\u5E74":"\u4E0B\u534A\u5E74";return`${r}${f}`}function z0(n){if(!n||n.length<4)return n;const r=n.substring(0,4);if(!n.substring(4,6))return`${r}01`;const f=parseInt(n.substring(5))*6-5,l=f<10?`0${f}`:`${f}`;return`${r}${l}`}function K0(n){if(!n||n.length<4)return n;const r=n.substring(0,4);if(!n.substring(4,6))return`${r}12`;const f=parseInt(n.substring(5))*2,l=f<10?`0${f}`:`${f}`;return`${r}${l}`}const J0={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 V0(n){let r="";for(n=(n||0).toString();n.length>3;)r=","+n.slice(-3)+r,n=n.slice(0,n.length-3);return n&&(r=n+r),r}function Q0(n){const r=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 f=[],l=[],g="";for(let p=0;p<r;p++)f.push(parseInt(n[p])),l[p]=u[f[p]];for(let p=r-1,d=1;p>0;p--)l.splice(p,0,a[a.length-d++]);return g=l.join(""),r>=1&&(g+="\u5143\u6574"),g}function X0(n){if(!/^(0|[1-9]\d*)(\.\d+)?$/.test(n))return"\u6570\u636E\u975E\u6CD5";let r="\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)),r=r.substr(r.length-n.length);for(let f=0;f<n.length;f++)u+="\u96F6\u58F9\u8D30\u53C1\u8086\u4F0D\u9646\u67D2\u634C\u7396".charAt(parseInt(n.charAt(f)))+r.charAt(f);return u.replace(/零(千|百|拾|角)/g,"\u96F6").replace(/(零)+/g,"\u96F6").replace(/零(万|亿|元)/g,"$1").replace(/(亿)万|壹(拾)/g,"$1$2").replace(/^元零?|零分/g,"").replace(/元$/g,"\u5143\u6574")}function Z0(n,r=2){n=n.toString();let u=n.indexOf(".");return u!==-1?n=n.substring(0,r+u+1):n=n.substring(0),parseFloat(n).toFixed(r)}function ps(n,r=2){if(typeof n=="number"){const a=/([0-9])+e([-0-9]+)/.exec(n+"")||[];if(a.length>2){const f=a[1],l=a[2];return Math.round(parseFloat(+f+"e"+(+l+r)))/Math.pow(10,r)}return Math.round(parseFloat(+n+"e"+r))/Math.pow(10,r)}return n}function j0(n,r=2){const u=parseFloat(n+"");return!isNaN(u)&&(u||u===0)?ps(u,r).toFixed(r):n}const ev=n=>{if(isNaN(n))throw"numToChineseNumerals: \u6570\u636E\u975E\u6CD5";return n=Number(n),gs(n).replace(/^零/,"").replace(/^一十/,"\u5341")},tv=["\u96F6","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D","\u4E03","\u516B","\u4E5D"],nv=["","\u5341","\u767E","\u5343"];function gs(n){if(n===0)return"";const r=Math.floor(Math.log10(n)),u=Math.floor(r/8),a=Math.floor(r%8/4);let f=Math.floor(n/Math.pow(10,4*a+8*u)),l=n%Math.pow(10,4*a+8*u),g=we(String(f).padStart(4,"0")).split("").map((p,d)=>tv[p]+(p==="0"?"":nv[3-d])).uniq().value().join("").replace(/零$/,"");for(let p=0;p<a;p++)g+="\u4E07";for(let p=0;p<u;p++)g+="\u4EBF";return g+gs(l)}function ds(n){return n?["\u4E00","\u4E8C","\u4E09","\u56DB"][n-1]:""}function rv(n){if(!n||n.length<6)return"";const r=n.substring(0,4),u=n.substring(4,6),a=vs(parseInt(u));return`${r}Q${a}`}function vs(n){if(typeof n=="string"){if(isNaN(parseInt(n)))return 0;n=parseInt(n)}return Math.ceil(n/3)}function iv(n){if(!n||n.length<6)return n;const r=n.substring(0,4),u=parseInt(n.substring(5));return`${r}\u7B2C${ds(u)}\u5B63\u5EA6`}function uv(n){if(!n||n.length<6)return n;const r=n.substring(0,4),a=parseInt(n.substring(5))*3-2,f=a<10?`0${a}`:`${a}`;return`${r}${f}`}function ov(n){if(!n||n.length<6)return n;const r=n.substring(0,4),a=parseInt(n.substring(5))*3,f=a<10?`0${a}`:`${a}`;return`${r}${f}`}const zt="__",Vn="--";function ju({tooltip:n,item:r,parents:u,title:a}){let f=null;return n&&(Xu(n)?f=n(r,u):n===!0?f=a:f=n),f}function eo(n,r,u={}){var R;const N=r,{key:a,keyProp:f,title:l,titleProp:g,titleFormatter:p,sortProp:d,sortOrder:v="asc",keyLastSuffix:E,isLimitChildren:_,headerTooltip:w,children:S}=N,$=ih(N,["key","keyProp","title","titleProp","titleFormatter","sortProp","sortOrder","keyLastSuffix","isLimitChildren","headerTooltip","children"]),{keyPropName:M="key",titlePropName:B="title",keyPrefix:P="",parents:k=[]}=u;if(f){let X=((R=we.uniqBy(n,r.keyProp))==null?void 0:R.filter(z=>!Kn(z[r.keyProp])))||[];if(d){const z=X.filter(ye=>Kn(ye[d])),ue=X.filter(ye=>!Kn(ye[d]));X=we.orderBy(ue,[d],[v]).concat(z)}return X.map(z=>{const ue=p?p(z[g]):z[g];if(S&&S.length){const de=`${P}${f}${Vn}${z[f]}${zt}`,oe=S.map($e=>{let qe=_?n.filter(K=>K[f]===z[f]):n;return eo(qe,$e,Mt(ht({},u),{keyPrefix:de,parents:[...k,z]}))});return Mt(ht({},$),{[B]:ue,headerTooltip:ju({tooltip:w,item:z,parents:k,title:ue}),children:we.flatten(oe)})}const ye=E?`${zt}${E}`:"";return Mt(ht({},$),{[M]:`${P}${f}${Vn}${z[f]}${ye}`,[B]:ue,headerTooltip:ju({tooltip:w,item:z,parents:k,title:ue})})})}const F=ju({tooltip:w,item:{},parents:k,title:l});if(S&&S.length){const X=`${P}${a||""}`,z=S.map(ue=>eo(n,ue,Mt(ht({},u),{keyPrefix:X})));return Mt(ht({},$),{[B]:l,headerTooltip:F,children:we.flatten(z)})}return Mt(ht({},$),{[M]:`${P}${a||""}`,[B]:l,headerTooltip:F})}function to(n=[]){return!n||!n.length?[]:n.reduce((r,u)=>u.children?[...r,...to(u.children)]:[...r,u],[])}function ys(n,r){var f;if(!r.length)return;const u=r[0];if(r=r.slice(1),u.includes(Vn)&&r.length){const[l,g]=u.split(Vn),p=we.filter(n,{[l]:g});return ys(p,r)}return r.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"),(f=n==null?void 0:n[0])==null?void 0:f[u]}function gi(n,r){if(!n)return"";if(li(r))return n[r]||"";for(const u of r)if(n[u])return n[u];return""}function ms(n,r,u,a,f){if(u>=n.length)return;const l=n[u];let g=we.find(a,{key:l});if(!g&&(g={key:l,title:r[u],children:[]},a.push(g),u===n.length-1)){Object.assign(g,f,{title:r[u]});return}ms(n,r,u+1,g.children,f)}function av({sumColumnDefs:n}){const r=[];for(const u of n){const{key:a,title:f}=u,l=a.split(zt),g=f.split(zt);ms(l,g,0,r,u)}return r}function fv(n=[],r=[],u,a={}){var E;const f=[];a.sumColumnDefs&&a.sumColumnDefs.length&&f.push(...av(a));const l=we.flatten(r.map(_=>eo(n,_,a)))||[];f.push(...l);const g=to(f),p=((E=we.uniqBy(n,_=>gi(_,u)))==null?void 0:E.filter(_=>!Kn(gi(_,u))))||[],d=we.groupBy(n,_=>gi(_,u));return{data:p.map(_=>{const w=gi(_,u),S=d[w]||[],$=ht({},_);return a.sumColumnDefs&&a.sumColumnDefs.length&&a.sumColumnDefs.forEach(M=>{const{key:B}=M,P=B.split(zt)||[],k=(P==null?void 0:P[0])||"",F=(P==null?void 0:P[P.length-1])||"",{sumColKeyProp:N="sumColCode"}=a,R=we.find(S,{[N]:k})||{};$[B]=R[F]}),g.forEach(M=>{const B=M[a.keyPropName||"key"]||"",P=B.split(zt)||[],k=ys(S,P);$[B]=k,delete $[P[P.length-1]]}),$}),columns:f}}function sv(n={},r=[],u={}){const a=[],f={};return Object.keys(n).forEach(g=>{g.includes(zt)||(f[g]=n[g])}),r.forEach(g=>{const p={},d=g[u.keyPropName||"key"]||"";if(d.includes(zt)){const v=d.split(zt);v.forEach((E,_)=>{if(E.includes(Vn)&&v.length){const[w,S]=E.split(Vn);p[w]=S}else if(v.length!==_+1)console.error("columns\u6709\u95EE\u9898\uFF0C\u8BF7\u68C0\u67E5\uFF01");else{const w=we.find(a,p);w?w[E]=n[d]:a.push(Mt(ht(ht({},f),p),{[E]:n[d]}))}})}}),a}function lv(n=[],r=[],u={}){const a=to(r);return n.reduce((f,l)=>[...f,...sv(l,a,u)],[])}let cv=n=>crypto.getRandomValues(new Uint8Array(n)),hv=(n,r,u)=>{let a=(2<<Math.log(n.length-1)/Math.LN2)-1,f=-~(1.6*a*r/n.length);return(l=r)=>{let g="";for(;;){let p=u(f),d=f;for(;d--;)if(g+=n[p[d]&a]||"",g.length===l)return g}}};const pv=((n,r=21)=>hv(n,r,cv))("0123456789abcdef",32);function gv(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(n){var r=Math.random()*16|0,u=n==="x"?r:r&3|8;return u.toString(16)})}function dv(n){var r=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,f,l,g,p,d=new Array;if(d=n.split(""),u[parseInt(n.substr(0,2))]==null)return r[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?p=/^[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}$/:p=/^[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}$/,p.test(n)?r[0]:r[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?p=/^[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]$/:p=/^[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]$/,p.test(n)?(l=(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=l%11,g="F",f="10X98765432",g=f.substr(a,1),g==d[17]?r[0]:r[3]):r[2];default:return r[1]}}function vv(n){var r=/^1[3456789]\d{9}$/;return!!r.test(n)}function yv(n){var r=/^([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)||r.test(n))}function mv(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 _s="ind-dict_";function _v(n){return _e(`${_s}${n}`)}function wv(n,r){Ae(`${_s}${n}`,r)}const ws=bt.authServerContext;function Ev(n){return he.get(`${ws}/anon/dict/getDictsMap`,{params:{dictId:n}})}function Es(n){return uu(this,null,function*(){if(n===us)return os;const r=_v(n);if(r)return r;try{const{data:u}=yield he.get(`${ws}/dict/getDicts`,{params:{dictId:n}});return wv(n,u),u}catch(u){console.error(`getDict error dictId=${n}`,u)}})}function Sv(n){return uu(this,null,function*(){const r={},u=yield Promise.all(n.map(a=>Es(a)));return n.forEach((a,f)=>{if(u[f]){const l={};u[f].forEach(g=>{l[g.K]=g.V}),r[a]={data:l,renderData:u[f]}}}),r})}const Bt=bt.authServerContext;function Av(){return he.get(`${Bt}/manage/menu/getAllPermission`)}function bv(){return he.get(`${Bt}/manage/upmsMenuHistory/list`)}function Cv(n){return he.post(`${Bt}/manage/upmsMenuHistory/add`,null,{params:n})}function xv(n){return he.get(`${Bt}/manage/upmsMenuHistory/delete/`+n)}function Ov(){return he.get(`${Bt}/manage/upmsMenuCollect/list`)}function Tv(n){return he.post(`${Bt}/manage/upmsMenuCollect/add`,null,{params:n})}function Iv(n){return he.get(`${Bt}/manage/upmsMenuCollect/delete/`+n)}function $v(n){return he.post(`${Bt}/manage/upmsMenuCollect/remove`,null,{params:n})}function Dv(){return he.get(`${Bt}/manage/app/list`)}function Fv(){return he.get(`${Bt}/ipm/bc/basic/item/getMaxTabNum`)}const Ss=bt.ossServerContext;function As(n=""){return`${Ss}/oss/file/get/${n}`}function bs(){return`${Ss}/oss/file/put`}function Pv(n,r){const u={};return r&&(u.responseType=r),he.get(As(n),u)}function Mv(n,r){let u=new FormData;return u.append("file",r,n),he({method:"post",url:bs(),headers:{"Content-Type":wr.multiForm},data:u})}function Rv(n){const r=location.protocol==="https:"?"1":"",u={};return he.get(`${bt.ucExtServerContext}/api/wps/getPreviewUrl/${n}?isWeb=${r}&previewMode=high_definition`,u)}let Lv={Base64Chars:"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789@*-",encode:function(n){if(!n||n.length==0)return n;for(var r="",u=this.ucs2_utf8(n),a,f,l,g,p=u.length,d=0;d<p;){var v=u[d++];a=(v&252)>>2,f=(v&3)<<4,d<p?(v=u[d++],f|=(v&240)>>4,l=(v&15)<<2,d<p?(v=u[d++],l|=(v&192)>>6,g=v&63):g=64):l=g=64,r+=this.Base64Chars.charAt(a),r+=this.Base64Chars.charAt(f),r+=this.Base64Chars.charAt(l),r+=this.Base64Chars.charAt(g)}return r},ucs2_utf8:function(n){if(!n)return null;var r=new Array;if(n=="")return r;for(var u=0,a=0,f=0,l=n.length;a<l;)u=n.charCodeAt(a++),u<=127?r[f++]=u:u>=128&&u<=2047?(r[f++]=u>>6&31|192,r[f++]=u&63|128):(r[f++]=u>>12|224,r[f++]=u>>6&63|128,r[f++]=u&63|128);return r},utf8_ucs2:function(n){if(!n)return null;var r=n.length;if(r==0)return"";for(var u="",a=0,f=0,l=0;f<r;)a=n[f++],(a&224)==224?(l=(a&15)<<12,a=n[f++],l|=(a&63)<<6,a=n[f++],l|=a&63):(a&192)==192?(l=(a&31)<<6,a=n[f++],l|=a&63):l=a,u+=String.fromCharCode(l);return u}};const Qn=bt.authServerContext;function Nv({userName:n,password:r,validCodeId:u,validCodeInput:a}){let f="MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDD2iolFHi+6bUh+V6JPr2gFJQsC0QNsq2EwI0MAPlI5AaizBHRVMjX1H73ptuDSiT3QZh4kk74w+eDLyYj4JXo1SvvDw5w378SLhUIDzH0zrlt3oleT3kiPQxC17yM3Os/wrtHO7IC+KGo9qrg+LJFyR/fYYHcyH9i+JAejBEnJQIDAQAB",g=new window.NodeRSA(f,"pkcs8-public").encrypt(r,"base64"),p=Lv.encode(g);const d={usn:n,upw:p,validCodeId:u,validCodeInput:a};return he.formPost(Qn+"/sso/auth/login",d)}function Bv(){return he.get(`${Qn}/manage/user/getCurrentInfo`)}function Uv(){return he.get(`${Qn}/anon/user/getGlobalPolicy`)}function Wv(n){return he.post(`${Qn}/manage/user/updatePassword`,n)}function Hv(n){return`${Qn}/anon/user/getCaptcha/`+n}function Yv(){return he.get(`${Qn}/sso/logout`)}const kv=bt.ismAmServerContext;function Gv(n){return he.get(`${kv}/tree/com/listComTree`,{params:n})}const qv=bt.ucExtServerContext;function zv(n){return he.get(`${qv}/index-desc/list`,{params:n})}const no=bt.ismAmServerContext;function Kv(n){return he.get(`${no}/tree/item/listItemTree`,{params:n})}function Jv(){return he.get(`${no}/basic/getPriceInfo`,{})}function Vv(n){return he.get(`${no}/basic/getItem`,{params:n})}const Qv=bt.ucExtServerContext;function Xv(n){return he.get(`${Qv}/tree/uc-user/listUserTree`,{params:n})}C.Base64ForLogin=Jd,C.CONTENT_TYPE=wr,C.IS_OR_NOT_ENUM=S0,C.IS_OR_NOT_ENUM_KEY=us,C.IS_OR_NOT_ENUM_LIST=os,C.MIME_TYPE=J0,C.UC_ENUM=A0,C.addMenuCollectApi=Tv,C.axios=he,C.base64ToBlob=Vd,C.blobToBase64=Qd,C.checkIdCard=dv,C.checkPhone=vv,C.checkTel=yv,C.checkVehicleNo=mv,C.clearIndexDescCache=oh,C.clearPermissionCache=sh,C.clearSessionStorage=qr,C.clearUserInfoCache=hh,C.config=bt,C.cryptor=Kd,C.deleteMenuCollectApi=Iv,C.deleteMenuHistoryApi=xv,C.exportJsonToExcel=L0,C.flattenRow2ColumnData=lv,C.formatDate=Zd,C.formatDateChinese=jd,C.formatDecimal=Z0,C.formatHalfYear=q0,C.formatQuarter=iv,C.getAppListApi=Dv,C.getCaptchaURL=Hv,C.getContentType=qu,C.getDictApi=Es,C.getDictMapApi=Sv,C.getDictsMapApi=Ev,C.getExcelColumnIdx=B0,C.getGlobalPolicyApi=Uv,C.getHalfYear=G0,C.getHalfYearBeginMonth=z0,C.getHalfYearEndMonth=K0,C.getHalfYearNum=hs,C.getIndexDescCache=hr,C.getItem=Vv,C.getLocalStorage=Rn,C.getMaxTabNumValueApi=Fv,C.getMenuCollectApi=Ov,C.getMenuHistoryApi=bv,C.getOssFileApi=Pv,C.getOssFileUrl=As,C.getPermissionApi=Av,C.getPermissionCache=ah,C.getPreviewUrlApi=Rv,C.getPriceInfo=Jv,C.getQuarter=rv,C.getQuarterBeginMonth=uv,C.getQuarterEndMonth=ov,C.getQuarterNum=vs,C.getSessionStorage=_e,C.getToken=Yf,C.getType=rs,C.getUrlParams=Nf,C.getUserInfoApi=Bv,C.getUserInfoCache=lh,C.guid=gv,C.importJsonFromExcel=N0,C.isArguments=f0,C.isArray=Qu,C.isArrayLike=ci,C.isBoolean=r0,C.isDate=a0,C.isDecimal=y0,C.isElement=c0,C.isEmpty=h0,C.isEqual=pi,C.isEqualWith=E0,C.isError=l0,C.isEven=p0,C.isFinite=d0,C.isFunction=Xu,C.isInteger=v0,C.isNegative=m0,C.isNil=Kn,C.isNull=ts,C.isNumber=fn,C.isNumberEqual=w0,C.isObject=i0,C.isObjectLike=hi,C.isOdd=g0,C.isPlainObject=u0,C.isPositive=_0,C.isPromise=o0,C.isPrototype=is,C.isRegExp=s0,C.isString=li,C.isType=Ct,C.isUndefined=ns,C.listComTreeApi=Gv,C.listIndexDescApi=zv,C.listItemTreeApi=Kv,C.listUserTreeApi=Xv,C.loginApi=Nv,C.logoutApi=Yv,C.menuHistoryApi=Cv,C.numToChineseNumerals=ev,C.numToDX=X0,C.off=Y0,C.on=H0,C.preventDefault=k0,C.putOssFileApi=Mv,C.putOssFileUrl=bs,C.quarter2Chinese=ds,C.removeLocalStorage=mn,C.removeMenuCollectApi=$v,C.removeSessionStorage=Ze,C.renderColumnEnums=as,C.renderEnumData=C0,C.renderEnumList=b0,C.renderFieldEnums=x0,C.responseInterceptors=qf,C.round=ps,C.row2column=fv,C.setContentType=Uf,C.setIndexDescCache=uh,C.setLocalStorage=Ln,C.setPermissionCache=fh,C.setSessionStorage=Ae,C.setToken=Id,C.setUserInfoCache=ch,C.stopPropagation=cs,C.str2Date=Xd,C.toChies=Q0,C.toFixed=j0,C.toThousands=V0,C.updatePasswordApi=Wv,C.useConfig=Gf,C.uuid=pv,Object.defineProperties(C,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
package/package.json
CHANGED
package/src/api/platform/oss.ts
CHANGED
|
@@ -64,9 +64,11 @@ export function putOssFileApi(filename: string, blob: Blob) {
|
|
|
64
64
|
* @returns 文件内容
|
|
65
65
|
*/
|
|
66
66
|
export function getPreviewUrlApi(fileId: string) {
|
|
67
|
+
const isWeb = location.protocol === 'https:' ? '1' : ''
|
|
68
|
+
|
|
67
69
|
const axiosConfig = {} as AxiosRequestConfig
|
|
68
70
|
return axios.get(
|
|
69
|
-
`${config.ucExtServerContext}/api/wps/getPreviewUrl/${fileId}?previewMode=high_definition`,
|
|
71
|
+
`${config.ucExtServerContext}/api/wps/getPreviewUrl/${fileId}?isWeb=${isWeb}&previewMode=high_definition`,
|
|
70
72
|
axiosConfig,
|
|
71
73
|
)
|
|
72
74
|
}
|
|
@@ -36,6 +36,8 @@ export default {
|
|
|
36
36
|
imaServerContext: '/imarket-act-manage-server',
|
|
37
37
|
// uc-ext-server
|
|
38
38
|
ucExtServerContext: '/ind-uc-ext-server',
|
|
39
|
+
// ddd-data-manage-server
|
|
40
|
+
dataManageServerContext: '/ddd-data-manage-server',
|
|
39
41
|
// kkfilepreview 预览文件组件
|
|
40
42
|
kkfilepreviewContext: '/kkfilepreview',
|
|
41
43
|
// 错误文案
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"oss.d.ts","sourceRoot":"","sources":["../../../src/api/platform/oss.ts"],"names":[],"mappings":"AAEA,OAAO,EAAsB,YAAY,EAAE,MAAM,OAAO,CAAA;AAIxD;;;;;GAKG;AACH,wBAAgB,aAAa,CAAC,MAAM,SAAK,UAExC;AAED;;;;GAIG;AACH,wBAAgB,aAAa,WAE5B;AAED;;;;;;GAMG;AACH,wBAAgB,aAAa,CAAC,MAAM,EAAE,MAAM,EAAE,YAAY,CAAC,EAAE,YAAY,+CAMxE;AAED;;;;;;GAMG;AACH,wBAAgB,aAAa,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,qCAUzD;AAED;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,MAAM,+
|
|
1
|
+
{"version":3,"file":"oss.d.ts","sourceRoot":"","sources":["../../../src/api/platform/oss.ts"],"names":[],"mappings":"AAEA,OAAO,EAAsB,YAAY,EAAE,MAAM,OAAO,CAAA;AAIxD;;;;;GAKG;AACH,wBAAgB,aAAa,CAAC,MAAM,SAAK,UAExC;AAED;;;;GAIG;AACH,wBAAgB,aAAa,WAE5B;AAED;;;;;;GAMG;AACH,wBAAgB,aAAa,CAAC,MAAM,EAAE,MAAM,EAAE,YAAY,CAAC,EAAE,YAAY,+CAMxE;AAED;;;;;;GAMG;AACH,wBAAgB,aAAa,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,qCAUzD;AAED;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,MAAM,+CAQ9C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base.config.d.ts","sourceRoot":"","sources":["../../src/config/base.config.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"base.config.d.ts","sourceRoot":"","sources":["../../src/config/base.config.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAuDE,gBAAgB;;;AAlDlB,wBAoDC"}
|
package/types/config/index.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ export declare function useConfig(isDev?: boolean): {
|
|
|
15
15
|
imgServerContext: string
|
|
16
16
|
imaServerContext: string
|
|
17
17
|
ucExtServerContext: string
|
|
18
|
+
dataManageServerContext: string
|
|
18
19
|
kkfilepreviewContext: string
|
|
19
20
|
errorMessage: string
|
|
20
21
|
leftLockDays: number
|
|
@@ -47,6 +48,7 @@ export declare const config: {
|
|
|
47
48
|
imgServerContext: string
|
|
48
49
|
imaServerContext: string
|
|
49
50
|
ucExtServerContext: string
|
|
51
|
+
dataManageServerContext: string
|
|
50
52
|
kkfilepreviewContext: string
|
|
51
53
|
errorMessage: string
|
|
52
54
|
leftLockDays: number
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/config/index.ts"],"names":[],"mappings":"AAIA,wBAAgB,SAAS,CAAC,KAAK,CAAC,EAAE,OAAO
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/config/index.ts"],"names":[],"mappings":"AAIA,wBAAgB,SAAS,CAAC,KAAK,CAAC,EAAE,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAIxC;AAED,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAc,CAAA"}
|