leadal-portal-base 0.0.14 → 0.0.16

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/dist/index.cjs.js CHANGED
@@ -3,7 +3,7 @@
3
3
  `)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...r){const n=new this(t);return r.forEach(o=>n.set(o)),n}static accessor(t){const n=(this[mt]=this[mt]={accessors:{}}).accessors,o=this.prototype;function a(x){const c=P0(x);n[c]||(co(o,x),n[c]=!0)}return w.isArray(t)?t.forEach(a):a(t),this}};r0.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);w.reduceDescriptors(r0.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(n){this[r]=n}}});w.freezeMethods(r0);function je(e,t){const r=this||z0,n=t||r,o=r0.from(n.headers);let a=n.data;return w.forEach(e,function(c){a=c.call(r,a,o.normalize(),t?t.status:void 0)}),o.normalize(),a}function kr(e){return!!(e&&e.__CANCEL__)}function D0(e,t,r){L.call(this,e??"canceled",L.ERR_CANCELED,t,r),this.name="CanceledError"}w.inherits(D0,L,{__CANCEL__:!0});function Tr(e,t,r){const n=r.config.validateStatus;!r.status||!n||n(r.status)?e(r):t(new L("Request failed with status code "+r.status,[L.ERR_BAD_REQUEST,L.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}function fo(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function lo(e,t){e=e||10;const r=new Array(e),n=new Array(e);let o=0,a=0,x;return t=t!==void 0?t:1e3,function(v){const i=Date.now(),s=n[a];x||(x=i),r[o]=v,n[o]=i;let E=a,l=0;for(;E!==o;)l+=r[E++],E=E%e;if(o=(o+1)%e,o===a&&(a=(a+1)%e),i-x<t)return;const C=s&&i-s;return C?Math.round(l*1e3/C):void 0}}function uo(e,t){let r=0,n=1e3/t,o,a;const x=(i,s=Date.now())=>{r=s,o=null,a&&(clearTimeout(a),a=null),e(...i)};return[(...i)=>{const s=Date.now(),E=s-r;E>=n?x(i,s):(o=i,a||(a=setTimeout(()=>{a=null,x(o)},n-E)))},()=>o&&x(o)]}const ke=(e,t,r=3)=>{let n=0;const o=lo(50,250);return uo(a=>{const x=a.loaded,c=a.lengthComputable?a.total:void 0,v=x-n,i=o(v),s=x<=c;n=x;const E={loaded:x,total:c,progress:c?x/c:void 0,bytes:v,rate:i||void 0,estimated:i&&c&&s?(c-x)/i:void 0,event:a,lengthComputable:c!=null,[t?"download":"upload"]:!0};e(E)},r)},At=(e,t)=>{const r=e!=null;return[n=>t[0]({lengthComputable:r,total:e,loaded:n}),t[1]]},Ft=e=>(...t)=>w.asap(()=>e(...t)),ho=Q.hasStandardBrowserEnv?((e,t)=>r=>(r=new URL(r,Q.origin),e.protocol===r.protocol&&e.host===r.host&&(t||e.port===r.port)))(new URL(Q.origin),Q.navigator&&/(msie|trident)/i.test(Q.navigator.userAgent)):()=>!0,po=Q.hasStandardBrowserEnv?{write(e,t,r,n,o,a,x){if(typeof document>"u")return;const c=[`${e}=${encodeURIComponent(t)}`];w.isNumber(r)&&c.push(`expires=${new Date(r).toUTCString()}`),w.isString(n)&&c.push(`path=${n}`),w.isString(o)&&c.push(`domain=${o}`),a===!0&&c.push("secure"),w.isString(x)&&c.push(`SameSite=${x}`),document.cookie=c.join("; ")},read(e){if(typeof document>"u")return null;const t=document.cookie.match(new RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function vo(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Eo(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Rr(e,t,r){let n=!vo(t);return e&&(n||r==!1)?Eo(e,t):t}const gt=e=>e instanceof r0?{...e}:e;function E0(e,t){t=t||{};const r={};function n(i,s,E,l){return w.isPlainObject(i)&&w.isPlainObject(s)?w.merge.call({caseless:l},i,s):w.isPlainObject(s)?w.merge({},s):w.isArray(s)?s.slice():s}function o(i,s,E,l){if(w.isUndefined(s)){if(!w.isUndefined(i))return n(void 0,i,E,l)}else return n(i,s,E,l)}function a(i,s){if(!w.isUndefined(s))return n(void 0,s)}function x(i,s){if(w.isUndefined(s)){if(!w.isUndefined(i))return n(void 0,i)}else return n(void 0,s)}function c(i,s,E){if(E in t)return n(i,s);if(E in e)return n(void 0,i)}const v={url:a,method:a,data:a,baseURL:x,transformRequest:x,transformResponse:x,paramsSerializer:x,timeout:x,timeoutMessage:x,withCredentials:x,withXSRFToken:x,adapter:x,responseType:x,xsrfCookieName:x,xsrfHeaderName:x,onUploadProgress:x,onDownloadProgress:x,decompress:x,maxContentLength:x,maxBodyLength:x,beforeRedirect:x,transport:x,httpAgent:x,httpsAgent:x,cancelToken:x,socketPath:x,responseEncoding:x,validateStatus:c,headers:(i,s,E)=>o(gt(i),gt(s),E,!0)};return w.forEach(Object.keys({...e,...t}),function(s){const E=v[s]||o,l=E(e[s],t[s],s);w.isUndefined(l)&&E!==c||(r[s]=l)}),r}const Or=e=>{const t=E0({},e);let{data:r,withXSRFToken:n,xsrfHeaderName:o,xsrfCookieName:a,headers:x,auth:c}=t;if(t.headers=x=r0.from(x),t.url=Dr(Rr(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),c&&x.set("Authorization","Basic "+btoa((c.username||"")+":"+(c.password?unescape(encodeURIComponent(c.password)):""))),w.isFormData(r)){if(Q.hasStandardBrowserEnv||Q.hasStandardBrowserWebWorkerEnv)x.setContentType(void 0);else if(w.isFunction(r.getHeaders)){const v=r.getHeaders(),i=["content-type","content-length"];Object.entries(v).forEach(([s,E])=>{i.includes(s.toLowerCase())&&x.set(s,E)})}}if(Q.hasStandardBrowserEnv&&(n&&w.isFunction(n)&&(n=n(t)),n||n!==!1&&ho(t.url))){const v=o&&a&&po.read(a);v&&x.set(o,v)}return t},Co=typeof XMLHttpRequest<"u",Bo=Co&&function(e){return new Promise(function(r,n){const o=Or(e);let a=o.data;const x=r0.from(o.headers).normalize();let{responseType:c,onUploadProgress:v,onDownloadProgress:i}=o,s,E,l,C,f;function p(){C&&C(),f&&f(),o.cancelToken&&o.cancelToken.unsubscribe(s),o.signal&&o.signal.removeEventListener("abort",s)}let u=new XMLHttpRequest;u.open(o.method.toUpperCase(),o.url,!0),u.timeout=o.timeout;function m(){if(!u)return;const d=r0.from("getAllResponseHeaders"in u&&u.getAllResponseHeaders()),F={data:!c||c==="text"||c==="json"?u.responseText:u.response,status:u.status,statusText:u.statusText,headers:d,config:e,request:u};Tr(function(y){r(y),p()},function(y){n(y),p()},F),u=null}"onloadend"in u?u.onloadend=m:u.onreadystatechange=function(){!u||u.readyState!==4||u.status===0&&!(u.responseURL&&u.responseURL.indexOf("file:")===0)||setTimeout(m)},u.onabort=function(){u&&(n(new L("Request aborted",L.ECONNABORTED,e,u)),u=null)},u.onerror=function(B){const F=B&&B.message?B.message:"Network Error",g=new L(F,L.ERR_NETWORK,e,u);g.event=B||null,n(g),u=null},u.ontimeout=function(){let B=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const F=o.transitional||_r;o.timeoutErrorMessage&&(B=o.timeoutErrorMessage),n(new L(B,F.clarifyTimeoutError?L.ETIMEDOUT:L.ECONNABORTED,e,u)),u=null},a===void 0&&x.setContentType(null),"setRequestHeader"in u&&w.forEach(x.toJSON(),function(B,F){u.setRequestHeader(F,B)}),w.isUndefined(o.withCredentials)||(u.withCredentials=!!o.withCredentials),c&&c!=="json"&&(u.responseType=o.responseType),i&&([l,f]=ke(i,!0),u.addEventListener("progress",l)),v&&u.upload&&([E,C]=ke(v),u.upload.addEventListener("progress",E),u.upload.addEventListener("loadend",C)),(o.cancelToken||o.signal)&&(s=d=>{u&&(n(!d||d.type?new D0(null,e,u):d),u.abort(),u=null)},o.cancelToken&&o.cancelToken.subscribe(s),o.signal&&(o.signal.aborted?s():o.signal.addEventListener("abort",s)));const h=fo(o.url);if(h&&Q.protocols.indexOf(h)===-1){n(new L("Unsupported protocol "+h+":",L.ERR_BAD_REQUEST,e));return}u.send(a||null)})},mo=(e,t)=>{const{length:r}=e=e?e.filter(Boolean):[];if(t||r){let n=new AbortController,o;const a=function(i){if(!o){o=!0,c();const s=i instanceof Error?i:this.reason;n.abort(s instanceof L?s:new D0(s instanceof Error?s.message:s))}};let x=t&&setTimeout(()=>{x=null,a(new L(`timeout ${t} of ms exceeded`,L.ETIMEDOUT))},t);const c=()=>{e&&(x&&clearTimeout(x),x=null,e.forEach(i=>{i.unsubscribe?i.unsubscribe(a):i.removeEventListener("abort",a)}),e=null)};e.forEach(i=>i.addEventListener("abort",a));const{signal:v}=n;return v.unsubscribe=()=>w.asap(c),v}},Ao=function*(e,t){let r=e.byteLength;if(r<t){yield e;return}let n=0,o;for(;n<r;)o=n+t,yield e.slice(n,o),n=o},Fo=async function*(e,t){for await(const r of go(e))yield*Ao(r,t)},go=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:r,value:n}=await t.read();if(r)break;yield n}}finally{await t.cancel()}},yt=(e,t,r,n)=>{const o=Fo(e,t);let a=0,x,c=v=>{x||(x=!0,n&&n(v))};return new ReadableStream({async pull(v){try{const{done:i,value:s}=await o.next();if(i){c(),v.close();return}let E=s.byteLength;if(r){let l=a+=E;r(l)}v.enqueue(new Uint8Array(s))}catch(i){throw c(i),i}},cancel(v){return c(v),o.return()}},{highWaterMark:2})},wt=64*1024,{isFunction:W0}=w,yo=(({Request:e,Response:t})=>({Request:e,Response:t}))(w.global),{ReadableStream:bt,TextEncoder:Dt}=w.global,_t=(e,...t)=>{try{return!!e(...t)}catch{return!1}},wo=e=>{e=w.merge.call({skipUndefined:!0},yo,e);const{fetch:t,Request:r,Response:n}=e,o=t?W0(t):typeof fetch=="function",a=W0(r),x=W0(n);if(!o)return!1;const c=o&&W0(bt),v=o&&(typeof Dt=="function"?(f=>p=>f.encode(p))(new Dt):async f=>new Uint8Array(await new r(f).arrayBuffer())),i=a&&c&&_t(()=>{let f=!1;const p=new r(Q.origin,{body:new bt,method:"POST",get duplex(){return f=!0,"half"}}).headers.has("Content-Type");return f&&!p}),s=x&&c&&_t(()=>w.isReadableStream(new n("").body)),E={stream:s&&(f=>f.body)};o&&["text","arrayBuffer","blob","formData","stream"].forEach(f=>{!E[f]&&(E[f]=(p,u)=>{let m=p&&p[f];if(m)return m.call(p);throw new L(`Response type '${f}' is not supported`,L.ERR_NOT_SUPPORT,u)})});const l=async f=>{if(f==null)return 0;if(w.isBlob(f))return f.size;if(w.isSpecCompliantForm(f))return(await new r(Q.origin,{method:"POST",body:f}).arrayBuffer()).byteLength;if(w.isArrayBufferView(f)||w.isArrayBuffer(f))return f.byteLength;if(w.isURLSearchParams(f)&&(f=f+""),w.isString(f))return(await v(f)).byteLength},C=async(f,p)=>{const u=w.toFiniteNumber(f.getContentLength());return u??l(p)};return async f=>{let{url:p,method:u,data:m,signal:h,cancelToken:d,timeout:B,onDownloadProgress:F,onUploadProgress:g,responseType:y,headers:D,withCredentials:H="same-origin",fetchOptions:A}=Or(f),b=t||fetch;y=y?(y+"").toLowerCase():"text";let k=mo([h,d&&d.toAbortSignal()],B),S=null;const P=k&&k.unsubscribe&&(()=>{k.unsubscribe()});let q;try{if(g&&i&&u!=="get"&&u!=="head"&&(q=await C(D,m))!==0){let _=new r(p,{method:"POST",body:m,duplex:"half"}),R;if(w.isFormData(m)&&(R=_.headers.get("content-type"))&&D.setContentType(R),_.body){const[O,T]=At(q,ke(Ft(g)));m=yt(_.body,wt,O,T)}}w.isString(H)||(H=H?"include":"omit");const N=a&&"credentials"in r.prototype,M={...A,signal:k,method:u.toUpperCase(),headers:D.normalize().toJSON(),body:m,duplex:"half",credentials:N?H:void 0};S=a&&new r(p,M);let U=await(a?b(S,A):b(p,M));const W=s&&(y==="stream"||y==="response");if(s&&(F||W&&P)){const _={};["status","statusText","headers"].forEach(K=>{_[K]=U[K]});const R=w.toFiniteNumber(U.headers.get("content-length")),[O,T]=F&&At(R,ke(Ft(F),!0))||[];U=new n(yt(U.body,wt,O,()=>{T&&T(),P&&P()}),_)}y=y||"text";let j=await E[w.findKey(E,y)||"text"](U,f);return!W&&P&&P(),await new Promise((_,R)=>{Tr(_,R,{data:j,headers:r0.from(U.headers),status:U.status,statusText:U.statusText,config:f,request:S})})}catch(N){throw P&&P(),N&&N.name==="TypeError"&&/Load failed|fetch/i.test(N.message)?Object.assign(new L("Network Error",L.ERR_NETWORK,f,S),{cause:N.cause||N}):L.from(N,N&&N.code,f,S)}}},bo=new Map,Hr=e=>{let t=e&&e.env||{};const{fetch:r,Request:n,Response:o}=t,a=[n,o,r];let x=a.length,c=x,v,i,s=bo;for(;c--;)v=a[c],i=s.get(v),i===void 0&&s.set(v,i=c?new Map:wo(t)),s=i;return i};Hr();const et={http:In,xhr:Bo,fetch:{get:Hr}};w.forEach(et,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const St=e=>`- ${e}`,Do=e=>w.isFunction(e)||e===null||e===!1;function _o(e,t){e=w.isArray(e)?e:[e];const{length:r}=e;let n,o;const a={};for(let x=0;x<r;x++){n=e[x];let c;if(o=n,!Do(n)&&(o=et[(c=String(n)).toLowerCase()],o===void 0))throw new L(`Unknown adapter '${c}'`);if(o&&(w.isFunction(o)||(o=o.get(t))))break;a[c||"#"+x]=o}if(!o){const x=Object.entries(a).map(([v,i])=>`adapter ${v} `+(i===!1?"is not supported by the environment":"is not available in the build"));let c=r?x.length>1?`since :
