@digital-blueprint/formalize-app
Version:
[GitHub Repository](https://github.com/digital-blueprint/formalize-app) | [npmjs package](https://www.npmjs.com/package/@digital-blueprint/formalize-app) | [Unpkg CDN](https://unpkg.com/browse/@digital-blueprint/formalize-app/) | [Formalize Bundle](https:
1,979 lines • 207 kB
JavaScript
/*!
* License: LGPL-2.1-or-later
* Dependencies:
*
* @webcomponents/scoped-custom-element-registry: BSD-3-Clause
* @dbp-toolkit/app-shell: LGPL-2.1-or-later
* lit-html: BSD-3-Clause
* @dbp-toolkit/language-select: LGPL-2.1-or-later
* @dbp-toolkit/auth: 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
* cssfilter: MIT
* xss: MIT
* @dbp-toolkit/form-elements: LGPL-2.1-or-later
* html2pdf.js: MIT
* exceljs: MIT
* jspdf-autotable: MIT
* keycloak-js: Apache-2.0
* pdfjs-dist: Apache-2.0
* jszip: (MIT OR GPL-3.0-or-later)
* @babel/runtime: MIT
* fflate: 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)
* i18next: MIT
* @dbp-toolkit/common: LGPL-2.1-or-later
* @lit/reactive-element: BSD-3-Clause
* lit-element: BSD-3-Clause
* @open-wc/dedupe-mixin: MIT
* @open-wc/scoped-elements: MIT
* dialog-polyfill: BSD
* jquery: MIT
* select2: MIT
*/
import{D as e,E as t,T as n,b as r,k as i}from"./ref.DqB7ABXf.js";import{A as a,J as o,X as s,Z as c,_ as l,g as u,j as d,k as f,l as p,p as m}from"./directive-helpers.C6Xz79AM.js";var h=class extends p(f(m),r){constructor(){super(),this.open=!1,this.disabled=!1,this.label=` `,this.align=`right`,this.hideOnSelect=!0,this.options=[],this.value=``,this.buttonType=`is-secondary`,this.noWrap=!1}static properties={...super.properties,open:{type:Boolean,reflect:!0},disabled:{type:Boolean,reflect:!0},label:{type:String},align:{type:String,reflect:!0},hideOnSelect:{type:Boolean,attribute:`hide-on-select`},options:{type:Array},value:{type:String,reflect:!0},buttonType:{type:String,attribute:`button-type`},noWrap:{type:Boolean,attribute:`no-wrap`,reflect:!0}};static get scopedElements(){return{"dbp-icon":a}}setOptions(e){this.options=Array.isArray(e)?e:[]}select(e){let t=this.options.find(t=>t?.value===e);t&&(this._emitChange(t,null),this.hideOnSelect&&this.closeMenu())}openMenu(){!this.open&&!this.disabled&&(this.open=!0,this.updateComplete.then(()=>this._focusFirstItem()),this._bindOutside())}closeMenu(){this.open&&(this.open=!1,this._unbindOutside(),this._focusTrigger())}toggle=()=>this.open?this.closeMenu():this.openMenu();_focusTrigger(){this.renderRoot.querySelector(`.trigger`)?.focus()}_focusFirstItem(){this._items().find(e=>!e.hasAttribute(`disabled`))?.focus()}_items(){return Array.from(this.renderRoot.querySelectorAll(`button.item-button`)).filter(e=>e instanceof HTMLButtonElement)}_onTriggerKeydown=e=>{(e.key===`ArrowDown`||e.key===`Enter`||e.key===` `)&&(e.preventDefault(),this.openMenu())};_onMenuKeydown=e=>{let t=this._items().filter(e=>!e.hasAttribute(`disabled`)),n=this.renderRoot instanceof ShadowRoot?this.renderRoot.activeElement:document.activeElement,r=n instanceof HTMLButtonElement?t.indexOf(n):-1;e.key===`Escape`?(e.preventDefault(),this.closeMenu()):e.key===`ArrowDown`?(e.preventDefault(),t[(r+1)%t.length]?.focus()):e.key===`ArrowUp`?(e.preventDefault(),t[(r-1+t.length)%t.length]?.focus()):e.key===`Home`?(e.preventDefault(),t[0]?.focus()):e.key===`End`&&(e.preventDefault(),t[t.length-1]?.focus())};_onItemClick=e=>{let t=e.currentTarget;if(!t||t.hasAttribute(`disabled`))return;let n=t.dataset.value,r=this.options.find(e=>e?.value===n);r&&(this._emitChange(r,e),this.hideOnSelect&&this.closeMenu())};_emitChange(e,t){this.value=e.value,this.dispatchEvent(new CustomEvent(`change`,{detail:{value:e.value,option:e,originalEvent:t},bubbles:!0,composed:!0}))}_onDocPointerDown=e=>{let t=e.composedPath?.()||[];t.includes(this)||t.includes(this.renderRoot)||this.closeMenu()};_bindOutside(){document.addEventListener(`pointerdown`,this._onDocPointerDown,!0)}_unbindOutside(){document.removeEventListener(`pointerdown`,this._onDocPointerDown,!0)}static get styles(){return s`
@layer theme, components;
@layer theme {
${u()}
}
@layer components {
${l()}
}
`}render(){return o`
<div class="select-container">
<button
id="action-trigger-button"
class="trigger button ${this.buttonType} ${this.noWrap?`no-wrap`:``}"
part="trigger"
@click=${this.toggle}
@keydown=${this._onTriggerKeydown}
?disabled=${this.disabled}
aria-haspopup="menu"
aria-expanded=${String(this.open)}
aria-controls="action-dropdown">
<span class="trigger-label">${this.label}</span>
<dbp-icon
class="icon-chevron"
name="chevron-down"
aria-hidden="true"></dbp-icon>
</button>
${this.open?o`
<ul
id="action-dropdown"
class="menu"
part="menu"
role="menu"
aria-labelledby="action-trigger-button"
@keydown=${this._onMenuKeydown}>
${this.options.map(e=>o`
<li role="none">
<button
class="item-button button"
role="menuitem"
data-value=${String(e.value)}
@click=${this._onItemClick}
?disabled=${e.disabled??!1}
aria-checked=${this.value===e.value?`true`:`false`}>
${e.iconName?o`
<dbp-icon
name=${e.iconName}
aria-hidden="true"></dbp-icon>
`:null}
<span>${e.label??e.name}</span>
</button>
</li>
`)}
</ul>
`:null}
</div>
`}};function g(){return s`
/**************************\\
Modal Styles
\\**************************/
.modal-container {
grid-template-columns: 150px 1fr;
grid-template-rows: auto 1fr;
gap: 1px 1px;
grid-template-areas: 'sidebar header' 'sidebar main';
position: relative;
background-color: var(--dbp-override-background);
color: var(--dbp-override-content);
max-width: 600px;
max-height: 100vh;
min-width: 60%;
min-height: 50%;
overflow-y: auto;
box-sizing: border-box;
display: grid;
height: 70%;
width: 70%;
position: relative;
}
.modal-nav {
cursor: pointer;
overflow: hidden;
background-color: var(--dbp-background);
border-right: var(--dbp-border);
grid-area: sidebar;
}
.modal-nav > div {
padding: 5px;
text-align: center;
}
.modal-nav .nav-icon {
width: 35px;
height: 35px;
}
.modal-nav .active {
background-color: var(--dbp-content-surface);
color: var(--dbp-on-content-surface);
}
.modal-content {
padding: 30px 20px 20px 20px;
display: flex;
justify-content: center;
align-items: center;
overflow: hidden;
}
.modal-header-tag {
margin-bottom: 10px;
}
.modal-content .source-main {
height: 100%;
width: 100%;
display: flex;
align-items: flex-end;
}
.modal-content .source-main.hidden {
display: none;
}
.modal-header {
grid-area: header;
display: flex;
padding: 10px 20px 0px 20px;
flex-direction: row-reverse;
justify-content: space-between;
align-items: center;
}
/**************************\\
Tablet Portrait Styles
\\**************************/
@media only screen and (orientation: portrait) and (max-width: 768px) {
.modal-nav {
display: flex;
grid-area: nav;
border: none;
border-bottom: var(--dbp-border);
border-top: var(--dbp-border);
white-space: nowrap;
overflow-x: auto;
-webkit-overflow-scrolling: touch;
-ms-overflow-style: -ms-autohiding-scrollbar;
}
.modal-nav::-webkit-scrollbar {
display: none;
}
.modal-content {
grid-area: main;
}
.modal-container {
grid-template-rows: 40px 55px auto;
grid-template-areas: 'header' 'nav' 'main';
grid-template-columns: auto;
}
.modal-header {
grid-area: header;
padding: 5px;
}
.modal-nav > div {
flex-grow: 1;
}
.modal-nav .nav-icon {
height: 20px;
}
#custom-pagination {
position: sticky;
bottom: 0;
z-index: 10;
}
}
`}function _(){return s`
/* For some reasons the selector chevron was very large */
select:not(.select),
.dropdown-menu {
background-size: 1em;
}
`}function v(){return s`
.tag {
padding: 1px 4px;
border-radius: 2px;
text-transform: uppercase;
}
.tag.tag--mode {
background-color: #f2f2f2;
color: #121212;
white-space: nowrap;
}
.tag.tag--state {
background-color: var(--dbp-warning-surface);
color: var(--dbp-on-warning-surface);
}
`}function y(){return s`
.table-wrapper.submissions {
padding-top: 0.5rem;
}
.table-header.submissions {
margin-top: 0.5rem;
}
.btn-row-left {
display: flex;
justify-content: space-between;
gap: 4px;
}
.btn-row-left > * {
display: flex;
align-items: center;
}
.next-btn dbp-icon,
.back-btn dbp-icon {
height: 15px;
top: 3px;
}
.next-btn dbp-icon {
margin-left: 0.2em;
margin-right: -0.4em;
}
.back-btn dbp-icon {
margin-left: -0.4em;
margin-right: 0.2em;
}
.open-modal-icon {
font-size: 1.3em;
}
.content-wrapper {
display: grid;
grid-template-columns: min-content auto;
grid-template-rows: auto;
max-height: calc(100vh - 300px);
overflow-y: auto;
width: 100%;
}
.element-left {
background-color: var(--dbp-primary-surface);
color: var(--dbp-on-primary-surface);
padding: 0 20px 12px 40px;
text-align: right;
white-space: nowrap;
}
.element-left::selection {
background: var(--dbp-background);
color: var(--dbp-content);
text-shadow: none;
}
.element-left::-moz-selection {
background: red;
color: #eee;
text-shadow: none;
}
.element-right {
text-align: left;
margin-left: 12px;
padding: 0 0 12px 0;
}
.element-left.first,
.element-right.first {
padding-top: 12px;
}
.hideWithoutDisplay {
opacity: 0;
height: 0;
overflow: hidden;
}
.scrollable-table-wrapper {
width: 100%;
}
.tabulator-table {
white-space: nowrap;
}
.tabulator-footer {
text-align: center;
}
.back-navigation {
padding-top: 1rem;
}
.submissions-top-bar {
display: flex;
align-items: center;
justify-content: space-between;
gap: 1rem;
padding-top: 1rem;
flex-wrap: wrap;
}
.submissions-top-bar .back-navigation {
padding-top: 0;
}
.submissions-top-bar .submissions-spinner {
margin-left: auto;
}
.table-wrapper {
container-type: inline-size;
container-name: table-wrapper;
}
.container.submissions-table {
container: table-container / inline-size;
margin-top: 50px;
}
.table-wrapper .form-name {
margin-top: 0.5em;
margin-bottom: 1em;
}
.back-navigation dbp-icon {
font-size: 0.8em;
padding-right: 7px;
padding-bottom: 2px;
}
.back-navigation button {
border: 0;
padding: 0;
background: none;
color: inherit;
font: inherit;
}
.back-navigation:hover {
color: var(--dbp-hover-color, var(--dbp-content));
background-color: var(--dbp-hover-background-color);
}
.back-navigation:hover::before {
background-color: var(--dbp-hover-color, var(--dbp-content));
}
.dropdown-menu {
color: var(--dbp-on-secondary-surface);
border-color: var(--dbp-secondary-surface-border-color);
cursor: pointer;
box-sizing: content-box;
}
.table-title {
border-left: 3px solid var(--dbp-primary);
padding-left: 0.5em;
}
/* TABLE HEADER - action buttons and search bar */
.table-action-header {
display: grid;
grid-template-areas: 'actions search search search button export';
grid-template-columns: 115px 1fr 1fr 1fr max-content 133px;
gap: 0 1em;
position: relative;
}
.table-action-header.open {
grid-template-areas: 'actions search filter-col filter-op button export';
grid-template-columns: 115px auto auto auto max-content 133px;
gap: 0 1em;
position: relative;
}
.table-action-header select {
box-sizing: border-box;
height: 32px;
width: 100%;
text-align: left;
padding-left: 1em;
padding-block: 0;
color: var(--dbp-content);
background-color: var(--dbp-background);
}
/* actions */
.actions-container {
grid-area: actions;
position: relative;
width: 100%;
}
.actions-container dbp-select {
width: 100%;
}
.action-dropdown-state {
--dbp-select-border-color: var(--dbp-content);
--dbp-select-chevron-color: var(--dbp-content);
--dbp-select-placeholder-color: var(--dbp-content);
--dbp-select-placeholder-font-weight: var(--dbp-content);
}
/* search bar */
.search-input {
grid-area: search;
display: flex;
flex-basis: 100%;
position: relative;
}
.search-filter-columns {
grid-area: filter-col;
}
.search-filter-operator {
grid-area: filter-op;
}
.search-toggle-filters-button {
grid-area: button;
}
.search-input .search-toggle-filters-button {
display: none;
}
.searchbar,
.search-button,
.search-toggle-filters-button {
height: 32px;
box-sizing: border-box;
}
.search-toggle-filters-button {
min-width: 160px;
width: 100%;
text-align: left;
white-space: nowrap;
}
.search-toggle-filters-button .button-text {
padding-left: 4px;
}
.searchbar dbp-icon,
.search-toggle-filters-button dbp-icon {
transition: transform 250ms ease-in;
}
.search-button dbp-icon {
transition: transform 100ms ease-in;
}
.search-toggle-filters-button dbp-icon {
transform: rotate(90deg);
}
.open .search-toggle-filters-button dbp-icon {
transform: rotate(-90deg);
transform-origin: center;
}
.searchbar {
flex-grow: 1;
padding: 0 0.5em;
border: 1px solid var(--dbp-content);
}
.search-filter-columns dbp-icon,
.search-filter-operator dbp-icon {
position: absolute;
right: 9px;
top: 9px;
pointer-events: none;
}
.search-button {
border: 0 none;
position: absolute;
right: 0;
top: 0;
background-color: transparent;
}
.search-button:hover dbp-icon {
transform: scale(1.25);
}
.search-filter-columns,
.search-filter-operator {
display: none;
}
.search-filter-operator.open,
.search-filter-columns.open {
display: inline-block;
}
.table-action-header label {
clip: rect(0 0 0 0);
clip-path: inset(50%);
height: 1px;
overflow: hidden;
position: absolute;
white-space: nowrap;
width: 1px;
}
.table-action-header > :focus-visible {
background-color: light-dark(#f7f7f7, #333333);
}
.statusbar {
display: flex;
justify-content: space-between;
padding-top: 0.5em;
}
.selection-info {
padding-top: 5px;
}
.reset-search {
cursor: pointer;
background: none;
border: 0 none;
padding: 5px;
transform: translateX(5px);
}
.reset-search:disabled {
cursor: not-allowed;
}
.reset-search dbp-icon {
transition: transform 250ms ease-in;
}
.reset-search:hover:not(:disabled) dbp-icon {
transform: rotate(360deg);
}
.modal--loading-indicator {
--dbp-modal-width: 300px;
--dbp-modal-max-height: 300px;
--dbp-modal-content-overflow-y: hidden;
}
.modal--loading-indicator [slot='content'] {
text-align: center;
}
@container table-container (width < 1040px) {
.table-action-header:not(.open) {
grid-template-areas:
'actions . . . export'
'search search search search button'
'filter-col filter-col . filter-op filter-op';
grid-template-columns: 115px 1fr 1fr 118px max-content;
gap: 1em 0;
}
.table-action-header.open {
grid-template-areas:
'actions . . . export'
'search search search search button'
'filter-col filter-col filter-op filter-op filter-op';
grid-template-columns: 115px 1fr 1fr 118px max-content;
gap: 1em 0;
}
.search-input {
grid-area: search;
}
.searchbar {
border-right: 0 none;
}
.search-toggle-filters-button dbp-icon {
transform: rotate(0);
}
.open .search-toggle-filters-button dbp-icon {
transform: rotate(180deg);
transform-origin: center;
}
.search-toggle-filters-button {
grid-area: button;
}
.search-filter-columns {
grid-area: filter-col;
}
.search-filter-operator {
grid-area: filter-op;
margin-left: 1em;
}
.statusbar {
padding-top: 0;
}
.open .statusbar {
transform: translateY(35px);
}
.export-container dbp-select {
position: relative;
z-index: 10;
width: 100%;
}
}
.modal--batch-tagging {
--dbp-modal-max-width: 300px;
--dbp-fieldset-label-gap: 0.5em;
--dbp-boolean-label-gap: 0.5em;
--dbp-form-fieldset-margin: 0 0;
}
.batch-tagging-modal-content input[type='checkbox'] {
width: 24px;
height: 24px;
}
.tag-checkbox {
display: flex;
align-items: center;
gap: 0.5em;
}
.tag-checkbox label,
.tag-checkbox input[type='checkbox'] {
cursor: pointer;
}
.just-add-tags {
display: flex;
align-items: center;
gap: 0.25em;
}
.modal--batch-tagging .footer-menu {
flex-direction: column;
align-items: flex-end;
}
@container table-container (width < 530px) {
.table-action-header:not(.open) {
grid-template-areas:
'actions actions . export export'
'search search search search button'
'filter-col filter-col . filter-op filter-op';
grid-template-columns: 115px 1fr 1fr 90px 42px;
gap: 1em 0;
}
.table-action-header.open {
grid-template-areas:
'actions actions . export export'
'search search search search button'
'filter-col filter-col filter-op filter-op filter-op';
grid-template-columns: 115px 1fr 1fr 90px 42px;
gap: 1em 0;
}
.search-toggle-filters-button {
min-width: 42px;
width: 42px;
text-align: center;
}
.search-toggle-filters-button .button-text {
padding-left: 0;
position: absolute !important;
clip: rect(1px, 1px, 1px, 1px);
overflow: hidden;
height: 1px;
width: 1px;
word-wrap: normal;
}
.actions-container {
width: max-content;
}
}
/* export button */
.export-container {
grid-area: export;
position: relative;
text-align: right;
}
.export-container dbp-select {
padding: 0;
width: 100%;
}
.export-dropdown {
--dbp-select-border-color: var(--dbp-content);
--dbp-select-chevron-color: var(--dbp-content);
--dbp-select-placeholder-color: var(--dbp-content);
--dbp-select-placeholder-font-weight: var(--dbp-content);
}
/* TABLE BUTTON HEADER END */
.modal-container {
display: flex;
flex-direction: column;
justify-content: space-between;
text-align: center;
}
.submission-modal-content {
overflow: auto;
align-items: baseline;
height: 100%;
}
.modal-footer-btn {
}
.modal--confirmation {
--dbp-modal-max-width: 360px;
--dbp-modal-min-height: auto;
}
.footer-menu {
padding: 0;
justify-content: space-between;
display: flex;
gap: 1em;
margin-block: 2em 0;
}
span.first {
margin-left: -6px;
}
select[disabled] {
opacity: 0.4;
cursor: not-allowed;
}
.scrollable-table-wrapper {
position: relative;
}
.frozen-table-divider {
position: absolute;
height: calc(
100% - 118px
); /* table-header + pagination heights + scrollbar: 60px + 51px */
top: 60px; /* table-header height */
right: 36px;
-webkit-box-shadow: -4px 3px 16px -6px var(--dbp-muted);
box-shadow: -2px 0 2px 0 var(--dbp-muted);
background-color: #fff0; /* transparent */
}
.modal-close {
font-size: 1.5em;
}
.open-menu {
height: 45px;
box-sizing: border-box;
display: flex;
align-items: center;
}
.additional-menu {
display: none;
}
#filter-modal-box {
min-width: 300px;
min-height: unset;
}
.modal-footer-btn {
display: flex;
flex-direction: column;
gap: 10px;
}
.button-container {
text-align: left;
margin-bottom: 10px;
padding-left: 30px;
}
.checkmark {
left: 0;
height: 20px;
width: 20px;
}
.button-container .checkmark::after {
left: 8px;
top: 2px;
}
.button.courses-btn {
font-size: 1.2rem;
display: flex;
align-items: center;
top: 0;
}
@media only screen and (orientation: portrait) and (max-width: 768px) {
.mobile-hidden {
display: none;
}
button[data-page='prev'],
button[data-page='next'],
button[data-page='first'],
button[data-page='last'] {
display: block;
white-space: nowrap !important;
overflow: hidden;
line-height: 0;
}
button[data-page='prev']:after,
button[data-page='next']:after,
button[data-page='first']:after,
button[data-page='last']:after {
content: '\\00a0\\00a0\\00a0\\00a0';
background-color: var(--dbp-content);
-webkit-mask-repeat: no-repeat;
mask-repeat: no-repeat;
-webkit-mask-position: center center;
mask-position: center center;
padding: 0 0 0.25% 0;
-webkit-mask-size: 1.5rem !important;
mask-size: 1.4rem !important;
}
button[data-page='prev']:after {
-webkit-mask-image: url('${c(d(`chevron-left`))}');
mask-image: url('${c(d(`chevron-left`))}');
}
button[data-page='next']:after {
-webkit-mask-image: url('${c(d(`chevron-right`))}');
mask-image: url('${c(d(`chevron-right`))}');
}
button[data-page='first']:after {
content: '\\00a0\\00a0\\00a0\\00a0\\00a0\\00a0\\00a0';
-webkit-mask-image: url('${c(d(`angle-double-left`))}');
mask-image: url('${c(d(`angle-double-left`))}');
}
button[data-page='last']:after {
content: '\\00a0\\00a0\\00a0\\00a0\\00a0\\00a0\\00a0';
-webkit-mask-image: url('${c(d(`angle-double-right`))}');
mask-image: url('${c(d(`angle-double-right`))}');
}
.element-right {
margin-left: 12px;
padding: 0 0 12px 0;
}
.element-right.first {
padding-top: 0;
}
.element-left {
text-align: left;
padding: 10px 5px 10px 5px;
background-color: inherit;
color: inherit;
font-weight: 400;
border-top: 1px solid var(--dbp-muted);
}
.element-left.first {
margin-top: 10px;
border-top: 0;
}
.btn-row-left {
display: flex;
justify-content: space-between;
flex-direction: row;
gap: 4px;
height: 40px;
}
.export-buttons {
gap: 0;
}
.select-all-icon {
height: 32px;
}
.additional-menu {
display: block;
white-space: nowrap;
height: 33px;
position: relative;
}
.additional-menu button {
float: right;
}
.options-nav {
display: flex;
flex-direction: row;
justify-content: space-between;
}
.back-navigation {
padding-top: 0;
}
.submissions-top-bar {
padding-top: 0;
}
/*.table-header {
display: flex;
justify-content: space-between;
align-items: center;
}*/
.table-wrapper .form-name,
.table-action-header {
margin-bottom: 0.5em;
}
.courses-btn {
min-height: 40px;
padding-top: 8px;
min-width: 40px;
}
.search-wrapper {
min-width: unset;
}
#filter-modal-box,
.detailed-submission-modal-content {
height: 100%;
}
.content-wrapper {
grid-template-columns: auto;
}
.modal-title {
padding-left: 15px;
}
.button-container .checkmark::after {
left: 8px;
top: 2px;
width: 5px;
height: 11px;
}
.button-container .checkmark {
top: 0;
}
.button-container {
padding-left: 30px;
}
.modal-footer-btn > :first-child {
grid-template-columns: repeat(2, 1fr);
}
}
`}function b(){return s`
.form-details {
border: 1px solid var(--dbp-content);
border-top: none;
margin-top: 0;
padding: 1em;
display: flex;
flex-direction: column;
gap: 2em;
min-width: 250px;
}
.submission-info {
display: flex;
justify-content: flex-start;
flex-direction: column;
gap: 0;
}
.submission-info .label {
margin: 0 0 0.5em 0;
display: inline-block;
}
.action-buttons {
display: flex;
justify-content: flex-end;
gap: 0.5em;
}
.user-entry {
display: flex;
align-items: center;
gap: 0.5em;
}
.person-name {
width: 200px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.person-permissions {
display: flex;
gap: 0.5em;
flex-wrap: nowrap;
}
.person-permission {
display: inline-block;
padding: 0 6px;
line-height: 20px;
background-color: light-dark(#f2f2f2, #333333);
}
@container permissions (width < 380px) {
.permissions-header {
flex-direction: column-reverse;
}
}
.form-header {
display: flex;
justify-content: space-between;
flex-direction: column;
gap: 1em;
position: sticky;
z-index: 9;
right: 0;
left: 0;
background: var(--dbp-background);
padding: 1em;
border: 1px solid var(--dbp-content);
min-width: 250px;
min-height: 130px;
}
.form-header.is-pinned {
transform: translateY(calc(-100% + 64px));
top: 0;
box-shadow: 0px 4px 8px 2px rgba(0, 0, 0, 0.2);
}
.form-header .button-label {
padding-left: 0.5em;
}
.form-header.is-pinned .buttons-wrapper {
align-items: center;
}
.header-top {
display: flex;
justify-content: space-between;
}
.tag-management {
min-width: 200px;
/*max-width: 500px;*/
width: 50%;
display: flex;
justify-content: flex-end;
}
.tag-management dbp-form-enum-element {
max-width: 100%;
display: block;
flex-grow: 1;
}
.buttons-wrapper,
.dates-wrapper {
display: flex;
gap: 1em;
flex-wrap: wrap;
}
.buttons-wrapper {
align-items: flex-end;
justify-content: space-between;
}
.tag-container {
display: flex;
gap: 0.3em;
}
.status-tags-wrapper {
display: flex;
gap: 1em;
align-items: center;
}
.action-dropdown {
--dbp-select-border-color: var(--dbp-content);
--dbp-select-chevron-color: var(--dbp-content);
--dbp-select-placeholder-color: var(--dbp-content);
--dbp-select-placeholder-font-weight: var(--dbp-content);
}
.form-validity-indicator {
display: flex;
align-items: center;
gap: 0.25em;
--dbp-tooltip-box-font-weight: bold;
--dbp-tooltip-button-background-color: transparent;
--dbp-tooltip-button-border: 0 none;
}
.form-validity-indicator.valid {
--dbp-tooltip-arrow-color: var(--dbp-success-surface);
--dbp-tooltip-box-bg-color: var(--dbp-success-surface);
--dbp-tooltip-box-font-color: var(--dbp-background);
}
.form-validity-indicator.invalid {
--dbp-tooltip-arrow-color: var(--dbp-danger-surface);
--dbp-tooltip-box-bg-color: var(--dbp-danger-surface);
--dbp-tooltip-box-font-color: var(--dbp-background);
}
.form-validity-indicator dbp-icon {
font-size: 16px;
top: inherit;
}
.form-validity-indicator.valid dbp-icon {
color: var(--dbp-success);
}
.form-validity-indicator.invalid dbp-icon {
color: var(--dbp-warning);
}
.validity-indicator {
display: inline-block;
height: 1em;
width: 1em;
border-radius: 50%;
}
.validity-indicator.valid {
background-color: var(--dbp-success-surface);
}
.validity-indicator.invalid {
background-color: var(--dbp-danger-surface);
}
.form-delete-submission-button {
--dbp-secondary-surface-border-color: var(--dbp-danger);
--dbp-hover-background-color: var(--dbp-danger);
color: var(--dbp-danger);
}
.form-delete-submission-button .button-label,
.form-delete-submission-button dbp-icon {
color: var(--dbp-danger);
}
.form-delete-submission-button:hover .button-label,
.form-delete-submission-button:hover dbp-icon {
color: black;
}
.edit-permissions .button-text {
padding-left: 5px;
}
@container form (width < 750px) {
/* Make icon buttons for small screens ? */
.form-header :is(button, dbp-button) .button-label {
display: none;
}
.submission-details {
flex-direction: column;
}
}
@container form (width < 640px) {
.header-top {
flex-direction: column;
gap: 1em;
}
.tag-management {
max-width: 100%;
width: 100%;
justify-content: flex-start;
}
}
@container form (width < 420px) {
.submission-details .user-entry {
flex-direction: column;
align-items: flex-start;
}
.submission-details .person-permissions {
width: 100%;
justify-content: flex-end;
}
}
`}function x(){return s`
.formalize-form {
position: relative;
min-width: 270px;
container-type: inline-size;
container-name: form;
--dbp-label-font-weight: 600;
--dbp-label-margin-bottom: 0.5em;
}
.skip-link {
position: absolute !important;
clip: rect(1px, 1px, 1px, 1px);
overflow: hidden;
height: 1px;
width: 1px;
word-wrap: normal;
}
.skip-link:focus-visible {
position: static !important;
clip: auto;
overflow: visible;
height: auto;
width: auto;
}
`}function S(){return s`
.notification {
margin-bottom: 2em;
}
.form-title {
text-align: center;
font-size: 2em;
line-height: 1.2;
}
.form-sub-title {
text-align: center;
font-size: 1.6em;
line-height: 1.2;
}
.form-description {
padding: 1em;
border: 1px solid var(--dbp-content);
}
.section-title {
font-size: 2.4em;
font-weight: bold;
line-height: 1.2;
margin: 1.8em 0 1em;
}
.section-sub-title {
font-size: 2em;
font-weight: bold;
line-height: 1.2;
margin: 1.5em 0 0.8em;
}
.question-group-title {
font-size: 1.6em;
font-weight: bold;
line-height: 1.2;
margin: 1.2em 0 0.6em;
}
.form-description a,
[slot='description'] a,
[slot='label'] a {
text-decoration: underline;
text-underline-offset: 2px;
}
.admin-fields {
background: light-dark(#f1f1f1, #2a2a2a);
padding: 1em 2em;
}
.info-box {
/*background-color: #c9e4c6;*/
background-color: var(--dbp-success-surface);
color: var(--dbp-on-success-surface);
padding: 1.5em;
}
.info-box p:last-child,
.info-box p:first-child {
margin-top: 0;
}
.field-note {
font-size: 1em;
font-style: italic;
margin: -0.5em 0 2em;
line-height: var(--dbp-form-line-height);
}
/* boolean field view */
.dbp-form-boolean-view fieldset {
border: 0 none;
padding: 0;
margin: 15px 0;
}
.dbp-form-boolean-view label {
font-weight: bold;
display: block;
}
.red-marked-asterisk {
font-weight: bold;
color: var(--dbp-danger);
}
/* Add some space to the scroller under the form */
form > article:last-child {
margin-bottom: 8em;
}
.scroller-container {
position: sticky;
top: 90vh;
text-align: right;
pointer-events: none;
z-index: 9;
height: 0;
}
.scroller {
width: 50px;
height: 50px;
font-size: 38px;
border: var(--dbp-border);
color: var(--dbp-content);
background-color: var(--dbp-background);
transform: translateX(150%);
pointer-events: all;
cursor: pointer;
}
.lettered-list {
list-style-type: lower-alpha;
}
.lettered-list a {
text-decoration: underline;
text-underline-offset: 2px;
}
.highlighted-label-text {
font-style: italic;
}
.data-protection-wrapper {
display: flex;
flex-wrap: wrap;
gap: 1em;
}
.data-protection-wrapper [name='dataProtectionComment'],
.data-protection-wrapper [name='dataProtectionDate'],
.data-protection-wrapper [name='dataProtectionChecked'] {
width: calc(50% - 0.5em);
min-width: 250px;
}
@media only screen and (max-width: 1600px) {
.scroller {
opacity: 0.7;
transform: translateX(0);
}
.scroller:hover {
opacity: 1;
}
}
@media only screen and (max-width: 683px) {
.edit-mode .form-header.is-pinned:has(.tag-management > dbp-form-enum-element) {
transform: translateY(calc(-100% + 63px));
}
.data-protection-wrapper {
gap: 0rem;
}
.data-protection-wrapper [name='dataProtectionComment'],
.data-protection-wrapper [name='dataProtectionDate'] {
width: 100%;
}
}
@media only screen and (max-width: 450px) {
.lettered-list {
padding-left: 1em;
ol {
padding-left: 1em;
}
}
}
@media only screen and (max-width: 350px) {
.edit-mode .header-top {
gap: 0;
}
}
/* modal */
.pdf-view-modal {
--dbp-modal-width: 80vw;
--dbp-modal-min-width: 320px;
--dbp-modal-max-width: 1000px;
--dbp-modal-min-height: 35vh;
--dbp-modal-max-height: 95vh;
}
.modal--permissions {
--dbp-modal-width: 80vw;
}
.modal--confirmation {
--dbp-modal-width: 320px;
--dbp-modal-max-width: 360px;
--dbp-modal-min-height: auto;
}
.modal--confirmation .footer-menu {
padding: 0;
justify-content: flex-end;
display: flex;
gap: 1em;
margin-block: 2em 0;
}
/* utils */
.visually-hidden {
position: absolute !important;
clip: rect(1px, 1px, 1px, 1px);
overflow: hidden;
height: 1px;
width: 1px;
word-wrap: normal;
}
/* animations
:is(.button, dbp-button):not([disabled]) dbp-icon {
transition: transform 0.1s ease-in;
}
:is(.button, dbp-button):not([disabled]):hover dbp-icon {
transform: scale(1.25);
}*/
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
.fade-in {
animation: fadeIn 0.5s ease-in-out forwards;
}
`}function C(){return s`
/* PRINTING STYLES */
.print {
--dbp-form-font-size: 16px;
--dbp-form-line-height: 24px;
padding: 0 !important;
font-size: var(--dbp-form-font-size) !important;
line-height: var(--dbp-form-line-height) !important;
/* Line height debug background
background-image: linear-gradient(
to bottom,
rgba(0, 120, 255, 0.1) 0,
rgba(0, 120, 255, 0.1) 1px,
transparent 1px,
transparent var(--dbp-form-line-height)
);
background-size: 100% var(--dbp-form-line-height);
background-position: 0 0;*/
}
/* PAGE BREAKS */
.print :is(.form-sub-title, .section-title) {
page-break-before: always;
break-before: page;
}
.print fieldset {
page-break-inside: avoid;
break-inside: avoid;
}
/* Title styles */
.print
:is(
.form-title,
.form-sub-title,
.section-title,
.section-sub-title,
.question-group-title
) {
line-height: var(--dbp-form-line-height) !important;
font-size: var(--dbp-form-line-height);
margin: 0;
padding: 0 0 var(--dbp-form-line-height) 0;
text-align: center;
}
.print .section-title--top-margin {
padding-top: 50px;
padding-bottom: 50px;
}
.print .section-sub-title {
font-size: 20px; /* custom size. Need to be less than line-height */
padding: 0 0 var(--dbp-form-line-height) 0;
margin: 0;
text-align: center;
}
.print .question-group-title {
font-size: 18px; /* custom size. Need to be less than line-height */
}
/* Hidden elements in print */
.print
:is(
.form-details,
.form-header .buttons-wrapper,
button,
dbp-button,
#file-sink,
dbp-file-sink,
.submission-permissions,
.scroller-container,
.tag-management,
.article-votum-file-attachments,
.article-consent
) {
display: none !important;
height: 0;
overflow: hidden;
}
.print .form-header {
padding: 0;
min-height: initial;
border: 0 none;
}
.print .submission-info .label {
margin: 0;
}
.print .submission-info-wrapper {
margin-bottom: var(--dbp-form-line-height);
}
.print .info-box {
/*padding: calc(var(--dbp-form-line-height) / 2) var(--dbp-form-line-height);*/
padding: 0;
background-color: initial;
}
.print .field-note {
margin-top: calc(-1 * var(--dbp-form-line-height));
font-style: italic;
font-size: smaller;
}
.print p {
position: relative;
}
.print p sup {
vertical-align: baseline;
padding-left: 3px;
/* Required to not change the line-height of paragraphs */
position: absolute;
bottom: 5px;
display: inline-block;
}
.print fieldset {
border: none;
margin: 0;
padding: 0 0 var(--dbp-form-line-height) 0;
}
.print :is(p, ul, ol) {
margin: var(--dbp-form-line-height) 0;
}
.print ul li {
height: var(--dbp-form-line-height);
}
.print fieldset label {
font-weight: bold;
display: block;
}
`}function w(){return s`
.file-upload-container {
/*margin-bottom: 3em;*/
border: var(--dbp-border);
padding: 1em 1em 1.5em 1em;
display: flex;
flex-direction: column;
gap: 1em;
}
.file-upload-title-container {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 1em;
}
.attachments-title {
margin: 0;
font-size: 24px;
display: inline;
white-space: nowrap;
}
.file-upload-limit-warning {
color: var(--dbp-muted);
font-size: 0.9em;
white-space: nowrap;
}
.uploaded-files {
display: flex;
flex-direction: column;
}
.fileblock-container {
border: var(--dbp-border);
margin-bottom: 1em;
}
.fileblock-container.submitted-files {
margin-bottom: 0.75em; /*12px*/
}
.upload-button {
width: fit-content;
}
.upload-button dbp-icon {
margin-right: 0.25em;
}
.attachment-header {
display: flex;
justify-content: flex-start;
align-items: center;
gap: 1em;
padding-left: 1em;
}
.attachment-warning {
color: var(--dbp-warning);
font-weight: normal;
font-size: 0.8em;
padding-left: 0.5em;
}
.attachment-header dbp-icon {
font-size: 1.25em;
}
.attachment-header h5 {
/* align with the dbp-icon*/
margin: 1em 0;
}
.file-block {
display: flex;
justify-content: space-between;
align-items: center;
border: 1px solid #dadada;
padding: calc(0.75em - 1px); /* compensation for the border */
}
.file-block:nth-child(2n + 1) {
background-color: #dadada;
color: light-dark(var(--dbp-content), var(--dbp-background));
}
.file-info {
display: flex;
gap: 1em;
width: calc(100% - 2em);
justify-content: space-between;
padding-right: 2em;
max-width: 56%;
}
.file-name {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.file-size {
font-weight: bolder;
}
.file-action-buttons {
display: flex;
gap: 1em;
flex-wrap: nowrap;
}
.additional-data {
display: flex;
flex-wrap: nowrap;
flex-shrink: 0;
gap: 0.5em;
}
@container form (width < 840px) {
.additional-data {
display: none;
}
.file-info {
max-width: 42%;
}
}
@container form (width < 690px) {
.file-block {
align-items: flex-start;
flex-direction: column;
gap: 1em;
}
.file-info {
max-width: initial;
}
.file-action-buttons {
width: 100%;
justify-content: flex-end;
}
}
@container form (width < 430px) {
.file-block:not(:last-child) {
margin-bottom: 1em;
}
.file-action-buttons {
flex-direction: column;
align-items: initial;
gap: 0.5em;
}
}
`}function T(){return s`
.media-transparency-form {
--dbp-form-font-size: 16px;
--dbp-form-line-height: 24px;
}
.form-description {
padding: 0 1em;
border: var(--dbp-border);
}
.form-description a {
text-decoration: underline;
text-underline-offset: 2px;
transition: text-underline-offset 0.1s ease-in;
}
.form-description a:hover {
text-underline-offset: 1px;
}
.file-upload-container {
margin-top: 2em;
}
.file-upload-container dbp-translated a {
text-decoration: underline;
text-underline-offset: 3px;
transition: text-underline-offset 0.1s ease-in;
word-break: break-all;
}
.file-upload-container dbp-translated a:hover {
text-underline-offset: 1px;
}
.field-note {
font-size: 1em;
font-style: italic;
margin: -0.5em 0 2em;
line-height: var(--dbp-form-line-height);
}
.required-mark {
color: var(--dbp-danger);
}
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
.fade-in {
animation: fadeIn 0.5s ease-in-out forwards;
}
.modal--confirmation {
--dbp-modal-width: 320px;
--dbp-modal-max-width: 360px;
--dbp-modal-min-height: auto;
}
.modal--confirmation .footer-menu {
padding: 0;
justify-content: flex-end;
display: flex;
gap: 1em;
margin-block: 2em 0;
}
.after-submission-button-container.after-saving {
justify-content: flex-end;
animation: fadeIn 0.25s ease-in-out forwards;
}
code {
overflow-wrap: anywhere;
}
`}var E=/* @__PURE__ */ e({$:()=>O,default:()=>O,jQuery:()=>O});
/*!
* jQuery JavaScript Library v4.0.0
* https://jquery.com/
*
* Copyright OpenJS Foundation and other contributors
* Released under the MIT license
* https://jquery.com/license/
*
* Date: 2026-01-18T00:20Z
*/
function D(e,t){if(e===void 0||!e.document)throw Error(`jQuery requires a window with a document`);var n=[],r=Object.getPrototypeOf,i=n.slice,a=n.flat?function(e){return n.flat.call(e)}:function(e){return n.concat.apply([],e)},o=n.push,s=n.indexOf,c={},l=c.toString,u=c.hasOwnProperty,d=u.toString,f=d.call(Object),p={};function m(e){return e==null?e+``:typeof e==`object`?c[l.call(e)]||`object`:typeof e}function h(e){return e!=null&&e===e.window}function g(e){var t=!!e&&e.length,n=m(e);return typeof e==`function`||h(e)?!1:n===`array`||t===0||typeof t==`number`&&t>0&&t-1 in e}var _=e.document,v={type:!0,src:!0,nonce:!0,noModule:!0};function y(e,t,n){n||=_;var r,i=n.createElement(`script`);for(r in i.text=e,v)t&&t[r]&&(i[r]=t[r]);n.head.appendChild(i).parentNode&&i.parentNode.removeChild(i)}var b=`4.0.0`,x=/HTML$/i,S=function(e,t){return new S.fn.init(e,t)};S.fn=S.prototype={jquery:b,constructor:S,length:0,toArray:function(){return i.call(this)},get:function(e){return e==null?i.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=S.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return S.each(this,e)},map:function(e){return this.pushStack(S.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(i.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(S.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(S.grep(this,function(e,t){return t%2}))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()}},S.extend=S.fn.extend=function(){var e,t,n,r,i,a,o=arguments[0]||{},s=1,c=arguments.length,l=!1;for(typeof o==`boolean`&&(l=o,o=arguments[s]||{},s++),typeof o!=`object`&&typeof o!=`function`&&(o={}),s===c&&(o=this,s--);s<c;s++)if((e=arguments[s])!=null)for(t in e)r=e[t],t!==`__proto__`&&o!==r&&(l&&r&&(S.isPlainObject(r)||(i=Array.isArray(r)))?(n=o[t],a=i&&!Array.isArray(n)?[]:!i&&!S.isPlainObject(n)?{}:n,i=!1,o[t]=S.extend(l,a,r)):r!==void 0&&(o[t]=r));return o},S.extend({expando:`jQuery`+(b+Math.random()).replace(/\D/g,``),isReady:!0,error:function(e){throw Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!e||l.call(e)!==`[object Object]`?!1:(t=r(e),!t||(n=u.call(t,`constructor`)&&t.constructor,typeof n==`function`&&d.call(n)===f))},isEmptyObject:function(e){for(var t in e)return!1;return!0},globalEval:function(e,t,n){y(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,r=0;if(g(e))for(n=e.length;r<n&&t.call(e[r],r,e[r])!==!1;r++);else for(r in e)if(t.call(e[r],r,e[r])===!1)break;return e},text:function(e){var t,n=``,r=0,i=e.nodeType;if(!i)for(;t=e[r++];)n+=S.text(t);return i===1||i===11?e.textContent:i===9?e.documentElement.textContent:i===3||i===4?e.nodeValue:n},makeArray:function(e,t){var n=t||[];return e!=null&&(g(Object(e))?S.merge(n,typeof e==`string`?[e]:e):o.call(n,e)),n},inArray:function(e,t,n){return t==null?-1:s.call(t,e,n)},isXMLDoc:function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!x.test(t||n&&n.nodeName||`HTML`)},contains:function(e,t){var n=t&&t.parentNode;return e===n||!!(n&&n.nodeType===1&&(e.contains?e.contains(n):e.compareDocumentPosition&&e.compareDocumentPosition(n)&16))},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r,i=[],a=0,o=e.length,s=!n;a<o;a++)r=!t(e[a],a),r!==s&&i.push(e[a]);return i},map:function(e,t,n){var r,i,o=0,s=[];if(g(e))for(r=e.length;o<r;o++)i=t(e[o],o,n),i!=null&&s.push(i);else for(o in e)i=t(e[o],o,n),i!=null&&s.push(i);return a(s)},guid:1,support:p}),typeof Symbol==`function`&&(S.fn[Symbol.iterator]=n[Symbol.iterator]),S.each(`Boolean Number String Function Array Date RegExp Object Error Symbol`.split(` `),function(e,t){c[`[object `+t+`]`]=t.toLowerCase()});function C(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var w=n.pop,T=`[\\x20\\t\\r\\n\\f]`,E=_.documentMode,D=E&&RegExp(`:enabled|:disabled|\\[`+T+`*name`+T+`*=`+T+`*(?:''|"")`),O=RegExp(`^`+T+`+|((?:^|[^\\\\])(?:\\\\.)*)`+T+`+$`,`g`),k=`(?:\\\\[\\da-fA-F]{1,6}`+T+`?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+`,A=RegExp(`^`+T+`*([>+~]|`+T+`)`+T+`*`),j=RegExp(T+`|>`),ee=/[+~]/,M=_.documentElement,te=M.matches||M.msMatchesSelector;function ne(){var e=[];function t(n,r){return e.push(n+` `)>S.expr.cacheLength&&delete t[e.shift()],t[n+` `]=r}return t}function re(e){return e&&e.getElementsByTagName!==void 0&&e}var ie=`\\[`+T+`*(`+k+`)(?:`+T+`*([*^$|!~]?=)`+T+`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(`+k+`))|)`+T+`*\\]`,ae=`:(`+k+`)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|`+ie+`)*)|.*)\\)|)`,oe={ID:RegExp(`^#(`+k+`)`),CLASS:RegExp(`^\\.(`+k+`)`),TAG:RegExp(`^(`+k+`|[*])`),ATTR:RegExp(`^`+ie),PSEUDO:RegExp(`^`+ae),CHILD:RegExp(`^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(`+T+`*(even|odd|(([+-]|)(\\d*)n|)`+T+`*(?:([+-]|)`+T+`*(\\d+)|))`+T+`*\\)|)`,`i`)},se=new RegExp(ae),ce=RegExp(`\\\\[\\da-fA-F]{1,6}`+T+`?|\\\\([^\\r\\n\\f])`,`g`),le=function(e,t){var n=`0x`+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,n&1023|56320))};function N(e){return e.replace(ce,le)}function ue(e){S.error(`Syntax error, unrecognized expression: `+e)}var de=RegExp(`^`+T+`*,`+T+`*`),fe=ne();function pe(e,t){var n,r,i,a,o,s,c,l=fe[e+` `];if(l)return t?0:l.slice(0);for(o=e,s=[],c=S.expr.preFilter;o;){for(a in(!n||(r=de.exec(o)))&&(r&&(o=o.slice(r[0].length)||o),s.push(i=[])),n=!1,(r=A.exec(o))&&(n=r.shift(),i.push({value:n,type:r[0].replace(O,` `)}),o=o.slice(n.length)),oe)(r=S.expr.match[a].exec(o))&&(!c[a]||(r=c[a](r)))&&(n=r.shift(),i.push({value:n,type:a,matches:r}),o=o.slice(n.length));if(!n)break}return t?o.length:o?ue(e):fe(e,s).slice(0)}var me={ATTR:function(e){return e[1]=N(e[1]),e[3]=N(e[3]||e[4]||e[5]||``),e[2]===`~=`&&(e[3]=` `+e[3]+` `),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),e[1].slice(0,3)===`nth`?(e[3]||ue(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*(e[3]===`even`||e[3]===`odd`)),e[5]=+(e[7]+e[8]||e[3]===`odd`)):e[3]&&ue(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return oe.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||``:n&&se.test(n)&&(t=pe(n,!0))&&(t=n.indexOf(`)`,n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}};function he(e){for(var t=0,n=e.length,r=``;t<n;t++)r+=e[t].value;return r}function P(e,t,n,r,i,a,o){var s=0,c=e.length,l=n==null;if(m(n)===`object`)for(s in i=!0,n)P(e,t,s,n[s],!0,a,o);else if(r!==void 0&&(i=!0,typeof r!=`function`&&(o=!0),l&&(o?(t.call(e,r),t=null):(l=t,t=function(e,t,n){return l.call(S(e),n)})),t))for(;s<c;s++)t(e[s],n,o?r:r.call(e[s],s,t(e[s],n)));return i?e:l?t.call(e):c?t(e[0],n):a}var F=/[^\x20\t\r\n\f]+/g;S.fn.extend({attr:function(e,t){return P(this,S.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){S.removeAttr(this,e)})}}),S.extend({attr:function(e,t,n){var r,i,a=e.nodeType;if(a!==3&&a!==8&&a!==2){if(e.getAttribute===void 0)return S.prop(e,t,n);if((a!==1||!S.isXMLDoc(e))&&(i=S.attrHooks[t.toLowerCase()]),n!==void 0){if(n===null||n===!1&&t.toLowerCase().indexOf(`aria-`)!==0){S.removeAttr(e,t);return}return i&&`set`in i&&(r=i.set(e,n,t))!==void 0?r:(e.setAttribute(t,n),n)}return i&&`get`in i&&(r=i.get(e,t))!==null?r:(r=e.getAttribute(t),r??void 0)}},attrHooks:{},removeAttr:function(e,t){var n,r=0,i=t&&t.match(F);if(i&&e.nodeType===1)for(;n=i[r++];)e.removeAttribute(n)}}),E&&(S.attrHooks.type={set:function(e,t){if(t===`radio`&&C(e,`input`)){var n=e.value;return e.setAttribute(`type`,t),n&&(e.value=n),t}}});var ge=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function _e(e,t){return t?e===`\0`?`�`:e.slice(0,-1)+`\\`+e.charCodeAt(e.length-1).toString(16)+` `:`\\`+e}S.escapeSelector=function(e){return(e+``).replace(ge,_e)};var ve=n.sort,ye=n.splice,be;function xe(e,t){if(e===t)return be=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1,n&1?e==_||e.ownerDocument==_&&S.contains(_,e)?-1:t==_||t.ownerDocument==_&&S.contains(_,t)?1:0:n&4?-1:1)}S.uniqueSort=function(e){var t,n=[],r=0,i=0;if(be=!1,ve.call(e,xe),be){for(;t=e[i++];)t===e[i]&&(r=n.push(i));for(;r--;)ye.call(e,n[r],1)}return e},S.fn.uniqueSort=function(){return this.pushStack(S.uniqueSort(i.apply(this)))};var Se,Ce,I,we,L,R=0,Te=0,Ee=ne(),De=ne(),Oe=ne(),ke=RegExp(T+`+`,`g`),Ae=RegExp(`^`+k+`$`),je=S.extend({needsContext:RegExp(`^`+T+`*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(`+T+`*((?:-\\d)?\\d*)`+T+`*\\)|)(?=[^-]|$)`,`i`)},oe),Me=/^(?:input|select|textarea|button)$/i,Ne=/^h\d$/i,Pe=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Fe=function(){H()},Ie=Ve(function(e){return e.disabled===!0&&C(e,`fieldset`)},{dir:`parentNode`,next:`legend`});function z(e,t,n,r){var i,a,s,c,l,u,d,f=t&&t.ownerDocument,p=t?t.nodeType:9;if(n||=[],typeof e!=`string`||!e||p!==1&&p!==9&&p!==11)return n;if(!r&&(H(t),t||=I,L)){if(p!==11&&(l=Pe.exec(e))){if(i=l[1]){if(p===9)return(s=t.getElementById(i))&&o.call(n,s),n;if(f&&(s=f.getElementById(i))&&S.contains(t,s))return o.call(n,s),n}else if(l[2])return o.apply(n,t.getElementsByTagName(e)),n;else if((i=l[3])&&t.getElementsByClassName)return o.apply(n,t.getElementsByClassName(i)),n}if(!Oe[e+` `]&&(!D||!D.test(e))){if(d=e,f=t,p===1&&(j.test(e)||A.test(e))){for(f=ee.test(e)&&re(t.parentNode)||t,(f!=t||E)&&((c=t.getAttribute(`id`))?c=S.escapeSelector(c):t.setAttribute(`id`,c=S.expando)),u=pe(e),a=u.length;a--;)u[a]=(c?`#`+c:`:scope`)+` `+he(u[a]);d=u.join(`,`)}try{return o.apply(n,f.querySelectorAll(d)),n}catch{Oe(e,!0)}finally{c===S.expando&&t.removeAttribute(`id`)}}}return Ye(e.replace(O,`$1`),t,n,r)}function B(e){return e[S.expando]=!0,e}function Le(e){return function(t){return C(t,`input`)&&t.type===e}}function Re(e){return function(t){return(C(t,`input`)||C(t,`button`))&&t.type===e}}function ze(e){return function(t){return`form`in t?t.parentNode&&t.disabled===!1?`label`in t?`label`in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&Ie(t)===e:t.disabled===e:`label`in t&&t.disabled===e}}function V(e){return B(function(t){return t=+t,B(function(n,r){for(var i,a=e([],n.length,t),o=a.length;o--;)n[i=a[o]]&&(n[i]=!(r[i]=n[i]))})})}function H(e){var t,n=e?e.ownerDocument||e:_;n!=I&&n.nodeType===9&&(I=n,we=I.documentElement,L=!S.isXMLDoc(I),E&&_!=I&&(t=I.defaultView)&&t.top!==t&&t.addEventListener(`unload`,Fe))}for(Se in z.matches=function(e,t){return z(e,null,null,t)},z.matchesSelector=function(e,t){if(H(e),L&&!Oe[t+` `]&&(!D||!D.test(t)))try{return te.call(e,t)}catch{Oe(t,!0)}return z(t,I,null,[e]).length>0},S.expr={cacheLength:50,createPseudo:B,match:je,find:{ID:function(e,t){if(t.getElementById!==void 0&&L){var n=t.getElementById(e);return n?[n]:[]}},TAG:function(e,t){return t.getElementsByTagName===void 0?t.querySelectorAll(e):t.getElementsByTagName(e)},CLASS:function(e,t){if(t.getElementsByClassName!==void 0&&L)return t.getElementsByClassName(e)}},relative:{">":{dir:`parentNode`,first:!0}," ":{dir:`parentNode`},"+":{dir:`previousSibling`,first:!0},"~":{dir:`previousSibling`}},preFilter:me,filter:{ID:function(e){var t=N(e);return function(e){return e.getAttribute(`id`)===t}},TAG:function(e){var t=N(e).toLowerCase();return e===`*`?function(){return!0}:function(e){return C(e,t)}},CLASS:function(e){var t=Ee[e+` `];return t||(t=RegExp(`(^|`+T+`)`+e+`(`+T+`|$)`))&&Ee(e,function(e){return t.test(typeof e.className==`string`&&e.className||e.getAttribute!==void 0&&e.getAttribute(`class`)||``)})},ATTR:function(e,t,n){return function(r){var i=S.attr(r,e);return i==null?t===`!=`:!t||(i+=``,t===`=`?i===n:t===`!=`?i!==n:t===`^=`?n&&i.indexOf(n)===0:t===`*=`?n&&i.indexOf(n)>-1:t===`$=`?n&&i.slice(-n.length)===n:t===`~=`?(` `+i.replace(ke,` `)+` `).indexOf(n)>-1:t===`|=`?i===n||i.slice(0,n.length+1)===n+`-`:!1)}},CHILD:function(e,t,n,r,i){var a=e.slice(0,3)!==`nth`,o=e.slice(-4)!==`last`,s=t===`of-type`;return r===1&&i===0?function(e){return!!e.parentNode}:function(t,n,c){var l,u,d,f,p,m=a===o?`previousSibling`:`nextSibling`,h=t.parentNode,g=s&&t.nodeName.toLowerCase(),_=!c&&!s,v=!1;if(h){if(a){for(;m;){for(d=t;d=d[m];)if(s?C(d,g):d.nodeType===1)return!1;p=m=e===`only`&&!p&&`nextSibling`}return!0}if(p=[o?h.firstChild:h.lastChild],o&&_){for(u=h[S.expando]||(h[S.expando]={}),l=u[e]||[],f=l[0]===R&&l[1],v=f&&l[2],d=f&&h.childNodes[f];d=++f&&d&&d[m]||(v=f=0)||p.pop();)if(d.nodeType===1&&++v&&d===t){u[e]=[R,f,v];break}}else if(_&&(u=t[S.expando]||(t[S.expando]={}),l=u[e]||[],f=l[0]===R&&l[1],v=f),v===!1)for(;(d=++f&&d&&d[m]||(v=f=0)||p.pop())&&!((s?C(d,g):d.nodeType===1)&&++v&&(_&&(u=d[S.expando]||(d[S.expando]={}),u[e]=[R,v]),d===t)););return v-=i,v===r||v%r===0&&v/r>=0}}},PSEUDO:function(e,t){var n=S.expr.pseudos[e]||S.expr.setFilters[e.toLowerCase()]||ue(`unsupported pseudo: `+e);return n[S.expando]?n(t):n}},pseudos:{not:B(function(e){var t=[],n=[],r=Je(e.replace(O,`$1`));return r[S.expando]?B(function(e,t,n,i){for(var a,o=r(e,null,i,[]),s=e.length;s--;)(a=o[s])&&(e[s]=!(t[s]=a))}):function(e,i,a){return t[0]=e,r(t,null,a,n),t[0]=null,!n.pop()}}),has:B(function(e){return function(t){return z(e,t).length>0}}),contains:B(function(e){return e=N(e),function(t){return(t.textContent||S.text(t)).indexOf(e)>-1}}),lang:B(function(e){return Ae.test(e||``)||ue(`unsupported lang: `+e),e=N(e).toLowerCase(),function(t){var n;do if(n=L?t.lang:t.getAttribute(`xml:lang`)||t.getAttribute(`lang`))return n=n.toLowerCase(),n===e||n.indexOf(e+`-`)===0;while((t=t.parentNode)&&t.nodeType===1);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===we},focus:function(e){return e===I.activeElement&&I.hasFocus()&&!!(e.type||e.href||~e.tabIndex)},enabled:ze(!1),disabled:ze(!0),checked:function(e){return C(e,`input`)&&!!e.checked||C(e,`option`)&&!!e.selected},selected:function(e){return E&&e.parentNode&&e.parentNode.selectedIndex,e.selected===!0},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!S.expr.pseudos.empty(e)},header:function(e){return Ne.test(e.nodeName)},input:function(e){return Me.test(e.nodeName)},button:function(e){return C(e,`input`)&&e.type===`button`||C(e,`button`)},text:function(e){return C(e,`input`)&&e.type===`text`},first:V(function(){return[0]}),last:V(function(e,t){return[t-1]}),eq:V(function(e,t,n){return[n<0?n+t:n]}),even:V(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:V(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:V(function(e,t,n){for(var r=n<0?n+t:n>t?t:n;--r>=0;)e.push(r);return e}),gt:V(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}},S.expr.pseudos.nth=S.expr.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})S.expr.pseudos[Se]=Le(Se);for(Se in{submit:!0,reset:!0})S.expr.pseudos[Se]=Re(Se);function Be(){}Be.prototype=S.expr.pseudos,S.expr.setFilters=new Be;function Ve(e,t,n){var r=t.dir,i=t.next,a=i||r,o=n&&a===`parentNode`,s=Te++;return t.first?function(t,n,i){for(;t=t[r];)if(t.nodeType===1||o)return e(t,n,i);return!1}:function(t,n,c){var l,u,d=[R,s];if(c){for(;t=t[r];)if((t.nodeType===1||o)&&e(t,n,c))return!0}else for(;t=t[r];)if(t.nodeType===1||o){if(u=t[S.expando]||(t[S.expando]={}),i&&C(t,i))t=t[r]||t;else if((l=u[a])&&l[0]===R&&l[1]===s)return d[2]=l[2];else if(u[a]=d,d[2]=e(t,n,c))return!0}return!1}}function He(e){return e.length>1?function(t,n,r){for(var i=e.length;i--;)if(!e[i](t,n,r))return!1;return!0}:e[0]}function Ue(e,t,n){for(var r=0,i=t.length;r<i;r++)z(e,t[r],n);return n}function We(e,t,n,r,i){for(var a,o=[],s=0,c=e.length,l=t!=null;s<c;s++)(a=e[s])&&(!n||n(a,r,i))&&(o.push(a),l&&t.push(s));return o}function Ge(e,t,n,r,i,a){return r&&!r[S.expando]&&(r=Ge(r)),i&&!i[S.expando]&&(i=Ge(i,a)),B(function(a,c,l,u){var d,f,p,m,h=[],g=[],_=c.length,v=a||Ue(t||`*`,l.nodeType?[l]:l,[]),y=e&&(a||!t)?We(v,h,e,l,u):v;if(n?(m=i||(a?e:_||r)?[]:c,n(y,m,l,u)):m=y,r)for(d=We(m,g),r(d,[],l,u),f=d.length;f--;)(p=d[f])&&(m[g[f]]=!(y[g[f]]=p));if(a){if(i||e){if(i){for(d=[],f=m.length;f--;)(p=m[f])&&d.push(y[f]=p);i(null,m=[],d,u)}for(f=m.length;f--;)(p=m[f])&&(d=i?s.call(a,p):h[f])>-1&&(a[d]=!(c[d]=p))}}else m=We(m===c?m.splice(_,m.length):m),i?i(null,c,m,u):o.apply(c,m)})}function Ke(e){for(var t,n,r,i=e.length,a=S.expr.relative[e[0].type],o=a||S.expr.relative[` `],c=+!!a,l=Ve(function(e){return e===t},o,!0),u=Ve(function(e){return s.call(t,e)>-1},o,!0),d=[function(e,n,r){var i=!a&&(r||n!=Ce)||((t=n).nodeType?l(e,n,r):u(e,n,r));return t=null,i}];c<i;c++)if(n=S.expr.relative[e[c].type])d=[Ve(He(d),n)];else{if(n=S.expr.filter[e[c].type].apply(null,e[c].matches),n[S.expando]){for(r=++c;r<i&&!S.expr.relative[e[r].type];r++);return Ge(c>1&&He(d),c>1&&he(e.slice(0,c-1).concat({value:e[c-2].type===` `?`*`:``})).replace(O,`$1`),n,c<r&&Ke(e.slice(c,r)),r<i&&Ke(e=e.slice(r)),r<i&&he(e))}d.push(n)}return He(d)}function qe(e,t){var n=t.length>0,r=e.length>0,i=function(i,a,s,c,l){var u,d,f,p=0,m=`0`,h=i&&[],g=[],_=Ce,v=i||r&&S.expr.find.TAG(`*`,l),y=R+=_==null?1:Math.random()||.1;for(l&&(Ce=a==I||a||l);(u=v[m])!=null;m++){if(r&&u){for(d=0,!a&&u.ownerDocument!=I&&(H(u),s=!L);f=e[d++];)if(f(u,a||I,s)){o.call(c,u);break}l&&(R=y)}n&&((u=!f&&u)&&p--,i&&h.push(u))}if(p+=m,n&&m!==p){for(d=0;f=t[d++];)f(h,g,a,s);if(i){if(p>0)for(;m--;)h[m]||g[m]||(g[m]=w.call(c));g=We(g)}o.apply(c,g),l&&!i&&g.length>0&&p+t.length>1&&S.uniqueSort(c)}return l&&(R=y,Ce=_),h};return n?B(i):i}function Je(e,t){var n,r=[],i=[],a=De[e+` `];if(!a){for(t||=pe(e),n=t.length;n--;)a=Ke(t[n]),a[S.expando]?r.push(a):i.push(a);a=De(e,qe(i,r)),a.selector=e}return a}function Ye(e,t,n,r){var i,a,s,c,l,u=typeof e==`function`&&e,d=!r&&pe(e=u.selector||e);if(n||=[],d.length===1){if(a=d[0]=d[0].slice(0),a.length>2&&(s=a[0]).type===`ID`&&t.nodeType===9&&L&&S.expr.relative[a[1].type]){if(t=(S.expr.find.ID(N(s.matches[0]),t)||[])[0],t)u&&(t=t.parentNode);else return n;e=e.slice(a.shift().value.length)}for(i=je.needsContext.test(e)?0:a.length;i--&&(s=a[i],!S.expr.relative[c=s.type]);)if((l=S.expr.find[c])&&(r=l(N(s.matches[0]),ee.test(a[0].type)&&re(t.parentNode)||t))){if(a.splice(i,1),e=r.length&&he(a),!e)return o.apply(n,r),n;break}}return(u||Je(e,d))(r,t,!L,n,!t||ee.test(e)&&re(t.parentNode)||t),n}H(),S.find=z,z.compile=Je,z.select=Ye,z.setDocument=H,z.tokenize=pe;function Xe(e,t,n){for(var r=[],i=n!==void 0;(e=e[t])&&e.nodeType!==9;)if(e.nodeType===1){if(i&&S(e).is(n))break;r.push(e)}return r}function Ze(e,t){for(var n=[];e;e=e.nextSibling)e.nodeType===1&&e!==t&&n.push(e);return n}var Qe=S.expr.match.needsContext,$e=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function et(e){return e[0]===`<`&&e[e.length-1]===`>`&&e.length>=3}function tt(e,t,n){return typeof t==`function`?S.grep(e,function(e,r){return!!t.call(e,r,e)!==n}):t.nodeType?S.grep(e,function(e){return e===t!==n}):typeof t==`string`?S.filter(t,e,n):S.grep(e,function(e){return s.call(t,e)>-1!==n})}S.filter=function(e,t,n){var r=t[0];return n&&(e=`:not(`+e+`)`),t.length===1&&r.nodeType===1?S.find.matchesSelector(r,e)?[r]:[]:S.find.matches(e,S.grep(t,function(e){return e.nodeType===1}))},S.fn.extend({find:function(e){var t,n,r=this.length,i=this;if(typeof e!=`string`)return this.pushStack(S(e).filter(function(){for(t=0;t<r;t++)if(S.contains(i[t],this))return!0}));for(n=this.pushStack([]),t=0;t<r;t++)S.find(e,i[t],n);return r>1?S.uniqueSort(n):n},filter:function(e){return this.pushStack(tt(this,e||[],!1))},not:function(e){return this.pushStack(tt(this,e||[],!0))},is:function(e){return!!tt(this,typeof e==`string`&&Qe.test(e)?S(e):e||[],!1).length}});var nt,rt=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,it=S.fn.init=function(e,t){var n,r;if(!e)return this;if(e.nodeType)return this[0]=e,this.length=1,this;if(typeof e==`function`)return nt.ready===void 0?e(S):nt.ready(e);if(n=e+``,et(n))n=[null,e,null];else if(typeof e==`string`)n=rt.exec(e);else return S.makeArray(e,this);if(n&&(n[1]||!t)){if(n[1]){if(t=t instanceof S?t[0]:t,S.merge(this,S.parseHTML(n[1],t&&t.nodeType?t.ownerDocument||t:_,!0)),$e.test(n[1])&&S.isPlainObject(t))for(n in t)typeof this[n]==`function`?this[n](t[n]):this.attr(n,t[n]);return this}return r=_.getElementById(n[2]),r&&(this[0]=r,this.length=1),this}return!t||t.jquery?(t||nt).find(e):this.constructor(t).find(e)};it.prototype=S.fn,nt=S(_);var at=/^(?:parents|prev(?:Until|All))/,ot={children:!0,contents:!0,next:!0,prev:!0};S.fn.extend({has:function(e){var t=S(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(S.contains(this,t[e]))return!0})},closest:function(e,t){var n,r=0,i=this.length,a=[],o=typeof e!=`string`&&S(e);if(!Qe.test(e)){for(;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(o?o.index(n)>-1:n.nodeType===1&&S.find.matchesSelector(n,e))){a.push(n);break}}return this.pushStack(a.length>1?S.uniqueSort(a):a)},index:function(e){return e?typeof e==`string`?s.call(S(e),this[0]):s.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(S.uniqueSort(S.merge(this.get(),S(e,t))))},addBack:function(e){return this.add(e==null?this.prevObject:this.prevObject.filter(e))}});function st(e,t){for(;(e=e[t])&&e.nodeType!==1;);return e}S.each({parent:function(e){var t=e.parentNode;return t&&t.nodeType!==11?t:null},parents:function(e){return Xe(e,`parentNode`)},parentsUntil:function(e,t,n){return Xe(e,`parentNode`,n)},next:function(e){return st(e,`nextSibling`)},prev:function(e){return st(e,`previousSibling`)},nextAll:function(e){return Xe(e,`nextSibling`)},prevAll:function(e){return Xe(e,`previousSibling`)},nextUntil:function(e,t,n){return Xe(e,`nextSibling`,n)},prevUntil:function(e,t,n){return Xe(e,`previousSibling`,n)},siblings:function(e){return Ze((e.parentNode||{}).firstChild,e)},children:function(e){return Ze(e.firstChild)},contents:function(e){return e.contentDocument!=null&&r(e.contentDocument)?e.contentDocument:(C(e,`template`)&&(e=e.content||e),S.merge([],e.childNodes))}},function(e,t){S.fn[e]=function(n,r){var i=S.map(this,t,n);return e.slice(-5)!==`Until`&&(r=n),r&&typeof r==`string`&&(i=S.filter(r,i)),this.length>1&&(ot[e]||S.uniqueSort(i),at.test(e)&&i.reverse()),this.pushStack(i)}});function ct(e){var t={};return S.each(e.match(F)||[],function(e,n){t[n]=!0}),t}S.Callbacks=function(e){e=typeof e==`string`?ct(e):S.extend({},e);var t,n,r,i,a=[],o=[],s=-1,c=function(){for(i||=e.once,r=t=!0;o.length;s=-1)for(n=o.shift();++s<a.length;)a[s].apply(n[0],n[1])===!1&&e.stopOnFalse&&(s=a.length,n=!1);e.memory||(n=!1),t=!1,i&&(a=n?[]:``)},l={add:function(){return a&&(n&&!t&&(s=a.length-1,o.push(n)),(function t(n){S.each(n,function(n,r){typeof r==`function`?(!e.unique||!l.has(r))&&a.push(r):r&&r.length&&m(r)!==`string`&&t(r)})})(arguments),n&&!t&&c()),this},remove:function(){return S.each(arguments,function(e,t){for(var n;(n=S.inArray(t,a,n))>-1;)a.splice(n,1),n<=s&&s--}),this},has:function(e){return e?S.inArray(e,a)>-1:a.length>0},empty:function(){return a&&=[],this},disable:function(){return i=o=[],a=n=``,this},disabled:function(){return!a},lock:function(){return i=o=[],!n&&!t&&(a=n=``),this},locked:function(){return!!i},fireWith:function(e,n){return i||(n||=[],n=[e,n.slice?n.slice():n],o.push(n),t||c()),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!r}};return l};function lt(e){return e}function ut(e){throw e}function dt(e,t,n,r){var i;try{e&&typeof(i=e.promise)==`function`?i.call(e).done(t).fail(n):e&&typeof(i=e.then)==`function`?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n(e)}}S.extend({Deferred:function(t){var n=[[`notify`,`progress`,S.Callbacks(`memory`),S.Callbacks(`memory`),2],[`resolve`,`done`,S.Callbacks(`once memory`),S.Callbacks(`once memory`),0,`resolved`],[`reject`,`fail`,S.Callbacks(`once memory`),S.Callbacks(`once memory`),1,`rejected`]],r=`pending`,i={state:function(){return r},always:function(){return a.done(arguments).fail(arguments),this},catch:function(e){return i.then(null,e)},pipe:function(){var e=arguments;return S.Deferred(function(t){S.each(n,function(n,r){var i=typeof e[r[4]]==`function`&&e[r[4]];a[r[1]](function(){var e=i&&i.apply(this,arguments);e&&typeof e.promise==`function`?e.promise().progress(t.notify).done(t.resolve).fail(t.reject):t[r[0]+`With`](this,i?[e]:arguments)})}),e=null}).promise()},then:function(t,r,i){var a=0;function o(t,n,r,i){return function(){var s=this,c=arguments,l=function(){var e,l;if(!(t<a)){if(e=r.apply(s,c),e===n.promise())throw TypeError(`Thenable self-resolution`);l=e&&(typeof e==`object`||typeof e==`function`)&&e.then,typeof l==`function`?i?l.call(e,o(a,n,lt,i),o(a,n,ut,i)):(a++,l.call(e,o(a,n,lt,i),o(a,n,ut,i),o(a,n,lt,n.notifyWith))):(r!==lt&&(s=void 0,c=[e]),(i||n.resolveWith)(s,c))}},u=i?l:function(){try{l()}catch(e){S.Deferred.exceptionHook&&S.Deferred.exceptionHook(e,u.error),t+1>=a&&(r!==ut&&(s=void 0,c=[e]),n.rejectWith(s,c))}};t?u():(S.Deferred.getErrorHook&&(u.error=S.Deferred.getErrorHook()),e.setTimeout(u))}}return S.Deferred(function(e){n[0][3].add(o(0,e,typeof i==`function`?i:lt,e.notifyWith)),n[1][3].add(o(0,e,typeof t==`function`?t:lt)),n[2][3].add(o(0,e,typeof r==`function`?r:ut))}).promise()},promise:function(e){return e==null?i:S.extend(e,i)}},a={};return S.each(n,function(e,t){var o=t[2],s=t[5];i[t[1]]=o.add,s&&o.add(function(){r=s},n[3-e][2].disable,n[3-e][3].disable,n[0][2].lock,n[0][3].lock),o.add(t[3].fire),a[t[0]]=function(){return a[t[0]+`With`](this===a?void 0:this,arguments),this},a[t[0]+`With`]=o.fireWith}),i.promise(a),t&&t.call(a,a),a},when:function(e){var t=arguments.length,n=t,r=Array(n),a=i.call(arguments),o=S.Deferred(),s=function(e){return function(n){r[e]=this,a[e]=arguments.length>1?i.call(arguments):n,--t||o.resolveWith(r,a)}};if(t<=1&&(dt(e,o.done(s(n)).resolve,o.reject,!t),o.state()===`pending`||typeof(a[n]&&a[n].then)==`function`))return o.then();for(;n--;)dt(a[n],s(n),o.reject);return o.promise()}});var ft=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;S.Deferred.exceptionHook=function(t,n){t&&ft.test(t.name)&&e.console.warn(`jQuery.Deferred exception`,t,n)},S.readyException=function(t){e.setTimeout(function(){throw t})};var pt=S.Deferred();S.fn.ready=function(e){return pt.then(e).catch(function(e){S.readyException(e)}),this},S.extend({isReady:!1,readyWait:1,ready:function(e){(e===!0?--S.readyWait:S.isReady)||(S.isReady=!0,!(e!==!0&&--S.readyWait>0)&&pt.resolveWith(_,[S]))}}),S.ready.then=pt.then;function mt(){_.removeEventListener(`DOMContentLoaded`,mt),e.removeEventListener(`load`,mt),S.ready()}_.readyState===`loading`?(_.addEventListener(`DOMContentLoaded`,mt),e.addEventListener(`load`,mt)):e.setTimeout(S.ready);var ht=/-([a-z])/g;function gt(e,t){return t.toUpperCase()}function U(e){return e.replace(ht,gt)}function _t(e){return e.nodeType===1||e.nodeType===9||!+e.nodeType}function vt(){this.expando=S.expando+vt.uid++}vt.uid=1,vt.prototype={cache:function(e){var t=e[this.expando];return t||(t=Object.create(null),_t(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,i=this.cache(e);if(typeof t==`string`)i[U(t)]=n;else for(r in t)i[U(r)]=t[r];return n},get:function(e,t){return t===void 0?this.cache(e):e[this.expando]&&e[this.expando][U(t)]},access:function(e,t,n){return t===void 0||t&&typeof t==`string`&&n===void 0?this.get(e,t):(this.set(e,t,n),n===void 0?t:n)},remove:function(e,t){var n,r=e[this.expando];if(r!==void 0){if(t!==void 0)for(Array.isArray(t)?t=t.map(U):(t=U(t),t=(t in r)?[t]:t.match(F)||[]),n=t.length;n--;)delete r[t[n]];(t===void 0||S.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return t!==void 0&&!S.isEmptyObject(t)}};var W=new vt,G=new vt,yt=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,bt=/[A-Z]/g;function xt(e){return e===`true`?!0:e===`false`?!1:e===`null`?null:e===+e+``?+e:yt.test(e)?JSON.parse(e):e}function St(e,t,n){var r;if(n===void 0&&e.nodeType===1){if(r=`data-`+t.replace(bt,`-$&`).toLowerCase(),n=e.getAttribute(r),typeof n==`string`){try{n=xt(n)}catch{}G.set(e,t,n)}else n=void 0}return n}S.extend({hasData:function(e){return G.hasData(e)||W.hasData(e)},data:function(e,t,n){return G.access(e,t,n)},removeData:function(e,t){G.remove(e,t)},_data:function(e,t,n){return W.access(e,t,n)},_removeData:function(e,t){W.remove(e,t)}}),S.fn.extend({data:function(e,t){var n,r,i,a=this[0],o=a&&a.attributes;if(e===void 0){if(this.length&&(i=G.get(a),a.nodeType===1&&!W.get(a,`hasDataAttrs`))){for(n=o.length;n--;)o[n]&&(r=o[n].name,r.indexOf(`data-`)===0&&(r=U(r.slice(5)),St(a,r,i[r])));W.set(a,`hasDataAttrs`,!0)}return i}return typeof e==`object`?this.each(function(){G.set(this,e)}):P(this,function(t){var n;if(a&&t===void 0)return n=G.get(a,e),n!==void 0||(n=St(a,e),n!==void 0)?n:void 0;this.each(function(){G.set(this,e,t)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){G.remove(this,e)})}}),S.extend({queue:function(e,t,n){var r;if(e)return t=(t||`fx`)+`queue`,r=W.get(e,t),n&&(!r||Array.isArray(n)?r=W.set(e,t,S.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t||=`fx`;var n=S.queue(e,t),r=n.length,i=n.shift(),a=S._queueHooks(e,t);i===`inprogress`&&(i=n.shift(),r--),i&&(t===`fx`&&n.unshift(`inprogress`),delete a.stop,i.call(e,function(){S.dequeue(e,t)},a)),!r&&a&&a.empty.fire()},_queueHooks:function(e,t){var n=t+`queueHooks`;return W.get(e,n)||W.set(e,n,{empty:S.Callbacks(`once memory`).add(function(){W.remove(e,[t+`queue`,n])})})}}),S.fn.extend({queue:function(e,t){var n=2;return typeof e!=`string`&&(t=e,e=`fx`,n--),arguments.length<n?S.queue(this[0],e):t===void 0?this:this.each(function(){var n=S.queue(this,e,t);S._queueHooks(this,e),e===`fx`&&n[0]!==`inprogress`&&S.dequeue(this,e)})},dequeue:function(e){return this.each(function(){S.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||`fx`,[])},promise:function(e,t){var n,r=1,i=S.Deferred(),a=this,o=this.length,s=function(){--r||i.resolveWith(a,[a])};for(typeof e!=`string`&&(t=e,e=void 0),e||=`fx`;o--;)n=W.get(a[o],e+`queueHooks`),n&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t)}});var Ct=`[+-]?(?:\\d*\\.|)\\d+(?:[eE][+-]?\\d+|)`,wt=RegExp(`^(?:([+-])=|)(`+Ct+`)([a-z%]*)$`,`i`),K=[`Top`,`Right`,`Bottom`,`Left`];function Tt(e,t){return e=t||e,e.style.display===`none`||e.style.display===``&&S.css(e,`display`)===`none`}var Et=/^[a-z]/,Dt=/^(?:Border(?:Top|Right|Bottom|Left)?(?:Width|)|(?:Margin|Padding)?(?:Top|Right|Bottom|Left)?|(?:Min|Max)?(?:Width|Height))$/;function Ot(e){return Et.test(e)&&Dt.test(e[0].toUpperCase()+e.slice(1))}function kt(e,t,n,r){var i,a,o=20,s=r?function(){return r.cur()}:function(){return S.css(e,t,``)},c=s(),l=n&&n[3]||(Ot(t)?`px`:``),u=e.nodeType&&(!Ot(t)||l!==`px`&&+c)&&wt.exec(S.css(e,t));if(u&&u[3]!==l){for(c/=2,l||=u[3],u=+c||1;o--;)S.style(e,t,u+l),(1-a)*(1-(a=s()/c||.5))<=0&&(o=0),u/=a;u*=2,S.style(e,t,u+l),n||=[]}return n&&(u=+u||+c||0,i=n[1]?u+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=u,r.end=i)),i}var At=/^-ms-/;function jt(e){return U(e.replace(At,`ms-`))}var Mt={};function Nt(e){var t,n=e.ownerDocument,r=e.nodeName,i=Mt[r];return i||(t=n.body.appendChild(n.createElement(r)),i=S.css(t,`display`),t.parentNode.removeChild(t),i===`none`&&(i=`block`),Mt[r]=i,i)}function Pt(e,t){for(var n,r,i=[],a=0,o=e.length;a<o;a++)r=e[a],r.style&&(n=r.style.display,t?(n===`none`&&(i[a]=W.get(r,`display`)||null,i[a]||(r.style.display=``)),r.style.display===``&&Tt(r)&&(i[a]=Nt(r))):n!==`none`&&(i[a]=`none`,W.set(r,`display`,n)));for(a=0;a<o;a++)i[a]!=null&&(e[a].style.display=i[a]);return e}S.fn.extend({show:function(){return Pt(this,!0)},hide:function(){return Pt(this)},toggle:function(e){return typeof e==`boolean`?e?this.show():this.hide():this.each(function(){Tt(this)?S(this).show():S(this).hide()})}});var Ft=function(e){return S.contains(e.ownerDocument,e)||e.getRootNode(It)===e.ownerDocument},It={composed:!0};M.getRootNode||(Ft=function(e){return S.contains(e.ownerDocument,e)});var Lt=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,q={thead:[`table`],col:[`colgroup`,`table`],tr:[`tbody`,`table`],td:[`tr`,`tbody`,`table`]};q.tbody=q.tfoot=q.colgroup=q.caption=q.thead,q.th=q.td;function J(e,t){var r=e.getElementsByTagName===void 0?e.querySelectorAll===void 0?[]:e.querySelectorAll(t||`*`):n.slice.call(e.getElementsByTagName(t||`*`));return t===void 0||t&&C(e,t)?S.merge([e],r):r}var Rt=/^$|^module$|\/(?:java|ecma)script/i;function zt(e,t){for(var n=0,r=e.length;n<r;n++)W.set(e[n],`globalEval`,!t||W.get(t[n],`globalEval`))}var Bt=/<|&#?\w+;/;function Vt(e,t,r,i,a){for(var o,s,c,l,u,d,f=t.createDocumentFragment(),p=[],h=0,_=e.length;h<_;h++)if(o=e[h],o||o===0){if(m(o)===`object`&&(o.nodeType||g(o)))S.merge(p,o.nodeType?[o]:o);else if(!Bt.test(o))p.push(t.createTextNode(o));else{for(s||=f.appendChild(t.createElement(`div`)),c=(Lt.exec(o)||[``,``])[1].toLowerCase(),l=q[c]||n,d=l.length;--d>-1;)s=s.appendChild(t.createElement(l[d]));s.innerHTML=S.htmlPrefilter(o),S.merge(p,s.childNodes),s=f.firstChild,s.textContent=``}}for(f.textContent=``,h=0;o=p[h++];){if(i&&S.inArray(o,i)>-1){a&&a.push(o);continue}if(u=Ft(o),s=J(f.appendChild(o),`script`),u&&zt(s),r)for(d=0;o=s[d++];)Rt.test(o.type||``)&&r.push(o)}return f}function Ht(e){return e.type=(e.getAttribute(`type`)!==null)+`/`+e.type,e}function Ut(e){return(e.type||``).slice(0,5)===`true/`?e.type=e.type.slice(5):e.removeAttribute(`type`),e}function Wt(e,t,n,r){t=a(t);var i,o,s,c,l,u,d=0,f=e.length,p=f-1,m=t[0];if(typeof m==`function`)return e.each(function(i){var a=e.eq(i);t[0]=m.call(this,i,a.html()),Wt(a,t,n,r)});if(f&&(i=Vt(t,e[0].ownerDocument,!1,e,r),o=i.firstChild,i.childNodes.length===1&&(i=o),o||r)){for(s=S.map(J(i,`script`),Ht),c=s.length;d<f;d++)l=i,d!==p&&(l=S.clone(l,!0,!0),c&&S.merge(s,J(l,`script`))),n.call(e[d],l,d);if(c)for(u=s[s.length-1].ownerDocument,S.map(s,Ut),d=0;d<c;d++)l=s[d],Rt.test(l.type||``)&&!W.get(l,`globalEval`)&&S.contains(u,l)&&(l.src&&(l.type||``).toLowerCase()!==`module`?S._evalUrl&&!l.noModule&&S._evalUrl(l.src,{nonce:l.nonce,crossOrigin:l.crossOrigin},u):y(l.textContent,l,u))}return e}var Gt=/^(?:checkbox|radio)$/i,Kt=/^([^.]*)(?:\.(.+)|)/;function qt(){return!0}function Jt(){return!1}function Yt(e,t,n,r,i,a){var o,s;if(typeof t==`object`){for(s in typeof n!=`string`&&(r||=n,n=void 0),t)Yt(e,s,n,r,t[s],a);return e}if(r==null&&i==null?(i=n,r=n=void 0):i??(typeof n==`string`?(i=r,r=void 0):(i=r,r=n,n=void 0)),i===!1)i=Jt;else if(!i)return e;return a===1&&(o=i,i=function(e){return S().off(e),o.apply(this,arguments)},i.guid=o.guid||(o.guid=S.guid++)),e.each(function(){S.event.add(this,t,i,r,n)})}S.event={add:function(e,t,n,r,i){var a,o,s,c,l,u,d,f,p,m,h,g=W.get(e);if(_t(e))for(n.handler&&(a=n,n=a.handler,i=a.selector),i&&S.find.matchesSelector(M,i),n.guid||(n.guid=S.guid++),(c=g.events)||(c=g.events=Object.create(null)),(o=g.handle)||(o=g.handle=function(t){return S!==void 0&&S.event.triggered!==t.type?S.event.dispatch.apply(e,arguments):void 0}),t=(t||``).match(F)||[``],l=t.length;l--;)s=Kt.exec(t[l])||[],p=h=s[1],m=(s[2]||``).split(`.`).sort(),p&&(d=S.event.special[p]||{},p=(i?d.delegateType:d.bindType)||p,d=S.event.special[p]||{},u=S.extend({type:p,origType:h,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&S.expr.match.needsContext.test(i),namespace:m.join(`.`)},a),(f=c[p])||(f=c[p]=[],f.delegateCount=0,(!d.setup||d.setup.call(e,r,m,o)===!1)&&e.addEventListener&&e.addEventListener(p,o)),d.add&&(d.add.call(e,u),u.handler.guid||(u.handler.guid=n.guid)),i?f.splice(f.delegateCount++,0,u):f.push(u))},remove:function(e,t,n,r,i){var a,o,s,c,l,u,d,f,p,m,h,g=W.hasData(e)&&W.get(e);if(g&&(c=g.events)){for(t=(t||``).match(F)||[``],l=t.length;l--;){if(s=Kt.exec(t[l])||[],p=h=s[1],m=(s[2]||``).split(`.`).sort(),!p){for(p in c)S.event.remove(e,p+t[l],n,r,!0);continue}for(d=S.event.special[p]||{},p=(r?d.delegateType:d.bindType)||p,f=c[p]||[],s=s[2]&&RegExp(`(^|\\.)`+m.join(`\\.(?:.*\\.|)`)+`(\\.|$)`),o=a=f.length;a--;)u=f[a],(i||h===u.origType)&&(!n||n.guid===u.guid)&&(!s||s.test(u.namespace))&&(!r||r===u.selector||r===`**`&&u.selector)&&(f.splice(a,1),u.selector&&f.delegateCount--,d.remove&&d.remove.call(e,u));o&&!f.length&&((!d.teardown||d.teardown.call(e,m,g.handle)===!1)&&S.removeEvent(e,p,g.handle),delete c[p])}S.isEmptyObject(c)&&W.remove(e,`handle events`)}},dispatch:function(e){var t,n,r,i,a,o,s=Array(arguments.length),c=S.event.fix(e),l=(W.get(this,`events`)||Object.create(null))[c.type]||[],u=S.event.special[c.type]||{};for(s[0]=c,t=1;t<arguments.length;t++)s[t]=arguments[t];if(c.delegateTarget=this,!(u.preDispatch&&u.preDispatch.call(this,c)===!1)){for(o=S.event.handlers.call(this,c,l),t=0;(i=o[t++])&&!c.isPropagationStopped();)for(c.currentTarget=i.elem,n=0;(a=i.handlers[n++])&&!c.isImmediatePropagationStopped();)(!c.rnamespace||a.namespace===!1||c.rnamespace.test(a.namespace))&&(c.handleObj=a,c.data=a.data,r=((S.event.special[a.origType]||{}).handle||a.handler).apply(i.elem,s),r!==void 0&&(c.result=r)===!1&&(c.preventDefault(),c.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,c),c.result}},handlers:function(e,t){var n,r,i,a,o,s=[],c=t.delegateCount,l=e.target;if(c&&!(e.type===`click`&&e.button>=1)){for(;l!==this;l=l.parentNode||this)if(l.nodeType===1&&(e.type!==`click`||l.disabled!==!0)){for(a=[],o={},n=0;n<c;n++)r=t[n],i=r.selector+` `,o[i]===void 0&&(o[i]=r.needsContext?S(i,this).index(l)>-1:S.find(i,this,null,[l]).length),o[i]&&a.push(r);a.length&&s.push({elem:l,handlers:a})}}return l=this,c<t.length&&s.push({elem:l,handlers:t.slice(c)}),s},addProp:function(e,t){Object.defineProperty(S.Event.prototype,e,{enumerable:!0,configurable:!0,get:typeof t==`function`?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[S.expando]?e:new S.Event(e)},special:S.extend(Object.create(null),{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return Gt.test(t.type)&&t.click&&C(t,`input`)&&Xt(t,`click`,!0),!1},trigger:function(e){var t=this||e;return Gt.test(t.type)&&t.click&&C(t,`input`)&&Xt(t,`click`),!0},_default:function(e){var t=e.target;return Gt.test(t.type)&&t.click&&C(t,`input`)&&W.get(t,`click`)||C(t,`a`)}},beforeunload:{postDispatch:function(e){e.result!==void 0&&e.preventDefault()}}})};function Xt(e,t,n){if(!n){W.get(e,t)===void 0&&S.event.add(e,t,qt);return}W.set(e,t,!1),S.event.add(e,t,{namespace:!1,handler:function(e){var n,r=W.get(this,t);if(e.isTrigger&1&&this[t]){if(r.length)(S.event.special[t]||{}).delegateType&&e.stopPropagation();else if(r=i.call(arguments),W.set(this,t,r),this[t](),n=W.get(this,t),W.set(this,t,!1),r!==n)return e.stopImmediatePropagation(),e.preventDefault(),n&&n.value}else r.length&&(W.set(this,t,{value:S.event.trigger(r[0],r.slice(1),this)}),e.stopPropagation(),e.isImmediatePropagationStopped=qt)}})}S.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},S.Event=function(e,t){if(!(this instanceof S.Event))return new S.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented?qt:Jt,this.target=e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&S.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[S.expando]=!0},S.Event.prototype={constructor:S.Event,isDefaultPrevented:Jt,isPropagationStopped:Jt,isImmediatePropagationStopped:Jt,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=qt,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=qt,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=qt,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},S.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},S.event.addProp),S.each({focus:`focusin`,blur:`focusout`},function(e,t){function n(e){var t=S.event.fix(e);t.type=e.type===`focusin`?`focus`:`blur`,t.isSimulated=!0,t.target===t.currentTarget&&W.get(this,`handle`)(t)}S.event.special[e]={setup:function(){if(Xt(this,e,!0),E)this.addEventListener(t,n);else return!1},trigger:function(){return Xt(this,e),!0},teardown:function(){if(E)this.removeEventListener(t,n);else return!1},_default:function(t){return W.get(t.target,e)},delegateType:t}}),S.each({mouseenter:`mouseover`,mouseleave:`mouseout`,pointerenter:`pointerover`,pointerleave:`pointerout`},function(e,t){S.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,a=e.handleObj;return(!i||i!==r&&!S.contains(r,i))&&(e.type=a.origType,n=a.handler.apply(this,arguments),e.type=t),n}}}),S.fn.extend({on:function(e,t,n,r){return Yt(this,e,t,n,r)},one:function(e,t,n,r){return Yt(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,S(e.delegateTarget).off(r.namespace?r.origType+`.`+r.namespace:r.origType,r.selector,r.handler),this;if(typeof e==`object`){for(i in e)this.off(i,t,e[i]);return this}return(t===!1||typeof t==`function`)&&(n=t,t=void 0),n===!1&&(n=Jt),this.each(function(){S.event.remove(this,e,n,t)})}});var Zt=/<script|<style|<link/i;function Qt(e,t){return C(e,`table`)&&C(t.nodeType===11?t.firstChild:t,`tr`)&&S(e).children(`tbody`)[0]||e}function $t(e,t){var n,r,i,a=W.get(e,`events`);if(t.nodeType===1){if(a)for(n in W.remove(t,`handle events`),a)for(r=0,i=a[n].length;r<i;r++)S.event.add(t,n,a[n][r]);G.hasData(e)&&G.set(t,S.extend({},G.get(e)))}}function en(e,t,n){for(var r,i=t?S.filter(t,e):e,a=0;(r=i[a])!=null;a++)!n&&r.nodeType===1&&S.cleanData(J(r)),r.parentNode&&(n&&Ft(r)&&zt(J(r,`script`)),r.parentNode.removeChild(r));return e}S.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,i,a,o,s=e.cloneNode(!0),c=Ft(e);if(E&&(e.nodeType===1||e.nodeType===11)&&!S.isXMLDoc(e))for(o=J(s),a=J(e),r=0,i=a.length;r<i;r++)C(o[r],`textarea`)&&(o[r].defaultValue=a[r].defaultValue);if(t){if(n)for(a||=J(e),o||=J(s),r=0,i=a.length;r<i;r++)$t(a[r],o[r]);else $t(e,s)}return o=J(s,`script`),o.length>0&&zt(o,!c&&J(e,`script`)),s},cleanData:function(e){for(var t,n,r,i=S.event.special,a=0;(n=e[a])!==void 0;a++)if(_t(n)){if(t=n[W.expando]){if(t.events)for(r in t.events)i[r]?S.event.remove(n,r):S.removeEvent(n,r,t.handle);n[W.expando]=void 0}n[G.expando]&&(n[G.expando]=void 0)}}}),S.fn.extend({detach:function(e){return en(this,e,!0)},remove:function(e){return en(this,e)},text:function(e){return P(this,function(e){return e===void 0?S.text(this):this.empty().each(function(){(this.nodeType===1||this.nodeType===11||this.nodeType===9)&&(this.textContent=e)})},null,e,arguments.length)},append:function(){return Wt(this,arguments,function(e){(this.nodeType===1||this.nodeType===11||this.nodeType===9)&&Qt(this,e).appendChild(e)})},prepend:function(){return Wt(this,arguments,function(e){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var t=Qt(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return Wt(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return Wt(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;(e=this[t])!=null;t++)e.nodeType===1&&(S.cleanData(J(e,!1)),e.textContent=``);return this},clone:function(e,t){return e??=!1,t??=e,this.map(function(){return S.clone(this,e,t)})},html:function(e){return P(this,function(e){var t=this[0]||{},n=0,r=this.length;if(e===void 0&&t.nodeType===1)return t.innerHTML;if(typeof e==`string`&&!Zt.test(e)&&!q[(Lt.exec(e)||[``,``])[1].toLowerCase()]){e=S.htmlPrefilter(e);try{for(;n<r;n++)t=this[n]||{},t.nodeType===1&&(S.cleanData(J(t,!1)),t.innerHTML=e);t=0}catch{}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return Wt(this,arguments,function(t){var n=this.parentNode;S.inArray(this,e)<0&&(S.cleanData(J(this)),n&&n.replaceChild(t,this))},e)}}),S.each({appendTo:`append`,prependTo:`prepend`,insertBefore:`before`,insertAfter:`after`,replaceAll:`replaceWith`},function(e,t){S.fn[e]=function(e){for(var n,r=[],i=S(e),a=i.length-1,s=0;s<=a;s++)n=s===a?this:this.clone(!0),S(i[s])[t](n),o.apply(r,n);return this.pushStack(r)}});var tn=RegExp(`^(`+Ct+`)(?!px)[a-z%]+$`,`i`),nn=/^--/;function rn(t){var n=t.ownerDocument.defaultView;return n||=e,n.getComputedStyle(t)}function an(e,t,n){var r,i,a={};for(i in t)a[i]=e.style[i],e.style[i]=t[i];for(i in r=n.call(e),t)e.style[i]=a[i];return r}function on(e,t,n){var r,i=nn.test(t);return n||=rn(e),n&&(r=n.getPropertyValue(t)||n[t],i&&r&&(r=r.replace(O,`$1`)||void 0),r===``&&!Ft(e)&&(r=S.style(e,t))),r===void 0?r:r+``}var sn=[`Webkit`,`Moz`,`ms`],cn=_.createElement(`div`).style;function ln(e){for(var t=e[0].toUpperCase()+e.slice(1),n=sn.length;n--;)if(e=sn[n]+t,e in cn)return e}function un(e){return e in cn?e:ln(e)||e}var dn,fn,Y=_.createElement(`table`);function pn(){if(Y&&Y.style){var t,n=_.createElement(`col`),r=_.createElement(`tr`),i=_.createElement(`td`);if(Y.style.cssText=`position:absolute;left:-11111px;border-collapse:separate;border-spacing:0`,r.style.cssText=`box-sizing:content-box;border:1px solid;height:1px`,i.style.cssText=`height:9px;width:9px;padding:0`,n.span=2,M.appendChild(Y).appendChild(n).parentNode.appendChild(r).appendChild(i).parentNode.appendChild(i.cloneNode(!0)),Y.offsetWidth===0){M.removeChild(Y);return}t=e.getComputedStyle(r),fn=E||Math.round(parseFloat(e.getComputedStyle(n).width))===18,dn=Math.round(parseFloat(t.height)+parseFloat(t.borderTopWidth)+parseFloat(t.borderBottomWidth))===r.offsetHeight,M.removeChild(Y),Y=null}}S.extend(p,{reliableTrDimensions:function(){return pn(),dn},reliableColDimensions:function(){return pn(),fn}});var mn={position:`absolute`,visibility:`hidden`,display:`block`},hn={letterSpacing:`0`,fontWeight:`400`};function gn(e,t,n){var r=wt.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||`px`):t}function _n(e,t,n,r,i,a){var o=+(t===`width`),s=0,c=0,l=0;if(n===(r?`border`:`content`))return 0;for(;o<4;o+=2)n===`margin`&&(l+=S.css(e,n+K[o],!0,i)),r?(n===`content`&&(c-=S.css(e,`padding`+K[o],!0,i)),n!==`margin`&&(c-=S.css(e,`border`+K[o]+`Width`,!0,i))):(c+=S.css(e,`padding`+K[o],!0,i),n===`padding`?s+=S.css(e,`border`+K[o]+`Width`,!0,i):c+=S.css(e,`border`+K[o]+`Width`,!0,i));return!r&&a>=0&&(c+=Math.max(0,Math.ceil(e[`offset`+t[0].toUpperCase()+t.slice(1)]-a-c-s-.5))||0),c+l}function vn(e,t,n){var r=rn(e),i=(E||n)&&S.css(e,`boxSizing`,!1,r)===`border-box`,a=i,o=on(e,t,r),s=`offset`+t[0].toUpperCase()+t.slice(1);if(tn.test(o)){if(!n)return o;o=`auto`}return(o===`auto`||E&&i||!p.reliableColDimensions()&&C(e,`col`)||!p.reliableTrDimensions()&&C(e,`tr`))&&e.getClientRects().length&&(i=S.css(e,`boxSizing`,!1,r)===`border-box`,a=s in e,a&&(o=e[s])),o=parseFloat(o)||0,o+_n(e,t,n||(i?`border`:`content`),a,r,o)+`px`}S.extend({cssHooks:{},style:function(e,t,n,r){if(e&&e.nodeType!==3&&e.nodeType!==8&&e.style){var i,a,o,s=jt(t),c=nn.test(t),l=e.style;if(c||(t=un(s)),o=S.cssHooks[t]||S.cssHooks[s],n!==void 0){if(a=typeof n,a===`string`&&(i=wt.exec(n))&&i[1]&&(n=kt(e,t,i),a=`number`),n==null||n!==n)return;a===`number`&&(n+=i&&i[3]||(Ot(s)?`px`:``)),E&&n===``&&t.indexOf(`background`)===0&&(l[t]=`inherit`),(!o||!(`set`in o)||(n=o.set(e,n,r))!==void 0)&&(c?l.setProperty(t,n):l[t]=n)}else return o&&`get`in o&&(i=o.get(e,!1,r))!==void 0?i:l[t]}},css:function(e,t,n,r){var i,a,o,s=jt(t);return nn.test(t)||(t=un(s)),o=S.cssHooks[t]||S.cssHooks[s],o&&`get`in o&&(i=o.get(e,!0,n)),i===void 0&&(i=on(e,t,r)),i===`normal`&&t in hn&&(i=hn[t]),n===``||n?(a=parseFloat(i),n===!0||isFinite(a)?a||0:i):i}}),S.each([`height`,`width`],function(e,t){S.cssHooks[t]={get:function(e,n,r){if(n)return S.css(e,`display`)===`none`?an(e,mn,function(){return vn(e,t,r)}):vn(e,t,r)},set:function(e,n,r){var i,a=rn(e),o=r&&S.css(e,`boxSizing`,!1,a)===`border-box`,s=r?_n(e,t,r,o,a):0;return s&&(i=wt.exec(n))&&(i[3]||`px`)!==`px`&&(e.style[t]=n,n=S.css(e,t)),gn(e,n,s)}}}),S.each({margin:``,padding:``,border:`Width`},function(e,t){S.cssHooks[e+t]={expand:function(n){for(var r=0,i={},a=typeof n==`string`?n.split(` `):[n];r<4;r++)i[e+K[r]+t]=a[r]||a[r-2]||a[0];return i}},e!==`margin`&&(S.cssHooks[e+t].set=gn)}),S.fn.extend({css:function(e,t){return P(this,function(e,t,n){var r,i,a={},o=0;if(Array.isArray(t)){for(r=rn(e),i=t.length;o<i;o++)a[t[o]]=S.css(e,t[o],!1,r);return a}return n===void 0?S.css(e,t):S.style(e,t,n)},e,t,arguments.length>1)}});function X(e,t,n,r,i){return new X.prototype.init(e,t,n,r,i)}S.Tween=X,X.prototype={constructor:X,init:function(e,t,n,r,i,a){this.elem=e,this.prop=n,this.easing=i||S.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=a||(Ot(n)?`px`:``)},cur:function(){var e=X.propHooks[this.prop];return e&&e.get?e.get(this):X.propHooks._default.get(this)},run:function(e){var t,n=X.propHooks[this.prop];return this.pos=t=this.options.duration?S.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):X.propHooks._default.set(this),this}},X.prototype.init.prototype=X.prototype,X.propHooks={_default:{get:function(e){var t;return e.elem.nodeType!==1||e.elem[e.prop]!=null&&e.elem.style[e.prop]==null?e.elem[e.prop]:(t=S.css(e.elem,e.prop,``),!t||t===`auto`?0:t)},set:function(e){S.fx.step[e.prop]?S.fx.step[e.prop](e):e.elem.nodeType===1&&(S.cssHooks[e.prop]||e.elem.style[un(e.prop)]!=null)?S.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}},S.easing={linear:function(e){return e},swing:function(e){return .5-Math.cos(e*Math.PI)/2},_default:`swing`},S.fx=X.prototype.init,S.fx.step={};var yn,bn,xn=/^(?:toggle|show|hide)$/,Sn=/queueHooks$/;function Cn(){bn&&(_.hidden===!1&&e.requestAnimationFrame?e.requestAnimationFrame(Cn):e.setTimeout(Cn,13),S.fx.tick())}function wn(){return e.setTimeout(function(){yn=void 0}),yn=Date.now()}function Tn(e,t){var n,r=0,i={height:e};for(t=+!!t;r<4;r+=2-t)n=K[r],i[`margin`+n]=i[`padding`+n]=e;return t&&(i.opacity=i.width=e),i}function En(e,t,n){for(var r,i=(Z.tweeners[t]||[]).concat(Z.tweeners[`*`]),a=0,o=i.length;a<o;a++)if(r=i[a].call(n,t,e))return r}function Dn(e,t,n){var r,i,a,o,s,c,l,u,d=`width`in t||`height`in t,f=this,p={},m=e.style,h=e.nodeType&&Tt(e),g=W.get(e,`fxshow`);for(r in n.queue||(o=S._queueHooks(e,`fx`),o.unqueued??(o.unqueued=0,s=o.empty.fire,o.empty.fire=function(){o.unqueued||s()}),o.unqueued++,f.always(function(){f.always(function(){o.unqueued--,S.queue(e,`fx`).length||o.empty.fire()})})),t)if(i=t[r],xn.test(i)){if(delete t[r],a||=i===`toggle`,i===(h?`hide`:`show`)){if(i===`show`&&g&&g[r]!==void 0)h=!0;else continue}p[r]=g&&g[r]||S.style(e,r)}if(c=!S.isEmptyObject(t),c||!S.isEmptyObject(p))for(r in d&&e.nodeType===1&&(n.overflow=[m.overflow,m.overflowX,m.overflowY],l=g&&g.display,l??=W.get(e,`display`),u=S.css(e,`display`),u===`none`&&(l?u=l:(Pt([e],!0),l=e.style.display||l,u=S.css(e,`display`),Pt([e]))),(u===`inline`||u===`inline-block`&&l!=null)&&S.css(e,`float`)===`none`&&(c||(f.done(function(){m.display=l}),l??=(u=m.display,u===`none`?``:u)),m.display=`inline-block`)),n.overflow&&(m.overflow=`hidden`,f.always(function(){m.overflow=n.overflow[0],m.overflowX=n.overflow[1],m.overflowY=n.overflow[2]})),c=!1,p)c||(g?`hidden`in g&&(h=g.hidden):g=W.set(e,`fxshow`,{display:l}),a&&(g.hidden=!h),h&&Pt([e],!0),f.done(function(){for(r in h||Pt([e]),W.remove(e,`fxshow`),p)S.style(e,r,p[r])})),c=En(h?g[r]:0,r,f),r in g||(g[r]=c.start,h&&(c.end=c.start,c.start=0))}function On(e,t){var n,r,i,a,o;for(n in e)if(r=jt(n),i=t[r],a=e[n],Array.isArray(a)&&(i=a[1],a=e[n]=a[0]),n!==r&&(e[r]=a,delete e[n]),o=S.cssHooks[r],o&&`expand`in o)for(n in a=o.expand(a),delete e[r],a)n in e||(e[n]=a[n],t[n]=i);else t[r]=i}function Z(e,t,n){var r,i,a=0,o=Z.prefilters.length,s=S.Deferred().always(function(){delete c.elem}),c=function(){if(i)return!1;for(var t=yn||wn(),n=Math.max(0,l.startTime+l.duration-t),r=1-(n/l.duration||0),a=0,o=l.tweens.length;a<o;a++)l.tweens[a].run(r);return s.notifyWith(e,[l,r,n]),r<1&&o?n:(o||s.notifyWith(e,[l,1,0]),s.resolveWith(e,[l]),!1)},l=s.promise({elem:e,props:S.extend({},t),opts:S.extend(!0,{specialEasing:{},easing:S.easing._default},n),originalProperties:t,originalOptions:n,startTime:yn||wn(),duration:n.duration,tweens:[],createTween:function(t,n){var r=S.Tween(e,l.opts,t,n,l.opts.specialEasing[t]||l.opts.easing);return l.tweens.push(r),r},stop:function(t){var n=0,r=t?l.tweens.length:0;if(i)return this;for(i=!0;n<r;n++)l.tweens[n].run(1);return t?(s.notifyWith(e,[l,1,0]),s.resolveWith(e,[l,t])):s.rejectWith(e,[l,t]),this}}),u=l.props;for(On(u,l.opts.specialEasing);a<o;a++)if(r=Z.prefilters[a].call(l,e,u,l.opts),r)return typeof r.stop==`function`&&(S._queueHooks(l.elem,l.opts.queue).stop=r.stop.bind(r)),r;return S.map(u,En,l),typeof l.opts.start==`function`&&l.opts.start.call(e,l),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always),S.fx.timer(S.extend(c,{elem:e,anim:l,queue:l.opts.queue})),l}S.Animation=S.extend(Z,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return kt(n.elem,e,wt.exec(t),n),n}]},tweener:function(e,t){typeof e==`function`?(t=e,e=[`*`]):e=e.match(F);for(var n,r=0,i=e.length;r<i;r++)n=e[r],Z.tweeners[n]=Z.tweeners[n]||[],Z.tweeners[n].unshift(t)},prefilters:[Dn],prefilter:function(e,t){t?Z.prefilters.unshift(e):Z.prefilters.push(e)}}),S.speed=function(e,t,n){var r=e&&typeof e==`object`?S.extend({},e):{complete:n||t||typeof e==`function`&&e,duration:e,easing:n&&t||t&&typeof t!=`function`&&t};return S.fx.off?r.duration=0:typeof r.duration!=`number`&&(r.duration=r.duration in S.fx.speeds?S.fx.speeds[r.duration]:S.fx.speeds._default),(r.queue==null||r.queue===!0)&&(r.queue=`fx`),r.old=r.complete,r.complete=function(){typeof r.old==`function`&&r.old.call(this),r.queue&&S.dequeue(this,r.queue)},r},S.fn.extend({fadeTo:function(e,t,n,r){return this.filter(Tt).css(`opacity`,0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=S.isEmptyObject(e),a=S.speed(t,n,r),o=function(){var t=Z(this,S.extend({},e),a);(i||W.get(this,`finish`))&&t.stop(!0)};return o.finish=o,i||a.queue===!1?this.each(o):this.queue(a.queue,o)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return typeof e!=`string`&&(n=t,t=e,e=void 0),t&&this.queue(e||`fx`,[]),this.each(function(){var t=!0,i=e!=null&&e+`queueHooks`,a=S.timers,o=W.get(this);if(i)o[i]&&o[i].stop&&r(o[i]);else for(i in o)o[i]&&o[i].stop&&Sn.test(i)&&r(o[i]);for(i=a.length;i--;)a[i].elem===this&&(e==null||a[i].queue===e)&&(a[i].anim.stop(n),t=!1,a.splice(i,1));(t||!n)&&S.dequeue(this,e)})},finish:function(e){return e!==!1&&(e||=`fx`),this.each(function(){var t,n=W.get(this),r=n[e+`queue`],i=n[e+`queueHooks`],a=S.timers,o=r?r.length:0;for(n.finish=!0,S.queue(this,e,[]),i&&i.stop&&i.stop.call(this,!0),t=a.length;t--;)a[t].elem===this&&a[t].queue===e&&(a[t].anim.stop(!0),a.splice(t,1));for(t=0;t<o;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish})}}),S.each([`toggle`,`show`,`hide`],function(e,t){var n=S.fn[t];S.fn[t]=function(e,r,i){return e==null||typeof e==`boolean`?n.apply(this,arguments):this.animate(Tn(t,!0),e,r,i)}}),S.each({slideDown:Tn(`show`),slideUp:Tn(`hide`),slideToggle:Tn(`toggle`),fadeIn:{opacity:`show`},fadeOut:{opacity:`hide`},fadeToggle:{opacity:`toggle`}},function(e,t){S.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),S.timers=[],S.fx.tick=function(){var e,t=0,n=S.timers;for(yn=Date.now();t<n.length;t++)e=n[t],!e()&&n[t]===e&&n.splice(t--,1);n.length||S.fx.stop(),yn=void 0},S.fx.timer=function(e){S.timers.push(e),S.fx.start()},S.fx.start=function(){bn||(bn=!0,Cn())},S.fx.stop=function(){bn=null},S.fx.speeds={slow:600,fast:200,_default:400},S.fn.delay=function(t,n){return t=S.fx&&S.fx.speeds[t]||t,n||=`fx`,this.queue(n,function(n,r){var i=e.setTimeout(n,t);r.stop=function(){e.clearTimeout(i)}})};var kn=/^(?:input|select|textarea|button)$/i,An=/^(?:a|area)$/i;S.fn.extend({prop:function(e,t){return P(this,S.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[S.propFix[e]||e]})}}),S.extend({prop:function(e,t,n){var r,i,a=e.nodeType;if(a!==3&&a!==8&&a!==2)return(a!==1||!S.isXMLDoc(e))&&(t=S.propFix[t]||t,i=S.propHooks[t]),n===void 0?i&&`get`in i&&(r=i.get(e,t))!==null?r:e[t]:i&&`set`in i&&(r=i.set(e,n,t))!==void 0?r:e[t]=n},propHooks:{tabIndex:{get:function(e){var t=e.getAttribute(`tabindex`);return t?parseInt(t,10):kn.test(e.nodeName)||An.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:`htmlFor`,class:`className`}}),E&&(S.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),S.each([`tabIndex`,`readOnly`,`maxLength`,`cellSpacing`,`cellPadding`,`rowSpan`,`colSpan`,`useMap`,`frameBorder`,`contentEditable`],function(){S.propFix[this.toLowerCase()]=this});function Q(e){return(e.match(F)||[]).join(` `)}function jn(e){return e.getAttribute&&e.getAttribute(`class`)||``}function Mn(e){return Array.isArray(e)?e:typeof e==`string`&&e.match(F)||[]}S.fn.extend({addClass:function(e){var t,n,r,i,a,o;return typeof e==`function`?this.each(function(t){S(this).addClass(e.call(this,t,jn(this)))}):(t=Mn(e),t.length?this.each(function(){if(r=jn(this),n=this.nodeType===1&&` `+Q(r)+` `,n){for(a=0;a<t.length;a++)i=t[a],n.indexOf(` `+i+` `)<0&&(n+=i+` `);o=Q(n),r!==o&&this.setAttribute(`class`,o)}}):this)},removeClass:function(e){var t,n,r,i,a,o;return typeof e==`function`?this.each(function(t){S(this).removeClass(e.call(this,t,jn(this)))}):arguments.length?(t=Mn(e),t.length?this.each(function(){if(r=jn(this),n=this.nodeType===1&&` `+Q(r)+` `,n){for(a=0;a<t.length;a++)for(i=t[a];n.indexOf(` `+i+` `)>-1;)n=n.replace(` `+i+` `,` `);o=Q(n),r!==o&&this.setAttribute(`class`,o)}}):this):this.attr(`class`,``)},toggleClass:function(e,t){var n,r,i,a;return typeof e==`function`?this.each(function(n){S(this).toggleClass(e.call(this,n,jn(this),t),t)}):typeof t==`boolean`?t?this.addClass(e):this.removeClass(e):(n=Mn(e),n.length?this.each(function(){for(a=S(this),i=0;i<n.length;i++)r=n[i],a.hasClass(r)?a.removeClass(r):a.addClass(r)}):this)},hasClass:function(e){var t,n,r=0;for(t=` `+e+` `;n=this[r++];)if(n.nodeType===1&&(` `+Q(jn(n))+` `).indexOf(t)>-1)return!0;return!1}}),S.fn.extend({val:function(e){var t,n,r,i=this[0];return arguments.length?(r=typeof e==`function`,this.each(function(n){var i;this.nodeType===1&&(i=r?e.call(this,n,S(this).val()):e,i==null?i=``:typeof i==`number`?i+=``:Array.isArray(i)&&(i=S.map(i,function(e){return e==null?``:e+``})),t=S.valHooks[this.type]||S.valHooks[this.nodeName.toLowerCase()],(!t||!(`set`in t)||t.set(this,i,`value`)===void 0)&&(this.value=i))})):i?(t=S.valHooks[i.type]||S.valHooks[i.nodeName.toLowerCase()],t&&`get`in t&&(n=t.get(i,`value`))!==void 0?n:(n=i.value,n??``)):void 0}}),S.extend({valHooks:{select:{get:function(e){var t,n,r,i=e.options,a=e.selectedIndex,o=e.type===`select-one`,s=o?null:[],c=o?a+1:i.length;for(r=a<0?c:o?a:0;r<c;r++)if(n=i[r],n.selected&&!n.disabled&&(!n.parentNode.disabled||!C(n.parentNode,`optgroup`))){if(t=S(n).val(),o)return t;s.push(t)}return s},set:function(e,t){for(var n,r,i=e.options,a=S.makeArray(t),o=i.length;o--;)r=i[o],(r.selected=S.inArray(S(r).val(),a)>-1)&&(n=!0);return n||(e.selectedIndex=-1),a}}}}),E&&(S.valHooks.option={get:function(e){return e.getAttribute(`value`)??Q(S.text(e))}}),S.each([`radio`,`checkbox`],function(){S.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=S.inArray(S(e).val(),t)>-1}}});var Nn=/^(?:focusinfocus|focusoutblur)$/,Pn=function(e){e.stopPropagation()};S.extend(S.event,{trigger:function(t,n,r,i){var a,o,s,c,l,d,f,p,m=[r||_],g=u.call(t,`type`)?t.type:t,v=u.call(t,`namespace`)?t.namespace.split(`.`):[];if(o=p=s=r||=_,r.nodeType!==3&&r.nodeType!==8&&!Nn.test(g+S.event.triggered)&&(g.indexOf(`.`)>-1&&(v=g.split(`.`),g=v.shift(),v.sort()),l=g.indexOf(`:`)<0&&`on`+g,t=t[S.expando]?t:new S.Event(g,typeof t==`object`&&t),t.isTrigger=i?2:3,t.namespace=v.join(`.`),t.rnamespace=t.namespace?RegExp(`(^|\\.)`+v.join(`\\.(?:.*\\.|)`)+`(\\.|$)`):null,t.result=void 0,t.target||(t.target=r),n=n==null?[t]:S.makeArray(n,[t]),f=S.event.special[g]||{},i||!f.trigger||f.trigger.apply(r,n)!==!1)){if(!i&&!f.noBubble&&!h(r)){for(c=f.delegateType||g,Nn.test(c+g)||(o=o.parentNode);o;o=o.parentNode)m.push(o),s=o;s===(r.ownerDocument||_)&&m.push(s.defaultView||s.parentWindow||e)}for(a=0;(o=m[a++])&&!t.isPropagationStopped();)p=o,t.type=a>1?c:f.bindType||g,d=(W.get(o,`events`)||Object.create(null))[t.type]&&W.get(o,`handle`),d&&d.apply(o,n),d=l&&o[l],d&&d.apply&&_t(o)&&(t.result=d.apply(o,n),t.result===!1&&t.preventDefault());return t.type=g,!i&&!t.isDefaultPrevented()&&(!f._default||f._default.apply(m.pop(),n)===!1)&&_t(r)&&l&&typeof r[g]==`function`&&!h(r)&&(s=r[l],s&&(r[l]=null),S.event.triggered=g,t.isPropagationStopped()&&p.addEventListener(g,Pn),r[g](),t.isPropagationStopped()&&p.removeEventListener(g,Pn),S.event.triggered=void 0,s&&(r[l]=s)),t.result}},simulate:function(e,t,n){var r=S.extend(new S.Event,n,{type:e,isSimulated:!0});S.event.trigger(r,null,t)}}),S.fn.extend({trigger:function(e,t){return this.each(function(){S.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return S.event.trigger(e,t,n,!0)}});var Fn=e.location,In={guid:Date.now()},Ln=/\?/;S.parseXML=function(t){var n,r;if(!t||typeof t!=`string`)return null;try{n=new e.DOMParser().parseFromString(t,`text/xml`)}catch{}return r=n&&n.getElementsByTagName(`parsererror`)[0],(!n||r)&&S.error(`Invalid XML: `+(r?S.map(r.childNodes,function(e){return e.textContent}).join(`
`):t)),n};var Rn=/\[\]$/,zn=/\r?\n/g,Bn=/^(?:submit|button|image|reset|file)$/i,Vn=/^(?:input|select|textarea|keygen)/i;function Hn(e,t,n,r){var i;if(Array.isArray(t))S.each(t,function(t,i){n||Rn.test(e)?r(e,i):Hn(e+`[`+(typeof i==`object`&&i?t:``)+`]`,i,n,r)});else if(!n&&m(t)===`object`)for(i in t)Hn(e+`[`+i+`]`,t[i],n,r);else r(e,t)}S.param=function(e,t){var n,r=[],i=function(e,t){var n=typeof t==`function`?t():t;r[r.length]=encodeURIComponent(e)+`=`+encodeURIComponent(n??``)};if(e==null)return``;if(Array.isArray(e)||e.jquery&&!S.isPlainObject(e))S.each(e,function(){i(this.name,this.value)});else for(n in e)Hn(n,e[n],t,i);return r.join(`&`)},S.fn.extend({serialize:function(){return S.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=S.prop(this,`elements`);return e?S.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!S(this).is(`:disabled`)&&Vn.test(this.nodeName)&&!Bn.test(e)&&(this.checked||!Gt.test(e))}).map(function(e,t){var n=S(this).val();return n==null?null:Array.isArray(n)?S.map(n,function(e){return{name:t.name,value:e.replace(zn,`\r
`)}}):{name:t.name,value:n.replace(zn,`\r
`)}}).get()}});var Un=/%20/g,Wn=/#.*$/,Gn=/([?&])_=[^&]*/,Kn=/^(.*?):[ \t]*([^\r\n]*)$/gm,qn=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Jn=/^(?:GET|HEAD)$/,Yn=/^\/\//,Xn={},Zn={},Qn=`*/*`,$n=_.createElement(`a`);$n.href=Fn.href;function er(e){return function(t,n){typeof t!=`string`&&(n=t,t=`*`);var r,i=0,a=t.toLowerCase().match(F)||[];if(typeof n==`function`)for(;r=a[i++];)r[0]===`+`?(r=r.slice(1)||`*`,(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function tr(e,t,n,r){var i={},a=e===Zn;function o(s){var c;return i[s]=!0,S.each(e[s]||[],function(e,s){var l=s(t,n,r);if(typeof l==`string`&&!a&&!i[l])return t.dataTypes.unshift(l),o(l),!1;if(a)return!(c=l)}),c}return o(t.dataTypes[0])||!i[`*`]&&o(`*`)}function nr(e,t){var n,r,i=S.ajaxSettings.flatOptions||{};for(n in t)t[n]!==void 0&&((i[n]?e:r||={})[n]=t[n]);return r&&S.extend(!0,e,r),e}function rr(e,t,n){for(var r,i,a,o,s=e.contents,c=e.dataTypes;c[0]===`*`;)c.shift(),r===void 0&&(r=e.mimeType||t.getResponseHeader(`Content-Type`));if(r){for(i in s)if(s[i]&&s[i].test(r)){c.unshift(i);break}}if(c[0]in n)a=c[0];else{for(i in n){if(!c[0]||e.converters[i+` `+c[0]]){a=i;break}o||=i}a||=o}if(a)return a!==c[0]&&c.unshift(a),n[a]}function ir(e,t,n,r){var i,a,o,s,c,l={},u=e.dataTypes.slice();if(u[1])for(o in e.converters)l[o.toLowerCase()]=e.converters[o];for(a=u.shift();a;)if(e.responseFields[a]&&(n[e.responseFields[a]]=t),!c&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),c=a,a=u.shift(),a){if(a===`*`)a=c;else if(c!==`*`&&c!==a){if(o=l[c+` `+a]||l[`* `+a],!o){for(i in l)if(s=i.split(` `),s[1]===a&&(o=l[c+` `+s[0]]||l[`* `+s[0]],o)){o===!0?o=l[i]:l[i]!==!0&&(a=s[0],u.unshift(s[1]));break}}if(o!==!0){if(o&&e.throws)t=o(t);else try{t=o(t)}catch(e){return{state:`parsererror`,error:o?e:`No conversion from `+c+` to `+a}}}}}return{state:`success`,data:t}}S.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Fn.href,type:`GET`,isLocal:qn.test(Fn.protocol),global:!0,processData:!0,async:!0,contentType:`application/x-www-form-urlencoded; charset=UTF-8`,accepts:{"*":Qn,text:`text/plain`,html:`text/html`,xml:`application/xml, text/xml`,json:`application/json, text/javascript`},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:`responseXML`,text:`responseText`,json:`responseJSON`},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":S.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?nr(nr(e,S.ajaxSettings),t):nr(S.ajaxSettings,e)},ajaxPrefilter:er(Xn),ajaxTransport:er(Zn),ajax:function(t,n){typeof t==`object`&&(n=t,t=void 0),n||={};var r,i,a,o,s,c,l,u,d,f,p=S.ajaxSetup({},n),m=p.context||p,h=p.context&&(m.nodeType||m.jquery)?S(m):S.event,g=S.Deferred(),v=S.Callbacks(`once memory`),y=p.statusCode||{},b={},x={},C=`canceled`,w={readyState:0,getResponseHeader:function(e){var t;if(l){if(!o)for(o={};t=Kn.exec(a);)o[t[1].toLowerCase()+` `]=(o[t[1].toLowerCase()+` `]||[]).concat(t[2]);t=o[e.toLowerCase()+` `]}return t==null?null:t.join(`, `)},getAllResponseHeaders:function(){return l?a:null},setRequestHeader:function(e,t){return l??(e=x[e.toLowerCase()]=x[e.toLowerCase()]||e,b[e]=t),this},overrideMimeType:function(e){return l??(p.mimeType=e),this},statusCode:function(e){var t;if(e){if(l)w.always(e[w.status]);else for(t in e)y[t]=[y[t],e[t]]}return this},abort:function(e){var t=e||C;return r&&r.abort(t),T(0,t),this}};if(g.promise(w),p.url=((t||p.url||Fn.href)+``).replace(Yn,Fn.protocol+`//`),p.type=n.method||n.type||p.method||p.type,p.dataTypes=(p.dataType||`*`).toLowerCase().match(F)||[``],p.crossDomain==null){c=_.createElement(`a`);try{c.href=p.url,c.href=c.href,p.crossDomain=$n.protocol+`//`+$n.host!=c.protocol+`//`+c.host}catch{p.crossDomain=!0}}if(tr(Xn,p,n,w),p.data&&p.processData&&typeof p.data!=`string`&&(p.data=S.param(p.data,p.traditional)),l)return w;for(d in u=S.event&&p.global,u&&S.active++===0&&S.event.trigger(`ajaxStart`),p.type=p.type.toUpperCase(),p.hasContent=!Jn.test(p.type),i=p.url.replace(Wn,``),p.hasContent?p.data&&p.processData&&(p.contentType||``).indexOf(`application/x-www-form-urlencoded`)===0&&(p.data=p.data.replace(Un,`+`)):(f=p.url.slice(i.length),p.data&&(p.processData||typeof p.data==`string`)&&(i+=(Ln.test(i)?`&`:`?`)+p.data,delete p.data),p.cache===!1&&(i=i.replace(Gn,`$1`),f=(Ln.test(i)?`&`:`?`)+`_=`+In.guid+++f),p.url=i+f),p.ifModified&&(S.lastModified[i]&&w.setRequestHeader(`If-Modified-Since`,S.lastModified[i]),S.etag[i]&&w.setRequestHeader(`If-None-Match`,S.etag[i])),(p.data&&p.hasContent&&p.contentType!==!1||n.contentType)&&w.setRequestHeader(`Content-Type`,p.contentType),w.setRequestHeader(`Accept`,p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+(p.dataTypes[0]===`*`?``:`, `+Qn+`; q=0.01`):p.accepts[`*`]),p.headers)w.setRequestHeader(d,p.headers[d]);if(p.beforeSend&&(p.beforeSend.call(m,w,p)===!1||l))return w.abort();if(C=`abort`,v.add(p.complete),w.done(p.success),w.fail(p.error),r=tr(Zn,p,n,w),!r)T(-1,`No Transport`);else{if(w.readyState=1,u&&h.trigger(`ajaxSend`,[w,p]),l)return w;p.async&&p.timeout>0&&(s=e.setTimeout(function(){w.abort(`timeout`)},p.timeout));try{l=!1,r.send(b,T)}catch(e){if(l)throw e;T(-1,e)}}function T(t,n,o,c){var d,f,_,b,x,C=n;l||(l=!0,s&&e.clearTimeout(s),r=void 0,a=c||``,w.readyState=t>0?4:0,d=t>=200&&t<300||t===304,o&&(b=rr(p,w,o)),!d&&S.inArray(`script`,p.dataTypes)>-1&&S.inArray(`json`,p.dataTypes)<0&&(p.converters[`text script`]=function(){}),b=ir(p,b,w,d),d?(p.ifModified&&(x=w.getResponseHeader(`Last-Modified`),x&&(S.lastModified[i]=x),x=w.getResponseHeader(`etag`),x&&(S.etag[i]=x)),t===204||p.type===`HEAD`?C=`nocontent`:t===304?C=`notmodified`:(C=b.state,f=b.data,_=b.error,d=!_)):(_=C,(t||!C)&&(C=`error`,t<0&&(t=0))),w.status=t,w.statusText=(n||C)+``,d?g.resolveWith(m,[f,C,w]):g.rejectWith(m,[w,C,_]),w.statusCode(y),y=void 0,u&&h.trigger(d?`ajaxSuccess`:`ajaxError`,[w,p,d?f:_]),v.fireWith(m,[w,C]),u&&(h.trigger(`ajaxComplete`,[w,p]),--S.active||S.event.trigger(`ajaxStop`)))}return w},getJSON:function(e,t,n){return S.get(e,t,n,`json`)},getScript:function(e,t){return S.get(e,void 0,t,`script`)}}),S.each([`get`,`post`],function(e,t){S[t]=function(e,n,r,i){return(typeof n==`function`||n===null)&&(i||=r,r=n,n=void 0),S.ajax(S.extend({url:e,type:t,dataType:i,data:n,success:r},S.isPlainObject(e)&&e))}}),S.ajaxPrefilter(function(e){for(var t in e.headers)t.toLowerCase()===`content-type`&&(e.contentType=e.headers[t]||``)}),S._evalUrl=function(e,t,n){return S.ajax({url:e,type:`GET`,dataType:`script`,cache:!0,async:!1,global:!1,scriptAttrs:t.crossOrigin?{crossOrigin:t.crossOrigin}:void 0,converters:{"text script":function(){}},dataFilter:function(e){S.globalEval(e,t,n)}})},S.fn.extend({wrapAll:function(e){var t;return this[0]&&(typeof e==`function`&&(e=e.call(this[0])),t=S(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(e){return typeof e==`function`?this.each(function(t){S(this).wrapInner(e.call(this,t))}):this.each(function(){var t=S(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=typeof e==`function`;return this.each(function(n){S(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not(`body`).each(function(){S(this).replaceWith(this.childNodes)}),this}}),S.expr.pseudos.hidden=function(e){return!S.expr.pseudos.visible(e)},S.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},S.ajaxSettings.xhr=function(){return new e.XMLHttpRequest};var ar={0:200};S.ajaxTransport(function(e){var t;return{send:function(n,r){var i,a=e.xhr();if(a.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(i in e.xhrFields)a[i]=e.xhrFields[i];for(i in e.mimeType&&a.overrideMimeType&&a.overrideMimeType(e.mimeType),!e.crossDomain&&!n[`X-Requested-With`]&&(n[`X-Requested-With`]=`XMLHttpRequest`),n)a.setRequestHeader(i,n[i]);t=function(e){return function(){t&&(t=a.onload=a.onerror=a.onabort=a.ontimeout=null,e===`abort`?a.abort():e===`error`?r(a.status,a.statusText):r(ar[a.status]||a.status,a.statusText,(a.responseType||`text`)===`text`?{text:a.responseText}:{binary:a.response},a.getAllResponseHeaders()))}},a.onload=t(),a.onabort=a.onerror=a.ontimeout=t(`error`),t=t(`abort`);try{a.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}});function or(e){return e.scriptAttrs||!e.headers&&(e.crossDomain||e.async&&S.inArray(`json`,e.dataTypes)<0)}S.ajaxSetup({accepts:{script:`text/javascript, application/javascript, application/ecmascript, application/x-ecmascript`},converters:{"text script":function(e){return S.globalEval(e),e}}}),S.ajaxPrefilter(`script`,function(e){e.cache===void 0&&(e.cache=!1),or(e)&&(e.type=`GET`)}),S.ajaxTransport(`script`,function(e){if(or(e)){var t,n;return{send:function(r,i){t=S(`<script>`).attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on(`load error`,n=function(e){t.remove(),n=null,e&&i(e.type===`error`?404:200,e.type)}),_.head.appendChild(t[0])},abort:function(){n&&n()}}}});var sr=[],cr=/(=)\?(?=&|$)|\?\?/;S.ajaxSetup({jsonp:`callback`,jsonpCallback:function(){var e=sr.pop()||S.expando+`_`+In.guid++;return this[e]=!0,e}}),S.ajaxPrefilter(`jsonp`,function(t,n,r){var i,a,o,s=t.jsonp!==!1&&(cr.test(t.url)?`url`:typeof t.data==`string`&&(t.contentType||``).indexOf(`application/x-www-form-urlencoded`)===0&&cr.test(t.data)&&`data`);return i=t.jsonpCallback=typeof t.jsonpCallback==`function`?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(cr,`$1`+i):t.jsonp!==!1&&(t.url+=(Ln.test(t.url)?`&`:`?`)+t.jsonp+`=`+i),t.converters[`script json`]=function(){return o||S.error(i+` was not called`),o[0]},t.dataTypes[0]=`json`,a=e[i],e[i]=function(){o=arguments},r.always(function(){a===void 0?S(e).removeProp(i):e[i]=a,t[i]&&(t.jsonpCallback=n.jsonpCallback,sr.push(i)),o&&typeof a==`function`&&a(o[0]),o=a=void 0}),`script`}),S.ajaxPrefilter(function(t,n){typeof t.data!=`string`&&!S.isPlainObject(t.data)&&!Array.isArray(t.data)&&!(`processData`in n)&&(t.processData=!1),t.data instanceof e.FormData&&(t.contentType=!1)}),S.parseHTML=function(t,n,r){if(typeof t!=`string`&&!et(t+``))return[];typeof n==`boolean`&&(r=n,n=!1);var i,a;return n||=new e.DOMParser().parseFromString(``,`text/html`),i=$e.exec(t),a=!r&&[],i?[n.createElement(i[1])]:(i=Vt([t],n,a),a&&a.length&&S(a).remove(),S.merge([],i.childNodes))},S.fn.load=function(e,t,n){var r,i,a,o=this,s=e.indexOf(` `);return s>-1&&(r=Q(e.slice(s)),e=e.slice(0,s)),typeof t==`function`?(n=t,t=void 0):t&&typeof t==`object`&&(i=`POST`),o.length>0&&S.ajax({url:e,type:i||`GET`,dataType:`html`,data:t}).done(function(e){a=arguments,o.html(r?S(`<div>`).append(S.parseHTML(e)).find(r):e)}).always(n&&function(e,t){o.each(function(){n.apply(this,a||[e.responseText,t,e])})}),this},S.expr.pseudos.animated=function(e){return S.grep(S.timers,function(t){return e===t.elem}).length},S.offset={setOffset:function(e,t,n){var r,i,a,o,s,c,l,u=S.css(e,`position`),d=S(e),f={};u===`static`&&(e.style.position=`relative`),s=d.offset(),a=S.css(e,`top`),c=S.css(e,`left`),l=(u===`absolute`||u===`fixed`)&&(a+c).indexOf(`auto`)>-1,l?(r=d.position(),o=r.top,i=r.left):(o=parseFloat(a)||0,i=parseFloat(c)||0),typeof t==`function`&&(t=t.call(e,n,S.extend({},s))),t.top!=null&&(f.top=t.top-s.top+o),t.left!=null&&(f.left=t.left-s.left+i),`using`in t?t.using.call(e,f):d.css(f)}},S.fn.extend({offset:function(e){if(arguments.length)return e===void 0?this:this.each(function(t){S.offset.setOffset(this,e,t)});var t,n,r=this[0];if(r)return r.getClientRects().length?(t=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if(S.css(r,`position`)===`fixed`)t=r.getBoundingClientRect();else{for(t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;e&&e!==n.documentElement&&S.css(e,`position`)===`static`;)e=e.offsetParent||n.documentElement;e&&e!==r&&e.nodeType===1&&S.css(e,`position`)!==`static`&&(i=S(e).offset(),i.top+=S.css(e,`borderTopWidth`,!0),i.left+=S.css(e,`borderLeftWidth`,!0))}return{top:t.top-i.top-S.css(r,`marginTop`,!0),left:t.left-i.left-S.css(r,`marginLeft`,!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&S.css(e,`position`)===`static`;)e=e.offsetParent;return e||M})}}),S.each({scrollLeft:`pageXOffset`,scrollTop:`pageYOffset`},function(e,t){var n=t===`pageYOffset`;S.fn[e]=function(r){return P(this,function(e,r,i){var a;if(h(e)?a=e:e.nodeType===9&&(a=e.defaultView),i===void 0)return a?a[t]:e[r];a?a.scrollTo(n?a.pageXOffset:i,n?i:a.pageYOffset):e[r]=i},e,r,arguments.length)}}),S.each({Height:`height`,Width:`width`},function(e,t){S.each({padding:`inner`+e,content:t,"":`outer`+e},function(n,r){S.fn[r]=function(i,a){var o=arguments.length&&(n||typeof i!=`boolean`),s=n||(i===!0||a===!0?`margin`:`border`);return P(this,function(t,n,i){var a;return h(t)?r.indexOf(`outer`)===0?t[`inner`+e]:t.document.documentElement[`client`+e]:t.nodeType===9?(a=t.documentElement,Math.max(t.body[`scroll`+e],a[`scroll`+e],t.body[`offset`+e],a[`offset`+e],a[`client`+e])):i===void 0?S.css(t,n,s):S.style(t,n,i,s)},t,o?i:void 0,o)}})}),S.each([`ajaxStart`,`ajaxStop`,`ajaxComplete`,`ajaxError`,`ajaxSuccess`,`ajaxSend`],function(e,t){S.fn[t]=function(e){return this.on(t,e)}}),S.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return arguments.length===1?this.off(e,`**`):this.off(t,e||`**`,n)},hover:function(e,t){return this.on(`mouseenter`,e).on(`mouseleave`,t||e)}}),S.each(`blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu`.split(` `),function(e,t){S.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),S.proxy=function(e,t){var n,r,a;if(typeof t==`string`&&(n=e[t],t=e,e=n),typeof e==`function`)return r=i.call(arguments,2),a=function(){return e.apply(t||this,r.concat(i.call(arguments)))},a.guid=e.guid=e.guid||S.guid++,a},S.holdReady=function(e){e?S.readyWait++:S.ready(!0)},S.expr[`:`]=S.expr.filters=S.expr.pseudos,typeof define==`function`&&define.amd&&define(`jquery`,[],function(){return S});var lr=e.jQuery,ur=e.$;return S.noConflict=function(t){return e.$===S&&(e.$=ur),t&&e.jQuery===S&&(e.jQuery=lr),S},t===void 0&&(e.jQuery=e.$=S),S}var O,k=t((()=>{O=D(window,!0)})),A=/* @__PURE__ */ n(((e,t)=>{let{jQuery:n}=(k(),i(E));t.exports=n})),j=/* @__PURE__ */ n(((e,t)=>{
/*!
* Select2 4.1.0
* https://select2.github.io
*
* Released under the MIT license
* https://github.com/select2/select2/blob/master/LICENSE.md
*/
(function(e){typeof define==`function`&&define.amd?define([`jquery`],e):typeof t==`object`&&t.exports?t.exports=function(t,n){return n===void 0&&(n=typeof window<`u`?A():A()(t)),e(n),n}:e(jQuery)})(function(e){var t=function(){if(e&&e.fn&&e.fn.select2&&e.fn.select2.amd)var t=e.fn.select2.amd;var t
/**
* @license almond 0.3.3 Copyright jQuery Foundation and other contributors.
* Released under MIT license, http://github.com/requirejs/almond/LICENSE
*/
;return(function(){if(!t||!t.requirejs){t?n=t:t={};var e,n,r;(function(t){var i,a,o,s,c={},l={},u={},d={},f=Object.prototype.hasOwnProperty,p=[].slice,m=/\.js$/;function h(e,t){return f.call(e,t)}function g(e,t){var n,r,i,a,o,s,c,l,d,f,p,h,g=t&&t.split(`/`),_=u.map,v=_&&_[`*`]||{};if(e){for(e=e.split(`/`),o=e.length-1,u.nodeIdCompat&&m.test(e[o])&&(e[o]=e[o].replace(m,``)),e[0].charAt(0)===`.`&&g&&(h=g.slice(0,g.length-1),e=h.concat(e)),d=0;d<e.length;d++)if(p=e[d],p===`.`)e.splice(d,1),--d;else if(p===`..`){if(d===0||d===1&&e[2]===`..`||e[d-1]===`..`)continue;d>0&&(e.splice(d-1,2),d-=2)}e=e.join(`/`)}if((g||v)&&_){for(n=e.split(`/`),d=n.length;d>0;--d){if(r=n.slice(0,d).join(`/`),g){for(f=g.length;f>0;--f)if(i=_[g.slice(0,f).join(`/`)],i&&(i=i[r],i)){a=i,s=d;break}}if(a)break;!c&&v&&v[r]&&(c=v[r],l=d)}!a&&c&&(a=c,s=l),a&&(n.splice(0,s,a),e=n.join(`/`))}return e}function _(e,n){return function(){var r=p.call(arguments,0);return typeof r[0]!=`string`&&r.length===1&&r.push(null),a.apply(t,r.concat([e,n]))}}function v(e){return function(t){return g(t,e)}}function y(e){return function(t){c[e]=t}}function b(e){if(h(l,e)){var n=l[e];delete l[e],d[e]=!0,i.apply(t,n)}if(!h(c,e)&&!h(d,e))throw Error(`No `+e);return c[e]}function x(e){var t,n=e?e.indexOf(`!`):-1;return n>-1&&(t=e.substring(0,n),e=e.substring(n+1,e.length)),[t,e]}function S(e){return e?x(e):[]}o=function(e,t){var n,r=x(e),i=r[0],a=t[1];return e=r[1],i&&(i=g(i,a),n=b(i)),i?e=n&&n.normalize?n.normalize(e,v(a)):g(e,a):(e=g(e,a),r=x(e),i=r[0],e=r[1],i&&(n=b(i))),{f:i?i+`!`+e:e,n:e,pr:i,p:n}};function C(e){return function(){return u&&u.config&&u.config[e]||{}}}s={require:function(e){return _(e)},exports:function(e){var t=c[e];return t===void 0?c[e]={}:t},module:function(e){return{id:e,uri:``,exports:c[e],config:C(e)}}},i=function(e,n,r,i){var a,u,f,p,m,g,v=[],x=typeof r,C;if(i||=e,g=S(i),x===`undefined`||x===`function`){for(n=!n.length&&r.length?[`require`,`exports`,`module`]:n,m=0;m<n.length;m+=1)if(p=o(n[m],g),u=p.f,u===`require`)v[m]=s.require(e);else if(u===`exports`)v[m]=s.exports(e),C=!0;else if(u===`module`)a=v[m]=s.module(e);else if(h(c,u)||h(l,u)||h(d,u))v[m]=b(u);else if(p.p)p.p.load(p.n,_(i,!0),y(u),{}),v[m]=c[u];else throw Error(e+` missing `+u);f=r?r.apply(c[e],v):void 0,e&&(a&&a.exports!==t&&a.exports!==c[e]?c[e]=a.exports:(f!==t||!C)&&(c[e]=f))}else e&&(c[e]=r)},e=n=a=function(e,n,r,c,l){if(typeof e==`string`)return s[e]?s[e](n):b(o(e,S(n)).f);if(!e.splice){if(u=e,u.deps&&a(u.deps,u.callback),!n)return;n.splice?(e=n,n=r,r=null):e=t}return n||=function(){},typeof r==`function`&&(r=c,c=l),c?i(t,e,n,r):setTimeout(function(){i(t,e,n,r)},4),a},a.config=function(e){return a(e)},e._defined=c,r=function(e,t,n){if(typeof e!=`string`)throw Error(`See almond README: incorrect module build, no module name`);t.splice||(n=t,t=[]),!h(c,e)&&!h(l,e)&&(l[e]=[e,t,n])},r.amd={jQuery:!0}})(),t.requirejs=e,t.require=n,t.define=r}})(),t.define(`almond`,function(){}),t.define(`jquery`,[],function(){var t=e||$;return t==null&&console&&console.error&&console.error(`Select2: An instance of jQuery or a jQuery-compatible library was not found. Make sure that you are including jQuery before Select2 on your web page.`),t}),t.define(`select2/utils`,[],function(){var e={};e.Extend=function(e,t){var n={}.hasOwnProperty;function r(){this.constructor=e}for(var i in t)n.call(t,i)&&(e[i]=t[i]);return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e};function t(e){var t=e.prototype,n=[];for(var r in t)typeof t[r]==`function`&&r!==`constructor`&&n.push(r);return n}e.Decorate=function(e,n){var r=t(n),i=t(e);function a(){var t=Array.prototype.unshift,r=n.prototype.constructor.length,i=e.prototype.constructor;r>0&&(t.call(arguments,e.prototype.constructor),i=n.prototype.constructor),i.apply(this,arguments)}n.displayName=e.displayName;function o(){this.constructor=a}a.prototype=new o;for(var s=0;s<i.length;s++){var c=i[s];a.prototype[c]=e.prototype[c]}for(var l=function(e){var t=function(){};e in a.prototype&&(t=a.prototype[e]);var r=n.prototype[e];return function(){return Array.prototype.unshift.call(arguments,t),r.apply(this,arguments)}},u=0;u<r.length;u++){var d=r[u];a.prototype[d]=l(d)}return a};var n=function(){this.listeners={}};n.prototype.on=function(e,t){this.listeners=this.listeners||{},e in this.listeners?this.listeners[e].push(t):this.listeners[e]=[t]},n.prototype.trigger=function(e){var t=Array.prototype.slice,n=t.call(arguments,1);this.listeners=this.listeners||{},n??=[],n.length===0&&n.push({}),n[0]._type=e,e in this.listeners&&this.invoke(this.listeners[e],t.call(arguments,1)),`*`in this.listeners&&this.invoke(this.listeners[`*`],arguments)},n.prototype.invoke=function(e,t){for(var n=0,r=e.length;n<r;n++)e[n].apply(this,t)},e.Observable=n,e.generateChars=function(e){for(var t=``,n=0;n<e;n++){var r=Math.floor(Math.random()*36);t+=r.toString(36)}return t},e.bind=function(e,t){return function(){e.apply(t,arguments)}},e._convertData=function(e){for(var t in e){var n=t.split(`-`),r=e;if(n.length!==1){for(var i=0;i<n.length;i++){var a=n[i];a=a.substring(0,1).toLowerCase()+a.substring(1),a in r||(r[a]={}),i==n.length-1&&(r[a]=e[t]),r=r[a]}delete e[t]}}return e},e.hasScroll=function(e,t){var n=t.style.overflowX,r=t.style.overflowY;if(n===r&&(r===`hidden`||r===`visible`))return!1;if(n===`scroll`||r===`scroll`)return!0;var i=window.getComputedStyle(t);return parseFloat(i.height)<t.scrollHeight||parseFloat(i.width)<t.scrollWidth},e.escapeMarkup=function(e){var t={"\\":`\`,"&":`&`,"<":`<`,">":`>`,'"':`"`,"'":`'`,"/":`/`};return typeof e==`string`?String(e).replace(/[&<>"'\/\\]/g,function(e){return t[e]}):e},e.__cache={};var r=0;return e.GetUniqueElementId=function(t){var n=t.getAttribute(`data-select2-id`);return n??(n=t.id?`select2-data-`+t.id:`select2-data-`+(++r).toString()+`-`+e.generateChars(4),t.setAttribute(`data-select2-id`,n),n)},e.StoreData=function(t,n,r){var i=e.GetUniqueElementId(t);e.__cache[i]||(e.__cache[i]={}),e.__cache[i][n]=r},e.GetData=function(t,n){var r=e.GetUniqueElementId(t);if(n){var i=n.replace(/-([a-z])/g,function(e,t){return t.toUpperCase()});return e.__cache[r]?e.__cache[r][n]==null?t.dataset[i]:e.__cache[r][n]:t.dataset[i]}return e.__cache[r]},e.RemoveData=function(t){var n=e.GetUniqueElementId(t);e.__cache[n]!=null&&delete e.__cache[n],t.removeAttribute(`data-select2-id`)},e.copyNonInternalCssClasses=function(e,t){var n=e.getAttribute(`class`).trim().split(/\s+/);n=n.filter(function(e){return e.indexOf(`select2-`)===0});var r=t.getAttribute(`class`).trim().split(/\s+/);r=r.filter(function(e){return e.indexOf(`select2-`)!==0});var i=n.concat(r);e.setAttribute(`class`,i.join(` `))},e}),t.define(`select2/results`,[`jquery`,`./utils`],function(e,t){function n(e,t,r){this.$element=e,this.data=r,this.options=t,n.__super__.constructor.call(this)}return t.Extend(n,t.Observable),n.prototype.render=function(){var t=e(`<ul class="select2-results__options" role="listbox"></ul>`);return this.options.get(`multiple`)&&t[0].setAttribute(`aria-multiselectable`,`true`),this.$results=t,t},n.prototype.clear=function(){this.$results.empty()},n.prototype.displayMessage=function(t){var n=this.options.get(`escapeMarkup`);this.clear(),this.hideLoading();var r=e(`<li role="alert" aria-live="assertive" class="select2-results__option"></li>`),i=this.options.get(`translations`).get(t.message);r.append(n(i(t.args))),r[0].className+=` select2-results__message`,this.$results.append(r)},n.prototype.hideMessages=function(){this.$results.find(`.select2-results__message`).remove()},n.prototype.append=function(e){this.hideLoading();var t=[];if(e.results==null||e.results.length===0){this.$results.children().length===0&&this.trigger(`results:message`,{message:`noResults`});return}e.results=this.sort(e.results);for(var n=0;n<e.results.length;n++){var r=e.results[n],i=this.option(r);t.push(i)}this.$results.append(t)},n.prototype.position=function(e,t){t.find(`.select2-results`).append(e)},n.prototype.sort=function(e){return this.options.get(`sorter`)(e)},n.prototype.highlightFirstItem=function(){var e=this.$results.find(`.select2-results__option--selectable`),t=e.filter(`.select2-results__option--selected`);t.length>0?t.first().trigger(`mouseenter`):e.first().trigger(`mouseenter`),this.ensureHighlightVisible()},n.prototype.setClasses=function(){var n=this;this.data.current(function(r){var i=r.map(function(e){return e.id.toString()});n.$results.find(`.select2-results__option--selectable`).each(function(){var n=e(this),r=t.GetData(this,`data`),a=``+r.id;r.element!=null&&r.element.selected||r.element==null&&i.indexOf(a)>-1?(this.classList.add(`select2-results__option--selected`),n[0].setAttribute(`aria-selected`,`true`)):(this.classList.remove(`select2-results__option--selected`),n[0].setAttribute(`aria-selected`,`false`))})})},n.prototype.showLoading=function(e){this.hideLoading();var t={disabled:!0,loading:!0,text:this.options.get(`translations`).get(`searching`)(e)},n=this.option(t);n.className+=` loading-results`,this.$results.prepend(n)},n.prototype.hideLoading=function(){this.$results.find(`.loading-results`).remove()},n.prototype.option=function(n){var r=document.createElement(`li`);r.classList.add(`select2-results__option`),r.classList.add(`select2-results__option--selectable`);var i={role:`option`},a=window.Element.prototype.matches||window.Element.prototype.msMatchesSelector||window.Element.prototype.webkitMatchesSelector;for(var o in(n.element!=null&&a.call(n.element,`:disabled`)||n.element==null&&n.disabled)&&(i[`aria-disabled`]=`true`,r.classList.remove(`select2-results__option--selectable`),r.classList.add(`select2-results__option--disabled`)),n.id??r.classList.remove(`select2-results__option--selectable`),n._resultId!=null&&(r.id=n._resultId),n.title&&(r.title=n.title),n.children&&(i.role=`group`,i[`aria-label`]=n.text,r.classList.remove(`select2-results__option--selectable`),r.classList.add(`select2-results__option--group`)),i){var s=i[o];r.setAttribute(o,s)}if(n.children){var c=e(r),l=document.createElement(`strong`);l.className=`select2-results__group`,this.template(n,l);for(var u=[],d=0;d<n.children.length;d++){var f=n.children[d],p=this.option(f);u.push(p)}var m=e(`<ul></ul>`,{class:`select2-results__options select2-results__options--nested`,role:`none`});m.append(u),c.append(l),c.append(m)}else this.template(n,r);return t.StoreData(r,`data`,n),r},n.prototype.bind=function(n,r){var i=this,a=n.id+`-results`;this.$results[0].setAttribute(`id`,a),n.on(`results:all`,function(e){i.clear(),i.append(e.data),n.isOpen()&&(i.setClasses(),i.highlightFirstItem())}),n.on(`results:append`,function(e){i.append(e.data),n.isOpen()&&i.setClasses()}),n.on(`query`,function(e){i.hideMessages(),i.showLoading(e)}),n.on(`select`,function(){n.isOpen()&&(i.setClasses(),i.options.get(`scrollAfterSelect`)&&i.highlightFirstItem())}),n.on(`unselect`,function(){n.isOpen()&&(i.setClasses(),i.options.get(`scrollAfterSelect`)&&i.highlightFirstItem())}),n.on(`open`,function(){i.$results[0].setAttribute(`aria-expanded`,`true`),i.$results[0].setAttribute(`aria-hidden`,`false`),i.setClasses(),i.ensureHighlightVisible()}),n.on(`close`,function(){i.$results[0].setAttribute(`aria-expanded`,`false`),i.$results[0].setAttribute(`aria-hidden`,`true`),i.$results[0].removeAttribute(`aria-activedescendant`)}),n.on(`results:toggle`,function(){var e=i.getHighlightedResults();e.length!==0&&e.trigger(`mouseup`)}),n.on(`results:select`,function(){var e=i.getHighlightedResults();if(e.length!==0){var n=t.GetData(e[0],`data`);e.hasClass(`select2-results__option--selected`)?i.trigger(`close`,{}):i.trigger(`select`,{data:n})}}),n.on(`results:previous`,function(){var e=i.getHighlightedResults(),t=i.$results.find(`.select2-results__option--selectable`),n=t.index(e);if(!(n<=0)){var r=n-1;e.length===0&&(r=0);var a=t.eq(r);a.trigger(`mouseenter`);var o=i.$results.offset().top,s=a.offset().top,c=i.$results.scrollTop()+(s-o);r===0?i.$results.scrollTop(0):s-o<0&&i.$results.scrollTop(c)}}),n.on(`results:next`,function(){var e=i.getHighlightedResults(),t=i.$results.find(`.select2-results__option--selectable`),n=t.index(e)+1;if(!(n>=t.length)){var r=t.eq(n);r.trigger(`mouseenter`);var a=i.$results.offset().top+i.$results.outerHeight(!1),o=r.offset().top+r.outerHeight(!1),s=i.$results.scrollTop()+o-a;n===0?i.$results.scrollTop(0):o>a&&i.$results.scrollTop(s)}}),n.on(`results:focus`,function(e){e.element[0].classList.add(`select2-results__option--highlighted`),e.element[0].setAttribute(`aria-selected`,`true`)}),n.on(`results:message`,function(e){i.displayMessage(e)}),e.fn.mousewheel&&this.$results.on(`mousewheel`,function(e){var t=i.$results.scrollTop(),n=i.$results.get(0).scrollHeight-t+e.deltaY,r=e.deltaY>0&&t-e.deltaY<=0,a=e.deltaY<0&&n<=i.$results.height();r?(i.$results.scrollTop(0),e.preventDefault(),e.stopPropagation()):a&&(i.$results.scrollTop(i.$results.get(0).scrollHeight-i.$results.height()),e.preventDefault(),e.stopPropagation())}),this.$results.on(`mouseup`,`.select2-results__option--selectable`,function(n){var r=e(this),a=t.GetData(this,`data`);if(r.hasClass(`select2-results__option--selected`)){i.options.get(`multiple`)?i.trigger(`unselect`,{originalEvent:n,data:a}):i.trigger(`close`,{originalEvent:n,data:a});return}i.trigger(`select`,{originalEvent:n,data:a})}),this.$results.on(`mouseenter`,`.select2-results__option--selectable`,function(n){var r=t.GetData(this,`data`),a=i.getHighlightedResults();a.removeClass(`select2-results__option--highlighted`),a.each(function(){this.setAttribute(`aria-selected`,`false`)}),i.trigger(`results:focus`,{data:r,element:e(this)})})},n.prototype.getHighlightedResults=function(){return this.$results.find(`.select2-results__option--highlighted`)},n.prototype.destroy=function(){this.$results.remove()},n.prototype.ensureHighlightVisible=function(){var e=this.getHighlightedResults();if(e.length!==0){var t=this.$results.find(`.select2-results__option--selectable`).index(e),n=this.$results.offset().top,r=e.offset().top,i=this.$results.scrollTop()+(r-n),a=r-n;i-=e.outerHeight(!1)*2,t<=2?this.$results.scrollTop(0):(a>this.$results.outerHeight()||a<0)&&this.$results.scrollTop(i)}},n.prototype.template=function(t,n){var r=this.options.get(`templateResult`),i=this.options.get(`escapeMarkup`),a=r(t,n);a==null?n.style.display=`none`:typeof a==`string`?n.innerHTML=i(a):e(n).append(a)},n}),t.define(`select2/keys`,[],function(){return{BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CTRL:17,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46}}),t.define(`select2/selection/base`,[`jquery`,`../utils`,`../keys`],function(e,t,n){function r(e,t){this.$element=e,this.options=t,r.__super__.constructor.call(this)}return t.Extend(r,t.Observable),r.prototype.render=function(){var n=e(`<span class="select2-selection" role="combobox" aria-haspopup="true" aria-expanded="false"></span>`);return this._tabindex=0,t.GetData(this.$element[0],`old-tabindex`)==null?this.$element[0].getAttribute(`tabindex`)!=null&&(this._tabindex=this.$element[0].getAttribute(`tabindex`)):this._tabindex=t.GetData(this.$element[0],`old-tabindex`),this.$element[0].getAttribute(`title`)&&n[0].setAttribute(`title`,this.$element[0].getAttribute(`title`)),n[0].setAttribute(`tabindex`,this._tabindex),n[0].setAttribute(`aria-disabled`,`false`),this.$selection=n,n},r.prototype.bind=function(e,t){var r=this,i=e.id+`-results`;this.container=e,this.$selection.on(`focus`,function(e){r.trigger(`focus`,e)}),this.$selection.on(`blur`,function(e){r._handleBlur(e)}),this.$selection.on(`keydown`,function(e){r.trigger(`keypress`,e),e.which===n.SPACE&&e.preventDefault()}),e.on(`results:focus`,function(e){r.$selection[0].setAttribute(`aria-activedescendant`,e.data._resultId)}),e.on(`selection:update`,function(e){r.update(e.data)}),e.on(`open`,function(){r.$selection[0].setAttribute(`aria-expanded`,`true`),r.$selection[0].setAttribute(`aria-owns`,i),r._attachCloseHandler(e)}),e.on(`close`,function(){r.$selection[0].setAttribute(`aria-expanded`,`false`),r.$selection[0].removeAttribute(`aria-activedescendant`),r.$selection[0].removeAttribute(`aria-owns`),r.$selection.trigger(`focus`),r._detachCloseHandler(e)}),e.on(`enable`,function(){r.$selection[0].setAttribute(`tabindex`,r._tabindex),r.$selection[0].setAttribute(`aria-disabled`,`false`)}),e.on(`disable`,function(){r.$selection[0].setAttribute(`tabindex`,`-1`),r.$selection[0].setAttribute(`aria-disabled`,`true`)})},r.prototype._handleBlur=function(t){var n=this;window.setTimeout(function(){document.activeElement==n.$selection[0]||e.contains(n.$selection[0],document.activeElement)||n.trigger(`blur`,t)},1)},r.prototype._attachCloseHandler=function(n){e(document.body).on(`mousedown.select2.`+n.id,function(n){var r=e(n.target).closest(`.select2`);e(`.select2.select2-container--open`).each(function(){this!=r[0]&&t.GetData(this,`element`).select2(`close`)})})},r.prototype._detachCloseHandler=function(t){e(document.body).off(`mousedown.select2.`+t.id)},r.prototype.position=function(e,t){t.find(`.selection`).append(e)},r.prototype.destroy=function(){this._detachCloseHandler(this.container)},r.prototype.update=function(e){throw Error("The `update` method must be defined in child classes.")},r.prototype.isEnabled=function(){return!this.isDisabled()},r.prototype.isDisabled=function(){return this.options.get(`disabled`)},r}),t.define(`select2/selection/single`,[`jquery`,`./base`,`../utils`,`../keys`],function(e,t,n,r){function i(){i.__super__.constructor.apply(this,arguments)}return n.Extend(i,t),i.prototype.render=function(){var e=i.__super__.render.call(this);return e[0].classList.add(`select2-selection--single`),e.html(`<span class="select2-selection__rendered"></span><span class="select2-selection__arrow" role="presentation"><b role="presentation"></b></span>`),e},i.prototype.bind=function(e,t){var n=this;i.__super__.bind.apply(this,arguments);var r=e.id+`-container`,a=this.$selection.find(`.select2-selection__rendered`)[0];a!=null&&(a.setAttribute(`id`,r),a.setAttribute(`role`,`textbox`),a.setAttribute(`aria-readonly`,`true`)),this.$selection[0].setAttribute(`aria-labelledby`,r),this.$selection[0].setAttribute(`aria-controls`,r),this.$selection.on(`mousedown`,function(e){e.which===1&&n.trigger(`toggle`,{originalEvent:e})}),this.$selection.on(`focus`,function(e){}),this.$selection.on(`blur`,function(e){}),e.on(`focus`,function(t){e.isOpen()||n.$selection.trigger(`focus`)})},i.prototype.clear=function(){var e=this.$selection.find(`.select2-selection__rendered`);e.empty(),e[0].removeAttribute(`title`)},i.prototype.display=function(e,t){var n=this.options.get(`templateSelection`);return this.options.get(`escapeMarkup`)(n(e,t))},i.prototype.selectionContainer=function(){return e(`<span></span>`)},i.prototype.update=function(e){if(e.length===0){this.clear();return}var t=e[0],n=this.$selection.find(`.select2-selection__rendered`),r=this.display(t,n);n.empty().append(r);var i=t.title||t.text;i?n[0].setAttribute(`title`,i):n[0].removeAttribute(`title`)},i}),t.define(`select2/selection/multiple`,[`jquery`,`./base`,`../utils`],function(e,t,n){function r(e,t){r.__super__.constructor.apply(this,arguments)}return n.Extend(r,t),r.prototype.render=function(){var e=r.__super__.render.call(this);return e[0].classList.add(`select2-selection--multiple`),e.html(`<ul class="select2-selection__rendered"></ul>`),e},r.prototype.bind=function(t,i){var a=this;r.__super__.bind.apply(this,arguments);var o=t.id+`-container`;this.$selection.find(`.select2-selection__rendered`)[0]?.setAttribute(`id`,o),this.$selection.on(`click`,function(e){a.trigger(`toggle`,{originalEvent:e})}),this.$selection.on(`click`,`.select2-selection__choice__remove`,function(t){if(!a.isDisabled()){var r=e(this).parent(),i=n.GetData(r[0],`data`);a.trigger(`unselect`,{originalEvent:t,data:i})}}),this.$selection.on(`keydown`,`.select2-selection__choice__remove`,function(e){a.isDisabled()||e.stopPropagation()})},r.prototype.clear=function(){var e=this.$selection.find(`.select2-selection__rendered`);e.empty(),e[0].removeAttribute(`title`)},r.prototype.display=function(e,t){var n=this.options.get(`templateSelection`);return this.options.get(`escapeMarkup`)(n(e,t))},r.prototype.selectionContainer=function(){return e(`<li class="select2-selection__choice"><button type="button" class="select2-selection__choice__remove" tabindex="-1"><span aria-hidden="true">×</span></button><span class="select2-selection__choice__display"></span></li>`)},r.prototype.update=function(e){if(this.clear(),e.length!==0){for(var t=[],r=this.$selection.find(`.select2-selection__rendered`)[0].getAttribute(`id`)+`-choice-`,i=0;i<e.length;i++){var a=e[i],o=this.selectionContainer(),s=this.display(a,o),c=r+n.generateChars(4)+`-`;a.id?c+=a.id:c+=n.generateChars(4),o.find(`.select2-selection__choice__display`).append(s)[0].setAttribute(`id`,c);var l=a.title||a.text;l&&o[0].setAttribute(`title`,l);var u=this.options.get(`translations`).get(`removeItem`),d=o.find(`.select2-selection__choice__remove`)[0];d.setAttribute(`title`,u()),d.setAttribute(`aria-label`,u()),d.setAttribute(`aria-describedby`,c),n.StoreData(o[0],`data`,a),t.push(o)}this.$selection.find(`.select2-selection__rendered`).append(t)}},r}),t.define(`select2/selection/placeholder`,[],function(){function e(e,t,n){this.placeholder=this.normalizePlaceholder(n.get(`placeholder`)),e.call(this,t,n)}return e.prototype.normalizePlaceholder=function(e,t){return typeof t!=`object`&&(t={id:``,text:t}),t},e.prototype.createPlaceholder=function(e,t){var n=this.selectionContainer();n.html(this.display(t)),n[0].classList.add(`select2-selection__placeholder`),n[0].classList.remove(`select2-selection__choice`);var r=t.title||t.text||n.text();return this.$selection.find(`.select2-selection__rendered`)[0].setAttribute(`title`,r),n},e.prototype.update=function(e,t){var n=t.length==1&&t[0].id!=this.placeholder.id;if(t.length>1||n)return e.call(this,t);this.clear();var r=this.createPlaceholder(this.placeholder);this.$selection.find(`.select2-selection__rendered`).append(r)},e}),t.define(`select2/selection/allowClear`,[`jquery`,`../keys`,`../utils`],function(e,t,n){function r(){}return r.prototype.bind=function(e,t,n){var r=this;e.call(this,t,n),this.placeholder==null&&this.options.get(`debug`)&&window.console&&console.error&&console.error("Select2: The `allowClear` option should be used in combination with the `placeholder` option."),this.$selection.on(`mousedown`,`.select2-selection__clear`,function(e){r._handleClear(e)}),t.on(`keypress`,function(e){r._handleKeyboardClear(e,t)})},r.prototype._handleClear=function(e,t){if(!this.isDisabled()){var r=this.$selection.find(`.select2-selection__clear`);if(r.length!==0){t.stopPropagation();var i=n.GetData(r[0],`data`),a=this.$element.val();this.$element.val(this.placeholder.id);var o={data:i};if(this.trigger(`clear`,o),o.prevented){this.$element.val(a);return}for(var s=0;s<i.length;s++)if(o={data:i[s]},this.trigger(`unselect`,o),o.prevented){this.$element.val(a);return}this.$element.trigger(`input`).trigger(`change`),this.trigger(`toggle`,{})}}},r.prototype._handleKeyboardClear=function(e,n,r){r.isOpen()||(n.which==t.DELETE||n.which==t.BACKSPACE)&&this._handleClear(n)},r.prototype.update=function(t,r){if(t.call(this,r),this.$selection.find(`.select2-selection__clear`).remove(),this.$selection[0].classList.remove(`select2-selection--clearable`),!(this.$selection.find(`.select2-selection__placeholder`).length>0||r.length===0)){var i=this.$selection.find(`.select2-selection__rendered`)[0],a=null;i!=null&&(a=i.getAttribute(`id`));var o=this.options.get(`translations`).get(`removeAllItems`),s=e(`<button type="button" class="select2-selection__clear" tabindex="-1"><span aria-hidden="true">×</span></button>`);s[0].setAttribute(`title`,o()),s[0].setAttribute(`aria-label`,o()),s[0].setAttribute(`aria-describedby`,a),n.StoreData(s[0],`data`,r),this.$selection.prepend(s),this.$selection[0].classList.add(`select2-selection--clearable`)}},r}),t.define(`select2/selection/search`,[`jquery`,`../utils`,`../keys`],function(e,t,n){function r(e,t,n){e.call(this,t,n)}return r.prototype.render=function(t){var n=this.options.get(`translations`).get(`search`),r=e(`<span class="select2-search select2-search--inline"><textarea class="select2-search__field" type="search" tabindex="-1" autocorrect="off" autocapitalize="none" spellcheck="false" role="searchbox" aria-autocomplete="list" ></textarea></span>`);this.$searchContainer=r,this.$search=r.find(`textarea`),this.$search[0].autocomplete=this.options.get(`autocomplete`),this.$search[0].setAttribute(`aria-label`,n());var i=t.call(this);return this._transferTabIndex(),i.append(this.$searchContainer),i},r.prototype.bind=function(e,r,i){var a=this,o=r.id+`-results`,s=r.id+`-container`;e.call(this,r,i),a.$search[0].setAttribute(`aria-describedby`,s),r.on(`open`,function(){a.$search[0].setAttribute(`aria-controls`,o),a.$search.trigger(`focus`)}),r.on(`close`,function(){a.$search.val(``),a.resizeSearch(),a.$search[0].removeAttribute(`aria-controls`),a.$search[0].removeAttribute(`aria-activedescendant`),a.$search.trigger(`focus`)}),r.on(`enable`,function(){a.$search[0].disabled=!1,a._transferTabIndex()}),r.on(`disable`,function(){a.$search[0].disabled=!0}),r.on(`focus`,function(e){a.$search.trigger(`focus`)}),r.on(`results:focus`,function(e){e.data._resultId?a.$search[0].setAttribute(`aria-activedescendant`,e.data._resultId):a.$search[0].removeAttribute(`aria-activedescendant`)}),this.$selection.on(`focusin`,`.select2-search--inline`,function(e){a.trigger(`focus`,e)}),this.$selection.on(`focusout`,`.select2-search--inline`,function(e){a._handleBlur(e)}),this.$selection.on(`keydown`,`.select2-search--inline`,function(e){if(e.stopPropagation(),a.trigger(`keypress`,e),a._keyUpPrevented=e.isDefaultPrevented(),e.which===n.BACKSPACE&&a.$search.val()===``){var r=a.$selection.find(`.select2-selection__choice`).last();if(r.length>0){var i=t.GetData(r[0],`data`);a.searchRemoveChoice(i),e.preventDefault()}}}),this.$selection.on(`click`,`.select2-search--inline`,function(e){a.$search.val()&&e.stopPropagation()});var c=document.documentMode,l=c&&c<=11;this.$selection.on(`input.searchcheck`,`.select2-search--inline`,function(e){if(l){a.$selection.off(`input.search input.searchcheck`);return}a.$selection.off(`keyup.search`)}),this.$selection.on(`keyup.search input.search`,`.select2-search--inline`,function(e){if(l&&e.type===`input`){a.$selection.off(`input.search input.searchcheck`);return}var t=e.which;t!=n.SHIFT&&t!=n.CTRL&&t!=n.ALT&&t!=n.TAB&&a.handleSearch(e)})},r.prototype._transferTabIndex=function(e){this.$search[0].setAttribute(`tabindex`,this.$selection[0].getAttribute(`tabindex`)),this.$selection[0].setAttribute(`tabindex`,`-1`)},r.prototype.createPlaceholder=function(e,t){this.$search[0].setAttribute(`placeholder`,t.text)},r.prototype.update=function(e,t){var n=this.$search[0]==document.activeElement;this.$search[0].setAttribute(`placeholder`,``),e.call(this,t),this.resizeSearch(),n&&this.$search.trigger(`focus`)},r.prototype.handleSearch=function(){if(this.resizeSearch(),!this._keyUpPrevented){var e=this.$search.val();this.trigger(`query`,{term:e})}this._keyUpPrevented=!1},r.prototype.searchRemoveChoice=function(e,t){this.trigger(`unselect`,{data:t}),this.$search.val(t.text),this.handleSearch()},r.prototype.resizeSearch=function(){this.$search.css(`width`,`25px`);var e=`100%`;this.$search[0].getAttribute(`placeholder`)===``&&(e=(this.$search.val().length+1)*.75+`em`),this.$search.css(`width`,e)},r}),t.define(`select2/selection/selectionCss`,[`../utils`],function(e){function t(){}return t.prototype.render=function(t){var n=t.call(this),r=this.options.get(`selectionCssClass`)||``;return r.indexOf(`:all:`)!==-1&&(r=r.replace(`:all:`,``),e.copyNonInternalCssClasses(n[0],this.$element[0])),r.trim().split(` `).forEach(function(e){e.length>0&&n[0].classList.add(e)}),n},t}),t.define(`select2/selection/eventRelay`,[`jquery`],function(e){function t(){}return t.prototype.bind=function(t,n,r){var i=this,a=[`open`,`opening`,`close`,`closing`,`select`,`selecting`,`unselect`,`unselecting`,`clear`,`clearing`],o=[`opening`,`closing`,`selecting`,`unselecting`,`clearing`];t.call(this,n,r),n.on(`*`,function(t,n){if(a.indexOf(t)!==-1){n||={};var r=e.Event(`select2:`+t,{params:n});i.$element.trigger(r),o.indexOf(t)!==-1&&(n.prevented=r.isDefaultPrevented())}})},t}),t.define(`select2/translation`,[`require`],function(e){function t(e){this.dict=e||{}}return t.prototype.all=function(){return this.dict},t.prototype.get=function(e){return this.dict[e]},t.prototype.extend=function(e){this.dict=Object.assign({},e.all(),this.dict)},t._cache={},t.loadPath=function(n){if(!(n in t._cache)){var r=e(n);t._cache[n]=r}return new t(t._cache[n])},t}),t.define(`select2/diacritics`,[],function(){return{"Ⓐ":`A`,A:`A`,À:`A`,Á:`A`,Â:`A`,Ầ:`A`,Ấ:`A`,Ẫ:`A`,Ẩ:`A`,Ã:`A`,Ā:`A`,Ă:`A`,Ằ:`A`,Ắ:`A`,Ẵ:`A`,Ẳ:`A`,Ȧ:`A`,Ǡ:`A`,Ä:`A`,Ǟ:`A`,Ả:`A`,Å:`A`,Ǻ:`A`,Ǎ:`A`,Ȁ:`A`,Ȃ:`A`,Ạ:`A`,Ậ:`A`,Ặ:`A`,Ḁ:`A`,Ą:`A`,Ⱥ:`A`,Ɐ:`A`,Ꜳ:`AA`,Æ:`AE`,Ǽ:`AE`,Ǣ:`AE`,Ꜵ:`AO`,Ꜷ:`AU`,Ꜹ:`AV`,Ꜻ:`AV`,Ꜽ:`AY`,"Ⓑ":`B`,B:`B`,Ḃ:`B`,Ḅ:`B`,Ḇ:`B`,Ƀ:`B`,Ƃ:`B`,Ɓ:`B`,"Ⓒ":`C`,C:`C`,Ć:`C`,Ĉ:`C`,Ċ:`C`,Č:`C`,Ç:`C`,Ḉ:`C`,Ƈ:`C`,Ȼ:`C`,Ꜿ:`C`,"Ⓓ":`D`,D:`D`,Ḋ:`D`,Ď:`D`,Ḍ:`D`,Ḑ:`D`,Ḓ:`D`,Ḏ:`D`,Đ:`D`,Ƌ:`D`,Ɗ:`D`,Ɖ:`D`,Ꝺ:`D`,DZ:`DZ`,DŽ:`DZ`,Dz:`Dz`,Dž:`Dz`,"Ⓔ":`E`,E:`E`,È:`E`,É:`E`,Ê:`E`,Ề:`E`,Ế:`E`,Ễ:`E`,Ể:`E`,Ẽ:`E`,Ē:`E`,Ḕ:`E`,Ḗ:`E`,Ĕ:`E`,Ė:`E`,Ë:`E`,Ẻ:`E`,Ě:`E`,Ȅ:`E`,Ȇ:`E`,Ẹ:`E`,Ệ:`E`,Ȩ:`E`,Ḝ:`E`,Ę:`E`,Ḙ:`E`,Ḛ:`E`,Ɛ:`E`,Ǝ:`E`,"Ⓕ":`F`,F:`F`,Ḟ:`F`,Ƒ:`F`,Ꝼ:`F`,"Ⓖ":`G`,G:`G`,Ǵ:`G`,Ĝ:`G`,Ḡ:`G`,Ğ:`G`,Ġ:`G`,Ǧ:`G`,Ģ:`G`,Ǥ:`G`,Ɠ:`G`,Ꞡ:`G`,Ᵹ:`G`,Ꝿ:`G`,"Ⓗ":`H`,H:`H`,Ĥ:`H`,Ḣ:`H`,Ḧ:`H`,Ȟ:`H`,Ḥ:`H`,Ḩ:`H`,Ḫ:`H`,Ħ:`H`,Ⱨ:`H`,Ⱶ:`H`,Ɥ:`H`,"Ⓘ":`I`,I:`I`,Ì:`I`,Í:`I`,Î:`I`,Ĩ:`I`,Ī:`I`,Ĭ:`I`,İ:`I`,Ï:`I`,Ḯ:`I`,Ỉ:`I`,Ǐ:`I`,Ȉ:`I`,Ȋ:`I`,Ị:`I`,Į:`I`,Ḭ:`I`,Ɨ:`I`,"Ⓙ":`J`,J:`J`,Ĵ:`J`,Ɉ:`J`,"Ⓚ":`K`,K:`K`,Ḱ:`K`,Ǩ:`K`,Ḳ:`K`,Ķ:`K`,Ḵ:`K`,Ƙ:`K`,Ⱪ:`K`,Ꝁ:`K`,Ꝃ:`K`,Ꝅ:`K`,Ꞣ:`K`,"Ⓛ":`L`,L:`L`,Ŀ:`L`,Ĺ:`L`,Ľ:`L`,Ḷ:`L`,Ḹ:`L`,Ļ:`L`,Ḽ:`L`,Ḻ:`L`,Ł:`L`,Ƚ:`L`,Ɫ:`L`,Ⱡ:`L`,Ꝉ:`L`,Ꝇ:`L`,Ꞁ:`L`,LJ:`LJ`,Lj:`Lj`,"Ⓜ":`M`,M:`M`,Ḿ:`M`,Ṁ:`M`,Ṃ:`M`,Ɱ:`M`,Ɯ:`M`,"Ⓝ":`N`,N:`N`,Ǹ:`N`,Ń:`N`,Ñ:`N`,Ṅ:`N`,Ň:`N`,Ṇ:`N`,Ņ:`N`,Ṋ:`N`,Ṉ:`N`,Ƞ:`N`,Ɲ:`N`,Ꞑ:`N`,Ꞥ:`N`,NJ:`NJ`,Nj:`Nj`,"Ⓞ":`O`,O:`O`,Ò:`O`,Ó:`O`,Ô:`O`,Ồ:`O`,Ố:`O`,Ỗ:`O`,Ổ:`O`,Õ:`O`,Ṍ:`O`,Ȭ:`O`,Ṏ:`O`,Ō:`O`,Ṑ:`O`,Ṓ:`O`,Ŏ:`O`,Ȯ:`O`,Ȱ:`O`,Ö:`O`,Ȫ:`O`,Ỏ:`O`,Ő:`O`,Ǒ:`O`,Ȍ:`O`,Ȏ:`O`,Ơ:`O`,Ờ:`O`,Ớ:`O`,Ỡ:`O`,Ở:`O`,Ợ:`O`,Ọ:`O`,Ộ:`O`,Ǫ:`O`,Ǭ:`O`,Ø:`O`,Ǿ:`O`,Ɔ:`O`,Ɵ:`O`,Ꝋ:`O`,Ꝍ:`O`,Œ:`OE`,Ƣ:`OI`,Ꝏ:`OO`,Ȣ:`OU`,"Ⓟ":`P`,P:`P`,Ṕ:`P`,Ṗ:`P`,Ƥ:`P`,Ᵽ:`P`,Ꝑ:`P`,Ꝓ:`P`,Ꝕ:`P`,"Ⓠ":`Q`,Q:`Q`,Ꝗ:`Q`,Ꝙ:`Q`,Ɋ:`Q`,"Ⓡ":`R`,R:`R`,Ŕ:`R`,Ṙ:`R`,Ř:`R`,Ȑ:`R`,Ȓ:`R`,Ṛ:`R`,Ṝ:`R`,Ŗ:`R`,Ṟ:`R`,Ɍ:`R`,Ɽ:`R`,Ꝛ:`R`,Ꞧ:`R`,Ꞃ:`R`,"Ⓢ":`S`,S:`S`,ẞ:`S`,Ś:`S`,Ṥ:`S`,Ŝ:`S`,Ṡ:`S`,Š:`S`,Ṧ:`S`,Ṣ:`S`,Ṩ:`S`,Ș:`S`,Ş:`S`,Ȿ:`S`,Ꞩ:`S`,Ꞅ:`S`,"Ⓣ":`T`,T:`T`,Ṫ:`T`,Ť:`T`,Ṭ:`T`,Ț:`T`,Ţ:`T`,Ṱ:`T`,Ṯ:`T`,Ŧ:`T`,Ƭ:`T`,Ʈ:`T`,Ⱦ:`T`,Ꞇ:`T`,Ꜩ:`TZ`,"Ⓤ":`U`,U:`U`,Ù:`U`,Ú:`U`,Û:`U`,Ũ:`U`,Ṹ:`U`,Ū:`U`,Ṻ:`U`,Ŭ:`U`,Ü:`U`,Ǜ:`U`,Ǘ:`U`,Ǖ:`U`,Ǚ:`U`,Ủ:`U`,Ů:`U`,Ű:`U`,Ǔ:`U`,Ȕ:`U`,Ȗ:`U`,Ư:`U`,Ừ:`U`,Ứ:`U`,Ữ:`U`,Ử:`U`,Ự:`U`,Ụ:`U`,Ṳ:`U`,Ų:`U`,Ṷ:`U`,Ṵ:`U`,Ʉ:`U`,"Ⓥ":`V`,V:`V`,Ṽ:`V`,Ṿ:`V`,Ʋ:`V`,Ꝟ:`V`,Ʌ:`V`,Ꝡ:`VY`,"Ⓦ":`W`,W:`W`,Ẁ:`W`,Ẃ:`W`,Ŵ:`W`,Ẇ:`W`,Ẅ:`W`,Ẉ:`W`,Ⱳ:`W`,"Ⓧ":`X`,X:`X`,Ẋ:`X`,Ẍ:`X`,"Ⓨ":`Y`,Y:`Y`,Ỳ:`Y`,Ý:`Y`,Ŷ:`Y`,Ỹ:`Y`,Ȳ:`Y`,Ẏ:`Y`,Ÿ:`Y`,Ỷ:`Y`,Ỵ:`Y`,Ƴ:`Y`,Ɏ:`Y`,Ỿ:`Y`,"Ⓩ":`Z`,Z:`Z`,Ź:`Z`,Ẑ:`Z`,Ż:`Z`,Ž:`Z`,Ẓ:`Z`,Ẕ:`Z`,Ƶ:`Z`,Ȥ:`Z`,Ɀ:`Z`,Ⱬ:`Z`,Ꝣ:`Z`,"ⓐ":`a`,a:`a`,ẚ:`a`,à:`a`,á:`a`,â:`a`,ầ:`a`,ấ:`a`,ẫ:`a`,ẩ:`a`,ã:`a`,ā:`a`,ă:`a`,ằ:`a`,ắ:`a`,ẵ:`a`,ẳ:`a`,ȧ:`a`,ǡ:`a`,ä:`a`,ǟ:`a`,ả:`a`,å:`a`,ǻ:`a`,ǎ:`a`,ȁ:`a`,ȃ:`a`,ạ:`a`,ậ:`a`,ặ:`a`,ḁ:`a`,ą:`a`,ⱥ:`a`,ɐ:`a`,ꜳ:`aa`,æ:`ae`,ǽ:`ae`,ǣ:`ae`,ꜵ:`ao`,ꜷ:`au`,ꜹ:`av`,ꜻ:`av`,ꜽ:`ay`,"ⓑ":`b`,b:`b`,ḃ:`b`,ḅ:`b`,ḇ:`b`,ƀ:`b`,ƃ:`b`,ɓ:`b`,"ⓒ":`c`,c:`c`,ć:`c`,ĉ:`c`,ċ:`c`,č:`c`,ç:`c`,ḉ:`c`,ƈ:`c`,ȼ:`c`,ꜿ:`c`,ↄ:`c`,"ⓓ":`d`,d:`d`,ḋ:`d`,ď:`d`,ḍ:`d`,ḑ:`d`,ḓ:`d`,ḏ:`d`,đ:`d`,ƌ:`d`,ɖ:`d`,ɗ:`d`,ꝺ:`d`,dz:`dz`,dž:`dz`,"ⓔ":`e`,e:`e`,è:`e`,é:`e`,ê:`e`,ề:`e`,ế:`e`,ễ:`e`,ể:`e`,ẽ:`e`,ē:`e`,ḕ:`e`,ḗ:`e`,ĕ:`e`,ė:`e`,ë:`e`,ẻ:`e`,ě:`e`,ȅ:`e`,ȇ:`e`,ẹ:`e`,ệ:`e`,ȩ:`e`,ḝ:`e`,ę:`e`,ḙ:`e`,ḛ:`e`,ɇ:`e`,ɛ:`e`,ǝ:`e`,"ⓕ":`f`,f:`f`,ḟ:`f`,ƒ:`f`,ꝼ:`f`,"ⓖ":`g`,g:`g`,ǵ:`g`,ĝ:`g`,ḡ:`g`,ğ:`g`,ġ:`g`,ǧ:`g`,ģ:`g`,ǥ:`g`,ɠ:`g`,ꞡ:`g`,ᵹ:`g`,ꝿ:`g`,"ⓗ":`h`,h:`h`,ĥ:`h`,ḣ:`h`,ḧ:`h`,ȟ:`h`,ḥ:`h`,ḩ:`h`,ḫ:`h`,ẖ:`h`,ħ:`h`,ⱨ:`h`,ⱶ:`h`,ɥ:`h`,ƕ:`hv`,"ⓘ":`i`,i:`i`,ì:`i`,í:`i`,î:`i`,ĩ:`i`,ī:`i`,ĭ:`i`,ï:`i`,ḯ:`i`,ỉ:`i`,ǐ:`i`,ȉ:`i`,ȋ:`i`,ị:`i`,į:`i`,ḭ:`i`,ɨ:`i`,ı:`i`,"ⓙ":`j`,j:`j`,ĵ:`j`,ǰ:`j`,ɉ:`j`,"ⓚ":`k`,k:`k`,ḱ:`k`,ǩ:`k`,ḳ:`k`,ķ:`k`,ḵ:`k`,ƙ:`k`,ⱪ:`k`,ꝁ:`k`,ꝃ:`k`,ꝅ:`k`,ꞣ:`k`,"ⓛ":`l`,l:`l`,ŀ:`l`,ĺ:`l`,ľ:`l`,ḷ:`l`,ḹ:`l`,ļ:`l`,ḽ:`l`,ḻ:`l`,ſ:`l`,ł:`l`,ƚ:`l`,ɫ:`l`,ⱡ:`l`,ꝉ:`l`,ꞁ:`l`,ꝇ:`l`,lj:`lj`,"ⓜ":`m`,m:`m`,ḿ:`m`,ṁ:`m`,ṃ:`m`,ɱ:`m`,ɯ:`m`,"ⓝ":`n`,n:`n`,ǹ:`n`,ń:`n`,ñ:`n`,ṅ:`n`,ň:`n`,ṇ:`n`,ņ:`n`,ṋ:`n`,ṉ:`n`,ƞ:`n`,ɲ:`n`,ʼn:`n`,ꞑ:`n`,ꞥ:`n`,nj:`nj`,"ⓞ":`o`,o:`o`,ò:`o`,ó:`o`,ô:`o`,ồ:`o`,ố:`o`,ỗ:`o`,ổ:`o`,õ:`o`,ṍ:`o`,ȭ:`o`,ṏ:`o`,ō:`o`,ṑ:`o`,ṓ:`o`,ŏ:`o`,ȯ:`o`,ȱ:`o`,ö:`o`,ȫ:`o`,ỏ:`o`,ő:`o`,ǒ:`o`,ȍ:`o`,ȏ:`o`,ơ:`o`,ờ:`o`,ớ:`o`,ỡ:`o`,ở:`o`,ợ:`o`,ọ:`o`,ộ:`o`,ǫ:`o`,ǭ:`o`,ø:`o`,ǿ:`o`,ɔ:`o`,ꝋ:`o`,ꝍ:`o`,ɵ:`o`,œ:`oe`,ƣ:`oi`,ȣ:`ou`,ꝏ:`oo`,"ⓟ":`p`,p:`p`,ṕ:`p`,ṗ:`p`,ƥ:`p`,ᵽ:`p`,ꝑ:`p`,ꝓ:`p`,ꝕ:`p`,"ⓠ":`q`,q:`q`,ɋ:`q`,ꝗ:`q`,ꝙ:`q`,"ⓡ":`r`,r:`r`,ŕ:`r`,ṙ:`r`,ř:`r`,ȑ:`r`,ȓ:`r`,ṛ:`r`,ṝ:`r`,ŗ:`r`,ṟ:`r`,ɍ:`r`,ɽ:`r`,ꝛ:`r`,ꞧ:`r`,ꞃ:`r`,"ⓢ":`s`,s:`s`,ß:`s`,ś:`s`,ṥ:`s`,ŝ:`s`,ṡ:`s`,š:`s`,ṧ:`s`,ṣ:`s`,ṩ:`s`,ș:`s`,ş:`s`,ȿ:`s`,ꞩ:`s`,ꞅ:`s`,ẛ:`s`,"ⓣ":`t`,t:`t`,ṫ:`t`,ẗ:`t`,ť:`t`,ṭ:`t`,ț:`t`,ţ:`t`,ṱ:`t`,ṯ:`t`,ŧ:`t`,ƭ:`t`,ʈ:`t`,ⱦ:`t`,ꞇ:`t`,ꜩ:`tz`,"ⓤ":`u`,u:`u`,ù:`u`,ú:`u`,û:`u`,ũ:`u`,ṹ:`u`,ū:`u`,ṻ:`u`,ŭ:`u`,ü:`u`,ǜ:`u`,ǘ:`u`,ǖ:`u`,ǚ:`u`,ủ:`u`,ů:`u`,ű:`u`,ǔ:`u`,ȕ:`u`,ȗ:`u`,ư:`u`,ừ:`u`,ứ:`u`,ữ:`u`,ử:`u`,ự:`u`,ụ:`u`,ṳ:`u`,ų:`u`,ṷ:`u`,ṵ:`u`,ʉ:`u`,"ⓥ":`v`,v:`v`,ṽ:`v`,ṿ:`v`,ʋ:`v`,ꝟ:`v`,ʌ:`v`,ꝡ:`vy`,"ⓦ":`w`,w:`w`,ẁ:`w`,ẃ:`w`,ŵ:`w`,ẇ:`w`,ẅ:`w`,ẘ:`w`,ẉ:`w`,ⱳ:`w`,"ⓧ":`x`,x:`x`,ẋ:`x`,ẍ:`x`,"ⓨ":`y`,y:`y`,ỳ:`y`,ý:`y`,ŷ:`y`,ỹ:`y`,ȳ:`y`,ẏ:`y`,ÿ:`y`,ỷ:`y`,ẙ:`y`,ỵ:`y`,ƴ:`y`,ɏ:`y`,ỿ:`y`,"ⓩ":`z`,z:`z`,ź:`z`,ẑ:`z`,ż:`z`,ž:`z`,ẓ:`z`,ẕ:`z`,ƶ:`z`,ȥ:`z`,ɀ:`z`,ⱬ:`z`,ꝣ:`z`,Ά:`Α`,Έ:`Ε`,Ή:`Η`,Ί:`Ι`,Ϊ:`Ι`,Ό:`Ο`,Ύ:`Υ`,Ϋ:`Υ`,Ώ:`Ω`,ά:`α`,έ:`ε`,ή:`η`,ί:`ι`,ϊ:`ι`,ΐ:`ι`,ό:`ο`,ύ:`υ`,ϋ:`υ`,ΰ:`υ`,ώ:`ω`,ς:`σ`,"’":`'`}}),t.define(`select2/data/base`,[`../utils`],function(e){function t(e,n){t.__super__.constructor.call(this)}return e.Extend(t,e.Observable),t.prototype.current=function(e){throw Error("The `current` method must be defined in child classes.")},t.prototype.query=function(e,t){throw Error("The `query` method must be defined in child classes.")},t.prototype.bind=function(e,t){},t.prototype.destroy=function(){},t.prototype.generateResultId=function(t,n){var r=t.id+`-result-`;return r+=e.generateChars(4),n.id==null?r+=`-`+e.generateChars(4):r+=`-`+n.id.toString(),r},t}),t.define(`select2/data/select`,[`./base`,`../utils`,`jquery`],function(e,t,n){function r(e,t){this.$element=e,this.options=t,r.__super__.constructor.call(this)}return t.Extend(r,e),r.prototype.current=function(e){var t=this;e(Array.prototype.map.call(this.$element[0].querySelectorAll(`:checked`),function(e){return t.item(n(e))}))},r.prototype.select=function(e){var t=this;if(e.selected=!0,e.element!=null&&e.element.tagName.toLowerCase()===`option`){e.element.selected=!0,this.$element.trigger(`input`).trigger(`change`);return}if(this.$element[0].multiple)this.current(function(n){var r=[];e=[e],e.push.apply(e,n);for(var i=0;i<e.length;i++){var a=e[i].id;r.indexOf(a)===-1&&r.push(a)}t.$element.val(r),t.$element.trigger(`input`).trigger(`change`)});else{var n=e.id;this.$element.val(n),this.$element.trigger(`input`).trigger(`change`)}},r.prototype.unselect=function(e){var t=this;if(this.$element[0].multiple){if(e.selected=!1,e.element!=null&&e.element.tagName.toLowerCase()===`option`){e.element.selected=!1,this.$element.trigger(`input`).trigger(`change`);return}this.current(function(n){for(var r=[],i=0;i<n.length;i++){var a=n[i].id;a!==e.id&&r.indexOf(a)===-1&&r.push(a)}t.$element.val(r),t.$element.trigger(`input`).trigger(`change`)})}},r.prototype.bind=function(e,t){var n=this;this.container=e,e.on(`select`,function(e){n.select(e.data)}),e.on(`unselect`,function(e){n.unselect(e.data)})},r.prototype.destroy=function(){this.$element.find(`*`).each(function(){t.RemoveData(this)})},r.prototype.query=function(e,t){var r=[],i=this;this.$element.children().each(function(){if(this.tagName.toLowerCase()===`option`||this.tagName.toLowerCase()===`optgroup`){var t=n(this),a=i.item(t),o=i.matches(e,a);o!==null&&r.push(o)}}),t({results:r})},r.prototype.addOptions=function(e){this.$element.append(e)},r.prototype.option=function(e){var r;e.children?(r=document.createElement(`optgroup`),r.label=e.text):(r=document.createElement(`option`),r.textContent===void 0?r.innerText=e.text:r.textContent=e.text),e.id!==void 0&&(r.value=e.id),e.disabled&&(r.disabled=!0),e.selected&&(r.selected=!0),e.title&&(r.title=e.title);var i=this._normalizeItem(e);return i.element=r,t.StoreData(r,`data`,i),n(r)},r.prototype.item=function(e){var r={};if(r=t.GetData(e[0],`data`),r!=null)return r;var i=e[0];if(i.tagName.toLowerCase()===`option`)r={id:e.val(),text:e.text(),disabled:e[0].disabled,selected:e[0].selected,title:e[0].title};else if(i.tagName.toLowerCase()===`optgroup`){r={text:e[0].label,children:[],title:e[0].title};for(var a=e.children(`option`),o=[],s=0;s<a.length;s++){var c=n(a[s]),l=this.item(c);o.push(l)}r.children=o}return r=this._normalizeItem(r),r.element=e[0],t.StoreData(e[0],`data`,r),r},r.prototype._normalizeItem=function(e){return e!==Object(e)&&(e={id:e,text:e}),e=n.extend({},{text:``},e),e.id!=null&&(e.id=e.id.toString()),e.text!=null&&(e.text=e.text.toString()),e._resultId==null&&e.id&&this.container!=null&&(e._resultId=this.generateResultId(this.container,e)),e.children&&(e.children=e.children.map(r.prototype._normalizeItem)),n.extend({},{selected:!1,disabled:!1},e)},r.prototype.matches=function(e,t){return this.options.get(`matcher`)(e,t)},r}),t.define(`select2/data/array`,[`./select`,`../utils`,`jquery`],function(e,t,n){function r(e,t){this._dataToConvert=t.get(`data`)||[],r.__super__.constructor.call(this,e,t)}return t.Extend(r,e),r.prototype.bind=function(e,t){r.__super__.bind.call(this,e,t),this.addOptions(this.convertToOptions(this._dataToConvert))},r.prototype.select=function(e){var t=this.$element.find(`option`).filter(function(t,n){return n.value==e.id.toString()});t.length===0&&(t=this.option(e),this.addOptions(t)),r.__super__.select.call(this,e)},r.prototype.convertToOptions=function(e){var t=this,r=this.$element.find(`option`),i=r.map(function(){return t.item(n(this)).id}).get(),a=[];function o(e){return function(){return n(this).val()==e.id}}for(var s=0;s<e.length;s++){var c=this._normalizeItem(e[s]);if(i.indexOf(c.id)>=0){var l=r.filter(o(c)),u=this.item(l),d=n.extend(!0,{},c,u),f=this.option(d);l.replaceWith(f);continue}var p=this.option(c);if(c.children){var m=this.convertToOptions(c.children);p.append(m)}a.push(p)}return a},r}),t.define(`select2/data/ajax`,[`./array`,`../utils`,`jquery`],function(e,t,n){function r(e,t){this.ajaxOptions=this._applyDefaults(t.get(`ajax`)),this.ajaxOptions.processResults!=null&&(this.processResults=this.ajaxOptions.processResults),r.__super__.constructor.call(this,e,t)}return t.Extend(r,e),r.prototype._applyDefaults=function(e){return n.extend({},{data:function(e){return n.extend({},e,{q:e.term})},transport:function(e,t,r){var i=n.ajax(e);return i.then(t),i.fail(r),i}},e,!0)},r.prototype.processResults=function(e){return e},r.prototype.query=function(e,t){var i=this;this._request!=null&&(typeof this._request.abort==`function`&&this._request.abort(),this._request=null);var a=n.extend({type:`GET`},this.ajaxOptions);typeof a.url==`function`&&(a.url=a.url.call(this.$element,e)),typeof a.data==`function`&&(a.data=a.data.call(this.$element,e));function o(){var n=a.transport(a,function(n){var a=i.processResults(n,e);a&&a.results&&Array.isArray(a.results)?a.results=a.results.map(r.prototype._normalizeItem):i.options.get(`debug`)&&window.console&&console.error&&console.error("Select2: The AJAX results did not return an array in the `results` key of the response."),t(a)},function(){n&&`status`in n&&(n.status===0||n.status===`0`)||i.trigger(`results:message`,{message:`errorLoading`})});i._request=n}this.ajaxOptions.delay&&e.term!=null?(this._queryTimeout&&window.clearTimeout(this._queryTimeout),this._queryTimeout=window.setTimeout(o,this.ajaxOptions.delay)):o()},r}),t.define(`select2/data/tags`,[`jquery`],function(e){function t(e,t,n){var r=n.get(`tags`),i=n.get(`createTag`);i!==void 0&&(this.createTag=i);var a=n.get(`insertTag`);if(a!==void 0&&(this.insertTag=a),e.call(this,t,n),Array.isArray(r))for(var o=0;o<r.length;o++){var s=r[o],c=this._normalizeItem(s),l=this.option(c);this.$element.append(l)}}return t.prototype.query=function(e,t,n){var r=this;if(this._removeOldTags(),t.term==null||t.page!=null){e.call(this,t,n);return}function i(e,a){for(var o=e.results,s=0;s<o.length;s++){var c=o[s],l=c.children!=null&&!i({results:c.children},!0);if((c.text||``).toUpperCase()===(t.term||``).toUpperCase()||l){if(a)return!1;e.data=o,n(e);return}}if(a)return!0;var u=r.createTag(t);if(u!=null){var d=r.option(u);d[0].setAttribute(`data-select2-tag`,`true`),r.addOptions([d]),r.insertTag(o,u)}e.results=o,n(e)}e.call(this,t,i)},t.prototype.createTag=function(e,t){if(t.term==null)return null;var n=t.term.trim();return n===``?null:{id:n,text:n}},t.prototype.insertTag=function(e,t,n){t.unshift(n)},t.prototype._removeOldTags=function(t){this.$element.find(`option[data-select2-tag]`).each(function(){this.selected||e(this).remove()})},t}),t.define(`select2/data/tokenizer`,[`jquery`],function(e){function t(e,t,n){var r=n.get(`tokenizer`);r!==void 0&&(this.tokenizer=r),e.call(this,t,n)}return t.prototype.bind=function(e,t,n){e.call(this,t,n),this.$search=t.dropdown.$search||t.selection.$search||n.find(`.select2-search__field`)},t.prototype.query=function(t,n,r){var i=this;function a(t){var n=i._normalizeItem(t);if(!i.$element.find(`option`).filter(function(){return e(this).val()===n.id}).length){var r=i.option(n);r[0].setAttribute(`data-select2-tag`,!0),i._removeOldTags(),i.addOptions([r])}o(n)}function o(e){i.trigger(`select`,{data:e})}n.term=n.term||``;var s=this.tokenizer(n,this.options,a);s.term!==n.term&&(this.$search.length&&(this.$search.val(s.term),this.$search.trigger(`focus`)),n.term=s.term),t.call(this,n,r)},t.prototype.tokenizer=function(t,n,r,i){for(var a=r.get(`tokenSeparators`)||[],o=n.term,s=0,c=this.createTag||function(e){return{id:e.term,text:e.term}};s<o.length;){var l=o[s];if(a.indexOf(l)===-1){s++;continue}var u=o.substr(0,s),d=c(e.extend({},n,{term:u}));if(d==null){s++;continue}i(d),o=o.substr(s+1)||``,s=0}return{term:o}},t}),t.define(`select2/data/minimumInputLength`,[],function(){function e(e,t,n){this.minimumInputLength=n.get(`minimumInputLength`),e.call(this,t,n)}return e.prototype.query=function(e,t,n){if(t.term=t.term||``,t.term.length<this.minimumInputLength){this.trigger(`results:message`,{message:`inputTooShort`,args:{minimum:this.minimumInputLength,input:t.term,params:t}});return}e.call(this,t,n)},e}),t.define(`select2/data/maximumInputLength`,[],function(){function e(e,t,n){this.maximumInputLength=n.get(`maximumInputLength`),e.call(this,t,n)}return e.prototype.query=function(e,t,n){if(t.term=t.term||``,this.maximumInputLength>0&&t.term.length>this.maximumInputLength){this.trigger(`results:message`,{message:`inputTooLong`,args:{maximum:this.maximumInputLength,input:t.term,params:t}});return}e.call(this,t,n)},e}),t.define(`select2/data/maximumSelectionLength`,[],function(){function e(e,t,n){this.maximumSelectionLength=n.get(`maximumSelectionLength`),e.call(this,t,n)}return e.prototype.bind=function(e,t,n){var r=this;e.call(this,t,n),t.on(`select`,function(){r._checkIfMaximumSelected()})},e.prototype.query=function(e,t,n){var r=this;this._checkIfMaximumSelected(function(){e.call(r,t,n)})},e.prototype._checkIfMaximumSelected=function(e,t){var n=this;this.current(function(e){var r=e==null?0:e.length;if(n.maximumSelectionLength>0&&r>=n.maximumSelectionLength){n.trigger(`results:message`,{message:`maximumSelected`,args:{maximum:n.maximumSelectionLength}});return}t&&t()})},e}),t.define(`select2/dropdown`,[`jquery`,`./utils`],function(e,t){function n(e,t){this.$element=e,this.options=t,n.__super__.constructor.call(this)}return t.Extend(n,t.Observable),n.prototype.render=function(){var t=e(`<span class="select2-dropdown"><span class="select2-results"></span></span>`);return t[0].setAttribute(`dir`,this.options.get(`dir`)),this.$dropdown=t,t},n.prototype.bind=function(){},n.prototype.position=function(e,t){},n.prototype.destroy=function(){this.$dropdown.remove()},n}),t.define(`select2/dropdown/search`,[`jquery`],function(e){function t(){}return t.prototype.render=function(t){var n=t.call(this),r=this.options.get(`translations`).get(`search`),i=e(`<span class="select2-search select2-search--dropdown"><input class="select2-search__field" type="search" tabindex="-1" autocorrect="off" autocapitalize="none" spellcheck="false" role="searchbox" aria-autocomplete="list" /></span>`);return this.$searchContainer=i,this.$search=i.find(`input`),this.$search[0].autocomplete=this.options.get(`autocomplete`),this.$search[0].setAttribute(`aria-label`,r()),n.prepend(i),n},t.prototype.bind=function(t,n,r){var i=this,a=n.id+`-results`;t.call(this,n,r),this.$search.on(`keydown`,function(e){i.trigger(`keypress`,e),i._keyUpPrevented=e.isDefaultPrevented()}),this.$search.on(`input`,function(t){e(this).off(`keyup`)}),this.$search.on(`keyup input`,function(e){i.handleSearch(e)}),n.on(`open`,function(){i.$search[0].setAttribute(`tabindex`,0),i.$search[0].setAttribute(`aria-controls`,a),i.$search.trigger(`focus`),window.setTimeout(function(){i.$search.trigger(`focus`)},0)}),n.on(`close`,function(){i.$search[0].setAttribute(`tabindex`,-1),i.$search[0].removeAttribute(`aria-controls`),i.$search[0].removeAttribute(`aria-activedescendant`),i.$search.val(``),i.$search.trigger(`blur`)}),n.on(`focus`,function(){n.isOpen()||i.$search.trigger(`focus`)}),n.on(`results:all`,function(e){(e.query.term==null||e.query.term===``)&&(i.showSearch(e)?i.$searchContainer[0].classList.remove(`select2-search--hide`):i.$searchContainer[0].classList.add(`select2-search--hide`))}),n.on(`results:focus`,function(e){e.data._resultId?i.$search[0].setAttribute(`aria-activedescendant`,e.data._resultId):i.$search[0].removeAttribute(`aria-activedescendant`)})},t.prototype.handleSearch=function(e){if(!this._keyUpPrevented){var t=this.$search.val();this.trigger(`query`,{term:t})}this._keyUpPrevented=!1},t.prototype.showSearch=function(e,t){return!0},t}),t.define(`select2/dropdown/hidePlaceholder`,[],function(){function e(e,t,n,r){this.placeholder=this.normalizePlaceholder(n.get(`placeholder`)),e.call(this,t,n,r)}return e.prototype.append=function(e,t){t.results=this.removePlaceholder(t.results),e.call(this,t)},e.prototype.normalizePlaceholder=function(e,t){return typeof t!=`object`&&(t={id:``,text:t}),t},e.prototype.removePlaceholder=function(e,t){for(var n=t.slice(0),r=t.length-1;r>=0;r--){var i=t[r];this.placeholder.id===i.id&&n.splice(r,1)}return n},e}),t.define(`select2/dropdown/infiniteScroll`,[`jquery`],function(e){function t(e,t,n,r){this.lastParams={},e.call(this,t,n,r),this.$loadingMore=this.createLoadingMore(),this.loading=!1}return t.prototype.append=function(e,t){this.$loadingMore.remove(),this.loading=!1,e.call(this,t),this.showLoadingMore(t)&&(this.$results.append(this.$loadingMore),this.loadMoreIfNeeded())},t.prototype.bind=function(e,t,n){var r=this;e.call(this,t,n),t.on(`query`,function(e){r.lastParams=e,r.loading=!0}),t.on(`query:append`,function(e){r.lastParams=e,r.loading=!0}),this.$results.on(`scroll`,this.loadMoreIfNeeded.bind(this))},t.prototype.loadMoreIfNeeded=function(){var t=e.contains(document.documentElement,this.$loadingMore[0]);if(!this.loading&&t){var n=this.$results.offset().top+this.$results.outerHeight(!1),r=this.$loadingMore.offset().top+this.$loadingMore.outerHeight(!1);n+50>=r&&this.loadMore()}},t.prototype.loadMore=function(){this.loading=!0;var t=e.extend({},{page:1},this.lastParams);t.page++,this.trigger(`query:append`,t)},t.prototype.showLoadingMore=function(e,t){return t.pagination&&t.pagination.more},t.prototype.createLoadingMore=function(){var t=e(`<li class="select2-results__option select2-results__option--load-more"role="option" aria-disabled="true"></li>`),n=this.options.get(`translations`).get(`loadingMore`);return t.html(n(this.lastParams)),t},t}),t.define(`select2/dropdown/attachBody`,[`jquery`,`../utils`],function(e,t){function n(t,n,r){this.$dropdownParent=e(r.get(`dropdownParent`)||document.body),t.call(this,n,r)}return n.prototype.bind=function(e,t,n){var r=this;e.call(this,t,n),t.on(`open`,function(){r._showDropdown(),r._attachPositioningHandler(t),r._bindContainerResultHandlers(t)}),t.on(`close`,function(){r._hideDropdown(),r._detachPositioningHandler(t)}),this.$dropdownContainer.on(`mousedown`,function(e){e.stopPropagation()})},n.prototype.destroy=function(e){e.call(this),this.$dropdownContainer.remove()},n.prototype.position=function(e,t,n){t[0].setAttribute(`class`,n[0].getAttribute(`class`)),t[0].classList.remove(`select2`),t[0].classList.add(`select2-container--open`),t.css({position:`absolute`,top:-999999}),this.$container=n},n.prototype.render=function(t){var n=e(`<span></span>`),r=t.call(this);return n.append(r),this.$dropdownContainer=n,n},n.prototype._hideDropdown=function(e){this.$dropdownContainer.detach()},n.prototype._bindContainerResultHandlers=function(e,t){if(!this._containerResultsHandlersBound){var n=this;t.on(`results:all`,function(){n._positionDropdown(),n._resizeDropdown()}),t.on(`results:append`,function(){n._positionDropdown(),n._resizeDropdown()}),t.on(`results:message`,function(){n._positionDropdown(),n._resizeDropdown()}),t.on(`select`,function(){n._positionDropdown(),n._resizeDropdown()}),t.on(`unselect`,function(){n._positionDropdown(),n._resizeDropdown()}),this._containerResultsHandlersBound=!0}},n.prototype._attachPositioningHandler=function(n,r){var i=this,a=`scroll.select2.`+r.id,o=`resize.select2.`+r.id,s=`orientationchange.select2.`+r.id,c=this.$container.parents().filter(t.hasScroll);c.each(function(){t.StoreData(this,`select2-scroll-position`,{x:e(this).scrollLeft(),y:e(this).scrollTop()})}),c.on(a,function(n){var r=t.GetData(this,`select2-scroll-position`);e(this).scrollTop(r.y)}),e(window).on(a+` `+o+` `+s,function(e){i._positionDropdown(),i._resizeDropdown()})},n.prototype._detachPositioningHandler=function(n,r){var i=`scroll.select2.`+r.id,a=`resize.select2.`+r.id,o=`orientationchange.select2.`+r.id;this.$container.parents().filter(t.hasScroll).off(i),e(window).off(i+` `+a+` `+o)},n.prototype._positionDropdown=function(){var t=e(window),n=this.$dropdown[0].classList.contains(`select2-dropdown--above`),r=this.$dropdown[0].classList.contains(`select2-dropdown--below`),i=null,a=this.$container.offset();a.bottom=a.top+this.$container.outerHeight(!1);var o={height:this.$container.outerHeight(!1)};o.top=a.top,o.bottom=a.top+o.height;var s={height:this.$dropdown.outerHeight(!1)},c={top:t.scrollTop(),bottom:t.scrollTop()+t.height()},l=c.top<a.top-s.height,u=c.bottom>a.bottom+s.height,d={left:a.left,top:o.bottom},f=this.$dropdownParent;f.css(`position`)===`static`&&(f=f.offsetParent());var p={top:0,left:0};(e.contains(document.body,f[0])||f[0].isConnected)&&(p=f.offset()),d.top-=p.top,d.left-=p.left,!n&&!r&&(i=`below`),!u&&l&&!n?i=`above`:!l&&u&&n&&(i=`below`),(i==`above`||n&&i!==`below`)&&(d.top=o.top-p.top-s.height),i!=null&&(this.$dropdown[0].classList.remove(`select2-dropdown--below`),this.$dropdown[0].classList.remove(`select2-dropdown--above`),this.$dropdown[0].classList.add(`select2-dropdown--`+i),this.$container[0].classList.remove(`select2-container--below`),this.$container[0].classList.remove(`select2-container--above`),this.$container[0].classList.add(`select2-container--`+i)),this.$dropdownContainer.css(d)},n.prototype._resizeDropdown=function(){var e={width:this.$container.outerWidth(!1)+`px`};this.options.get(`dropdownAutoWidth`)&&(e.minWidth=e.width,e.position=`relative`,e.width=`auto`),this.$dropdown.css(e)},n.prototype._showDropdown=function(e){this.$dropdownContainer.appendTo(this.$dropdownParent),this._positionDropdown(),this._resizeDropdown()},n}),t.define(`select2/dropdown/minimumResultsForSearch`,[],function(){function e(t){for(var n=0,r=0;r<t.length;r++){var i=t[r];i.children?n+=e(i.children):n++}return n}function t(e,t,n,r){this.minimumResultsForSearch=n.get(`minimumResultsForSearch`),this.minimumResultsForSearch<0&&(this.minimumResultsForSearch=1/0),e.call(this,t,n,r)}return t.prototype.showSearch=function(t,n){return e(n.data.results)<this.minimumResultsForSearch?!1:t.call(this,n)},t}),t.define(`select2/dropdown/selectOnClose`,[`../utils`],function(e){function t(){}return t.prototype.bind=function(e,t,n){var r=this;e.call(this,t,n),t.on(`close`,function(e){r._handleSelectOnClose(e)})},t.prototype._handleSelectOnClose=function(t,n){if(n&&n.originalSelect2Event!=null){var r=n.originalSelect2Event;if(r._type===`select`||r._type===`unselect`)return}var i=this.getHighlightedResults();if(!(i.length<1)){var a=e.GetData(i[0],`data`);a.element!=null&&a.element.selected||a.element==null&&a.selected||this.trigger(`select`,{data:a})}},t}),t.define(`select2/dropdown/closeOnSelect`,[],function(){function e(){}return e.prototype.bind=function(e,t,n){var r=this;e.call(this,t,n),t.on(`select`,function(e){r._selectTriggered(e)}),t.on(`unselect`,function(e){r._selectTriggered(e)})},e.prototype._selectTriggered=function(e,t){var n=t.originalEvent;n&&(n.ctrlKey||n.metaKey)||this.trigger(`close`,{originalEvent:n,originalSelect2Event:t})},e}),t.define(`select2/dropdown/dropdownCss`,[`../utils`],function(e){function t(){}return t.prototype.render=function(t){var n=t.call(this),r=this.options.get(`dropdownCssClass`)||``;return r.indexOf(`:all:`)!==-1&&(r=r.replace(`:all:`,``),e.copyNonInternalCssClasses(n[0],this.$element[0])),r.trim().split(` `).forEach(function(e){e.length>0&&n[0].classList.add(e)}),n},t}),t.define(`select2/dropdown/tagsSearchHighlight`,[`../utils`],function(e){function t(){}return t.prototype.highlightFirstItem=function(t){var n=this.$results.find(`.select2-results__option--selectable:not(.select2-results__option--selected)`);if(n.length>0){var r=n.first(),i=e.GetData(r[0],`data`).element;if(i&&i.getAttribute&&i.getAttribute(`data-select2-tag`)===`true`){r.trigger(`mouseenter`);return}}t.call(this)},t}),t.define(`select2/i18n/en`,[],function(){return{errorLoading:function(){return`The results could not be loaded.`},inputTooLong:function(e){var t=e.input.length-e.maximum,n=`Please delete `+t+` character`;return t!=1&&(n+=`s`),n},inputTooShort:function(e){return`Please enter `+(e.minimum-e.input.length)+` or more characters`},loadingMore:function(){return`Loading more results…`},maximumSelected:function(e){var t=`You can only select `+e.maximum+` item`;return e.maximum!=1&&(t+=`s`),t},noResults:function(){return`No results found`},searching:function(){return`Searching…`},removeAllItems:function(){return`Remove all items`},removeItem:function(){return`Remove item`},search:function(){return`Search`}}}),t.define(`select2/defaults`,/* @__PURE__ */ `jquery,./results,./selection/single,./selection/multiple,./selection/placeholder,./selection/allowClear,./selection/search,./selection/selectionCss,./selection/eventRelay,./utils,./translation,./diacritics,./data/select,./data/array,./data/ajax,./data/tags,./data/tokenizer,./data/minimumInputLength,./data/maximumInputLength,./data/maximumSelectionLength,./dropdown,./dropdown/search,./dropdown/hidePlaceholder,./dropdown/infiniteScroll,./dropdown/attachBody,./dropdown/minimumResultsForSearch,./dropdown/selectOnClose,./dropdown/closeOnSelect,./dropdown/dropdownCss,./dropdown/tagsSearchHighlight,./i18n/en`.split(`,`),function(e,t,n,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,C,w,T,E,D,O,k,A){function j(){this.reset()}return j.prototype.apply=function(u){if(u=e.extend(!0,{},this.defaults,u),u.dataAdapter??(u.ajax==null?u.data==null?u.dataAdapter=f:u.dataAdapter=p:u.dataAdapter=m,u.minimumInputLength>0&&(u.dataAdapter=l.Decorate(u.dataAdapter,_)),u.maximumInputLength>0&&(u.dataAdapter=l.Decorate(u.dataAdapter,v)),u.maximumSelectionLength>0&&(u.dataAdapter=l.Decorate(u.dataAdapter,y)),u.tags&&(u.dataAdapter=l.Decorate(u.dataAdapter,h)),(u.tokenSeparators!=null||u.tokenizer!=null)&&(u.dataAdapter=l.Decorate(u.dataAdapter,g))),u.resultsAdapter??(u.resultsAdapter=t,u.ajax!=null&&(u.resultsAdapter=l.Decorate(u.resultsAdapter,C)),u.placeholder!=null&&(u.resultsAdapter=l.Decorate(u.resultsAdapter,S)),u.selectOnClose&&(u.resultsAdapter=l.Decorate(u.resultsAdapter,E)),u.tags&&(u.resultsAdapter=l.Decorate(u.resultsAdapter,k))),u.dropdownAdapter==null){if(u.multiple)u.dropdownAdapter=b;else{var d=l.Decorate(b,x);u.dropdownAdapter=d}u.minimumResultsForSearch!==0&&(u.dropdownAdapter=l.Decorate(u.dropdownAdapter,T)),u.closeOnSelect&&(u.dropdownAdapter=l.Decorate(u.dropdownAdapter,D)),u.dropdownCssClass!=null&&(u.dropdownAdapter=l.Decorate(u.dropdownAdapter,O)),u.dropdownAdapter=l.Decorate(u.dropdownAdapter,w)}u.selectionAdapter??(u.multiple?u.selectionAdapter=r:u.selectionAdapter=n,u.placeholder!=null&&(u.selectionAdapter=l.Decorate(u.selectionAdapter,i)),u.allowClear&&(u.selectionAdapter=l.Decorate(u.selectionAdapter,a)),u.multiple&&(u.selectionAdapter=l.Decorate(u.selectionAdapter,o)),u.selectionCssClass!=null&&(u.selectionAdapter=l.Decorate(u.selectionAdapter,s)),u.selectionAdapter=l.Decorate(u.selectionAdapter,c)),u.language=this._resolveLanguage(u.language),u.language.push(`en`);for(var A=[],j=0;j<u.language.length;j++){var ee=u.language[j];A.indexOf(ee)===-1&&A.push(ee)}return u.language=A,u.translations=this._processTranslations(u.language,u.debug),u},j.prototype.reset=function(){function t(e){function t(e){return d[e]||e}return e.replace(/[^\u0000-\u007E]/g,t)}function n(r,i){if(r.term==null||r.term.trim()===``)return i;if(i.children&&i.children.length>0){for(var a=e.extend(!0,{},i),o=i.children.length-1;o>=0;o--){var s=i.children[o];n(r,s)??a.children.splice(o,1)}return a.children.length>0?a:n(r,a)}var c=t(i.text).toUpperCase(),l=t(r.term).toUpperCase();return c.indexOf(l)>-1?i:null}this.defaults={amdLanguageBase:`./i18n/`,autocomplete:`off`,closeOnSelect:!0,debug:!1,dropdownAutoWidth:!1,escapeMarkup:l.escapeMarkup,language:{},matcher:n,minimumInputLength:0,maximumInputLength:0,maximumSelectionLength:0,minimumResultsForSearch:0,selectOnClose:!1,scrollAfterSelect:!1,sorter:function(e){return e},templateResult:function(e){return e.text},templateSelection:function(e){return e.text},theme:`default`,width:`resolve`}},j.prototype.applyFromElement=function(e,t){var n=e.language,r=this.defaults.language,i=t[0].lang,a=t.closest(`[lang]`),o=a[0]?a[0].lang:null;return e.language=Array.prototype.concat.call(this._resolveLanguage(i),this._resolveLanguage(n),this._resolveLanguage(r),this._resolveLanguage(o)),e},j.prototype._resolveLanguage=function(t){if(!t||e.isEmptyObject(t))return[];if(e.isPlainObject(t))return[t];for(var n=Array.isArray(t)?t:[t],r=[],i=0;i<n.length;i++)if(r.push(n[i]),typeof n[i]==`string`&&n[i].indexOf(`-`)>0){var a=n[i].split(`-`)[0];r.push(a)}return r},j.prototype._processTranslations=function(t,n){for(var r=new u,i=0;i<t.length;i++){var a=new u,o=t[i];if(typeof o==`string`)try{a=u.loadPath(o)}catch{try{o=this.defaults.amdLanguageBase+o,a=u.loadPath(o)}catch{n&&window.console&&console.warn&&console.warn(`Select2: The language file for "`+o+`" could not be automatically loaded. A fallback will be used instead.`)}}else a=e.isPlainObject(o)?new u(o):o;r.extend(a)}return r},j.prototype.set=function(t,n){function r(e,t){return t.toUpperCase()}var i=t.replace(/-([a-z])/g,r),a={};a[i]=n;var o=l._convertData(a);e.extend(!0,this.defaults,o)},new j}),t.define(`select2/options`,[`jquery`,`./defaults`,`./utils`],function(e,t,n){function r(e,n){this.options=e,n!=null&&this.fromElement(n),n!=null&&(this.options=t.applyFromElement(this.options,n)),this.options=t.apply(this.options)}return r.prototype.fromElement=function(t){var r=[`select2`];if(this.options.multiple??(this.options.multiple=t[0].multiple),this.options.disabled??(this.options.disabled=t[0].disabled),this.options.autocomplete==null&&t[0].autocomplete&&(this.options.autocomplete=t[0].autocomplete),this.options.dir===null){var i=t[0].getAttribute(`dir`);if(i)this.options.dir=i;else{var a=t.closest(`[dir]`).getAttribute(`dir`);a?this.options.dir=a:this.options.dir=`ltr`}}t[0].disabled=this.options.disabled,t[0].multiple=this.options.multiple,n.GetData(t[0],`select2Tags`)&&(this.options.debug&&window.console&&console.warn&&console.warn('Select2: The `data-select2-tags` attribute has been changed to use the `data-data` and `data-tags="true"` attributes and will be removed in future versions of Select2.'),n.StoreData(t[0],`data`,n.GetData(t[0],`select2Tags`)),n.StoreData(t[0],`tags`,!0)),n.GetData(t[0],`ajaxUrl`)&&(this.options.debug&&window.console&&console.warn&&console.warn("Select2: The `data-ajax-url` attribute has been changed to `data-ajax--url` and support for the old attribute will be removed in future versions of Select2."),t[0].setAttribute(`ajax--url`,n.GetData(t[0],`ajaxUrl`)),n.StoreData(t[0],`ajax-Url`,n.GetData(t[0],`ajaxUrl`)));var o={};function s(e,t){return t.toUpperCase()}for(var c=0;c<t[0].attributes.length;c++){var l=t[0].attributes[c].name,u=`data-`;if(l.substr(0,u.length)==u){var d=l.substring(u.length),f=n.GetData(t[0],d),p=d.replace(/-([a-z])/g,s);o[p]=f}}e.fn.jquery&&e.fn.jquery.substr(0,2)==`1.`&&t[0].dataset&&(o=e.extend(!0,{},t[0].dataset,o));var m=e.extend(!0,{},n.GetData(t[0]),o);for(var h in m=n._convertData(m),m)r.indexOf(h)>-1||(e.isPlainObject(this.options[h])?e.extend(this.options[h],m[h]):this.options[h]=m[h]);return this},r.prototype.get=function(e){return this.options[e]},r.prototype.set=function(e,t){this.options[e]=t},r}),t.define(`select2/core`,[`jquery`,`./options`,`./utils`,`./keys`],function(e,t,n,r){var i=function(e,r){n.GetData(e[0],`select2`)!=null&&n.GetData(e[0],`select2`).destroy(),this.$element=e,this.id=this._generateId(e),r||={},this.options=new t(r,e),i.__super__.constructor.call(this);var a=e[0].getAttribute(`tabindex`)||0;n.StoreData(e[0],`old-tabindex`,a),e[0].setAttribute(`tabindex`,`-1`);var o=this.options.get(`dataAdapter`);this.dataAdapter=new o(e,this.options);var s=this.render();this._placeContainer(s);var c=this.options.get(`selectionAdapter`);this.selection=new c(e,this.options),this.$selection=this.selection.render(),this.selection.position(this.$selection,s);var l=this.options.get(`dropdownAdapter`);this.dropdown=new l(e,this.options),this.$dropdown=this.dropdown.render(),this.dropdown.position(this.$dropdown,s);var u=this.options.get(`resultsAdapter`);this.results=new u(e,this.options,this.dataAdapter),this.$results=this.results.render(),this.results.position(this.$results,this.$dropdown);var d=this;this._bindAdapters(),this._registerDomEvents(),this._registerDataEvents(),this._registerSelectionEvents(),this._registerDropdownEvents(),this._registerResultsEvents(),this._registerEvents(),this.dataAdapter.current(function(e){d.trigger(`selection:update`,{data:e})}),e[0].classList.add(`select2-hidden-accessible`),e[0].setAttribute(`aria-hidden`,`true`),this._syncAttributes(),n.StoreData(e[0],`select2`,this),e.data(`select2`,this)};return n.Extend(i,n.Observable),i.prototype._generateId=function(e){var t=``,r=e[0];return t=r!=null&&r.getAttribute(`id`)!=null?r.getAttribute(`id`):r!=null&&r.getAttribute(`name`)!=null?r.getAttribute(`name`)+`-`+n.generateChars(2):n.generateChars(4),t=t.replace(/(:|\.|\[|\]|,)/g,``),t=`select2-`+t,t},i.prototype._placeContainer=function(e){e.insertAfter(this.$element);var t=this._resolveWidth(this.$element,this.options.get(`width`));t!=null&&e.css(`width`,t)},i.prototype._resolveWidth=function(e,t){var n=/^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i;if(t==`resolve`)return this._resolveWidth(e,`style`)??this._resolveWidth(e,`element`);if(t==`element`){var r=e.outerWidth(!1);return r<=0?`auto`:r+`px`}if(t==`style`){var i=e[0].getAttribute(`style`);if(typeof i!=`string`)return null;for(var a=i.split(`;`),o=0,s=a.length;o<s;o+=1){var c=a[o].replace(/\s/g,``).match(n);if(c!==null&&c.length>=1)return c[1]}return null}return t==`computedstyle`?window.getComputedStyle(e[0]).width:t},i.prototype._bindAdapters=function(){this.dataAdapter.bind(this,this.$container),this.selection.bind(this,this.$container),this.dropdown.bind(this,this.$container),this.results.bind(this,this.$container)},i.prototype._registerDomEvents=function(){var e=this;this.$element.on(`change.select2`,function(){e.dataAdapter.current(function(t){e.trigger(`selection:update`,{data:t})})}),this.$element.on(`focus.select2`,function(t){e.trigger(`focus`,t)}),this._syncA=n.bind(this._syncAttributes,this),this._syncS=n.bind(this._syncSubtree,this),this._observer=new window.MutationObserver(function(t){e._syncA(),e._syncS(t)}),this._observer.observe(this.$element[0],{attributes:!0,childList:!0,subtree:!1})},i.prototype._registerDataEvents=function(){var e=this;this.dataAdapter.on(`*`,function(t,n){e.trigger(t,n)})},i.prototype._registerSelectionEvents=function(){var e=this,t=[`toggle`,`focus`];this.selection.on(`toggle`,function(){e.toggleDropdown()}),this.selection.on(`focus`,function(t){e.focus(t)}),this.selection.on(`*`,function(n,r){t.indexOf(n)===-1&&e.trigger(n,r)})},i.prototype._registerDropdownEvents=function(){var e=this;this.dropdown.on(`*`,function(t,n){e.trigger(t,n)})},i.prototype._registerResultsEvents=function(){var e=this;this.results.on(`*`,function(t,n){e.trigger(t,n)})},i.prototype._registerEvents=function(){var e=this;this.on(`open`,function(){e.$container[0].classList.add(`select2-container--open`)}),this.on(`close`,function(){e.$container[0].classList.remove(`select2-container--open`)}),this.on(`enable`,function(){e.$container[0].classList.remove(`select2-container--disabled`)}),this.on(`disable`,function(){e.$container[0].classList.add(`select2-container--disabled`)}),this.on(`blur`,function(){e.$container[0].classList.remove(`select2-container--focus`)}),this.on(`query`,function(t){e.isOpen()||e.trigger(`open`,{}),this.dataAdapter.query(t,function(n){e.trigger(`results:all`,{data:n,query:t})})}),this.on(`query:append`,function(t){this.dataAdapter.query(t,function(n){e.trigger(`results:append`,{data:n,query:t})})}),this.on(`keypress`,function(t){var n=t.which;e.isOpen()?n===r.ESC||n===r.UP&&t.altKey?(e.close(t),t.preventDefault()):n===r.ENTER||n===r.TAB?(e.trigger(`results:select`,{}),t.preventDefault()):n===r.SPACE&&t.ctrlKey?(e.trigger(`results:toggle`,{}),t.preventDefault()):n===r.UP?(e.trigger(`results:previous`,{}),t.preventDefault()):n===r.DOWN&&(e.trigger(`results:next`,{}),t.preventDefault()):(n===r.ENTER||n===r.SPACE||n===r.DOWN&&t.altKey)&&(e.open(),t.preventDefault())})},i.prototype._syncAttributes=function(){this.options.set(`disabled`,this.$element[0].disabled),this.isDisabled()?(this.isOpen()&&this.close(),this.trigger(`disable`,{})):this.trigger(`enable`,{})},i.prototype._isChangeMutation=function(e){var t=this;if(e.addedNodes&&e.addedNodes.length>0){for(var n=0;n<e.addedNodes.length;n++)if(e.addedNodes[n].selected)return!0}else if(e.removedNodes&&e.removedNodes.length>0)return!0;else if(Array.isArray(e))return e.some(function(e){return t._isChangeMutation(e)});return!1},i.prototype._syncSubtree=function(e){var t=this._isChangeMutation(e),n=this;t&&this.dataAdapter.current(function(e){n.trigger(`selection:update`,{data:e})})},i.prototype.trigger=function(e,t){var n=i.__super__.trigger,r={open:`opening`,close:`closing`,select:`selecting`,unselect:`unselecting`,clear:`clearing`};if(t===void 0&&(t={}),e in r){var a=r[e],o={prevented:!1,name:e,args:t};if(n.call(this,a,o),o.prevented){t.prevented=!0;return}}n.call(this,e,t)},i.prototype.toggleDropdown=function(){this.isDisabled()||(this.isOpen()?this.close():this.open())},i.prototype.open=function(){this.isOpen()||this.isDisabled()||this.trigger(`query`,{})},i.prototype.close=function(e){this.isOpen()&&this.trigger(`close`,{originalEvent:e})},i.prototype.isEnabled=function(){return!this.isDisabled()},i.prototype.isDisabled=function(){return this.options.get(`disabled`)},i.prototype.isOpen=function(){return this.$container[0].classList.contains(`select2-container--open`)},i.prototype.hasFocus=function(){return this.$container[0].classList.contains(`select2-container--focus`)},i.prototype.focus=function(e){this.hasFocus()||(this.$container[0].classList.add(`select2-container--focus`),this.trigger(`focus`,{}))},i.prototype.enable=function(e){this.options.get(`debug`)&&window.console&&console.warn&&console.warn('Select2: The `select2("enable")` method has been deprecated and will be removed in later Select2 versions. Use $element[0].disabled instead.'),(e==null||e.length===0)&&(e=[!0]);var t=!e[0];this.$element[0].disabled=t},i.prototype.data=function(){this.options.get(`debug`)&&arguments.length>0&&window.console&&console.warn&&console.warn('Select2: Data can no longer be set using `select2("data")`. You should consider setting the value instead using `$element.val()`.');var e=[];return this.dataAdapter.current(function(t){e=t}),e},i.prototype.val=function(e){if(this.options.get(`debug`)&&window.console&&console.warn&&console.warn('Select2: The `select2("val")` method has been deprecated and will be removed in later Select2 versions. Use $element.val() instead.'),e==null||e.length===0)return this.$element.val();var t=e[0];Array.isArray(t)&&(t=t.map(function(e){return e.toString()})),this.$element.val(t).trigger(`input`).trigger(`change`)},i.prototype.destroy=function(){n.RemoveData(this.$container[0]),this.$container.remove(),this._observer.disconnect(),this._observer=null,this._syncA=null,this._syncS=null,this.$element.off(`.select2`),this.$element[0].setAttribute(`tabindex`,n.GetData(this.$element[0],`old-tabindex`)),this.$element[0].classList.remove(`select2-hidden-accessible`),this.$element[0].setAttribute(`aria-hidden`,`false`),n.RemoveData(this.$element[0]),this.$element.removeData(`select2`),this.dataAdapter.destroy(),this.selection.destroy(),this.dropdown.destroy(),this.results.destroy(),this.dataAdapter=null,this.selection=null,this.dropdown=null,this.results=null},i.prototype.render=function(){var t=e(`<span class="select2 select2-container"><span class="selection"></span><span class="dropdown-wrapper" aria-hidden="true"></span></span>`);return t[0].setAttribute(`dir`,this.options.get(`dir`)),this.$container=t,this.$container[0].classList.add(`select2-container--`+this.options.get(`theme`)),n.StoreData(t[0],`element`,this.$element),t},i}),t.define(`jquery-mousewheel`,[`jquery`],function(e){return e}),t.define(`jquery.select2`,[`jquery`,`jquery-mousewheel`,`./select2/core`,`./select2/defaults`,`./select2/utils`],function(e,t,n,r,i){if(e.fn.select2==null){var a=[`open`,`close`,`destroy`];e.fn.select2=function(t){if(t||={},typeof t==`object`)return this.each(function(){var r=e.extend(!0,{},t);new n(e(this),r)}),this;if(typeof t==`string`){var r,o=Array.prototype.slice.call(arguments,1);return this.each(function(){var e=i.GetData(this,`select2`);e==null&&window.console&&console.error&&console.error(`The select2('`+t+`') method was called on an element that is not using Select2.`),r=e[t].apply(e,o)}),a.indexOf(t)>-1?this:r}throw Error(`Invalid arguments for Select2: `+t)}}return e.fn.select2.defaults??(e.fn.select2.defaults=r),n}),{define:t.define,require:t.require}}(),n=t.require(`jquery.select2`);return e.fn.select2.amd=t,n})})),ee=`shared/select2.min.f13a6558d5071a16.css`;export{S as a,w as c,y as d,T as f,h,O as i,b as l,v as m,j as n,C as o,_ as p,k as r,g as s,ee as t,x as u};
//# sourceMappingURL=select2.min.DRitHUO_.js.map