isdata-customer-sdk 0.1.21 → 0.1.22
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.js +5 -0
- package/dist/index.js.map +1 -1
- package/dist/index.umd.js +5 -0
- package/dist/index.umd.js.map +1 -1
- package/dist/index.umd.min.js +1 -1
- package/dist/index.umd.min.js.map +1 -1
- package/package.json +1 -1
package/dist/index.umd.min.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
(function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e():"function"===typeof define&&define.amd?define([],e):"object"===typeof exports?exports["index"]=e():t["index"]=e()})("undefined"!==typeof self?self:this,(function(){return function(){var t={34:function(t,e,r){"use strict";var n=r(4901);t.exports=function(t){return"object"==typeof t?null!==t:n(t)}},81:function(t,e,r){"use strict";var n=r(9565),o=r(9306),i=r(8551),s=r(6823),u=r(851),c=TypeError;t.exports=function(t,e){var r=arguments.length<2?u(t):e;if(o(r))return i(n(r,t));throw new c(s(t)+" is not iterable")}},116:function(t,e,r){"use strict";var n=r(6518),o=r(9565),i=r(2652),s=r(9306),u=r(8551),c=r(1767),a=r(9539),f=r(4549),p=f("find",TypeError);n({target:"Iterator",proto:!0,real:!0,forced:p},{find:function(t){u(this);try{s(t)}catch(n){a(this,"throw",n)}if(p)return o(p,this,t);var e=c(this),r=0;return i(e,(function(e,n){if(t(e,r++))return n(e)}),{IS_RECORD:!0,INTERRUPTED:!0}).result}})},283:function(t,e,r){"use strict";var n=r(9504),o=r(9039),i=r(4901),s=r(9297),u=r(3724),c=r(350).CONFIGURABLE,a=r(3706),f=r(1181),p=f.enforce,l=f.get,d=String,h=Object.defineProperty,v=n("".slice),y=n("".replace),m=n([].join),g=u&&!o((function(){return 8!==h((function(){}),"length",{value:8}).length})),b=String(String).split("String"),w=t.exports=function(t,e,r){"Symbol("===v(d(e),0,7)&&(e="["+y(d(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!s(t,"name")||c&&t.name!==e)&&(u?h(t,"name",{value:e,configurable:!0}):t.name=e),g&&r&&s(r,"arity")&&t.length!==r.arity&&h(t,"length",{value:r.arity});try{r&&s(r,"constructor")&&r.constructor?u&&h(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(o){}var n=p(t);return s(n,"source")||(n.source=m(b,"string"==typeof e?e:"")),t};Function.prototype.toString=w((function(){return i(this)&&l(this).source||a(this)}),"toString")},350:function(t,e,r){"use strict";var n=r(3724),o=r(9297),i=Function.prototype,s=n&&Object.getOwnPropertyDescriptor,u=o(i,"name"),c=u&&"something"===function(){}.name,a=u&&(!n||n&&s(i,"name").configurable);t.exports={EXISTS:u,PROPER:c,CONFIGURABLE:a}},397:function(t,e,r){"use strict";var n=r(7751);t.exports=n("document","documentElement")},421:function(t){"use strict";t.exports={}},616:function(t,e,r){"use strict";var n=r(9039);t.exports=!n((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},679:function(t,e,r){"use strict";var n=r(1625),o=TypeError;t.exports=function(t,e){if(n(e,t))return t;throw new o("Incorrect invocation")}},741:function(t){"use strict";var e=Math.ceil,r=Math.floor;t.exports=Math.trunc||function(t){var n=+t;return(n>0?r:e)(n)}},757:function(t,e,r){"use strict";var n=r(7751),o=r(4901),i=r(1625),s=r(7040),u=Object;t.exports=s?function(t){return"symbol"==typeof t}:function(t){var e=n("Symbol");return o(e)&&i(e.prototype,u(t))}},851:function(t,e,r){"use strict";var n=r(6955),o=r(5966),i=r(4117),s=r(6269),u=r(8227),c=u("iterator");t.exports=function(t){if(!i(t))return o(t,c)||o(t,"@@iterator")||s[n(t)]}},1072:function(t,e,r){"use strict";var n=r(1828),o=r(8727);t.exports=Object.keys||function(t){return n(t,o)}},1181:function(t,e,r){"use strict";var n,o,i,s=r(8622),u=r(4576),c=r(34),a=r(6699),f=r(9297),p=r(7629),l=r(6119),d=r(421),h="Object already initialized",v=u.TypeError,y=u.WeakMap,m=function(t){return i(t)?o(t):n(t,{})},g=function(t){return function(e){var r;if(!c(e)||(r=o(e)).type!==t)throw new v("Incompatible receiver, "+t+" required");return r}};if(s||p.state){var b=p.state||(p.state=new y);b.get=b.get,b.has=b.has,b.set=b.set,n=function(t,e){if(b.has(t))throw new v(h);return e.facade=t,b.set(t,e),e},o=function(t){return b.get(t)||{}},i=function(t){return b.has(t)}}else{var w=l("state");d[w]=!0,n=function(t,e){if(f(t,w))throw new v(h);return e.facade=t,a(t,w,e),e},o=function(t){return f(t,w)?t[w]:{}},i=function(t){return f(t,w)}}t.exports={set:n,get:o,has:i,enforce:m,getterFor:g}},1291:function(t,e,r){"use strict";var n=r(741);t.exports=function(t){var e=+t;return e!==e||0===e?0:n(e)}},1625:function(t,e,r){"use strict";var n=r(9504);t.exports=n({}.isPrototypeOf)},1767:function(t){"use strict";t.exports=function(t){return{iterator:t,next:t.next,done:!1}}},1828:function(t,e,r){"use strict";var n=r(9504),o=r(9297),i=r(5397),s=r(9617).indexOf,u=r(421),c=n([].push);t.exports=function(t,e){var r,n=i(t),a=0,f=[];for(r in n)!o(u,r)&&o(n,r)&&c(f,r);while(e.length>a)o(n,r=e[a++])&&(~s(f,r)||c(f,r));return f}},1928:function(t){"use strict";function e(t){this.message=t}e.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},e.prototype.__CANCEL__=!0,t.exports=e},2012:function(t,e,r){"use strict";var n=r(9516),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];t.exports=function(t){var e,r,i,s={};return t?(n.forEach(t.split("\n"),(function(t){if(i=t.indexOf(":"),e=n.trim(t.substr(0,i)).toLowerCase(),r=n.trim(t.substr(i+1)),e){if(s[e]&&o.indexOf(e)>=0)return;s[e]="set-cookie"===e?(s[e]?s[e]:[]).concat([r]):s[e]?s[e]+", "+r:r}})),s):s}},2106:function(t,e,r){"use strict";var n=r(283),o=r(4913);t.exports=function(t,e,r){return r.get&&n(r.get,e,{getter:!0}),r.set&&n(r.set,e,{setter:!0}),o.f(t,e,r)}},2140:function(t,e,r){"use strict";var n=r(8227),o=n("toStringTag"),i={};i[o]="z",t.exports="[object z]"===String(i)},2195:function(t,e,r){"use strict";var n=r(9504),o=n({}.toString),i=n("".slice);t.exports=function(t){return i(o(t),8,-1)}},2211:function(t,e,r){"use strict";var n=r(9039);t.exports=!n((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},2360:function(t,e,r){"use strict";var n,o=r(8551),i=r(6801),s=r(8727),u=r(421),c=r(397),a=r(4055),f=r(6119),p=">",l="<",d="prototype",h="script",v=f("IE_PROTO"),y=function(){},m=function(t){return l+h+p+t+l+"/"+h+p},g=function(t){t.write(m("")),t.close();var e=t.parentWindow.Object;return t=null,e},b=function(){var t,e=a("iframe"),r="java"+h+":";return e.style.display="none",c.appendChild(e),e.src=String(r),t=e.contentWindow.document,t.open(),t.write(m("document.F=Object")),t.close(),t.F},w=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}w="undefined"!=typeof document?document.domain&&n?g(n):b():g(n);var t=s.length;while(t--)delete w[d][s[t]];return w()};u[v]=!0,t.exports=Object.create||function(t,e){var r;return null!==t?(y[d]=o(t),r=new y,y[d]=null,r[v]=t):r=w(),void 0===e?r:i.f(r,e)}},2489:function(t,e,r){"use strict";var n=r(6518),o=r(9565),i=r(9306),s=r(8551),u=r(1767),c=r(9462),a=r(6319),f=r(6395),p=r(9539),l=r(4549),d=!f&&l("filter",TypeError),h=c((function(){var t,e,r,n=this.iterator,i=this.predicate,u=this.next;while(1){if(t=s(o(u,n)),e=this.done=!!t.done,e)return;if(r=t.value,a(n,i,[r,this.counter++],!0))return r}}));n({target:"Iterator",proto:!0,real:!0,forced:f||d},{filter:function(t){s(this);try{i(t)}catch(e){p(this,"throw",e)}return d?o(d,this,t):new h(u(this),{predicate:t})}})},2505:function(t,e,r){t.exports=r(8015)},2529:function(t){"use strict";t.exports=function(t,e){return{value:t,done:e}}},2652:function(t,e,r){"use strict";var n=r(6080),o=r(9565),i=r(8551),s=r(6823),u=r(4209),c=r(6198),a=r(1625),f=r(81),p=r(851),l=r(9539),d=TypeError,h=function(t,e){this.stopped=t,this.result=e},v=h.prototype;t.exports=function(t,e,r){var y,m,g,b,w,x,O,S=r&&r.that,E=!(!r||!r.AS_ENTRIES),j=!(!r||!r.IS_RECORD),P=!(!r||!r.IS_ITERATOR),T=!(!r||!r.INTERRUPTED),I=n(e,S),R=function(t){return y&&l(y,"normal",t),new h(!0,t)},_=function(t){return E?(i(t),T?I(t[0],t[1],R):I(t[0],t[1])):T?I(t,R):I(t)};if(j)y=t.iterator;else if(P)y=t;else{if(m=p(t),!m)throw new d(s(t)+" is not iterable");if(u(m)){for(g=0,b=c(t);b>g;g++)if(w=_(t[g]),w&&a(v,w))return w;return new h(!1)}y=f(t,m)}x=j?t.next:y.next;while(!(O=o(x,y)).done){try{w=_(O.value)}catch(N){l(y,"throw",N)}if("object"==typeof w&&w&&a(v,w))return w}return new h(!1)}},2777:function(t,e,r){"use strict";var n=r(9565),o=r(34),i=r(757),s=r(5966),u=r(4270),c=r(8227),a=TypeError,f=c("toPrimitive");t.exports=function(t,e){if(!o(t)||i(t))return t;var r,c=s(t,f);if(c){if(void 0===e&&(e="default"),r=n(c,t,e),!o(r)||i(r))return r;throw new a("Can't convert object to primitive value")}return void 0===e&&(e="number"),u(t,e)}},2787:function(t,e,r){"use strict";var n=r(9297),o=r(4901),i=r(8981),s=r(6119),u=r(2211),c=s("IE_PROTO"),a=Object,f=a.prototype;t.exports=u?a.getPrototypeOf:function(t){var e=i(t);if(n(e,c))return e[c];var r=e.constructor;return o(r)&&e instanceof r?r.prototype:e instanceof a?f:null}},2796:function(t,e,r){"use strict";var n=r(9039),o=r(4901),i=/#|\.prototype\./,s=function(t,e){var r=c[u(t)];return r===f||r!==a&&(o(e)?n(e):!!e)},u=s.normalize=function(t){return String(t).replace(i,".").toLowerCase()},c=s.data={},a=s.NATIVE="N",f=s.POLYFILL="P";t.exports=s},2839:function(t,e,r){"use strict";var n=r(4576),o=n.navigator,i=o&&o.userAgent;t.exports=i?String(i):""},2881:function(t,e,r){"use strict";var n=r(9516),o=r(6987);t.exports=function(t,e,r){var i=this||o;return n.forEach(r,(function(r){t=r.call(i,t,e)})),t}},3191:function(t,e,r){"use strict";var n=r(1928);function o(t){if("function"!==typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var r=this;this.promise.then((function(t){if(r._listeners){var e,n=r._listeners.length;for(e=0;e<n;e++)r._listeners[e](t);r._listeners=null}})),this.promise.then=function(t){var e,n=new Promise((function(t){r.subscribe(t),e=t})).then(t);return n.cancel=function(){r.unsubscribe(e)},n},t((function(t){r.reason||(r.reason=new n(t),e(r.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.prototype.subscribe=function(t){this.reason?t(this.reason):this._listeners?this._listeners.push(t):this._listeners=[t]},o.prototype.unsubscribe=function(t){if(this._listeners){var e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}},o.source=function(){var t,e=new o((function(e){t=e}));return{token:e,cancel:t}},t.exports=o},3392:function(t,e,r){"use strict";var n=r(9504),o=0,i=Math.random(),s=n(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+s(++o+i,36)}},3471:function(t,e,r){"use strict";var n=r(9516);function o(){this.handlers=[]}o.prototype.use=function(t,e,r){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},o.prototype.forEach=function(t){n.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=o},3706:function(t,e,r){"use strict";var n=r(9504),o=r(4901),i=r(7629),s=n(Function.toString);o(i.inspectSource)||(i.inspectSource=function(t){return s(t)}),t.exports=i.inspectSource},3717:function(t,e){"use strict";e.f=Object.getOwnPropertySymbols},3724:function(t,e,r){"use strict";var n=r(9039);t.exports=!n((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},3864:function(t){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},3948:function(t,e,r){"use strict";var n=r(9516);t.exports=n.isStandardBrowserEnv()?function(){return{write:function(t,e,r,o,i,s){var u=[];u.push(t+"="+encodeURIComponent(e)),n.isNumber(r)&&u.push("expires="+new Date(r).toGMTString()),n.isString(o)&&u.push("path="+o),n.isString(i)&&u.push("domain="+i),!0===s&&u.push("secure"),document.cookie=u.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},3992:function(t,e){"use strict";var r,n=Object.prototype.hasOwnProperty;function o(t){try{return decodeURIComponent(t.replace(/\+/g," "))}catch(e){return null}}function i(t){try{return encodeURIComponent(t)}catch(e){return null}}function s(t){var e,r=/([^=?#&]+)=?([^&]*)/g,n={};while(e=r.exec(t)){var i=o(e[1]),s=o(e[2]);null===i||null===s||i in n||(n[i]=s)}return n}function u(t,e){e=e||"";var o,s,u=[];for(s in"string"!==typeof e&&(e="?"),t)if(n.call(t,s)){if(o=t[s],o||null!==o&&o!==r&&!isNaN(o)||(o=""),s=i(s),o=i(o),null===s||null===o)continue;u.push(s+"="+o)}return u.length?e+u.join("&"):""}e.stringify=u,e.parse=s},4055:function(t,e,r){"use strict";var n=r(4576),o=r(34),i=n.document,s=o(i)&&o(i.createElement);t.exports=function(t){return s?i.createElement(t):{}}},4114:function(t,e,r){"use strict";var n=r(6518),o=r(8981),i=r(6198),s=r(4527),u=r(6837),c=r(9039),a=c((function(){return 4294967297!==[].push.call({length:4294967296},1)})),f=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(t){return t instanceof TypeError}},p=a||!f();n({target:"Array",proto:!0,arity:1,forced:p},{push:function(t){var e=o(this),r=i(e),n=arguments.length;u(r+n);for(var c=0;c<n;c++)e[r]=arguments[c],r++;return s(e,r),r}})},4117:function(t){"use strict";t.exports=function(t){return null===t||void 0===t}},4202:function(t,e,r){"use strict";var n=r(9516);t.exports=n.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function o(t){var n=t;return e&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return t=o(window.location.href),function(e){var r=n.isString(e)?o(e):e;return r.protocol===t.protocol&&r.host===t.host}}():function(){return function(){return!0}}()},4209:function(t,e,r){"use strict";var n=r(8227),o=r(6269),i=n("iterator"),s=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||s[i]===t)}},4270:function(t,e,r){"use strict";var n=r(9565),o=r(4901),i=r(34),s=TypeError;t.exports=function(t,e){var r,u;if("string"===e&&o(r=t.toString)&&!i(u=n(r,t)))return u;if(o(r=t.valueOf)&&!i(u=n(r,t)))return u;if("string"!==e&&o(r=t.toString)&&!i(u=n(r,t)))return u;throw new s("Can't convert object to primitive value")}},4376:function(t,e,r){"use strict";var n=r(2195);t.exports=Array.isArray||function(t){return"Array"===n(t)}},4490:function(t,e,r){"use strict";var n=r(9516),o=r(2881),i=r(3864),s=r(6987),u=r(1928);function c(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new u("canceled")}t.exports=function(t){c(t),t.headers=t.headers||{},t.data=o.call(t,t.data,t.headers,t.transformRequest),t.headers=n.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),n.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]}));var e=t.adapter||s.adapter;return e(t).then((function(e){return c(t),e.data=o.call(t,e.data,e.headers,t.transformResponse),e}),(function(e){return i(e)||(c(t),e&&e.response&&(e.response.data=o.call(t,e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},4495:function(t,e,r){"use strict";var n=r(9519),o=r(9039),i=r(4576),s=i.String;t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol("symbol detection");return!s(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},4527:function(t,e,r){"use strict";var n=r(3724),o=r(4376),i=TypeError,s=Object.getOwnPropertyDescriptor,u=n&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();t.exports=u?function(t,e){if(o(t)&&!s(t,"length").writable)throw new i("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e}},4549:function(t,e,r){"use strict";var n=r(4576);t.exports=function(t,e){var r=n.Iterator,o=r&&r.prototype,i=o&&o[t],s=!1;if(i)try{i.call({next:function(){return{done:!0}},return:function(){s=!0}},-1)}catch(u){u instanceof e||(s=!1)}if(!s)return i}},4576:function(t,e,r){"use strict";var n=function(t){return t&&t.Math===Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||n("object"==typeof this&&this)||function(){return this}()||Function("return this")()},4659:function(t,e,r){"use strict";var n=r(3724),o=r(4913),i=r(6980);t.exports=function(t,e,r){n?o.f(t,e,i(0,r)):t[e]=r}},4680:function(t){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},4841:function(t,e,r){"use strict";var n=r(9641).version,o={};["object","boolean","number","function","string","symbol"].forEach((function(t,e){o[t]=function(r){return typeof r===t||"a"+(e<1?"n ":" ")+t}}));var i={};function s(t,e,r){if("object"!==typeof t)throw new TypeError("options must be an object");var n=Object.keys(t),o=n.length;while(o-- >0){var i=n[o],s=e[i];if(s){var u=t[i],c=void 0===u||s(u,i,t);if(!0!==c)throw new TypeError("option "+i+" must be "+c)}else if(!0!==r)throw Error("Unknown option "+i)}}o.transitional=function(t,e,r){function o(t,e){return"[Axios v"+n+"] Transitional option '"+t+"'"+e+(r?". "+r:"")}return function(r,n,s){if(!1===t)throw new Error(o(n," has been removed"+(e?" in "+e:"")));return e&&!i[n]&&(i[n]=!0,console.warn(o(n," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(r,n,s)}},t.exports={assertOptions:s,validators:o}},4901:function(t){"use strict";var e="object"==typeof document&&document.all;t.exports="undefined"==typeof e&&void 0!==e?function(t){return"function"==typeof t||t===e}:function(t){return"function"==typeof t}},4913:function(t,e,r){"use strict";var n=r(3724),o=r(5917),i=r(8686),s=r(8551),u=r(6969),c=TypeError,a=Object.defineProperty,f=Object.getOwnPropertyDescriptor,p="enumerable",l="configurable",d="writable";e.f=n?i?function(t,e,r){if(s(t),e=u(e),s(r),"function"===typeof t&&"prototype"===e&&"value"in r&&d in r&&!r[d]){var n=f(t,e);n&&n[d]&&(t[e]=r.value,r={configurable:l in r?r[l]:n[l],enumerable:p in r?r[p]:n[p],writable:!1})}return a(t,e,r)}:a:function(t,e,r){if(s(t),e=u(e),s(r),o)try{return a(t,e,r)}catch(n){}if("get"in r||"set"in r)throw new c("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},5019:function(t){"use strict";t.exports=function(t){return"object"===typeof t&&!0===t.isAxiosError}},5031:function(t,e,r){"use strict";var n=r(7751),o=r(9504),i=r(8480),s=r(3717),u=r(8551),c=o([].concat);t.exports=n("Reflect","ownKeys")||function(t){var e=i.f(u(t)),r=s.f;return r?c(e,r(t)):e}},5155:function(t,e,r){"use strict";var n=r(9516),o=r(9106),i=r(3471),s=r(4490),u=r(5343),c=r(4841),a=c.validators;function f(t){this.defaults=t,this.interceptors={request:new i,response:new i}}f.prototype.request=function(t){"string"===typeof t?(t=arguments[1]||{},t.url=arguments[0]):t=t||{},t=u(this.defaults,t),t.method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var e=t.transitional;void 0!==e&&c.assertOptions(e,{silentJSONParsing:a.transitional(a.boolean),forcedJSONParsing:a.transitional(a.boolean),clarifyTimeoutError:a.transitional(a.boolean)},!1);var r=[],n=!0;this.interceptors.request.forEach((function(e){"function"===typeof e.runWhen&&!1===e.runWhen(t)||(n=n&&e.synchronous,r.unshift(e.fulfilled,e.rejected))}));var o,i=[];if(this.interceptors.response.forEach((function(t){i.push(t.fulfilled,t.rejected)})),!n){var f=[s,void 0];Array.prototype.unshift.apply(f,r),f=f.concat(i),o=Promise.resolve(t);while(f.length)o=o.then(f.shift(),f.shift());return o}var p=t;while(r.length){var l=r.shift(),d=r.shift();try{p=l(p)}catch(h){d(h);break}}try{o=s(p)}catch(h){return Promise.reject(h)}while(i.length)o=o.then(i.shift(),i.shift());return o},f.prototype.getUri=function(t){return t=u(this.defaults,t),o(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},n.forEach(["delete","get","head","options"],(function(t){f.prototype[t]=function(e,r){return this.request(u(r||{},{method:t,url:e,data:(r||{}).data}))}})),n.forEach(["post","put","patch"],(function(t){f.prototype[t]=function(e,r,n){return this.request(u(n||{},{method:t,url:e,data:r}))}})),t.exports=f},5343:function(t,e,r){"use strict";var n=r(9516);t.exports=function(t,e){e=e||{};var r={};function o(t,e){return n.isPlainObject(t)&&n.isPlainObject(e)?n.merge(t,e):n.isPlainObject(e)?n.merge({},e):n.isArray(e)?e.slice():e}function i(r){return n.isUndefined(e[r])?n.isUndefined(t[r])?void 0:o(void 0,t[r]):o(t[r],e[r])}function s(t){if(!n.isUndefined(e[t]))return o(void 0,e[t])}function u(r){return n.isUndefined(e[r])?n.isUndefined(t[r])?void 0:o(void 0,t[r]):o(void 0,e[r])}function c(r){return r in e?o(t[r],e[r]):r in t?o(void 0,t[r]):void 0}var a={url:s,method:s,data:s,baseURL:u,transformRequest:u,transformResponse:u,paramsSerializer:u,timeout:u,timeoutMessage:u,withCredentials:u,adapter:u,responseType:u,xsrfCookieName:u,xsrfHeaderName:u,onUploadProgress:u,onDownloadProgress:u,decompress:u,maxContentLength:u,maxBodyLength:u,transport:u,httpAgent:u,httpsAgent:u,cancelToken:u,socketPath:u,responseEncoding:u,validateStatus:c};return n.forEach(Object.keys(t).concat(Object.keys(e)),(function(t){var e=a[t]||i,o=e(t);n.isUndefined(o)&&e!==c||(r[t]=o)})),r}},5397:function(t,e,r){"use strict";var n=r(7055),o=r(7750);t.exports=function(t){return n(o(t))}},5449:function(t){"use strict";t.exports=function(t,e,r,n,o){return t.config=e,r&&(t.code=r),t.request=n,t.response=o,t.isAxiosError=!0,t.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},t}},5592:function(t,e,r){"use strict";var n=r(9516),o=r(7522),i=r(3948),s=r(9106),u=r(9615),c=r(2012),a=r(4202),f=r(7763),p=r(6987),l=r(1928);t.exports=function(t){return new Promise((function(e,r){var d,h=t.data,v=t.headers,y=t.responseType;function m(){t.cancelToken&&t.cancelToken.unsubscribe(d),t.signal&&t.signal.removeEventListener("abort",d)}n.isFormData(h)&&delete v["Content-Type"];var g=new XMLHttpRequest;if(t.auth){var b=t.auth.username||"",w=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";v.Authorization="Basic "+btoa(b+":"+w)}var x=u(t.baseURL,t.url);function O(){if(g){var n="getAllResponseHeaders"in g?c(g.getAllResponseHeaders()):null,i=y&&"text"!==y&&"json"!==y?g.response:g.responseText,s={data:i,status:g.status,statusText:g.statusText,headers:n,config:t,request:g};o((function(t){e(t),m()}),(function(t){r(t),m()}),s),g=null}}if(g.open(t.method.toUpperCase(),s(x,t.params,t.paramsSerializer),!0),g.timeout=t.timeout,"onloadend"in g?g.onloadend=O:g.onreadystatechange=function(){g&&4===g.readyState&&(0!==g.status||g.responseURL&&0===g.responseURL.indexOf("file:"))&&setTimeout(O)},g.onabort=function(){g&&(r(f("Request aborted",t,"ECONNABORTED",g)),g=null)},g.onerror=function(){r(f("Network Error",t,null,g)),g=null},g.ontimeout=function(){var e=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded",n=t.transitional||p.transitional;t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),r(f(e,t,n.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",g)),g=null},n.isStandardBrowserEnv()){var S=(t.withCredentials||a(x))&&t.xsrfCookieName?i.read(t.xsrfCookieName):void 0;S&&(v[t.xsrfHeaderName]=S)}"setRequestHeader"in g&&n.forEach(v,(function(t,e){"undefined"===typeof h&&"content-type"===e.toLowerCase()?delete v[e]:g.setRequestHeader(e,t)})),n.isUndefined(t.withCredentials)||(g.withCredentials=!!t.withCredentials),y&&"json"!==y&&(g.responseType=t.responseType),"function"===typeof t.onDownloadProgress&&g.addEventListener("progress",t.onDownloadProgress),"function"===typeof t.onUploadProgress&&g.upload&&g.upload.addEventListener("progress",t.onUploadProgress),(t.cancelToken||t.signal)&&(d=function(t){g&&(r(!t||t&&t.type?new l("canceled"):t),g.abort(),g=null)},t.cancelToken&&t.cancelToken.subscribe(d),t.signal&&(t.signal.aborted?d():t.signal.addEventListener("abort",d))),h||(h=null),g.send(h)}))}},5610:function(t,e,r){"use strict";var n=r(1291),o=Math.max,i=Math.min;t.exports=function(t,e){var r=n(t);return r<0?o(r+e,0):i(r,e)}},5745:function(t,e,r){"use strict";var n=r(7629);t.exports=function(t,e){return n[t]||(n[t]=e||{})}},5917:function(t,e,r){"use strict";var n=r(3724),o=r(9039),i=r(4055);t.exports=!n&&!o((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},5966:function(t,e,r){"use strict";var n=r(9306),o=r(4117);t.exports=function(t,e){var r=t[e];return o(r)?void 0:n(r)}},6080:function(t,e,r){"use strict";var n=r(7476),o=r(9306),i=r(616),s=n(n.bind);t.exports=function(t,e){return o(t),void 0===e?t:i?s(t,e):function(){return t.apply(e,arguments)}}},6119:function(t,e,r){"use strict";var n=r(5745),o=r(3392),i=n("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},6198:function(t,e,r){"use strict";var n=r(8014);t.exports=function(t){return n(t.length)}},6269:function(t){"use strict";t.exports={}},6279:function(t,e,r){"use strict";var n=r(6840);t.exports=function(t,e,r){for(var o in e)n(t,o,e[o],r);return t}},6319:function(t,e,r){"use strict";var n=r(8551),o=r(9539);t.exports=function(t,e,r,i){try{return i?e(n(r)[0],r[1]):e(r)}catch(s){o(t,"throw",s)}}},6395:function(t){"use strict";t.exports=!1},6518:function(t,e,r){"use strict";var n=r(4576),o=r(7347).f,i=r(6699),s=r(6840),u=r(9433),c=r(7740),a=r(2796);t.exports=function(t,e){var r,f,p,l,d,h,v=t.target,y=t.global,m=t.stat;if(f=y?n:m?n[v]||u(v,{}):n[v]&&n[v].prototype,f)for(p in e){if(d=e[p],t.dontCallGetSet?(h=o(f,p),l=h&&h.value):l=f[p],r=a(y?p:v+(m?".":"#")+p,t.forced),!r&&void 0!==l){if(typeof d==typeof l)continue;c(d,l)}(t.sham||l&&l.sham)&&i(d,"sham",!0),s(f,p,d,t)}}},6699:function(t,e,r){"use strict";var n=r(3724),o=r(4913),i=r(6980);t.exports=n?function(t,e,r){return o.f(t,e,i(1,r))}:function(t,e,r){return t[e]=r,t}},6801:function(t,e,r){"use strict";var n=r(3724),o=r(8686),i=r(4913),s=r(8551),u=r(5397),c=r(1072);e.f=n&&!o?Object.defineProperties:function(t,e){s(t);var r,n=u(e),o=c(e),a=o.length,f=0;while(a>f)i.f(t,r=o[f++],n[r]);return t}},6823:function(t){"use strict";var e=String;t.exports=function(t){try{return e(t)}catch(r){return"Object"}}},6837:function(t){"use strict";var e=TypeError,r=9007199254740991;t.exports=function(t){if(t>r)throw e("Maximum allowed index exceeded");return t}},6840:function(t,e,r){"use strict";var n=r(4901),o=r(4913),i=r(283),s=r(9433);t.exports=function(t,e,r,u){u||(u={});var c=u.enumerable,a=void 0!==u.name?u.name:e;if(n(r)&&i(r,a,u),u.global)c?t[e]=r:s(e,r);else{try{u.unsafe?t[e]&&(c=!0):delete t[e]}catch(f){}c?t[e]=r:o.f(t,e,{value:r,enumerable:!1,configurable:!u.nonConfigurable,writable:!u.nonWritable})}return t}},6955:function(t,e,r){"use strict";var n=r(2140),o=r(4901),i=r(2195),s=r(8227),u=s("toStringTag"),c=Object,a="Arguments"===i(function(){return arguments}()),f=function(t,e){try{return t[e]}catch(r){}};t.exports=n?i:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=f(e=c(t),u))?r:a?i(e):"Object"===(n=i(e))&&o(e.callee)?"Arguments":n}},6969:function(t,e,r){"use strict";var n=r(2777),o=r(757);t.exports=function(t){var e=n(t,"string");return o(e)?e:e+""}},6980:function(t){"use strict";t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},6987:function(t,e,r){"use strict";var n=r(9516),o=r(7018),i=r(5449),s={"Content-Type":"application/x-www-form-urlencoded"};function u(t,e){!n.isUndefined(t)&&n.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}function c(){var t;return("undefined"!==typeof XMLHttpRequest||"undefined"!==typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(t=r(5592)),t}function a(t,e,r){if(n.isString(t))try{return(e||JSON.parse)(t),n.trim(t)}catch(o){if("SyntaxError"!==o.name)throw o}return(r||JSON.stringify)(t)}var f={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:c(),transformRequest:[function(t,e){return o(e,"Accept"),o(e,"Content-Type"),n.isFormData(t)||n.isArrayBuffer(t)||n.isBuffer(t)||n.isStream(t)||n.isFile(t)||n.isBlob(t)?t:n.isArrayBufferView(t)?t.buffer:n.isURLSearchParams(t)?(u(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):n.isObject(t)||e&&"application/json"===e["Content-Type"]?(u(e,"application/json"),a(t)):t}],transformResponse:[function(t){var e=this.transitional||f.transitional,r=e&&e.silentJSONParsing,o=e&&e.forcedJSONParsing,s=!r&&"json"===this.responseType;if(s||o&&n.isString(t)&&t.length)try{return JSON.parse(t)}catch(u){if(s){if("SyntaxError"===u.name)throw i(u,this,"E_JSON_PARSE");throw u}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};n.forEach(["delete","get","head"],(function(t){f.headers[t]={}})),n.forEach(["post","put","patch"],(function(t){f.headers[t]=n.merge(s)})),t.exports=f},7018:function(t,e,r){"use strict";var n=r(9516);t.exports=function(t,e){n.forEach(t,(function(r,n){n!==e&&n.toUpperCase()===e.toUpperCase()&&(t[e]=r,delete t[n])}))}},7040:function(t,e,r){"use strict";var n=r(4495);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},7055:function(t,e,r){"use strict";var n=r(9504),o=r(9039),i=r(2195),s=Object,u=n("".split);t.exports=o((function(){return!s("z").propertyIsEnumerable(0)}))?function(t){return"String"===i(t)?u(t,""):s(t)}:s},7347:function(t,e,r){"use strict";var n=r(3724),o=r(9565),i=r(8773),s=r(6980),u=r(5397),c=r(6969),a=r(9297),f=r(5917),p=Object.getOwnPropertyDescriptor;e.f=n?p:function(t,e){if(t=u(t),e=c(e),f)try{return p(t,e)}catch(r){}if(a(t,e))return s(!o(i.f,t,e),t[e])}},7476:function(t,e,r){"use strict";var n=r(2195),o=r(9504);t.exports=function(t){if("Function"===n(t))return o(t)}},7522:function(t,e,r){"use strict";var n=r(7763);t.exports=function(t,e,r){var o=r.config.validateStatus;r.status&&o&&!o(r.status)?e(n("Request failed with status code "+r.status,r.config,null,r.request,r)):t(r)}},7588:function(t,e,r){"use strict";var n=r(6518),o=r(9565),i=r(2652),s=r(9306),u=r(8551),c=r(1767),a=r(9539),f=r(4549),p=f("forEach",TypeError);n({target:"Iterator",proto:!0,real:!0,forced:p},{forEach:function(t){u(this);try{s(t)}catch(n){a(this,"throw",n)}if(p)return o(p,this,t);var e=c(this),r=0;i(e,(function(e){t(e,r++)}),{IS_RECORD:!0})}})},7629:function(t,e,r){"use strict";var n=r(6395),o=r(4576),i=r(9433),s="__core-js_shared__",u=t.exports=o[s]||i(s,{});(u.versions||(u.versions=[])).push({version:"3.42.0",mode:n?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.42.0/LICENSE",source:"https://github.com/zloirock/core-js"})},7657:function(t,e,r){"use strict";var n,o,i,s=r(9039),u=r(4901),c=r(34),a=r(2360),f=r(2787),p=r(6840),l=r(8227),d=r(6395),h=l("iterator"),v=!1;[].keys&&(i=[].keys(),"next"in i?(o=f(f(i)),o!==Object.prototype&&(n=o)):v=!0);var y=!c(n)||s((function(){var t={};return n[h].call(t)!==t}));y?n={}:d&&(n=a(n)),u(n[h])||p(n,h,(function(){return this})),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:v}},7740:function(t,e,r){"use strict";var n=r(9297),o=r(5031),i=r(7347),s=r(4913);t.exports=function(t,e,r){for(var u=o(e),c=s.f,a=i.f,f=0;f<u.length;f++){var p=u[f];n(t,p)||r&&n(r,p)||c(t,p,a(e,p))}}},7750:function(t,e,r){"use strict";var n=r(4117),o=TypeError;t.exports=function(t){if(n(t))throw new o("Can't call method on "+t);return t}},7751:function(t,e,r){"use strict";var n=r(4576),o=r(4901),i=function(t){return o(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?i(n[t]):n[t]&&n[t][e]}},7763:function(t,e,r){"use strict";var n=r(5449);t.exports=function(t,e,r,o,i){var s=new Error(t);return n(s,e,r,o,i)}},7980:function(t){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},8014:function(t,e,r){"use strict";var n=r(1291),o=Math.min;t.exports=function(t){var e=n(t);return e>0?o(e,9007199254740991):0}},8015:function(t,e,r){"use strict";var n=r(9516),o=r(9012),i=r(5155),s=r(5343),u=r(6987);function c(t){var e=new i(t),r=o(i.prototype.request,e);return n.extend(r,i.prototype,e),n.extend(r,e),r.create=function(e){return c(s(t,e))},r}var a=c(u);a.Axios=i,a.Cancel=r(1928),a.CancelToken=r(3191),a.isCancel=r(3864),a.VERSION=r(9641).version,a.all=function(t){return Promise.all(t)},a.spread=r(7980),a.isAxiosError=r(5019),t.exports=a,t.exports["default"]=a},8111:function(t,e,r){"use strict";var n=r(6518),o=r(4576),i=r(679),s=r(8551),u=r(4901),c=r(2787),a=r(2106),f=r(4659),p=r(9039),l=r(9297),d=r(8227),h=r(7657).IteratorPrototype,v=r(3724),y=r(6395),m="constructor",g="Iterator",b=d("toStringTag"),w=TypeError,x=o[g],O=y||!u(x)||x.prototype!==h||!p((function(){x({})})),S=function(){if(i(this,h),c(this)===h)throw new w("Abstract class Iterator not directly constructable")},E=function(t,e){v?a(h,t,{configurable:!0,get:function(){return e},set:function(e){if(s(this),this===h)throw new w("You can't redefine this property");l(this,t)?this[t]=e:f(this,t,e)}}):h[t]=e};l(h,b)||E(b,g),!O&&l(h,m)&&h[m]!==Object||E(m,S),S.prototype=h,n({global:!0,constructor:!0,forced:O},{Iterator:S})},8227:function(t,e,r){"use strict";var n=r(4576),o=r(5745),i=r(9297),s=r(3392),u=r(4495),c=r(7040),a=n.Symbol,f=o("wks"),p=c?a["for"]||a:a&&a.withoutSetter||s;t.exports=function(t){return i(f,t)||(f[t]=u&&i(a,t)?a[t]:p("Symbol."+t)),f[t]}},8480:function(t,e,r){"use strict";var n=r(1828),o=r(8727),i=o.concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,i)}},8551:function(t,e,r){"use strict";var n=r(34),o=String,i=TypeError;t.exports=function(t){if(n(t))return t;throw new i(o(t)+" is not an object")}},8622:function(t,e,r){"use strict";var n=r(4576),o=r(4901),i=n.WeakMap;t.exports=o(i)&&/native code/.test(String(i))},8686:function(t,e,r){"use strict";var n=r(3724),o=r(9039);t.exports=n&&o((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},8727:function(t){"use strict";t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},8773:function(t,e){"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,o=n&&!r.call({1:2},1);e.f=o?function(t){var e=n(this,t);return!!e&&e.enumerable}:r},8981:function(t,e,r){"use strict";var n=r(7750),o=Object;t.exports=function(t){return o(n(t))}},9012:function(t){"use strict";t.exports=function(t,e){return function(){for(var r=new Array(arguments.length),n=0;n<r.length;n++)r[n]=arguments[n];return t.apply(e,r)}}},9039:function(t){"use strict";t.exports=function(t){try{return!!t()}catch(e){return!0}}},9106:function(t,e,r){"use strict";var n=r(9516);function o(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,r){if(!e)return t;var i;if(r)i=r(e);else if(n.isURLSearchParams(e))i=e.toString();else{var s=[];n.forEach(e,(function(t,e){null!==t&&"undefined"!==typeof t&&(n.isArray(t)?e+="[]":t=[t],n.forEach(t,(function(t){n.isDate(t)?t=t.toISOString():n.isObject(t)&&(t=JSON.stringify(t)),s.push(o(e)+"="+o(t))})))})),i=s.join("&")}if(i){var u=t.indexOf("#");-1!==u&&(t=t.slice(0,u)),t+=(-1===t.indexOf("?")?"?":"&")+i}return t}},9137:function(t){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},9297:function(t,e,r){"use strict";var n=r(9504),o=r(8981),i=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return i(o(t),e)}},9306:function(t,e,r){"use strict";var n=r(4901),o=r(6823),i=TypeError;t.exports=function(t){if(n(t))return t;throw new i(o(t)+" is not a function")}},9433:function(t,e,r){"use strict";var n=r(4576),o=Object.defineProperty;t.exports=function(t,e){try{o(n,t,{value:e,configurable:!0,writable:!0})}catch(r){n[t]=e}return e}},9462:function(t,e,r){"use strict";var n=r(9565),o=r(2360),i=r(6699),s=r(6279),u=r(8227),c=r(1181),a=r(5966),f=r(7657).IteratorPrototype,p=r(2529),l=r(9539),d=u("toStringTag"),h="IteratorHelper",v="WrapForValidIterator",y=c.set,m=function(t){var e=c.getterFor(t?v:h);return s(o(f),{next:function(){var r=e(this);if(t)return r.nextHandler();if(r.done)return p(void 0,!0);try{var n=r.nextHandler();return r.returnHandlerResult?n:p(n,r.done)}catch(o){throw r.done=!0,o}},return:function(){var r=e(this),o=r.iterator;if(r.done=!0,t){var i=a(o,"return");return i?n(i,o):p(void 0,!0)}if(r.inner)try{l(r.inner.iterator,"normal")}catch(s){return l(o,"throw",s)}return o&&l(o,"normal"),p(void 0,!0)}})},g=m(!0),b=m(!1);i(b,d,"Iterator Helper"),t.exports=function(t,e,r){var n=function(n,o){o?(o.iterator=n.iterator,o.next=n.next):o=n,o.type=e?v:h,o.returnHandlerResult=!!r,o.nextHandler=t,o.counter=0,o.done=!1,y(this,o)};return n.prototype=e?g:b,n}},9504:function(t,e,r){"use strict";var n=r(616),o=Function.prototype,i=o.call,s=n&&o.bind.bind(i,i);t.exports=n?s:function(t){return function(){return i.apply(t,arguments)}}},9516:function(t,e,r){"use strict";var n=r(9012),o=Object.prototype.toString;function i(t){return"[object Array]"===o.call(t)}function s(t){return"undefined"===typeof t}function u(t){return null!==t&&!s(t)&&null!==t.constructor&&!s(t.constructor)&&"function"===typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}function c(t){return"[object ArrayBuffer]"===o.call(t)}function a(t){return"undefined"!==typeof FormData&&t instanceof FormData}function f(t){var e;return e="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&t.buffer instanceof ArrayBuffer,e}function p(t){return"string"===typeof t}function l(t){return"number"===typeof t}function d(t){return null!==t&&"object"===typeof t}function h(t){if("[object Object]"!==o.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function v(t){return"[object Date]"===o.call(t)}function y(t){return"[object File]"===o.call(t)}function m(t){return"[object Blob]"===o.call(t)}function g(t){return"[object Function]"===o.call(t)}function b(t){return d(t)&&g(t.pipe)}function w(t){return"undefined"!==typeof URLSearchParams&&t instanceof URLSearchParams}function x(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function O(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!==typeof window&&"undefined"!==typeof document)}function S(t,e){if(null!==t&&"undefined"!==typeof t)if("object"!==typeof t&&(t=[t]),i(t))for(var r=0,n=t.length;r<n;r++)e.call(null,t[r],r,t);else for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.call(null,t[o],o,t)}function E(){var t={};function e(e,r){h(t[r])&&h(e)?t[r]=E(t[r],e):h(e)?t[r]=E({},e):i(e)?t[r]=e.slice():t[r]=e}for(var r=0,n=arguments.length;r<n;r++)S(arguments[r],e);return t}function j(t,e,r){return S(e,(function(e,o){t[o]=r&&"function"===typeof e?n(e,r):e})),t}function P(t){return 65279===t.charCodeAt(0)&&(t=t.slice(1)),t}t.exports={isArray:i,isArrayBuffer:c,isBuffer:u,isFormData:a,isArrayBufferView:f,isString:p,isNumber:l,isObject:d,isPlainObject:h,isUndefined:s,isDate:v,isFile:y,isBlob:m,isFunction:g,isStream:b,isURLSearchParams:w,isStandardBrowserEnv:O,forEach:S,merge:E,extend:j,trim:x,stripBOM:P}},9519:function(t,e,r){"use strict";var n,o,i=r(4576),s=r(2839),u=i.process,c=i.Deno,a=u&&u.versions||c&&c.version,f=a&&a.v8;f&&(n=f.split("."),o=n[0]>0&&n[0]<4?1:+(n[0]+n[1])),!o&&s&&(n=s.match(/Edge\/(\d+)/),(!n||n[1]>=74)&&(n=s.match(/Chrome\/(\d+)/),n&&(o=+n[1]))),t.exports=o},9539:function(t,e,r){"use strict";var n=r(9565),o=r(8551),i=r(5966);t.exports=function(t,e,r){var s,u;o(t);try{if(s=i(t,"return"),!s){if("throw"===e)throw r;return r}s=n(s,t)}catch(c){u=!0,s=c}if("throw"===e)throw r;if(u)throw s;return o(s),r}},9565:function(t,e,r){"use strict";var n=r(616),o=Function.prototype.call;t.exports=n?o.bind(o):function(){return o.apply(o,arguments)}},9615:function(t,e,r){"use strict";var n=r(9137),o=r(4680);t.exports=function(t,e){return t&&!n(e)?o(t,e):e}},9617:function(t,e,r){"use strict";var n=r(5397),o=r(5610),i=r(6198),s=function(t){return function(e,r,s){var u=n(e),c=i(u);if(0===c)return!t&&-1;var a,f=o(s,c);if(t&&r!==r){while(c>f)if(a=u[f++],a!==a)return!0}else for(;c>f;f++)if((t||f in u)&&u[f]===r)return t||f||0;return!t&&-1}};t.exports={includes:s(!0),indexOf:s(!1)}},9641:function(t){t.exports={version:"0.23.0"}}},e={};function r(n){var o=e[n];if(void 0!==o)return o.exports;var i=e[n]={exports:{}};return t[n].call(i.exports,i,i.exports,r),i.exports}!function(){r.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return r.d(e,{a:e}),e}}(),function(){r.d=function(t,e){for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})}}(),function(){r.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"===typeof window)return window}}()}(),function(){r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)}}(),function(){r.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}}(),function(){r.p=""}();var n={};return function(){"use strict";if(r.r(n),r.d(n,{fireEvent:function(){return v},getAppPortalMenuDatas:function(){return m},getMappingAppInfoByID:function(){return S},getMenuDatasByGroupID:function(){return g},getMenuDatasByRoleIDs:function(){return b},getPoratlAppID:function(){return y},getRoleIDsByUserAndGroupID:function(){return w},getUrlParamValue:function(){return l},queryAssetById:function(){return p},queryGroupIDByOfficeId:function(){return O},queryOfficeInfosById:function(){return E},registerEventListener:function(){return d},removeEventListener:function(){return h},transformPortalData:function(){return x}}),"undefined"!==typeof window){var t=window.document.currentScript,e=t&&t.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);e&&(r.p=e[1])}r(4114),r(8111),r(2489),r(116),r(7588);var o=r(2505),i=r.n(o),s=r(3992);let u="";const c=(t="")=>{t&&(t.startsWith("/")&&(t=t.slice(1,t.length)),t.endsWith("/")&&(t=t.slice(0,-1)));const e=i().create({baseURL:`${u}/${t?t+"/":""}sdata/rest`,timeout:6e4,validateStatus:function(t){return t>=200&&t<300},headers:window.location.search&&s.parse(window.location.search).token||window.token?{token:s.parse(window.location.search).token||window.token}:{}});return e.defaults.headers.post["Content-Type"]="application/json",e.interceptors.response.use((t=>{let{data:e}=t;return"string"===typeof e&&(e=JSON.parse(e)),!e||200===e.status||e instanceof Blob?e instanceof Blob?(t.data=e,t):(t.data=e&&e.result,t):Promise.reject(t)}),(t=>{if(!t.response||401!==t.response.status)return Promise.reject(t.response)})),e};let a=window.prefixPath||"";var f=c(a);const p=(t,e=200)=>f.post(`/asset/getAssetData?asset_id=${t}&count=${e}`,{filters:[]}),l=(t,e)=>{try{const r=new URL(t),n=r.searchParams.get(e);return n}catch(r){return console.error("URL 格式错误:",r),""}},d=(t,e)=>{let r=window.rjEventCenter;r&&r.register&&r.register(t,e)},h=(t,e)=>{let r=window.rjEventCenter;r&&r.unregister&&r.unregister(t,e)},v=(t,e)=>{let r=window.rjEventCenter;r&&r.fireEvent&&r.fireEvent(t,e)},y=(t,e)=>{let r="";return t?r=window.appSdk.getAppId():(r=window.sessionStorage.getItem("iportal_app_id"),r||e.forEach((t=>{"iPortal_app_id"==t.name&&(r=t.default_value)}))),r},m=async(t,e,r,n)=>{let o=y(r,n),i=await w(t,o,e),s=await g(e,i),u=window.appSdk.getAppId(),c=s.filter((t=>!!r||(t.app_id==u||t.app_id==o)));return c},g=async(t,e)=>{let r={param:{id:t}},n=await f.post("/dataservice/rest/orchestration/getMenuDatasByGroupID",r),o=n.data.resultDatas,i=n.data.menuTypes;if(e&&e.length>0){let r=await b(e,t),n=r.data.quickMenuMappingDatas||[],s={};for(const t of n){let e=t.menu_mapping_id;s[e]=t}let u=r.data.menuMappingDatas||[];for(const t of u){let e=t.id;s[e]=t}return x(o,i,s)}return x(o,i,[])},b=async(t,e)=>{let r={param:{role_ids:t,group_id:e}},n=await f.post("/dataservice/rest/orchestration/getQuckMenuMappingsByRoleIDs",r);return n},w=async(t,e,r)=>{let n={param:{user_id:t,app_id:e,group_id:r}},o=await f.post("/dataservice/rest/orchestration/getRoleIDsByUserAndGroupID",n),i=o.data.portal_role_ids;return i},x=(t,e,r)=>{let n={},o={};for(const s of t){let t=s.id,e={id:t,index:s.menu_id,name:s.title,sort:s.sort,actionType:s.actionType,url:s.url,iconClass:s.image,children:[],app_id:s.app_id,menu_id:s.menu_id,beyond_type:s.menu_type?s.menu_type:"RJVIEW-OTHERS",beyond_type_sort:s.menu_type_sort?s.menu_type_sort:999};r?(r[t]||"4"==s.type)&&(n[t]=e):n[t]=e}for(const s of e){let t=s.id;o[t]=s}for(const s of t){let t=s.type;if("5"==t){let t=n[s.id];if(!t)continue;let e=s.parent_id,r=t.beyond_type,i=n[e],u=i.children,c=u.find((t=>t.id==r));if(c){let e=c.children;e.push(t),t.typeItem=c}else{let e=o[r],n=e?{id:r,index:r,name:e.title,children:[],sort:e.value}:{id:r,index:r,name:"其他",children:[],sort:999},i=n.children;i.push(t),u.push(n),t.typeItem=n}}}const i=[];for(const s of t){let t=s.type;if("4"==t){let t=n[s.id];if(!t)continue;let e=t.children,r=0;for(const n of e){let t=n.children,e=t.length;if(r+=e,e>0)break}if(0==r)continue;i.push(t);let o=t.children;o.sort(((t,e)=>Number.isNaN(t.sort)?1:Number.isNaN(e.sort)?-1:t.sort-e.sort));for(let n of o){let t=n.children;t.sort(((t,e)=>Number.isNaN(t.sort)?1:Number.isNaN(e.sort)?-1:t.sort-e.sort))}}}return i.sort(((t,e)=>Number.isNaN(t.sort)?1:Number.isNaN(e.sort)?-1:t.sort-e.sort)),i},O=async t=>{let e={param:{id:t}},r=await f.post("/dataservice/rest/orchestration/getGroupIDByDptID",e),n=r.data.resultDptData,o=n.id;return o},S=async(t,e)=>{let r={param:{appID:t,groupID:e}},n=await f.post("/dataservice/rest/orchestration/getPortalMappingAppInfoByID",r),o=n.data.appInfo;return o},E=async t=>{let e={param:{id:t}},r=await f.post("/dataservice/rest/orchestration/getOfficeInfosByID",e),n=r.data.officeData;return n}}(),n}()}));
|
|
1
|
+
(function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e():"function"===typeof define&&define.amd?define([],e):"object"===typeof exports?exports["index"]=e():t["index"]=e()})("undefined"!==typeof self?self:this,(function(){return function(){var t={34:function(t,e,r){"use strict";var n=r(4901);t.exports=function(t){return"object"==typeof t?null!==t:n(t)}},81:function(t,e,r){"use strict";var n=r(9565),o=r(9306),i=r(8551),s=r(6823),u=r(851),c=TypeError;t.exports=function(t,e){var r=arguments.length<2?u(t):e;if(o(r))return i(n(r,t));throw new c(s(t)+" is not iterable")}},116:function(t,e,r){"use strict";var n=r(6518),o=r(9565),i=r(2652),s=r(9306),u=r(8551),c=r(1767),a=r(9539),f=r(4549),p=f("find",TypeError);n({target:"Iterator",proto:!0,real:!0,forced:p},{find:function(t){u(this);try{s(t)}catch(n){a(this,"throw",n)}if(p)return o(p,this,t);var e=c(this),r=0;return i(e,(function(e,n){if(t(e,r++))return n(e)}),{IS_RECORD:!0,INTERRUPTED:!0}).result}})},283:function(t,e,r){"use strict";var n=r(9504),o=r(9039),i=r(4901),s=r(9297),u=r(3724),c=r(350).CONFIGURABLE,a=r(3706),f=r(1181),p=f.enforce,l=f.get,d=String,h=Object.defineProperty,v=n("".slice),y=n("".replace),m=n([].join),g=u&&!o((function(){return 8!==h((function(){}),"length",{value:8}).length})),b=String(String).split("String"),w=t.exports=function(t,e,r){"Symbol("===v(d(e),0,7)&&(e="["+y(d(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!s(t,"name")||c&&t.name!==e)&&(u?h(t,"name",{value:e,configurable:!0}):t.name=e),g&&r&&s(r,"arity")&&t.length!==r.arity&&h(t,"length",{value:r.arity});try{r&&s(r,"constructor")&&r.constructor?u&&h(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(o){}var n=p(t);return s(n,"source")||(n.source=m(b,"string"==typeof e?e:"")),t};Function.prototype.toString=w((function(){return i(this)&&l(this).source||a(this)}),"toString")},350:function(t,e,r){"use strict";var n=r(3724),o=r(9297),i=Function.prototype,s=n&&Object.getOwnPropertyDescriptor,u=o(i,"name"),c=u&&"something"===function(){}.name,a=u&&(!n||n&&s(i,"name").configurable);t.exports={EXISTS:u,PROPER:c,CONFIGURABLE:a}},397:function(t,e,r){"use strict";var n=r(7751);t.exports=n("document","documentElement")},421:function(t){"use strict";t.exports={}},616:function(t,e,r){"use strict";var n=r(9039);t.exports=!n((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},679:function(t,e,r){"use strict";var n=r(1625),o=TypeError;t.exports=function(t,e){if(n(e,t))return t;throw new o("Incorrect invocation")}},741:function(t){"use strict";var e=Math.ceil,r=Math.floor;t.exports=Math.trunc||function(t){var n=+t;return(n>0?r:e)(n)}},757:function(t,e,r){"use strict";var n=r(7751),o=r(4901),i=r(1625),s=r(7040),u=Object;t.exports=s?function(t){return"symbol"==typeof t}:function(t){var e=n("Symbol");return o(e)&&i(e.prototype,u(t))}},851:function(t,e,r){"use strict";var n=r(6955),o=r(5966),i=r(4117),s=r(6269),u=r(8227),c=u("iterator");t.exports=function(t){if(!i(t))return o(t,c)||o(t,"@@iterator")||s[n(t)]}},1072:function(t,e,r){"use strict";var n=r(1828),o=r(8727);t.exports=Object.keys||function(t){return n(t,o)}},1181:function(t,e,r){"use strict";var n,o,i,s=r(8622),u=r(4576),c=r(34),a=r(6699),f=r(9297),p=r(7629),l=r(6119),d=r(421),h="Object already initialized",v=u.TypeError,y=u.WeakMap,m=function(t){return i(t)?o(t):n(t,{})},g=function(t){return function(e){var r;if(!c(e)||(r=o(e)).type!==t)throw new v("Incompatible receiver, "+t+" required");return r}};if(s||p.state){var b=p.state||(p.state=new y);b.get=b.get,b.has=b.has,b.set=b.set,n=function(t,e){if(b.has(t))throw new v(h);return e.facade=t,b.set(t,e),e},o=function(t){return b.get(t)||{}},i=function(t){return b.has(t)}}else{var w=l("state");d[w]=!0,n=function(t,e){if(f(t,w))throw new v(h);return e.facade=t,a(t,w,e),e},o=function(t){return f(t,w)?t[w]:{}},i=function(t){return f(t,w)}}t.exports={set:n,get:o,has:i,enforce:m,getterFor:g}},1291:function(t,e,r){"use strict";var n=r(741);t.exports=function(t){var e=+t;return e!==e||0===e?0:n(e)}},1625:function(t,e,r){"use strict";var n=r(9504);t.exports=n({}.isPrototypeOf)},1767:function(t){"use strict";t.exports=function(t){return{iterator:t,next:t.next,done:!1}}},1828:function(t,e,r){"use strict";var n=r(9504),o=r(9297),i=r(5397),s=r(9617).indexOf,u=r(421),c=n([].push);t.exports=function(t,e){var r,n=i(t),a=0,f=[];for(r in n)!o(u,r)&&o(n,r)&&c(f,r);while(e.length>a)o(n,r=e[a++])&&(~s(f,r)||c(f,r));return f}},1928:function(t){"use strict";function e(t){this.message=t}e.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},e.prototype.__CANCEL__=!0,t.exports=e},2012:function(t,e,r){"use strict";var n=r(9516),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];t.exports=function(t){var e,r,i,s={};return t?(n.forEach(t.split("\n"),(function(t){if(i=t.indexOf(":"),e=n.trim(t.substr(0,i)).toLowerCase(),r=n.trim(t.substr(i+1)),e){if(s[e]&&o.indexOf(e)>=0)return;s[e]="set-cookie"===e?(s[e]?s[e]:[]).concat([r]):s[e]?s[e]+", "+r:r}})),s):s}},2106:function(t,e,r){"use strict";var n=r(283),o=r(4913);t.exports=function(t,e,r){return r.get&&n(r.get,e,{getter:!0}),r.set&&n(r.set,e,{setter:!0}),o.f(t,e,r)}},2140:function(t,e,r){"use strict";var n=r(8227),o=n("toStringTag"),i={};i[o]="z",t.exports="[object z]"===String(i)},2195:function(t,e,r){"use strict";var n=r(9504),o=n({}.toString),i=n("".slice);t.exports=function(t){return i(o(t),8,-1)}},2211:function(t,e,r){"use strict";var n=r(9039);t.exports=!n((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},2360:function(t,e,r){"use strict";var n,o=r(8551),i=r(6801),s=r(8727),u=r(421),c=r(397),a=r(4055),f=r(6119),p=">",l="<",d="prototype",h="script",v=f("IE_PROTO"),y=function(){},m=function(t){return l+h+p+t+l+"/"+h+p},g=function(t){t.write(m("")),t.close();var e=t.parentWindow.Object;return t=null,e},b=function(){var t,e=a("iframe"),r="java"+h+":";return e.style.display="none",c.appendChild(e),e.src=String(r),t=e.contentWindow.document,t.open(),t.write(m("document.F=Object")),t.close(),t.F},w=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}w="undefined"!=typeof document?document.domain&&n?g(n):b():g(n);var t=s.length;while(t--)delete w[d][s[t]];return w()};u[v]=!0,t.exports=Object.create||function(t,e){var r;return null!==t?(y[d]=o(t),r=new y,y[d]=null,r[v]=t):r=w(),void 0===e?r:i.f(r,e)}},2489:function(t,e,r){"use strict";var n=r(6518),o=r(9565),i=r(9306),s=r(8551),u=r(1767),c=r(9462),a=r(6319),f=r(6395),p=r(9539),l=r(4549),d=!f&&l("filter",TypeError),h=c((function(){var t,e,r,n=this.iterator,i=this.predicate,u=this.next;while(1){if(t=s(o(u,n)),e=this.done=!!t.done,e)return;if(r=t.value,a(n,i,[r,this.counter++],!0))return r}}));n({target:"Iterator",proto:!0,real:!0,forced:f||d},{filter:function(t){s(this);try{i(t)}catch(e){p(this,"throw",e)}return d?o(d,this,t):new h(u(this),{predicate:t})}})},2505:function(t,e,r){t.exports=r(8015)},2529:function(t){"use strict";t.exports=function(t,e){return{value:t,done:e}}},2652:function(t,e,r){"use strict";var n=r(6080),o=r(9565),i=r(8551),s=r(6823),u=r(4209),c=r(6198),a=r(1625),f=r(81),p=r(851),l=r(9539),d=TypeError,h=function(t,e){this.stopped=t,this.result=e},v=h.prototype;t.exports=function(t,e,r){var y,m,g,b,w,x,O,S=r&&r.that,E=!(!r||!r.AS_ENTRIES),j=!(!r||!r.IS_RECORD),P=!(!r||!r.IS_ITERATOR),T=!(!r||!r.INTERRUPTED),I=n(e,S),R=function(t){return y&&l(y,"normal",t),new h(!0,t)},_=function(t){return E?(i(t),T?I(t[0],t[1],R):I(t[0],t[1])):T?I(t,R):I(t)};if(j)y=t.iterator;else if(P)y=t;else{if(m=p(t),!m)throw new d(s(t)+" is not iterable");if(u(m)){for(g=0,b=c(t);b>g;g++)if(w=_(t[g]),w&&a(v,w))return w;return new h(!1)}y=f(t,m)}x=j?t.next:y.next;while(!(O=o(x,y)).done){try{w=_(O.value)}catch(N){l(y,"throw",N)}if("object"==typeof w&&w&&a(v,w))return w}return new h(!1)}},2777:function(t,e,r){"use strict";var n=r(9565),o=r(34),i=r(757),s=r(5966),u=r(4270),c=r(8227),a=TypeError,f=c("toPrimitive");t.exports=function(t,e){if(!o(t)||i(t))return t;var r,c=s(t,f);if(c){if(void 0===e&&(e="default"),r=n(c,t,e),!o(r)||i(r))return r;throw new a("Can't convert object to primitive value")}return void 0===e&&(e="number"),u(t,e)}},2787:function(t,e,r){"use strict";var n=r(9297),o=r(4901),i=r(8981),s=r(6119),u=r(2211),c=s("IE_PROTO"),a=Object,f=a.prototype;t.exports=u?a.getPrototypeOf:function(t){var e=i(t);if(n(e,c))return e[c];var r=e.constructor;return o(r)&&e instanceof r?r.prototype:e instanceof a?f:null}},2796:function(t,e,r){"use strict";var n=r(9039),o=r(4901),i=/#|\.prototype\./,s=function(t,e){var r=c[u(t)];return r===f||r!==a&&(o(e)?n(e):!!e)},u=s.normalize=function(t){return String(t).replace(i,".").toLowerCase()},c=s.data={},a=s.NATIVE="N",f=s.POLYFILL="P";t.exports=s},2839:function(t,e,r){"use strict";var n=r(4576),o=n.navigator,i=o&&o.userAgent;t.exports=i?String(i):""},2881:function(t,e,r){"use strict";var n=r(9516),o=r(6987);t.exports=function(t,e,r){var i=this||o;return n.forEach(r,(function(r){t=r.call(i,t,e)})),t}},3191:function(t,e,r){"use strict";var n=r(1928);function o(t){if("function"!==typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var r=this;this.promise.then((function(t){if(r._listeners){var e,n=r._listeners.length;for(e=0;e<n;e++)r._listeners[e](t);r._listeners=null}})),this.promise.then=function(t){var e,n=new Promise((function(t){r.subscribe(t),e=t})).then(t);return n.cancel=function(){r.unsubscribe(e)},n},t((function(t){r.reason||(r.reason=new n(t),e(r.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.prototype.subscribe=function(t){this.reason?t(this.reason):this._listeners?this._listeners.push(t):this._listeners=[t]},o.prototype.unsubscribe=function(t){if(this._listeners){var e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}},o.source=function(){var t,e=new o((function(e){t=e}));return{token:e,cancel:t}},t.exports=o},3392:function(t,e,r){"use strict";var n=r(9504),o=0,i=Math.random(),s=n(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+s(++o+i,36)}},3471:function(t,e,r){"use strict";var n=r(9516);function o(){this.handlers=[]}o.prototype.use=function(t,e,r){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},o.prototype.forEach=function(t){n.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=o},3706:function(t,e,r){"use strict";var n=r(9504),o=r(4901),i=r(7629),s=n(Function.toString);o(i.inspectSource)||(i.inspectSource=function(t){return s(t)}),t.exports=i.inspectSource},3717:function(t,e){"use strict";e.f=Object.getOwnPropertySymbols},3724:function(t,e,r){"use strict";var n=r(9039);t.exports=!n((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},3864:function(t){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},3948:function(t,e,r){"use strict";var n=r(9516);t.exports=n.isStandardBrowserEnv()?function(){return{write:function(t,e,r,o,i,s){var u=[];u.push(t+"="+encodeURIComponent(e)),n.isNumber(r)&&u.push("expires="+new Date(r).toGMTString()),n.isString(o)&&u.push("path="+o),n.isString(i)&&u.push("domain="+i),!0===s&&u.push("secure"),document.cookie=u.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},3992:function(t,e){"use strict";var r,n=Object.prototype.hasOwnProperty;function o(t){try{return decodeURIComponent(t.replace(/\+/g," "))}catch(e){return null}}function i(t){try{return encodeURIComponent(t)}catch(e){return null}}function s(t){var e,r=/([^=?#&]+)=?([^&]*)/g,n={};while(e=r.exec(t)){var i=o(e[1]),s=o(e[2]);null===i||null===s||i in n||(n[i]=s)}return n}function u(t,e){e=e||"";var o,s,u=[];for(s in"string"!==typeof e&&(e="?"),t)if(n.call(t,s)){if(o=t[s],o||null!==o&&o!==r&&!isNaN(o)||(o=""),s=i(s),o=i(o),null===s||null===o)continue;u.push(s+"="+o)}return u.length?e+u.join("&"):""}e.stringify=u,e.parse=s},4055:function(t,e,r){"use strict";var n=r(4576),o=r(34),i=n.document,s=o(i)&&o(i.createElement);t.exports=function(t){return s?i.createElement(t):{}}},4114:function(t,e,r){"use strict";var n=r(6518),o=r(8981),i=r(6198),s=r(4527),u=r(6837),c=r(9039),a=c((function(){return 4294967297!==[].push.call({length:4294967296},1)})),f=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(t){return t instanceof TypeError}},p=a||!f();n({target:"Array",proto:!0,arity:1,forced:p},{push:function(t){var e=o(this),r=i(e),n=arguments.length;u(r+n);for(var c=0;c<n;c++)e[r]=arguments[c],r++;return s(e,r),r}})},4117:function(t){"use strict";t.exports=function(t){return null===t||void 0===t}},4202:function(t,e,r){"use strict";var n=r(9516);t.exports=n.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function o(t){var n=t;return e&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return t=o(window.location.href),function(e){var r=n.isString(e)?o(e):e;return r.protocol===t.protocol&&r.host===t.host}}():function(){return function(){return!0}}()},4209:function(t,e,r){"use strict";var n=r(8227),o=r(6269),i=n("iterator"),s=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||s[i]===t)}},4270:function(t,e,r){"use strict";var n=r(9565),o=r(4901),i=r(34),s=TypeError;t.exports=function(t,e){var r,u;if("string"===e&&o(r=t.toString)&&!i(u=n(r,t)))return u;if(o(r=t.valueOf)&&!i(u=n(r,t)))return u;if("string"!==e&&o(r=t.toString)&&!i(u=n(r,t)))return u;throw new s("Can't convert object to primitive value")}},4376:function(t,e,r){"use strict";var n=r(2195);t.exports=Array.isArray||function(t){return"Array"===n(t)}},4490:function(t,e,r){"use strict";var n=r(9516),o=r(2881),i=r(3864),s=r(6987),u=r(1928);function c(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new u("canceled")}t.exports=function(t){c(t),t.headers=t.headers||{},t.data=o.call(t,t.data,t.headers,t.transformRequest),t.headers=n.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),n.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]}));var e=t.adapter||s.adapter;return e(t).then((function(e){return c(t),e.data=o.call(t,e.data,e.headers,t.transformResponse),e}),(function(e){return i(e)||(c(t),e&&e.response&&(e.response.data=o.call(t,e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},4495:function(t,e,r){"use strict";var n=r(9519),o=r(9039),i=r(4576),s=i.String;t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol("symbol detection");return!s(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},4527:function(t,e,r){"use strict";var n=r(3724),o=r(4376),i=TypeError,s=Object.getOwnPropertyDescriptor,u=n&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();t.exports=u?function(t,e){if(o(t)&&!s(t,"length").writable)throw new i("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e}},4549:function(t,e,r){"use strict";var n=r(4576);t.exports=function(t,e){var r=n.Iterator,o=r&&r.prototype,i=o&&o[t],s=!1;if(i)try{i.call({next:function(){return{done:!0}},return:function(){s=!0}},-1)}catch(u){u instanceof e||(s=!1)}if(!s)return i}},4576:function(t,e,r){"use strict";var n=function(t){return t&&t.Math===Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||n("object"==typeof this&&this)||function(){return this}()||Function("return this")()},4659:function(t,e,r){"use strict";var n=r(3724),o=r(4913),i=r(6980);t.exports=function(t,e,r){n?o.f(t,e,i(0,r)):t[e]=r}},4680:function(t){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},4841:function(t,e,r){"use strict";var n=r(9641).version,o={};["object","boolean","number","function","string","symbol"].forEach((function(t,e){o[t]=function(r){return typeof r===t||"a"+(e<1?"n ":" ")+t}}));var i={};function s(t,e,r){if("object"!==typeof t)throw new TypeError("options must be an object");var n=Object.keys(t),o=n.length;while(o-- >0){var i=n[o],s=e[i];if(s){var u=t[i],c=void 0===u||s(u,i,t);if(!0!==c)throw new TypeError("option "+i+" must be "+c)}else if(!0!==r)throw Error("Unknown option "+i)}}o.transitional=function(t,e,r){function o(t,e){return"[Axios v"+n+"] Transitional option '"+t+"'"+e+(r?". "+r:"")}return function(r,n,s){if(!1===t)throw new Error(o(n," has been removed"+(e?" in "+e:"")));return e&&!i[n]&&(i[n]=!0,console.warn(o(n," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(r,n,s)}},t.exports={assertOptions:s,validators:o}},4901:function(t){"use strict";var e="object"==typeof document&&document.all;t.exports="undefined"==typeof e&&void 0!==e?function(t){return"function"==typeof t||t===e}:function(t){return"function"==typeof t}},4913:function(t,e,r){"use strict";var n=r(3724),o=r(5917),i=r(8686),s=r(8551),u=r(6969),c=TypeError,a=Object.defineProperty,f=Object.getOwnPropertyDescriptor,p="enumerable",l="configurable",d="writable";e.f=n?i?function(t,e,r){if(s(t),e=u(e),s(r),"function"===typeof t&&"prototype"===e&&"value"in r&&d in r&&!r[d]){var n=f(t,e);n&&n[d]&&(t[e]=r.value,r={configurable:l in r?r[l]:n[l],enumerable:p in r?r[p]:n[p],writable:!1})}return a(t,e,r)}:a:function(t,e,r){if(s(t),e=u(e),s(r),o)try{return a(t,e,r)}catch(n){}if("get"in r||"set"in r)throw new c("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},5019:function(t){"use strict";t.exports=function(t){return"object"===typeof t&&!0===t.isAxiosError}},5031:function(t,e,r){"use strict";var n=r(7751),o=r(9504),i=r(8480),s=r(3717),u=r(8551),c=o([].concat);t.exports=n("Reflect","ownKeys")||function(t){var e=i.f(u(t)),r=s.f;return r?c(e,r(t)):e}},5155:function(t,e,r){"use strict";var n=r(9516),o=r(9106),i=r(3471),s=r(4490),u=r(5343),c=r(4841),a=c.validators;function f(t){this.defaults=t,this.interceptors={request:new i,response:new i}}f.prototype.request=function(t){"string"===typeof t?(t=arguments[1]||{},t.url=arguments[0]):t=t||{},t=u(this.defaults,t),t.method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var e=t.transitional;void 0!==e&&c.assertOptions(e,{silentJSONParsing:a.transitional(a.boolean),forcedJSONParsing:a.transitional(a.boolean),clarifyTimeoutError:a.transitional(a.boolean)},!1);var r=[],n=!0;this.interceptors.request.forEach((function(e){"function"===typeof e.runWhen&&!1===e.runWhen(t)||(n=n&&e.synchronous,r.unshift(e.fulfilled,e.rejected))}));var o,i=[];if(this.interceptors.response.forEach((function(t){i.push(t.fulfilled,t.rejected)})),!n){var f=[s,void 0];Array.prototype.unshift.apply(f,r),f=f.concat(i),o=Promise.resolve(t);while(f.length)o=o.then(f.shift(),f.shift());return o}var p=t;while(r.length){var l=r.shift(),d=r.shift();try{p=l(p)}catch(h){d(h);break}}try{o=s(p)}catch(h){return Promise.reject(h)}while(i.length)o=o.then(i.shift(),i.shift());return o},f.prototype.getUri=function(t){return t=u(this.defaults,t),o(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},n.forEach(["delete","get","head","options"],(function(t){f.prototype[t]=function(e,r){return this.request(u(r||{},{method:t,url:e,data:(r||{}).data}))}})),n.forEach(["post","put","patch"],(function(t){f.prototype[t]=function(e,r,n){return this.request(u(n||{},{method:t,url:e,data:r}))}})),t.exports=f},5343:function(t,e,r){"use strict";var n=r(9516);t.exports=function(t,e){e=e||{};var r={};function o(t,e){return n.isPlainObject(t)&&n.isPlainObject(e)?n.merge(t,e):n.isPlainObject(e)?n.merge({},e):n.isArray(e)?e.slice():e}function i(r){return n.isUndefined(e[r])?n.isUndefined(t[r])?void 0:o(void 0,t[r]):o(t[r],e[r])}function s(t){if(!n.isUndefined(e[t]))return o(void 0,e[t])}function u(r){return n.isUndefined(e[r])?n.isUndefined(t[r])?void 0:o(void 0,t[r]):o(void 0,e[r])}function c(r){return r in e?o(t[r],e[r]):r in t?o(void 0,t[r]):void 0}var a={url:s,method:s,data:s,baseURL:u,transformRequest:u,transformResponse:u,paramsSerializer:u,timeout:u,timeoutMessage:u,withCredentials:u,adapter:u,responseType:u,xsrfCookieName:u,xsrfHeaderName:u,onUploadProgress:u,onDownloadProgress:u,decompress:u,maxContentLength:u,maxBodyLength:u,transport:u,httpAgent:u,httpsAgent:u,cancelToken:u,socketPath:u,responseEncoding:u,validateStatus:c};return n.forEach(Object.keys(t).concat(Object.keys(e)),(function(t){var e=a[t]||i,o=e(t);n.isUndefined(o)&&e!==c||(r[t]=o)})),r}},5397:function(t,e,r){"use strict";var n=r(7055),o=r(7750);t.exports=function(t){return n(o(t))}},5449:function(t){"use strict";t.exports=function(t,e,r,n,o){return t.config=e,r&&(t.code=r),t.request=n,t.response=o,t.isAxiosError=!0,t.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},t}},5592:function(t,e,r){"use strict";var n=r(9516),o=r(7522),i=r(3948),s=r(9106),u=r(9615),c=r(2012),a=r(4202),f=r(7763),p=r(6987),l=r(1928);t.exports=function(t){return new Promise((function(e,r){var d,h=t.data,v=t.headers,y=t.responseType;function m(){t.cancelToken&&t.cancelToken.unsubscribe(d),t.signal&&t.signal.removeEventListener("abort",d)}n.isFormData(h)&&delete v["Content-Type"];var g=new XMLHttpRequest;if(t.auth){var b=t.auth.username||"",w=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";v.Authorization="Basic "+btoa(b+":"+w)}var x=u(t.baseURL,t.url);function O(){if(g){var n="getAllResponseHeaders"in g?c(g.getAllResponseHeaders()):null,i=y&&"text"!==y&&"json"!==y?g.response:g.responseText,s={data:i,status:g.status,statusText:g.statusText,headers:n,config:t,request:g};o((function(t){e(t),m()}),(function(t){r(t),m()}),s),g=null}}if(g.open(t.method.toUpperCase(),s(x,t.params,t.paramsSerializer),!0),g.timeout=t.timeout,"onloadend"in g?g.onloadend=O:g.onreadystatechange=function(){g&&4===g.readyState&&(0!==g.status||g.responseURL&&0===g.responseURL.indexOf("file:"))&&setTimeout(O)},g.onabort=function(){g&&(r(f("Request aborted",t,"ECONNABORTED",g)),g=null)},g.onerror=function(){r(f("Network Error",t,null,g)),g=null},g.ontimeout=function(){var e=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded",n=t.transitional||p.transitional;t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),r(f(e,t,n.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",g)),g=null},n.isStandardBrowserEnv()){var S=(t.withCredentials||a(x))&&t.xsrfCookieName?i.read(t.xsrfCookieName):void 0;S&&(v[t.xsrfHeaderName]=S)}"setRequestHeader"in g&&n.forEach(v,(function(t,e){"undefined"===typeof h&&"content-type"===e.toLowerCase()?delete v[e]:g.setRequestHeader(e,t)})),n.isUndefined(t.withCredentials)||(g.withCredentials=!!t.withCredentials),y&&"json"!==y&&(g.responseType=t.responseType),"function"===typeof t.onDownloadProgress&&g.addEventListener("progress",t.onDownloadProgress),"function"===typeof t.onUploadProgress&&g.upload&&g.upload.addEventListener("progress",t.onUploadProgress),(t.cancelToken||t.signal)&&(d=function(t){g&&(r(!t||t&&t.type?new l("canceled"):t),g.abort(),g=null)},t.cancelToken&&t.cancelToken.subscribe(d),t.signal&&(t.signal.aborted?d():t.signal.addEventListener("abort",d))),h||(h=null),g.send(h)}))}},5610:function(t,e,r){"use strict";var n=r(1291),o=Math.max,i=Math.min;t.exports=function(t,e){var r=n(t);return r<0?o(r+e,0):i(r,e)}},5745:function(t,e,r){"use strict";var n=r(7629);t.exports=function(t,e){return n[t]||(n[t]=e||{})}},5917:function(t,e,r){"use strict";var n=r(3724),o=r(9039),i=r(4055);t.exports=!n&&!o((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},5966:function(t,e,r){"use strict";var n=r(9306),o=r(4117);t.exports=function(t,e){var r=t[e];return o(r)?void 0:n(r)}},6080:function(t,e,r){"use strict";var n=r(7476),o=r(9306),i=r(616),s=n(n.bind);t.exports=function(t,e){return o(t),void 0===e?t:i?s(t,e):function(){return t.apply(e,arguments)}}},6119:function(t,e,r){"use strict";var n=r(5745),o=r(3392),i=n("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},6198:function(t,e,r){"use strict";var n=r(8014);t.exports=function(t){return n(t.length)}},6269:function(t){"use strict";t.exports={}},6279:function(t,e,r){"use strict";var n=r(6840);t.exports=function(t,e,r){for(var o in e)n(t,o,e[o],r);return t}},6319:function(t,e,r){"use strict";var n=r(8551),o=r(9539);t.exports=function(t,e,r,i){try{return i?e(n(r)[0],r[1]):e(r)}catch(s){o(t,"throw",s)}}},6395:function(t){"use strict";t.exports=!1},6518:function(t,e,r){"use strict";var n=r(4576),o=r(7347).f,i=r(6699),s=r(6840),u=r(9433),c=r(7740),a=r(2796);t.exports=function(t,e){var r,f,p,l,d,h,v=t.target,y=t.global,m=t.stat;if(f=y?n:m?n[v]||u(v,{}):n[v]&&n[v].prototype,f)for(p in e){if(d=e[p],t.dontCallGetSet?(h=o(f,p),l=h&&h.value):l=f[p],r=a(y?p:v+(m?".":"#")+p,t.forced),!r&&void 0!==l){if(typeof d==typeof l)continue;c(d,l)}(t.sham||l&&l.sham)&&i(d,"sham",!0),s(f,p,d,t)}}},6699:function(t,e,r){"use strict";var n=r(3724),o=r(4913),i=r(6980);t.exports=n?function(t,e,r){return o.f(t,e,i(1,r))}:function(t,e,r){return t[e]=r,t}},6801:function(t,e,r){"use strict";var n=r(3724),o=r(8686),i=r(4913),s=r(8551),u=r(5397),c=r(1072);e.f=n&&!o?Object.defineProperties:function(t,e){s(t);var r,n=u(e),o=c(e),a=o.length,f=0;while(a>f)i.f(t,r=o[f++],n[r]);return t}},6823:function(t){"use strict";var e=String;t.exports=function(t){try{return e(t)}catch(r){return"Object"}}},6837:function(t){"use strict";var e=TypeError,r=9007199254740991;t.exports=function(t){if(t>r)throw e("Maximum allowed index exceeded");return t}},6840:function(t,e,r){"use strict";var n=r(4901),o=r(4913),i=r(283),s=r(9433);t.exports=function(t,e,r,u){u||(u={});var c=u.enumerable,a=void 0!==u.name?u.name:e;if(n(r)&&i(r,a,u),u.global)c?t[e]=r:s(e,r);else{try{u.unsafe?t[e]&&(c=!0):delete t[e]}catch(f){}c?t[e]=r:o.f(t,e,{value:r,enumerable:!1,configurable:!u.nonConfigurable,writable:!u.nonWritable})}return t}},6955:function(t,e,r){"use strict";var n=r(2140),o=r(4901),i=r(2195),s=r(8227),u=s("toStringTag"),c=Object,a="Arguments"===i(function(){return arguments}()),f=function(t,e){try{return t[e]}catch(r){}};t.exports=n?i:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=f(e=c(t),u))?r:a?i(e):"Object"===(n=i(e))&&o(e.callee)?"Arguments":n}},6969:function(t,e,r){"use strict";var n=r(2777),o=r(757);t.exports=function(t){var e=n(t,"string");return o(e)?e:e+""}},6980:function(t){"use strict";t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},6987:function(t,e,r){"use strict";var n=r(9516),o=r(7018),i=r(5449),s={"Content-Type":"application/x-www-form-urlencoded"};function u(t,e){!n.isUndefined(t)&&n.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}function c(){var t;return("undefined"!==typeof XMLHttpRequest||"undefined"!==typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(t=r(5592)),t}function a(t,e,r){if(n.isString(t))try{return(e||JSON.parse)(t),n.trim(t)}catch(o){if("SyntaxError"!==o.name)throw o}return(r||JSON.stringify)(t)}var f={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:c(),transformRequest:[function(t,e){return o(e,"Accept"),o(e,"Content-Type"),n.isFormData(t)||n.isArrayBuffer(t)||n.isBuffer(t)||n.isStream(t)||n.isFile(t)||n.isBlob(t)?t:n.isArrayBufferView(t)?t.buffer:n.isURLSearchParams(t)?(u(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):n.isObject(t)||e&&"application/json"===e["Content-Type"]?(u(e,"application/json"),a(t)):t}],transformResponse:[function(t){var e=this.transitional||f.transitional,r=e&&e.silentJSONParsing,o=e&&e.forcedJSONParsing,s=!r&&"json"===this.responseType;if(s||o&&n.isString(t)&&t.length)try{return JSON.parse(t)}catch(u){if(s){if("SyntaxError"===u.name)throw i(u,this,"E_JSON_PARSE");throw u}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};n.forEach(["delete","get","head"],(function(t){f.headers[t]={}})),n.forEach(["post","put","patch"],(function(t){f.headers[t]=n.merge(s)})),t.exports=f},7018:function(t,e,r){"use strict";var n=r(9516);t.exports=function(t,e){n.forEach(t,(function(r,n){n!==e&&n.toUpperCase()===e.toUpperCase()&&(t[e]=r,delete t[n])}))}},7040:function(t,e,r){"use strict";var n=r(4495);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},7055:function(t,e,r){"use strict";var n=r(9504),o=r(9039),i=r(2195),s=Object,u=n("".split);t.exports=o((function(){return!s("z").propertyIsEnumerable(0)}))?function(t){return"String"===i(t)?u(t,""):s(t)}:s},7347:function(t,e,r){"use strict";var n=r(3724),o=r(9565),i=r(8773),s=r(6980),u=r(5397),c=r(6969),a=r(9297),f=r(5917),p=Object.getOwnPropertyDescriptor;e.f=n?p:function(t,e){if(t=u(t),e=c(e),f)try{return p(t,e)}catch(r){}if(a(t,e))return s(!o(i.f,t,e),t[e])}},7476:function(t,e,r){"use strict";var n=r(2195),o=r(9504);t.exports=function(t){if("Function"===n(t))return o(t)}},7522:function(t,e,r){"use strict";var n=r(7763);t.exports=function(t,e,r){var o=r.config.validateStatus;r.status&&o&&!o(r.status)?e(n("Request failed with status code "+r.status,r.config,null,r.request,r)):t(r)}},7588:function(t,e,r){"use strict";var n=r(6518),o=r(9565),i=r(2652),s=r(9306),u=r(8551),c=r(1767),a=r(9539),f=r(4549),p=f("forEach",TypeError);n({target:"Iterator",proto:!0,real:!0,forced:p},{forEach:function(t){u(this);try{s(t)}catch(n){a(this,"throw",n)}if(p)return o(p,this,t);var e=c(this),r=0;i(e,(function(e){t(e,r++)}),{IS_RECORD:!0})}})},7629:function(t,e,r){"use strict";var n=r(6395),o=r(4576),i=r(9433),s="__core-js_shared__",u=t.exports=o[s]||i(s,{});(u.versions||(u.versions=[])).push({version:"3.42.0",mode:n?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.42.0/LICENSE",source:"https://github.com/zloirock/core-js"})},7657:function(t,e,r){"use strict";var n,o,i,s=r(9039),u=r(4901),c=r(34),a=r(2360),f=r(2787),p=r(6840),l=r(8227),d=r(6395),h=l("iterator"),v=!1;[].keys&&(i=[].keys(),"next"in i?(o=f(f(i)),o!==Object.prototype&&(n=o)):v=!0);var y=!c(n)||s((function(){var t={};return n[h].call(t)!==t}));y?n={}:d&&(n=a(n)),u(n[h])||p(n,h,(function(){return this})),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:v}},7740:function(t,e,r){"use strict";var n=r(9297),o=r(5031),i=r(7347),s=r(4913);t.exports=function(t,e,r){for(var u=o(e),c=s.f,a=i.f,f=0;f<u.length;f++){var p=u[f];n(t,p)||r&&n(r,p)||c(t,p,a(e,p))}}},7750:function(t,e,r){"use strict";var n=r(4117),o=TypeError;t.exports=function(t){if(n(t))throw new o("Can't call method on "+t);return t}},7751:function(t,e,r){"use strict";var n=r(4576),o=r(4901),i=function(t){return o(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?i(n[t]):n[t]&&n[t][e]}},7763:function(t,e,r){"use strict";var n=r(5449);t.exports=function(t,e,r,o,i){var s=new Error(t);return n(s,e,r,o,i)}},7980:function(t){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},8014:function(t,e,r){"use strict";var n=r(1291),o=Math.min;t.exports=function(t){var e=n(t);return e>0?o(e,9007199254740991):0}},8015:function(t,e,r){"use strict";var n=r(9516),o=r(9012),i=r(5155),s=r(5343),u=r(6987);function c(t){var e=new i(t),r=o(i.prototype.request,e);return n.extend(r,i.prototype,e),n.extend(r,e),r.create=function(e){return c(s(t,e))},r}var a=c(u);a.Axios=i,a.Cancel=r(1928),a.CancelToken=r(3191),a.isCancel=r(3864),a.VERSION=r(9641).version,a.all=function(t){return Promise.all(t)},a.spread=r(7980),a.isAxiosError=r(5019),t.exports=a,t.exports["default"]=a},8111:function(t,e,r){"use strict";var n=r(6518),o=r(4576),i=r(679),s=r(8551),u=r(4901),c=r(2787),a=r(2106),f=r(4659),p=r(9039),l=r(9297),d=r(8227),h=r(7657).IteratorPrototype,v=r(3724),y=r(6395),m="constructor",g="Iterator",b=d("toStringTag"),w=TypeError,x=o[g],O=y||!u(x)||x.prototype!==h||!p((function(){x({})})),S=function(){if(i(this,h),c(this)===h)throw new w("Abstract class Iterator not directly constructable")},E=function(t,e){v?a(h,t,{configurable:!0,get:function(){return e},set:function(e){if(s(this),this===h)throw new w("You can't redefine this property");l(this,t)?this[t]=e:f(this,t,e)}}):h[t]=e};l(h,b)||E(b,g),!O&&l(h,m)&&h[m]!==Object||E(m,S),S.prototype=h,n({global:!0,constructor:!0,forced:O},{Iterator:S})},8227:function(t,e,r){"use strict";var n=r(4576),o=r(5745),i=r(9297),s=r(3392),u=r(4495),c=r(7040),a=n.Symbol,f=o("wks"),p=c?a["for"]||a:a&&a.withoutSetter||s;t.exports=function(t){return i(f,t)||(f[t]=u&&i(a,t)?a[t]:p("Symbol."+t)),f[t]}},8480:function(t,e,r){"use strict";var n=r(1828),o=r(8727),i=o.concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,i)}},8551:function(t,e,r){"use strict";var n=r(34),o=String,i=TypeError;t.exports=function(t){if(n(t))return t;throw new i(o(t)+" is not an object")}},8622:function(t,e,r){"use strict";var n=r(4576),o=r(4901),i=n.WeakMap;t.exports=o(i)&&/native code/.test(String(i))},8686:function(t,e,r){"use strict";var n=r(3724),o=r(9039);t.exports=n&&o((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},8727:function(t){"use strict";t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},8773:function(t,e){"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,o=n&&!r.call({1:2},1);e.f=o?function(t){var e=n(this,t);return!!e&&e.enumerable}:r},8981:function(t,e,r){"use strict";var n=r(7750),o=Object;t.exports=function(t){return o(n(t))}},9012:function(t){"use strict";t.exports=function(t,e){return function(){for(var r=new Array(arguments.length),n=0;n<r.length;n++)r[n]=arguments[n];return t.apply(e,r)}}},9039:function(t){"use strict";t.exports=function(t){try{return!!t()}catch(e){return!0}}},9106:function(t,e,r){"use strict";var n=r(9516);function o(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,r){if(!e)return t;var i;if(r)i=r(e);else if(n.isURLSearchParams(e))i=e.toString();else{var s=[];n.forEach(e,(function(t,e){null!==t&&"undefined"!==typeof t&&(n.isArray(t)?e+="[]":t=[t],n.forEach(t,(function(t){n.isDate(t)?t=t.toISOString():n.isObject(t)&&(t=JSON.stringify(t)),s.push(o(e)+"="+o(t))})))})),i=s.join("&")}if(i){var u=t.indexOf("#");-1!==u&&(t=t.slice(0,u)),t+=(-1===t.indexOf("?")?"?":"&")+i}return t}},9137:function(t){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},9297:function(t,e,r){"use strict";var n=r(9504),o=r(8981),i=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return i(o(t),e)}},9306:function(t,e,r){"use strict";var n=r(4901),o=r(6823),i=TypeError;t.exports=function(t){if(n(t))return t;throw new i(o(t)+" is not a function")}},9433:function(t,e,r){"use strict";var n=r(4576),o=Object.defineProperty;t.exports=function(t,e){try{o(n,t,{value:e,configurable:!0,writable:!0})}catch(r){n[t]=e}return e}},9462:function(t,e,r){"use strict";var n=r(9565),o=r(2360),i=r(6699),s=r(6279),u=r(8227),c=r(1181),a=r(5966),f=r(7657).IteratorPrototype,p=r(2529),l=r(9539),d=u("toStringTag"),h="IteratorHelper",v="WrapForValidIterator",y=c.set,m=function(t){var e=c.getterFor(t?v:h);return s(o(f),{next:function(){var r=e(this);if(t)return r.nextHandler();if(r.done)return p(void 0,!0);try{var n=r.nextHandler();return r.returnHandlerResult?n:p(n,r.done)}catch(o){throw r.done=!0,o}},return:function(){var r=e(this),o=r.iterator;if(r.done=!0,t){var i=a(o,"return");return i?n(i,o):p(void 0,!0)}if(r.inner)try{l(r.inner.iterator,"normal")}catch(s){return l(o,"throw",s)}return o&&l(o,"normal"),p(void 0,!0)}})},g=m(!0),b=m(!1);i(b,d,"Iterator Helper"),t.exports=function(t,e,r){var n=function(n,o){o?(o.iterator=n.iterator,o.next=n.next):o=n,o.type=e?v:h,o.returnHandlerResult=!!r,o.nextHandler=t,o.counter=0,o.done=!1,y(this,o)};return n.prototype=e?g:b,n}},9504:function(t,e,r){"use strict";var n=r(616),o=Function.prototype,i=o.call,s=n&&o.bind.bind(i,i);t.exports=n?s:function(t){return function(){return i.apply(t,arguments)}}},9516:function(t,e,r){"use strict";var n=r(9012),o=Object.prototype.toString;function i(t){return"[object Array]"===o.call(t)}function s(t){return"undefined"===typeof t}function u(t){return null!==t&&!s(t)&&null!==t.constructor&&!s(t.constructor)&&"function"===typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}function c(t){return"[object ArrayBuffer]"===o.call(t)}function a(t){return"undefined"!==typeof FormData&&t instanceof FormData}function f(t){var e;return e="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&t.buffer instanceof ArrayBuffer,e}function p(t){return"string"===typeof t}function l(t){return"number"===typeof t}function d(t){return null!==t&&"object"===typeof t}function h(t){if("[object Object]"!==o.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function v(t){return"[object Date]"===o.call(t)}function y(t){return"[object File]"===o.call(t)}function m(t){return"[object Blob]"===o.call(t)}function g(t){return"[object Function]"===o.call(t)}function b(t){return d(t)&&g(t.pipe)}function w(t){return"undefined"!==typeof URLSearchParams&&t instanceof URLSearchParams}function x(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function O(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!==typeof window&&"undefined"!==typeof document)}function S(t,e){if(null!==t&&"undefined"!==typeof t)if("object"!==typeof t&&(t=[t]),i(t))for(var r=0,n=t.length;r<n;r++)e.call(null,t[r],r,t);else for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.call(null,t[o],o,t)}function E(){var t={};function e(e,r){h(t[r])&&h(e)?t[r]=E(t[r],e):h(e)?t[r]=E({},e):i(e)?t[r]=e.slice():t[r]=e}for(var r=0,n=arguments.length;r<n;r++)S(arguments[r],e);return t}function j(t,e,r){return S(e,(function(e,o){t[o]=r&&"function"===typeof e?n(e,r):e})),t}function P(t){return 65279===t.charCodeAt(0)&&(t=t.slice(1)),t}t.exports={isArray:i,isArrayBuffer:c,isBuffer:u,isFormData:a,isArrayBufferView:f,isString:p,isNumber:l,isObject:d,isPlainObject:h,isUndefined:s,isDate:v,isFile:y,isBlob:m,isFunction:g,isStream:b,isURLSearchParams:w,isStandardBrowserEnv:O,forEach:S,merge:E,extend:j,trim:x,stripBOM:P}},9519:function(t,e,r){"use strict";var n,o,i=r(4576),s=r(2839),u=i.process,c=i.Deno,a=u&&u.versions||c&&c.version,f=a&&a.v8;f&&(n=f.split("."),o=n[0]>0&&n[0]<4?1:+(n[0]+n[1])),!o&&s&&(n=s.match(/Edge\/(\d+)/),(!n||n[1]>=74)&&(n=s.match(/Chrome\/(\d+)/),n&&(o=+n[1]))),t.exports=o},9539:function(t,e,r){"use strict";var n=r(9565),o=r(8551),i=r(5966);t.exports=function(t,e,r){var s,u;o(t);try{if(s=i(t,"return"),!s){if("throw"===e)throw r;return r}s=n(s,t)}catch(c){u=!0,s=c}if("throw"===e)throw r;if(u)throw s;return o(s),r}},9565:function(t,e,r){"use strict";var n=r(616),o=Function.prototype.call;t.exports=n?o.bind(o):function(){return o.apply(o,arguments)}},9615:function(t,e,r){"use strict";var n=r(9137),o=r(4680);t.exports=function(t,e){return t&&!n(e)?o(t,e):e}},9617:function(t,e,r){"use strict";var n=r(5397),o=r(5610),i=r(6198),s=function(t){return function(e,r,s){var u=n(e),c=i(u);if(0===c)return!t&&-1;var a,f=o(s,c);if(t&&r!==r){while(c>f)if(a=u[f++],a!==a)return!0}else for(;c>f;f++)if((t||f in u)&&u[f]===r)return t||f||0;return!t&&-1}};t.exports={includes:s(!0),indexOf:s(!1)}},9641:function(t){t.exports={version:"0.23.0"}}},e={};function r(n){var o=e[n];if(void 0!==o)return o.exports;var i=e[n]={exports:{}};return t[n].call(i.exports,i,i.exports,r),i.exports}!function(){r.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return r.d(e,{a:e}),e}}(),function(){r.d=function(t,e){for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})}}(),function(){r.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"===typeof window)return window}}()}(),function(){r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)}}(),function(){r.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}}(),function(){r.p=""}();var n={};return function(){"use strict";if(r.r(n),r.d(n,{fireEvent:function(){return v},getAppPortalMenuDatas:function(){return m},getMappingAppInfoByID:function(){return S},getMenuDatasByGroupID:function(){return g},getMenuDatasByRoleIDs:function(){return b},getPoratlAppID:function(){return y},getRoleIDsByUserAndGroupID:function(){return w},getUrlParamValue:function(){return l},queryAssetById:function(){return p},queryGroupIDByOfficeId:function(){return O},queryOfficeInfosById:function(){return E},registerEventListener:function(){return d},removeEventListener:function(){return h},transformPortalData:function(){return x}}),"undefined"!==typeof window){var t=window.document.currentScript,e=t&&t.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);e&&(r.p=e[1])}r(4114),r(8111),r(2489),r(116),r(7588);var o=r(2505),i=r.n(o),s=r(3992);let u="";const c=(t="")=>{t&&(t.startsWith("/")&&(t=t.slice(1,t.length)),t.endsWith("/")&&(t=t.slice(0,-1)));const e=i().create({baseURL:`${u}/${t?t+"/":""}sdata/rest`,timeout:6e4,validateStatus:function(t){return t>=200&&t<300},headers:window.location.search&&s.parse(window.location.search).token||window.token?{token:s.parse(window.location.search).token||window.token}:{}});return e.defaults.headers.post["Content-Type"]="application/json",e.interceptors.response.use((t=>{let{data:e}=t;return"string"===typeof e&&(e=JSON.parse(e)),!e||200===e.status||e instanceof Blob?e instanceof Blob?(t.data=e,t):(t.data=e&&e.result,t):Promise.reject(t)}),(t=>{if(!t.response||401!==t.response.status)return Promise.reject(t.response)})),e};let a=window.prefixPath||"";var f=c(a);const p=(t,e=200)=>f.post(`/asset/getAssetData?asset_id=${t}&count=${e}`,{filters:[]}),l=(t,e)=>{try{const r=new URL(t),n=r.searchParams.get(e);return n}catch(r){return console.error("URL 格式错误:",r),""}},d=(t,e)=>{let r=window.rjEventCenter;r&&r.register&&r.register(t,e)},h=(t,e)=>{let r=window.rjEventCenter;r&&r.unregister&&r.unregister(t,e)},v=(t,e)=>{let r=window.rjEventCenter;r&&r.fireEvent&&r.fireEvent(t,e)},y=(t,e)=>{let r="";return t?r=window.appSdk.getAppId():(r=window.sessionStorage.getItem("iportal_app_id"),r||e.forEach((t=>{"iPortal_app_id"==t.name&&(r=t.default_value)})),r||(r=window.appSdk.getAppId())),r},m=async(t,e,r,n)=>{let o=y(r,n),i=await w(t,o,e),s=await g(e,i),u=window.appSdk.getAppId(),c=s.filter((t=>!!r||(t.app_id==u||t.app_id==o)));return c},g=async(t,e)=>{let r={param:{id:t}},n=await f.post("/dataservice/rest/orchestration/getMenuDatasByGroupID",r),o=n.data.resultDatas,i=n.data.menuTypes;if(e&&e.length>0){let r=await b(e,t),n=r.data.quickMenuMappingDatas||[],s={};for(const t of n){let e=t.menu_mapping_id;s[e]=t}let u=r.data.menuMappingDatas||[];for(const t of u){let e=t.id;s[e]=t}return x(o,i,s)}return x(o,i,[])},b=async(t,e)=>{let r={param:{role_ids:t,group_id:e}},n=await f.post("/dataservice/rest/orchestration/getQuckMenuMappingsByRoleIDs",r);return n},w=async(t,e,r)=>{let n={param:{user_id:t,app_id:e,group_id:r}},o=await f.post("/dataservice/rest/orchestration/getRoleIDsByUserAndGroupID",n),i=o.data.portal_role_ids;return i},x=(t,e,r)=>{let n={},o={};for(const s of t){let t=s.id,e={id:t,index:s.menu_id,name:s.title,sort:s.sort,actionType:s.actionType,url:s.url,iconClass:s.image,children:[],app_id:s.app_id,menu_id:s.menu_id,beyond_type:s.menu_type?s.menu_type:"RJVIEW-OTHERS",beyond_type_sort:s.menu_type_sort?s.menu_type_sort:999};r?(r[t]||"4"==s.type)&&(n[t]=e):n[t]=e}for(const s of e){let t=s.id;o[t]=s}for(const s of t){let t=s.type;if("5"==t){let t=n[s.id];if(!t)continue;let e=s.parent_id,r=t.beyond_type,i=n[e],u=i.children,c=u.find((t=>t.id==r));if(c){let e=c.children;e.push(t),t.typeItem=c}else{let e=o[r],n=e?{id:r,index:r,name:e.title,children:[],sort:e.value}:{id:r,index:r,name:"其他",children:[],sort:999},i=n.children;i.push(t),u.push(n),t.typeItem=n}}}const i=[];for(const s of t){let t=s.type;if("4"==t){let t=n[s.id];if(!t)continue;let e=t.children,r=0;for(const n of e){let t=n.children,e=t.length;if(r+=e,e>0)break}if(0==r)continue;i.push(t);let o=t.children;o.sort(((t,e)=>Number.isNaN(t.sort)?1:Number.isNaN(e.sort)?-1:t.sort-e.sort));for(let n of o){let t=n.children;t.sort(((t,e)=>Number.isNaN(t.sort)?1:Number.isNaN(e.sort)?-1:t.sort-e.sort))}}}return i.sort(((t,e)=>Number.isNaN(t.sort)?1:Number.isNaN(e.sort)?-1:t.sort-e.sort)),i},O=async t=>{let e={param:{id:t}},r=await f.post("/dataservice/rest/orchestration/getGroupIDByDptID",e),n=r.data.resultDptData,o=n.id;return o},S=async(t,e)=>{let r={param:{appID:t,groupID:e}},n=await f.post("/dataservice/rest/orchestration/getPortalMappingAppInfoByID",r),o=n.data.appInfo;return o},E=async t=>{let e={param:{id:t}},r=await f.post("/dataservice/rest/orchestration/getOfficeInfosByID",e),n=r.data.officeData;return n}}(),n}()}));
|
|
2
2
|
//# sourceMappingURL=index.umd.min.js.map
|