4
4
  `+x.map(St).join(`
5
5
  `):" "+St(x[0]):"as no adapter specified";throw new L("There is no suitable adapter to dispatch the request "+c,"ERR_NOT_SUPPORT")}return o}const Pr={getAdapter:_o,adapters:et};function We(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new D0(null,e)}function kt(e){return We(e),e.headers=r0.from(e.headers),e.data=je.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Pr.getAdapter(e.adapter||z0.adapter,e)(e).then(function(n){return We(e),n.data=je.call(e,e.transformResponse,n),n.headers=r0.from(n.headers),n},function(n){return kr(n)||(We(e),n&&n.response&&(n.response.data=je.call(e,e.transformResponse,n.response),n.response.headers=r0.from(n.response.headers))),Promise.reject(n)})}const qr="1.13.2",qe={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{qe[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const Tt={};qe.transitional=function(t,r,n){function o(a,x){return"[Axios v"+qr+"] Transitional option '"+a+"'"+x+(n?". "+n:"")}return(a,x,c)=>{if(t===!1)throw new L(o(x," has been removed"+(r?" in "+r:"")),L.ERR_DEPRECATED);return r&&!Tt[x]&&(Tt[x]=!0,console.warn(o(x," has been deprecated since v"+r+" and will be removed in the near future"))),t?t(a,x,c):!0}};qe.spelling=function(t){return(r,n)=>(console.warn(`${n} is likely a misspelling of ${t}`),!0)};function So(e,t,r){if(typeof e!="object")throw new L("options must be an object",L.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let o=n.length;for(;o-- >0;){const a=n[o],x=t[a];if(x){const c=e[a],v=c===void 0||x(c,a,e);if(v!==!0)throw new L("option "+a+" must be "+v,L.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new L("Unknown option "+a,L.ERR_BAD_OPTION)}}const X0={assertOptions:So,validators:qe},f0=X0.validators;let v0=class{constructor(t){this.defaults=t||{},this.interceptors={request:new Bt,response:new Bt}}async request(t,r){try{return await this._request(t,r)}catch(n){if(n instanceof Error){let o={};Error.captureStackTrace?Error.captureStackTrace(o):o=new Error;const a=o.stack?o.stack.replace(/^.+\n/,""):"";try{n.stack?a&&!String(n.stack).endsWith(a.replace(/^.+\n.+\n/,""))&&(n.stack+=`
