@digital-blueprint/esign-app
Version:
[GitHub Repository](https://github.com/digital-blueprint/esign-app) | [npmjs package](https://www.npmjs.com/package/@digital-blueprint/esign-app) | [Unpkg CDN](https://unpkg.com/browse/@digital-blueprint/esign-app/) | [Esign Bundle](https://gitlab.tugraz.
337 lines (296 loc) • 728 kB
JavaScript
var e,t,n,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,ee,te,ne,re,ie,ae,oe,C,se,ce,le,ue,de,fe,pe,me,he,ge,_e,ve,ye,be,xe,Se,Ce,we,Te,Ee,De,Oe,ke,w,Ae,je,Me,Ne,Pe,Fe,Ie,Le,Re,T,ze,E,Be,Ve,He,Ue,We;function Ge(e,t){Ke(e,t),t.add(e)}function D(e,t,n){Ke(e,t),t.set(e,n)}function Ke(e,t){if(t.has(e))throw TypeError(`Cannot initialize the same private elements twice on an object`)}function O(e,t,n){return(t=qe(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function qe(e){var t=Je(e,`string`);return typeof t==`symbol`?t:t+``}function Je(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function k(e,t){return e.get(Ye(e,t))}function A(e,t,n){return e.set(Ye(e,t),n),n}function Ye(e,t,n){if(typeof e==`function`?e===t:e.has(t))return arguments.length<3?t:n;throw TypeError(`Private element is not present on this object`)}
/*!
* 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/auth: LGPL-2.1-or-later
* @dbp-toolkit/notification: LGPL-2.1-or-later
* @dbp-toolkit/theme-switcher: LGPL-2.1-or-later
* universal-router: MIT
* @dbp-toolkit/matomo: LGPL-2.1-or-later
* @tugraz/web-components: LGPL-2.1-or-later
* exceljs: MIT
* fabric: MIT
* jspdf-autotable: MIT
* keycloak-js: Apache-2.0
* jszip: (MIT OR GPL-3.0-or-later)
* pdfjs-dist: Apache-2.0
* path2d: MIT
* fflate: MIT
* @babel/runtime: MIT
* iobuffer: MIT
* pako: (MIT AND Zlib)
* fast-png: MIT
* jspdf: MIT
* core-js: MIT
* performance-now: MIT
* raf: MIT
* rgbcolor: MIT OR SEE LICENSE IN FEEL-FREE.md
* svg-pathdata: MIT
* stackblur-canvas: MIT
* canvg: MIT
* dompurify: (MPL-2.0 OR Apache-2.0)
* html2canvas: MIT
* i18next: MIT
* @dbp-toolkit/common: LGPL-2.1-or-later
* @lit/reactive-element: BSD-3-Clause
* lit-html: BSD-3-Clause
* lit-element: BSD-3-Clause
* @open-wc/dedupe-mixin: MIT
* @open-wc/scoped-elements: MIT
* dialog-polyfill: BSD
* @digital-blueprint/annotpdf: MIT
* @dbp-toolkit/pdf-viewer: LGPL-2.1-or-later
* @popperjs/core: MIT
* tippy.js: MIT
* @dbp-toolkit/tooltip: LGPL-2.1-or-later
* jquery: MIT
* select2: MIT
* @dbp-toolkit/resource-select: LGPL-2.1-or-later
* @dbp-toolkit/tabulator-table: LGPL-2.1-or-later
* @dbp-toolkit/file-handling: LGPL-2.1-or-later
* webdav: MIT
* tabulator-tables: MIT
* jose: MIT
*/
import{A as Xe,C as Ze,J as j,M as Qe,O as $e,Q as et,T as tt,Y as nt,Z as rt,b as it,c as at,d as M,g as ot,h as st,j as ct,k as lt,x as ut,z as dt}from"./dbp-lit-element.D0c52m5A.js";import{t as ft}from"./notification.DW4NLT-r.js";var pt={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`,"empty-file-error-text":`{{filename}} hat size=0 und wird abgelehnt!`,"empty-file-error-title":`Leere Dateien sind nicht erlaubt`,"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`,"not-allowed-mime-type-file-error-text":`{{filename}} hat nicht erlaubt mime type`,"not-allowed-mime-type-file-error-title":`Nicht erlaubt MIME-Type`,"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`,"file-error":`Das Dateiformat wird nicht unterstützt oder die Datei ist fehlerhaft und konnte nicht hochgeladen werden.`,"file-upload-error":`Entschuldigung, etwas ist schief gelaufen. Bitte versuchen Sie es später noch einmal.`,filename:`Name`,"folder-home":`In das Home Verzeichnis springen`,forbidden:`Sie sind nicht berechtigt, diese Aktion in diesem Ordner auszuführen.`,"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}}`},"upload-label":`Dateiauswahl`},mt={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`,"empty-file-error-text":`{{filename}} has size=0 and is denied!`,"empty-file-error-title":`Empty files are not allowed`,"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`,"not-allowed-mime-type-file-error-text":`{{filename}} has not allowed MIME-Type`,"not-allowed-mime-type-file-error-title":`Not allowed MIME-Type`,"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`,"file-error":`The file format is not supported or the file is corrupt and could not be uploaded.`,"file-upload-error":`Sorry, something went wrong. Please try again later.`,filename:`Filename`,"folder-home":`Jump to the home directory`,forbidden:`You don't have permissions to perform this action in this folder.`,"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`},"upload-label":`Select some files`};function ht(){return rt({en:mt,de:pt},`de`,`en`)}function gt(){return nt`
:host {
--dbp-tabulator-collapse-padding-left: 0;
--dbp-tabulator-cell-overflow: hidden;
--dbp-tabulator-cell-background-color: var(--dbp-background);
}
.tabulator {
margin-bottom: 1em;
}
.tabulator .tabulator-tableholder {
overflow-y: clip;
}
.tabulator .tabulator-header .tabulator-col.tabulator-sortable .tabulator-col-title {
font-weight: normal;
font-size: 1rem;
}
.tabulator,
.tabulator .tabulator-header,
.tabulator .tabulator-header .tabulator-col,
.tabulator-row .tabulator-cell,
.tabulator-row.tabulator-row-even,
.tabulator .tabulator-header .tabulator-col.tabulator-sortable:hover {
background-color: unset;
background: unset;
color: unset;
border: none;
font-size: 1rem;
}
/* sticky hedaer */
.tabulator.sticky-header {
overflow: unset;
}
.tabulator.sticky-header .tabulator-header {
position: sticky;
top: 0;
z-index: 9;
background-color: var(--dbp-background);
border-bottom: 1px solid var(--dbp-content);
}
.tabulator.sticky-header .tabulator-row:first-child {
border-top: 0 none;
}
/* sticky hedaer end */
.tabulator-headers + br {
display: none;
}
.tabulator-row,
.tabulator-row.tabulator-row-even {
background-color: var(--dbp-background);
border-top: 1px solid var(--dbp-muted);
color: var(--dbp-content);
}
.tabulator-row:last-child {
border-bottom: 1px solid var(--dbp-muted);
}
.tabulator-row.tabulator-selectable.tabulator-selectable:hover {
background-color: var(--dbp-hover-background-color, var(--dbp-background));
color: var(--dbp-hover-color, var(--dbp-content));
}
.tabulator-row.tabulator-selectable.tabulator-selected:hover,
.tabulator-row.tabulator-selected {
background-color: var(--dbp-override-muted, var(--dbp-content-surface));
color: var(--dbp-hover-color, var(--dbp-on-content-surface));
}
.tabulator-selected .tabulator-responsive-collapse-toggle,
.tabulator-row.tabulator-selected .tabulator-responsive-collapse-toggle {
background-color: var(--dbp-hover-color, var(--dbp-on-content-surface));
}
.tabulator-row.tabulator-row-even.tabulator-selected {
color: var(--dbp-hover-color, var(--dbp-on-content-surface));
}
.tabulator-header {
padding-top: 10px;
padding-bottom: 10px;
}
.tabulator-row .tabulator-cell {
padding-top: 12px;
padding-bottom: 12px;
overflow: var(--dbp-tabulator-cell-overflow);
background-color: var(--dbp-tabulator-cell-background-color);
}
.tabulator-row.tabulator-selected .tabulator-cell {
background-color: var(--dbp-override-muted, var(--dbp-content-surface));
color: var(--dbp-hover-color, var(--dbp-on-content-surface));
}
/* hide first fake column used by select all checkbox in the header */
.tabulator-cell[tabulator-field='empty'] {
display: none !important;
}
/* Toggle Button Styles */
.tabulator-row .tabulator-responsive-collapse {
border: none;
padding-left: var(--dbp-tabulator-collapse-padding-left);
}
.tabulator-row .tabulator-cell.tabulator-row-handle {
padding: 0px;
}
.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle {
height: 99%;
width: 99%;
}
.tabulator-responsive-collapse-toggle svg {
display: none !important;
}
.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle:hover {
opacity: 1;
}
.tabulator-responsive-collapse-toggle,
.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle {
-webkit-mask-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='utf-8'%3F%3E%3Csvg version='1.1' id='Layer_2_1_' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 100 100' style='enable-background:new 0 0 100 100;' xml:space='preserve'%3E%3Cpath d='M2.4,29.6l44.4,44.2c0.9,0.9,2.1,1.3,3.3,1.3c1.2,0,2.4-0.5,3.3-1.3l44.2-44.2c1.1-1.1,1.1-2.8,0-3.9 c-0.5-0.5-1.2-0.8-1.9-0.8c-0.7,0-1.4,0.3-1.9,0.8L50.1,69.3L6.3,25.7c-1.1-1.1-2.8-1.1-3.9,0C1.3,26.8,1.3,28.5,2.4,29.6z'/%3E%3C/svg%3E");
mask-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='utf-8'%3F%3E%3Csvg version='1.1' id='Layer_2_1_' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 100 100' style='enable-background:new 0 0 100 100;' xml:space='preserve'%3E%3Cpath d='M2.4,29.6l44.4,44.2c0.9,0.9,2.1,1.3,3.3,1.3c1.2,0,2.4-0.5,3.3-1.3l44.2-44.2c1.1-1.1,1.1-2.8,0-3.9 c-0.5-0.5-1.2-0.8-1.9-0.8c-0.7,0-1.4,0.3-1.9,0.8L50.1,69.3L6.3,25.7c-1.1-1.1-2.8-1.1-3.9,0C1.3,26.8,1.3,28.5,2.4,29.6z'/%3E%3C/svg%3E");
content: '';
background-color: var(--dbp-content);
-webkit-mask-repeat: no-repeat;
mask-repeat: no-repeat;
-webkit-mask-position: center center;
mask-position: center center;
margin: 0;
padding: 0;
-webkit-mask-size: 24px;
mask-size: 24px;
transform: rotate(0);
}
.tabulator-responsive-collapse-toggle.open,
.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle.open {
transform: rotate(-180deg);
}
/* Define the style when the column is not sorted */
.tabulator
.tabulator-header
.tabulator-col.tabulator-sortable[aria-sort='none']
.tabulator-col-content
.tabulator-col-sorter
.tabulator-arrow {
border-top: none;
border-bottom: 6px solid var(--dbp-muted);
}
/* Define the style when the column is sorted in ascending order */
.tabulator
.tabulator-header
.tabulator-col.tabulator-sortable[aria-sort='asc']
.tabulator-col-content
.tabulator-col-sorter
.tabulator-arrow {
border-top: none;
border-bottom: 6px solid var(--dbp-accent);
}
/* Define the style when the column is sorted in descending order */
.tabulator
.tabulator-header
.tabulator-col.tabulator-sortable[aria-sort='desc']
.tabulator-col-content
.tabulator-col-sorter
.tabulator-arrow {
border-bottom: none;
border-top: 6px solid var(--dbp-accent);
color: var(--dbp-accent);
}
.tabulator-cell.tabulator-row-header.tabulator-row-handle {
background-color: var(--dbp-background-color);
border-style: none;
}
.tabulator-row,
.tabulator-row.tabulator-row-even,
.tabulator-row.tabulator-row-odd {
padding-top: 0px;
padding-bottom: 0px;
}
.tabulator .tabulator-tableholder .tabulator-placeholder .tabulator-placeholder-contents {
color: var(--dbp-muted);
font-size: 1rem;
font-weight: initial;
text-align: center;
}
.tabulator-placeholder {
border-top: 1px solid var(--dbp-muted);
padding-top: 10px;
}
.tabulator-row.no-select.tabulator-selected {
background-color: var(--dbp-background);
color: var(--dbp-muted);
}
.no-select,
.tabulator-row.tabulator-selected.no-select:hover,
.tabulator-row.no-select:hover,
.tabulator-row.tabulator-selectable.no-select:hover {
cursor: unset;
}
.no-select-styles,
.tabulator-row.tabulator-selectable.tabulator-selected.no-select-styles,
.tabulator-row.tabulator-selectable.tabulator-selected.no-select-styles:hover,
.no-select,
.tabulator-row.tabulator-selected.no-select:hover,
.tabulator-row.no-select:hover,
.tabulator-row.tabulator-selectable.no-select:hover,
.tabulator-row.tabulator-selected.no-select-styles:hover,
.tabulator-row.no-select-styles:hover,
.tabulator-row.tabulator-selectable.no-select-styles:hover {
color: var(--dbp-content);
background-color: var(--dbp-background);
}
.tabulator
.tabulator-header
.tabulator-col.tabulator-sortable.tabulator-col-sorter-element:hover {
background-color: unset;
}
/* Frozen select checkbox rows styles */
.tabulator-col.tabulator-row-header.tabulator-frozen,
.tabulator-cell.tabulator-row-header.tabulator-frozen {
border: none;
background-color: var(--dbp-background);
}
/* Frozen table header styles */
.tabulator .tabulator-header .tabulator-frozen.tabulator-frozen-left,
.tabulator .tabulator-header .tabulator-frozen.tabulator-frozen-right {
border: none;
background-color: var(--dbp-background);
}
/* Frozen table rows styles */
.tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-left,
.tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-right {
border: none;
}
.tabulator .tabulator-footer .tabulator-paginator {
text-align: center;
}
.tabulator[tabulator-layout='fitDataFill'] .tabulator-tableHolder .tabulator-table {
min-width: calc(100% - 41px);
}
`}
/*! For license information please see index.js.LICENSE.txt */
var _t={2:e=>{function t(e,t,i){e instanceof RegExp&&(e=n(e,i)),t instanceof RegExp&&(t=n(t,i));var a=r(e,t,i);return a&&{start:a[0],end:a[1],pre:i.slice(0,a[0]),body:i.slice(a[0]+e.length,a[1]),post:i.slice(a[1]+t.length)}}function n(e,t){var n=t.match(e);return n?n[0]:null}function r(e,t,n){var r,i,a,o,s,c=n.indexOf(e),l=n.indexOf(t,c+1),u=c;if(c>=0&&l>0){for(r=[],a=n.length;u>=0&&!s;)u==c?(r.push(u),c=n.indexOf(e,u+1)):r.length==1?s=[r.pop(),l]:((i=r.pop())<a&&(a=i,o=l),l=n.indexOf(t,u+1)),u=c<l&&c>=0?c:l;r.length&&(s=[a,o])}return s}e.exports=t,t.range=r},101:function(e,t,n){var r;e=n.nmd(e),function(i){var a=(e&&e.exports,typeof global==`object`&&global);a.global!==a&&a.window;var o=function(e){this.message=e};(o.prototype=Error()).name=`InvalidCharacterError`;var s=function(e){throw new o(e)},c=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/`,l=/[\t\n\f\r ]/g,u={encode:function(e){e=String(e),/[^\0-\xFF]/.test(e)&&s(`The string to be encoded contains characters outside of the Latin1 range.`);for(var t,n,r,i,a=e.length%3,o=``,l=-1,u=e.length-a;++l<u;)t=e.charCodeAt(l)<<16,n=e.charCodeAt(++l)<<8,r=e.charCodeAt(++l),o+=c.charAt((i=t+n+r)>>18&63)+c.charAt(i>>12&63)+c.charAt(i>>6&63)+c.charAt(63&i);return a==2?(t=e.charCodeAt(l)<<8,n=e.charCodeAt(++l),o+=c.charAt((i=t+n)>>10)+c.charAt(i>>4&63)+c.charAt(i<<2&63)+`=`):a==1&&(i=e.charCodeAt(l),o+=c.charAt(i>>2)+c.charAt(i<<4&63)+`==`),o},decode:function(e){var t=(e=String(e).replace(l,``)).length;t%4==0&&(t=(e=e.replace(/==?$/,``)).length),(t%4==1||/[^+a-zA-Z0-9/]/.test(e))&&s(`Invalid character: the string to be decoded is not correctly encoded.`);for(var n,r,i=0,a=``,o=-1;++o<t;)r=c.indexOf(e.charAt(o)),n=i%4?64*n+r:r,i++%4&&(a+=String.fromCharCode(255&n>>(-2*i&6)));return a},version:`1.0.0`};(r=function(){return u}.call(t,n,t,e))===void 0||(e.exports=r)}()},172:(e,t)=>{t.d=function(e){if(!e)return 0;for(var t=(e=e.toString()).length,n=e.length;n--;){var r=e.charCodeAt(n);56320<=r&&r<=57343&&n--,127<r&&r<=2047?t++:2047<r&&r<=65535&&(t+=2)}return t}},526: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=[],n=0;n<e.length;n++)t.push(255&e.charCodeAt(n));return t},bytesToString:function(e){for(var t=[],n=0;n<e.length;n++)t.push(String.fromCharCode(e[n]));return t.join(``)}}};e.exports=t},298:e=>{var t=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/`,n={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&n.rotl(e,8)|4278255360&n.rotl(e,24);for(var t=0;t<e.length;t++)e[t]=n.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=[],n=0,r=0;n<e.length;n++,r+=8)t[r>>>5]|=e[n]<<24-r%32;return t},wordsToBytes:function(e){for(var t=[],n=0;n<32*e.length;n+=8)t.push(e[n>>>5]>>>24-n%32&255);return t},bytesToHex:function(e){for(var t=[],n=0;n<e.length;n++)t.push((e[n]>>>4).toString(16)),t.push((15&e[n]).toString(16));return t.join(``)},hexToBytes:function(e){for(var t=[],n=0;n<e.length;n+=2)t.push(parseInt(e.substr(n,2),16));return t},bytesToBase64:function(e){for(var n=[],r=0;r<e.length;r+=3)for(var i=e[r]<<16|e[r+1]<<8|e[r+2],a=0;a<4;a++)8*r+6*a<=8*e.length?n.push(t.charAt(i>>>6*(3-a)&63)):n.push(`=`);return n.join(``)},base64ToBytes:function(e){e=e.replace(/[^A-Z0-9+\/]/gi,``);for(var n=[],r=0,i=0;r<e.length;i=++r%4)i!=0&&n.push((t.indexOf(e.charAt(r-1))&2**(-2*i+8)-1)<<2*i|t.indexOf(e.charAt(r))>>>6-2*i);return n}};e.exports=n},635:(e,t,n)=>{let r=n(31);e.exports={XMLParser:n(338),XMLValidator:r,XMLBuilder:n(221)}},118:e=>{e.exports=function(e){return typeof e==`function`?e:Array.isArray(e)?t=>{for(let n of e)if(typeof n==`string`&&t===n||n instanceof RegExp&&n.test(t))return!0}:()=>!1}},705:(e,t)=>{let n=`[: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]*`,r=RegExp(`^`+n+`$`);t.isExist=function(e){return e!==void 0},t.isEmptyObject=function(e){return Object.keys(e).length===0},t.merge=function(e,t,n){if(t){let r=Object.keys(t),i=r.length;for(let a=0;a<i;a++)e[r[a]]=n===`strict`?[t[r[a]]]:t[r[a]]}},t.getValue=function(e){return t.isExist(e)?e:``},t.isName=function(e){return r.exec(e)!=null},t.getAllMatches=function(e,t){let n=[],r=t.exec(e);for(;r;){let i=[];i.startIndex=t.lastIndex-r[0].length;let a=r.length;for(let e=0;e<a;e++)i.push(r[e]);n.push(i),r=t.exec(e)}return n},t.nameRegexp=n},31:(e,t,n)=>{let r=n(705),i={allowBooleanAttributes:!1,unpairedTags:[]};function a(e){return e===` `||e===` `||e===`
`||e===`\r`}function o(e,t){let n=t;for(;t<e.length;t++)if(!(e[t]!=`?`&&e[t]!=` `)){let r=e.substr(n,t-n);if(t>5&&r===`xml`)return f(`InvalidXml`,`XML declaration allowed only at the start of the document.`,m(e,t));if(e[t]==`?`&&e[t+1]==`>`){t++;break}}return t}function s(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&&e[t+1]===`D`&&e[t+2]===`O`&&e[t+3]===`C`&&e[t+4]===`T`&&e[t+5]===`Y`&&e[t+6]===`P`&&e[t+7]===`E`){let n=1;for(t+=8;t<e.length;t++)if(e[t]===`<`)n++;else if(e[t]===`>`&&(n--,n===0))break}else if(e.length>t+9&&e[t+1]===`[`&&e[t+2]===`C`&&e[t+3]===`D`&&e[t+4]===`A`&&e[t+5]===`T`&&e[t+6]===`A`&&e[t+7]===`[`){for(t+=8;t<e.length;t++)if(e[t]===`]`&&e[t+1]===`]`&&e[t+2]===`>`){t+=2;break}}return t}t.validate=function(e,t){t=Object.assign({},i,t);let n=[],l=!1,p=!1;e[0]===``&&(e=e.substr(1));for(let i=0;i<e.length;i++)if(e[i]===`<`&&e[i+1]===`?`){if(i+=2,i=o(e,i),i.err)return i}else{if(e[i]!==`<`){if(a(e[i]))continue;return f(`InvalidChar`,`char '`+e[i]+`' is not expected.`,m(e,i))}{let g=i;if(i++,e[i]===`!`){i=s(e,i);continue}{let _=!1;e[i]===`/`&&(_=!0,i++);let v=``;for(;i<e.length&&e[i]!==`>`&&e[i]!==` `&&e[i]!==` `&&e[i]!==`
`&&e[i]!==`\r`;i++)v+=e[i];if(v=v.trim(),v[v.length-1]===`/`&&(v=v.substring(0,v.length-1),i--),h=v,!r.isName(h)){let t;return t=v.trim().length===0?`Invalid space after '<'.`:`Tag '`+v+`' is an invalid name.`,f(`InvalidTag`,t,m(e,i))}let y=c(e,i);if(!1===y)return f(`InvalidAttr`,`Attributes for '`+v+`' have open quote.`,m(e,i));let b=y.value;if(i=y.index,b[b.length-1]===`/`){let n=i-b.length;b=b.substring(0,b.length-1);let r=u(b,t);if(!0!==r)return f(r.err.code,r.err.msg,m(e,n+r.err.line));l=!0}else if(_){if(!y.tagClosed)return f(`InvalidTag`,`Closing tag '`+v+`' doesn't have proper closing.`,m(e,i));if(b.trim().length>0)return f(`InvalidTag`,`Closing tag '`+v+`' can't have attributes or invalid starting.`,m(e,g));if(n.length===0)return f(`InvalidTag`,`Closing tag '`+v+`' has not been opened.`,m(e,g));{let t=n.pop();if(v!==t.tagName){let n=m(e,t.tagStartPos);return f(`InvalidTag`,`Expected closing tag '`+t.tagName+`' (opened in line `+n.line+`, col `+n.col+`) instead of closing tag '`+v+`'.`,m(e,g))}n.length==0&&(p=!0)}}else{let r=u(b,t);if(!0!==r)return f(r.err.code,r.err.msg,m(e,i-b.length+r.err.line));if(!0===p)return f(`InvalidXml`,`Multiple possible root nodes found.`,m(e,i));t.unpairedTags.indexOf(v)!==-1||n.push({tagName:v,tagStartPos:g}),l=!0}for(i++;i<e.length;i++)if(e[i]===`<`){if(e[i+1]===`!`){i++,i=s(e,i);continue}if(e[i+1]!==`?`)break;if(i=o(e,++i),i.err)return i}else if(e[i]===`&`){let t=d(e,i);if(t==-1)return f(`InvalidChar`,`char '&' is not expected.`,m(e,i));i=t}else if(!0===p&&!a(e[i]))return f(`InvalidXml`,`Extra text at the end`,m(e,i));e[i]===`<`&&i--}}}var h;return l?n.length==1?f(`InvalidTag`,`Unclosed tag '`+n[0].tagName+`'.`,m(e,n[0].tagStartPos)):!(n.length>0)||f(`InvalidXml`,`Invalid '`+JSON.stringify(n.map(e=>e.tagName),null,4).replace(/\r?\n/g,``)+`' found.`,{line:1,col:1}):f(`InvalidXml`,`Start tag expected.`,1)};function c(e,t){let n=``,r=``,i=!1;for(;t<e.length;t++){if(e[t]===`"`||e[t]===`'`)r===``?r=e[t]:r!==e[t]||(r=``);else if(e[t]===`>`&&r===``){i=!0;break}n+=e[t]}return r===``&&{value:n,index:t,tagClosed:i}}let l=RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`,`g`);function u(e,t){let n=r.getAllMatches(e,l),i={};for(let e=0;e<n.length;e++){if(n[e][1].length===0)return f(`InvalidAttr`,`Attribute '`+n[e][2]+`' has no space in starting.`,h(n[e]));if(n[e][3]!==void 0&&n[e][4]===void 0)return f(`InvalidAttr`,`Attribute '`+n[e][2]+`' is without value.`,h(n[e]));if(n[e][3]===void 0&&!t.allowBooleanAttributes)return f(`InvalidAttr`,`boolean attribute '`+n[e][2]+`' is not allowed.`,h(n[e]));let r=n[e][2];if(!p(r))return f(`InvalidAttr`,`Attribute '`+r+`' is an invalid name.`,h(n[e]));if(i.hasOwnProperty(r))return f(`InvalidAttr`,`Attribute '`+r+`' is repeated.`,h(n[e]));i[r]=1}return!0}function d(e,t){if(e[++t]===`;`)return-1;if(e[t]===`#`)return function(e,t){let n=/\d/;for(e[t]===`x`&&(t++,n=/[\da-fA-F]/);t<e.length;t++){if(e[t]===`;`)return t;if(!e[t].match(n))break}return-1}(e,++t);let n=0;for(;t<e.length;t++,n++)if(!(e[t].match(/\w/)&&n<20)){if(e[t]===`;`)break;return-1}return t}function f(e,t,n){return{err:{code:e,msg:t,line:n.line||n,col:n.col}}}function p(e){return r.isName(e)}function m(e,t){let n=e.substring(0,t).split(/\r?\n/);return{line:n.length,col:n[n.length-1].length+1}}function h(e){return e.startIndex+e[1].length}},221:(e,t,n)=>{let r=n(87),i=n(118),a={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:RegExp(`&`,`g`),val:`&`},{regex:RegExp(`>`,`g`),val:`>`},{regex:RegExp(`<`,`g`),val:`<`},{regex:RegExp(`'`,`g`),val:`'`},{regex:RegExp(`"`,`g`),val:`"`}],processEntities:!0,stopNodes:[],oneListGroup:!1};function o(e){this.options=Object.assign({},a,e),!0===this.options.ignoreAttributes||this.options.attributesGroupName?this.isAttribute=function(){return!1}:(this.ignoreAttributesFn=i(this.options.ignoreAttributes),this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=l),this.processTextOrObjNode=s,this.options.format?(this.indentate=c,this.tagEndChar=`>
`,this.newLine=`
`):(this.indentate=function(){return``},this.tagEndChar=`>`,this.newLine=``)}function s(e,t,n,r){let i=this.j2x(e,n+1,r.concat(t));return e[this.options.textNodeName]!==void 0&&Object.keys(e).length===1?this.buildTextValNode(e[this.options.textNodeName],t,i.attrStr,n):this.buildObjectNode(i.val,t,i.attrStr,n)}function c(e){return this.options.indentBy.repeat(e)}function l(e){return!(!e.startsWith(this.options.attributeNamePrefix)||e===this.options.textNodeName)&&e.substr(this.attrPrefixLen)}o.prototype.build=function(e){return this.options.preserveOrder?r(e,this.options):(Array.isArray(e)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(e={[this.options.arrayNodeName]:e}),this.j2x(e,0,[]).val)},o.prototype.j2x=function(e,t,n){let r=``,i=``,a=n.join(`.`);for(let o in e)if(Object.prototype.hasOwnProperty.call(e,o))if(e[o]===void 0)this.isAttribute(o)&&(i+=``);else if(e[o]===null)this.isAttribute(o)?i+=``:o[0]===`?`?i+=this.indentate(t)+`<`+o+`?`+this.tagEndChar:i+=this.indentate(t)+`<`+o+`/`+this.tagEndChar;else if(e[o]instanceof Date)i+=this.buildTextValNode(e[o],o,``,t);else if(typeof e[o]!=`object`){let n=this.isAttribute(o);if(n&&!this.ignoreAttributesFn(n,a))r+=this.buildAttrPairStr(n,``+e[o]);else if(!n)if(o===this.options.textNodeName){let t=this.options.tagValueProcessor(o,``+e[o]);i+=this.replaceEntitiesValue(t)}else i+=this.buildTextValNode(e[o],o,``,t)}else if(Array.isArray(e[o])){let r=e[o].length,a=``,s=``;for(let c=0;c<r;c++){let r=e[o][c];if(r!==void 0)if(r===null)o[0]===`?`?i+=this.indentate(t)+`<`+o+`?`+this.tagEndChar:i+=this.indentate(t)+`<`+o+`/`+this.tagEndChar;else if(typeof r==`object`)if(this.options.oneListGroup){let e=this.j2x(r,t+1,n.concat(o));a+=e.val,this.options.attributesGroupName&&r.hasOwnProperty(this.options.attributesGroupName)&&(s+=e.attrStr)}else a+=this.processTextOrObjNode(r,o,t,n);else if(this.options.oneListGroup){let e=this.options.tagValueProcessor(o,r);e=this.replaceEntitiesValue(e),a+=e}else a+=this.buildTextValNode(r,o,``,t)}this.options.oneListGroup&&(a=this.buildObjectNode(a,o,s,t)),i+=a}else if(this.options.attributesGroupName&&o===this.options.attributesGroupName){let t=Object.keys(e[o]),n=t.length;for(let i=0;i<n;i++)r+=this.buildAttrPairStr(t[i],``+e[o][t[i]])}else i+=this.processTextOrObjNode(e[o],o,t,n);return{attrStr:r,val:i}},o.prototype.buildAttrPairStr=function(e,t){return t=this.options.attributeValueProcessor(e,``+t),t=this.replaceEntitiesValue(t),this.options.suppressBooleanAttributes&&t===`true`?` `+e:` `+e+`="`+t+`"`},o.prototype.buildObjectNode=function(e,t,n,r){if(e===``)return t[0]===`?`?this.indentate(r)+`<`+t+n+`?`+this.tagEndChar:this.indentate(r)+`<`+t+n+this.closeTag(t)+this.tagEndChar;{let i=`</`+t+this.tagEndChar,a=``;return t[0]===`?`&&(a=`?`,i=``),!n&&n!==``||e.indexOf(`<`)!==-1?!1!==this.options.commentPropName&&t===this.options.commentPropName&&a.length===0?this.indentate(r)+`\x3c!--${e}--\x3e`+this.newLine:this.indentate(r)+`<`+t+n+a+this.tagEndChar+e+this.indentate(r)+i:this.indentate(r)+`<`+t+n+a+`>`+e+i}},o.prototype.closeTag=function(e){let t=``;return this.options.unpairedTags.indexOf(e)===-1?t=this.options.suppressEmptyNode?`/`:`></${e}`:this.options.suppressUnpairedNode||(t=`/`),t},o.prototype.buildTextValNode=function(e,t,n,r){if(!1!==this.options.cdataPropName&&t===this.options.cdataPropName)return this.indentate(r)+`<![CDATA[${e}]]>`+this.newLine;if(!1!==this.options.commentPropName&&t===this.options.commentPropName)return this.indentate(r)+`\x3c!--${e}--\x3e`+this.newLine;if(t[0]===`?`)return this.indentate(r)+`<`+t+n+`?`+this.tagEndChar;{let i=this.options.tagValueProcessor(t,e);return i=this.replaceEntitiesValue(i),i===``?this.indentate(r)+`<`+t+n+this.closeTag(t)+this.tagEndChar:this.indentate(r)+`<`+t+n+`>`+i+`</`+t+this.tagEndChar}},o.prototype.replaceEntitiesValue=function(e){if(e&&e.length>0&&this.options.processEntities)for(let t=0;t<this.options.entities.length;t++){let n=this.options.entities[t];e=e.replace(n.regex,n.val)}return e},e.exports=o},87:e=>{function t(e,o,s,c){let l=``,u=!1;for(let d=0;d<e.length;d++){let f=e[d],p=n(f);if(p===void 0)continue;let m=``;if(m=s.length===0?p:`${s}.${p}`,p===o.textNodeName){let e=f[p];i(m,o)||(e=o.tagValueProcessor(p,e),e=a(e,o)),u&&(l+=c),l+=e,u=!1;continue}if(p===o.cdataPropName){u&&(l+=c),l+=`<![CDATA[${f[p][0][o.textNodeName]}]]>`,u=!1;continue}if(p===o.commentPropName){l+=c+`\x3c!--${f[p][0][o.textNodeName]}--\x3e`,u=!0;continue}if(p[0]===`?`){let e=r(f[`:@`],o),t=p===`?xml`?``:c,n=f[p][0][o.textNodeName];n=n.length===0?``:` `+n,l+=t+`<${p}${n}${e}?>`,u=!0;continue}let h=c;h!==``&&(h+=o.indentBy);let g=c+`<${p}${r(f[`:@`],o)}`,_=t(f[p],o,m,h);o.unpairedTags.indexOf(p)===-1?_&&_.length!==0||!o.suppressEmptyNode?_&&_.endsWith(`>`)?l+=g+`>${_}${c}</${p}>`:(l+=g+`>`,_&&c!==``&&(_.includes(`/>`)||_.includes(`</`))?l+=c+o.indentBy+_+c:l+=_,l+=`</${p}>`):l+=g+`/>`:o.suppressUnpairedNode?l+=g+`>`:l+=g+`/>`,u=!0}return l}function n(e){let t=Object.keys(e);for(let n=0;n<t.length;n++){let r=t[n];if(e.hasOwnProperty(r)&&r!==`:@`)return r}}function r(e,t){let n=``;if(e&&!t.ignoreAttributes)for(let r in e){if(!e.hasOwnProperty(r))continue;let i=t.attributeValueProcessor(r,e[r]);i=a(i,t),!0===i&&t.suppressBooleanAttributes?n+=` ${r.substr(t.attributeNamePrefix.length)}`:n+=` ${r.substr(t.attributeNamePrefix.length)}="${i}"`}return n}function i(e,t){let n=(e=e.substr(0,e.length-t.textNodeName.length-1)).substr(e.lastIndexOf(`.`)+1);for(let r in t.stopNodes)if(t.stopNodes[r]===e||t.stopNodes[r]===`*.`+n)return!0;return!1}function a(e,t){if(e&&e.length>0&&t.processEntities)for(let n=0;n<t.entities.length;n++){let r=t.entities[n];e=e.replace(r.regex,r.val)}return e}e.exports=function(e,n){let r=``;return n.format&&n.indentBy.length>0&&(r=`
`),t(e,n,``,r)}},193:(e,t,n)=>{let r=n(705);function i(e,t){let n=``;for(;t<e.length&&e[t]!==`'`&&e[t]!==`"`;t++)n+=e[t];if(n=n.trim(),n.indexOf(` `)!==-1)throw Error(`External entites are not supported`);let r=e[t++],i=``;for(;t<e.length&&e[t]!==r;t++)i+=e[t];return[n,i,t]}function a(e,t){return e[t+1]===`!`&&e[t+2]===`-`&&e[t+3]===`-`}function o(e,t){return e[t+1]===`!`&&e[t+2]===`E`&&e[t+3]===`N`&&e[t+4]===`T`&&e[t+5]===`I`&&e[t+6]===`T`&&e[t+7]===`Y`}function s(e,t){return e[t+1]===`!`&&e[t+2]===`E`&&e[t+3]===`L`&&e[t+4]===`E`&&e[t+5]===`M`&&e[t+6]===`E`&&e[t+7]===`N`&&e[t+8]===`T`}function c(e,t){return e[t+1]===`!`&&e[t+2]===`A`&&e[t+3]===`T`&&e[t+4]===`T`&&e[t+5]===`L`&&e[t+6]===`I`&&e[t+7]===`S`&&e[t+8]===`T`}function l(e,t){return e[t+1]===`!`&&e[t+2]===`N`&&e[t+3]===`O`&&e[t+4]===`T`&&e[t+5]===`A`&&e[t+6]===`T`&&e[t+7]===`I`&&e[t+8]===`O`&&e[t+9]===`N`}function u(e){if(r.isName(e))return e;throw Error(`Invalid entity name ${e}`)}e.exports=function(e,t){let n={};if(e[t+3]!==`O`||e[t+4]!==`C`||e[t+5]!==`T`||e[t+6]!==`Y`||e[t+7]!==`P`||e[t+8]!==`E`)throw Error(`Invalid Tag instead of DOCTYPE`);{t+=9;let r=1,d=!1,f=!1,p=``;for(;t<e.length;t++)if(e[t]!==`<`||f)if(e[t]===`>`){if(f?e[t-1]===`-`&&e[t-2]===`-`&&(f=!1,r--):r--,r===0)break}else e[t]===`[`?d=!0:p+=e[t];else{if(d&&o(e,t)){let r,a;t+=7,[r,a,t]=i(e,t+1),a.indexOf(`&`)===-1&&(n[u(r)]={regx:RegExp(`&${r};`,`g`),val:a})}else if(d&&s(e,t))t+=8;else if(d&&c(e,t))t+=8;else if(d&&l(e,t))t+=9;else{if(!a)throw Error(`Invalid DOCTYPE`);f=!0}r++,p=``}if(r!==0)throw Error(`Unclosed DOCTYPE`)}return{entities:n,i:t}}},63:(e,t)=>{let n={preserveOrder:!1,attributeNamePrefix:`@_`,attributesGroupName:!1,textNodeName:`#text`,ignoreAttributes:!0,removeNSPrefix:!1,allowBooleanAttributes:!1,parseTagValue:!0,parseAttributeValue:!1,trimValues:!0,cdataPropName:!1,numberParseOptions:{hex:!0,leadingZeros:!0,eNotation:!0},tagValueProcessor:function(e,t){return t},attributeValueProcessor:function(e,t){return t},stopNodes:[],alwaysCreateTextNode:!1,isArray:()=>!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(e,t,n){return e}};t.buildOptions=function(e){return Object.assign({},n,e)},t.defaultOptions=n},299:(e,t,n)=>{let r=n(705),i=n(365),a=n(193),o=n(494),s=n(118);function c(e){let t=Object.keys(e);for(let n=0;n<t.length;n++){let r=t[n];this.lastEntities[r]={regex:RegExp(`&`+r+`;`,`g`),val:e[r]}}}function l(e,t,n,r,i,a,o){if(e!==void 0&&(this.options.trimValues&&!r&&(e=e.trim()),e.length>0)){o||(e=this.replaceEntitiesValue(e));let r=this.options.tagValueProcessor(t,e,n,i,a);return r==null?e:typeof r!=typeof e||r!==e?r:this.options.trimValues||e.trim()===e?x(e,this.options.parseTagValue,this.options.numberParseOptions):e}}function u(e){if(this.options.removeNSPrefix){let t=e.split(`:`),n=e.charAt(0)===`/`?`/`:``;if(t[0]===`xmlns`)return``;t.length===2&&(e=n+t[1])}return e}let d=RegExp(`([^\\s=]+)\\s*(=\\s*(['"])([\\s\\S]*?)\\3)?`,`gm`);function f(e,t,n){if(!0!==this.options.ignoreAttributes&&typeof e==`string`){let n=r.getAllMatches(e,d),i=n.length,a={};for(let e=0;e<i;e++){let r=this.resolveNameSpace(n[e][1]);if(this.ignoreAttributesFn(r,t))continue;let i=n[e][4],o=this.options.attributeNamePrefix+r;if(r.length)if(this.options.transformAttributeName&&(o=this.options.transformAttributeName(o)),o===`__proto__`&&(o=`#__proto__`),i!==void 0){this.options.trimValues&&(i=i.trim()),i=this.replaceEntitiesValue(i);let e=this.options.attributeValueProcessor(r,i,t);a[o]=e==null?i:typeof e!=typeof i||e!==i?e:x(i,this.options.parseAttributeValue,this.options.numberParseOptions)}else this.options.allowBooleanAttributes&&(a[o]=!0)}if(!Object.keys(a).length)return;if(this.options.attributesGroupName){let e={};return e[this.options.attributesGroupName]=a,e}return a}}let p=function(e){e=e.replace(/\r\n?/g,`
`);let t=new i(`!xml`),n=t,r=``,o=``;for(let s=0;s<e.length;s++)if(e[s]===`<`)if(e[s+1]===`/`){let t=v(e,`>`,s,`Closing Tag is not closed.`),i=e.substring(s+2,t).trim();if(this.options.removeNSPrefix){let e=i.indexOf(`:`);e!==-1&&(i=i.substr(e+1))}this.options.transformTagName&&(i=this.options.transformTagName(i)),n&&(r=this.saveTextToParentTag(r,n,o));let a=o.substring(o.lastIndexOf(`.`)+1);if(i&&this.options.unpairedTags.indexOf(i)!==-1)throw Error(`Unpaired tag can not be used as closing tag: </${i}>`);let c=0;a&&this.options.unpairedTags.indexOf(a)!==-1?(c=o.lastIndexOf(`.`,o.lastIndexOf(`.`)-1),this.tagsNodeStack.pop()):c=o.lastIndexOf(`.`),o=o.substring(0,c),n=this.tagsNodeStack.pop(),r=``,s=t}else if(e[s+1]===`?`){let t=y(e,s,!1,`?>`);if(!t)throw Error(`Pi Tag is not closed.`);if(r=this.saveTextToParentTag(r,n,o),!(this.options.ignoreDeclaration&&t.tagName===`?xml`||this.options.ignorePiTags)){let e=new i(t.tagName);e.add(this.options.textNodeName,``),t.tagName!==t.tagExp&&t.attrExpPresent&&(e[`:@`]=this.buildAttributesMap(t.tagExp,o,t.tagName)),this.addChild(n,e,o)}s=t.closeIndex+1}else if(e.substr(s+1,3)===`!--`){let t=v(e,`-->`,s+4,`Comment is not closed.`);if(this.options.commentPropName){let i=e.substring(s+4,t-2);r=this.saveTextToParentTag(r,n,o),n.add(this.options.commentPropName,[{[this.options.textNodeName]:i}])}s=t}else if(e.substr(s+1,2)===`!D`){let t=a(e,s);this.docTypeEntities=t.entities,s