@digital-blueprint/dispatch-app
Version:
[GitHub Repository](https://github.com/digital-blueprint/dispatch-app) | [npmjs package](https://www.npmjs.com/package/@digital-blueprint/dispatch-app) | [Unpkg CDN](https://unpkg.com/browse/@digital-blueprint/dispatch-app/) | [Dispatch Bundle](https://gi
36 lines • 1.33 MB
JavaScript
const e=["ext","key_ops","alg","use"],t=["encryptedKey"],i=["encryptedKey"],n=["textContentSource","container","viewport"];let s,r,o,a,l,h,c,d,u,p,f,m,g,b,v,y,w,x,E,C,A,_,S,k,T,R,P,O,M,D,L,F,I,j,N,H,z,B,W,U,V,G,q,K,X,Y,J,Z,Q,ee,te,ie,ne,se,re,oe,ae,le,he=e=>e;function ce(e,t){if(!{}.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}var de=0;function ue(e){return"__private_"+de+++"_"+e}function pe(e,t){if(null==e)return{};var i={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;i[n]=e[n]}return i}function fe(){return fe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},fe.apply(null,arguments)
/*!
* License: LGPL-2.1-or-later
* Dependencies:
*
* @webcomponents/scoped-custom-element-registry: BSD-3-Clause
* @dbp-toolkit/app-shell: LGPL-2.1-or-later
* @dbp-toolkit/language-select: LGPL-2.1-or-later
* @dbp-toolkit/common: LGPL-2.1-or-later
* @dbp-toolkit/auth: LGPL-2.1-or-later
* event-target-shim: MIT
* @dbp-toolkit/notification: LGPL-2.1-or-later
* @dbp-toolkit/theme-switcher: LGPL-2.1-or-later
* path-to-regexp: MIT
* universal-router: MIT
* generateUrls: MIT
* @dbp-toolkit/matomo: LGPL-2.1-or-later
* @popperjs/core: MIT
* tippy.js: MIT
* @dbp-toolkit/tooltip: LGPL-2.1-or-later
* @dbp-toolkit/person-select: LGPL-2.1-or-later
* @dbp-toolkit/pdf-viewer: LGPL-2.1-or-later
* @digital-blueprint/esign-app: LGPL-2.1-or-later
* @digital-blueprint/annotpdf: MIT
* @dbp-toolkit/file-handling: LGPL-2.1-or-later
* webdav: MIT
* tabulator-tables: MIT
* jose: MIT
* file-saver: MIT
* pdfjs-dist: Apache-2.0
* jquery: MIT
* select2: MIT
* @dbp-toolkit/resource-select: LGPL-2.1-or-later
* lit-html: BSD-3-Clause
*/}import{a as me,c as ge,i as be,S as ve,D as ye,I as we,M as xe,C as Ee,x as Ce,b as Ae,j as _e,J as Se,t as ke,v as Te,u as Re,p as Pe,e as Oe,A as Me,f as De,g as Le,w as Fe,H as Ie,K as je,N as Ne,O as He,P as ze,y as Be,h as $e,B as We,Q as Ue,R as Ve,T as Ge,U as qe,V as Ke}from"./notification.DnuvYrJ4.es.js";var Xe={clipboard:{"add-files":"Dateien der Zwischenablage hinzufügen","add-files-btn":"Dateien hinzufügen","clear-clipboard-body":"Die Zwischenablage wurde erfolgreich geleert.","clear-clipboard-title":"Zwischenablage geleert","clear-count-clipboard-body_one":"Eine Datei wurde erfolgreich aus der Zwischenablage entfernt.","clear-count-clipboard-body_other":"{{count}} Dateien wurde erfolgreich aus der Zwischenablage entfernt.","clear-count-clipboard-title_one":"Datei entfernt","clear-count-clipboard-title_other":"Dateien entfernt","file-mod":"Geändert","file-name":"Name","file-size":"Größe","file-type":"Art","file-warning":"Achtung!","file-warning-body_one":"Es befindet sich noch eine Datei in der Zwischenablage. Die Zwischenablage wird beim Verlassen der Seite verworfen.","file-warning-body_other":"Es befinden sich noch {{count}} Dateien in der Zwischenablage. Die Zwischenablage wird beim Verlassen der Seite verworfen.","no-data":"Aktuell befinden sich keine Dateien in der Zwischenablage.","remove-all":"Alle Dateien aus der Zwischenablage entfernen","remove-all-btn":"Dateien entfernen","remove-count_one":"Eine Datei aus der Zwischenablage entfernen","remove-count_other":"{{count}} Dateien aus der Zwischenablage entfernen","remove-count-btn_one":"Datei entfernen","remove-count-btn_other":"{{count}} Dateien entfernen","save-all":"Alle Dateien aus der Zwischenablage sichern","save-all-btn":"Dateien sichern","save-count_one":"Eine Datei aus der Zwischenablage sichern","save-count_other":"{{count}} Dateien aus der Zwischenablage sichern","save-count-btn_one":"Datei sichern","save-count-btn_other":"{{count}} Dateien sichern","saved-files-body_one":"Eine Datei wurde erfolgreich temporär in der Zwischenablage abgelegt und kann jetzt innerhalb dieser Applikation verwendet werden.","saved-files-body_other":"{{count}} Dateien wurde erfolgreich temporär in der Zwischenablage abgelegt und können jetzt innerhalb dieser Applikation verwendet werden.","saved-files-title_one":"Datei erfolgreich abgelegt","saved-files-title_other":"Dateien erfolgreich abgelegt","select-all":"Alle auswählen","select-nothing":"Nichts auswählen","sink-btn_one":"{{count}} Datei ablegen","sink-btn_other":"{{count}} Dateien ablegen","sink-title":"Dateien in der Zwischenablage ablegen","source-btn_one":"Datei auswählen","source-btn_other":"{{count}} Dateien auswählen","source-btn-none":"Dateien auswählen","source-title":"Von der Zwischenablage auswählen","upload-area-text":"Sie können in diesem Bereich Dokumente per Drag & Drop oder per Direktauswahl hochladen.","upload-button-label":"Dateien auswählen",warning:"Vorsicht! Wenn Sie den Browser schließen oder die Seite neu laden wird die bestehende Zwischenablage automatisch verworfen!"},"demo-title":"Datei Abgabe Demo","file-sink":{clipboard:"Zwischenablage","local-button_one":"Datei herunterladen","local-button_other":"Dateien herunterladen","local-intro_one":"{{count}} Datei herunterladen","local-intro_other":"{{count}} Dateien herunterladen","modal-close":"Dialog schließen","nav-local":"Lokaler Computer","select-directory":"","upload-success-body_one":"Sie haben {{count}} Datei erfolgreich in {{name}} hochgeladen.","upload-success-body_other":"Sie haben {{count}} Dateien erfolgreich in {{name}} hochgeladen.","upload-success-title":"Erfolgreich hochgeladen"},"file-source":{clipboard:"Zwischenablage","mime-type-body":"Das Dateiformat wird von dieser Applikation nicht unterstützt.","mime-type-title":"Nicht unterstützes Dateiformat","modal-close":"Dialog schließen","nav-local":"Lokaler Computer","no-usable-files-hint":"Laden Sie eine ZIP Datei mit Dateien von folgendem Typ hoch: ","no-usable-files-in-zip":"ZIP Datei enthält keine verwendbaren Dateien","open-menu":"","too-big-file-body":"Die Datei darf maximal {{size}} haben.","too-big-file-title":"Datei ist zu groß!"},intro:"Sie können in diesem Bereich Dateien per Drag & Drop oder per Direktauswahl hochladen. Die Dateien dürfen sich auch in ZIP-Archiven befinden.","nextcloud-file-picker":{abort:"Vorgang abbrechen","abort-message":"Vorgang wurde abgebrochen.","add-folder":"Neuen Ordner erstellen","add-folder-close":"Neuer Ordner Dialog schließen","add-folder-error":'Die Ressource "{{folder}}" ist bereits vorhanden.',"add-folder-error-empty":"Der Ordnername darf nicht leer sein.","add-folder-open":"Neuer Ordner Dialog öffnen","add-folder-success":'Der Ordner "{{folder}}" wurde erfolgreich erstellt.',"all-recent-files-link-text":"Alle neuesten Dateien","auth-info":"Eine neue Seite wird geöffnet, um Ihr Konto zu verbinden.","auth-progress":"Anmeldung läuft","connect-nextcloud":"{{name}} verbinden","error-save-to-favorites":"Speichern in Favoriten nicht möglich! Bitte wählen Sie einen Ordner innerhalb der Favoriten aus.","error-save-to-recent":"Speichern in den neuesten Dateien nicht möglich! Bitte wählen Sie einen Ordner innerhalb der neuesten Dateien aus.","favorites-link-text":"Meine Favoriten","favorites-title":"Favoriten",filename:"Name","folder-home":"In das Home Verzeichnis springen","init-text-1":"Wählen Sie Ihre Dateien von {{name}}.","init-text-2":"Sie müssen sich zuerst authentifizieren.","last-modified":"Geändert","load-in-folder":"Ins aktuelle Verzeichnis laden","load-path-link":"Gehe zu {{path}}","load-to-folder":"Im ausgewählten Ordner hochladen","loadpath-nextcloud-file-picker":"Das {{name}} Verzeichnis wird geladen.","log-out":"Verbindung trennen","mime-type":"Art","more-menu":"","my-recent-files-link-text":"Meine neuesten Dateien","my-recent-files-title":"Meine neuesten Dateien","new-folder-dialog-button-cancel":"Abbrechen","new-folder-dialog-button-ok":"Erstellen","new-folder-dialog-default-name":"Neuer Ordner","new-folder-dialog-label":"Name eingeben:","new-folder-dialog-title":"Neuen Ordner erstellen","new-folder-placeholder":"Neuer Ordner","no-data":"In diesem Ordner befinden sich keine Dateien.","no-data-type":"In diesem Ordner befinden sich keine Dateien vom benötigten Typ.","no-favorites":"Es wurden keine Favoriten des entsprechenden Typs gefunden. Definieren Sie Dateien und Ordner in Ihrer {{name}} als Favoriten, um diese hier anzuzeigen.","no-recent-files":"Es wurden keine entsprechenden Dateien und Ordner innerhalb der letzten 3 Monate gefunden.",onlycreate:"Sie dürfen in diesem Ordner nur neue Dateien erstellen.",onlyedit:"Sie dürfen in diesem Ordner nur Dateien bearbeiten.","open-nextcloud-file-picker":"Dateien von {{name}} wählen",readonly:"Sie dürfen in diesem Ordner nichts hochladen.","recent-files-title":"Neueste Dateien","refresh-nextcloud-file-picker":"Erneut verbinden","remember-me":"Mit {{name}} verbunden bleiben","replace-cancel":"Abbrechen","replace-cancel-all":"Alle abbrechen","replace-mode-all":"Für alle zukünftigen Konflikte übernehmen","replace-new_name":"Neuer Name","replace-replace":"Ersetzen","replace-skip":"Überspringen","replace-text":"Was möchten Sie tun","replace-title-1":"Es ist bereits eine Datei mit dem Namen ","replace-title-2":" vorhanden","select-files":"Dateien auswählen","select-files-btn_one":"Datei auswählen","select-files-btn_other":"{{count}} Dateien auswählen",size:"Größe","something-went-wrong":"Etwas ist schief gelaufen. Bitte verbinden Sie sich erneut.","upload-to":"Es wird nach {{- path}} hochgeladen ...","webdav-error":"Etwas ist schief gelaufen: {{error}}","file-error":"Das Dateiformat wird nicht unterstützt oder die Datei ist fehlerhaft und konnte nicht hochgeladen werden.",forbidden:"Sie sind nicht berechtigt, diese Aktion in diesem Ordner auszuführen.","file-upload-error":"Entschuldigung, etwas ist schief gelaufen. Bitte versuchen Sie es später noch einmal."},"upload-label":"Dateiauswahl"},Ye={clipboard:{"add-files":"Add files to clipboard","add-files-btn":"Add files","clear-clipboard-body":"The clipboard was successfully cleared.","clear-clipboard-title":"Clipboard cleared","clear-count-clipboard-body_one":"One file was successfully removed from clipboard.","clear-count-clipboard-body_other":"{{count}} files were successfully removed from clipboard.","clear-count-clipboard-title_one":"File removed","clear-count-clipboard-title_other":"Files removed","file-mod":"Last modified","file-name":"Name","file-size":"Size","file-type":"Type","file-warning":"Attention!","file-warning-body_one":"There is still a file on the clipboard. The clipboard is discarded when you exit the page.","file-warning-body_other":"There are still {{count}} files on the clipboard. The clipboard is discarded when you exit the page.","no-data":"There are no files","remove-all":"Remove all files from the clipboard","remove-all-btn":"Remove all","remove-count_one":"Remove file from the clipboard","remove-count_other":"Remove {{count}} files from the clipboard","remove-count-btn_one":"Remove file","remove-count-btn_other":"Remove {{count}} files","save-all":"Save all files from the clipboard","save-all-btn":"Save all","save-count_one":"Save one file from the clipboard","save-count_other":"Save {{count}} files from the clipboard","save-count-btn_one":"Save file","save-count-btn_other":"Save {{count}} files","saved-files-body_one":"A file was successfully stored temporarily in the clipboard and can now be used within this application.","saved-files-body_other":"{{count}} files were successfully stored temporarily in the clipboard and can now be used within this application.","saved-files-title_one":"File successfully filed","saved-files-title_other":"Files successfully filed","select-all":"Select all","select-nothing":"Select nothing","sink-btn_one":"Store {{count}} file","sink-btn_other":"Store {{count}} files","sink-title":"Store files on the clipboard","source-btn_one":"Select file","source-btn_other":"Select {{count}} files","source-btn-none":"Select files","source-title":"Select files from clipboard","upload-area-text":"In this area you can upload documents up to a size of 32MB via Drag & Drop or by selecting them directly. ","upload-button-label":"Load to clipboard",warning:"Attention! If you close the browser or reload the page the existing clipboard is automatically discarded!"},"demo-title":"File Upload Demo","file-sink":{clipboard:"Clipboard","local-button_one":"Download file","local-button_other":"Download files","local-intro_one":"Download {{count}} file","local-intro_other":"Download {{count}} files","modal-close":"Close dialog","nav-local":"My device","select-directory":"","upload-success-body_one":"You have successfully uploaded {{count}} file to {{name}}.","upload-success-body_other":"You have successfully uploaded {{count}} files to {{name}}.","upload-success-title":"Successful uploaded"},"file-source":{clipboard:"Clipboard","mime-type-body":"The file format is not supported by this application.","mime-type-title":"Unsupported file format","modal-close":"Close dialog","nav-local":"My device","no-usable-files-hint":"Upload a ZIP file with file type(s) of ","no-usable-files-in-zip":"ZIP file does not contain any usable files","open-menu":"","too-big-file-body":"The file can have a maximum of {{size}}.","too-big-file-title":"The file is too big!"},intro:"Upload multiple files with the file dialog or by dragging and dropping images onto the dashed region.","nextcloud-file-picker":{abort:"Cancel process","abort-message":"The process was canceled.","add-folder":"Add new folder","add-folder-close":"Close new folder dialogue","add-folder-error":'The resource "{{folder}}" you tried to create already exists.',"add-folder-error-empty":"The folder name can not be empty.","add-folder-open":"Open new folder dialogue","add-folder-success":"The folder '{{folder}}' was created successfully.","all-recent-files-link-text":"All Recent Files","auth-info":"A new page will open to connect your account.","auth-progress":"Authentification in progress","connect-nextcloud":"Connect {{name}}","error-save-to-favorites":"Saving to Favorites not possible! Please select a folder within the Favorites.","error-save-to-recent":"Saving to Recent Files not possible! Please select a folder within the Recent Files.","favorites-link-text":"My Favorites","favorites-title":"Favorites",filename:"Filename","folder-home":"Jump to the home directory","init-text-1":"Chose your files from {{name}}.","init-text-2":"You need to authenticate first.","last-modified":"Last modified","load-in-folder":"Load into the current directory","load-path-link":"Go to {{path}}","load-to-folder":"Upload to the selected folder","loadpath-nextcloud-file-picker":"Loading directory from {{name}}.","log-out":"Disconnect","mime-type":"Type","more-menu":"","my-recent-files-link-text":"My Recent Files","my-recent-files-title":"My Recent Files","new-folder-dialog-button-cancel":"Cancel","new-folder-dialog-button-ok":"Create","new-folder-dialog-default-name":"New folder","new-folder-dialog-label":"Enter a name:","new-folder-dialog-title":"Create a new folder","new-folder-placeholder":"New folder","no-data":"No data available in this folder.","no-data-type":"No data available in this folder.","no-favorites":"No favorites of the relevant type were found. Define files and folders as favorites in your {{name}} to display them here","no-recent-files":"No relevant files and folders were found within the last 3 months.",onlycreate:"You are only allowed to create new files in this directory.",onlyedit:"You are only allowed to edit files in this directory.","open-nextcloud-file-picker":"Select files from your {{name}}",readonly:"You are not allowed to uploade files in this directory.","recent-files-title":"Recent Files","refresh-nextcloud-file-picker":"Connect again","remember-me":"Stay connected with {{name}}","replace-cancel":"Cancel","replace-cancel-all":"Cancel all","replace-mode-all":"Do this for the next conflicts","replace-new_name":"New Name","replace-replace":"Replace","replace-skip":"Ignore","replace-text":"What do you want to do","replace-title-1":"There is already a file with the name ","replace-title-2":" in this location","select-files":"Select files","select-files-btn_one":"Select file","select-files-btn_other":"Select {{count}} files",size:"Size","something-went-wrong":"Something went wrong. Please reload.","upload-to":"Uploading to {{- path}} ...","webdav-error":"Something went wrong","file-error":"The file format is not supported or the file is corrupt and could not be uploaded.",forbidden:"You don't have permissions to perform this action in this folder.","file-upload-error":"Sorry, something went wrong. Please try again later."},"upload-label":"Select some files"};function Je(){return me({en:Ye,de:Xe},"de","en")}var Ze,Qe={exports:{}};
/*! For license information please see webdav.js.LICENSE.txt */Ze=Qe,function(e,t){Ze.exports=t()}(self,(()=>(()=>{var e={5056:(e,t,i)=>{e.exports=i(203)},3198:(e,t,i)=>{var n=i(3401),s=i(5888),r=i(4963),o=i(8826),a=i(4466),l=i(8418),h=i(6130),c=i(8760),d=i(4200),u=i(2800),p=i(4830);e.exports=function(e){return new Promise((function(t,i){var f,m=e.data,g=e.headers,b=e.responseType;function v(){e.cancelToken&&e.cancelToken.unsubscribe(f),e.signal&&e.signal.removeEventListener("abort",f)}n.isFormData(m)&&n.isStandardBrowserEnv()&&delete g["Content-Type"];var y=new XMLHttpRequest;if(e.auth){var w=e.auth.username||"",x=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";g.Authorization="Basic "+btoa(w+":"+x)}var E=a(e.baseURL,e.url);function C(){if(y){var n="getAllResponseHeaders"in y?l(y.getAllResponseHeaders()):null,r={data:b&&"text"!==b&&"json"!==b?y.response:y.responseText,status:y.status,statusText:y.statusText,headers:n,config:e,request:y};s((function(e){t(e),v()}),(function(e){i(e),v()}),r),y=null}}if(y.open(e.method.toUpperCase(),o(E,e.params,e.paramsSerializer),!0),y.timeout=e.timeout,"onloadend"in y?y.onloadend=C:y.onreadystatechange=function(){y&&4===y.readyState&&(0!==y.status||y.responseURL&&0===y.responseURL.indexOf("file:"))&&setTimeout(C)},y.onabort=function(){y&&(i(new d("Request aborted",d.ECONNABORTED,e,y)),y=null)},y.onerror=function(){i(new d("Network Error",d.ERR_NETWORK,e,y,y)),y=null},y.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",n=e.transitional||c;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),i(new d(t,n.clarifyTimeoutError?d.ETIMEDOUT:d.ECONNABORTED,e,y)),y=null},n.isStandardBrowserEnv()){var A=(e.withCredentials||h(E))&&e.xsrfCookieName?r.read(e.xsrfCookieName):void 0;A&&(g[e.xsrfHeaderName]=A)}"setRequestHeader"in y&&n.forEach(g,(function(e,t){void 0===m&&"content-type"===t.toLowerCase()?delete g[t]:y.setRequestHeader(t,e)})),n.isUndefined(e.withCredentials)||(y.withCredentials=!!e.withCredentials),b&&"json"!==b&&(y.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&y.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&y.upload&&y.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(f=function(e){y&&(i(!e||e&&e.type?new u:e),y.abort(),y=null)},e.cancelToken&&e.cancelToken.subscribe(f),e.signal&&(e.signal.aborted?f():e.signal.addEventListener("abort",f))),m||(m=null);var _=p(E);_&&-1===["http","https","file"].indexOf(_)?i(new d("Unsupported protocol "+_+":",d.ERR_BAD_REQUEST,e)):y.send(m)}))}},203:(e,t,i)=>{var n=i(3401),s=i(9366),r=i(1112),o=i(3674),a=function e(t){var i=new r(t),a=s(r.prototype.request,i);return n.extend(a,r.prototype,i),n.extend(a,i),a.create=function(i){return e(o(t,i))},a}(i(9050));a.Axios=r,a.CanceledError=i(2800),a.CancelToken=i(4078),a.isCancel=i(1907),a.VERSION=i(8963).version,a.toFormData=i(7427),a.AxiosError=i(4200),a.Cancel=a.CanceledError,a.all=function(e){return Promise.all(e)},a.spread=i(7998),a.isAxiosError=i(1720),e.exports=a,e.exports.default=a},4078:(e,t,i)=>{var n=i(2800);function s(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var i=this;this.promise.then((function(e){if(i._listeners){var t,n=i._listeners.length;for(t=0;t<n;t++)i._listeners[t](e);i._listeners=null}})),this.promise.then=function(e){var t,n=new Promise((function(e){i.subscribe(e),t=e})).then(e);return n.cancel=function(){i.unsubscribe(t)},n},e((function(e){i.reason||(i.reason=new n(e),t(i.reason))}))}s.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},s.prototype.subscribe=function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]},s.prototype.unsubscribe=function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}},s.source=function(){var e;return{token:new s((function(t){e=t})),cancel:e}},e.exports=s},2800:(e,t,i)=>{var n=i(4200);function s(e){n.call(this,null==e?"canceled":e,n.ERR_CANCELED),this.name="CanceledError"}i(3401).inherits(s,n,{__CANCEL__:!0}),e.exports=s},1907:e=>{e.exports=function(e){return!(!e||!e.__CANCEL__)}},1112:(e,t,i)=>{var n=i(3401),s=i(8826),r=i(9655),o=i(4412),a=i(3674),l=i(4466),h=i(3465),c=h.validators;function d(e){this.defaults=e,this.interceptors={request:new r,response:new r}}d.prototype.request=function(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},(t=a(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var i=t.transitional;void 0!==i&&h.assertOptions(i,{silentJSONParsing:c.transitional(c.boolean),forcedJSONParsing:c.transitional(c.boolean),clarifyTimeoutError:c.transitional(c.boolean)},!1);var n=[],s=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(s=s&&e.synchronous,n.unshift(e.fulfilled,e.rejected))}));var r,l=[];if(this.interceptors.response.forEach((function(e){l.push(e.fulfilled,e.rejected)})),!s){var d=[o,void 0];for(Array.prototype.unshift.apply(d,n),d=d.concat(l),r=Promise.resolve(t);d.length;)r=r.then(d.shift(),d.shift());return r}for(var u=t;n.length;){var p=n.shift(),f=n.shift();try{u=p(u)}catch(e){f(e);break}}try{r=o(u)}catch(e){return Promise.reject(e)}for(;l.length;)r=r.then(l.shift(),l.shift());return r},d.prototype.getUri=function(e){e=a(this.defaults,e);var t=l(e.baseURL,e.url);return s(t,e.params,e.paramsSerializer)},n.forEach(["delete","get","head","options"],(function(e){d.prototype[e]=function(t,i){return this.request(a(i||{},{method:e,url:t,data:(i||{}).data}))}})),n.forEach(["post","put","patch"],(function(e){function t(t){return function(i,n,s){return this.request(a(s||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:i,data:n}))}}d.prototype[e]=t(),d.prototype[e+"Form"]=t(!0)})),e.exports=d},4200:(e,t,i)=>{var n=i(3401);function s(e,t,i,n,s){Error.call(this),this.message=e,this.name="AxiosError",t&&(this.code=t),i&&(this.config=i),n&&(this.request=n),s&&(this.response=s)}n.inherits(s,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:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var r=s.prototype,o={};["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"].forEach((function(e){o[e]={value:e}})),Object.defineProperties(s,o),Object.defineProperty(r,"isAxiosError",{value:!0}),s.from=function(e,t,i,o,a,l){var h=Object.create(r);return n.toFlatObject(e,h,(function(e){return e!==Error.prototype})),s.call(h,e.message,t,i,o,a),h.name=e.name,l&&Object.assign(h,l),h},e.exports=s},9655:(e,t,i)=>{var n=i(3401);function s(){this.handlers=[]}s.prototype.use=function(e,t,i){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!i&&i.synchronous,runWhen:i?i.runWhen:null}),this.handlers.length-1},s.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},s.prototype.forEach=function(e){n.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=s},4466:(e,t,i)=>{var n=i(4206),s=i(7955);e.exports=function(e,t){return e&&!n(t)?s(e,t):t}},4412:(e,t,i)=>{var n=i(3401),s=i(8092),r=i(1907),o=i(9050),a=i(2800);function l(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new a}e.exports=function(e){return l(e),e.headers=e.headers||{},e.data=s.call(e,e.data,e.headers,e.transformRequest),e.headers=n.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),n.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||o.adapter)(e).then((function(t){return l(e),t.data=s.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return r(t)||(l(e),t&&t.response&&(t.response.data=s.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},3674:(e,t,i)=>{var n=i(3401);e.exports=function(e,t){t=t||{};var i={};function s(e,t){return n.isPlainObject(e)&&n.isPlainObject(t)?n.merge(e,t):n.isPlainObject(t)?n.merge({},t):n.isArray(t)?t.slice():t}function r(i){return n.isUndefined(t[i])?n.isUndefined(e[i])?void 0:s(void 0,e[i]):s(e[i],t[i])}function o(e){if(!n.isUndefined(t[e]))return s(void 0,t[e])}function a(i){return n.isUndefined(t[i])?n.isUndefined(e[i])?void 0:s(void 0,e[i]):s(void 0,t[i])}function l(i){return i in t?s(e[i],t[i]):i in e?s(void 0,e[i]):void 0}var h={url:o,method:o,data:o,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials: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};return n.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=h[e]||r,s=t(e);n.isUndefined(s)&&t!==l||(i[e]=s)})),i}},5888:(e,t,i)=>{var n=i(4200);e.exports=function(e,t,i){var s=i.config.validateStatus;i.status&&s&&!s(i.status)?t(new n("Request failed with status code "+i.status,[n.ERR_BAD_REQUEST,n.ERR_BAD_RESPONSE][Math.floor(i.status/100)-4],i.config,i.request,i)):e(i)}},8092:(e,t,i)=>{var n=i(3401),s=i(9050);e.exports=function(e,t,i){var r=this||s;return n.forEach(i,(function(i){e=i.call(r,e,t)})),e}},9050:(e,t,i)=>{var n=i(3401),s=i(5854),r=i(4200),o=i(8760),a=i(7427),l={"Content-Type":"application/x-www-form-urlencoded"};function h(e,t){!n.isUndefined(e)&&n.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var c,d={transitional:o,adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(c=i(3198)),c),transformRequest:[function(e,t){if(s(t,"Accept"),s(t,"Content-Type"),n.isFormData(e)||n.isArrayBuffer(e)||n.isBuffer(e)||n.isStream(e)||n.isFile(e)||n.isBlob(e))return e;if(n.isArrayBufferView(e))return e.buffer;if(n.isURLSearchParams(e))return h(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString();var i,r=n.isObject(e),o=t&&t["Content-Type"];if((i=n.isFileList(e))||r&&"multipart/form-data"===o){var l=this.env&&this.env.FormData;return a(i?{"files[]":e}:e,l&&new l)}return r||"application/json"===o?(h(t,"application/json"),function(e,t,i){if(n.isString(e))try{return(0,JSON.parse)(e),n.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||d.transitional,i=t&&t.silentJSONParsing,s=t&&t.forcedJSONParsing,o=!i&&"json"===this.responseType;if(o||s&&n.isString(e)&&e.length)try{return JSON.parse(e)}catch(e){if(o){if("SyntaxError"===e.name)throw r.from(e,r.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:i(846)},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};n.forEach(["delete","get","head"],(function(e){d.headers[e]={}})),n.forEach(["post","put","patch"],(function(e){d.headers[e]=n.merge(l)})),e.exports=d},8760:e=>{e.exports={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}},8963:e=>{e.exports={version:"0.27.2"}},9366:e=>{e.exports=function(e,t){return function(){for(var i=new Array(arguments.length),n=0;n<i.length;n++)i[n]=arguments[n];return e.apply(t,i)}}},8826:(e,t,i)=>{var n=i(3401);function s(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,i){if(!t)return e;var r;if(i)r=i(t);else if(n.isURLSearchParams(t))r=t.toString();else{var o=[];n.forEach(t,(function(e,t){null!=e&&(n.isArray(e)?t+="[]":e=[e],n.forEach(e,(function(e){n.isDate(e)?e=e.toISOString():n.isObject(e)&&(e=JSON.stringify(e)),o.push(s(t)+"="+s(e))})))})),r=o.join("&")}if(r){var a=e.indexOf("#");-1!==a&&(e=e.slice(0,a)),e+=(-1===e.indexOf("?")?"?":"&")+r}return e}},7955:e=>{e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},4963:(e,t,i)=>{var n=i(3401);e.exports=n.isStandardBrowserEnv()?{write:function(e,t,i,s,r,o){var a=[];a.push(e+"="+encodeURIComponent(t)),n.isNumber(i)&&a.push("expires="+new Date(i).toGMTString()),n.isString(s)&&a.push("path="+s),n.isString(r)&&a.push("domain="+r),!0===o&&a.push("secure"),document.cookie=a.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},4206:e=>{e.exports=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}},1720:(e,t,i)=>{var n=i(3401);e.exports=function(e){return n.isObject(e)&&!0===e.isAxiosError}},6130:(e,t,i)=>{var n=i(3401);e.exports=n.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),i=document.createElement("a");function s(e){var n=e;return t&&(i.setAttribute("href",n),n=i.href),i.setAttribute("href",n),{href:i.href,protocol:i.protocol?i.protocol.replace(/:$/,""):"",host:i.host,search:i.search?i.search.replace(/^\?/,""):"",hash:i.hash?i.hash.replace(/^#/,""):"",hostname:i.hostname,port:i.port,pathname:"/"===i.pathname.charAt(0)?i.pathname:"/"+i.pathname}}return e=s(window.location.href),function(t){var i=n.isString(t)?s(t):t;return i.protocol===e.protocol&&i.host===e.host}}():function(){return!0}},5854:(e,t,i)=>{var n=i(3401);e.exports=function(e,t){n.forEach(e,(function(i,n){n!==t&&n.toUpperCase()===t.toUpperCase()&&(e[t]=i,delete e[n])}))}},846:e=>{e.exports=null},8418:(e,t,i)=>{var n=i(3401),s=["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"];e.exports=function(e){var t,i,r,o={};return e?(n.forEach(e.split("\n"),(function(e){if(r=e.indexOf(":"),t=n.trim(e.substr(0,r)).toLowerCase(),i=n.trim(e.substr(r+1)),t){if(o[t]&&s.indexOf(t)>=0)return;o[t]="set-cookie"===t?(o[t]?o[t]:[]).concat([i]):o[t]?o[t]+", "+i:i}})),o):o}},4830:e=>{e.exports=function(e){var t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}},7998:e=>{e.exports=function(e){return function(t){return e.apply(null,t)}}},7427:(e,t,i)=>{function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}var s=i(3401);e.exports=function(e,t){t=t||new FormData;var i=[];function r(e){return null===e?"":s.isDate(e)?e.toISOString():s.isArrayBuffer(e)||s.isTypedArray(e)?"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}return function e(o,a){if(s.isPlainObject(o)||s.isArray(o)){if(-1!==i.indexOf(o))throw Error("Circular reference detected in "+a);i.push(o),s.forEach(o,(function(i,o){if(!s.isUndefined(i)){var l,h=a?a+"."+o:o;if(i&&!a&&"object"===n(i))if(s.endsWith(o,"{}"))i=JSON.stringify(i);else if(s.endsWith(o,"[]")&&(l=s.toArray(i)))return void l.forEach((function(e){!s.isUndefined(e)&&t.append(h,r(e))}));e(i,h)}})),i.pop()}else t.append(a,r(o))}(e),t}},3465:(e,t,i)=>{function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}var s=i(8963).version,r=i(4200),o={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){o[e]=function(i){return n(i)===e||"a"+(t<1?"n ":" ")+e}}));var a={};o.transitional=function(e,t,i){function n(e,t){return"[Axios v"+s+"] Transitional option '"+e+"'"+t+(i?". "+i:"")}return function(i,s,o){if(!1===e)throw new r(n(s," has been removed"+(t?" in "+t:"")),r.ERR_DEPRECATED);return t&&!a[s]&&(a[s]=!0,console.warn(n(s," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(i,s,o)}},e.exports={assertOptions:function(e,t,i){if("object"!==n(e))throw new r("options must be an object",r.ERR_BAD_OPTION_VALUE);for(var s=Object.keys(e),o=s.length;o-- >0;){var a=s[o],l=t[a];if(l){var h=e[a],c=void 0===h||l(h,a,e);if(!0!==c)throw new r("option "+a+" must be "+c,r.ERR_BAD_OPTION_VALUE)}else if(!0!==i)throw new r("Unknown option "+a,r.ERR_BAD_OPTION)}},validators:o}},3401:(e,t,i)=>{function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}var s,r=i(9366),o=Object.prototype.toString,a=(s=Object.create(null),function(e){var t=o.call(e);return s[t]||(s[t]=t.slice(8,-1).toLowerCase())});function l(e){return e=e.toLowerCase(),function(t){return a(t)===e}}function h(e){return Array.isArray(e)}function c(e){return void 0===e}var d=l("ArrayBuffer");function u(e){return null!==e&&"object"===n(e)}function p(e){if("object"!==a(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}var f=l("Date"),m=l("File"),g=l("Blob"),b=l("FileList");function v(e){return"[object Function]"===o.call(e)}var y=l("URLSearchParams");function w(e,t){if(null!=e)if("object"!==n(e)&&(e=[e]),h(e))for(var i=0,s=e.length;i<s;i++)t.call(null,e[i],i,e);else for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.call(null,e[r],r,e)}var x,E=(x="undefined"!=typeof Uint8Array&&Object.getPrototypeOf(Uint8Array),function(e){return x&&e instanceof x});e.exports={isArray:h,isArrayBuffer:d,isBuffer:function(e){return null!==e&&!c(e)&&null!==e.constructor&&!c(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){var t="[object FormData]";return e&&("function"==typeof FormData&&e instanceof FormData||o.call(e)===t||v(e.toString)&&e.toString()===t)},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&d(e.buffer)},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:u,isPlainObject:p,isUndefined:c,isDate:f,isFile:m,isBlob:g,isFunction:v,isStream:function(e){return u(e)&&v(e.pipe)},isURLSearchParams:y,isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&"undefined"!=typeof window&&"undefined"!=typeof document},forEach:w,merge:function e(){var t={};function i(i,n){p(t[n])&&p(i)?t[n]=e(t[n],i):p(i)?t[n]=e({},i):h(i)?t[n]=i.slice():t[n]=i}for(var n=0,s=arguments.length;n<s;n++)w(arguments[n],i);return t},extend:function(e,t,i){return w(t,(function(t,n){e[n]=i&&"function"==typeof t?r(t,i):t})),e},trim:function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e},inherits:function(e,t,i,n){e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,i&&Object.assign(e.prototype,i)},toFlatObject:function(e,t,i){var n,s,r,o={};t=t||{};do{for(s=(n=Object.getOwnPropertyNames(e)).length;s-- >0;)o[r=n[s]]||(t[r]=e[r],o[r]=!0);e=Object.getPrototypeOf(e)}while(e&&(!i||i(e,t))&&e!==Object.prototype);return t},kindOf:a,kindOfTest:l,endsWith:function(e,t,i){e=String(e),(void 0===i||i>e.length)&&(i=e.length),i-=t.length;var n=e.indexOf(t,i);return-1!==n&&n===i},toArray:function(e){if(!e)return null;var t=e.length;if(c(t))return null;for(var i=new Array(t);t-- >0;)i[t]=e[t];return i},isTypedArray:E,isFileList:b}},9584:e=>{function t(e,t,s){e instanceof RegExp&&(e=i(e,s)),t instanceof RegExp&&(t=i(t,s));var r=n(e,t,s);return r&&{start:r[0],end:r[1],pre:s.slice(0,r[0]),body:s.slice(r[0]+e.length,r[1]),post:s.slice(r[1]+t.length)}}function i(e,t){var i=t.match(e);return i?i[0]:null}function n(e,t,i){var n,s,r,o,a,l=i.indexOf(e),h=i.indexOf(t,l+1),c=l;if(l>=0&&h>0){for(n=[],r=i.length;c>=0&&!a;)c==l?(n.push(c),l=i.indexOf(e,c+1)):1==n.length?a=[n.pop(),h]:((s=n.pop())<r&&(r=s,o=h),h=i.indexOf(t,c+1)),c=l<h&&l>=0?l:h;n.length&&(a=[r,o])}return a}e.exports=t,t.range=n},9146:function(e,t,i){var n;function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}e=i.nmd(e),function(r){var o="object"==s(t)&&t,a="object"==s(e)&&e&&e.exports==o&&e,l="object"==(void 0===ge?"undefined":s(ge))&≥l.global!==l&&l.window!==l||(r=l);var h=function(e){this.message=e};(h.prototype=new Error).name="InvalidCharacterError";var c=function(e){throw new h(e)},d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",u=/[\t\n\f\r ]/g,p={encode:function(e){e=String(e),/[^\0-\xFF]/.test(e)&&c("The string to be encoded contains characters outside of the Latin1 range.");for(var t,i,n,s,r=e.length%3,o="",a=-1,l=e.length-r;++a<l;)t=e.charCodeAt(a)<<16,i=e.charCodeAt(++a)<<8,n=e.charCodeAt(++a),o+=d.charAt((s=t+i+n)>>18&63)+d.charAt(s>>12&63)+d.charAt(s>>6&63)+d.charAt(63&s);return 2==r?(t=e.charCodeAt(a)<<8,i=e.charCodeAt(++a),o+=d.charAt((s=t+i)>>10)+d.charAt(s>>4&63)+d.charAt(s<<2&63)+"="):1==r&&(s=e.charCodeAt(a),o+=d.charAt(s>>2)+d.charAt(s<<4&63)+"=="),o},decode:function(e){var t=(e=String(e).replace(u,"")).length;t%4==0&&(t=(e=e.replace(/==?$/,"")).length),(t%4==1||/[^+a-zA-Z0-9/]/.test(e))&&c("Invalid character: the string to be decoded is not correctly encoded.");for(var i,n,s=0,r="",o=-1;++o<t;)n=d.indexOf(e.charAt(o)),i=s%4?64*i+n:n,s++%4&&(r+=String.fromCharCode(255&i>>(-2*s&6)));return r},version:"1.0.0"};if("object"==s(i.amdO)&&i.amdO)void 0===(n=function(){return p}.call(t,i,t,e))||(e.exports=n);else if(o&&!o.nodeType)if(a)a.exports=p;else for(var f in p)p.hasOwnProperty(f)&&(o[f]=p[f]);else r.base64=p}(this)},8918:(e,t)=>{t.k=function(e){if(!e)return 0;for(var t=(e=e.toString()).length,i=e.length;i--;){var n=e.charCodeAt(i);56320<=n&&n<=57343&&i--,127<n&&n<=2047?t++:2047<n&&n<=65535&&(t+=2)}return t}},5106:e=>{var t={utf8:{stringToBytes:function(e){return t.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(t.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],i=0;i<e.length;i++)t.push(255&e.charCodeAt(i));return t},bytesToString:function(e){for(var t=[],i=0;i<e.length;i++)t.push(String.fromCharCode(e[i]));return t.join("")}}};e.exports=t},3718:e=>{var t,i;t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i={rotl:function(e,t){return e<<t|e>>>32-t},rotr:function(e,t){return e<<32-t|e>>>t},endian:function(e){if(e.constructor==Number)return 16711935&i.rotl(e,8)|4278255360&i.rotl(e,24);for(var t=0;t<e.length;t++)e[t]=i.endian(e[t]);return e},randomBytes:function(e){for(var t=[];e>0;e--)t.push(Math.floor(256*Math.random()));return t},bytesToWords:function(e){for(var t=[],i=0,n=0;i<e.length;i++,n+=8)t[n>>>5]|=e[i]<<24-n%32;return t},wordsToBytes:function(e){for(var t=[],i=0;i<32*e.length;i+=8)t.push(e[i>>>5]>>>24-i%32&255);return t},bytesToHex:function(e){for(var t=[],i=0;i<e.length;i++)t.push((e[i]>>>4).toString(16)),t.push((15&e[i]).toString(16));return t.join("")},hexToBytes:function(e){for(var t=[],i=0;i<e.length;i+=2)t.push(parseInt(e.substr(i,2),16));return t},bytesToBase64:function(e){for(var i=[],n=0;n<e.length;n+=3)for(var s=e[n]<<16|e[n+1]<<8|e[n+2],r=0;r<4;r++)8*n+6*r<=8*e.length?i.push(t.charAt(s>>>6*(3-r)&63)):i.push("=");return i.join("")},base64ToBytes:function(e){e=e.replace(/[^A-Z0-9+\/]/gi,"");for(var i=[],n=0,s=0;n<e.length;s=++n%4)0!=s&&i.push((t.indexOf(e.charAt(n-1))&Math.pow(2,-2*s+8)-1)<<2*s|t.indexOf(e.charAt(n))>>>6-2*s);return i}},e.exports=i},5:(e,t,i)=>{var n=i(1135),s=i(586),r=i(4039);e.exports={XMLParser:s,XMLValidator:n,XMLBuilder:r}},6410:(e,t)=>{var i="[:A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*",n=new RegExp("^"+i+"$");t.isExist=function(e){return void 0!==e},t.isEmptyObject=function(e){return 0===Object.keys(e).length},t.merge=function(e,t,i){if(t)for(var n=Object.keys(t),s=n.length,r=0;r<s;r++)e[n[r]]="strict"===i?[t[n[r]]]:t[n[r]]},t.getValue=function(e){return t.isExist(e)?e:""},t.isName=function(e){return!(null==n.exec(e))},t.getAllMatches=function(e,t){for(var i=[],n=t.exec(e);n;){var s=[];s.startIndex=t.lastIndex-n[0].length;for(var r=n.length,o=0;o<r;o++)s.push(n[o]);i.push(s),n=t.exec(e)}return i},t.nameRegexp=i},1135:(e,t,i)=>{var n=i(6410),s={allowBooleanAttributes:!1,unpairedTags:[]};function r(e){return" "===e||"\t"===e||"\n"===e||"\r"===e}function o(e,t){for(var i=t;t<e.length;t++)if("?"!=e[t]&&" "!=e[t]);else{var n=e.substr(i,t-i);if(t>5&&"xml"===n)return u("InvalidXml","XML declaration allowed only at the start of the document.",f(e,t));if("?"==e[t]&&">"==e[t+1]){t++;break}}return t}function a(e,t){if(e.length>t+5&&"-"===e[t+1]&&"-"===e[t+2]){for(t+=3;t<e.length;t++)if("-"===e[t]&&"-"===e[t+1]&&">"===e[t+2]){t+=2;break}}else if(e.length>t+8&&"D"===e[t+1]&&"O"===e[t+2]&&"C"===e[t+3]&&"T"===e[t+4]&&"Y"===e[t+5]&&"P"===e[t+6]&&"E"===e[t+7]){var i=1;for(t+=8;t<e.length;t++)if("<"===e[t])i++;else if(">"===e[t]&&0==--i)break}else if(e.length>t+9&&"["===e[t+1]&&"C"===e[t+2]&&"D"===e[t+3]&&"A"===e[t+4]&&"T"===e[t+5]&&"A"===e[t+6]&&"["===e[t+7])for(t+=8;t<e.length;t++)if("]"===e[t]&&"]"===e[t+1]&&">"===e[t+2]){t+=2;break}return t}function l(e,t){for(var i="",n="",s=!1;t<e.length;t++){if('"'===e[t]||"'"===e[t])""===n?n=e[t]:n!==e[t]||(n="");else if(">"===e[t]&&""===n){s=!0;break}i+=e[t]}return""===n&&{value:i,index:t,tagClosed:s}}t.validate=function(e,t){t=Object.assign({},s,t);var i,h=[],p=!1,m=!1;"\ufeff"===e[0]&&(e=e.substr(1));for(var g=0;g<e.length;g++)if("<"===e[g]&&"?"===e[g+1]){if((g=o(e,g+=2)).err)return g}else{if("<"!==e[g]){if(r(e[g]))continue;return u("InvalidChar","char '"+e[g]+"' is not expected.",f(e,g))}var b=g;if("!"===e[++g]){g=a(e,g);continue}var v=!1;"/"===e[g]&&(v=!0,g++);for(var y="";g<e.length&&">"!==e[g]&&" "!==e[g]&&"\t"!==e[g]&&"\n"!==e[g]&&"\r"!==e[g];g++)y+=e[g];if("/"===(y=y.trim())[y.length-1]&&(y=y.substring(0,y.length-1),g--),i=y,!n.isName(i))return u("InvalidTag",0===y.trim().length?"Invalid space after '<'.":"Tag '"+y+"' is an invalid name.",f(e,g));var w=l(e,g);if(!1===w)return u("InvalidAttr","Attributes for '"+y+"' have open quote.",f(e,g));var x=w.value;if(g=w.index,"/"===x[x.length-1]){var E=g-x.length,C=c(x=x.substring(0,x.length-1),t);if(!0!==C)return u(C.err.code,C.err.msg,f(e,E+C.err.line));p=!0}else if(v){if(!w.tagClosed)return u("InvalidTag","Closing tag '"+y+"' doesn't have proper closing.",f(e,g));if(x.trim().length>0)return u("InvalidTag","Closing tag '"+y+"' can't have attributes or invalid starting.",f(e,b));var A=h.pop();if(y!==A.tagName){var _=f(e,A.tagStartPos);return u("InvalidTag","Expected closing tag '"+A.tagName+"' (opened in line "+_.line+", col "+_.col+") instead of closing tag '"+y+"'.",f(e,b))}0==h.length&&(m=!0)}else{var S=c(x,t);if(!0!==S)return u(S.err.code,S.err.msg,f(e,g-x.length+S.err.line));if(!0===m)return u("InvalidXml","Multiple possible root nodes found.",f(e,g));-1!==t.unpairedTags.indexOf(y)||h.push({tagName:y,tagStartPos:b}),p=!0}for(g++;g<e.length;g++)if("<"===e[g]){if("!"===e[g+1]){g=a(e,++g);continue}if("?"!==e[g+1])break;if((g=o(e,++g)).err)return g}else if("&"===e[g]){var k=d(e,g);if(-1==k)return u("InvalidChar","char '&' is not expected.",f(e,g));g=k}else if(!0===m&&!r(e[g]))return u("InvalidXml","Extra text at the end",f(e,g));"<"===e[g]&&g--}return p?1==h.length?u("InvalidTag","Unclosed tag '"+h[0].tagName+"'.",f(e,h[0].tagStartPos)):!(h.length>0)||u("InvalidXml","Invalid '"+JSON.stringify(h.map((function(e){return e.tagName})),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1}):u("InvalidXml","Start tag expected.",1)};var h=new RegExp("(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['\"])(([\\s\\S])*?)\\5)?","g");function c(e,t){for(var i=n.getAllMatches(e,h),s={},r=0;r<i.length;r++){if(0===i[r][1].length)return u("InvalidAttr","Attribute '"+i[r][2]+"' has no space in starting.",m(i[r]));if(void 0!==i[r][3]&&void 0===i[r][4])return u("InvalidAttr","Attribute '"+i[r][2]+"' is without value.",m(i[r]));if(void 0===i[r][3]&&!t.allowBooleanAttributes)return u("InvalidAttr","boolean attribute '"+i[r][2]+"' is not allowed.",m(i[r]));var o=i[r][2];if(!p(o))return u("InvalidAttr","Attribute '"+o+"' is an invalid name.",m(i[r]));if(s.hasOwnProperty(o))return u("InvalidAttr","Attribute '"+o+"' is repeated.",m(i[r]));s[o]=1}return!0}function d(e,t){if(";"===e[++t])return-1;if("#"===e[t])return function(e,t){var i=/\d/;for("x"===e[t]&&(t++,i=/[\da-fA-F]/);t<e.length;t++){if(";"===e[t])return t;if(!e[t].match(i))break}return-1}(e,++t);for(var i=0;t<e.length;t++,i++)if(!(e[t].match(/\w/)&&i<20)){if(";"===e[t])break;return-1}return t}function u(e,t,i){return{err:{code:e,msg:t,line:i.line||i,col:i.col}}}function p(e){return n.isName(e)}function f(e,t){var i=e.substring(0,t).split(/\r?\n/);return{line:i.length,col:i[i.length-1].length+1}}function m(e){return e.startIndex+e[1].length}},4039:(e,t,i)=>{function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}var s=i(7354),r={attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:" ",suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:function(e,t){return t},attributeValueProcessor:function(e,t){return t},preserveOrder:!1,commentPropName:!1,unpairedTags:[],entities:[{regex:new RegExp("&","g"),val:"&"},{regex:new RegExp(">","g"),val:">"},{regex:new RegExp("<","g"),val:"<"},{regex:new RegExp("'","g"),val:"'"},{regex:new RegExp('"',"g"),val:"""}],processEntities:!0,stopNodes:[],oneListGroup:!1};function o(e){this.options=Object.assign({},r,e),this.options.ignoreAttributes||this.options.attributesGroupName?this.isAttribute=function(){return!1}:(this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=h),this.processTextOrObjNode=a,this.options.format?(this.indentate=l,this.tagEndChar=">\n",this.newLine="\n"):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}function a(e,t,i){var n=this.j2x(e,i+1);return void 0!==e[this.options.textNodeName]&&1===Object.keys(e).length?this.buildTextValNode(e[this.options.textNodeName],t,n.attrStr,i):this.buildObjectNode(n.val,t,n.attrStr,i)}function l(e){return this.options.indentBy.repeat(e)}function h(e){return!!e.startsWith(this.options.attributeNamePrefix)&&e.substr(this.attrPrefixLen)}o.prototype.build=function(e){return this.options.preserveOrder?s(e,this.options):(Array.isArray(e)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(t={},n=e,(i=this.options.arrayNodeName)in t?Object.defineProperty(t,i,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[i]=n,e=t),this.j2x(e,0).val);var t,i,n},o.prototype.j2x=function(e,t){var i="",s="";for(var r in e)if(void 0===e[r]);else if(null===e[r])"?"===r[0]?s+=this.indentate(t)+"<"+r+"?"+this.tagEndChar:s+=this.indentate(t)+"<"+r+"/"+this.tagEndChar;else if(e[r]instanceof Date)s+=this.buildTextValNode(e[r],r,"",t);else if("object"!==n(e[r])){var o=this.isAttribute(r);if(o)i+=this.buildAttrPairStr(o,""+e[r]);else if(r===this.options.textNodeName){var a=this.options.tagValueProcessor(r,""+e[r]);s+=this.replaceEntitiesValue(a)}else s+=this.buildTextValNode(e[r],r,"",t)}else if(Array.isArray(e[r])){for(var l=e[r].length,h="",c=0;c<l;c++){var d=e[r][c];void 0===d||(null===d?"?"===r[0]?s+=this.indentate(t)+"<"+r+"?"+this.tagEndChar:s+=this.indentate(t)+"<"+r+"/"+this.tagEndChar:"object"===n(d)?this.options.oneListGroup?h+=this.j2x(d,t+1).val:h+=this.processTextOrObjNode(d,r,t):h+=this.buildTextValNode(d,r,"",t))}this.options.oneListGroup&&(h=this.buildObjectNode(h,r,"",t)),s+=h}else if(this.options.attributesGroupName&&r===this.options.attributesGroupName)for(var u=Object.keys(e[r]),p=u.length,f=0;f<p;f++)i+=this.buildAttrPairStr(u[f],""+e[r][u[f]]);else s+=this.processTextOrObjNode(e[r],r,t);return{attrStr:i,val:s}},o.prototype.buildAttrPairStr=function(e,t){return t=this.options.attributeValueProcessor(e,""+t),t=this.replaceEntitiesValue(t),this.options.suppressBooleanAttributes&&"true"===t?" "+e:" "+e+'="'+t+'"'},o.prototype.buildObjectNode=