UNPKG

filecat

Version:
2 lines 866 kB
/*! For license information please see main.ca6d5973ddaeabd72c70.js.LICENSE.txt */ (()=>{var __webpack_modules__={447(e,t,n){"use strict";n.d(t,{WA:()=>h,ZI:()=>m,Zp:()=>d,fq:()=>y,gz:()=>g,uF:()=>f,xP:()=>p});var r=n(6540),o=n(3413),i=n.n(o),a=n(505);function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,l=[],s=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return s(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var c=function(e){return e[e.common=0]="common",e[e.full=1]="full",e}(c||{});function u(e,t){var n=t===c.common?"card-content":t===c.full?"card-content full":"";return r.createElement("div",{className:"card",style:{}},r.createElement("div",{className:"card-title"},e.self_title?e.self_title:r.createElement("h2",null,e.title),r.createElement("div",{className:"not-select-div"},e.titleCom&&e.titleCom)),r.createElement("div",{className:n},e.children),r.createElement("div",{className:"card-action card-action-bottom-right"},e.rightBottomCom))}function d(e){return u(e,c.common)}function f(e){return u(e,c.full)}function p(e){var t,n,o,l=(0,r.useRef)(null);return r.createElement("div",{className:"card-text"},r.createElement("div",{className:"card-text-context"},null!==(t=e.context)&&void 0!==t?t:e.children),r.createElement("div",{className:"card-text-tip",ref:l,onClick:function(){var t,n;(0,a.l)(null!==(t=null!==(n=e.tip_context)&&void 0!==n?n:e.context)&&void 0!==t?t:e.children),new(i())({type:"info",text:"复制完成",timeout:1e3,layout:"bottomLeft"}).show()}},null!==(n=null!==(o=e.tip_context)&&void 0!==o?o:e.context)&&void 0!==n?n:e.children))}function h(e){var t,n;return r.createElement("div",{className:"card-text"},r.createElement("div",{className:"card-text-context"},null!==(t=e.context)&&void 0!==t?t:e.children),r.createElement("div",{className:"card-text-tip"},null!==(n=e.context)&&void 0!==n?n:e.children))}function m(e){var t,n;return r.createElement("div",{className:"card floating",onKeyPress:function(t){"Enter"===t.key&&e.confirm_enter&&e.confirm_enter()}},r.createElement("div",{className:"card-title"},r.createElement("h2",null,e.title)),r.createElement("div",{className:"card-content"},e.context&&e.context.map(function(e,t){return r.createElement("div",{key:t},e)})),r.createElement("div",{className:"card-action"},r.createElement("button",{className:"button button--flat button--grey",onClick:e.cancel},null!==(t=e.cancel_t)&&void 0!==t?t:"cancel"),r.createElement("button",{className:"button button--flat",onClick:e.confirm},null!==(n=e.confirm_t)&&void 0!==n?n:"confirm")))}function g(e){return r.createElement("div",{className:"progress-card"},r.createElement("div",{className:"progress-per"},r.createElement("div",{style:{width:"".concat(e.progress,"%")}})))}var y=function(e){var t=l((0,r.useState)("var(--iconTertiary)"),2),n=t[0],o=t[1];(0,r.useEffect)(function(){void 0===e.ok?void 0===e.success?void 0!==e.running&&o("var(--icon-yellow)"):!0===e.success?o("var(--icon-green)"):!1===e.success&&o("var(--icon-red)"):o(e.ok?"var(--icon-green)":"var(--iconTertiary)")},[e]);var i={width:"10px",height:"10px",borderRadius:"50%",backgroundColor:n,display:"inline-block"};return r.createElement("div",{style:i})}},505(e,t,n){"use strict";function r(e){var t=document.createElement("textarea");t.value=e,t.style.position="fixed",t.style.left="-9999px",document.body.appendChild(t),t.select(),t.setSelectionRange(0,99999),document.execCommand("copy"),document.body.removeChild(t)}function o(e){var t="theme-css",n=document.getElementById(t);if(n&&n.remove(),"light"!==e&&e){var r="".concat(e,".css"),o=document.createElement("link");o.id=t,o.rel="stylesheet",o.href=r,document.head.appendChild(o)}}n.d(t,{Y:()=>o,l:()=>r})},540(e){"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},574(e,t,n){"use strict";e.exports=n.p+"0c35d18bf06992036b69.woff2"},652(e,t,n){"use strict";n.d(t,{A:()=>l});var r=n(1601),o=n.n(r),i=n(6314),a=n.n(i)()(o());a.push([e.id,".share {\n display: flex;\n flex-wrap: wrap;\n justify-content: center;\n align-items: flex-start;\n}\n\n@media (max-width: 736px) {\n .share {\n display: block;\n }\n}\n\n.share__box {\n box-shadow: rgba(0, 0, 0, 0.06) 0px 1px 3px, rgba(0, 0, 0, 0.12) 0px 1px 2px;\n background: #fff;\n border-radius: 0.2em;\n margin: 5px;\n overflow: hidden;\n}\n\n.share__box__header {\n padding: 1em;\n text-align: center;\n}\n\n.share__box__icon i {\n font-size: 10em;\n color: #40c4ff;\n}\n\n.share__box__center {\n text-align: center;\n}\n\n.share__box__info {\n flex: 1 1 18em;\n}\n\n.share__box__element {\n padding: 1em;\n border-top: 1px solid rgba(0, 0, 0, 0.1);\n word-break: break-all;\n}\n\n.share__box__element .button {\n display: inline-block;\n}\n\n.share__box__element .button i {\n display: block;\n margin-bottom: 4px;\n}\n\n.share__box__items {\n text-align: left;\n flex: 10 0 25em;\n}\n\n.share__box__items #listing.list .item {\n cursor: pointer;\n border-left: 0;\n border-right: 0;\n border-bottom: 0;\n border-top: 1px solid rgba(0, 0, 0, 0.1);\n}\n\n.share__box__items #listing.list .item .name {\n width: 50%;\n}\n\n.share__box__items #listing.list .item .modified {\n width: 25%;\n}\n\n.share__wrong__password {\n background: var(--red);\n color: #fff;\n padding: .5em;\n text-align: center;\n animation: .2s opac forwards;\n}",""]);const l=a},722(e,t,n){"use strict";n.d(t,{A:()=>l});var r=n(1601),o=n.n(r),i=n(6314),a=n.n(i)()(o());a.push([e.id,"@media (max-width: 1024px) {\n nav {\n width: 10em\n }\n}\n\n@media (max-width: 1024px) {\n main {\n width: calc(100% - 13em)\n }\n}\n\n@media (max-width: 736px) {\n body {\n padding-bottom: 5em;\n }\n #listing.list .item .size {\n display: none;\n }\n #listing.list .item .name {\n width: 60%;\n }\n #more {\n display: inherit\n }\n header .overlay {\n width: 100%;\n height: 100%;\n background-color: rgba(0, 0, 0, 0.1);\n }\n #dropdown {\n position: fixed;\n top: 1em;\n right: 1em;\n display: block;\n background-color: #fff;\n box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);\n transform: scale(0);\n transition: .1s ease-in-out transform;\n transform-origin: top right;\n z-index: 999;\n }\n\n body.rtl #dropdown {\n right: unset;\n left: 1em;\n transform-origin: top left;\n }\n\n #dropdown > div {\n display: block;\n }\n #dropdown.active {\n transform: scale(1);\n }\n #dropdown .action {\n display: flex;\n align-items: center;\n border-radius: 0;\n width: 100%;\n }\n #dropdown .action span:not(.counter) {\n display: inline-block;\n padding: .4em;\n }\n #dropdown .counter {\n left: 2.25em;\n }\n #file-selection {\n position: fixed;\n bottom: 1em;\n left: 50%;\n transform: translateX(-50%);\n display: flex;\n align-items: center;\n background: #fff;\n box-shadow: rgba(0, 0, 0, 0.06) 0px 1px 3px, rgba(0, 0, 0, 0.12) 0px 1px 2px;\n width: 95%;\n max-width: 20em;\n z-index: 1;\n }\n #file-selection .action {\n border-radius: 50%;\n width: auto;\n }\n #file-selection > span {\n display: inline-block;\n margin-left: 1em;\n color: #6f6f6f;\n margin-right: auto;\n }\n #file-selection .action span {\n display: none;\n }\n nav {\n top: 0;\n z-index: 1002;\n background: #fff;\n height: 100%;\n width: 16em;\n box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);\n transition: .1s ease left;\n left: -17em;\n }\n\n body.rtl nav {\n left: unset;\n right: -17em;\n }\n nav.active {\n left: 0;\n }\n\n body.rtl nav.active {\n left: unset;\n right: 0;\n }\n\n .shell__divider {\n height: 12px;\n }\n\n header .search-button,\n header .menu-button {\n display: inherit;\n }\n header img {\n display: none;\n }\n\n .header .header-menu {\n display: block;\n }\n\n #listing {\n margin-bottom: 5em;\n }\n\n body.rtl #listing {\n margin-right: unset;\n }\n\n body.rtl .breadcrumbs {\n transform: translateX(16em);\n }\n\n body.rtl #nav .wrapper {\n margin-right: unset;\n }\n\n body.rtl .dashboard .row {\n margin-right: unset;\n }\n\n main {\n margin: 0 1em;\n width: calc(100% - 2em);\n }\n #search {\n display: none;\n }\n #search.active {\n display: block;\n }\n}\n\n@media (max-width: 450px) {\n #listing.list .item .modified {\n display: none;\n }\n #listing.list .item .name {\n width: 100%;\n }\n}\n",""]);const l=a},732(e,t,n){"use strict";n.d(t,{A:()=>l});var r=n(1601),o=n.n(r),i=n(6314),a=n.n(i)()(o());a.push([e.id,'/* 任何位置加上这个标签都会显示在顶层\n <header className={"header"}>\n <Action icon={"more_vert"} />\n </header>\n*/\n\n.header {\n z-index: 999;\n background-color: #fff;\n border-bottom: 1px solid rgba(0, 0, 0, 0.075);\n box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);\n position: fixed;\n top: 0;\n left: 0;\n height: 4em;\n width: 100%;\n /*padding: 0;*/\n display: flex;\n padding: 0.5em 0.5em 0.5em 1em;\n align-items: center;\n}\n@media(max-width: 1200px) {\n .header {\n overflow-x: auto !important; /* 暂时使用这种滚动方式 */\n overflow-y: hidden;\n\n /*-ms-overflow-style: none; !* 对 IE 和 Edge 浏览器隐藏滚动条 *!*/\n /*scrollbar-width: none; !* 对 Firefox 浏览器隐藏滚动条 *!*/\n }\n}\n\n.header-min {\n height: 0.1rem;\n font-size: 0.1rem;\n opacity: 0.5;\n}\n.header-min:hover {\n height: 4rem;\n font-size: small;\n}\n.header > * {\n flex: 0 0 auto;\n}\n\n.header title {\n display: block;\n flex: 1 1 auto;\n /*padding: 0 1em;*/\n overflow: hidden;\n text-overflow: ellipsis;\n font-size: 1.2em;\n}\n\n.header .header-menu {\n display: none;\n}\n\n.header .overlay {\n width: 0;\n height: 0;\n}\n\n.header a,\n.header a:hover {\n color: inherit;\n}\n\n.header>div:first-child>.action,\n.header img {\n margin-right: 1em;\n}\n\n.header img {\n height: 2.5em;\n}\n\n.header .action span {\n display: none;\n}\n\n.header>div div {\n vertical-align: middle;\n /*position: relative;*/\n}\n\n.header .search-button,\n.header .menu-button {\n display: none;\n}\n\n#more {\n display: none;\n}\n\n#search {\n position: relative;\n height: 100%;\n width: 100%;\n max-width: 25em;\n padding-left: .6rem;\n}\n\n#search.active {\n position: fixed;\n top: 0;\n right: 0;\n width: 100%;\n max-width: 100%;\n height: 100%;\n z-index: 999;\n}\n\n#search #input {\n background-color: #f5f5f5;\n display: flex;\n height: 100%;\n padding: 0em 0.75em;\n border-radius: 0.3em;\n transition: .1s ease all;\n align-items: center;\n z-index: 2;\n}\n\n#search.active #input {\n border-bottom: 1px solid rgba(0, 0, 0, 0.075);\n box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);\n background-color: #fff;\n height: 4em;\n}\n\n#search.active>div {\n border-radius: 0 !important;\n}\n\n#search.active i,\n#search.active input {\n color: #212121;\n}\n\n#search #input>.action,\n#search #input>i {\n margin-right: 0.3em;\n user-select: none;\n}\n\n#search input {\n width: 100%;\n border: 0;\n background-color: transparent;\n padding: 0;\n}\n\n#search #result {\n visibility: visible;\n max-height: none;\n background-color: #f8f8f8;\n text-align: left;\n padding: 0;\n color: rgba(0, 0, 0, 0.6);\n height: 0;\n transition: .1s ease height, .1s ease padding;\n overflow-x: hidden;\n overflow-y: auto;\n z-index: 1;\n}\n\nbody.rtl #search #result {\n direction: ltr;\n}\n\n#search #result>div>*:first-child {\n margin-top: 0;\n}\n\nbody.rtl #search #result {\n direction: rtl;\n text-align: right;\n}\n\n/*** RTL - Keep search result LTR because it has paths (in english) ***/\nbody.rtl #search #result ul>* {\n direction: ltr;\n text-align: left;\n}\n\n#search.active #result {\n padding: .5em;\n height: calc(100% - 4em);\n}\n\n#search ul {\n padding: 0;\n margin: 0;\n list-style: none;\n}\n\n#search li {\n margin-bottom: .5em;\n}\n\n#search #result>div {\n max-width: 45em;\n margin: 0 auto;\n}\n\n#search #result #renew {\n width: 100%;\n text-align: center;\n display: none;\n margin: 0;\n max-width: none;\n}\n\n#search.ongoing #result #renew {\n display: block;\n}\n\n#search.active #result i {\n color: #ccc;\n}\n\n#search.active #result>p>i {\n text-align: center;\n margin: 0 auto;\n display: table;\n}\n\n#search.active #result ul li a {\n display: flex;\n align-items: center;\n padding: .3em 0;\n}\n\n#search.active #result ul li a i {\n margin-right: .3em;\n}\n\n#search::-webkit-input-placeholder {\n color: rgba(255, 255, 255, .5);\n}\n\n#search:-moz-placeholder {\n opacity: 1;\n color: rgba(255, 255, 255, .5);\n}\n\n#search::-moz-placeholder {\n opacity: 1;\n color: rgba(255, 255, 255, .5);\n}\n\n#search:-ms-input-placeholder {\n color: rgba(255, 255, 255, .5);\n}\n\n#search .boxes {\n border: 1px solid rgba(0, 0, 0, 0.075);\n box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);\n background: #fff;\n margin: 1em 0;\n}\n\n#search .boxes h3 {\n margin: 0;\n font-weight: 500;\n font-size: 1em;\n color: #212121;\n padding: .5em;\n}\n\nbody.rtl #search .boxes h3 {\n text-align: right;\n}\n\n#search .boxes>div {\n display: flex;\n flex-wrap: wrap;\n justify-content: space-between;\n margin-right: -1em;\n margin-bottom: -1em;\n}\n\n#search .boxes>div>div {\n background: var(--blue);\n color: #fff;\n text-align: center;\n width: 10em;\n padding: 1em;\n cursor: pointer;\n margin-bottom: 1em;\n margin-right: 1em;\n flex-grow: 1;\n}\n\n#search .boxes p {\n margin: 1em 0 0;\n}\n\n#search .boxes i {\n color: #fff !important;\n font-size: 3.5em;\n}\n',""]);const l=a},814(e,t,n){"use strict";e.exports=n.p+"23410236ad91e1e9a940.woff2"},818(e,t,n){"use strict";e.exports=i;var r=n(3449);(i.prototype=Object.create(r.prototype)).constructor=i;var o=n(3610);function i(){r.call(this)}function a(e,t,n){e.length<40?o.utf8.write(e,t,n):t.utf8Write?t.utf8Write(e,n):t.write(e,n)}i._configure=function(){i.alloc=o._Buffer_allocUnsafe,i.writeBytesBuffer=o.Buffer&&o.Buffer.prototype instanceof Uint8Array&&"set"===o.Buffer.prototype.set.name?function(e,t,n){t.set(e,n)}:function(e,t,n){if(e.copy)e.copy(t,n,0,e.length);else for(var r=0;r<e.length;)t[n++]=e[r++]}},i.prototype.bytes=function(e){o.isString(e)&&(e=o._Buffer_from(e,"base64"));var t=e.length>>>0;return this.uint32(t),t&&this._push(i.writeBytesBuffer,t,e),this},i.prototype.string=function(e){var t=o.Buffer.byteLength(e);return this.uint32(t),t&&this._push(a,t,e),this},i._configure()},961(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(2551)},1028(e,t,n){"use strict";n.d(t,{A:()=>l});var r=n(1601),o=n.n(r),i=n(6314),a=n.n(i)()(o());a.push([e.id,'.awesomplete [hidden] {\n display: none;\n}\n\n.awesomplete .visually-hidden {\n position: absolute;\n clip: rect(0, 0, 0, 0);\n}\n\n.awesomplete {\n display: inline-block;\n position: relative;\n}\n\n.awesomplete > input {\n display: block;\n}\n\n.awesomplete > ul {\n position: absolute;\n left: 0;\n z-index: 1;\n min-width: 100%;\n box-sizing: border-box;\n list-style: none;\n padding: 0;\n margin: 0;\n background: #fff;\n}\n\n.awesomplete > ul:empty {\n display: none;\n}\n\n.awesomplete > ul {\n\tborder-radius: .3em;\n\tmargin: .2em 0 0;\n\tbackground: hsla(0,0%,100%,.9);\n\tbackground: linear-gradient(to bottom right, white, hsla(0,0%,100%,.8));\n\tborder: 1px solid rgba(0,0,0,.3);\n\tbox-shadow: .05em .2em .6em rgba(0,0,0,.2);\n\ttext-shadow: none;\n}\n\n@supports (transform: scale(0)) {\n\t.awesomplete > ul {\n\t\ttransition: .3s cubic-bezier(.4,.2,.5,1.4);\n\t\ttransform-origin: 1.43em -.43em;\n\t}\n\t\n\t.awesomplete > ul[hidden],\n\t.awesomplete > ul:empty {\n\t\topacity: 0;\n\t\ttransform: scale(0);\n\t\tdisplay: block;\n\t\tvisibility: hidden;\n\t\ttransition-timing-function: ease;\n\t}\n}\n\n\t/* Pointer */\n\t.awesomplete > ul:before {\n\t\tcontent: "";\n\t\tposition: absolute;\n\t\ttop: -.43em;\n\t\tleft: 1em;\n\t\twidth: 0; height: 0;\n\t\tpadding: .4em;\n\t\tbackground: white;\n\t\tborder: inherit;\n\t\tborder-right: 0;\n\t\tborder-bottom: 0;\n\t\t-webkit-transform: rotate(45deg);\n\t\ttransform: rotate(45deg);\n\t}\n\n\t.awesomplete > ul > li {\n\t\tposition: relative;\n\t\tpadding: .2em .5em;\n\t\tcursor: pointer;\n\t}\n\t\n\t.awesomplete > ul > li:hover {\n\t\tbackground: hsl(200, 40%, 80%);\n\t\tcolor: black;\n\t}\n\t\n\t.awesomplete > ul > li[aria-selected="true"] {\n\t\tbackground: hsl(205, 40%, 40%);\n\t\tcolor: white;\n\t}\n\t\n\t\t.awesomplete mark {\n\t\t\tbackground: hsl(65, 100%, 50%);\n\t\t}\n\t\t\n\t\t.awesomplete li:hover mark {\n\t\t\tbackground: hsl(68, 100%, 41%);\n\t\t}\n\t\t\n\t\t.awesomplete li[aria-selected="true"] mark {\n\t\t\tbackground: hsl(86, 100%, 21%);\n\t\t\tcolor: inherit;\n\t\t}\n',""]);const l=a},1082(e,t,n){"use strict";n.d(t,{A:()=>l});var r=n(1601),o=n.n(r),i=n(6314),a=n.n(i)()(o());a.push([e.id,"#browser {\n display: flex;\n flex-direction: column;\n height: 100vh;\n}\n#url-bar {\n display: flex;\n padding: 10px;\n background-color: #f1f1f1;\n box-shadow: 0 2px 4px rgba(0,0,0,0.1);\n}\n#url-input {\n flex: 1;\n padding: 10px;\n font-size: 16px;\n border: 1px solid #ccc;\n border-radius: 4px;\n}\n.little-button {\n padding: 10px 20px;\n margin-left: 10px;\n font-size: 16px;\n border: none;\n border-radius: 4px;\n background-color: var(--blue);\n color: white;\n cursor: pointer;\n}\n.little-button-status {\n padding: 10px 20px;\n margin-left: 10px;\n font-size: 16px;\n border: none;\n border-radius: 4px;\n background-color: var(--surfaceSecondary);\n color: white;\n cursor: pointer;\n}\n/*.little-button:hover {*/\n/* background-color: #45a049;*/\n/*}*/\n#webview {\n flex: 1;\n border: none;\n width: 100%;\n height: 100%;\n\n}\n\n.full_screen {\n width: 100%;\n background-color: #f8f8f8;\n position: fixed;\n top: 0;\n right: 0;\n max-width: 100%;\n z-index: 1;\n height: 100%;\n\n}\n.full_screen_more {\n overflow: auto;\n}\n\n.full_screen_context {\n padding-top:5rem;\n padding-left: 2rem;\n padding-right: 2rem;\n}",""]);const l=a},1083(e,t,n){"use strict";n.d(t,{A:()=>St});var r={};function o(e,t){return function(){return e.apply(t,arguments)}}n.r(r),n.d(r,{hasBrowserEnv:()=>pe,hasStandardBrowserEnv:()=>me,hasStandardBrowserWebWorkerEnv:()=>ge,navigator:()=>he,origin:()=>ye});const{toString:i}=Object.prototype,{getPrototypeOf:a}=Object,{iterator:l,toStringTag:s}=Symbol,c=(u=Object.create(null),e=>{const t=i.call(e);return u[t]||(u[t]=t.slice(8,-1).toLowerCase())});var u;const d=e=>(e=e.toLowerCase(),t=>c(t)===e),f=e=>t=>typeof t===e,{isArray:p}=Array,h=f("undefined");function m(e){return null!==e&&!h(e)&&null!==e.constructor&&!h(e.constructor)&&b(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const g=d("ArrayBuffer");const y=f("string"),b=f("function"),v=f("number"),_=e=>null!==e&&"object"==typeof e,w=e=>{if("object"!==c(e))return!1;const t=a(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||s in e||l in e)},S=d("Date"),k=d("File"),x=d("Blob"),E=d("FileList"),C=d("URLSearchParams"),[T,A,P,O]=["ReadableStream","Request","Response","Headers"].map(d);function R(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let r,o;if("object"!=typeof e&&(e=[e]),p(e))for(r=0,o=e.length;r<o;r++)t.call(null,e[r],r,e);else{if(m(e))return;const o=n?Object.getOwnPropertyNames(e):Object.keys(e),i=o.length;let a;for(r=0;r<i;r++)a=o[r],t.call(null,e[a],a,e)}}function N(e,t){if(m(e))return null;t=t.toLowerCase();const n=Object.keys(e);let r,o=n.length;for(;o-- >0;)if(r=n[o],t===r.toLowerCase())return r;return null}const I="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:n.g,L=e=>!h(e)&&e!==I;const D=(F="undefined"!=typeof Uint8Array&&a(Uint8Array),e=>F&&e instanceof F);var F;const M=d("HTMLFormElement"),j=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),U=d("RegExp"),z=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};R(n,(n,o)=>{let i;!1!==(i=t(n,o,e))&&(r[o]=i||n)}),Object.defineProperties(e,r)};const B=d("AsyncFunction"),H=(G="function"==typeof setImmediate,V=b(I.postMessage),G?setImmediate:V?($=`axios@${Math.random()}`,W=[],I.addEventListener("message",({source:e,data:t})=>{e===I&&t===$&&W.length&&W.shift()()},!1),e=>{W.push(e),I.postMessage($,"*")}):e=>setTimeout(e));var G,V,$,W;const q="undefined"!=typeof queueMicrotask?queueMicrotask.bind(I):"undefined"!=typeof process&&process.nextTick||H,K={isArray:p,isArrayBuffer:g,isBuffer:m,isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||b(e.append)&&("formdata"===(t=c(e))||"object"===t&&b(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&g(e.buffer),t},isString:y,isNumber:v,isBoolean:e=>!0===e||!1===e,isObject:_,isPlainObject:w,isEmptyObject:e=>{if(!_(e)||m(e))return!1;try{return 0===Object.keys(e).length&&Object.getPrototypeOf(e)===Object.prototype}catch(e){return!1}},isReadableStream:T,isRequest:A,isResponse:P,isHeaders:O,isUndefined:h,isDate:S,isFile:k,isBlob:x,isRegExp:U,isFunction:b,isStream:e=>_(e)&&b(e.pipe),isURLSearchParams:C,isTypedArray:D,isFileList:E,forEach:R,merge:function e(){const{caseless:t,skipUndefined:n}=L(this)&&this||{},r={},o=(o,i)=>{const a=t&&N(r,i)||i;w(r[a])&&w(o)?r[a]=e(r[a],o):w(o)?r[a]=e({},o):p(o)?r[a]=o.slice():n&&h(o)||(r[a]=o)};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&R(arguments[e],o);return r},extend:(e,t,n,{allOwnKeys:r}={})=>(R(t,(t,r)=>{n&&b(t)?e[r]=o(t,n):e[r]=t},{allOwnKeys:r}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,r)=>{let o,i,l;const s={};if(t=t||{},null==e)return t;do{for(o=Object.getOwnPropertyNames(e),i=o.length;i-- >0;)l=o[i],r&&!r(l,e,t)||s[l]||(t[l]=e[l],s[l]=!0);e=!1!==n&&a(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:c,kindOfTest:d,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return-1!==r&&r===n},toArray:e=>{if(!e)return null;if(p(e))return e;let t=e.length;if(!v(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[l]).call(e);let r;for(;(r=n.next())&&!r.done;){const n=r.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const r=[];for(;null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:M,hasOwnProperty:j,hasOwnProp:j,reduceDescriptors:z,freezeMethods:e=>{z(e,(t,n)=>{if(b(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=e[n];b(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))})},toObjectSet:(e,t)=>{const n={},r=e=>{e.forEach(e=>{n[e]=!0})};return p(e)?r(e):r(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,n){return t.toUpperCase()+n}),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:N,global:I,isContextDefined:L,isSpecCompliantForm:function(e){return!!(e&&b(e.append)&&"FormData"===e[s]&&e[l])},toJSONObject:e=>{const t=new Array(10),n=(e,r)=>{if(_(e)){if(t.indexOf(e)>=0)return;if(m(e))return e;if(!("toJSON"in e)){t[r]=e;const o=p(e)?[]:{};return R(e,(e,t)=>{const i=n(e,r+1);!h(i)&&(o[t]=i)}),t[r]=void 0,o}}return e};return n(e,0)},isAsyncFn:B,isThenable:e=>e&&(_(e)||b(e))&&b(e.then)&&b(e.catch),setImmediate:H,asap:q,isIterable:e=>null!=e&&b(e[l])};function X(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o,this.status=o.status?o.status:null)}K.inherits(X,Error,{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:K.toJSONObject(this.config),code:this.code,status:this.status}}});const J=X.prototype,Q={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Q[e]={value:e}}),Object.defineProperties(X,Q),Object.defineProperty(J,"isAxiosError",{value:!0}),X.from=(e,t,n,r,o,i)=>{const a=Object.create(J);K.toFlatObject(e,a,function(e){return e!==Error.prototype},e=>"isAxiosError"!==e);const l=e&&e.message?e.message:"Error",s=null==t&&e?e.code:t;return X.call(a,l,s,n,r,o),e&&null==a.cause&&Object.defineProperty(a,"cause",{value:e,configurable:!0}),a.name=e&&e.name||"Error",i&&Object.assign(a,i),a};const Z=X;function Y(e){return K.isPlainObject(e)||K.isArray(e)}function ee(e){return K.endsWith(e,"[]")?e.slice(0,-2):e}function te(e,t,n){return e?e.concat(t).map(function(e,t){return e=ee(e),!n&&t?"["+e+"]":e}).join(n?".":""):t}const ne=K.toFlatObject(K,{},null,function(e){return/^is[A-Z]/.test(e)});const re=function(e,t,n){if(!K.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const r=(n=K.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!K.isUndefined(t[e])})).metaTokens,o=n.visitor||c,i=n.dots,a=n.indexes,l=(n.Blob||"undefined"!=typeof Blob&&Blob)&&K.isSpecCompliantForm(t);if(!K.isFunction(o))throw new TypeError("visitor must be a function");function s(e){if(null===e)return"";if(K.isDate(e))return e.toISOString();if(K.isBoolean(e))return e.toString();if(!l&&K.isBlob(e))throw new Z("Blob is not supported. Use a Buffer instead.");return K.isArrayBuffer(e)||K.isTypedArray(e)?l&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function c(e,n,o){let l=e;if(e&&!o&&"object"==typeof e)if(K.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(K.isArray(e)&&function(e){return K.isArray(e)&&!e.some(Y)}(e)||(K.isFileList(e)||K.endsWith(n,"[]"))&&(l=K.toArray(e)))return n=ee(n),l.forEach(function(e,r){!K.isUndefined(e)&&null!==e&&t.append(!0===a?te([n],r,i):null===a?n:n+"[]",s(e))}),!1;return!!Y(e)||(t.append(te(o,n,i),s(e)),!1)}const u=[],d=Object.assign(ne,{defaultVisitor:c,convertValue:s,isVisitable:Y});if(!K.isObject(e))throw new TypeError("data must be an object");return function e(n,r){if(!K.isUndefined(n)){if(-1!==u.indexOf(n))throw Error("Circular reference detected in "+r.join("."));u.push(n),K.forEach(n,function(n,i){!0===(!(K.isUndefined(n)||null===n)&&o.call(t,n,K.isString(i)?i.trim():i,r,d))&&e(n,r?r.concat(i):[i])}),u.pop()}}(e),t};function oe(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(e){return t[e]})}function ie(e,t){this._pairs=[],e&&re(e,this,t)}const ae=ie.prototype;ae.append=function(e,t){this._pairs.push([e,t])},ae.toString=function(e){const t=e?function(t){return e.call(this,t,oe)}:oe;return this._pairs.map(function(e){return t(e[0])+"="+t(e[1])},"").join("&")};const le=ie;function se(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function ce(e,t,n){if(!t)return e;const r=n&&n.encode||se;K.isFunction(n)&&(n={serialize:n});const o=n&&n.serialize;let i;if(i=o?o(t,n):K.isURLSearchParams(t)?t.toString():new le(t,n).toString(r),i){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}const ue=class{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){K.forEach(this.handlers,function(t){null!==t&&e(t)})}},de={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},fe={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:le,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},pe="undefined"!=typeof window&&"undefined"!=typeof document,he="object"==typeof navigator&&navigator||void 0,me=pe&&(!he||["ReactNative","NativeScript","NS"].indexOf(he.product)<0),ge="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,ye=pe&&window.location.href||"http://localhost",be={...r,...fe};const ve=function(e){function t(e,n,r,o){let i=e[o++];if("__proto__"===i)return!0;const a=Number.isFinite(+i),l=o>=e.length;if(i=!i&&K.isArray(r)?r.length:i,l)return K.hasOwnProp(r,i)?r[i]=[r[i],n]:r[i]=n,!a;r[i]&&K.isObject(r[i])||(r[i]=[]);return t(e,n,r[i],o)&&K.isArray(r[i])&&(r[i]=function(e){const t={},n=Object.keys(e);let r;const o=n.length;let i;for(r=0;r<o;r++)i=n[r],t[i]=e[i];return t}(r[i])),!a}if(K.isFormData(e)&&K.isFunction(e.entries)){const n={};return K.forEachEntry(e,(e,r)=>{t(function(e){return K.matchAll(/\w+|\[(\w*)]/g,e).map(e=>"[]"===e[0]?"":e[1]||e[0])}(e),r,n,0)}),n}return null};const _e={transitional:de,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,o=K.isObject(e);o&&K.isHTMLForm(e)&&(e=new FormData(e));if(K.isFormData(e))return r?JSON.stringify(ve(e)):e;if(K.isArrayBuffer(e)||K.isBuffer(e)||K.isStream(e)||K.isFile(e)||K.isBlob(e)||K.isReadableStream(e))return e;if(K.isArrayBufferView(e))return e.buffer;if(K.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let i;if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return re(e,new be.classes.URLSearchParams,{visitor:function(e,t,n,r){return be.isNode&&K.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)},...t})}(e,this.formSerializer).toString();if((i=K.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return re(i?{"files[]":e}:e,t&&new t,this.formSerializer)}}return o||r?(t.setContentType("application/json",!1),function(e,t,n){if(K.isString(e))try{return(t||JSON.parse)(e),K.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||_e.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(K.isResponse(e)||K.isReadableStream(e))return e;if(e&&K.isString(e)&&(n&&!this.responseType||r)){const n=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e,this.parseReviver)}catch(e){if(n){if("SyntaxError"===e.name)throw Z.from(e,Z.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:be.classes.FormData,Blob:be.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};K.forEach(["delete","get","head","post","put","patch"],e=>{_e.headers[e]={}});const we=_e,Se=K.toObjectSet(["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"]),ke=Symbol("internals");function xe(e){return e&&String(e).trim().toLowerCase()}function Ee(e){return!1===e||null==e?e:K.isArray(e)?e.map(Ee):String(e)}function Ce(e,t,n,r,o){return K.isFunction(r)?r.call(this,t,n):(o&&(t=n),K.isString(t)?K.isString(r)?-1!==t.indexOf(r):K.isRegExp(r)?r.test(t):void 0:void 0)}class Te{constructor(e){e&&this.set(e)}set(e,t,n){const r=this;function o(e,t,n){const o=xe(t);if(!o)throw new Error("header name must be a non-empty string");const i=K.findKey(r,o);(!i||void 0===r[i]||!0===n||void 0===n&&!1!==r[i])&&(r[i||t]=Ee(e))}const i=(e,t)=>K.forEach(e,(e,n)=>o(e,n,t));if(K.isPlainObject(e)||e instanceof this.constructor)i(e,t);else if(K.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))i((e=>{const t={};let n,r,o;return e&&e.split("\n").forEach(function(e){o=e.indexOf(":"),n=e.substring(0,o).trim().toLowerCase(),r=e.substring(o+1).trim(),!n||t[n]&&Se[n]||("set-cookie"===n?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t})(e),t);else if(K.isObject(e)&&K.isIterable(e)){let n,r,o={};for(const t of e){if(!K.isArray(t))throw TypeError("Object iterator must return a key-value pair");o[r=t[0]]=(n=o[r])?K.isArray(n)?[...n,t[1]]:[n,t[1]]:t[1]}i(o,t)}else null!=e&&o(t,e,n);return this}get(e,t){if(e=xe(e)){const n=K.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}(e);if(K.isFunction(t))return t.call(this,e,n);if(K.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=xe(e)){const n=K.findKey(this,e);return!(!n||void 0===this[n]||t&&!Ce(0,this[n],n,t))}return!1}delete(e,t){const n=this;let r=!1;function o(e){if(e=xe(e)){const o=K.findKey(n,e);!o||t&&!Ce(0,n[o],o,t)||(delete n[o],r=!0)}}return K.isArray(e)?e.forEach(o):o(e),r}clear(e){const t=Object.keys(this);let n=t.length,r=!1;for(;n--;){const o=t[n];e&&!Ce(0,this[o],o,e,!0)||(delete this[o],r=!0)}return r}normalize(e){const t=this,n={};return K.forEach(this,(r,o)=>{const i=K.findKey(n,o);if(i)return t[i]=Ee(r),void delete t[o];const a=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,n)=>t.toUpperCase()+n)}(o):String(o).trim();a!==o&&delete t[o],t[a]=Ee(r),n[a]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return K.forEach(this,(n,r)=>{null!=n&&!1!==n&&(t[r]=e&&K.isArray(n)?n.join(", "):n)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join("\n")}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach(e=>n.set(e)),n}static accessor(e){const t=(this[ke]=this[ke]={accessors:{}}).accessors,n=this.prototype;function r(e){const r=xe(e);t[r]||(!function(e,t){const n=K.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(e,n,o){return this[r].call(this,t,e,n,o)},configurable:!0})})}(n,e),t[r]=!0)}return K.isArray(e)?e.forEach(r):r(e),this}}Te.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),K.reduceDescriptors(Te.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}}),K.freezeMethods(Te);const Ae=Te;function Pe(e,t){const n=this||we,r=t||n,o=Ae.from(r.headers);let i=r.data;return K.forEach(e,function(e){i=e.call(n,i,o.normalize(),t?t.status:void 0)}),o.normalize(),i}function Oe(e){return!(!e||!e.__CANCEL__)}function Re(e,t,n){Z.call(this,null==e?"canceled":e,Z.ERR_CANCELED,t,n),this.name="CanceledError"}K.inherits(Re,Z,{__CANCEL__:!0});const Ne=Re;function Ie(e,t,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new Z("Request failed with status code "+n.status,[Z.ERR_BAD_REQUEST,Z.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}const Le=function(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o,i=0,a=0;return t=void 0!==t?t:1e3,function(l){const s=Date.now(),c=r[a];o||(o=s),n[i]=l,r[i]=s;let u=a,d=0;for(;u!==i;)d+=n[u++],u%=e;if(i=(i+1)%e,i===a&&(a=(a+1)%e),s-o<t)return;const f=c&&s-c;return f?Math.round(1e3*d/f):void 0}};const De=function(e,t){let n,r,o=0,i=1e3/t;const a=(t,i=Date.now())=>{o=i,n=null,r&&(clearTimeout(r),r=null),e(...t)};return[(...e)=>{const t=Date.now(),l=t-o;l>=i?a(e,t):(n=e,r||(r=setTimeout(()=>{r=null,a(n)},i-l)))},()=>n&&a(n)]},Fe=(e,t,n=3)=>{let r=0;const o=Le(50,250);return De(n=>{const i=n.loaded,a=n.lengthComputable?n.total:void 0,l=i-r,s=o(l);r=i;e({loaded:i,total:a,progress:a?i/a:void 0,bytes:l,rate:s||void 0,estimated:s&&a&&i<=a?(a-i)/s:void 0,event:n,lengthComputable:null!=a,[t?"download":"upload"]:!0})},n)},Me=(e,t)=>{const n=null!=e;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},je=e=>(...t)=>K.asap(()=>e(...t)),Ue=be.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,be.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(be.origin),be.navigator&&/(msie|trident)/i.test(be.navigator.userAgent)):()=>!0,ze=be.hasStandardBrowserEnv?{write(e,t,n,r,o,i){const a=[e+"="+encodeURIComponent(t)];K.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),K.isString(r)&&a.push("path="+r),K.isString(o)&&a.push("domain="+o),!0===i&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function Be(e,t,n){let r=!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t);return e&&(r||0==n)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}const He=e=>e instanceof Ae?{...e}:e;function Ge(e,t){t=t||{};const n={};function r(e,t,n,r){return K.isPlainObject(e)&&K.isPlainObject(t)?K.merge.call({caseless:r},e,t):K.isPlainObject(t)?K.merge({},t):K.isArray(t)?t.slice():t}function o(e,t,n,o){return K.isUndefined(t)?K.isUndefined(e)?void 0:r(void 0,e,0,o):r(e,t,0,o)}function i(e,t){if(!K.isUndefined(t))return r(void 0,t)}function a(e,t){return K.isUndefined(t)?K.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function l(n,o,i){return i in t?r(n,o):i in e?r(void 0,n):void 0}const s={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:l,headers:(e,t,n)=>o(He(e),He(t),0,!0)};return K.forEach(Object.keys({...e,...t}),function(r){const i=s[r]||o,a=i(e[r],t[r],r);K.isUndefined(a)&&i!==l||(n[r]=a)}),n}const Ve=e=>{const t=Ge({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:o,xsrfCookieName:i,headers:a,auth:l}=t;if(t.headers=a=Ae.from(a),t.url=ce(Be(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),l&&a.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):""))),K.isFormData(n))if(be.hasStandardBrowserEnv||be.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if(K.isFunction(n.getHeaders)){const e=n.getHeaders(),t=["content-type","content-length"];Object.entries(e).forEach(([e,n])=>{t.includes(e.toLowerCase())&&a.set(e,n)})}if(be.hasStandardBrowserEnv&&(r&&K.isFunction(r)&&(r=r(t)),r||!1!==r&&Ue(t.url))){const e=o&&i&&ze.read(i);e&&a.set(o,e)}return t},$e="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise(function(t,n){const r=Ve(e);let o=r.data;const i=Ae.from(r.headers).normalize();let a,l,s,c,u,{responseType:d,onUploadProgress:f,onDownloadProgress:p}=r;function h(){c&&c(),u&&u(),r.cancelToken&&r.cancelToken.unsubscribe(a),r.signal&&r.signal.removeEventListener("abort",a)}let m=new XMLHttpRequest;function g(){if(!m)return;const r=Ae.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders());Ie(function(e){t(e),h()},function(e){n(e),h()},{data:d&&"text"!==d&&"json"!==d?m.response:m.responseText,status:m.status,statusText:m.statusText,headers:r,config:e,request:m}),m=null}m.open(r.method.toUpperCase(),r.url,!0),m.timeout=r.timeout,"onloadend"in m?m.onloadend=g:m.onreadystatechange=function(){m&&4===m.readyState&&(0!==m.status||m.responseURL&&0===m.responseURL.indexOf("file:"))&&setTimeout(g)},m.onabort=function(){m&&(n(new Z("Request aborted",Z.ECONNABORTED,e,m)),m=null)},m.onerror=function(t){const r=t&&t.message?t.message:"Network Error",o=new Z(r,Z.ERR_NETWORK,e,m);o.event=t||null,n(o),m=null},m.ontimeout=function(){let t=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const o=r.transitional||de;r.timeoutErrorMessage&&(t=r.timeoutErrorMessage),n(new Z(t,o.clarifyTimeoutError?Z.ETIMEDOUT:Z.ECONNABORTED,e,m)),m=null},void 0===o&&i.setContentType(null),"setRequestHeader"in m&&K.forEach(i.toJSON(),function(e,t){m.setRequestHeader(t,e)}),K.isUndefined(r.withCredentials)||(m.withCredentials=!!r.withCredentials),d&&"json"!==d&&(m.responseType=r.responseType),p&&([s,u]=Fe(p,!0),m.addEventListener("progress",s)),f&&m.upload&&([l,c]=Fe(f),m.upload.addEventListener("progress",l),m.upload.addEventListener("loadend",c)),(r.cancelToken||r.signal)&&(a=t=>{m&&(n(!t||t.type?new Ne(null,e,m):t),m.abort(),m=null)},r.cancelToken&&r.cancelToken.subscribe(a),r.signal&&(r.signal.aborted?a():r.signal.addEventListener("abort",a)));const y=function(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(r.url);y&&-1===be.protocols.indexOf(y)?n(new Z("Unsupported protocol "+y+":",Z.ERR_BAD_REQUEST,e)):m.send(o||null)})},We=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let n,r=new AbortController;const o=function(e){if(!n){n=!0,a();const t=e instanceof Error?e:this.reason;r.abort(t instanceof Z?t:new Ne(t instanceof Error?t.message:t))}};let i=t&&setTimeout(()=>{i=null,o(new Z(`timeout ${t} of ms exceeded`,Z.ETIMEDOUT))},t);const a=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach(e=>{e.unsubscribe?e.unsubscribe(o):e.removeEventListener("abort",o)}),e=null)};e.forEach(e=>e.addEventListener("abort",o));const{signal:l}=r;return l.unsubscribe=()=>K.asap(a),l}},qe=function*(e,t){let n=e.byteLength;if(!t||n<t)return void(yield e);let r,o=0;for(;o<n;)r=o+t,yield e.slice(o,r),o=r},Ke=async function*(e){if(e[Symbol.asyncIterator])return void(yield*e);const t=e.getReader();try{for(;;){const{done:e,value:n}=await t.read();if(e)break;yield n}}finally{await t.cancel()}},Xe=(e,t,n,r)=>{const o=async function*(e,t){for await(const n of Ke(e))yield*qe(n,t)}(e,t);let i,a=0,l=e=>{i||(i=!0,r&&r(e))};return new ReadableStream({async pull(e){try{const{done:t,value:r}=await o.next();if(t)return l(),void e.close();let i=r.byteLength;if(n){let e=a+=i;n(e)}e.enqueue(new Uint8Array(r))}catch(e){throw l(e),e}},cancel:e=>(l(e),o.return())},{highWaterMark:2})},{isFunction:Je}=K,Qe=(({fetch:e,Request:t,Response:n})=>({fetch:e,Request:t,Response:n}))(K.global),{ReadableStream:Ze,TextEncoder:Ye}=K.global,et=(e,...t)=>{try{return!!e(...t)}catch(e){return!1}},tt=e=>{const{fetch:t,Request:n,Response:r}=Object.assign({},Qe,e),o=Je(t),i=Je(n),a=Je(r);if(!o)return!1;const l=o&&Je(Ze),s=o&&("function"==typeof Ye?(c=new Ye,e=>c.encode(e)):async e=>new Uint8Array(await new n(e).arrayBuffer()));var c;const u=i&&l&&et(()=>{let e=!1;const t=new n(be.origin,{body:new Ze,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),d=a&&l&&et(()=>K.isReadableStream(new r("").body)),f={stream:d&&(e=>e.body)};o&&["text","arrayBuffer","blob","formData","stream"].forEach(e=>{!f[e]&&(f[e]=(t,n)=>{let r=t&&t[e];if(r)return r.call(t);throw new Z(`Response type '${e}' is not supported`,Z.ERR_NOT_SUPPORT,n)})});const p=async(e,t)=>{const r=K.toFiniteNumber(e.getContentLength());return null==r?(async e=>{if(null==e)return 0;if(K.isBlob(e))return e.size;if(K.isSpecCompliantForm(e)){const t=new n(be.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return K.isArrayBufferView(e)||K.isArrayBuffer(e)?e.byteLength:(K.isURLSearchParams(e)&&(e+=""),K.isString(e)?(await s(e)).byteLength:void 0)})(t):r};return async e=>{let{url:o,method:a,data:l,signal:s,cancelToken:c,timeout:h,onDownloadProgress:m,onUploadProgress:g,responseType:y,headers:b,withCredentials:v="same-origin",fetchOptions:_}=Ve(e);y=y?(y+"").toLowerCase():"text";let w=We([s,c&&c.toAbortSignal()],h),S=null;const k=w&&w.unsubscribe&&(()=>{w.unsubscribe()});let x;try{if(g&&u&&"get"!==a&&"head"!==a&&0!==(x=await p(b,l))){let e,t=new n(o,{method:"POST",body:l,duplex:"half"});if(K.isFormData(l)&&(e=t.headers.get("content-type"))&&b.setContentType(e),t.body){const[e,n]=Me(x,Fe(je(g)));l=Xe(t.body,65536,e,n)}}K.isString(v)||(v=v?"include":"omit");const s=i&&"credentials"in n.prototype,c={..._,signal:w,method:a.toUpperCase(),headers:b.normalize().toJSON(),body:l,duplex:"half",credentials:s?v:void 0};S=i&&new n(o,c);let h=await(i?t(S,_):t(o,c));const E=d&&("stream"===y||"response"===y);if(d&&(m||E&&k)){const e={};["status","statusText","headers"].forEach(t=>{e[t]=h[t]});const t=K.toFiniteNumber(h.headers.get("content-length")),[n,o]=m&&Me(t,Fe(je(m),!0))||[];h=new r(Xe(h.body,65536,n,()=>{o&&o(),k&&k()}),e)}y=y||"text";let C=await f[K.findKey(f,y)||"text"](h,e);return!E&&k&&k(),await new Promise((t,n)=>{Ie(t,n,{data:C,headers:Ae.from(h.headers),status:h.status,statusText:h.statusText,config:e,request:S})})}catch(t){if(k&&k(),t&&"TypeError"===t.name&&/Load failed|fetch/i.test(t.message))throw Object.assign(new Z("Network Error",Z.ERR_NETWORK,e,S),{cause:t.cause||t});throw Z.from(t,t&&t.code,e,S)}}},nt=new Map,rt=e=>{let t=K.merge.call({skipUndefined:!0},Qe,e?e.env:null);const{fetch:n,Request:r,Response:o}=t,i=[r,o,n];let a,l,s=i.length,c=nt;for(;s--;)a=i[s],l=c.get(a),void 0===l&&c.set(a,l=s?new Map:tt(t)),c=l;return l},ot=(rt(),{http:null,xhr:$e,fetch:{get:rt}});K.forEach(ot,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}});const it=e=>`- ${e}`,at=e=>K.isFunction(e)||null===e||!1===e,lt=(e,t)=>{e=K.isArray(e)?e:[e];const{length:n}=e;let r,o;const i={};for(let a=0;a<n;a++){let n;if(r=e[a],o=r,!at(r)&&(o=ot[(n=String(r)).toLowerCase()],void 0===o))throw new Z(`Unknown adapter '${n}'`);if(o&&(K.isFunction(o)||(o=o.get(t))))break;i[n||"#"+a]=o}if(!o){const e=Object.entries(i).map(([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build"));let t=n?e.length>1?"since :\n"+e.map(it).join("\n"):" "+it(e[0]):"as no adapter specified";throw new Z("There is no suitable adapter to dispatch the request "+t,"ERR_NOT_SUPPORT")}return o};function st(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Ne(null,e)}function ct(e){st(e),e.headers=Ae.from(e.headers),e.data=Pe.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1);return lt(e.adapter||we.adapter,e)(e).then(function(t){return st(e),t.data=Pe.call(e,e.transformResponse,t),t.headers=Ae.from(t.headers),t},function(t){return Oe(t)||(st(e),t&&t.response&&(t.response.data=Pe.call(e,e.transformResponse,t.response),t.response.headers=Ae.from(t.response.headers))),Promise.reject(t)})}const ut="1.12.0",dt={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{dt[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const ft={};dt.transitional=function(e,t,n){function r(e,t){return"[Axios v"+ut+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,o,i)=>{if(!1===e)throw new Z(r(o," has been removed"+(t?" in "+t:"")),Z.ERR_DEPRECATED);return t&&!ft[o]&&(ft[o]=!0,console.warn(r(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,o,i)}},dt.spelling=function(e){return(t,n)=>(console.warn(`${n} is likely a misspelling of ${e}`),!0)};const pt={assertOptions:function(e,t,n){if("object"!=typeof e)throw new Z("options must be an object",Z.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const i=r[o],a=t[i];if(a){const t=e[i],n=void 0===t||a(t,i,e);if(!0!==n)throw new Z("option "+i+" must be "+n,Z.ERR_BAD_OPTION_VALUE);continue}if(!0!==n)throw new Z("Unknown option "+i,Z.ERR_BAD_OPTION)}},validators:dt},ht=pt.validators;class mt{constructor(e){this.defaults=e||{},this.interceptors={request:new ue,response:new ue}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=new Error;const n=t.stack?t.stack.replace(/^.+\n/,""):"";try{e.stack?n&&!String(e.stack).endsWith(n.replace(/^.+\n.+\n/,""))&&(e.stack+="\n"+n):e.stack=n}catch(e){}}throw e}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=Ge(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:o}=t;void 0!==n&&pt.assertOptions(n,{silentJSONParsing:ht.transit