@indfnd/utils 0.0.34 → 0.0.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [0.0.35](http://git.inspur.com/imp-ec/ind-front/ind-utils/compare/v0.0.34...v0.0.35) (2024-02-22)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* **request:** 修改超时时的报错 ([72f729b](http://git.inspur.com/imp-ec/ind-front/ind-utils/commit/72f729bbd56f7bc1a5773b2ed4af86602de372d4))
|
|
11
|
+
|
|
5
12
|
### [0.0.34](http://git.inspur.com/imp-ec/ind-front/ind-utils/compare/v0.0.33...v0.0.34) (2024-02-22)
|
|
6
13
|
|
|
7
14
|
|
package/dist/ind-utils.es.js
CHANGED
|
@@ -3319,10 +3319,10 @@ function responseInterceptors(response) {
|
|
|
3319
3319
|
return Promise.reject(data);
|
|
3320
3320
|
}
|
|
3321
3321
|
function inspectorError(error) {
|
|
3322
|
+
var _a;
|
|
3322
3323
|
if ((error == null ? void 0 : error.code) === "ECONNABORTED") {
|
|
3323
3324
|
window.apiErrorHandler && window.apiErrorHandler("\u8BF7\u6C42\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u518D\u8BD5");
|
|
3324
|
-
}
|
|
3325
|
-
if (error.response.status !== 200) {
|
|
3325
|
+
} else if (((_a = error == null ? void 0 : error.response) == null ? void 0 : _a.status) !== 200) {
|
|
3326
3326
|
window.apiErrorHandler && window.apiErrorHandler("\u8BF7\u6C42\u51FA\u9519\u4E86");
|
|
3327
3327
|
}
|
|
3328
3328
|
return Promise.reject(error);
|
package/dist/ind-utils.umd.cjs
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
`),function(h){if(c=h.indexOf(":"),a=su.trim(h.substr(0,c)).toLowerCase(),s=su.trim(h.substr(c+1)),a){if(u[a]&&Ip.indexOf(a)>=0)return;a==="set-cookie"?u[a]=(u[a]?u[a]:[]).concat([s]):u[a]=u[a]?u[a]+", "+s:s}}),u},xa=rt,Pp=xa.isStandardBrowserEnv()?function(){var i=/(msie|trident)/i.test(navigator.userAgent),u=document.createElement("a"),a;function s(c){var g=c;return i&&(u.setAttribute("href",g),g=u.href),u.setAttribute("href",g),{href:u.href,protocol:u.protocol?u.protocol.replace(/:$/,""):"",host:u.host,search:u.search?u.search.replace(/^\?/,""):"",hash:u.hash?u.hash.replace(/^#/,""):"",hostname:u.hostname,port:u.port,pathname:u.pathname.charAt(0)==="/"?u.pathname:"/"+u.pathname}}return a=s(window.location.href),function(g){var h=xa.isString(g)?s(g):g;return h.protocol===a.protocol&&h.host===a.host}}():function(){return function(){return!0}}(),Kr=rt,Mp=Ap,Dp=bp,Rp=ba,Lp=$p,Np=Fp,Bp=Pp,lu=Ca,Ta=function(i){return new Promise(function(a,s){var c=i.data,g=i.headers,h=i.responseType;Kr.isFormData(c)&&delete g["Content-Type"];var d=new XMLHttpRequest;if(i.auth){var y=i.auth.username||"",E=i.auth.password?unescape(encodeURIComponent(i.auth.password)):"";g.Authorization="Basic "+btoa(y+":"+E)}var w=Lp(i.baseURL,i.url);d.open(i.method.toUpperCase(),Rp(w,i.params,i.paramsSerializer),!0),d.timeout=i.timeout;function _(){if(!!d){var I="getAllResponseHeaders"in d?Np(d.getAllResponseHeaders()):null,D=!h||h==="text"||h==="json"?d.responseText:d.response,W={data:D,status:d.status,statusText:d.statusText,headers:I,config:i,request:d};Mp(a,s,W),d=null}}if("onloadend"in d?d.onloadend=_:d.onreadystatechange=function(){!d||d.readyState!==4||d.status===0&&!(d.responseURL&&d.responseURL.indexOf("file:")===0)||setTimeout(_)},d.onabort=function(){!d||(s(lu("Request aborted",i,"ECONNABORTED",d)),d=null)},d.onerror=function(){s(lu("Network Error",i,null,d)),d=null},d.ontimeout=function(){var D="timeout of "+i.timeout+"ms exceeded";i.timeoutErrorMessage&&(D=i.timeoutErrorMessage),s(lu(D,i,i.transitional&&i.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",d)),d=null},Kr.isStandardBrowserEnv()){var A=(i.withCredentials||Bp(w))&&i.xsrfCookieName?Dp.read(i.xsrfCookieName):void 0;A&&(g[i.xsrfHeaderName]=A)}"setRequestHeader"in d&&Kr.forEach(g,function(D,W){typeof c=="undefined"&&W.toLowerCase()==="content-type"?delete g[W]:d.setRequestHeader(W,D)}),Kr.isUndefined(i.withCredentials)||(d.withCredentials=!!i.withCredentials),h&&h!=="json"&&(d.responseType=i.responseType),typeof i.onDownloadProgress=="function"&&d.addEventListener("progress",i.onDownloadProgress),typeof i.onUploadProgress=="function"&&d.upload&&d.upload.addEventListener("progress",i.onUploadProgress),i.cancelToken&&i.cancelToken.promise.then(function(D){!d||(d.abort(),s(D),d=null)}),c||(c=null),d.send(c)})},Ue=rt,$a=wp,Up=Oa,Wp={"Content-Type":"application/x-www-form-urlencoded"};function Ia(n,i){!Ue.isUndefined(n)&&Ue.isUndefined(n["Content-Type"])&&(n["Content-Type"]=i)}function Hp(){var n;return(typeof XMLHttpRequest!="undefined"||typeof process!="undefined"&&Object.prototype.toString.call(process)==="[object process]")&&(n=Ta),n}function Yp(n,i,u){if(Ue.isString(n))try{return(i||JSON.parse)(n),Ue.trim(n)}catch(a){if(a.name!=="SyntaxError")throw a}return(u||JSON.stringify)(n)}var Jr={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:Hp(),transformRequest:[function(i,u){return $a(u,"Accept"),$a(u,"Content-Type"),Ue.isFormData(i)||Ue.isArrayBuffer(i)||Ue.isBuffer(i)||Ue.isStream(i)||Ue.isFile(i)||Ue.isBlob(i)?i:Ue.isArrayBufferView(i)?i.buffer:Ue.isURLSearchParams(i)?(Ia(u,"application/x-www-form-urlencoded;charset=utf-8"),i.toString()):Ue.isObject(i)||u&&u["Content-Type"]==="application/json"?(Ia(u,"application/json"),Yp(i)):i}],transformResponse:[function(i){var u=this.transitional,a=u&&u.silentJSONParsing,s=u&&u.forcedJSONParsing,c=!a&&this.responseType==="json";if(c||s&&Ue.isString(i)&&i.length)try{return JSON.parse(i)}catch(g){if(c)throw g.name==="SyntaxError"?Up(g,this,"E_JSON_PARSE"):g}return i}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(i){return i>=200&&i<300}};Jr.headers={common:{Accept:"application/json, text/plain, */*"}},Ue.forEach(["delete","get","head"],function(i){Jr.headers[i]={}}),Ue.forEach(["post","put","patch"],function(i){Jr.headers[i]=Ue.merge(Wp)});var cu=Jr,kp=rt,Gp=cu,qp=function(i,u,a){var s=this||Gp;return kp.forEach(a,function(g){i=g.call(s,i,u)}),i},Fa=function(i){return!!(i&&i.__CANCEL__)},Pa=rt,pu=qp,zp=Fa,Kp=cu;function hu(n){n.cancelToken&&n.cancelToken.throwIfRequested()}var Jp=function(i){hu(i),i.headers=i.headers||{},i.data=pu.call(i,i.data,i.headers,i.transformRequest),i.headers=Pa.merge(i.headers.common||{},i.headers[i.method]||{},i.headers),Pa.forEach(["delete","get","head","post","put","patch","common"],function(s){delete i.headers[s]});var u=i.adapter||Kp.adapter;return u(i).then(function(s){return hu(i),s.data=pu.call(i,s.data,s.headers,i.transformResponse),s},function(s){return zp(s)||(hu(i),s&&s.response&&(s.response.data=pu.call(i,s.response.data,s.response.headers,i.transformResponse))),Promise.reject(s)})},Ye=rt,Ma=function(i,u){u=u||{};var a={},s=["url","method","data"],c=["headers","auth","proxy","params"],g=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],h=["validateStatus"];function d(_,A){return Ye.isPlainObject(_)&&Ye.isPlainObject(A)?Ye.merge(_,A):Ye.isPlainObject(A)?Ye.merge({},A):Ye.isArray(A)?A.slice():A}function y(_){Ye.isUndefined(u[_])?Ye.isUndefined(i[_])||(a[_]=d(void 0,i[_])):a[_]=d(i[_],u[_])}Ye.forEach(s,function(A){Ye.isUndefined(u[A])||(a[A]=d(void 0,u[A]))}),Ye.forEach(c,y),Ye.forEach(g,function(A){Ye.isUndefined(u[A])?Ye.isUndefined(i[A])||(a[A]=d(void 0,i[A])):a[A]=d(void 0,u[A])}),Ye.forEach(h,function(A){A in u?a[A]=d(i[A],u[A]):A in i&&(a[A]=d(void 0,i[A]))});var E=s.concat(c).concat(g).concat(h),w=Object.keys(i).concat(Object.keys(u)).filter(function(A){return E.indexOf(A)===-1});return Ye.forEach(w,y),a},Vp={name:"axios",version:"0.21.4",description:"Promise based HTTP client for the browser and node.js",main:"index.js",scripts:{test:"grunt test",start:"node ./sandbox/server.js",build:"NODE_ENV=production grunt build",preversion:"npm test",version:"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json",postversion:"git push && git push --tags",examples:"node ./examples/server.js",coveralls:"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",fix:"eslint --fix lib/**/*.js"},repository:{type:"git",url:"https://github.com/axios/axios.git"},keywords:["xhr","http","ajax","promise","node"],author:"Matt Zabriskie",license:"MIT",bugs:{url:"https://github.com/axios/axios/issues"},homepage:"https://axios-http.com",devDependencies:{coveralls:"^3.0.0","es6-promise":"^4.2.4",grunt:"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.19","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1",karma:"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2",minimist:"^1.2.0",mocha:"^8.2.1",sinon:"^4.5.0","terser-webpack-plugin":"^4.2.3",typescript:"^4.0.5","url-search-params":"^0.10.0",webpack:"^4.44.2","webpack-dev-server":"^3.11.0"},browser:{"./lib/adapters/http.js":"./lib/adapters/xhr.js"},jsdelivr:"dist/axios.min.js",unpkg:"dist/axios.min.js",typings:"./index.d.ts",dependencies:{"follow-redirects":"^1.14.0"},bundlesize:[{path:"./dist/axios.min.js",threshold:"5kB"}]},Da=Vp,gu={};["object","boolean","number","function","string","symbol"].forEach(function(n,i){gu[n]=function(a){return typeof a===n||"a"+(i<1?"n ":" ")+n}});var Ra={},Qp=Da.version.split(".");function La(n,i){for(var u=i?i.split("."):Qp,a=n.split("."),s=0;s<3;s++){if(u[s]>a[s])return!0;if(u[s]<a[s])return!1}return!1}gu.transitional=function(i,u,a){var s=u&&La(u);function c(g,h){return"[Axios v"+Da.version+"] Transitional option '"+g+"'"+h+(a?". "+a:"")}return function(g,h,d){if(i===!1)throw new Error(c(h," has been removed in "+u));return s&&!Ra[h]&&(Ra[h]=!0,console.warn(c(h," has been deprecated since v"+u+" and will be removed in the near future"))),i?i(g,h,d):!0}};function Zp(n,i,u){if(typeof n!="object")throw new TypeError("options must be an object");for(var a=Object.keys(n),s=a.length;s-- >0;){var c=a[s],g=i[c];if(g){var h=n[c],d=h===void 0||g(h,c,n);if(d!==!0)throw new TypeError("option "+c+" must be "+d);continue}if(u!==!0)throw Error("Unknown option "+c)}}var Xp={isOlderVersion:La,assertOptions:Zp,validators:gu},Na=rt,jp=ba,Ba=mp,Ua=Jp,Vr=Ma,Wa=Xp,Rn=Wa.validators;function cr(n){this.defaults=n,this.interceptors={request:new Ba,response:new Ba}}cr.prototype.request=function(i){typeof i=="string"?(i=arguments[1]||{},i.url=arguments[0]):i=i||{},i=Vr(this.defaults,i),i.method?i.method=i.method.toLowerCase():this.defaults.method?i.method=this.defaults.method.toLowerCase():i.method="get";var u=i.transitional;u!==void 0&&Wa.assertOptions(u,{silentJSONParsing:Rn.transitional(Rn.boolean,"1.0.0"),forcedJSONParsing:Rn.transitional(Rn.boolean,"1.0.0"),clarifyTimeoutError:Rn.transitional(Rn.boolean,"1.0.0")},!1);var a=[],s=!0;this.interceptors.request.forEach(function(_){typeof _.runWhen=="function"&&_.runWhen(i)===!1||(s=s&&_.synchronous,a.unshift(_.fulfilled,_.rejected))});var c=[];this.interceptors.response.forEach(function(_){c.push(_.fulfilled,_.rejected)});var g;if(!s){var h=[Ua,void 0];for(Array.prototype.unshift.apply(h,a),h=h.concat(c),g=Promise.resolve(i);h.length;)g=g.then(h.shift(),h.shift());return g}for(var d=i;a.length;){var y=a.shift(),E=a.shift();try{d=y(d)}catch(w){E(w);break}}try{g=Ua(d)}catch(w){return Promise.reject(w)}for(;c.length;)g=g.then(c.shift(),c.shift());return g},cr.prototype.getUri=function(i){return i=Vr(this.defaults,i),jp(i.url,i.params,i.paramsSerializer).replace(/^\?/,"")},Na.forEach(["delete","get","head","options"],function(i){cr.prototype[i]=function(u,a){return this.request(Vr(a||{},{method:i,url:u,data:(a||{}).data}))}}),Na.forEach(["post","put","patch"],function(i){cr.prototype[i]=function(u,a,s){return this.request(Vr(s||{},{method:i,url:u,data:a}))}});var eh=cr;function du(n){this.message=n}du.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},du.prototype.__CANCEL__=!0;var Ha=du,th=Ha;function Qr(n){if(typeof n!="function")throw new TypeError("executor must be a function.");var i;this.promise=new Promise(function(s){i=s});var u=this;n(function(s){u.reason||(u.reason=new th(s),i(u.reason))})}Qr.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},Qr.source=function(){var i,u=new Qr(function(s){i=s});return{token:u,cancel:i}};var nh=Qr,rh=function(i){return function(a){return i.apply(null,a)}},ih=function(i){return typeof i=="object"&&i.isAxiosError===!0},Ya=rt,uh=wa,Zr=eh,oh=Ma,ah=cu;function ka(n){var i=new Zr(n),u=uh(Zr.prototype.request,i);return Ya.extend(u,Zr.prototype,i),Ya.extend(u,i),u}var At=ka(ah);At.Axios=Zr,At.create=function(i){return ka(oh(At.defaults,i))},At.Cancel=Ha,At.CancelToken=nh,At.isCancel=Fa,At.all=function(i){return Promise.all(i)},At.spread=rh,At.isAxiosError=ih,iu.exports=At,iu.exports.default=At;var fh=iu.exports,sh=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var i={},u=Symbol("test"),a=Object(u);if(typeof u=="string"||Object.prototype.toString.call(u)!=="[object Symbol]"||Object.prototype.toString.call(a)!=="[object Symbol]")return!1;var s=42;i[u]=s;for(u in i)return!1;if(typeof Object.keys=="function"&&Object.keys(i).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(i).length!==0)return!1;var c=Object.getOwnPropertySymbols(i);if(c.length!==1||c[0]!==u||!Object.prototype.propertyIsEnumerable.call(i,u))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var g=Object.getOwnPropertyDescriptor(i,u);if(g.value!==s||g.enumerable!==!0)return!1}return!0},Ga=typeof Symbol!="undefined"&&Symbol,lh=sh,ch=function(){return typeof Ga!="function"||typeof Symbol!="function"||typeof Ga("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:lh()},qa={foo:{}},ph=Object,hh=function(){return{__proto__:qa}.foo===qa.foo&&!({__proto__:null}instanceof ph)},gh="Function.prototype.bind called on incompatible ",dh=Object.prototype.toString,vh=Math.max,yh="[object Function]",za=function(i,u){for(var a=[],s=0;s<i.length;s+=1)a[s]=i[s];for(var c=0;c<u.length;c+=1)a[c+i.length]=u[c];return a},mh=function(i,u){for(var a=[],s=u||0,c=0;s<i.length;s+=1,c+=1)a[c]=i[s];return a},_h=function(n,i){for(var u="",a=0;a<n.length;a+=1)u+=n[a],a+1<n.length&&(u+=i);return u},wh=function(i){var u=this;if(typeof u!="function"||dh.apply(u)!==yh)throw new TypeError(gh+u);for(var a=mh(arguments,1),s,c=function(){if(this instanceof s){var E=u.apply(this,za(a,arguments));return Object(E)===E?E:this}return u.apply(i,za(a,arguments))},g=vh(0,u.length-a.length),h=[],d=0;d<g;d++)h[d]="$"+d;if(s=Function("binder","return function ("+_h(h,",")+"){ return binder.apply(this,arguments); }")(c),u.prototype){var y=function(){};y.prototype=u.prototype,s.prototype=new y,y.prototype=null}return s},Eh=wh,vu=Function.prototype.bind||Eh,Sh=Function.prototype.call,Ah=Object.prototype.hasOwnProperty,bh=vu,Oh=bh.call(Sh,Ah),ae,Ln=SyntaxError,Ka=Function,Nn=TypeError,yu=function(n){try{return Ka('"use strict"; return ('+n+").constructor;")()}catch(i){}},_n=Object.getOwnPropertyDescriptor;if(_n)try{_n({},"")}catch(n){_n=null}var mu=function(){throw new Nn},Ch=_n?function(){try{return arguments.callee,mu}catch(n){try{return _n(arguments,"callee").get}catch(i){return mu}}}():mu,Bn=ch(),xh=hh(),De=Object.getPrototypeOf||(xh?function(n){return n.__proto__}:null),Un={},Th=typeof Uint8Array=="undefined"||!De?ae:De(Uint8Array),wn={"%AggregateError%":typeof AggregateError=="undefined"?ae:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer=="undefined"?ae:ArrayBuffer,"%ArrayIteratorPrototype%":Bn&&De?De([][Symbol.iterator]()):ae,"%AsyncFromSyncIteratorPrototype%":ae,"%AsyncFunction%":Un,"%AsyncGenerator%":Un,"%AsyncGeneratorFunction%":Un,"%AsyncIteratorPrototype%":Un,"%Atomics%":typeof Atomics=="undefined"?ae:Atomics,"%BigInt%":typeof BigInt=="undefined"?ae:BigInt,"%BigInt64Array%":typeof BigInt64Array=="undefined"?ae:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array=="undefined"?ae:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView=="undefined"?ae:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array=="undefined"?ae:Float32Array,"%Float64Array%":typeof Float64Array=="undefined"?ae:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry=="undefined"?ae:FinalizationRegistry,"%Function%":Ka,"%GeneratorFunction%":Un,"%Int8Array%":typeof Int8Array=="undefined"?ae:Int8Array,"%Int16Array%":typeof Int16Array=="undefined"?ae:Int16Array,"%Int32Array%":typeof Int32Array=="undefined"?ae:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Bn&&De?De(De([][Symbol.iterator]())):ae,"%JSON%":typeof JSON=="object"?JSON:ae,"%Map%":typeof Map=="undefined"?ae:Map,"%MapIteratorPrototype%":typeof Map=="undefined"||!Bn||!De?ae:De(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise=="undefined"?ae:Promise,"%Proxy%":typeof Proxy=="undefined"?ae:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect=="undefined"?ae:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set=="undefined"?ae:Set,"%SetIteratorPrototype%":typeof Set=="undefined"||!Bn||!De?ae:De(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer=="undefined"?ae:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Bn&&De?De(""[Symbol.iterator]()):ae,"%Symbol%":Bn?Symbol:ae,"%SyntaxError%":Ln,"%ThrowTypeError%":Ch,"%TypedArray%":Th,"%TypeError%":Nn,"%Uint8Array%":typeof Uint8Array=="undefined"?ae:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray=="undefined"?ae:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array=="undefined"?ae:Uint16Array,"%Uint32Array%":typeof Uint32Array=="undefined"?ae:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap=="undefined"?ae:WeakMap,"%WeakRef%":typeof WeakRef=="undefined"?ae:WeakRef,"%WeakSet%":typeof WeakSet=="undefined"?ae:WeakSet};if(De)try{null.error}catch(n){var $h=De(De(n));wn["%Error.prototype%"]=$h}var Ih=function n(i){var u;if(i==="%AsyncFunction%")u=yu("async function () {}");else if(i==="%GeneratorFunction%")u=yu("function* () {}");else if(i==="%AsyncGeneratorFunction%")u=yu("async function* () {}");else if(i==="%AsyncGenerator%"){var a=n("%AsyncGeneratorFunction%");a&&(u=a.prototype)}else if(i==="%AsyncIteratorPrototype%"){var s=n("%AsyncGenerator%");s&&De&&(u=De(s.prototype))}return wn[i]=u,u},Ja={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},pr=vu,Xr=Oh,Fh=pr.call(Function.call,Array.prototype.concat),Ph=pr.call(Function.apply,Array.prototype.splice),Va=pr.call(Function.call,String.prototype.replace),jr=pr.call(Function.call,String.prototype.slice),Mh=pr.call(Function.call,RegExp.prototype.exec),Dh=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Rh=/\\(\\)?/g,Lh=function(i){var u=jr(i,0,1),a=jr(i,-1);if(u==="%"&&a!=="%")throw new Ln("invalid intrinsic syntax, expected closing `%`");if(a==="%"&&u!=="%")throw new Ln("invalid intrinsic syntax, expected opening `%`");var s=[];return Va(i,Dh,function(c,g,h,d){s[s.length]=h?Va(d,Rh,"$1"):g||c}),s},Nh=function(i,u){var a=i,s;if(Xr(Ja,a)&&(s=Ja[a],a="%"+s[0]+"%"),Xr(wn,a)){var c=wn[a];if(c===Un&&(c=Ih(a)),typeof c=="undefined"&&!u)throw new Nn("intrinsic "+i+" exists, but is not available. Please file an issue!");return{alias:s,name:a,value:c}}throw new Ln("intrinsic "+i+" does not exist!")},En=function(i,u){if(typeof i!="string"||i.length===0)throw new Nn("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof u!="boolean")throw new Nn('"allowMissing" argument must be a boolean');if(Mh(/^%?[^%]*%?$/,i)===null)throw new Ln("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var a=Lh(i),s=a.length>0?a[0]:"",c=Nh("%"+s+"%",u),g=c.name,h=c.value,d=!1,y=c.alias;y&&(s=y[0],Ph(a,Fh([0,1],y)));for(var E=1,w=!0;E<a.length;E+=1){var _=a[E],A=jr(_,0,1),I=jr(_,-1);if((A==='"'||A==="'"||A==="`"||I==='"'||I==="'"||I==="`")&&A!==I)throw new Ln("property names with quotes must have matching quotes");if((_==="constructor"||!w)&&(d=!0),s+="."+_,g="%"+s+"%",Xr(wn,g))h=wn[g];else if(h!=null){if(!(_ in h)){if(!u)throw new Nn("base intrinsic for "+i+" exists, but the property is not available.");return}if(_n&&E+1>=a.length){var D=_n(h,_);w=!!D,w&&"get"in D&&!("originalValue"in D.get)?h=D.get:h=h[_]}else w=Xr(h,_),h=h[_];w&&!d&&(wn[g]=h)}}return h},Qa={exports:{}},Bh=En,_u=Bh("%Object.defineProperty%",!0),wu=function(){if(_u)try{return _u({},"a",{value:1}),!0}catch(i){return!1}return!1};wu.hasArrayLengthDefineBug=function(){if(!wu())return null;try{return _u([],"length",{value:1}).length!==1}catch(i){return!0}};var Za=wu,Uh=En,ei=Uh("%Object.getOwnPropertyDescriptor%",!0);if(ei)try{ei([],"length")}catch(n){ei=null}var Xa=ei,Wh=Za(),Eu=En,hr=Wh&&Eu("%Object.defineProperty%",!0);if(hr)try{hr({},"a",{value:1})}catch(n){hr=!1}var Hh=Eu("%SyntaxError%"),Wn=Eu("%TypeError%"),ja=Xa,Yh=function(i,u,a){if(!i||typeof i!="object"&&typeof i!="function")throw new Wn("`obj` must be an object or a function`");if(typeof u!="string"&&typeof u!="symbol")throw new Wn("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new Wn("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new Wn("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new Wn("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new Wn("`loose`, if provided, must be a boolean");var s=arguments.length>3?arguments[3]:null,c=arguments.length>4?arguments[4]:null,g=arguments.length>5?arguments[5]:null,h=arguments.length>6?arguments[6]:!1,d=!!ja&&ja(i,u);if(hr)hr(i,u,{configurable:g===null&&d?d.configurable:!g,enumerable:s===null&&d?d.enumerable:!s,value:a,writable:c===null&&d?d.writable:!c});else if(h||!s&&!c&&!g)i[u]=a;else throw new Hh("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},ef=En,tf=Yh,kh=Za(),nf=Xa,rf=ef("%TypeError%"),Gh=ef("%Math.floor%"),qh=function(i,u){if(typeof i!="function")throw new rf("`fn` is not a function");if(typeof u!="number"||u<0||u>4294967295||Gh(u)!==u)throw new rf("`length` must be a positive 32-bit integer");var a=arguments.length>2&&!!arguments[2],s=!0,c=!0;if("length"in i&&nf){var g=nf(i,"length");g&&!g.configurable&&(s=!1),g&&!g.writable&&(c=!1)}return(s||c||!a)&&(kh?tf(i,"length",u,!0,!0):tf(i,"length",u)),i};(function(n){var i=vu,u=En,a=qh,s=u("%TypeError%"),c=u("%Function.prototype.apply%"),g=u("%Function.prototype.call%"),h=u("%Reflect.apply%",!0)||i.call(g,c),d=u("%Object.defineProperty%",!0),y=u("%Math.max%");if(d)try{d({},"a",{value:1})}catch(w){d=null}n.exports=function(_){if(typeof _!="function")throw new s("a function is required");var A=h(i,g,arguments);return a(A,1+y(0,_.length-(arguments.length-1)),!0)};var E=function(){return h(i,c,arguments)};d?d(n.exports,"apply",{value:E}):n.exports.apply=E})(Qa);var uf=En,of=Qa.exports,zh=of(uf("String.prototype.indexOf")),Kh=function(i,u){var a=uf(i,!!u);return typeof a=="function"&&zh(i,".prototype.")>-1?of(a):a},Jh={},Vh=Object.freeze(Object.defineProperty({__proto__:null,default:Jh},Symbol.toStringTag,{value:"Module"})),Qh=ep(Vh),Su=typeof Map=="function"&&Map.prototype,Au=Object.getOwnPropertyDescriptor&&Su?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,ti=Su&&Au&&typeof Au.get=="function"?Au.get:null,af=Su&&Map.prototype.forEach,bu=typeof Set=="function"&&Set.prototype,Ou=Object.getOwnPropertyDescriptor&&bu?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,ni=bu&&Ou&&typeof Ou.get=="function"?Ou.get:null,ff=bu&&Set.prototype.forEach,Zh=typeof WeakMap=="function"&&WeakMap.prototype,gr=Zh?WeakMap.prototype.has:null,Xh=typeof WeakSet=="function"&&WeakSet.prototype,dr=Xh?WeakSet.prototype.has:null,jh=typeof WeakRef=="function"&&WeakRef.prototype,sf=jh?WeakRef.prototype.deref:null,eg=Boolean.prototype.valueOf,tg=Object.prototype.toString,ng=Function.prototype.toString,rg=String.prototype.match,Cu=String.prototype.slice,rn=String.prototype.replace,ig=String.prototype.toUpperCase,lf=String.prototype.toLowerCase,cf=RegExp.prototype.test,pf=Array.prototype.concat,Dt=Array.prototype.join,ug=Array.prototype.slice,hf=Math.floor,xu=typeof BigInt=="function"?BigInt.prototype.valueOf:null,Tu=Object.getOwnPropertySymbols,$u=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,Hn=typeof Symbol=="function"&&typeof Symbol.iterator=="object",ke=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===Hn?"object":"symbol")?Symbol.toStringTag:null,gf=Object.prototype.propertyIsEnumerable,df=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(n){return n.__proto__}:null);function vf(n,i){if(n===1/0||n===-1/0||n!==n||n&&n>-1e3&&n<1e3||cf.call(/e/,i))return i;var u=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof n=="number"){var a=n<0?-hf(-n):hf(n);if(a!==n){var s=String(a),c=Cu.call(i,s.length+1);return rn.call(s,u,"$&_")+"."+rn.call(rn.call(c,/([0-9]{3})/g,"$&_"),/_$/,"")}}return rn.call(i,u,"$&_")}var Iu=Qh,yf=Iu.custom,mf=Ef(yf)?yf:null,og=function n(i,u,a,s){var c=u||{};if(un(c,"quoteStyle")&&c.quoteStyle!=="single"&&c.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(un(c,"maxStringLength")&&(typeof c.maxStringLength=="number"?c.maxStringLength<0&&c.maxStringLength!==1/0:c.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var g=un(c,"customInspect")?c.customInspect:!0;if(typeof g!="boolean"&&g!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(un(c,"indent")&&c.indent!==null&&c.indent!==" "&&!(parseInt(c.indent,10)===c.indent&&c.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(un(c,"numericSeparator")&&typeof c.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var h=c.numericSeparator;if(typeof i=="undefined")return"undefined";if(i===null)return"null";if(typeof i=="boolean")return i?"true":"false";if(typeof i=="string")return Af(i,c);if(typeof i=="number"){if(i===0)return 1/0/i>0?"0":"-0";var d=String(i);return h?vf(i,d):d}if(typeof i=="bigint"){var y=String(i)+"n";return h?vf(i,y):y}var E=typeof c.depth=="undefined"?5:c.depth;if(typeof a=="undefined"&&(a=0),a>=E&&E>0&&typeof i=="object")return Fu(i)?"[Array]":"[Object]";var w=bg(c,a);if(typeof s=="undefined")s=[];else if(Sf(s,i)>=0)return"[Circular]";function _(Xe,z,H){if(z&&(s=ug.call(s),s.push(z)),H){var R={depth:c.depth};return un(c,"quoteStyle")&&(R.quoteStyle=c.quoteStyle),n(Xe,R,a+1,s)}return n(Xe,c,a+1,s)}if(typeof i=="function"&&!wf(i)){var A=dg(i),I=ri(i,_);return"[Function"+(A?": "+A:" (anonymous)")+"]"+(I.length>0?" { "+Dt.call(I,", ")+" }":"")}if(Ef(i)){var D=Hn?rn.call(String(i),/^(Symbol\(.*\))_[^)]*$/,"$1"):$u.call(i);return typeof i=="object"&&!Hn?vr(D):D}if(Eg(i)){for(var W="<"+lf.call(String(i.nodeName)),M=i.attributes||[],q=0;q<M.length;q++)W+=" "+M[q].name+"="+_f(ag(M[q].value),"double",c);return W+=">",i.childNodes&&i.childNodes.length&&(W+="..."),W+="</"+lf.call(String(i.nodeName))+">",W}if(Fu(i)){if(i.length===0)return"[]";var P=ri(i,_);return w&&!Ag(P)?"["+Mu(P,w)+"]":"[ "+Dt.call(P,", ")+" ]"}if(sg(i)){var L=ri(i,_);return!("cause"in Error.prototype)&&"cause"in i&&!gf.call(i,"cause")?"{ ["+String(i)+"] "+Dt.call(pf.call("[cause]: "+_(i.cause),L),", ")+" }":L.length===0?"["+String(i)+"]":"{ ["+String(i)+"] "+Dt.call(L,", ")+" }"}if(typeof i=="object"&&g){if(mf&&typeof i[mf]=="function"&&Iu)return Iu(i,{depth:E-a});if(g!=="symbol"&&typeof i.inspect=="function")return i.inspect()}if(vg(i)){var N=[];return af&&af.call(i,function(Xe,z){N.push(_(z,i,!0)+" => "+_(Xe,i))}),bf("Map",ti.call(i),N,w)}if(_g(i)){var re=[];return ff&&ff.call(i,function(Xe){re.push(_(Xe,i))}),bf("Set",ni.call(i),re,w)}if(yg(i))return Pu("WeakMap");if(wg(i))return Pu("WeakSet");if(mg(i))return Pu("WeakRef");if(cg(i))return vr(_(Number(i)));if(hg(i))return vr(_(xu.call(i)));if(pg(i))return vr(eg.call(i));if(lg(i))return vr(_(String(i)));if(typeof window!="undefined"&&i===window)return"{ [object Window] }";if(i===yn)return"{ [object globalThis] }";if(!fg(i)&&!wf(i)){var X=ri(i,_),ge=df?df(i)===Object.prototype:i instanceof Object||i.constructor===Object,xe=i instanceof Object?"":"null prototype",ve=!ge&&ke&&Object(i)===i&&ke in i?Cu.call(on(i),8,-1):xe?"Object":"",fe=ge||typeof i.constructor!="function"?"":i.constructor.name?i.constructor.name+" ":"",Le=fe+(ve||xe?"["+Dt.call(pf.call([],ve||[],xe||[]),": ")+"] ":"");return X.length===0?Le+"{}":w?Le+"{"+Mu(X,w)+"}":Le+"{ "+Dt.call(X,", ")+" }"}return String(i)};function _f(n,i,u){var a=(u.quoteStyle||i)==="double"?'"':"'";return a+n+a}function ag(n){return rn.call(String(n),/"/g,""")}function Fu(n){return on(n)==="[object Array]"&&(!ke||!(typeof n=="object"&&ke in n))}function fg(n){return on(n)==="[object Date]"&&(!ke||!(typeof n=="object"&&ke in n))}function wf(n){return on(n)==="[object RegExp]"&&(!ke||!(typeof n=="object"&&ke in n))}function sg(n){return on(n)==="[object Error]"&&(!ke||!(typeof n=="object"&&ke in n))}function lg(n){return on(n)==="[object String]"&&(!ke||!(typeof n=="object"&&ke in n))}function cg(n){return on(n)==="[object Number]"&&(!ke||!(typeof n=="object"&&ke in n))}function pg(n){return on(n)==="[object Boolean]"&&(!ke||!(typeof n=="object"&&ke in n))}function Ef(n){if(Hn)return n&&typeof n=="object"&&n instanceof Symbol;if(typeof n=="symbol")return!0;if(!n||typeof n!="object"||!$u)return!1;try{return $u.call(n),!0}catch(i){}return!1}function hg(n){if(!n||typeof n!="object"||!xu)return!1;try{return xu.call(n),!0}catch(i){}return!1}var gg=Object.prototype.hasOwnProperty||function(n){return n in this};function un(n,i){return gg.call(n,i)}function on(n){return tg.call(n)}function dg(n){if(n.name)return n.name;var i=rg.call(ng.call(n),/^function\s*([\w$]+)/);return i?i[1]:null}function Sf(n,i){if(n.indexOf)return n.indexOf(i);for(var u=0,a=n.length;u<a;u++)if(n[u]===i)return u;return-1}function vg(n){if(!ti||!n||typeof n!="object")return!1;try{ti.call(n);try{ni.call(n)}catch(i){return!0}return n instanceof Map}catch(i){}return!1}function yg(n){if(!gr||!n||typeof n!="object")return!1;try{gr.call(n,gr);try{dr.call(n,dr)}catch(i){return!0}return n instanceof WeakMap}catch(i){}return!1}function mg(n){if(!sf||!n||typeof n!="object")return!1;try{return sf.call(n),!0}catch(i){}return!1}function _g(n){if(!ni||!n||typeof n!="object")return!1;try{ni.call(n);try{ti.call(n)}catch(i){return!0}return n instanceof Set}catch(i){}return!1}function wg(n){if(!dr||!n||typeof n!="object")return!1;try{dr.call(n,dr);try{gr.call(n,gr)}catch(i){return!0}return n instanceof WeakSet}catch(i){}return!1}function Eg(n){return!n||typeof n!="object"?!1:typeof HTMLElement!="undefined"&&n instanceof HTMLElement?!0:typeof n.nodeName=="string"&&typeof n.getAttribute=="function"}function Af(n,i){if(n.length>i.maxStringLength){var u=n.length-i.maxStringLength,a="... "+u+" more character"+(u>1?"s":"");return Af(Cu.call(n,0,i.maxStringLength),i)+a}var s=rn.call(rn.call(n,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,Sg);return _f(s,"single",i)}function Sg(n){var i=n.charCodeAt(0),u={8:"b",9:"t",10:"n",12:"f",13:"r"}[i];return u?"\\"+u:"\\x"+(i<16?"0":"")+ig.call(i.toString(16))}function vr(n){return"Object("+n+")"}function Pu(n){return n+" { ? }"}function bf(n,i,u,a){var s=a?Mu(u,a):Dt.call(u,", ");return n+" ("+i+") {"+s+"}"}function Ag(n){for(var i=0;i<n.length;i++)if(Sf(n[i],`
|
|
3
3
|
`)>=0)return!1;return!0}function bg(n,i){var u;if(n.indent===" ")u=" ";else if(typeof n.indent=="number"&&n.indent>0)u=Dt.call(Array(n.indent+1)," ");else return null;return{base:u,prev:Dt.call(Array(i+1),u)}}function Mu(n,i){if(n.length===0)return"";var u=`
|
|
4
4
|
`+i.prev+i.base;return u+Dt.call(n,","+u)+`
|
|
5
|
-
`+i.prev}function ri(n,i){var u=Fu(n),a=[];if(u){a.length=n.length;for(var s=0;s<n.length;s++)a[s]=un(n,s)?i(n[s],n):""}var c=typeof Tu=="function"?Tu(n):[],g;if(Hn){g={};for(var h=0;h<c.length;h++)g["$"+c[h]]=c[h]}for(var d in n)!un(n,d)||u&&String(Number(d))===d&&d<n.length||Hn&&g["$"+d]instanceof Symbol||(cf.call(/[^\w$]/,d)?a.push(i(d,n)+": "+i(n[d],n)):a.push(d+": "+i(n[d],n)));if(typeof Tu=="function")for(var y=0;y<c.length;y++)gf.call(n,c[y])&&a.push("["+i(c[y])+"]: "+i(n[c[y]],n));return a}var Du=En,Yn=Kh,Og=og,Cg=Du("%TypeError%"),ii=Du("%WeakMap%",!0),ui=Du("%Map%",!0),xg=Yn("WeakMap.prototype.get",!0),Tg=Yn("WeakMap.prototype.set",!0),$g=Yn("WeakMap.prototype.has",!0),Ig=Yn("Map.prototype.get",!0),Fg=Yn("Map.prototype.set",!0),Pg=Yn("Map.prototype.has",!0),Ru=function(n,i){for(var u=n,a;(a=u.next)!==null;u=a)if(a.key===i)return u.next=a.next,a.next=n.next,n.next=a,a},Mg=function(n,i){var u=Ru(n,i);return u&&u.value},Dg=function(n,i,u){var a=Ru(n,i);a?a.value=u:n.next={key:i,next:n.next,value:u}},Rg=function(n,i){return!!Ru(n,i)},Lg=function(){var i,u,a,s={assert:function(c){if(!s.has(c))throw new Cg("Side channel does not contain "+Og(c))},get:function(c){if(ii&&c&&(typeof c=="object"||typeof c=="function")){if(i)return xg(i,c)}else if(ui){if(u)return Ig(u,c)}else if(a)return Mg(a,c)},has:function(c){if(ii&&c&&(typeof c=="object"||typeof c=="function")){if(i)return $g(i,c)}else if(ui){if(u)return Pg(u,c)}else if(a)return Rg(a,c);return!1},set:function(c,g){ii&&c&&(typeof c=="object"||typeof c=="function")?(i||(i=new ii),Tg(i,c,g)):ui?(u||(u=new ui),Fg(u,c,g)):(a||(a={key:{},next:null}),Dg(a,c,g))}};return s},Ng=String.prototype.replace,Bg=/%20/g,Lu={RFC1738:"RFC1738",RFC3986:"RFC3986"},Nu={default:Lu.RFC3986,formatters:{RFC1738:function(n){return Ng.call(n,Bg,"+")},RFC3986:function(n){return String(n)}},RFC1738:Lu.RFC1738,RFC3986:Lu.RFC3986},Ug=Nu,Bu=Object.prototype.hasOwnProperty,Sn=Array.isArray,Rt=function(){for(var n=[],i=0;i<256;++i)n.push("%"+((i<16?"0":"")+i.toString(16)).toUpperCase());return n}(),Wg=function(i){for(;i.length>1;){var u=i.pop(),a=u.obj[u.prop];if(Sn(a)){for(var s=[],c=0;c<a.length;++c)typeof a[c]!="undefined"&&s.push(a[c]);u.obj[u.prop]=s}}},Of=function(i,u){for(var a=u&&u.plainObjects?Object.create(null):{},s=0;s<i.length;++s)typeof i[s]!="undefined"&&(a[s]=i[s]);return a},Hg=function n(i,u,a){if(!u)return i;if(typeof u!="object"){if(Sn(i))i.push(u);else if(i&&typeof i=="object")(a&&(a.plainObjects||a.allowPrototypes)||!Bu.call(Object.prototype,u))&&(i[u]=!0);else return[i,u];return i}if(!i||typeof i!="object")return[i].concat(u);var s=i;return Sn(i)&&!Sn(u)&&(s=Of(i,a)),Sn(i)&&Sn(u)?(u.forEach(function(c,g){if(Bu.call(i,g)){var h=i[g];h&&typeof h=="object"&&c&&typeof c=="object"?i[g]=n(h,c,a):i.push(c)}else i[g]=c}),i):Object.keys(u).reduce(function(c,g){var h=u[g];return Bu.call(c,g)?c[g]=n(c[g],h,a):c[g]=h,c},s)},Yg=function(i,u){return Object.keys(u).reduce(function(a,s){return a[s]=u[s],a},i)},kg=function(n,i,u){var a=n.replace(/\+/g," ");if(u==="iso-8859-1")return a.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(a)}catch(s){return a}},Gg=function(i,u,a,s,c){if(i.length===0)return i;var g=i;if(typeof i=="symbol"?g=Symbol.prototype.toString.call(i):typeof i!="string"&&(g=String(i)),a==="iso-8859-1")return escape(g).replace(/%u[0-9a-f]{4}/gi,function(E){return"%26%23"+parseInt(E.slice(2),16)+"%3B"});for(var h="",d=0;d<g.length;++d){var y=g.charCodeAt(d);if(y===45||y===46||y===95||y===126||y>=48&&y<=57||y>=65&&y<=90||y>=97&&y<=122||c===Ug.RFC1738&&(y===40||y===41)){h+=g.charAt(d);continue}if(y<128){h=h+Rt[y];continue}if(y<2048){h=h+(Rt[192|y>>6]+Rt[128|y&63]);continue}if(y<55296||y>=57344){h=h+(Rt[224|y>>12]+Rt[128|y>>6&63]+Rt[128|y&63]);continue}d+=1,y=65536+((y&1023)<<10|g.charCodeAt(d)&1023),h+=Rt[240|y>>18]+Rt[128|y>>12&63]+Rt[128|y>>6&63]+Rt[128|y&63]}return h},qg=function(i){for(var u=[{obj:{o:i},prop:"o"}],a=[],s=0;s<u.length;++s)for(var c=u[s],g=c.obj[c.prop],h=Object.keys(g),d=0;d<h.length;++d){var y=h[d],E=g[y];typeof E=="object"&&E!==null&&a.indexOf(E)===-1&&(u.push({obj:g,prop:y}),a.push(E))}return Wg(u),i},zg=function(i){return Object.prototype.toString.call(i)==="[object RegExp]"},Kg=function(i){return!i||typeof i!="object"?!1:!!(i.constructor&&i.constructor.isBuffer&&i.constructor.isBuffer(i))},Jg=function(i,u){return[].concat(i,u)},Vg=function(i,u){if(Sn(i)){for(var a=[],s=0;s<i.length;s+=1)a.push(u(i[s]));return a}return u(i)},Cf={arrayToObject:Of,assign:Yg,combine:Jg,compact:qg,decode:kg,encode:Gg,isBuffer:Kg,isRegExp:zg,maybeMap:Vg,merge:Hg},xf=Lg,oi=Cf,yr=Nu,Qg=Object.prototype.hasOwnProperty,Tf={brackets:function(i){return i+"[]"},comma:"comma",indices:function(i,u){return i+"["+u+"]"},repeat:function(i){return i}},Yt=Array.isArray,Zg=Array.prototype.push,$f=function(n,i){Zg.apply(n,Yt(i)?i:[i])},Xg=Date.prototype.toISOString,If=yr.default,Ge={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:oi.encode,encodeValuesOnly:!1,format:If,formatter:yr.formatters[If],indices:!1,serializeDate:function(i){return Xg.call(i)},skipNulls:!1,strictNullHandling:!1},jg=function(i){return typeof i=="string"||typeof i=="number"||typeof i=="boolean"||typeof i=="symbol"||typeof i=="bigint"},Uu={},ed=function n(i,u,a,s,c,g,h,d,y,E,w,_,A,I,D,W){for(var M=i,q=W,P=0,L=!1;(q=q.get(Uu))!==void 0&&!L;){var N=q.get(i);if(P+=1,typeof N!="undefined"){if(N===P)throw new RangeError("Cyclic object value");L=!0}typeof q.get(Uu)=="undefined"&&(P=0)}if(typeof d=="function"?M=d(u,M):M instanceof Date?M=w(M):a==="comma"&&Yt(M)&&(M=oi.maybeMap(M,function(R){return R instanceof Date?w(R):R})),M===null){if(c)return h&&!I?h(u,Ge.encoder,D,"key",_):u;M=""}if(jg(M)||oi.isBuffer(M)){if(h){var re=I?u:h(u,Ge.encoder,D,"key",_);return[A(re)+"="+A(h(M,Ge.encoder,D,"value",_))]}return[A(u)+"="+A(String(M))]}var X=[];if(typeof M=="undefined")return X;var ge;if(a==="comma"&&Yt(M))I&&h&&(M=oi.maybeMap(M,h)),ge=[{value:M.length>0?M.join(",")||null:void 0}];else if(Yt(d))ge=d;else{var xe=Object.keys(M);ge=y?xe.sort(y):xe}for(var ve=s&&Yt(M)&&M.length===1?u+"[]":u,fe=0;fe<ge.length;++fe){var Le=ge[fe],Xe=typeof Le=="object"&&typeof Le.value!="undefined"?Le.value:M[Le];if(!(g&&Xe===null)){var z=Yt(M)?typeof a=="function"?a(ve,Le):ve:ve+(E?"."+Le:"["+Le+"]");W.set(i,P);var H=xf();H.set(Uu,W),$f(X,n(Xe,z,a,s,c,g,a==="comma"&&I&&Yt(M)?null:h,d,y,E,w,_,A,I,D,H))}}return X},td=function(i){if(!i)return Ge;if(i.encoder!==null&&typeof i.encoder!="undefined"&&typeof i.encoder!="function")throw new TypeError("Encoder has to be a function.");var u=i.charset||Ge.charset;if(typeof i.charset!="undefined"&&i.charset!=="utf-8"&&i.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var a=yr.default;if(typeof i.format!="undefined"){if(!Qg.call(yr.formatters,i.format))throw new TypeError("Unknown format option provided.");a=i.format}var s=yr.formatters[a],c=Ge.filter;return(typeof i.filter=="function"||Yt(i.filter))&&(c=i.filter),{addQueryPrefix:typeof i.addQueryPrefix=="boolean"?i.addQueryPrefix:Ge.addQueryPrefix,allowDots:typeof i.allowDots=="undefined"?Ge.allowDots:!!i.allowDots,charset:u,charsetSentinel:typeof i.charsetSentinel=="boolean"?i.charsetSentinel:Ge.charsetSentinel,delimiter:typeof i.delimiter=="undefined"?Ge.delimiter:i.delimiter,encode:typeof i.encode=="boolean"?i.encode:Ge.encode,encoder:typeof i.encoder=="function"?i.encoder:Ge.encoder,encodeValuesOnly:typeof i.encodeValuesOnly=="boolean"?i.encodeValuesOnly:Ge.encodeValuesOnly,filter:c,format:a,formatter:s,serializeDate:typeof i.serializeDate=="function"?i.serializeDate:Ge.serializeDate,skipNulls:typeof i.skipNulls=="boolean"?i.skipNulls:Ge.skipNulls,sort:typeof i.sort=="function"?i.sort:null,strictNullHandling:typeof i.strictNullHandling=="boolean"?i.strictNullHandling:Ge.strictNullHandling}},nd=function(n,i){var u=n,a=td(i),s,c;typeof a.filter=="function"?(c=a.filter,u=c("",u)):Yt(a.filter)&&(c=a.filter,s=c);var g=[];if(typeof u!="object"||u===null)return"";var h;i&&i.arrayFormat in Tf?h=i.arrayFormat:i&&"indices"in i?h=i.indices?"indices":"repeat":h="indices";var d=Tf[h];if(i&&"commaRoundTrip"in i&&typeof i.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var y=d==="comma"&&i&&i.commaRoundTrip;s||(s=Object.keys(u)),a.sort&&s.sort(a.sort);for(var E=xf(),w=0;w<s.length;++w){var _=s[w];a.skipNulls&&u[_]===null||$f(g,ed(u[_],_,d,y,a.strictNullHandling,a.skipNulls,a.encode?a.encoder:null,a.filter,a.sort,a.allowDots,a.serializeDate,a.format,a.formatter,a.encodeValuesOnly,a.charset,E))}var A=g.join(a.delimiter),I=a.addQueryPrefix===!0?"?":"";return a.charsetSentinel&&(a.charset==="iso-8859-1"?I+="utf8=%26%2310003%3B&":I+="utf8=%E2%9C%93&"),A.length>0?I+A:""},kn=Cf,Wu=Object.prototype.hasOwnProperty,rd=Array.isArray,Re={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:kn.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},id=function(n){return n.replace(/&#(\d+);/g,function(i,u){return String.fromCharCode(parseInt(u,10))})},Ff=function(n,i){return n&&typeof n=="string"&&i.comma&&n.indexOf(",")>-1?n.split(","):n},ud="utf8=%26%2310003%3B",od="utf8=%E2%9C%93",ad=function(i,u){var a={__proto__:null},s=u.ignoreQueryPrefix?i.replace(/^\?/,""):i,c=u.parameterLimit===1/0?void 0:u.parameterLimit,g=s.split(u.delimiter,c),h=-1,d,y=u.charset;if(u.charsetSentinel)for(d=0;d<g.length;++d)g[d].indexOf("utf8=")===0&&(g[d]===od?y="utf-8":g[d]===ud&&(y="iso-8859-1"),h=d,d=g.length);for(d=0;d<g.length;++d)if(d!==h){var E=g[d],w=E.indexOf("]="),_=w===-1?E.indexOf("="):w+1,A,I;_===-1?(A=u.decoder(E,Re.decoder,y,"key"),I=u.strictNullHandling?null:""):(A=u.decoder(E.slice(0,_),Re.decoder,y,"key"),I=kn.maybeMap(Ff(E.slice(_+1),u),function(D){return u.decoder(D,Re.decoder,y,"value")})),I&&u.interpretNumericEntities&&y==="iso-8859-1"&&(I=id(I)),E.indexOf("[]=")>-1&&(I=rd(I)?[I]:I),Wu.call(a,A)?a[A]=kn.combine(a[A],I):a[A]=I}return a},fd=function(n,i,u,a){for(var s=a?i:Ff(i,u),c=n.length-1;c>=0;--c){var g,h=n[c];if(h==="[]"&&u.parseArrays)g=[].concat(s);else{g=u.plainObjects?Object.create(null):{};var d=h.charAt(0)==="["&&h.charAt(h.length-1)==="]"?h.slice(1,-1):h,y=parseInt(d,10);!u.parseArrays&&d===""?g={0:s}:!isNaN(y)&&h!==d&&String(y)===d&&y>=0&&u.parseArrays&&y<=u.arrayLimit?(g=[],g[y]=s):d!=="__proto__"&&(g[d]=s)}s=g}return s},sd=function(i,u,a,s){if(!!i){var c=a.allowDots?i.replace(/\.([^.[]+)/g,"[$1]"):i,g=/(\[[^[\]]*])/,h=/(\[[^[\]]*])/g,d=a.depth>0&&g.exec(c),y=d?c.slice(0,d.index):c,E=[];if(y){if(!a.plainObjects&&Wu.call(Object.prototype,y)&&!a.allowPrototypes)return;E.push(y)}for(var w=0;a.depth>0&&(d=h.exec(c))!==null&&w<a.depth;){if(w+=1,!a.plainObjects&&Wu.call(Object.prototype,d[1].slice(1,-1))&&!a.allowPrototypes)return;E.push(d[1])}return d&&E.push("["+c.slice(d.index)+"]"),fd(E,u,a,s)}},ld=function(i){if(!i)return Re;if(i.decoder!==null&&i.decoder!==void 0&&typeof i.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof i.charset!="undefined"&&i.charset!=="utf-8"&&i.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var u=typeof i.charset=="undefined"?Re.charset:i.charset;return{allowDots:typeof i.allowDots=="undefined"?Re.allowDots:!!i.allowDots,allowPrototypes:typeof i.allowPrototypes=="boolean"?i.allowPrototypes:Re.allowPrototypes,allowSparse:typeof i.allowSparse=="boolean"?i.allowSparse:Re.allowSparse,arrayLimit:typeof i.arrayLimit=="number"?i.arrayLimit:Re.arrayLimit,charset:u,charsetSentinel:typeof i.charsetSentinel=="boolean"?i.charsetSentinel:Re.charsetSentinel,comma:typeof i.comma=="boolean"?i.comma:Re.comma,decoder:typeof i.decoder=="function"?i.decoder:Re.decoder,delimiter:typeof i.delimiter=="string"||kn.isRegExp(i.delimiter)?i.delimiter:Re.delimiter,depth:typeof i.depth=="number"||i.depth===!1?+i.depth:Re.depth,ignoreQueryPrefix:i.ignoreQueryPrefix===!0,interpretNumericEntities:typeof i.interpretNumericEntities=="boolean"?i.interpretNumericEntities:Re.interpretNumericEntities,parameterLimit:typeof i.parameterLimit=="number"?i.parameterLimit:Re.parameterLimit,parseArrays:i.parseArrays!==!1,plainObjects:typeof i.plainObjects=="boolean"?i.plainObjects:Re.plainObjects,strictNullHandling:typeof i.strictNullHandling=="boolean"?i.strictNullHandling:Re.strictNullHandling}},cd=function(n,i){var u=ld(i);if(n===""||n===null||typeof n=="undefined")return u.plainObjects?Object.create(null):{};for(var a=typeof n=="string"?ad(n,u):n,s=u.plainObjects?Object.create(null):{},c=Object.keys(a),g=0;g<c.length;++g){var h=c[g],d=sd(h,a[h],u,typeof n=="string");s=kn.merge(s,d,u)}return u.allowSparse===!0?s:kn.compact(s)},pd=nd,hd=cd,gd=Nu,dd={formats:gd,parse:hd,stringify:pd};function Pf(){const n=location.search,i=new Object;if(n.indexOf("?")!=-1){let a=n.substr(1).split("&");for(let s=0;s<a.length;s++)i[a[s].split("=")[0]]=unescape(a[s].split("=")[1])}return i}const Mf="Content-Type";function Hu(n){return(n==null?void 0:n[Mf])||(n==null?void 0:n["content-type"])}function Df(n,i){n[Mf]=i}const ai={form:"application/x-www-form-urlencoded","multi-form":"multipart/form-data",body:"application/json",os:"application/octet-stream"},Rf="v8-token",vd="lambo-token";function yd(n){sr(Rf,n),Yu.set("TOKEN_KEY",n,1)}function Lf(){let n=me(vd);return n||(n=Yu.get("lambo-sso-key")),n||(n=Yu.get("TOKEN_KEY")),n||(n=fr(Rf)),n||!1}const Yu={set:function(n,i,u){if(n.indexOf("=")!==-1)throw new Error("Cookie\u4E0D\u652F\u6301key\u4E2D\u4F7F\u7528\u7B49\u53F7\u3010=\u3011, key:"+n);let a=new Date;a.setTime(a.getTime()+24*60*60*1e3*u),window.document.cookie=n+"="+i+";path=/;expires="+a.toGMTString()},get:function(n){if(document.cookie.length>0){var i=document.cookie.split("; ");for(let a=0;a<i.length;a++){let s=i[a].split("=");if(s[0]===n){var u=s[1];for(let c=2;c<s.length;c++)u+="="+s[c];return u}}}}};var Nf={title:"",icomId:"",showMenus:!1,routerBase:"ind",loginRouteName:"login",rootRouteName:"root",homeRouteName:"home",authServerContext:"/user-manage-server",ossServerContext:"/user-manage-server",ismAmServerContext:"/ind-ism-am-server",ismAcServerContext:"/ind-ism-ac-server",ismSqServerContext:"/ind-ism-sq-server",ilmServerContext:"/ind-ilm-server",ucExtServerContext:"/ind-uc-ext-server",kkfilepreviewContext:"/kkfilepreview",errorMessage:"\u7CFB\u7EDF\u5F00\u5C0F\u5DEE\u4E86\uFF0C\u8BF7\u7A0D\u540E\u5C1D\u8BD5",leftLockDays:7,labelStyle:{labelWidthButton:50,labelWidthSmall:100+40,labelWidthMiddle:120+40,labelWidthMiddleLarge:140+40,labelWidthLarge:160+40,labelWidthSuperLarge:180+40},linkColor:"#488AFF"};function md(){return{showMenus:!0}}function _d(){return{showMenus:typeof window!="undefined"&&window.top===window.self}}function Bf(n){return n?Object.assign({},Nf,md()):Object.assign({},Nf,_d())}const kt=Bf(),wd=1,Ed=10106;let mr=null;function Sd(n){mr&&clearTimeout(mr);let i=!mr;mr=setTimeout(()=>{mr=null},1e3*20),i&&n()}function Ad(n){let i=Lf();i&&(n.headers.token=i);const u=Pf();(u.hasOwnProperty("sso_token")||sessionStorage.getItem("sso_token"))&&(n.params=Object.assign({sso_token:u.sso_token||sessionStorage.getItem("sso_token"),sso_id:u.sso_id},n.params));const a=Hu(n.headers);return n.method==="post"?a===ai.form&&(n.data=dd.stringify(n.data)):n.method,n}function Uf(n){let i=n.data;if(Hu(n.headers)===ai.os)return i;switch(typeof n.data=="string"&&(i=JSON.parse(n.data)),i.code){case wd:return i;case Ed:{Sd(function(){window.sessionNotValidHandler&&window.sessionNotValidHandler()});break}default:{let s=i.message||i.msg||kt.errorMessage;window.apiErrorHandler&&window.apiErrorHandler(s)}}return Promise.reject(i)}function Wf(n){return(n==null?void 0:n.code)==="ECONNABORTED"&&window.apiErrorHandler&&window.apiErrorHandler("\u8BF7\u6C42\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u518D\u8BD5"),n.response.status!==200&&window.apiErrorHandler&&window.apiErrorHandler("\u8BF7\u6C42\u51FA\u9519\u4E86"),Promise.reject(n)}const he=fh.create({timeout:60*1e3});he.interceptors.request.use(Ad,Wf),he.interceptors.response.use(Uf,Wf),he.formPost=function(n,i,u){const a=(u==null?void 0:u.headers)||{};return Df(a,ai.form),he.post(n,i,Mt(pt({},u),{headers:a}))};var Hf={exports:{}},Yf={exports:{}};(function(){var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i={rotl:function(u,a){return u<<a|u>>>32-a},rotr:function(u,a){return u<<32-a|u>>>a},endian:function(u){if(u.constructor==Number)return i.rotl(u,8)&16711935|i.rotl(u,24)&4278255360;for(var a=0;a<u.length;a++)u[a]=i.endian(u[a]);return u},randomBytes:function(u){for(var a=[];u>0;u--)a.push(Math.floor(Math.random()*256));return a},bytesToWords:function(u){for(var a=[],s=0,c=0;s<u.length;s++,c+=8)a[c>>>5]|=u[s]<<24-c%32;return a},wordsToBytes:function(u){for(var a=[],s=0;s<u.length*32;s+=8)a.push(u[s>>>5]>>>24-s%32&255);return a},bytesToHex:function(u){for(var a=[],s=0;s<u.length;s++)a.push((u[s]>>>4).toString(16)),a.push((u[s]&15).toString(16));return a.join("")},hexToBytes:function(u){for(var a=[],s=0;s<u.length;s+=2)a.push(parseInt(u.substr(s,2),16));return a},bytesToBase64:function(u){for(var a=[],s=0;s<u.length;s+=3)for(var c=u[s]<<16|u[s+1]<<8|u[s+2],g=0;g<4;g++)s*8+g*6<=u.length*8?a.push(n.charAt(c>>>6*(3-g)&63)):a.push("=");return a.join("")},base64ToBytes:function(u){u=u.replace(/[^A-Z0-9+\/]/ig,"");for(var a=[],s=0,c=0;s<u.length;c=++s%4)c!=0&&a.push((n.indexOf(u.charAt(s-1))&Math.pow(2,-2*c+8)-1)<<c*2|n.indexOf(u.charAt(s))>>>6-c*2);return a}};Yf.exports=i})();var ku={utf8:{stringToBytes:function(n){return ku.bin.stringToBytes(unescape(encodeURIComponent(n)))},bytesToString:function(n){return decodeURIComponent(escape(ku.bin.bytesToString(n)))}},bin:{stringToBytes:function(n){for(var i=[],u=0;u<n.length;u++)i.push(n.charCodeAt(u)&255);return i},bytesToString:function(n){for(var i=[],u=0;u<n.length;u++)i.push(String.fromCharCode(n[u]));return i.join("")}}},kf=ku;/*!
|
|
5
|
+
`+i.prev}function ri(n,i){var u=Fu(n),a=[];if(u){a.length=n.length;for(var s=0;s<n.length;s++)a[s]=un(n,s)?i(n[s],n):""}var c=typeof Tu=="function"?Tu(n):[],g;if(Hn){g={};for(var h=0;h<c.length;h++)g["$"+c[h]]=c[h]}for(var d in n)!un(n,d)||u&&String(Number(d))===d&&d<n.length||Hn&&g["$"+d]instanceof Symbol||(cf.call(/[^\w$]/,d)?a.push(i(d,n)+": "+i(n[d],n)):a.push(d+": "+i(n[d],n)));if(typeof Tu=="function")for(var y=0;y<c.length;y++)gf.call(n,c[y])&&a.push("["+i(c[y])+"]: "+i(n[c[y]],n));return a}var Du=En,Yn=Kh,Og=og,Cg=Du("%TypeError%"),ii=Du("%WeakMap%",!0),ui=Du("%Map%",!0),xg=Yn("WeakMap.prototype.get",!0),Tg=Yn("WeakMap.prototype.set",!0),$g=Yn("WeakMap.prototype.has",!0),Ig=Yn("Map.prototype.get",!0),Fg=Yn("Map.prototype.set",!0),Pg=Yn("Map.prototype.has",!0),Ru=function(n,i){for(var u=n,a;(a=u.next)!==null;u=a)if(a.key===i)return u.next=a.next,a.next=n.next,n.next=a,a},Mg=function(n,i){var u=Ru(n,i);return u&&u.value},Dg=function(n,i,u){var a=Ru(n,i);a?a.value=u:n.next={key:i,next:n.next,value:u}},Rg=function(n,i){return!!Ru(n,i)},Lg=function(){var i,u,a,s={assert:function(c){if(!s.has(c))throw new Cg("Side channel does not contain "+Og(c))},get:function(c){if(ii&&c&&(typeof c=="object"||typeof c=="function")){if(i)return xg(i,c)}else if(ui){if(u)return Ig(u,c)}else if(a)return Mg(a,c)},has:function(c){if(ii&&c&&(typeof c=="object"||typeof c=="function")){if(i)return $g(i,c)}else if(ui){if(u)return Pg(u,c)}else if(a)return Rg(a,c);return!1},set:function(c,g){ii&&c&&(typeof c=="object"||typeof c=="function")?(i||(i=new ii),Tg(i,c,g)):ui?(u||(u=new ui),Fg(u,c,g)):(a||(a={key:{},next:null}),Dg(a,c,g))}};return s},Ng=String.prototype.replace,Bg=/%20/g,Lu={RFC1738:"RFC1738",RFC3986:"RFC3986"},Nu={default:Lu.RFC3986,formatters:{RFC1738:function(n){return Ng.call(n,Bg,"+")},RFC3986:function(n){return String(n)}},RFC1738:Lu.RFC1738,RFC3986:Lu.RFC3986},Ug=Nu,Bu=Object.prototype.hasOwnProperty,Sn=Array.isArray,Rt=function(){for(var n=[],i=0;i<256;++i)n.push("%"+((i<16?"0":"")+i.toString(16)).toUpperCase());return n}(),Wg=function(i){for(;i.length>1;){var u=i.pop(),a=u.obj[u.prop];if(Sn(a)){for(var s=[],c=0;c<a.length;++c)typeof a[c]!="undefined"&&s.push(a[c]);u.obj[u.prop]=s}}},Of=function(i,u){for(var a=u&&u.plainObjects?Object.create(null):{},s=0;s<i.length;++s)typeof i[s]!="undefined"&&(a[s]=i[s]);return a},Hg=function n(i,u,a){if(!u)return i;if(typeof u!="object"){if(Sn(i))i.push(u);else if(i&&typeof i=="object")(a&&(a.plainObjects||a.allowPrototypes)||!Bu.call(Object.prototype,u))&&(i[u]=!0);else return[i,u];return i}if(!i||typeof i!="object")return[i].concat(u);var s=i;return Sn(i)&&!Sn(u)&&(s=Of(i,a)),Sn(i)&&Sn(u)?(u.forEach(function(c,g){if(Bu.call(i,g)){var h=i[g];h&&typeof h=="object"&&c&&typeof c=="object"?i[g]=n(h,c,a):i.push(c)}else i[g]=c}),i):Object.keys(u).reduce(function(c,g){var h=u[g];return Bu.call(c,g)?c[g]=n(c[g],h,a):c[g]=h,c},s)},Yg=function(i,u){return Object.keys(u).reduce(function(a,s){return a[s]=u[s],a},i)},kg=function(n,i,u){var a=n.replace(/\+/g," ");if(u==="iso-8859-1")return a.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(a)}catch(s){return a}},Gg=function(i,u,a,s,c){if(i.length===0)return i;var g=i;if(typeof i=="symbol"?g=Symbol.prototype.toString.call(i):typeof i!="string"&&(g=String(i)),a==="iso-8859-1")return escape(g).replace(/%u[0-9a-f]{4}/gi,function(E){return"%26%23"+parseInt(E.slice(2),16)+"%3B"});for(var h="",d=0;d<g.length;++d){var y=g.charCodeAt(d);if(y===45||y===46||y===95||y===126||y>=48&&y<=57||y>=65&&y<=90||y>=97&&y<=122||c===Ug.RFC1738&&(y===40||y===41)){h+=g.charAt(d);continue}if(y<128){h=h+Rt[y];continue}if(y<2048){h=h+(Rt[192|y>>6]+Rt[128|y&63]);continue}if(y<55296||y>=57344){h=h+(Rt[224|y>>12]+Rt[128|y>>6&63]+Rt[128|y&63]);continue}d+=1,y=65536+((y&1023)<<10|g.charCodeAt(d)&1023),h+=Rt[240|y>>18]+Rt[128|y>>12&63]+Rt[128|y>>6&63]+Rt[128|y&63]}return h},qg=function(i){for(var u=[{obj:{o:i},prop:"o"}],a=[],s=0;s<u.length;++s)for(var c=u[s],g=c.obj[c.prop],h=Object.keys(g),d=0;d<h.length;++d){var y=h[d],E=g[y];typeof E=="object"&&E!==null&&a.indexOf(E)===-1&&(u.push({obj:g,prop:y}),a.push(E))}return Wg(u),i},zg=function(i){return Object.prototype.toString.call(i)==="[object RegExp]"},Kg=function(i){return!i||typeof i!="object"?!1:!!(i.constructor&&i.constructor.isBuffer&&i.constructor.isBuffer(i))},Jg=function(i,u){return[].concat(i,u)},Vg=function(i,u){if(Sn(i)){for(var a=[],s=0;s<i.length;s+=1)a.push(u(i[s]));return a}return u(i)},Cf={arrayToObject:Of,assign:Yg,combine:Jg,compact:qg,decode:kg,encode:Gg,isBuffer:Kg,isRegExp:zg,maybeMap:Vg,merge:Hg},xf=Lg,oi=Cf,yr=Nu,Qg=Object.prototype.hasOwnProperty,Tf={brackets:function(i){return i+"[]"},comma:"comma",indices:function(i,u){return i+"["+u+"]"},repeat:function(i){return i}},Yt=Array.isArray,Zg=Array.prototype.push,$f=function(n,i){Zg.apply(n,Yt(i)?i:[i])},Xg=Date.prototype.toISOString,If=yr.default,Ge={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:oi.encode,encodeValuesOnly:!1,format:If,formatter:yr.formatters[If],indices:!1,serializeDate:function(i){return Xg.call(i)},skipNulls:!1,strictNullHandling:!1},jg=function(i){return typeof i=="string"||typeof i=="number"||typeof i=="boolean"||typeof i=="symbol"||typeof i=="bigint"},Uu={},ed=function n(i,u,a,s,c,g,h,d,y,E,w,_,A,I,D,W){for(var M=i,q=W,P=0,L=!1;(q=q.get(Uu))!==void 0&&!L;){var N=q.get(i);if(P+=1,typeof N!="undefined"){if(N===P)throw new RangeError("Cyclic object value");L=!0}typeof q.get(Uu)=="undefined"&&(P=0)}if(typeof d=="function"?M=d(u,M):M instanceof Date?M=w(M):a==="comma"&&Yt(M)&&(M=oi.maybeMap(M,function(R){return R instanceof Date?w(R):R})),M===null){if(c)return h&&!I?h(u,Ge.encoder,D,"key",_):u;M=""}if(jg(M)||oi.isBuffer(M)){if(h){var re=I?u:h(u,Ge.encoder,D,"key",_);return[A(re)+"="+A(h(M,Ge.encoder,D,"value",_))]}return[A(u)+"="+A(String(M))]}var X=[];if(typeof M=="undefined")return X;var ge;if(a==="comma"&&Yt(M))I&&h&&(M=oi.maybeMap(M,h)),ge=[{value:M.length>0?M.join(",")||null:void 0}];else if(Yt(d))ge=d;else{var xe=Object.keys(M);ge=y?xe.sort(y):xe}for(var ve=s&&Yt(M)&&M.length===1?u+"[]":u,fe=0;fe<ge.length;++fe){var Le=ge[fe],Xe=typeof Le=="object"&&typeof Le.value!="undefined"?Le.value:M[Le];if(!(g&&Xe===null)){var z=Yt(M)?typeof a=="function"?a(ve,Le):ve:ve+(E?"."+Le:"["+Le+"]");W.set(i,P);var H=xf();H.set(Uu,W),$f(X,n(Xe,z,a,s,c,g,a==="comma"&&I&&Yt(M)?null:h,d,y,E,w,_,A,I,D,H))}}return X},td=function(i){if(!i)return Ge;if(i.encoder!==null&&typeof i.encoder!="undefined"&&typeof i.encoder!="function")throw new TypeError("Encoder has to be a function.");var u=i.charset||Ge.charset;if(typeof i.charset!="undefined"&&i.charset!=="utf-8"&&i.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var a=yr.default;if(typeof i.format!="undefined"){if(!Qg.call(yr.formatters,i.format))throw new TypeError("Unknown format option provided.");a=i.format}var s=yr.formatters[a],c=Ge.filter;return(typeof i.filter=="function"||Yt(i.filter))&&(c=i.filter),{addQueryPrefix:typeof i.addQueryPrefix=="boolean"?i.addQueryPrefix:Ge.addQueryPrefix,allowDots:typeof i.allowDots=="undefined"?Ge.allowDots:!!i.allowDots,charset:u,charsetSentinel:typeof i.charsetSentinel=="boolean"?i.charsetSentinel:Ge.charsetSentinel,delimiter:typeof i.delimiter=="undefined"?Ge.delimiter:i.delimiter,encode:typeof i.encode=="boolean"?i.encode:Ge.encode,encoder:typeof i.encoder=="function"?i.encoder:Ge.encoder,encodeValuesOnly:typeof i.encodeValuesOnly=="boolean"?i.encodeValuesOnly:Ge.encodeValuesOnly,filter:c,format:a,formatter:s,serializeDate:typeof i.serializeDate=="function"?i.serializeDate:Ge.serializeDate,skipNulls:typeof i.skipNulls=="boolean"?i.skipNulls:Ge.skipNulls,sort:typeof i.sort=="function"?i.sort:null,strictNullHandling:typeof i.strictNullHandling=="boolean"?i.strictNullHandling:Ge.strictNullHandling}},nd=function(n,i){var u=n,a=td(i),s,c;typeof a.filter=="function"?(c=a.filter,u=c("",u)):Yt(a.filter)&&(c=a.filter,s=c);var g=[];if(typeof u!="object"||u===null)return"";var h;i&&i.arrayFormat in Tf?h=i.arrayFormat:i&&"indices"in i?h=i.indices?"indices":"repeat":h="indices";var d=Tf[h];if(i&&"commaRoundTrip"in i&&typeof i.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var y=d==="comma"&&i&&i.commaRoundTrip;s||(s=Object.keys(u)),a.sort&&s.sort(a.sort);for(var E=xf(),w=0;w<s.length;++w){var _=s[w];a.skipNulls&&u[_]===null||$f(g,ed(u[_],_,d,y,a.strictNullHandling,a.skipNulls,a.encode?a.encoder:null,a.filter,a.sort,a.allowDots,a.serializeDate,a.format,a.formatter,a.encodeValuesOnly,a.charset,E))}var A=g.join(a.delimiter),I=a.addQueryPrefix===!0?"?":"";return a.charsetSentinel&&(a.charset==="iso-8859-1"?I+="utf8=%26%2310003%3B&":I+="utf8=%E2%9C%93&"),A.length>0?I+A:""},kn=Cf,Wu=Object.prototype.hasOwnProperty,rd=Array.isArray,Re={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:kn.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},id=function(n){return n.replace(/&#(\d+);/g,function(i,u){return String.fromCharCode(parseInt(u,10))})},Ff=function(n,i){return n&&typeof n=="string"&&i.comma&&n.indexOf(",")>-1?n.split(","):n},ud="utf8=%26%2310003%3B",od="utf8=%E2%9C%93",ad=function(i,u){var a={__proto__:null},s=u.ignoreQueryPrefix?i.replace(/^\?/,""):i,c=u.parameterLimit===1/0?void 0:u.parameterLimit,g=s.split(u.delimiter,c),h=-1,d,y=u.charset;if(u.charsetSentinel)for(d=0;d<g.length;++d)g[d].indexOf("utf8=")===0&&(g[d]===od?y="utf-8":g[d]===ud&&(y="iso-8859-1"),h=d,d=g.length);for(d=0;d<g.length;++d)if(d!==h){var E=g[d],w=E.indexOf("]="),_=w===-1?E.indexOf("="):w+1,A,I;_===-1?(A=u.decoder(E,Re.decoder,y,"key"),I=u.strictNullHandling?null:""):(A=u.decoder(E.slice(0,_),Re.decoder,y,"key"),I=kn.maybeMap(Ff(E.slice(_+1),u),function(D){return u.decoder(D,Re.decoder,y,"value")})),I&&u.interpretNumericEntities&&y==="iso-8859-1"&&(I=id(I)),E.indexOf("[]=")>-1&&(I=rd(I)?[I]:I),Wu.call(a,A)?a[A]=kn.combine(a[A],I):a[A]=I}return a},fd=function(n,i,u,a){for(var s=a?i:Ff(i,u),c=n.length-1;c>=0;--c){var g,h=n[c];if(h==="[]"&&u.parseArrays)g=[].concat(s);else{g=u.plainObjects?Object.create(null):{};var d=h.charAt(0)==="["&&h.charAt(h.length-1)==="]"?h.slice(1,-1):h,y=parseInt(d,10);!u.parseArrays&&d===""?g={0:s}:!isNaN(y)&&h!==d&&String(y)===d&&y>=0&&u.parseArrays&&y<=u.arrayLimit?(g=[],g[y]=s):d!=="__proto__"&&(g[d]=s)}s=g}return s},sd=function(i,u,a,s){if(!!i){var c=a.allowDots?i.replace(/\.([^.[]+)/g,"[$1]"):i,g=/(\[[^[\]]*])/,h=/(\[[^[\]]*])/g,d=a.depth>0&&g.exec(c),y=d?c.slice(0,d.index):c,E=[];if(y){if(!a.plainObjects&&Wu.call(Object.prototype,y)&&!a.allowPrototypes)return;E.push(y)}for(var w=0;a.depth>0&&(d=h.exec(c))!==null&&w<a.depth;){if(w+=1,!a.plainObjects&&Wu.call(Object.prototype,d[1].slice(1,-1))&&!a.allowPrototypes)return;E.push(d[1])}return d&&E.push("["+c.slice(d.index)+"]"),fd(E,u,a,s)}},ld=function(i){if(!i)return Re;if(i.decoder!==null&&i.decoder!==void 0&&typeof i.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof i.charset!="undefined"&&i.charset!=="utf-8"&&i.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var u=typeof i.charset=="undefined"?Re.charset:i.charset;return{allowDots:typeof i.allowDots=="undefined"?Re.allowDots:!!i.allowDots,allowPrototypes:typeof i.allowPrototypes=="boolean"?i.allowPrototypes:Re.allowPrototypes,allowSparse:typeof i.allowSparse=="boolean"?i.allowSparse:Re.allowSparse,arrayLimit:typeof i.arrayLimit=="number"?i.arrayLimit:Re.arrayLimit,charset:u,charsetSentinel:typeof i.charsetSentinel=="boolean"?i.charsetSentinel:Re.charsetSentinel,comma:typeof i.comma=="boolean"?i.comma:Re.comma,decoder:typeof i.decoder=="function"?i.decoder:Re.decoder,delimiter:typeof i.delimiter=="string"||kn.isRegExp(i.delimiter)?i.delimiter:Re.delimiter,depth:typeof i.depth=="number"||i.depth===!1?+i.depth:Re.depth,ignoreQueryPrefix:i.ignoreQueryPrefix===!0,interpretNumericEntities:typeof i.interpretNumericEntities=="boolean"?i.interpretNumericEntities:Re.interpretNumericEntities,parameterLimit:typeof i.parameterLimit=="number"?i.parameterLimit:Re.parameterLimit,parseArrays:i.parseArrays!==!1,plainObjects:typeof i.plainObjects=="boolean"?i.plainObjects:Re.plainObjects,strictNullHandling:typeof i.strictNullHandling=="boolean"?i.strictNullHandling:Re.strictNullHandling}},cd=function(n,i){var u=ld(i);if(n===""||n===null||typeof n=="undefined")return u.plainObjects?Object.create(null):{};for(var a=typeof n=="string"?ad(n,u):n,s=u.plainObjects?Object.create(null):{},c=Object.keys(a),g=0;g<c.length;++g){var h=c[g],d=sd(h,a[h],u,typeof n=="string");s=kn.merge(s,d,u)}return u.allowSparse===!0?s:kn.compact(s)},pd=nd,hd=cd,gd=Nu,dd={formats:gd,parse:hd,stringify:pd};function Pf(){const n=location.search,i=new Object;if(n.indexOf("?")!=-1){let a=n.substr(1).split("&");for(let s=0;s<a.length;s++)i[a[s].split("=")[0]]=unescape(a[s].split("=")[1])}return i}const Mf="Content-Type";function Hu(n){return(n==null?void 0:n[Mf])||(n==null?void 0:n["content-type"])}function Df(n,i){n[Mf]=i}const ai={form:"application/x-www-form-urlencoded","multi-form":"multipart/form-data",body:"application/json",os:"application/octet-stream"},Rf="v8-token",vd="lambo-token";function yd(n){sr(Rf,n),Yu.set("TOKEN_KEY",n,1)}function Lf(){let n=me(vd);return n||(n=Yu.get("lambo-sso-key")),n||(n=Yu.get("TOKEN_KEY")),n||(n=fr(Rf)),n||!1}const Yu={set:function(n,i,u){if(n.indexOf("=")!==-1)throw new Error("Cookie\u4E0D\u652F\u6301key\u4E2D\u4F7F\u7528\u7B49\u53F7\u3010=\u3011, key:"+n);let a=new Date;a.setTime(a.getTime()+24*60*60*1e3*u),window.document.cookie=n+"="+i+";path=/;expires="+a.toGMTString()},get:function(n){if(document.cookie.length>0){var i=document.cookie.split("; ");for(let a=0;a<i.length;a++){let s=i[a].split("=");if(s[0]===n){var u=s[1];for(let c=2;c<s.length;c++)u+="="+s[c];return u}}}}};var Nf={title:"",icomId:"",showMenus:!1,routerBase:"ind",loginRouteName:"login",rootRouteName:"root",homeRouteName:"home",authServerContext:"/user-manage-server",ossServerContext:"/user-manage-server",ismAmServerContext:"/ind-ism-am-server",ismAcServerContext:"/ind-ism-ac-server",ismSqServerContext:"/ind-ism-sq-server",ilmServerContext:"/ind-ilm-server",ucExtServerContext:"/ind-uc-ext-server",kkfilepreviewContext:"/kkfilepreview",errorMessage:"\u7CFB\u7EDF\u5F00\u5C0F\u5DEE\u4E86\uFF0C\u8BF7\u7A0D\u540E\u5C1D\u8BD5",leftLockDays:7,labelStyle:{labelWidthButton:50,labelWidthSmall:100+40,labelWidthMiddle:120+40,labelWidthMiddleLarge:140+40,labelWidthLarge:160+40,labelWidthSuperLarge:180+40},linkColor:"#488AFF"};function md(){return{showMenus:!0}}function _d(){return{showMenus:typeof window!="undefined"&&window.top===window.self}}function Bf(n){return n?Object.assign({},Nf,md()):Object.assign({},Nf,_d())}const kt=Bf(),wd=1,Ed=10106;let mr=null;function Sd(n){mr&&clearTimeout(mr);let i=!mr;mr=setTimeout(()=>{mr=null},1e3*20),i&&n()}function Ad(n){let i=Lf();i&&(n.headers.token=i);const u=Pf();(u.hasOwnProperty("sso_token")||sessionStorage.getItem("sso_token"))&&(n.params=Object.assign({sso_token:u.sso_token||sessionStorage.getItem("sso_token"),sso_id:u.sso_id},n.params));const a=Hu(n.headers);return n.method==="post"?a===ai.form&&(n.data=dd.stringify(n.data)):n.method,n}function Uf(n){let i=n.data;if(Hu(n.headers)===ai.os)return i;switch(typeof n.data=="string"&&(i=JSON.parse(n.data)),i.code){case wd:return i;case Ed:{Sd(function(){window.sessionNotValidHandler&&window.sessionNotValidHandler()});break}default:{let s=i.message||i.msg||kt.errorMessage;window.apiErrorHandler&&window.apiErrorHandler(s)}}return Promise.reject(i)}function Wf(n){var i;return(n==null?void 0:n.code)==="ECONNABORTED"?window.apiErrorHandler&&window.apiErrorHandler("\u8BF7\u6C42\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u518D\u8BD5"):((i=n==null?void 0:n.response)==null?void 0:i.status)!==200&&window.apiErrorHandler&&window.apiErrorHandler("\u8BF7\u6C42\u51FA\u9519\u4E86"),Promise.reject(n)}const he=fh.create({timeout:60*1e3});he.interceptors.request.use(Ad,Wf),he.interceptors.response.use(Uf,Wf),he.formPost=function(n,i,u){const a=(u==null?void 0:u.headers)||{};return Df(a,ai.form),he.post(n,i,Mt(pt({},u),{headers:a}))};var Hf={exports:{}},Yf={exports:{}};(function(){var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i={rotl:function(u,a){return u<<a|u>>>32-a},rotr:function(u,a){return u<<32-a|u>>>a},endian:function(u){if(u.constructor==Number)return i.rotl(u,8)&16711935|i.rotl(u,24)&4278255360;for(var a=0;a<u.length;a++)u[a]=i.endian(u[a]);return u},randomBytes:function(u){for(var a=[];u>0;u--)a.push(Math.floor(Math.random()*256));return a},bytesToWords:function(u){for(var a=[],s=0,c=0;s<u.length;s++,c+=8)a[c>>>5]|=u[s]<<24-c%32;return a},wordsToBytes:function(u){for(var a=[],s=0;s<u.length*32;s+=8)a.push(u[s>>>5]>>>24-s%32&255);return a},bytesToHex:function(u){for(var a=[],s=0;s<u.length;s++)a.push((u[s]>>>4).toString(16)),a.push((u[s]&15).toString(16));return a.join("")},hexToBytes:function(u){for(var a=[],s=0;s<u.length;s+=2)a.push(parseInt(u.substr(s,2),16));return a},bytesToBase64:function(u){for(var a=[],s=0;s<u.length;s+=3)for(var c=u[s]<<16|u[s+1]<<8|u[s+2],g=0;g<4;g++)s*8+g*6<=u.length*8?a.push(n.charAt(c>>>6*(3-g)&63)):a.push("=");return a.join("")},base64ToBytes:function(u){u=u.replace(/[^A-Z0-9+\/]/ig,"");for(var a=[],s=0,c=0;s<u.length;c=++s%4)c!=0&&a.push((n.indexOf(u.charAt(s-1))&Math.pow(2,-2*c+8)-1)<<c*2|n.indexOf(u.charAt(s))>>>6-c*2);return a}};Yf.exports=i})();var ku={utf8:{stringToBytes:function(n){return ku.bin.stringToBytes(unescape(encodeURIComponent(n)))},bytesToString:function(n){return decodeURIComponent(escape(ku.bin.bytesToString(n)))}},bin:{stringToBytes:function(n){for(var i=[],u=0;u<n.length;u++)i.push(n.charCodeAt(u)&255);return i},bytesToString:function(n){for(var i=[],u=0;u<n.length;u++)i.push(String.fromCharCode(n[u]));return i.join("")}}},kf=ku;/*!
|
|
6
6
|
* Determine if an object is a Buffer
|
|
7
7
|
*
|
|
8
8
|
* @author Feross Aboukhadijeh <https://feross.org>
|
package/package.json
CHANGED
|
@@ -98,8 +98,7 @@ export function inspectorError(error) {
|
|
|
98
98
|
if (error?.code === 'ECONNABORTED') {
|
|
99
99
|
// 超时
|
|
100
100
|
window.apiErrorHandler && window.apiErrorHandler('请求超时,请稍后再试')
|
|
101
|
-
}
|
|
102
|
-
if (error.response.status !== 200) {
|
|
101
|
+
} else if (error?.response?.status !== 200) {
|
|
103
102
|
window.apiErrorHandler && window.apiErrorHandler('请求出错了')
|
|
104
103
|
}
|
|
105
104
|
return Promise.reject(error)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interceptors.d.ts","sourceRoot":"","sources":["../../../src/utils/request/interceptors.ts"],"names":[],"mappings":"AAuBA,wBAAgB,mBAAmB,CAAC,MAAM,KAAA,OAwCzC;AAED,wBAAgB,oBAAoB,CAAC,QAAQ,KAAA,OA6B5C;AAED,wBAAgB,cAAc,CAAC,KAAK,KAAA,
|
|
1
|
+
{"version":3,"file":"interceptors.d.ts","sourceRoot":"","sources":["../../../src/utils/request/interceptors.ts"],"names":[],"mappings":"AAuBA,wBAAgB,mBAAmB,CAAC,MAAM,KAAA,OAwCzC;AAED,wBAAgB,oBAAoB,CAAC,QAAQ,KAAA,OA6B5C;AAED,wBAAgB,cAAc,CAAC,KAAK,KAAA,kBAQnC"}
|