6
- `+a):n.stack=a}catch{}}throw n}}_request(t,r){typeof t=="string"?(r=r||{},r.url=t):r=t||{},r=E0(this.defaults,r);const{transitional:n,paramsSerializer:o,headers:a}=r;n!==void 0&&X0.assertOptions(n,{silentJSONParsing:f0.transitional(f0.boolean),forcedJSONParsing:f0.transitional(f0.boolean),clarifyTimeoutError:f0.transitional(f0.boolean)},!1),o!=null&&(w.isFunction(o)?r.paramsSerializer={serialize:o}:X0.assertOptions(o,{encode:f0.function,serialize:f0.function},!0)),r.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?r.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:r.allowAbsoluteUrls=!0),X0.assertOptions(r,{baseUrl:f0.spelling("baseURL"),withXsrfToken:f0.spelling("withXSRFToken")},!0),r.method=(r.method||this.defaults.method||"get").toLowerCase();let x=a&&w.merge(a.common,a[r.method]);a&&w.forEach(["delete","get","head","post","put","patch","common"],f=>{delete a[f]}),r.headers=r0.concat(x,a);const c=[];let v=!0;this.interceptors.request.forEach(function(p){typeof p.runWhen=="function"&&p.runWhen(r)===!1||(v=v&&p.synchronous,c.unshift(p.fulfilled,p.rejected))});const i=[];this.interceptors.response.forEach(function(p){i.push(p.fulfilled,p.rejected)});let s,E=0,l;if(!v){const f=[kt.bind(this),void 0];for(f.unshift(...c),f.push(...i),l=f.length,s=Promise.resolve(r);E<l;)s=s.then(f[E++],f[E++]);return s}l=c.length;let C=r;for(;E<l;){const f=c[E++],p=c[E++];try{C=f(C)}catch(u){p.call(this,u);break}}try{s=kt.call(this,C)}catch(f){return Promise.reject(f)}for(E=0,l=i.length;E<l;)s=s.then(i[E++],i[E++]);return s}getUri(t){t=E0(this.defaults,t);const r=Rr(t.baseURL,t.url,t.allowAbsoluteUrls);return Dr(r,t.params,t.paramsSerializer)}};w.forEach(["delete","get","head","options"],function(t){v0.prototype[t]=function(r,n){return this.request(E0(n||{},{method:t,url:r,data:(n||{}).data}))}});w.forEach(["post","put","patch"],function(t){function r(n){return function(a,x,c){return this.request(E0(c||{},{method:t,headers:n?{"Content-Type":"multipart/form-data"}:{},url:a,data:x}))}}v0.prototype[t]=r(),v0.prototype[t+"Form"]=r(!0)});let ko=class Nr{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let r;this.promise=new Promise(function(a){r=a});const n=this;this.promise.then(o=>{if(!n._listeners)return;let a=n._listeners.length;for(;a-- >0;)n._listeners[a](o);n._listeners=null}),this.promise.then=o=>{let a;const x=new Promise(c=>{n.subscribe(c),a=c}).then(o);return x.cancel=function(){n.unsubscribe(a)},x},t(function(a,x,c){n.reason||(n.reason=new D0(a,x,c),r(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const r=this._listeners.indexOf(t);r!==-1&&this._listeners.splice(r,1)}toAbortSignal(){const t=new AbortController,r=n=>{t.abort(n)};return this.subscribe(r),t.signal.unsubscribe=()=>this.unsubscribe(r),t.signal}static source(){let t;return{token:new Nr(function(o){t=o}),cancel:t}}};function To(e){return function(r){return e.apply(null,r)}}function Ro(e){return w.isObject(e)&&e.isAxiosError===!0}const Ge={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Ge).forEach(([e,t])=>{Ge[t]=e});function Lr(e){const t=new v0(e),r=pr(v0.prototype.request,t);return w.extend(r,v0.prototype,t,{allOwnKeys:!0}),w.extend(r,t,null,{allOwnKeys:!0}),r.create=function(o){return Lr(E0(e,o))},r}const V=Lr(z0);V.Axios=v0;V.CanceledError=D0;V.CancelToken=ko;V.isCancel=kr;V.VERSION=qr;V.toFormData=Pe;V.AxiosError=L;V.Cancel=V.CanceledError;V.all=function(t){return Promise.all(t)};V.spread=To;V.isAxiosError=Ro;V.mergeConfig=E0;V.AxiosHeaders=r0;V.formToJSON=e=>Sr(w.isHTMLForm(e)?new FormData(e):e);V.getAdapter=Pr.getAdapter;V.HttpStatusCode=Ge;V.default=V;const{Axios:xi,AxiosError:ci,CanceledError:fi,isCancel:li,CancelToken:ui,VERSION:di,all:hi,Cancel:pi,isAxiosError:vi,spread:Ei,toFormData:Ci,AxiosHeaders:Bi,HttpStatusCode:mi,formToJSON:Ai,getAdapter:Fi,mergeConfig:gi}=V;function Oo(){return I.request({url:"/wuji-portal-visual/organ/getUserRole",method:"GET"})}function Ho(){return I.request({url:"/wuji-portal-visual/auth/api/currentUser",method:"GET"})}function Rt(e){return I.request({url:"/wuji-portal-visual/portalServerDomain/getDomainAll",method:"GET",params:e})}const q0={async getDomains(){let e=[];try{const t=await Rt(),{data:r}=t;e=r||[],window._domains=e}catch(t){throw new Error(t)}return e},transToFormdata(e){const t=new FormData;for(const r in e)e.hasOwnProperty(r)&&t.append(r,e[r]);return t},isIp(e){return/^(25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[1-9])\.(25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[1-9]|0)\.(25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[1-9]|0)\.(25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[0-9])$/.test(e)},getQueryString(e){let t=new RegExp("(^|&)"+e+"=([^&]*)(&|$)"),r=location.href.split("?"),n="";return r.forEach(o=>{let a=o.substr(0).match(t);a!==null&&(n=decodeURIComponent(a[2]))}),n},deepCopy(e){if(typeof e=="object"){const t=Array.isArray(e)?[]:{};for(const r in e)typeof e[r]=="object"?t[r]=q0.deepCopy(e[r]):t[r]=e[r];return t}return e},toChinesNum(e){let t=["零","一","二","三","四","五","六","七","八","九"],r=["","十","百","千","万"],n=parseInt(e),o=c=>{let v=c.toString().split("").reverse(),i="",s=[];v.forEach((l,C)=>{s.unshift(l==="0"?t[l]:t[l]+r[C])});let E=[];return s.forEach((l,C)=>{l!=="零"&&E.push(C)}),s.length>1?s.forEach((l,C)=>{s[s.length-1]==="零"?C<=E[E.length-1]&&(i+=l):i+=l}):i=s[0],i},a=Math.floor(n/1e4),x=n%1e4;return x.toString().length<4&&(x="0"+x),a?o(a)+"万"+o(x):o(n)},copyText(e,t){const r=document.createElement("input");r.value=e,document.body.appendChild(r),r.select(),document.execCommand("copy"),r.remove(),t&&t(e)},jsonFormat(e,t){if(!(e===void 0||t===void 0))return typeof e=="string"?e!==""?JSON.parse(e):t:e},arrayToObject(e){let t={};for(let r=0;r<e.length;r++)t[e[r].key]=e[r].defaultValue;return t},getClientType(){var t,r;const e=window.navigator.userAgent;return e.indexOf("Chrome")!==-1&&window.navigator.vendor.indexOf("QAX")!==-1?"qax":e.indexOf("Chrome")!==-1&&((t=window.chrome)==null?void 0:t.ldt)==="client"?"ldtC":e.indexOf("Chrome")!==-1&&(((r=window.chrome)==null?void 0:r.ldt)==="browser"||typeof window.LdtHelper=="object")?"ldt":(e.indexOf("netiler")!==-1||e.indexOf("Firefox")!==-1)&&typeof window.chrome<"u"&&parseInt(window.chrome.version)>=78?"portal":typeof window.chrome<"u"&&window.chrome.version==="iframe"?e.indexOf("Android")!==-1?"OnlyWebView":"iframe":""},timerDebounce(e,t,r=300){window.leadal_superTimerDebounceFun||(window.leadal_superTimerDebounceFun={}),window.leadal_superTimerDebounceFun[e]&&(clearTimeout(window.leadal_superTimerDebounceFun[e]),delete window.leadal_superTimerDebounceFun[e]),window.leadal_superTimerDebounceFun[e]=setTimeout(()=>{t()},r)},timerThrottle(e,t,r=300){window.leadal_superTimerThrottleFun||(window.leadal_superTimerThrottleFun={}),window.leadal_superTimerThrottleFun[e]&&(clearTimeout(window.leadal_superTimerThrottleFun[e]),delete window.leadal_superTimerThrottleFun[e]),window.leadal_superTimerThrottleFun[e]=setTimeout(()=>{t()},r)},base64toFile(e,t){const r=e.split(","),n=window.atob(r[1]),o={type:"image/jpeg",endings:"native"},a=new Uint8Array(n.length);for(let x=0;x<n.length;x++)a[x]=n.charCodeAt(x);return new File([a],t+".jpg",o)},async loadBase64Image(e){if(!e)return;const t=await V.get(e,{responseType:"blob"}),r=new Blob([t.data],{type:"image/png"});return await blobToBase64(r)},blobToBase64(e){if(e)return new Promise((t,r)=>{const n=new FileReader;n.onloadend=()=>{t(n.result)},n.onerror=r,n.readAsDataURL(e)})},getService(e){if(!e)return;const t=window.localStorage.getItem("com.leadal.portal.service.map");return t||q0.setServiceMapToStorage(),JSON.parse(t||"{}")[e]},setServiceMapToStorage(){return new Promise(async(e,t)=>{try{const r=await Rt(),{data:n}=r,o={};n==null||n.forEach((a,x)=>{const{serverProtocolType:c="http",serverCode:v,serverDomain:i="",serverNameSpace:s}=a;let E=s;E&&E.length>0&&E.indexOf("/")!==0&&(E+="/");const l=c+"://"+i+E;o[v]=l}),window.localStorage.setItem("com.leadal.portal.service.map",JSON.stringify(o)),e(o)}catch(r){console.error(r),t([])}})}};var Me=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Po(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function qo(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var r=function n(){return this instanceof n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,o.get?o:{enumerable:!0,get:function(){return e[n]}})}),r}var V0={exports:{}};function No(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var G0={exports:{}};const Lo={},Uo=Object.freeze(Object.defineProperty({__proto__:null,default:Lo},Symbol.toStringTag,{value:"Module"})),zo=qo(Uo);var $o=G0.exports,Ot;function $(){return Ot||(Ot=1,(function(e,t){(function(r,n){e.exports=n()})($o,function(){var r=r||(function(n,o){var a;if(typeof window<"u"&&window.crypto&&(a=window.crypto),typeof self<"u"&&self.crypto&&(a=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(a=globalThis.crypto),!a&&typeof window<"u"&&window.msCrypto&&(a=window.msCrypto),!a&&typeof Me<"u"&&Me.crypto&&(a=Me.crypto),!a&&typeof No=="function")try{a=zo}catch{}var x=function(){if(a){if(typeof a.getRandomValues=="function")try{return a.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof a.randomBytes=="function")try{return a.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},c=Object.create||(function(){function h(){}return function(d){var B;return h.prototype=d,B=new h,h.prototype=null,B}})(),v={},i=v.lib={},s=i.Base=(function(){return{extend:function(h){var d=c(this);return h&&d.mixIn(h),(!d.hasOwnProperty("init")||this.init===d.init)&&(d.init=function(){d.$super.init.apply(this,arguments)}),d.init.prototype=d,d.$super=this,d},create:function(){var h=this.extend();return h.init.apply(h,arguments),h},init:function(){},mixIn:function(h){for(var d in h)h.hasOwnProperty(d)&&(this[d]=h[d]);h.hasOwnProperty("toString")&&(this.toString=h.toString)},clone:function(){return this.init.prototype.extend(this)}}})(),E=i.WordArray=s.extend({init:function(h,d){h=this.words=h||[],d!=o?this.sigBytes=d:this.sigBytes=h.length*4},toString:function(h){return(h||C).stringify(this)},concat:function(h){var d=this.words,B=h.words,F=this.sigBytes,g=h.sigBytes;if(this.clamp(),F%4)for(var y=0;y<g;y++){var D=B[y>>>2]>>>24-y%4*8&255;d[F+y>>>2]|=D<<24-(F+y)%4*8}else for(var H=0;H<g;H+=4)d[F+H>>>2]=B[H>>>2];return this.sigBytes+=g,this},clamp:function(){var h=this.words,d=this.sigBytes;h[d>>>2]&=4294967295<<32-d%4*8,h.length=n.ceil(d/4)},clone:function(){var h=s.clone.call(this);return h.words=this.words.slice(0),h},random:function(h){for(var d=[],B=0;B<h;B+=4)d.push(x());return new E.init(d,h)}}),l=v.enc={},C=l.Hex={stringify:function(h){for(var d=h.words,B=h.sigBytes,F=[],g=0;g<B;g++){var y=d[g>>>2]>>>24-g%4*8&255;F.push((y>>>4).toString(16)),F.push((y&15).toString(16))}return F.join("")},parse:function(h){for(var d=h.length,B=[],F=0;F<d;F+=2)B[F>>>3]|=parseInt(h.substr(F,2),16)<<24-F%8*4;return new E.init(B,d/2)}},f=l.Latin1={stringify:function(h){for(var d=h.words,B=h.sigBytes,F=[],g=0;g<B;g++){var y=d[g>>>2]>>>24-g%4*8&255;F.push(String.fromCharCode(y))}return F.join("")},parse:function(h){for(var d=h.length,B=[],F=0;F<d;F++)B[F>>>2]|=(h.charCodeAt(F)&255)<<24-F%4*8;return new E.init(B,d)}},p=l.Utf8={stringify:function(h){try{return decodeURIComponent(escape(f.stringify(h)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(h){return f.parse(unescape(encodeURIComponent(h)))}},u=i.BufferedBlockAlgorithm=s.extend({reset:function(){this._data=new E.init,this._nDataBytes=0},_append:function(h){typeof h=="string"&&(h=p.parse(h)),this._data.concat(h),this._nDataBytes+=h.sigBytes},_process:function(h){var d,B=this._data,F=B.words,g=B.sigBytes,y=this.blockSize,D=y*4,H=g/D;h?H=n.ceil(H):H=n.max((H|0)-this._minBufferSize,0);var A=H*y,b=n.min(A*4,g);if(A){for(var k=0;k<A;k+=y)this._doProcessBlock(F,k);d=F.splice(0,A),B.sigBytes-=b}return new E.init(d,b)},clone:function(){var h=s.clone.call(this);return h._data=this._data.clone(),h},_minBufferSize:0});i.Hasher=u.extend({cfg:s.extend(),init:function(h){this.cfg=this.cfg.extend(h),this.reset()},reset:function(){u.reset.call(this),this._doReset()},update:function(h){return this._append(h),this._process(),this},finalize:function(h){h&&this._append(h);var d=this._doFinalize();return d},blockSize:16,_createHelper:function(h){return function(d,B){return new h.init(B).finalize(d)}},_createHmacHelper:function(h){return function(d,B){return new m.HMAC.init(h,B).finalize(d)}}});var m=v.algo={};return v})(Math);return r})})(G0)),G0.exports}var Q0={exports:{}},Io=Q0.exports,Ht;function Ne(){return Ht||(Ht=1,(function(e,t){(function(r,n){e.exports=n($())})(Io,function(r){return(function(n){var o=r,a=o.lib,x=a.Base,c=a.WordArray,v=o.x64={};v.Word=x.extend({init:function(i,s){this.high=i,this.low=s}}),v.WordArray=x.extend({init:function(i,s){i=this.words=i||[],s!=n?this.sigBytes=s:this.sigBytes=i.length*8},toX32:function(){for(var i=this.words,s=i.length,E=[],l=0;l<s;l++){var C=i[l];E.push(C.high),E.push(C.low)}return c.create(E,this.sigBytes)},clone:function(){for(var i=x.clone.call(this),s=i.words=this.words.slice(0),E=s.length,l=0;l<E;l++)s[l]=s[l].clone();return i}})})(),r})})(Q0)),Q0.exports}var Z0={exports:{}},jo=Z0.exports,Pt;function Wo(){return Pt||(Pt=1,(function(e,t){(function(r,n){e.exports=n($())})(jo,function(r){return(function(){if(typeof ArrayBuffer=="function"){var n=r,o=n.lib,a=o.WordArray,x=a.init,c=a.init=function(v){if(v instanceof ArrayBuffer&&(v=new Uint8Array(v)),(v instanceof Int8Array||typeof Uint8ClampedArray<"u"&&v instanceof Uint8ClampedArray||v instanceof Int16Array||v instanceof Uint16Array||v instanceof Int32Array||v instanceof Uint32Array||v instanceof Float32Array||v instanceof Float64Array)&&(v=new Uint8Array(v.buffer,v.byteOffset,v.byteLength)),v instanceof Uint8Array){for(var i=v.byteLength,s=[],E=0;E<i;E++)s[E>>>2]|=v[E]<<24-E%4*8;x.call(this,s,i)}else x.apply(this,arguments)};c.prototype=a}})(),r.lib.WordArray})})(Z0)),Z0.exports}var J0={exports:{}},Mo=J0.exports,qt;function Ko(){return qt||(qt=1,(function(e,t){(function(r,n){e.exports=n($())})(Mo,function(r){return(function(){var n=r,o=n.lib,a=o.WordArray,x=n.enc;x.Utf16=x.Utf16BE={stringify:function(v){for(var i=v.words,s=v.sigBytes,E=[],l=0;l<s;l+=2){var C=i[l>>>2]>>>16-l%4*8&65535;E.push(String.fromCharCode(C))}return E.join("")},parse:function(v){for(var i=v.length,s=[],E=0;E<i;E++)s[E>>>1]|=v.charCodeAt(E)<<16-E%2*16;return a.create(s,i*2)}},x.Utf16LE={stringify:function(v){for(var i=v.words,s=v.sigBytes,E=[],l=0;l<s;l+=2){var C=c(i[l>>>2]>>>16-l%4*8&65535);E.push(String.fromCharCode(C))}return E.join("")},parse:function(v){for(var i=v.length,s=[],E=0;E<i;E++)s[E>>>1]|=c(v.charCodeAt(E)<<16-E%2*16);return a.create(s,i*2)}};function c(v){return v<<8&4278255360|v>>>8&16711935}})(),r.enc.Utf16})})(J0)),J0.exports}var Y0={exports:{}},Xo=Y0.exports,Nt;function C0(){return Nt||(Nt=1,(function(e,t){(function(r,n){e.exports=n($())})(Xo,function(r){return(function(){var n=r,o=n.lib,a=o.WordArray,x=n.enc;x.Base64={stringify:function(v){var i=v.words,s=v.sigBytes,E=this._map;v.clamp();for(var l=[],C=0;C<s;C+=3)for(var f=i[C>>>2]>>>24-C%4*8&255,p=i[C+1>>>2]>>>24-(C+1)%4*8&255,u=i[C+2>>>2]>>>24-(C+2)%4*8&255,m=f<<16|p<<8|u,h=0;h<4&&C+h*.75<s;h++)l.push(E.charAt(m>>>6*(3-h)&63));var d=E.charAt(64);if(d)for(;l.length%4;)l.push(d);return l.join("")},parse:function(v){var i=v.length,s=this._map,E=this._reverseMap;if(!E){E=this._reverseMap=[];for(var l=0;l<s.length;l++)E[s.charCodeAt(l)]=l}var C=s.charAt(64);if(C){var f=v.indexOf(C);f!==-1&&(i=f)}return c(v,i,E)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function c(v,i,s){for(var E=[],l=0,C=0;C<i;C++)if(C%4){var f=s[v.charCodeAt(C-1)]<<C%4*2,p=s[v.charCodeAt(C)]>>>6-C%4*2,u=f|p;E[l>>>2]|=u<<24-l%4*8,l++}return a.create(E,l)}})(),r.enc.Base64})})(Y0)),Y0.exports}var ee={exports:{}},Vo=ee.exports,Lt;function Go(){return Lt||(Lt=1,(function(e,t){(function(r,n){e.exports=n($())})(Vo,function(r){return(function(){var n=r,o=n.lib,a=o.WordArray,x=n.enc;x.Base64url={stringify:function(v,i){i===void 0&&(i=!0);var s=v.words,E=v.sigBytes,l=i?this._safe_map:this._map;v.clamp();for(var C=[],f=0;f<E;f+=3)for(var p=s[f>>>2]>>>24-f%4*8&255,u=s[f+1>>>2]>>>24-(f+1)%4*8&255,m=s[f+2>>>2]>>>24-(f+2)%4*8&255,h=p<<16|u<<8|m,d=0;d<4&&f+d*.75<E;d++)C.push(l.charAt(h>>>6*(3-d)&63));var B=l.charAt(64);if(B)for(;C.length%4;)C.push(B);return C.join("")},parse:function(v,i){i===void 0&&(i=!0);var s=v.length,E=i?this._safe_map:this._map,l=this._reverseMap;if(!l){l=this._reverseMap=[];for(var C=0;C<E.length;C++)l[E.charCodeAt(C)]=C}var f=E.charAt(64);if(f){var p=v.indexOf(f);p!==-1&&(s=p)}return c(v,s,l)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"};function c(v,i,s){for(var E=[],l=0,C=0;C<i;C++)if(C%4){var f=s[v.charCodeAt(C-1)]<<C%4*2,p=s[v.charCodeAt(C)]>>>6-C%4*2,u=f|p;E[l>>>2]|=u<<24-l%4*8,l++}return a.create(E,l)}})(),r.enc.Base64url})})(ee)),ee.exports}var te={exports:{}},Qo=te.exports,Ut;function B0(){return Ut||(Ut=1,(function(e,t){(function(r,n){e.exports=n($())})(Qo,function(r){return(function(n){var o=r,a=o.lib,x=a.WordArray,c=a.Hasher,v=o.algo,i=[];(function(){for(var p=0;p<64;p++)i[p]=n.abs(n.sin(p+1))*4294967296|0})();var s=v.MD5=c.extend({_doReset:function(){this._hash=new x.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(p,u){for(var m=0;m<16;m++){var h=u+m,d=p[h];p[h]=(d<<8|d>>>24)&16711935|(d<<24|d>>>8)&4278255360}var B=this._hash.words,F=p[u+0],g=p[u+1],y=p[u+2],D=p[u+3],H=p[u+4],A=p[u+5],b=p[u+6],k=p[u+7],S=p[u+8],P=p[u+9],q=p[u+10],N=p[u+11],M=p[u+12],U=p[u+13],W=p[u+14],j=p[u+15],_=B[0],R=B[1],O=B[2],T=B[3];_=E(_,R,O,T,F,7,i[0]),T=E(T,_,R,O,g,12,i[1]),O=E(O,T,_,R,y,17,i[2]),R=E(R,O,T,_,D,22,i[3]),_=E(_,R,O,T,H,7,i[4]),T=E(T,_,R,O,A,12,i[5]),O=E(O,T,_,R,b,17,i[6]),R=E(R,O,T,_,k,22,i[7]),_=E(_,R,O,T,S,7,i[8]),T=E(T,_,R,O,P,12,i[9]),O=E(O,T,_,R,q,17,i[10]),R=E(R,O,T,_,N,22,i[11]),_=E(_,R,O,T,M,7,i[12]),T=E(T,_,R,O,U,12,i[13]),O=E(O,T,_,R,W,17,i[14]),R=E(R,O,T,_,j,22,i[15]),_=l(_,R,O,T,g,5,i[16]),T=l(T,_,R,O,b,9,i[17]),O=l(O,T,_,R,N,14,i[18]),R=l(R,O,T,_,F,20,i[19]),_=l(_,R,O,T,A,5,i[20]),T=l(T,_,R,O,q,9,i[21]),O=l(O,T,_,R,j,14,i[22]),R=l(R,O,T,_,H,20,i[23]),_=l(_,R,O,T,P,5,i[24]),T=l(T,_,R,O,W,9,i[25]),O=l(O,T,_,R,D,14,i[26]),R=l(R,O,T,_,S,20,i[27]),_=l(_,R,O,T,U,5,i[28]),T=l(T,_,R,O,y,9,i[29]),O=l(O,T,_,R,k,14,i[30]),R=l(R,O,T,_,M,20,i[31]),_=C(_,R,O,T,A,4,i[32]),T=C(T,_,R,O,S,11,i[33]),O=C(O,T,_,R,N,16,i[34]),R=C(R,O,T,_,W,23,i[35]),_=C(_,R,O,T,g,4,i[36]),T=C(T,_,R,O,H,11,i[37]),O=C(O,T,_,R,k,16,i[38]),R=C(R,O,T,_,q,23,i[39]),_=C(_,R,O,T,U,4,i[40]),T=C(T,_,R,O,F,11,i[41]),O=C(O,T,_,R,D,16,i[42]),R=C(R,O,T,_,b,23,i[43]),_=C(_,R,O,T,P,4,i[44]),T=C(T,_,R,O,M,11,i[45]),O=C(O,T,_,R,j,16,i[46]),R=C(R,O,T,_,y,23,i[47]),_=f(_,R,O,T,F,6,i[48]),T=f(T,_,R,O,k,10,i[49]),O=f(O,T,_,R,W,15,i[50]),R=f(R,O,T,_,A,21,i[51]),_=f(_,R,O,T,M,6,i[52]),T=f(T,_,R,O,D,10,i[53]),O=f(O,T,_,R,q,15,i[54]),R=f(R,O,T,_,g,21,i[55]),_=f(_,R,O,T,S,6,i[56]),T=f(T,_,R,O,j,10,i[57]),O=f(O,T,_,R,b,15,i[58]),R=f(R,O,T,_,U,21,i[59]),_=f(_,R,O,T,H,6,i[60]),T=f(T,_,R,O,N,10,i[61]),O=f(O,T,_,R,y,15,i[62]),R=f(R,O,T,_,P,21,i[63]),B[0]=B[0]+_|0,B[1]=B[1]+R|0,B[2]=B[2]+O|0,B[3]=B[3]+T|0},_doFinalize:function(){var p=this._data,u=p.words,m=this._nDataBytes*8,h=p.sigBytes*8;u[h>>>5]|=128<<24-h%32;var d=n.floor(m/4294967296),B=m;u[(h+64>>>9<<4)+15]=(d<<8|d>>>24)&16711935|(d<<24|d>>>8)&4278255360,u[(h+64>>>9<<4)+14]=(B<<8|B>>>24)&16711935|(B<<24|B>>>8)&4278255360,p.sigBytes=(u.length+1)*4,this._process();for(var F=this._hash,g=F.words,y=0;y<4;y++){var D=g[y];g[y]=(D<<8|D>>>24)&16711935|(D<<24|D>>>8)&4278255360}return F},clone:function(){var p=c.clone.call(this);return p._hash=this._hash.clone(),p}});function E(p,u,m,h,d,B,F){var g=p+(u&m|~u&h)+d+F;return(g<<B|g>>>32-B)+u}function l(p,u,m,h,d,B,F){var g=p+(u&h|m&~h)+d+F;return(g<<B|g>>>32-B)+u}function C(p,u,m,h,d,B,F){var g=p+(u^m^h)+d+F;return(g<<B|g>>>32-B)+u}function f(p,u,m,h,d,B,F){var g=p+(m^(u|~h))+d+F;return(g<<B|g>>>32-B)+u}o.MD5=c._createHelper(s),o.HmacMD5=c._createHmacHelper(s)})(Math),r.MD5})})(te)),te.exports}var re={exports:{}},Zo=re.exports,zt;function Ur(){return zt||(zt=1,(function(e,t){(function(r,n){e.exports=n($())})(Zo,function(r){return(function(){var n=r,o=n.lib,a=o.WordArray,x=o.Hasher,c=n.algo,v=[],i=c.SHA1=x.extend({_doReset:function(){this._hash=new a.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(s,E){for(var l=this._hash.words,C=l[0],f=l[1],p=l[2],u=l[3],m=l[4],h=0;h<80;h++){if(h<16)v[h]=s[E+h]|0;else{var d=v[h-3]^v[h-8]^v[h-14]^v[h-16];v[h]=d<<1|d>>>31}var B=(C<<5|C>>>27)+m+v[h];h<20?B+=(f&p|~f&u)+1518500249:h<40?B+=(f^p^u)+1859775393:h<60?B+=(f&p|f&u|p&u)-1894007588:B+=(f^p^u)-899497514,m=u,u=p,p=f<<30|f>>>2,f=C,C=B}l[0]=l[0]+C|0,l[1]=l[1]+f|0,l[2]=l[2]+p|0,l[3]=l[3]+u|0,l[4]=l[4]+m|0},_doFinalize:function(){var s=this._data,E=s.words,l=this._nDataBytes*8,C=s.sigBytes*8;return E[C>>>5]|=128<<24-C%32,E[(C+64>>>9<<4)+14]=Math.floor(l/4294967296),E[(C+64>>>9<<4)+15]=l,s.sigBytes=E.length*4,this._process(),this._hash},clone:function(){var s=x.clone.call(this);return s._hash=this._hash.clone(),s}});n.SHA1=x._createHelper(i),n.HmacSHA1=x._createHmacHelper(i)})(),r.SHA1})})(re)),re.exports}var ne={exports:{}},Jo=ne.exports,$t;function tt(){return $t||($t=1,(function(e,t){(function(r,n){e.exports=n($())})(Jo,function(r){return(function(n){var o=r,a=o.lib,x=a.WordArray,c=a.Hasher,v=o.algo,i=[],s=[];(function(){function C(m){for(var h=n.sqrt(m),d=2;d<=h;d++)if(!(m%d))return!1;return!0}function f(m){return(m-(m|0))*4294967296|0}for(var p=2,u=0;u<64;)C(p)&&(u<8&&(i[u]=f(n.pow(p,1/2))),s[u]=f(n.pow(p,1/3)),u++),p++})();var E=[],l=v.SHA256=c.extend({_doReset:function(){this._hash=new x.init(i.slice(0))},_doProcessBlock:function(C,f){for(var p=this._hash.words,u=p[0],m=p[1],h=p[2],d=p[3],B=p[4],F=p[5],g=p[6],y=p[7],D=0;D<64;D++){if(D<16)E[D]=C[f+D]|0;else{var H=E[D-15],A=(H<<25|H>>>7)^(H<<14|H>>>18)^H>>>3,b=E[D-2],k=(b<<15|b>>>17)^(b<<13|b>>>19)^b>>>10;E[D]=A+E[D-7]+k+E[D-16]}var S=B&F^~B&g,P=u&m^u&h^m&h,q=(u<<30|u>>>2)^(u<<19|u>>>13)^(u<<10|u>>>22),N=(B<<26|B>>>6)^(B<<21|B>>>11)^(B<<7|B>>>25),M=y+N+S+s[D]+E[D],U=q+P;y=g,g=F,F=B,B=d+M|0,d=h,h=m,m=u,u=M+U|0}p[0]=p[0]+u|0,p[1]=p[1]+m|0,p[2]=p[2]+h|0,p[3]=p[3]+d|0,p[4]=p[4]+B|0,p[5]=p[5]+F|0,p[6]=p[6]+g|0,p[7]=p[7]+y|0},_doFinalize:function(){var C=this._data,f=C.words,p=this._nDataBytes*8,u=C.sigBytes*8;return f[u>>>5]|=128<<24-u%32,f[(u+64>>>9<<4)+14]=n.floor(p/4294967296),f[(u+64>>>9<<4)+15]=p,C.sigBytes=f.length*4,this._process(),this._hash},clone:function(){var C=c.clone.call(this);return C._hash=this._hash.clone(),C}});o.SHA256=c._createHelper(l),o.HmacSHA256=c._createHmacHelper(l)})(Math),r.SHA256})})(ne)),ne.exports}var oe={exports:{}},Yo=oe.exports,It;function ea(){return It||(It=1,(function(e,t){(function(r,n,o){e.exports=n($(),tt())})(Yo,function(r){return(function(){var n=r,o=n.lib,a=o.WordArray,x=n.algo,c=x.SHA256,v=x.SHA224=c.extend({_doReset:function(){this._hash=new a.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var i=c._doFinalize.call(this);return i.sigBytes-=4,i}});n.SHA224=c._createHelper(v),n.HmacSHA224=c._createHmacHelper(v)})(),r.SHA224})})(oe)),oe.exports}var ae={exports:{}},ta=ae.exports,jt;function zr(){return jt||(jt=1,(function(e,t){(function(r,n,o){e.exports=n($(),Ne())})(ta,function(r){return(function(){var n=r,o=n.lib,a=o.Hasher,x=n.x64,c=x.Word,v=x.WordArray,i=n.algo;function s(){return c.create.apply(c,arguments)}var E=[s(1116352408,3609767458),s(1899447441,602891725),s(3049323471,3964484399),s(3921009573,2173295548),s(961987163,4081628472),s(1508970993,3053834265),s(2453635748,2937671579),s(2870763221,3664609560),s(3624381080,2734883394),s(310598401,1164996542),s(607225278,1323610764),s(1426881987,3590304994),s(1925078388,4068182383),s(2162078206,991336113),s(2614888103,633803317),s(3248222580,3479774868),s(3835390401,2666613458),s(4022224774,944711139),s(264347078,2341262773),s(604807628,2007800933),s(770255983,1495990901),s(1249150122,1856431235),s(1555081692,3175218132),s(1996064986,2198950837),s(2554220882,3999719339),s(2821834349,766784016),s(2952996808,2566594879),s(3210313671,3203337956),s(3336571891,1034457026),s(3584528711,2466948901),s(113926993,3758326383),s(338241895,168717936),s(666307205,1188179964),s(773529912,1546045734),s(1294757372,1522805485),s(1396182291,2643833823),s(1695183700,2343527390),s(1986661051,1014477480),s(2177026350,1206759142),s(2456956037,344077627),s(2730485921,1290863460),s(2820302411,3158454273),s(3259730800,3505952657),s(3345764771,106217008),s(3516065817,3606008344),s(3600352804,1432725776),s(4094571909,1467031594),s(275423344,851169720),s(430227734,3100823752),s(506948616,1363258195),s(659060556,3750685593),s(883997877,3785050280),s(958139571,3318307427),s(1322822218,3812723403),s(1537002063,2003034995),s(1747873779,3602036899),s(1955562222,1575990012),s(2024104815,1125592928),s(2227730452,2716904306),s(2361852424,442776044),s(2428436474,593698344),s(2756734187,3733110249),s(3204031479,2999351573),s(3329325298,3815920427),s(3391569614,3928383900),s(3515267271,566280711),s(3940187606,3454069534),s(4118630271,4000239992),s(116418474,1914138554),s(174292421,2731055270),s(289380356,3203993006),s(460393269,320620315),s(685471733,587496836),s(852142971,1086792851),s(1017036298,365543100),s(1126000580,2618297676),s(1288033470,3409855158),s(1501505948,4234509866),s(1607167915,987167468),s(1816402316,1246189591)],l=[];(function(){for(var f=0;f<80;f++)l[f]=s()})();var C=i.SHA512=a.extend({_doReset:function(){this._hash=new v.init([new c.init(1779033703,4089235720),new c.init(3144134277,2227873595),new c.init(1013904242,4271175723),new c.init(2773480762,1595750129),new c.init(1359893119,2917565137),new c.init(2600822924,725511199),new c.init(528734635,4215389547),new c.init(1541459225,327033209)])},_doProcessBlock:function(f,p){for(var u=this._hash.words,m=u[0],h=u[1],d=u[2],B=u[3],F=u[4],g=u[5],y=u[6],D=u[7],H=m.high,A=m.low,b=h.high,k=h.low,S=d.high,P=d.low,q=B.high,N=B.low,M=F.high,U=F.low,W=g.high,j=g.low,_=y.high,R=y.low,O=D.high,T=D.low,K=H,X=A,Z=b,z=k,_0=S,m0=P,Ue=q,S0=N,i0=M,n0=U,$0=W,k0=j,I0=_,T0=R,ze=O,R0=T,s0=0;s0<80;s0++){var a0,l0,j0=l[s0];if(s0<16)l0=j0.high=f[p+s0*2]|0,a0=j0.low=f[p+s0*2+1]|0;else{var ot=l[s0-15],A0=ot.high,O0=ot.low,jr=(A0>>>1|O0<<31)^(A0>>>8|O0<<24)^A0>>>7,at=(O0>>>1|A0<<31)^(O0>>>8|A0<<24)^(O0>>>7|A0<<25),it=l[s0-2],F0=it.high,H0=it.low,Wr=(F0>>>19|H0<<13)^(F0<<3|H0>>>29)^F0>>>6,st=(H0>>>19|F0<<13)^(H0<<3|F0>>>29)^(H0>>>6|F0<<26),xt=l[s0-7],Mr=xt.high,Kr=xt.low,ct=l[s0-16],Xr=ct.high,ft=ct.low;a0=at+Kr,l0=jr+Mr+(a0>>>0<at>>>0?1:0),a0=a0+st,l0=l0+Wr+(a0>>>0<st>>>0?1:0),a0=a0+ft,l0=l0+Xr+(a0>>>0<ft>>>0?1:0),j0.high=l0,j0.low=a0}var Vr=i0&$0^~i0&I0,lt=n0&k0^~n0&T0,Gr=K&Z^K&_0^Z&_0,Qr=X&z^X&m0^z&m0,Zr=(K>>>28|X<<4)^(K<<30|X>>>2)^(K<<25|X>>>7),ut=(X>>>28|K<<4)^(X<<30|K>>>2)^(X<<25|K>>>7),Jr=(i0>>>14|n0<<18)^(i0>>>18|n0<<14)^(i0<<23|n0>>>9),Yr=(n0>>>14|i0<<18)^(n0>>>18|i0<<14)^(n0<<23|i0>>>9),dt=E[s0],en=dt.high,ht=dt.low,o0=R0+Yr,u0=ze+Jr+(o0>>>0<R0>>>0?1:0),o0=o0+lt,u0=u0+Vr+(o0>>>0<lt>>>0?1:0),o0=o0+ht,u0=u0+en+(o0>>>0<ht>>>0?1:0),o0=o0+a0,u0=u0+l0+(o0>>>0<a0>>>0?1:0),pt=ut+Qr,tn=Zr+Gr+(pt>>>0<ut>>>0?1:0);ze=I0,R0=T0,I0=$0,T0=k0,$0=i0,k0=n0,n0=S0+o0|0,i0=Ue+u0+(n0>>>0<S0>>>0?1:0)|0,Ue=_0,S0=m0,_0=Z,m0=z,Z=K,z=X,X=o0+pt|0,K=u0+tn+(X>>>0<o0>>>0?1:0)|0}A=m.low=A+X,m.high=H+K+(A>>>0<X>>>0?1:0),k=h.low=k+z,h.high=b+Z+(k>>>0<z>>>0?1:0),P=d.low=P+m0,d.high=S+_0+(P>>>0<m0>>>0?1:0),N=B.low=N+S0,B.high=q+Ue+(N>>>0<S0>>>0?1:0),U=F.low=U+n0,F.high=M+i0+(U>>>0<n0>>>0?1:0),j=g.low=j+k0,g.high=W+$0+(j>>>0<k0>>>0?1:0),R=y.low=R+T0,y.high=_+I0+(R>>>0<T0>>>0?1:0),T=D.low=T+R0,D.high=O+ze+(T>>>0<R0>>>0?1:0)},_doFinalize:function(){var f=this._data,p=f.words,u=this._nDataBytes*8,m=f.sigBytes*8;p[m>>>5]|=128<<24-m%32,p[(m+128>>>10<<5)+30]=Math.floor(u/4294967296),p[(m+128>>>10<<5)+31]=u,f.sigBytes=p.length*4,this._process();var h=this._hash.toX32();return h},clone:function(){var f=a.clone.call(this);return f._hash=this._hash.clone(),f},blockSize:1024/32});n.SHA512=a._createHelper(C),n.HmacSHA512=a._createHmacHelper(C)})(),r.SHA512})})(ae)),ae.exports}var ie={exports:{}},ra=ie.exports,Wt;function na(){return Wt||(Wt=1,(function(e,t){(function(r,n,o){e.exports=n($(),Ne(),zr())})(ra,function(r){return(function(){var n=r,o=n.x64,a=o.Word,x=o.WordArray,c=n.algo,v=c.SHA512,i=c.SHA384=v.extend({_doReset:function(){this._hash=new x.init([new a.init(3418070365,3238371032),new a.init(1654270250,914150663),new a.init(2438529370,812702999),new a.init(355462360,4144912697),new a.init(1731405415,4290775857),new a.init(2394180231,1750603025),new a.init(3675008525,1694076839),new a.init(1203062813,3204075428)])},_doFinalize:function(){var s=v._doFinalize.call(this);return s.sigBytes-=16,s}});n.SHA384=v._createHelper(i),n.HmacSHA384=v._createHmacHelper(i)})(),r.SHA384})})(ie)),ie.exports}var se={exports:{}},oa=se.exports,Mt;function aa(){return Mt||(Mt=1,(function(e,t){(function(r,n,o){e.exports=n($(),Ne())})(oa,function(r){return(function(n){var o=r,a=o.lib,x=a.WordArray,c=a.Hasher,v=o.x64,i=v.Word,s=o.algo,E=[],l=[],C=[];(function(){for(var u=1,m=0,h=0;h<24;h++){E[u+5*m]=(h+1)*(h+2)/2%64;var d=m%5,B=(2*u+3*m)%5;u=d,m=B}for(var u=0;u<5;u++)for(var m=0;m<5;m++)l[u+5*m]=m+(2*u+3*m)%5*5;for(var F=1,g=0;g<24;g++){for(var y=0,D=0,H=0;H<7;H++){if(F&1){var A=(1<<H)-1;A<32?D^=1<<A:y^=1<<A-32}F&128?F=F<<1^113:F<<=1}C[g]=i.create(y,D)}})();var f=[];(function(){for(var u=0;u<25;u++)f[u]=i.create()})();var p=s.SHA3=c.extend({cfg:c.cfg.extend({outputLength:512}),_doReset:function(){for(var u=this._state=[],m=0;m<25;m++)u[m]=new i.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(u,m){for(var h=this._state,d=this.blockSize/2,B=0;B<d;B++){var F=u[m+2*B],g=u[m+2*B+1];F=(F<<8|F>>>24)&16711935|(F<<24|F>>>8)&4278255360,g=(g<<8|g>>>24)&16711935|(g<<24|g>>>8)&4278255360;var y=h[B];y.high^=g,y.low^=F}for(var D=0;D<24;D++){for(var H=0;H<5;H++){for(var A=0,b=0,k=0;k<5;k++){var y=h[H+5*k];A^=y.high,b^=y.low}var S=f[H];S.high=A,S.low=b}for(var H=0;H<5;H++)for(var P=f[(H+4)%5],q=f[(H+1)%5],N=q.high,M=q.low,A=P.high^(N<<1|M>>>31),b=P.low^(M<<1|N>>>31),k=0;k<5;k++){var y=h[H+5*k];y.high^=A,y.low^=b}for(var U=1;U<25;U++){var A,b,y=h[U],W=y.high,j=y.low,_=E[U];_<32?(A=W<<_|j>>>32-_,b=j<<_|W>>>32-_):(A=j<<_-32|W>>>64-_,b=W<<_-32|j>>>64-_);var R=f[l[U]];R.high=A,R.low=b}var O=f[0],T=h[0];O.high=T.high,O.low=T.low;for(var H=0;H<5;H++)for(var k=0;k<5;k++){var U=H+5*k,y=h[U],K=f[U],X=f[(H+1)%5+5*k],Z=f[(H+2)%5+5*k];y.high=K.high^~X.high&Z.high,y.low=K.low^~X.low&Z.low}var y=h[0],z=C[D];y.high^=z.high,y.low^=z.low}},_doFinalize:function(){var u=this._data,m=u.words;this._nDataBytes*8;var h=u.sigBytes*8,d=this.blockSize*32;m[h>>>5]|=1<<24-h%32,m[(n.ceil((h+1)/d)*d>>>5)-1]|=128,u.sigBytes=m.length*4,this._process();for(var B=this._state,F=this.cfg.outputLength/8,g=F/8,y=[],D=0;D<g;D++){var H=B[D],A=H.high,b=H.low;A=(A<<8|A>>>24)&16711935|(A<<24|A>>>8)&4278255360,b=(b<<8|b>>>24)&16711935|(b<<24|b>>>8)&4278255360,y.push(b),y.push(A)}return new x.init(y,F)},clone:function(){for(var u=c.clone.call(this),m=u._state=this._state.slice(0),h=0;h<25;h++)m[h]=m[h].clone();return u}});o.SHA3=c._createHelper(p),o.HmacSHA3=c._createHmacHelper(p)})(Math),r.SHA3})})(se)),se.exports}var xe={exports:{}},ia=xe.exports,Kt;function sa(){return Kt||(Kt=1,(function(e,t){(function(r,n){e.exports=n($())})(ia,function(r){/** @preserve
6
+ `+a):n.stack=a}catch{}}throw n}}_request(t,r){typeof t=="string"?(r=r||{},r.url=t):r=t||{},r=E0(this.defaults,r);const{transitional:n,paramsSerializer:o,headers:a}=r;n!==void 0&&X0.assertOptions(n,{silentJSONParsing:f0.transitional(f0.boolean),forcedJSONParsing:f0.transitional(f0.boolean),clarifyTimeoutError:f0.transitional(f0.boolean)},!1),o!=null&&(w.isFunction(o)?r.paramsSerializer={serialize:o}:X0.assertOptions(o,{encode:f0.function,serialize:f0.function},!0)),r.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?r.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:r.allowAbsoluteUrls=!0),X0.assertOptions(r,{baseUrl:f0.spelling("baseURL"),withXsrfToken:f0.spelling("withXSRFToken")},!0),r.method=(r.method||this.defaults.method||"get").toLowerCase();let x=a&&w.merge(a.common,a[r.method]);a&&w.forEach(["delete","get","head","post","put","patch","common"],f=>{delete a[f]}),r.headers=r0.concat(x,a);const c=[];let v=!0;this.interceptors.request.forEach(function(p){typeof p.runWhen=="function"&&p.runWhen(r)===!1||(v=v&&p.synchronous,c.unshift(p.fulfilled,p.rejected))});const i=[];this.interceptors.response.forEach(function(p){i.push(p.fulfilled,p.rejected)});let s,E=0,l;if(!v){const f=[kt.bind(this),void 0];for(f.unshift(...c),f.push(...i),l=f.length,s=Promise.resolve(r);E<l;)s=s.then(f[E++],f[E++]);return s}l=c.length;let C=r;for(;E<l;){const f=c[E++],p=c[E++];try{C=f(C)}catch(u){p.call(this,u);break}}try{s=kt.call(this,C)}catch(f){return Promise.reject(f)}for(E=0,l=i.length;E<l;)s=s.then(i[E++],i[E++]);return s}getUri(t){t=E0(this.defaults,t);const r=Rr(t.baseURL,t.url,t.allowAbsoluteUrls);return Dr(r,t.params,t.paramsSerializer)}};w.forEach(["delete","get","head","options"],function(t){v0.prototype[t]=function(r,n){return this.request(E0(n||{},{method:t,url:r,data:(n||{}).data}))}});w.forEach(["post","put","patch"],function(t){function r(n){return function(a,x,c){return this.request(E0(c||{},{method:t,headers:n?{"Content-Type":"multipart/form-data"}:{},url:a,data:x}))}}v0.prototype[t]=r(),v0.prototype[t+"Form"]=r(!0)});let ko=class Nr{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let r;this.promise=new Promise(function(a){r=a});const n=this;this.promise.then(o=>{if(!n._listeners)return;let a=n._listeners.length;for(;a-- >0;)n._listeners[a](o);n._listeners=null}),this.promise.then=o=>{let a;const x=new Promise(c=>{n.subscribe(c),a=c}).then(o);return x.cancel=function(){n.unsubscribe(a)},x},t(function(a,x,c){n.reason||(n.reason=new D0(a,x,c),r(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const r=this._listeners.indexOf(t);r!==-1&&this._listeners.splice(r,1)}toAbortSignal(){const t=new AbortController,r=n=>{t.abort(n)};return this.subscribe(r),t.signal.unsubscribe=()=>this.unsubscribe(r),t.signal}static source(){let t;return{token:new Nr(function(o){t=o}),cancel:t}}};function To(e){return function(r){return e.apply(null,r)}}function Ro(e){return w.isObject(e)&&e.isAxiosError===!0}const Ge={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Ge).forEach(([e,t])=>{Ge[t]=e});function Lr(e){const t=new v0(e),r=pr(v0.prototype.request,t);return w.extend(r,v0.prototype,t,{allOwnKeys:!0}),w.extend(r,t,null,{allOwnKeys:!0}),r.create=function(o){return Lr(E0(e,o))},r}const V=Lr(z0);V.Axios=v0;V.CanceledError=D0;V.CancelToken=ko;V.isCancel=kr;V.VERSION=qr;V.toFormData=Pe;V.AxiosError=L;V.Cancel=V.CanceledError;V.all=function(t){return Promise.all(t)};V.spread=To;V.isAxiosError=Ro;V.mergeConfig=E0;V.AxiosHeaders=r0;V.formToJSON=e=>Sr(w.isHTMLForm(e)?new FormData(e):e);V.getAdapter=Pr.getAdapter;V.HttpStatusCode=Ge;V.default=V;const{Axios:xi,AxiosError:ci,CanceledError:fi,isCancel:li,CancelToken:ui,VERSION:di,all:hi,Cancel:pi,isAxiosError:vi,spread:Ei,toFormData:Ci,AxiosHeaders:Bi,HttpStatusCode:mi,formToJSON:Ai,getAdapter:Fi,mergeConfig:gi}=V;function Oo(){return I.request({url:"/wuji-portal-visual/organ/getUserRole",method:"GET"})}function Ho(){return I.request({url:"/wuji-portal-visual/auth/api/currentUser",method:"GET"})}function Rt(e){return I.request({url:"/wuji-portal-visual/portalServerDomain/getDomainAll",method:"GET",params:e})}const q0={async getDomains(){let e=[];try{const t=await Rt(),{data:r}=t;e=r||[],window._domains=e}catch(t){throw new Error(t)}return e},transToFormdata(e){const t=new FormData;for(const r in e)e.hasOwnProperty(r)&&t.append(r,e[r]);return t},isIp(e){return/^(25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[1-9])\.(25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[1-9]|0)\.(25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[1-9]|0)\.(25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[0-9])$/.test(e)},getQueryString(e){let t=new RegExp("(^|&)"+e+"=([^&]*)(&|$)"),r=location.href.split("?"),n="";return r.forEach(o=>{let a=o.substr(0).match(t);a!==null&&(n=decodeURIComponent(a[2]))}),n},deepCopy(e){if(typeof e=="object"){const t=Array.isArray(e)?[]:{};for(const r in e)typeof e[r]=="object"?t[r]=q0.deepCopy(e[r]):t[r]=e[r];return t}return e},toChinesNum(e){let t=["零","一","二","三","四","五","六","七","八","九"],r=["","十","百","千","万"],n=parseInt(e),o=c=>{let v=c.toString().split("").reverse(),i="",s=[];v.forEach((l,C)=>{s.unshift(l==="0"?t[l]:t[l]+r[C])});let E=[];return s.forEach((l,C)=>{l!=="零"&&E.push(C)}),s.length>1?s.forEach((l,C)=>{s[s.length-1]==="零"?C<=E[E.length-1]&&(i+=l):i+=l}):i=s[0],i},a=Math.floor(n/1e4),x=n%1e4;return x.toString().length<4&&(x="0"+x),a?o(a)+"万"+o(x):o(n)},copyText(e,t){const r=document.createElement("input");r.value=e,document.body.appendChild(r),r.select(),document.execCommand("copy"),r.remove(),t&&t(e)},jsonFormat(e,t){if(!(e===void 0||t===void 0))return typeof e=="string"?e!==""?JSON.parse(e):t:e},arrayToObject(e){let t={};for(let r=0;r<e.length;r++)t[e[r].key]=e[r].defaultValue;return t},getClientType(){var t,r;const e=window.navigator.userAgent;return e.indexOf("Chrome")!==-1&&window.navigator.vendor.indexOf("QAX")!==-1?"qax":e.indexOf("Chrome")!==-1&&((t=window.chrome)==null?void 0:t.ldt)==="client"?"ldtC":e.indexOf("Chrome")!==-1&&(((r=window.chrome)==null?void 0:r.ldt)==="browser"||typeof window.LdtHelper=="object")?"ldt":(e.indexOf("netiler")!==-1||e.indexOf("Firefox")!==-1)&&typeof window.chrome<"u"&&parseInt(window.chrome.version)>=78?"portal":typeof window.chrome<"u"&&window.chrome.version==="iframe"?e.indexOf("Android")!==-1?"OnlyWebView":"iframe":""},timerDebounce(e,t,r=300){window.leadal_superTimerDebounceFun||(window.leadal_superTimerDebounceFun={}),window.leadal_superTimerDebounceFun[e]&&(clearTimeout(window.leadal_superTimerDebounceFun[e]),delete window.leadal_superTimerDebounceFun[e]),window.leadal_superTimerDebounceFun[e]=setTimeout(()=>{t()},r)},timerThrottle(e,t,r=300){window.leadal_superTimerThrottleFun||(window.leadal_superTimerThrottleFun={}),window.leadal_superTimerThrottleFun[e]&&(clearTimeout(window.leadal_superTimerThrottleFun[e]),delete window.leadal_superTimerThrottleFun[e]),window.leadal_superTimerThrottleFun[e]=setTimeout(()=>{t()},r)},base64toFile(e,t){const r=e.split(","),n=window.atob(r[1]),o={type:"image/jpeg",endings:"native"},a=new Uint8Array(n.length);for(let x=0;x<n.length;x++)a[x]=n.charCodeAt(x);return new File([a],t+".jpg",o)},async loadBase64Image(e){if(!e)return;const t=await V.get(e,{responseType:"blob"}),r=new Blob([t.data],{type:"image/png"});return await blobToBase64(r)},blobToBase64(e){if(e)return new Promise((t,r)=>{const n=new FileReader;n.onloadend=()=>{t(n.result)},n.onerror=r,n.readAsDataURL(e)})},getService(e){if(!e)return;const t=window.localStorage.getItem("com.leadal.portal.service.map");return t||q0.setServiceMapToStorage(),JSON.parse(t||"{}")[e]},setServiceMapToStorage(){return new Promise(async(e,t)=>{try{const r=await Rt(),{data:n}=r,o={};n==null||n.forEach((a,x)=>{const{serverProtocolType:c="http",serverCode:v,serverDomain:i="",serverNameSpace:s}=a;let E=s;if(E&&E.length>0){E.indexOf("/")!==0&&(E="/"+E);const l=c+"://"+i+E;o[v]=l}else{const l=c+"://"+i;o[v]=l}}),window.localStorage.setItem("com.leadal.portal.service.map",JSON.stringify(o)),e(o)}catch(r){console.error(r),t([])}})}};var Me=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Po(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function qo(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var r=function n(){return this instanceof n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,o.get?o:{enumerable:!0,get:function(){return e[n]}})}),r}var V0={exports:{}};function No(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var G0={exports:{}};const Lo={},Uo=Object.freeze(Object.defineProperty({__proto__:null,default:Lo},Symbol.toStringTag,{value:"Module"})),zo=qo(Uo);var $o=G0.exports,Ot;function $(){return Ot||(Ot=1,(function(e,t){(function(r,n){e.exports=n()})($o,function(){var r=r||(function(n,o){var a;if(typeof window<"u"&&window.crypto&&(a=window.crypto),typeof self<"u"&&self.crypto&&(a=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(a=globalThis.crypto),!a&&typeof window<"u"&&window.msCrypto&&(a=window.msCrypto),!a&&typeof Me<"u"&&Me.crypto&&(a=Me.crypto),!a&&typeof No=="function")try{a=zo}catch{}var x=function(){if(a){if(typeof a.getRandomValues=="function")try{return a.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof a.randomBytes=="function")try{return a.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},c=Object.create||(function(){function h(){}return function(d){var B;return h.prototype=d,B=new h,h.prototype=null,B}})(),v={},i=v.lib={},s=i.Base=(function(){return{extend:function(h){var d=c(this);return h&&d.mixIn(h),(!d.hasOwnProperty("init")||this.init===d.init)&&(d.init=function(){d.$super.init.apply(this,arguments)}),d.init.prototype=d,d.$super=this,d},create:function(){var h=this.extend();return h.init.apply(h,arguments),h},init:function(){},mixIn:function(h){for(var d in h)h.hasOwnProperty(d)&&(this[d]=h[d]);h.hasOwnProperty("toString")&&(this.toString=h.toString)},clone:function(){return this.init.prototype.extend(this)}}})(),E=i.WordArray=s.extend({init:function(h,d){h=this.words=h||[],d!=o?this.sigBytes=d:this.sigBytes=h.length*4},toString:function(h){return(h||C).stringify(this)},concat:function(h){var d=this.words,B=h.words,F=this.sigBytes,g=h.sigBytes;if(this.clamp(),F%4)for(var y=0;y<g;y++){var D=B[y>>>2]>>>24-y%4*8&255;d[F+y>>>2]|=D<<24-(F+y)%4*8}else for(var H=0;H<g;H+=4)d[F+H>>>2]=B[H>>>2];return this.sigBytes+=g,this},clamp:function(){var h=this.words,d=this.sigBytes;h[d>>>2]&=4294967295<<32-d%4*8,h.length=n.ceil(d/4)},clone:function(){var h=s.clone.call(this);return h.words=this.words.slice(0),h},random:function(h){for(var d=[],B=0;B<h;B+=4)d.push(x());return new E.init(d,h)}}),l=v.enc={},C=l.Hex={stringify:function(h){for(var d=h.words,B=h.sigBytes,F=[],g=0;g<B;g++){var y=d[g>>>2]>>>24-g%4*8&255;F.push((y>>>4).toString(16)),F.push((y&15).toString(16))}return F.join("")},parse:function(h){for(var d=h.length,B=[],F=0;F<d;F+=2)B[F>>>3]|=parseInt(h.substr(F,2),16)<<24-F%8*4;return new E.init(B,d/2)}},f=l.Latin1={stringify:function(h){for(var d=h.words,B=h.sigBytes,F=[],g=0;g<B;g++){var y=d[g>>>2]>>>24-g%4*8&255;F.push(String.fromCharCode(y))}return F.join("")},parse:function(h){for(var d=h.length,B=[],F=0;F<d;F++)B[F>>>2]|=(h.charCodeAt(F)&255)<<24-F%4*8;return new E.init(B,d)}},p=l.Utf8={stringify:function(h){try{return decodeURIComponent(escape(f.stringify(h)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(h){return f.parse(unescape(encodeURIComponent(h)))}},u=i.BufferedBlockAlgorithm=s.extend({reset:function(){this._data=new E.init,this._nDataBytes=0},_append:function(h){typeof h=="string"&&(h=p.parse(h)),this._data.concat(h),this._nDataBytes+=h.sigBytes},_process:function(h){var d,B=this._data,F=B.words,g=B.sigBytes,y=this.blockSize,D=y*4,H=g/D;h?H=n.ceil(H):H=n.max((H|0)-this._minBufferSize,0);var A=H*y,b=n.min(A*4,g);if(A){for(var k=0;k<A;k+=y)this._doProcessBlock(F,k);d=F.splice(0,A),B.sigBytes-=b}return new E.init(d,b)},clone:function(){var h=s.clone.call(this);return h._data=this._data.clone(),h},_minBufferSize:0});i.Hasher=u.extend({cfg:s.extend(),init:function(h){this.cfg=this.cfg.extend(h),this.reset()},reset:function(){u.reset.call(this),this._doReset()},update:function(h){return this._append(h),this._process(),this},finalize:function(h){h&&this._append(h);var d=this._doFinalize();return d},blockSize:16,_createHelper:function(h){return function(d,B){return new h.init(B).finalize(d)}},_createHmacHelper:function(h){return function(d,B){return new m.HMAC.init(h,B).finalize(d)}}});var m=v.algo={};return v})(Math);return r})})(G0)),G0.exports}var Q0={exports:{}},Io=Q0.exports,Ht;function Ne(){return Ht||(Ht=1,(function(e,t){(function(r,n){e.exports=n($())})(Io,function(r){return(function(n){var o=r,a=o.lib,x=a.Base,c=a.WordArray,v=o.x64={};v.Word=x.extend({init:function(i,s){this.high=i,this.low=s}}),v.WordArray=x.extend({init:function(i,s){i=this.words=i||[],s!=n?this.sigBytes=s:this.sigBytes=i.length*8},toX32:function(){for(var i=this.words,s=i.length,E=[],l=0;l<s;l++){var C=i[l];E.push(C.high),E.push(C.low)}return c.create(E,this.sigBytes)},clone:function(){for(var i=x.clone.call(this),s=i.words=this.words.slice(0),E=s.length,l=0;l<E;l++)s[l]=s[l].clone();return i}})})(),r})})(Q0)),Q0.exports}var Z0={exports:{}},jo=Z0.exports,Pt;function Wo(){return Pt||(Pt=1,(function(e,t){(function(r,n){e.exports=n($())})(jo,function(r){return(function(){if(typeof ArrayBuffer=="function"){var n=r,o=n.lib,a=o.WordArray,x=a.init,c=a.init=function(v){if(v instanceof ArrayBuffer&&(v=new Uint8Array(v)),(v instanceof Int8Array||typeof Uint8ClampedArray<"u"&&v instanceof Uint8ClampedArray||v instanceof Int16Array||v instanceof Uint16Array||v instanceof Int32Array||v instanceof Uint32Array||v instanceof Float32Array||v instanceof Float64Array)&&(v=new Uint8Array(v.buffer,v.byteOffset,v.byteLength)),v instanceof Uint8Array){for(var i=v.byteLength,s=[],E=0;E<i;E++)s[E>>>2]|=v[E]<<24-E%4*8;x.call(this,s,i)}else x.apply(this,arguments)};c.prototype=a}})(),r.lib.WordArray})})(Z0)),Z0.exports}var J0={exports:{}},Mo=J0.exports,qt;function Ko(){return qt||(qt=1,(function(e,t){(function(r,n){e.exports=n($())})(Mo,function(r){return(function(){var n=r,o=n.lib,a=o.WordArray,x=n.enc;x.Utf16=x.Utf16BE={stringify:function(v){for(var i=v.words,s=v.sigBytes,E=[],l=0;l<s;l+=2){var C=i[l>>>2]>>>16-l%4*8&65535;E.push(String.fromCharCode(C))}return E.join("")},parse:function(v){for(var i=v.length,s=[],E=0;E<i;E++)s[E>>>1]|=v.charCodeAt(E)<<16-E%2*16;return a.create(s,i*2)}},x.Utf16LE={stringify:function(v){for(var i=v.words,s=v.sigBytes,E=[],l=0;l<s;l+=2){var C=c(i[l>>>2]>>>16-l%4*8&65535);E.push(String.fromCharCode(C))}return E.join("")},parse:function(v){for(var i=v.length,s=[],E=0;E<i;E++)s[E>>>1]|=c(v.charCodeAt(E)<<16-E%2*16);return a.create(s,i*2)}};function c(v){return v<<8&4278255360|v>>>8&16711935}})(),r.enc.Utf16})})(J0)),J0.exports}var Y0={exports:{}},Xo=Y0.exports,Nt;function C0(){return Nt||(Nt=1,(function(e,t){(function(r,n){e.exports=n($())})(Xo,function(r){return(function(){var n=r,o=n.lib,a=o.WordArray,x=n.enc;x.Base64={stringify:function(v){var i=v.words,s=v.sigBytes,E=this._map;v.clamp();for(var l=[],C=0;C<s;C+=3)for(var f=i[C>>>2]>>>24-C%4*8&255,p=i[C+1>>>2]>>>24-(C+1)%4*8&255,u=i[C+2>>>2]>>>24-(C+2)%4*8&255,m=f<<16|p<<8|u,h=0;h<4&&C+h*.75<s;h++)l.push(E.charAt(m>>>6*(3-h)&63));var d=E.charAt(64);if(d)for(;l.length%4;)l.push(d);return l.join("")},parse:function(v){var i=v.length,s=this._map,E=this._reverseMap;if(!E){E=this._reverseMap=[];for(var l=0;l<s.length;l++)E[s.charCodeAt(l)]=l}var C=s.charAt(64);if(C){var f=v.indexOf(C);f!==-1&&(i=f)}return c(v,i,E)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function c(v,i,s){for(var E=[],l=0,C=0;C<i;C++)if(C%4){var f=s[v.charCodeAt(C-1)]<<C%4*2,p=s[v.charCodeAt(C)]>>>6-C%4*2,u=f|p;E[l>>>2]|=u<<24-l%4*8,l++}return a.create(E,l)}})(),r.enc.Base64})})(Y0)),Y0.exports}var ee={exports:{}},Vo=ee.exports,Lt;function Go(){return Lt||(Lt=1,(function(e,t){(function(r,n){e.exports=n($())})(Vo,function(r){return(function(){var n=r,o=n.lib,a=o.WordArray,x=n.enc;x.Base64url={stringify:function(v,i){i===void 0&&(i=!0);var s=v.words,E=v.sigBytes,l=i?this._safe_map:this._map;v.clamp();for(var C=[],f=0;f<E;f+=3)for(var p=s[f>>>2]>>>24-f%4*8&255,u=s[f+1>>>2]>>>24-(f+1)%4*8&255,m=s[f+2>>>2]>>>24-(f+2)%4*8&255,h=p<<16|u<<8|m,d=0;d<4&&f+d*.75<E;d++)C.push(l.charAt(h>>>6*(3-d)&63));var B=l.charAt(64);if(B)for(;C.length%4;)C.push(B);return C.join("")},parse:function(v,i){i===void 0&&(i=!0);var s=v.length,E=i?this._safe_map:this._map,l=this._reverseMap;if(!l){l=this._reverseMap=[];for(var C=0;C<E.length;C++)l[E.charCodeAt(C)]=C}var f=E.charAt(64);if(f){var p=v.indexOf(f);p!==-1&&(s=p)}return c(v,s,l)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"};function c(v,i,s){for(var E=[],l=0,C=0;C<i;C++)if(C%4){var f=s[v.charCodeAt(C-1)]<<C%4*2,p=s[v.charCodeAt(C)]>>>6-C%4*2,u=f|p;E[l>>>2]|=u<<24-l%4*8,l++}return a.create(E,l)}})(),r.enc.Base64url})})(ee)),ee.exports}var te={exports:{}},Qo=te.exports,Ut;function B0(){return Ut||(Ut=1,(function(e,t){(function(r,n){e.exports=n($())})(Qo,function(r){return(function(n){var o=r,a=o.lib,x=a.WordArray,c=a.Hasher,v=o.algo,i=[];(function(){for(var p=0;p<64;p++)i[p]=n.abs(n.sin(p+1))*4294967296|0})();var s=v.MD5=c.extend({_doReset:function(){this._hash=new x.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(p,u){for(var m=0;m<16;m++){var h=u+m,d=p[h];p[h]=(d<<8|d>>>24)&16711935|(d<<24|d>>>8)&4278255360}var B=this._hash.words,F=p[u+0],g=p[u+1],y=p[u+2],D=p[u+3],H=p[u+4],A=p[u+5],b=p[u+6],k=p[u+7],S=p[u+8],P=p[u+9],q=p[u+10],N=p[u+11],M=p[u+12],U=p[u+13],W=p[u+14],j=p[u+15],_=B[0],R=B[1],O=B[2],T=B[3];_=E(_,R,O,T,F,7,i[0]),T=E(T,_,R,O,g,12,i[1]),O=E(O,T,_,R,y,17,i[2]),R=E(R,O,T,_,D,22,i[3]),_=E(_,R,O,T,H,7,i[4]),T=E(T,_,R,O,A,12,i[5]),O=E(O,T,_,R,b,17,i[6]),R=E(R,O,T,_,k,22,i[7]),_=E(_,R,O,T,S,7,i[8]),T=E(T,_,R,O,P,12,i[9]),O=E(O,T,_,R,q,17,i[10]),R=E(R,O,T,_,N,22,i[11]),_=E(_,R,O,T,M,7,i[12]),T=E(T,_,R,O,U,12,i[13]),O=E(O,T,_,R,W,17,i[14]),R=E(R,O,T,_,j,22,i[15]),_=l(_,R,O,T,g,5,i[16]),T=l(T,_,R,O,b,9,i[17]),O=l(O,T,_,R,N,14,i[18]),R=l(R,O,T,_,F,20,i[19]),_=l(_,R,O,T,A,5,i[20]),T=l(T,_,R,O,q,9,i[21]),O=l(O,T,_,R,j,14,i[22]),R=l(R,O,T,_,H,20,i[23]),_=l(_,R,O,T,P,5,i[24]),T=l(T,_,R,O,W,9,i[25]),O=l(O,T,_,R,D,14,i[26]),R=l(R,O,T,_,S,20,i[27]),_=l(_,R,O,T,U,5,i[28]),T=l(T,_,R,O,y,9,i[29]),O=l(O,T,_,R,k,14,i[30]),R=l(R,O,T,_,M,20,i[31]),_=C(_,R,O,T,A,4,i[32]),T=C(T,_,R,O,S,11,i[33]),O=C(O,T,_,R,N,16,i[34]),R=C(R,O,T,_,W,23,i[35]),_=C(_,R,O,T,g,4,i[36]),T=C(T,_,R,O,H,11,i[37]),O=C(O,T,_,R,k,16,i[38]),R=C(R,O,T,_,q,23,i[39]),_=C(_,R,O,T,U,4,i[40]),T=C(T,_,R,O,F,11,i[41]),O=C(O,T,_,R,D,16,i[42]),R=C(R,O,T,_,b,23,i[43]),_=C(_,R,O,T,P,4,i[44]),T=C(T,_,R,O,M,11,i[45]),O=C(O,T,_,R,j,16,i[46]),R=C(R,O,T,_,y,23,i[47]),_=f(_,R,O,T,F,6,i[48]),T=f(T,_,R,O,k,10,i[49]),O=f(O,T,_,R,W,15,i[50]),R=f(R,O,T,_,A,21,i[51]),_=f(_,R,O,T,M,6,i[52]),T=f(T,_,R,O,D,10,i[53]),O=f(O,T,_,R,q,15,i[54]),R=f(R,O,T,_,g,21,i[55]),_=f(_,R,O,T,S,6,i[56]),T=f(T,_,R,O,j,10,i[57]),O=f(O,T,_,R,b,15,i[58]),R=f(R,O,T,_,U,21,i[59]),_=f(_,R,O,T,H,6,i[60]),T=f(T,_,R,O,N,10,i[61]),O=f(O,T,_,R,y,15,i[62]),R=f(R,O,T,_,P,21,i[63]),B[0]=B[0]+_|0,B[1]=B[1]+R|0,B[2]=B[2]+O|0,B[3]=B[3]+T|0},_doFinalize:function(){var p=this._data,u=p.words,m=this._nDataBytes*8,h=p.sigBytes*8;u[h>>>5]|=128<<24-h%32;var d=n.floor(m/4294967296),B=m;u[(h+64>>>9<<4)+15]=(d<<8|d>>>24)&16711935|(d<<24|d>>>8)&4278255360,u[(h+64>>>9<<4)+14]=(B<<8|B>>>24)&16711935|(B<<24|B>>>8)&4278255360,p.sigBytes=(u.length+1)*4,this._process();for(var F=this._hash,g=F.words,y=0;y<4;y++){var D=g[y];g[y]=(D<<8|D>>>24)&16711935|(D<<24|D>>>8)&4278255360}return F},clone:function(){var p=c.clone.call(this);return p._hash=this._hash.clone(),p}});function E(p,u,m,h,d,B,F){var g=p+(u&m|~u&h)+d+F;return(g<<B|g>>>32-B)+u}function l(p,u,m,h,d,B,F){var g=p+(u&h|m&~h)+d+F;return(g<<B|g>>>32-B)+u}function C(p,u,m,h,d,B,F){var g=p+(u^m^h)+d+F;return(g<<B|g>>>32-B)+u}function f(p,u,m,h,d,B,F){var g=p+(m^(u|~h))+d+F;return(g<<B|g>>>32-B)+u}o.MD5=c._createHelper(s),o.HmacMD5=c._createHmacHelper(s)})(Math),r.MD5})})(te)),te.exports}var re={exports:{}},Zo=re.exports,zt;function Ur(){return zt||(zt=1,(function(e,t){(function(r,n){e.exports=n($())})(Zo,function(r){return(function(){var n=r,o=n.lib,a=o.WordArray,x=o.Hasher,c=n.algo,v=[],i=c.SHA1=x.extend({_doReset:function(){this._hash=new a.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(s,E){for(var l=this._hash.words,C=l[0],f=l[1],p=l[2],u=l[3],m=l[4],h=0;h<80;h++){if(h<16)v[h]=s[E+h]|0;else{var d=v[h-3]^v[h-8]^v[h-14]^v[h-16];v[h]=d<<1|d>>>31}var B=(C<<5|C>>>27)+m+v[h];h<20?B+=(f&p|~f&u)+1518500249:h<40?B+=(f^p^u)+1859775393:h<60?B+=(f&p|f&u|p&u)-1894007588:B+=(f^p^u)-899497514,m=u,u=p,p=f<<30|f>>>2,f=C,C=B}l[0]=l[0]+C|0,l[1]=l[1]+f|0,l[2]=l[2]+p|0,l[3]=l[3]+u|0,l[4]=l[4]+m|0},_doFinalize:function(){var s=this._data,E=s.words,l=this._nDataBytes*8,C=s.sigBytes*8;return E[C>>>5]|=128<<24-C%32,E[(C+64>>>9<<4)+14]=Math.floor(l/4294967296),E[(C+64>>>9<<4)+15]=l,s.sigBytes=E.length*4,this._process(),this._hash},clone:function(){var s=x.clone.call(this);return s._hash=this._hash.clone(),s}});n.SHA1=x._createHelper(i),n.HmacSHA1=x._createHmacHelper(i)})(),r.SHA1})})(re)),re.exports}var ne={exports:{}},Jo=ne.exports,$t;function tt(){return $t||($t=1,(function(e,t){(function(r,n){e.exports=n($())})(Jo,function(r){return(function(n){var o=r,a=o.lib,x=a.WordArray,c=a.Hasher,v=o.algo,i=[],s=[];(function(){function C(m){for(var h=n.sqrt(m),d=2;d<=h;d++)if(!(m%d))return!1;return!0}function f(m){return(m-(m|0))*4294967296|0}for(var p=2,u=0;u<64;)C(p)&&(u<8&&(i[u]=f(n.pow(p,1/2))),s[u]=f(n.pow(p,1/3)),u++),p++})();var E=[],l=v.SHA256=c.extend({_doReset:function(){this._hash=new x.init(i.slice(0))},_doProcessBlock:function(C,f){for(var p=this._hash.words,u=p[0],m=p[1],h=p[2],d=p[3],B=p[4],F=p[5],g=p[6],y=p[7],D=0;D<64;D++){if(D<16)E[D]=C[f+D]|0;else{var H=E[D-15],A=(H<<25|H>>>7)^(H<<14|H>>>18)^H>>>3,b=E[D-2],k=(b<<15|b>>>17)^(b<<13|b>>>19)^b>>>10;E[D]=A+E[D-7]+k+E[D-16]}var S=B&F^~B&g,P=u&m^u&h^m&h,q=(u<<30|u>>>2)^(u<<19|u>>>13)^(u<<10|u>>>22),N=(B<<26|B>>>6)^(B<<21|B>>>11)^(B<<7|B>>>25),M=y+N+S+s[D]+E[D],U=q+P;y=g,g=F,F=B,B=d+M|0,d=h,h=m,m=u,u=M+U|0}p[0]=p[0]+u|0,p[1]=p[1]+m|0,p[2]=p[2]+h|0,p[3]=p[3]+d|0,p[4]=p[4]+B|0,p[5]=p[5]+F|0,p[6]=p[6]+g|0,p[7]=p[7]+y|0},_doFinalize:function(){var C=this._data,f=C.words,p=this._nDataBytes*8,u=C.sigBytes*8;return f[u>>>5]|=128<<24-u%32,f[(u+64>>>9<<4)+14]=n.floor(p/4294967296),f[(u+64>>>9<<4)+15]=p,C.sigBytes=f.length*4,this._process(),this._hash},clone:function(){var C=c.clone.call(this);return C._hash=this._hash.clone(),C}});o.SHA256=c._createHelper(l),o.HmacSHA256=c._createHmacHelper(l)})(Math),r.SHA256})})(ne)),ne.exports}var oe={exports:{}},Yo=oe.exports,It;function ea(){return It||(It=1,(function(e,t){(function(r,n,o){e.exports=n($(),tt())})(Yo,function(r){return(function(){var n=r,o=n.lib,a=o.WordArray,x=n.algo,c=x.SHA256,v=x.SHA224=c.extend({_doReset:function(){this._hash=new a.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var i=c._doFinalize.call(this);return i.sigBytes-=4,i}});n.SHA224=c._createHelper(v),n.HmacSHA224=c._createHmacHelper(v)})(),r.SHA224})})(oe)),oe.exports}var ae={exports:{}},ta=ae.exports,jt;function zr(){return jt||(jt=1,(function(e,t){(function(r,n,o){e.exports=n($(),Ne())})(ta,function(r){return(function(){var n=r,o=n.lib,a=o.Hasher,x=n.x64,c=x.Word,v=x.WordArray,i=n.algo;function s(){return c.create.apply(c,arguments)}var E=[s(1116352408,3609767458),s(1899447441,602891725),s(3049323471,3964484399),s(3921009573,2173295548),s(961987163,4081628472),s(1508970993,3053834265),s(2453635748,2937671579),s(2870763221,3664609560),s(3624381080,2734883394),s(310598401,1164996542),s(607225278,1323610764),s(1426881987,3590304994),s(1925078388,4068182383),s(2162078206,991336113),s(2614888103,633803317),s(3248222580,3479774868),s(3835390401,2666613458),s(4022224774,944711139),s(264347078,2341262773),s(604807628,2007800933),s(770255983,1495990901),s(1249150122,1856431235),s(1555081692,3175218132),s(1996064986,2198950837),s(2554220882,3999719339),s(2821834349,766784016),s(2952996808,2566594879),s(3210313671,3203337956),s(3336571891,1034457026),s(3584528711,2466948901),s(113926993,3758326383),s(338241895,168717936),s(666307205,1188179964),s(773529912,1546045734),s(1294757372,1522805485),s(1396182291,2643833823),s(1695183700,2343527390),s(1986661051,1014477480),s(2177026350,1206759142),s(2456956037,344077627),s(2730485921,1290863460),s(2820302411,3158454273),s(3259730800,3505952657),s(3345764771,106217008),s(3516065817,3606008344),s(3600352804,1432725776),s(4094571909,1467031594),s(275423344,851169720),s(430227734,3100823752),s(506948616,1363258195),s(659060556,3750685593),s(883997877,3785050280),s(958139571,3318307427),s(1322822218,3812723403),s(1537002063,2003034995),s(1747873779,3602036899),s(1955562222,1575990012),s(2024104815,1125592928),s(2227730452,2716904306),s(2361852424,442776044),s(2428436474,593698344),s(2756734187,3733110249),s(3204031479,2999351573),s(3329325298,3815920427),s(3391569614,3928383900),s(3515267271,566280711),s(3940187606,3454069534),s(4118630271,4000239992),s(116418474,1914138554),s(174292421,2731055270),s(289380356,3203993006),s(460393269,320620315),s(685471733,587496836),s(852142971,1086792851),s(1017036298,365543100),s(1126000580,2618297676),s(1288033470,3409855158),s(1501505948,4234509866),s(1607167915,987167468),s(1816402316,1246189591)],l=[];(function(){for(var f=0;f<80;f++)l[f]=s()})();var C=i.SHA512=a.extend({_doReset:function(){this._hash=new v.init([new c.init(1779033703,4089235720),new c.init(3144134277,2227873595),new c.init(1013904242,4271175723),new c.init(2773480762,1595750129),new c.init(1359893119,2917565137),new c.init(2600822924,725511199),new c.init(528734635,4215389547),new c.init(1541459225,327033209)])},_doProcessBlock:function(f,p){for(var u=this._hash.words,m=u[0],h=u[1],d=u[2],B=u[3],F=u[4],g=u[5],y=u[6],D=u[7],H=m.high,A=m.low,b=h.high,k=h.low,S=d.high,P=d.low,q=B.high,N=B.low,M=F.high,U=F.low,W=g.high,j=g.low,_=y.high,R=y.low,O=D.high,T=D.low,K=H,X=A,Z=b,z=k,_0=S,m0=P,Ue=q,S0=N,i0=M,n0=U,$0=W,k0=j,I0=_,T0=R,ze=O,R0=T,s0=0;s0<80;s0++){var a0,l0,j0=l[s0];if(s0<16)l0=j0.high=f[p+s0*2]|0,a0=j0.low=f[p+s0*2+1]|0;else{var ot=l[s0-15],A0=ot.high,O0=ot.low,jr=(A0>>>1|O0<<31)^(A0>>>8|O0<<24)^A0>>>7,at=(O0>>>1|A0<<31)^(O0>>>8|A0<<24)^(O0>>>7|A0<<25),it=l[s0-2],F0=it.high,H0=it.low,Wr=(F0>>>19|H0<<13)^(F0<<3|H0>>>29)^F0>>>6,st=(H0>>>19|F0<<13)^(H0<<3|F0>>>29)^(H0>>>6|F0<<26),xt=l[s0-7],Mr=xt.high,Kr=xt.low,ct=l[s0-16],Xr=ct.high,ft=ct.low;a0=at+Kr,l0=jr+Mr+(a0>>>0<at>>>0?1:0),a0=a0+st,l0=l0+Wr+(a0>>>0<st>>>0?1:0),a0=a0+ft,l0=l0+Xr+(a0>>>0<ft>>>0?1:0),j0.high=l0,j0.low=a0}var Vr=i0&$0^~i0&I0,lt=n0&k0^~n0&T0,Gr=K&Z^K&_0^Z&_0,Qr=X&z^X&m0^z&m0,Zr=(K>>>28|X<<4)^(K<<30|X>>>2)^(K<<25|X>>>7),ut=(X>>>28|K<<4)^(X<<30|K>>>2)^(X<<25|K>>>7),Jr=(i0>>>14|n0<<18)^(i0>>>18|n0<<14)^(i0<<23|n0>>>9),Yr=(n0>>>14|i0<<18)^(n0>>>18|i0<<14)^(n0<<23|i0>>>9),dt=E[s0],en=dt.high,ht=dt.low,o0=R0+Yr,u0=ze+Jr+(o0>>>0<R0>>>0?1:0),o0=o0+lt,u0=u0+Vr+(o0>>>0<lt>>>0?1:0),o0=o0+ht,u0=u0+en+(o0>>>0<ht>>>0?1:0),o0=o0+a0,u0=u0+l0+(o0>>>0<a0>>>0?1:0),pt=ut+Qr,tn=Zr+Gr+(pt>>>0<ut>>>0?1:0);ze=I0,R0=T0,I0=$0,T0=k0,$0=i0,k0=n0,n0=S0+o0|0,i0=Ue+u0+(n0>>>0<S0>>>0?1:0)|0,Ue=_0,S0=m0,_0=Z,m0=z,Z=K,z=X,X=o0+pt|0,K=u0+tn+(X>>>0<o0>>>0?1:0)|0}A=m.low=A+X,m.high=H+K+(A>>>0<X>>>0?1:0),k=h.low=k+z,h.high=b+Z+(k>>>0<z>>>0?1:0),P=d.low=P+m0,d.high=S+_0+(P>>>0<m0>>>0?1:0),N=B.low=N+S0,B.high=q+Ue+(N>>>0<S0>>>0?1:0),U=F.low=U+n0,F.high=M+i0+(U>>>0<n0>>>0?1:0),j=g.low=j+k0,g.high=W+$0+(j>>>0<k0>>>0?1:0),R=y.low=R+T0,y.high=_+I0+(R>>>0<T0>>>0?1:0),T=D.low=T+R0,D.high=O+ze+(T>>>0<R0>>>0?1:0)},_doFinalize:function(){var f=this._data,p=f.words,u=this._nDataBytes*8,m=f.sigBytes*8;p[m>>>5]|=128<<24-m%32,p[(m+128>>>10<<5)+30]=Math.floor(u/4294967296),p[(m+128>>>10<<5)+31]=u,f.sigBytes=p.length*4,this._process();var h=this._hash.toX32();return h},clone:function(){var f=a.clone.call(this);return f._hash=this._hash.clone(),f},blockSize:1024/32});n.SHA512=a._createHelper(C),n.HmacSHA512=a._createHmacHelper(C)})(),r.SHA512})})(ae)),ae.exports}var ie={exports:{}},ra=ie.exports,Wt;function na(){return Wt||(Wt=1,(function(e,t){(function(r,n,o){e.exports=n($(),Ne(),zr())})(ra,function(r){return(function(){var n=r,o=n.x64,a=o.Word,x=o.WordArray,c=n.algo,v=c.SHA512,i=c.SHA384=v.extend({_doReset:function(){this._hash=new x.init([new a.init(3418070365,3238371032),new a.init(1654270250,914150663),new a.init(2438529370,812702999),new a.init(355462360,4144912697),new a.init(1731405415,4290775857),new a.init(2394180231,1750603025),new a.init(3675008525,1694076839),new a.init(1203062813,3204075428)])},_doFinalize:function(){var s=v._doFinalize.call(this);return s.sigBytes-=16,s}});n.SHA384=v._createHelper(i),n.HmacSHA384=v._createHmacHelper(i)})(),r.SHA384})})(ie)),ie.exports}var se={exports:{}},oa=se.exports,Mt;function aa(){return Mt||(Mt=1,(function(e,t){(function(r,n,o){e.exports=n($(),Ne())})(oa,function(r){return(function(n){var o=r,a=o.lib,x=a.WordArray,c=a.Hasher,v=o.x64,i=v.Word,s=o.algo,E=[],l=[],C=[];(function(){for(var u=1,m=0,h=0;h<24;h++){E[u+5*m]=(h+1)*(h+2)/2%64;var d=m%5,B=(2*u+3*m)%5;u=d,m=B}for(var u=0;u<5;u++)for(var m=0;m<5;m++)l[u+5*m]=m+(2*u+3*m)%5*5;for(var F=1,g=0;g<24;g++){for(var y=0,D=0,H=0;H<7;H++){if(F&1){var A=(1<<H)-1;A<32?D^=1<<A:y^=1<<A-32}F&128?F=F<<1^113:F<<=1}C[g]=i.create(y,D)}})();var f=[];(function(){for(var u=0;u<25;u++)f[u]=i.create()})();var p=s.SHA3=c.extend({cfg:c.cfg.extend({outputLength:512}),_doReset:function(){for(var u=this._state=[],m=0;m<25;m++)u[m]=new i.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(u,m){for(var h=this._state,d=this.blockSize/2,B=0;B<d;B++){var F=u[m+2*B],g=u[m+2*B+1];F=(F<<8|F>>>24)&16711935|(F<<24|F>>>8)&4278255360,g=(g<<8|g>>>24)&16711935|(g<<24|g>>>8)&4278255360;var y=h[B];y.high^=g,y.low^=F}for(var D=0;D<24;D++){for(var H=0;H<5;H++){for(var A=0,b=0,k=0;k<5;k++){var y=h[H+5*k];A^=y.high,b^=y.low}var S=f[H];S.high=A,S.low=b}for(var H=0;H<5;H++)for(var P=f[(H+4)%5],q=f[(H+1)%5],N=q.high,M=q.low,A=P.high^(N<<1|M>>>31),b=P.low^(M<<1|N>>>31),k=0;k<5;k++){var y=h[H+5*k];y.high^=A,y.low^=b}for(var U=1;U<25;U++){var A,b,y=h[U],W=y.high,j=y.low,_=E[U];_<32?(A=W<<_|j>>>32-_,b=j<<_|W>>>32-_):(A=j<<_-32|W>>>64-_,b=W<<_-32|j>>>64-_);var R=f[l[U]];R.high=A,R.low=b}var O=f[0],T=h[0];O.high=T.high,O.low=T.low;for(var H=0;H<5;H++)for(var k=0;k<5;k++){var U=H+5*k,y=h[U],K=f[U],X=f[(H+1)%5+5*k],Z=f[(H+2)%5+5*k];y.high=K.high^~X.high&Z.high,y.low=K.low^~X.low&Z.low}var y=h[0],z=C[D];y.high^=z.high,y.low^=z.low}},_doFinalize:function(){var u=this._data,m=u.words;this._nDataBytes*8;var h=u.sigBytes*8,d=this.blockSize*32;m[h>>>5]|=1<<24-h%32,m[(n.ceil((h+1)/d)*d>>>5)-1]|=128,u.sigBytes=m.length*4,this._process();for(var B=this._state,F=this.cfg.outputLength/8,g=F/8,y=[],D=0;D<g;D++){var H=B[D],A=H.high,b=H.low;A=(A<<8|A>>>24)&16711935|(A<<24|A>>>8)&4278255360,b=(b<<8|b>>>24)&16711935|(b<<24|b>>>8)&4278255360,y.push(b),y.push(A)}return new x.init(y,F)},clone:function(){for(var u=c.clone.call(this),m=u._state=this._state.slice(0),h=0;h<25;h++)m[h]=m[h].clone();return u}});o.SHA3=c._createHelper(p),o.HmacSHA3=c._createHmacHelper(p)})(Math),r.SHA3})})(se)),se.exports}var xe={exports:{}},ia=xe.exports,Kt;function sa(){return Kt||(Kt=1,(function(e,t){(function(r,n){e.exports=n($())})(ia,function(r){/** @preserve
7
7
  (c) 2012 by Cédric Mesnil. All rights reserved.
8
8
 
9
9
  Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
package/dist/index.esm.js CHANGED
@@ -2053,9 +2053,14 @@ const P0 = {
2053
2053
  n == null || n.forEach((a, x) => {
2054
2054
  const { serverProtocolType: c = "http", serverCode: v, serverDomain: i = "", serverNameSpace: s } = a;
2055
2055
  let E = s;
2056
- E && E.length > 0 && E.indexOf("/") !== 0 && (E += "/");
2057
- const l = c + "://" + i + E;
2058
- o[v] = l;
2056
+ if (E && E.length > 0) {
2057
+ E.indexOf("/") !== 0 && (E = "/" + E);
2058
+ const l = c + "://" + i + E;
2059
+ o[v] = l;
2060
+ } else {
2061
+ const l = c + "://" + i;
2062
+ o[v] = l;
2063
+ }
2059
2064
  }), window.localStorage.setItem("com.leadal.portal.service.map", JSON.stringify(o)), e(o);
2060
2065
  } catch (r) {
2061
2066
  console.error(r), t([]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "leadal-portal-base",
3
- "version": "0.0.14",
3
+ "version": "0.0.16",
4
4
  "description": "该工程核心将跨工程通用依赖的部分封装依赖。",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs.js",