@validol4ik/uikit 0.3.10 → 0.3.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,9 @@
1
+ import { AppSelectProps } from './types.ts';
2
+ declare const _default: import('vue').DefineComponent<AppSelectProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
3
+ "update:modelValue": (...args: any[]) => void;
4
+ }, string, import('vue').PublicProps, Readonly<AppSelectProps> & Readonly<{
5
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
6
+ }>, {
7
+ size: import('../../types.ts').Size;
8
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
9
+ export default _default;
package/dist/index.d.ts CHANGED
@@ -1,8 +1,7 @@
1
1
  import { default as AppButton } from './components/buttons/AppButton/index.vue';
2
2
  import { AppButtonProps } from './components/buttons/AppButton/types';
3
3
  import { default as AppIcon } from './components/AppIcon/index.vue';
4
- declare const AppButtonCopy: import('vue').DefineComponent<import('./components/buttons/CopyButton/types').default, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('./components/buttons/CopyButton/types').default> & Readonly<{}>, {
5
- transparent: boolean;
6
- color: import('quasar').NamedColor;
7
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
8
- export { AppButton, AppButtonProps, AppIcon, AppButtonCopy };
4
+ import { default as AppSelect } from './components/form/AppSelect/index.vue';
5
+ import { default as AppButtonCopy } from './components/buttons/CopyButton/index.vue';
6
+ import { default as uiKitPlugin } from './plugin';
7
+ export { uiKitPlugin, AppButton, AppButtonProps, AppIcon, AppButtonCopy, AppSelect, };
@@ -0,0 +1,5 @@
1
+ import { App } from 'vue';
2
+ declare const uiKitPlugin: {
3
+ install(app: App): void;
4
+ };
5
+ export default uiKitPlugin;
package/dist/style.css CHANGED
@@ -1 +1 @@
1
- i.icon-kl{font-family:kl!important;speak:never;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-kl-crown_o:before{content:""}.icon-kl-star_fall_o:before{content:""}.icon-kl-star_o:before{content:""}.icon-kl-translate:before{content:""}.icon-kl-return:before{content:""}.icon-kl-search:before{content:""}.icon-kl-plus:before{content:""}.icon-kl-minus:before{content:""}.icon-kl-check:before{content:""}.icon-kl-close:before{content:""}.icon-kl-arrow-up:before{content:""}.icon-kl-arrow-down:before{content:""}.icon-kl-arrow-left:before{content:""}.icon-kl-arrow-right:before{content:""}.icon-kl-more-vertical:before{content:""}.icon-kl-arrow-download:before{content:""}.icon-kl-arrow-export:before{content:""}.icon-kl-arrow-logout:before{content:""}.icon-kl-arrow-share:before{content:""}.icon-kl-drag:before{content:""}.icon-kl-rule:before{content:""}.icon-kl-checklist:before{content:""}.icon-kl-bulleted-list:before{content:""}.icon-kl-menu:before{content:""}.icon-kl-text-right:before{content:""}.icon-kl-text-left:before{content:""}.icon-kl-stack_o:before{content:""}.icon-kl-mic-off_o:before{content:""}.icon-kl-mic_o:before{content:""}.icon-kl-telegram:before{content:""}.icon-kl-instagram_o:before{content:""}.icon-kl-mail_o:before{content:""}.icon-kl-coin_o:before{content:""}.icon-kl-price-tag_o:before{content:""}.icon-kl-quote_o:before{content:""}.icon-kl-play_o:before{content:""}.icon-kl-award_o:before{content:""}.icon-kl-medal_o:before{content:""}.icon-kl-bookmark_o:before{content:""}.icon-kl-calendar_o:before{content:""}.icon-kl-circle-check_o:before{content:""}.icon-kl-circle-question_o:before{content:""}.icon-kl-circle-info_o:before{content:""}.icon-kl-pie-chart_o:before{content:""}.icon-kl-edit_o:before{content:""}.icon-kl-trash_o:before{content:""}.icon-kl-copy_o:before{content:""}.icon-kl-copied_o:before{content:""}.icon-kl-folder_o:before{content:""}.icon-kl-folder-plus_o:before{content:""}.icon-kl-file-plus_o:before{content:""}.icon-kl-flag_o:before{content:""}.icon-kl-home_o:before{content:""}.icon-kl-timer_o:before{content:""}.icon-kl-visibility-off:before{content:""}.icon-kl-visibility:before{content:""}.icon-kl-unlock_o:before{content:""}.icon-kl-lock_o:before{content:""}.icon-kl-user_o:before{content:""}.icon-kl-user-plus_o:before{content:""}.icon-kl-user-close_o:before{content:""}.icon-kl-trophy_o:before{content:""}.icon-kl-crown:before{content:""}.icon-kl-star_fall:before{content:""}.icon-kl-star:before{content:""}.icon-kl-stack:before{content:""}.icon-kl-mic-off:before{content:""}.icon-kl-mic:before{content:""}.icon-kl-instagram:before{content:""}.icon-kl-mail:before{content:""}.icon-kl-coin:before{content:""}.icon-kl-price-tag:before{content:""}.icon-kl-quote:before{content:""}.icon-kl-play:before{content:""}.icon-kl-award:before{content:""}.icon-kl-medal:before{content:""}.icon-kl-bookmark:before{content:""}.icon-kl-calendar:before{content:""}.icon-kl-circle-check:before{content:""}.icon-kl-circle-question:before{content:""}.icon-kl-circle-info:before{content:""}.icon-kl-pie-chart:before{content:""}.icon-kl-edit:before{content:""}.icon-kl-trash:before{content:""}.icon-kl-copy:before{content:""}.icon-kl-copied:before{content:""}.icon-kl-folder:before{content:""}.icon-kl-folder-plus:before{content:""}.icon-kl-file-plus:before{content:""}.icon-kl-flag:before{content:""}.icon-kl-home:before{content:""}.icon-kl-timer:before{content:""}.icon-kl-unlock:before{content:""}.icon-kl-lock:before{content:""}.icon-kl-user:before{content:""}.icon-kl-user-close:before{content:""}.icon-kl-user-plus:before{content:""}.icon-kl-trophy:before{content:""}.q-menu{background:#fdfffc40;border-radius:14px;box-shadow:2px 2px 8px #1e1e1e14;border-top:1px solid rgba(253,255,252,.6);border-left:1px solid rgba(253,255,252,.6);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.q-menu .q-item{padding:8px 14px;color:#1e1e1e}.q-menu .q-item:not(:last-child){border-bottom:1px solid rgba(30,30,30,.05)}.q-menu .q-item :hover .q-item__label{color:#1a5cff}.q-menu .q-item .q-focus-helper{display:none}.app-btn[data-v-ac94630a] .q-btn__content{font-family:OpenSans,sans-serif;font-weight:600}.app-btn_sm[data-v-ac94630a]{font-size:12px;border-radius:7px}.app-btn_sm[data-v-ac94630a] .q-btn__content{line-height:20px}.app-btn_sm .icon-kl[data-v-ac94630a]{font-size:18px}.app-btn_sm.app-btn_icon-left[data-v-ac94630a]{padding-left:5px!important}.app-btn_sm.app-btn_icon-left .icon-kl_left[data-v-ac94630a]{margin-right:2px}.app-btn_sm.app-btn_icon-right[data-v-ac94630a]{padding-right:5px!important}.app-btn_sm.app-btn_icon-right .icon-kl_right[data-v-ac94630a]{margin-left:2px}.app-btn_sm.app-btn_icon-middle[data-v-ac94630a]{padding:4px!important}.app-btn_md[data-v-ac94630a]{font-size:14px;border-radius:8px}.app-btn_md[data-v-ac94630a] .q-btn__content{line-height:22px}.app-btn_md .icon-kl[data-v-ac94630a]{font-size:22px}.app-btn_md.app-btn_icon-left[data-v-ac94630a]{padding-left:9px!important}.app-btn_md.app-btn_icon-left .icon-kl_left[data-v-ac94630a]{margin-right:4px}.app-btn_md.app-btn_icon-right[data-v-ac94630a]{padding-right:9px!important}.app-btn_md.app-btn_icon-right .icon-kl_right[data-v-ac94630a]{margin-left:4px}.app-btn_md.app-btn_icon-middle[data-v-ac94630a]{padding:5px!important}.app-btn_lg[data-v-ac94630a]{font-size:17px;border-radius:10px}.app-btn_lg[data-v-ac94630a] .q-btn__content{line-height:26px}.app-btn_lg .icon-kl[data-v-ac94630a]{font-size:26px}.app-btn_lg.app-btn_icon-left[data-v-ac94630a]{padding-left:16px!important}.app-btn_lg.app-btn_icon-left .icon-kl_left[data-v-ac94630a]{margin-right:6px}.app-btn_lg.app-btn_icon-right[data-v-ac94630a]{padding-right:16px!important}.app-btn_lg.app-btn_icon-right .icon-kl_right[data-v-ac94630a]{margin-left:6px}.app-btn_lg.app-btn_icon-middle[data-v-ac94630a]{padding:11px!important}.app-btn_primary[data-v-ac94630a]{color:#1a5cff}.app-btn_info[data-v-ac94630a]{color:#399}.app-btn_negative[data-v-ac94630a]{color:#ff4757}.app-btn_positive[data-v-ac94630a]{color:#46c93a}.app-btn_default.app-btn_primary[data-v-ac94630a]{background-color:#1a5cff;color:#fdfffc}.app-btn_default.app-btn_info[data-v-ac94630a]{background-color:#399;color:#fdfffc}.app-btn_default.app-btn_negative[data-v-ac94630a]{background-color:#ff4757;color:#fdfffc}.app-btn_default.app-btn_positive[data-v-ac94630a]{background-color:#46c93a;color:#fdfffc}.app-btn_trans.app-btn_primary[data-v-ac94630a]{background-color:#1a5cff26}.app-btn_trans.app-btn_info[data-v-ac94630a]{background-color:#33999926}.app-btn_trans.app-btn_negative[data-v-ac94630a]{background-color:#ff475726}.app-btn_trans.app-btn_positive[data-v-ac94630a]{background-color:#46c93a26}.app-btn_flat[data-v-ac94630a]{background-color:transparent}.app-btn_flat:hover.app-btn_primary[data-v-ac94630a]{background-color:#1a5cff05}.app-btn_flat:hover.app-btn_info[data-v-ac94630a]{background-color:#33999905}.app-btn_flat:hover.app-btn_negative[data-v-ac94630a]{background-color:#ff475705}.app-btn_flat:hover.app-btn_positive[data-v-ac94630a]{background-color:#46c93a05}.app-btn_rounded[data-v-ac94630a]{border-radius:50px}.icon-kl[data-v-73419357]{font-size:24px}
1
+ i.icon-kl{font-family:kl!important;speak:never;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-kl-crown_o:before{content:""}.icon-kl-star_fall_o:before{content:""}.icon-kl-star_o:before{content:""}.icon-kl-translate:before{content:""}.icon-kl-return:before{content:""}.icon-kl-search:before{content:""}.icon-kl-plus:before{content:""}.icon-kl-minus:before{content:""}.icon-kl-check:before{content:""}.icon-kl-close:before{content:""}.icon-kl-arrow-up:before{content:""}.icon-kl-arrow-down:before{content:""}.icon-kl-arrow-left:before{content:""}.icon-kl-arrow-right:before{content:""}.icon-kl-more-vertical:before{content:""}.icon-kl-arrow-download:before{content:""}.icon-kl-arrow-export:before{content:""}.icon-kl-arrow-logout:before{content:""}.icon-kl-arrow-share:before{content:""}.icon-kl-drag:before{content:""}.icon-kl-rule:before{content:""}.icon-kl-checklist:before{content:""}.icon-kl-bulleted-list:before{content:""}.icon-kl-menu:before{content:""}.icon-kl-text-right:before{content:""}.icon-kl-text-left:before{content:""}.icon-kl-stack_o:before{content:""}.icon-kl-mic-off_o:before{content:""}.icon-kl-mic_o:before{content:""}.icon-kl-telegram:before{content:""}.icon-kl-instagram_o:before{content:""}.icon-kl-mail_o:before{content:""}.icon-kl-coin_o:before{content:""}.icon-kl-price-tag_o:before{content:""}.icon-kl-quote_o:before{content:""}.icon-kl-play_o:before{content:""}.icon-kl-award_o:before{content:""}.icon-kl-medal_o:before{content:""}.icon-kl-bookmark_o:before{content:""}.icon-kl-calendar_o:before{content:""}.icon-kl-circle-check_o:before{content:""}.icon-kl-circle-question_o:before{content:""}.icon-kl-circle-info_o:before{content:""}.icon-kl-pie-chart_o:before{content:""}.icon-kl-edit_o:before{content:""}.icon-kl-trash_o:before{content:""}.icon-kl-copy_o:before{content:""}.icon-kl-copied_o:before{content:""}.icon-kl-folder_o:before{content:""}.icon-kl-folder-plus_o:before{content:""}.icon-kl-file-plus_o:before{content:""}.icon-kl-flag_o:before{content:""}.icon-kl-home_o:before{content:""}.icon-kl-timer_o:before{content:""}.icon-kl-visibility-off:before{content:""}.icon-kl-visibility:before{content:""}.icon-kl-unlock_o:before{content:""}.icon-kl-lock_o:before{content:""}.icon-kl-user_o:before{content:""}.icon-kl-user-plus_o:before{content:""}.icon-kl-user-close_o:before{content:""}.icon-kl-trophy_o:before{content:""}.icon-kl-crown:before{content:""}.icon-kl-star_fall:before{content:""}.icon-kl-star:before{content:""}.icon-kl-stack:before{content:""}.icon-kl-mic-off:before{content:""}.icon-kl-mic:before{content:""}.icon-kl-instagram:before{content:""}.icon-kl-mail:before{content:""}.icon-kl-coin:before{content:""}.icon-kl-price-tag:before{content:""}.icon-kl-quote:before{content:""}.icon-kl-play:before{content:""}.icon-kl-award:before{content:""}.icon-kl-medal:before{content:""}.icon-kl-bookmark:before{content:""}.icon-kl-calendar:before{content:""}.icon-kl-circle-check:before{content:""}.icon-kl-circle-question:before{content:""}.icon-kl-circle-info:before{content:""}.icon-kl-pie-chart:before{content:""}.icon-kl-edit:before{content:""}.icon-kl-trash:before{content:""}.icon-kl-copy:before{content:""}.icon-kl-copied:before{content:""}.icon-kl-folder:before{content:""}.icon-kl-folder-plus:before{content:""}.icon-kl-file-plus:before{content:""}.icon-kl-flag:before{content:""}.icon-kl-home:before{content:""}.icon-kl-timer:before{content:""}.icon-kl-unlock:before{content:""}.icon-kl-lock:before{content:""}.icon-kl-user:before{content:""}.icon-kl-user-close:before{content:""}.icon-kl-user-plus:before{content:""}.icon-kl-trophy:before{content:""}.q-menu{background:#fdfffc40;border-radius:14px;box-shadow:2px 2px 8px #1e1e1e14;border-top:1px solid rgba(253,255,252,.6);border-left:1px solid rgba(253,255,252,.6);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.q-menu .q-item{padding:8px 14px;color:#1e1e1e}.q-menu .q-item:not(:last-child){border-bottom:1px solid rgba(30,30,30,.05)}.q-menu .q-item :hover .q-item__label{color:#1a5cff}.q-menu .q-item .q-focus-helper{display:none}.app-btn[data-v-ac94630a] .q-btn__content{font-family:OpenSans,sans-serif;font-weight:600}.app-btn_sm[data-v-ac94630a]{font-size:12px;border-radius:7px}.app-btn_sm[data-v-ac94630a] .q-btn__content{line-height:20px}.app-btn_sm .icon-kl[data-v-ac94630a]{font-size:18px}.app-btn_sm.app-btn_icon-left[data-v-ac94630a]{padding-left:5px!important}.app-btn_sm.app-btn_icon-left .icon-kl_left[data-v-ac94630a]{margin-right:2px}.app-btn_sm.app-btn_icon-right[data-v-ac94630a]{padding-right:5px!important}.app-btn_sm.app-btn_icon-right .icon-kl_right[data-v-ac94630a]{margin-left:2px}.app-btn_sm.app-btn_icon-middle[data-v-ac94630a]{padding:4px!important}.app-btn_md[data-v-ac94630a]{font-size:14px;border-radius:8px}.app-btn_md[data-v-ac94630a] .q-btn__content{line-height:22px}.app-btn_md .icon-kl[data-v-ac94630a]{font-size:22px}.app-btn_md.app-btn_icon-left[data-v-ac94630a]{padding-left:9px!important}.app-btn_md.app-btn_icon-left .icon-kl_left[data-v-ac94630a]{margin-right:4px}.app-btn_md.app-btn_icon-right[data-v-ac94630a]{padding-right:9px!important}.app-btn_md.app-btn_icon-right .icon-kl_right[data-v-ac94630a]{margin-left:4px}.app-btn_md.app-btn_icon-middle[data-v-ac94630a]{padding:5px!important}.app-btn_lg[data-v-ac94630a]{font-size:17px;border-radius:10px}.app-btn_lg[data-v-ac94630a] .q-btn__content{line-height:26px}.app-btn_lg .icon-kl[data-v-ac94630a]{font-size:26px}.app-btn_lg.app-btn_icon-left[data-v-ac94630a]{padding-left:16px!important}.app-btn_lg.app-btn_icon-left .icon-kl_left[data-v-ac94630a]{margin-right:6px}.app-btn_lg.app-btn_icon-right[data-v-ac94630a]{padding-right:16px!important}.app-btn_lg.app-btn_icon-right .icon-kl_right[data-v-ac94630a]{margin-left:6px}.app-btn_lg.app-btn_icon-middle[data-v-ac94630a]{padding:11px!important}.app-btn_primary[data-v-ac94630a]{color:#1a5cff}.app-btn_info[data-v-ac94630a]{color:#399}.app-btn_negative[data-v-ac94630a]{color:#ff4757}.app-btn_positive[data-v-ac94630a]{color:#46c93a}.app-btn_default.app-btn_primary[data-v-ac94630a]{background-color:#1a5cff;color:#fdfffc}.app-btn_default.app-btn_info[data-v-ac94630a]{background-color:#399;color:#fdfffc}.app-btn_default.app-btn_negative[data-v-ac94630a]{background-color:#ff4757;color:#fdfffc}.app-btn_default.app-btn_positive[data-v-ac94630a]{background-color:#46c93a;color:#fdfffc}.app-btn_trans.app-btn_primary[data-v-ac94630a]{background-color:#1a5cff26}.app-btn_trans.app-btn_info[data-v-ac94630a]{background-color:#33999926}.app-btn_trans.app-btn_negative[data-v-ac94630a]{background-color:#ff475726}.app-btn_trans.app-btn_positive[data-v-ac94630a]{background-color:#46c93a26}.app-btn_flat[data-v-ac94630a]{background-color:transparent}.app-btn_flat:hover.app-btn_primary[data-v-ac94630a]{background-color:#1a5cff05}.app-btn_flat:hover.app-btn_info[data-v-ac94630a]{background-color:#33999905}.app-btn_flat:hover.app-btn_negative[data-v-ac94630a]{background-color:#ff475705}.app-btn_flat:hover.app-btn_positive[data-v-ac94630a]{background-color:#46c93a05}.app-btn_rounded[data-v-ac94630a]{border-radius:50px}.icon-kl[data-v-73419357]{font-size:24px}.app-select[data-v-2646d558]{width:220px}.app-select__label[data-v-2646d558]{padding-left:6px}.app-select__label_bold[data-v-2646d558]{font-weight:600}.app-select__drop-icon[data-v-2646d558]{color:#1e1e1e;transition:.2s;cursor:pointer}.app-select__clear[data-v-2646d558]{border-radius:50px;background:#1e1e1e14;color:#1e1e1e;cursor:pointer}.app-select__clear[data-v-2646d558]:hover{background:#1e1e1e21}.app-select__selected[data-v-2646d558]{color:#1e1e1e}.app-select__amount[data-v-2646d558]{line-height:10px;padding:1px 5px;border-radius:50px;background:#1a5cff;color:#fdfffc;font-size:12px;font-weight:500}.app-select__placeholder[data-v-2646d558]{color:#1e1e1e80!important}.app-select__option[data-v-2646d558]{-webkit-user-select:none;user-select:none}.app-select__option_selected .q-item__label[data-v-2646d558]{color:#1a5cff}.app-select__option .q-item__section--avatar[data-v-2646d558]{min-width:0;padding-right:0;justify-content:center}.app-select[data-v-2646d558] .q-field .q-field__control{background:#7676801f;box-shadow:none}.app-select[data-v-2646d558] .q-field .q-field__control:before{background:#0000000d}.app-select[data-v-2646d558] .q-field .q-placeholder{color:#1e1e1e80!important}.app-select[data-v-2646d558] .q-field .q-spinner circle{stroke:#1e1e1ea6}.app-select_opened .app-select__drop-icon[data-v-2646d558]{transform:rotate(180deg)}.app-select_sm .app-select__label[data-v-2646d558]{display:none}.app-select_sm .app-select__selected[data-v-2646d558]{font-size:12px}.app-select_sm .app-select__clear[data-v-2646d558]{font-size:13px}.app-select_sm .app-select__drop-icon[data-v-2646d558]{font-size:18px}.app-select_sm .app-select__amount[data-v-2646d558]{font-size:10px;padding:.5px 3.5px}.app-select_sm[data-v-2646d558] .q-field .q-field__control{border-radius:8px;padding:0 6px 0 12px}.app-select_sm[data-v-2646d558] .q-field .q-field__native{padding:4px 0}.app-select_sm[data-v-2646d558] .q-field .q-field__control,.app-select_sm[data-v-2646d558] .q-field .q-field__native,.app-select_sm[data-v-2646d558] .q-field .q-field__append,.app-select_sm[data-v-2646d558] .q-field .q-field__prepend,.app-select_sm[data-v-2646d558] .q-field .q-field__before,.app-select_sm[data-v-2646d558] .q-field .q-field__after{min-height:26px;height:26px}.app-select_sm[data-v-2646d558] .q-field .q-field__input{min-height:18px;line-height:18px;font-size:12px}.app-select_sm[data-v-2646d558] .q-field .q-field__bottom{padding:5px 12px 0;font-size:10px}.app-select_md .app-select__label[data-v-2646d558]{font-size:10px}.app-select_md .app-select__selected[data-v-2646d558]{font-size:13px}.app-select_md .app-select__clear[data-v-2646d558]{font-size:16px}.app-select_md .app-select__drop-icon[data-v-2646d558]{font-size:22px}.app-select_md .app-select__amount[data-v-2646d558]{padding:.5px 4.2px;font-size:11px}.app-select_md[data-v-2646d558] .q-field .q-field__control{border-radius:10px;padding:0 8px 0 12px}.app-select_md[data-v-2646d558] .q-field .q-field__control,.app-select_md[data-v-2646d558] .q-field .q-field__native,.app-select_md[data-v-2646d558] .q-field .q-field__append,.app-select_md[data-v-2646d558] .q-field .q-field__prepend,.app-select_md[data-v-2646d558] .q-field .q-field__before,.app-select_md[data-v-2646d558] .q-field .q-field__after{min-height:32px;height:32px}.app-select_md[data-v-2646d558] .q-field .q-field__input{min-height:20px;line-height:20px;font-size:13px}.app-select_md[data-v-2646d558] .q-field .q-field__bottom{padding:6px 12px 0;font-size:11px}.app-select_lg .app-select__label[data-v-2646d558]{font-size:12px}.app-select_lg .app-select__clear[data-v-2646d558]{font-size:18px}.app-select_lg .app-select__selected[data-v-2646d558]{font-size:16px}.app-select_lg[data-v-2646d558] .q-field .q-field__control{border-radius:12px}.app-select_lg[data-v-2646d558] .q-field .q-field__control,.app-select_lg[data-v-2646d558] .q-field .q-field__native,.app-select_lg[data-v-2646d558] .q-field .q-field__append,.app-select_lg[data-v-2646d558] .q-field .q-field__prepend,.app-select_lg[data-v-2646d558] .q-field .q-field__before,.app-select_lg[data-v-2646d558] .q-field .q-field__after{min-height:44px;height:44px}.app-select_lg[data-v-2646d558] .q-field .q-spinner{width:18px;height:18px}.option-multiple[data-v-2646d558]{width:30px}.option-done[data-v-2646d558]{width:24px}.option-done__icon[data-v-2646d558]{font-size:20px;color:#46c93a}.app-select-menu_sm .q-item[data-v-2646d558]{min-height:36px;padding:3px 10px}.app-select-menu_sm .q-item__label[data-v-2646d558]{font-size:12px}.app-select-menu_md .q-item[data-v-2646d558]{min-height:42px;padding:5px 12px}.app-select-menu_md .q-item__label[data-v-2646d558]{font-size:13px}
package/dist/uikit.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("vue"),ue={PRIMARY:"primary",INFO:"info"},$={SM:"sm",MD:"md",LG:"lg"},we={[$.SM]:"3px 9px",[$.MD]:"5px 12px",[$.LG]:"9px 20px"},W={xs:18,sm:24,md:32,lg:38,xl:46},ce={size:String};function de(e,t=W){return a.computed(()=>e.size!==void 0?{fontSize:e.size in t?`${t[e.size]}px`:e.size}:null)}function xe(e,t,i,o){return Object.defineProperty(e,t,{get:i,set:o,enumerable:!0}),e}function U(e){return a.markRaw(a.defineComponent(e))}function Ce(e){return a.markRaw(e)}function Be(e,t){return e!==void 0&&e()||t}function D(e,t){return e!==void 0?t.concat(e()):t}const X="0 0 24 24",Z=e=>e,Y=e=>`ionicons ${e}`,fe={"mdi-":e=>`mdi ${e}`,"icon-":Z,"bt-":e=>`bt ${e}`,"eva-":e=>`eva ${e}`,"ion-md":Y,"ion-ios":Y,"ion-logo":Y,"iconfont ":Z,"ti-":e=>`themify-icon ${e}`,"bi-":e=>`bootstrap-icons ${e}`},ve={o_:"-outlined",r_:"-round",s_:"-sharp"},pe={sym_o_:"-outlined",sym_r_:"-rounded",sym_s_:"-sharp"},_e=new RegExp("^("+Object.keys(fe).join("|")+")"),Ee=new RegExp("^("+Object.keys(ve).join("|")+")"),J=new RegExp("^("+Object.keys(pe).join("|")+")"),Se=/^[Mm]\s?[-+]?\.?\d/,$e=/^img:/,qe=/^svguse:/,Pe=/^ion-/,Le=/^(fa-(classic|sharp|solid|regular|light|brands|duotone|thin)|[lf]a[srlbdk]?) /,ee=U({name:"QIcon",props:{...ce,tag:{type:String,default:"i"},name:String,color:String,left:Boolean,right:Boolean},setup(e,{slots:t}){const{proxy:{$q:i}}=a.getCurrentInstance(),o=de(e),n=a.computed(()=>"q-icon"+(e.left===!0?" on-left":"")+(e.right===!0?" on-right":"")+(e.color!==void 0?` text-${e.color}`:"")),u=a.computed(()=>{let c,l=e.name;if(l==="none"||!l)return{none:!0};if(i.iconMapFn!==null){const d=i.iconMapFn(l);if(d!==void 0)if(d.icon!==void 0){if(l=d.icon,l==="none"||!l)return{none:!0}}else return{cls:d.cls,content:d.content!==void 0?d.content:" "}}if(Se.test(l)===!0){const[d,h=X]=l.split("|");return{svg:!0,viewBox:h,nodes:d.split("&&").map(s=>{const[g,m,y]=s.split("@@");return a.h("path",{style:m,d:g,transform:y})})}}if($e.test(l)===!0)return{img:!0,src:l.substring(4)};if(qe.test(l)===!0){const[d,h=X]=l.split("|");return{svguse:!0,src:d.substring(7),viewBox:h}}let w=" ";const b=l.match(_e);if(b!==null)c=fe[b[1]](l);else if(Le.test(l)===!0)c=l;else if(Pe.test(l)===!0)c=`ionicons ion-${i.platform.is.ios===!0?"ios":"md"}${l.substring(3)}`;else if(J.test(l)===!0){c="notranslate material-symbols";const d=l.match(J);d!==null&&(l=l.substring(6),c+=pe[d[1]]),w=l}else{c="notranslate material-icons";const d=l.match(Ee);d!==null&&(l=l.substring(2),c+=ve[d[1]]),w=l}return{cls:c,content:w}});return()=>{const c={class:n.value,style:o.value,"aria-hidden":"true",role:"presentation"};return u.value.none===!0?a.h(e.tag,c,Be(t.default)):u.value.img===!0?a.h(e.tag,c,D(t.default,[a.h("img",{src:u.value.src})])):u.value.svg===!0?a.h(e.tag,c,D(t.default,[a.h("svg",{viewBox:u.value.viewBox||"0 0 24 24"},u.value.nodes)])):u.value.svguse===!0?a.h(e.tag,c,D(t.default,[a.h("svg",{viewBox:u.value.viewBox},[a.h("use",{"xlink:href":u.value.src})])])):(u.value.cls!==void 0&&(c.class+=" "+u.value.cls),a.h(e.tag,c,D(t.default,[u.value.content])))}}}),Re={size:{type:[String,Number],default:"1em"},color:String};function Me(e){return{cSize:a.computed(()=>e.size in W?`${W[e.size]}px`:e.size),classes:a.computed(()=>"q-spinner"+(e.color?` text-${e.color}`:""))}}const Oe=U({name:"QSpinner",props:{...Re,thickness:{type:Number,default:5}},setup(e){const{cSize:t,classes:i}=Me(e);return()=>a.h("svg",{class:i.value+" q-spinner-mat",width:t.value,height:t.value,viewBox:"25 25 50 50"},[a.h("circle",{class:"path",cx:"50",cy:"50",r:"20",fill:"none",stroke:"currentColor","stroke-width":e.thickness,"stroke-miterlimit":"10"})])}});function Te(e,t){const i=e.style;for(const o in t)i[o]=t[o]}const V={hasPassive:!1,passiveCapture:!0,notPassiveCapture:!0};try{const e=Object.defineProperty({},"passive",{get(){Object.assign(V,{hasPassive:!0,passive:{passive:!0},notPassive:{passive:!1},passiveCapture:{passive:!0,capture:!0},notPassiveCapture:{passive:!1,capture:!0}})}});window.addEventListener("qtest",null,e),window.removeEventListener("qtest",null,e)}catch{}function ze(e){return e.touches&&e.touches[0]?e=e.touches[0]:e.changedTouches&&e.changedTouches[0]?e=e.changedTouches[0]:e.targetTouches&&e.targetTouches[0]&&(e=e.targetTouches[0]),{top:e.clientY,left:e.clientX}}function me(e){e.stopPropagation()}function je(e){e.cancelable!==!1&&e.preventDefault()}function M(e){e.cancelable!==!1&&e.preventDefault(),e.stopPropagation()}function Ie(e,t,i){const o=`__q_${t}_evt`;e[o]=e[o]!==void 0?e[o].concat(i):i,i.forEach(n=>{n[0].addEventListener(n[1],e[n[2]],V[n[3]])})}function De(e,t){const i=`__q_${t}_evt`;e[i]!==void 0&&(e[i].forEach(o=>{o[0].removeEventListener(o[1],e[o[2]],V[o[3]])}),e[i]=void 0)}function Ne(e){return e!==Object(e)||e.isComposing===!0||e.qKeyEvent===!0}function Q(e,t){return Ne(e)===!0?!1:[].concat(t).includes(e.keyCode)}function Ae(e,t=250){let i=!1,o;return function(){return i===!1&&(i=!0,setTimeout(()=>{i=!1},t),o=e.apply(this,arguments)),o}}function te(e,t,i,o){i.modifiers.stop===!0&&me(e);const n=i.modifiers.color;let u=i.modifiers.center;u=u===!0||o===!0;const c=document.createElement("span"),l=document.createElement("span"),w=ze(e),{left:b,top:d,width:h,height:s}=t.getBoundingClientRect(),g=Math.sqrt(h*h+s*s),m=g/2,y=`${(h-g)/2}px`,f=u?y:`${w.left-b-m}px`,k=`${(s-g)/2}px`,R=u?k:`${w.top-d-m}px`;l.className="q-ripple__inner",Te(l,{height:`${g}px`,width:`${g}px`,transform:`translate3d(${f},${R},0) scale3d(.2,.2,1)`,opacity:0}),c.className=`q-ripple${n?" text-"+n:""}`,c.setAttribute("dir","ltr"),c.appendChild(l),t.appendChild(c);const q=()=>{c.remove(),clearTimeout(P)};i.abort.push(q);let P=setTimeout(()=>{l.classList.add("q-ripple__inner--enter"),l.style.transform=`translate3d(${y},${k},0) scale3d(1,1,1)`,l.style.opacity=.2,P=setTimeout(()=>{l.classList.remove("q-ripple__inner--enter"),l.classList.add("q-ripple__inner--leave"),l.style.opacity=0,P=setTimeout(()=>{c.remove(),i.abort.splice(i.abort.indexOf(q),1)},275)},250)},50)}function ne(e,{modifiers:t,value:i,arg:o}){const n=Object.assign({},e.cfg.ripple,t,i);e.modifiers={early:n.early===!0,stop:n.stop===!0,center:n.center===!0,color:n.color||o,keyCodes:[].concat(n.keyCodes||13)}}const Ke=Ce({name:"ripple",beforeMount(e,t){const i=t.instance.$.appContext.config.globalProperties.$q.config||{};if(i.ripple===!1)return;const o={cfg:i,enabled:t.value!==!1,modifiers:{},abort:[],start(n){o.enabled===!0&&n.qSkipRipple!==!0&&n.type===(o.modifiers.early===!0?"pointerdown":"click")&&te(n,e,o,n.qKeyEvent===!0)},keystart:Ae(n=>{o.enabled===!0&&n.qSkipRipple!==!0&&Q(n,o.modifiers.keyCodes)===!0&&n.type===`key${o.modifiers.early===!0?"down":"up"}`&&te(n,e,o,!0)},300)};ne(o,t),e.__qripple=o,Ie(o,"main",[[e,"pointerdown","start","passive"],[e,"click","start","passive"],[e,"keydown","keystart","passive"],[e,"keyup","keystart","passive"]])},updated(e,t){if(t.oldValue!==t.value){const i=e.__qripple;i!==void 0&&(i.enabled=t.value!==!1,i.enabled===!0&&Object(t.value)===t.value&&ne(i,t))}},beforeUnmount(e){const t=e.__qripple;t!==void 0&&(t.abort.forEach(i=>{i()}),De(t,"main"),delete e._qripple)}}),be={left:"start",center:"center",right:"end",between:"between",around:"around",evenly:"evenly",stretch:"stretch"},Fe=Object.keys(be),Ve={align:{type:String,validator:e=>Fe.includes(e)}};function Ye(e){return a.computed(()=>{const t=e.align===void 0?e.vertical===!0?"stretch":"left":e.align;return`${e.vertical===!0?"items":"justify"}-${be[t]}`})}function He(e){return e.appContext.config.globalProperties.$router!==void 0}function oe(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}function ae(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function We(e,t){for(const i in t){const o=t[i],n=e[i];if(typeof o=="string"){if(o!==n)return!1}else if(Array.isArray(n)===!1||n.length!==o.length||o.some((u,c)=>u!==n[c]))return!1}return!0}function ie(e,t){return Array.isArray(t)===!0?e.length===t.length&&e.every((i,o)=>i===t[o]):e.length===1&&e[0]===t}function Qe(e,t){return Array.isArray(e)===!0?ie(e,t):Array.isArray(t)===!0?ie(t,e):e===t}function Ge(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const i in e)if(Qe(e[i],t[i])===!1)return!1;return!0}const Ue={to:[String,Object],replace:Boolean,href:String,target:String,disable:Boolean};function Xe({fallbackTag:e,useDisableForRouterLinkProps:t=!0}={}){const i=a.getCurrentInstance(),{props:o,proxy:n,emit:u}=i,c=He(i),l=a.computed(()=>o.disable!==!0&&o.href!==void 0),w=t===!0?a.computed(()=>c===!0&&o.disable!==!0&&l.value!==!0&&o.to!==void 0&&o.to!==null&&o.to!==""):a.computed(()=>c===!0&&l.value!==!0&&o.to!==void 0&&o.to!==null&&o.to!==""),b=a.computed(()=>w.value===!0?R(o.to):null),d=a.computed(()=>b.value!==null),h=a.computed(()=>l.value===!0||d.value===!0),s=a.computed(()=>o.type==="a"||h.value===!0?"a":o.tag||e||"div"),g=a.computed(()=>l.value===!0?{href:o.href,target:o.target}:d.value===!0?{href:b.value.href,target:o.target}:{}),m=a.computed(()=>{if(d.value===!1)return-1;const{matched:v}=b.value,{length:x}=v,B=v[x-1];if(B===void 0)return-1;const E=n.$route.matched;if(E.length===0)return-1;const S=E.findIndex(ae.bind(null,B));if(S!==-1)return S;const N=oe(v[x-2]);return x>1&&oe(B)===N&&E[E.length-1].path!==N?E.findIndex(ae.bind(null,v[x-2])):S}),y=a.computed(()=>d.value===!0&&m.value!==-1&&We(n.$route.params,b.value.params)),f=a.computed(()=>y.value===!0&&m.value===n.$route.matched.length-1&&Ge(n.$route.params,b.value.params)),k=a.computed(()=>d.value===!0?f.value===!0?` ${o.exactActiveClass} ${o.activeClass}`:o.exact===!0?"":y.value===!0?` ${o.activeClass}`:"":"");function R(v){try{return n.$router.resolve(v)}catch{}return null}function q(v,{returnRouterError:x,to:B=o.to,replace:E=o.replace}={}){if(o.disable===!0)return v.preventDefault(),Promise.resolve(!1);if(v.metaKey||v.altKey||v.ctrlKey||v.shiftKey||v.button!==void 0&&v.button!==0||o.target==="_blank")return Promise.resolve(!1);v.preventDefault();const S=n.$router[E===!0?"replace":"push"](B);return x===!0?S:S.then(()=>{}).catch(()=>{})}function P(v){if(d.value===!0){const x=B=>q(v,B);u("click",v,x),v.defaultPrevented!==!0&&x()}else u("click",v)}return{hasRouterLink:d,hasHrefLink:l,hasLink:h,linkTag:s,resolvedLink:b,linkIsActive:y,linkIsExactActive:f,linkClass:k,linkAttrs:g,getLink:R,navigateToRouterLink:q,navigateOnClick:P}}const re={none:0,xs:4,sm:8,md:16,lg:24,xl:32},Ze={xs:8,sm:10,md:14,lg:20,xl:24},Je=["button","submit","reset"],et=/[^\s]\/[^\s]/,tt=["flat","outline","push","unelevated"];function nt(e,t){return e.flat===!0?"flat":e.outline===!0?"outline":e.push===!0?"push":e.unelevated===!0?"unelevated":t}const ot={...ce,...Ue,type:{type:String,default:"button"},label:[Number,String],icon:String,iconRight:String,...tt.reduce((e,t)=>(e[t]=Boolean)&&e,{}),square:Boolean,rounded:Boolean,glossy:Boolean,size:String,fab:Boolean,fabMini:Boolean,padding:String,color:String,textColor:String,noCaps:Boolean,noWrap:Boolean,dense:Boolean,tabindex:[Number,String],ripple:{type:[Boolean,Object],default:!0},align:{...Ve.align,default:"center"},stack:Boolean,stretch:Boolean,loading:{type:Boolean,default:null},disable:Boolean},at={...ot,round:Boolean};function it(e){const t=de(e,Ze),i=Ye(e),{hasRouterLink:o,hasLink:n,linkTag:u,linkAttrs:c,navigateOnClick:l}=Xe({fallbackTag:"button"}),w=a.computed(()=>{const f=e.fab===!1&&e.fabMini===!1?t.value:{};return e.padding!==void 0?Object.assign({},f,{padding:e.padding.split(/\s+/).map(k=>k in re?re[k]+"px":k).join(" "),minWidth:"0",minHeight:"0"}):f}),b=a.computed(()=>e.rounded===!0||e.fab===!0||e.fabMini===!0),d=a.computed(()=>e.disable!==!0&&e.loading!==!0),h=a.computed(()=>d.value===!0?e.tabindex||0:-1),s=a.computed(()=>nt(e,"standard")),g=a.computed(()=>{const f={tabindex:h.value};return n.value===!0?Object.assign(f,c.value):Je.includes(e.type)===!0&&(f.type=e.type),u.value==="a"?(e.disable===!0?f["aria-disabled"]="true":f.href===void 0&&(f.role="button"),o.value!==!0&&et.test(e.type)===!0&&(f.type=e.type)):e.disable===!0&&(f.disabled="",f["aria-disabled"]="true"),e.loading===!0&&e.percentage!==void 0&&Object.assign(f,{role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":e.percentage}),f}),m=a.computed(()=>{let f;e.color!==void 0?e.flat===!0||e.outline===!0?f=`text-${e.textColor||e.color}`:f=`bg-${e.color} text-${e.textColor||"white"}`:e.textColor&&(f=`text-${e.textColor}`);const k=e.round===!0?"round":`rectangle${b.value===!0?" q-btn--rounded":e.square===!0?" q-btn--square":""}`;return`q-btn--${s.value} q-btn--${k}`+(f!==void 0?" "+f:"")+(d.value===!0?" q-btn--actionable q-focusable q-hoverable":e.disable===!0?" disabled":"")+(e.fab===!0?" q-btn--fab":e.fabMini===!0?" q-btn--fab-mini":"")+(e.noCaps===!0?" q-btn--no-uppercase":"")+(e.dense===!0?" q-btn--dense":"")+(e.stretch===!0?" no-border-radius self-stretch":"")+(e.glossy===!0?" glossy":"")+(e.square?" q-btn--square":"")}),y=a.computed(()=>i.value+(e.stack===!0?" column":" row")+(e.noWrap===!0?" no-wrap text-no-wrap":"")+(e.loading===!0?" q-btn__content--hidden":""));return{classes:m,style:w,innerClasses:y,attributes:g,hasLink:n,linkTag:u,navigateOnClick:l,isActionable:d}}const{passiveCapture:C}=V;let O=null,T=null,z=null;const rt=U({name:"QBtn",props:{...at,percentage:Number,darkPercentage:Boolean,onTouchstart:[Function,Array]},emits:["click","keydown","mousedown","keyup"],setup(e,{slots:t,emit:i}){const{proxy:o}=a.getCurrentInstance(),{classes:n,style:u,innerClasses:c,attributes:l,hasLink:w,linkTag:b,navigateOnClick:d,isActionable:h}=it(e),s=a.ref(null),g=a.ref(null);let m=null,y,f=null;const k=a.computed(()=>e.label!==void 0&&e.label!==null&&e.label!==""),R=a.computed(()=>e.disable===!0||e.ripple===!1?!1:{keyCodes:w.value===!0?[13,32]:[13],...e.ripple===!0?{}:e.ripple}),q=a.computed(()=>({center:e.round})),P=a.computed(()=>{const r=Math.max(0,Math.min(100,e.percentage));return r>0?{transition:"transform 0.6s",transform:`translateX(${r-100}%)`}:{}}),v=a.computed(()=>{if(e.loading===!0)return{onMousedown:I,onTouchstart:I,onClick:I,onKeydown:I,onKeyup:I};if(h.value===!0){const r={onClick:B,onKeydown:E,onMousedown:N};if(o.$q.platform.has.touch===!0){const p=e.onTouchstart!==void 0?"":"Passive";r[`onTouchstart${p}`]=S}return r}return{onClick:M}}),x=a.computed(()=>({ref:s,class:"q-btn q-btn-item non-selectable no-outline "+n.value,style:u.value,...l.value,...v.value}));function B(r){if(s.value!==null){if(r!==void 0){if(r.defaultPrevented===!0)return;const p=document.activeElement;if(e.type==="submit"&&p!==document.body&&s.value.contains(p)===!1&&p.contains(s.value)===!1){s.value.focus();const A=()=>{document.removeEventListener("keydown",M,!0),document.removeEventListener("keyup",A,C),s.value!==null&&s.value.removeEventListener("blur",A,C)};document.addEventListener("keydown",M,!0),document.addEventListener("keyup",A,C),s.value.addEventListener("blur",A,C)}}d(r)}}function E(r){s.value!==null&&(i("keydown",r),Q(r,[13,32])===!0&&T!==s.value&&(T!==null&&j(),r.defaultPrevented!==!0&&(s.value.focus(),T=s.value,s.value.classList.add("q-btn--active"),document.addEventListener("keyup",_,!0),s.value.addEventListener("blur",_,C)),M(r)))}function S(r){s.value!==null&&(i("touchstart",r),r.defaultPrevented!==!0&&(O!==s.value&&(O!==null&&j(),O=s.value,m=r.target,m.addEventListener("touchcancel",_,C),m.addEventListener("touchend",_,C)),y=!0,f!==null&&clearTimeout(f),f=setTimeout(()=>{f=null,y=!1},200)))}function N(r){s.value!==null&&(r.qSkipRipple=y===!0,i("mousedown",r),r.defaultPrevented!==!0&&z!==s.value&&(z!==null&&j(),z=s.value,s.value.classList.add("q-btn--active"),document.addEventListener("mouseup",_,C)))}function _(r){if(s.value!==null&&!(r!==void 0&&r.type==="blur"&&document.activeElement===s.value)){if(r!==void 0&&r.type==="keyup"){if(T===s.value&&Q(r,[13,32])===!0){const p=new MouseEvent("click",r);p.qKeyEvent=!0,r.defaultPrevented===!0&&je(p),r.cancelBubble===!0&&me(p),s.value.dispatchEvent(p),M(r),r.qKeyEvent=!0}i("keyup",r)}j()}}function j(r){const p=g.value;r!==!0&&(O===s.value||z===s.value)&&p!==null&&p!==document.activeElement&&(p.setAttribute("tabindex",-1),p.focus()),O===s.value&&(m!==null&&(m.removeEventListener("touchcancel",_,C),m.removeEventListener("touchend",_,C)),O=m=null),z===s.value&&(document.removeEventListener("mouseup",_,C),z=null),T===s.value&&(document.removeEventListener("keyup",_,!0),s.value!==null&&s.value.removeEventListener("blur",_,C),T=null),s.value!==null&&s.value.classList.remove("q-btn--active")}function I(r){M(r),r.qSkipRipple=!0}return a.onBeforeUnmount(()=>{j(!0)}),Object.assign(o,{click:r=>{h.value===!0&&B(r)}}),()=>{let r=[];e.icon!==void 0&&r.push(a.h(ee,{name:e.icon,left:e.stack!==!0&&k.value===!0,role:"img"})),k.value===!0&&r.push(a.h("span",{class:"block"},[e.label])),r=D(t.default,r),e.iconRight!==void 0&&e.round===!1&&r.push(a.h(ee,{name:e.iconRight,right:e.stack!==!0&&k.value===!0,role:"img"}));const p=[a.h("span",{class:"q-focus-helper",ref:g})];return e.loading===!0&&e.percentage!==void 0&&p.push(a.h("span",{class:"q-btn__progress absolute-full overflow-hidden"+(e.darkPercentage===!0?" q-btn__progress--dark":"")},[a.h("span",{class:"q-btn__progress-indicator fit block",style:P.value})])),p.push(a.h("span",{class:"q-btn__content text-center col items-center q-anchor--skip "+c.value},r)),e.loading!==null&&p.push(a.h(a.Transition,{name:"q-transition--fade"},()=>e.loading===!0?[a.h("span",{key:"loading",class:"absolute-full flex flex-center"},t.loading!==void 0?t.loading():[a.h(Oe)])]:null)),a.withDirectives(a.h(b.value,x.value,p),[[Ke,R.value,void 0,q.value]])}}}),lt=a.defineComponent({__name:"index",props:{size:{default:$.MD},transparent:{type:Boolean},flat:{type:Boolean},rounded:{type:Boolean},color:{default:ue.PRIMARY},iconLeft:{},iconRight:{},iconMiddle:{},disabled:{type:Boolean},loading:{type:Boolean},to:{},href:{},target:{},submit:{type:Boolean},ariaLabel:{},label:{}},emits:["click"],setup(e){const t=e,i=a.computed(()=>["app-btn",{"app-btn_default":!t.transparent&&!t.flat,"app-btn_trans":t.transparent,"app-btn_flat":t.flat,"app-btn_rounded":t.rounded,"app-btn_sm":t.size===$.SM,"app-btn_md":t.size===$.MD,"app-btn_lg":t.size===$.LG,"app-btn_icon-left":t.iconLeft,"app-btn_icon-right":t.iconRight,"app-btn_icon-middle":t.iconMiddle},`app-btn_${t.color}`]);return(o,n)=>(a.openBlock(),a.createBlock(a.unref(rt),{"no-caps":"",unelevated:"",class:a.normalizeClass(i.value),padding:a.unref(we)[o.size||a.unref($).MD],loading:o.loading,disable:o.disabled||void 0,to:o.to,href:o.href,target:o.target,type:o.submit?"submit":void 0,"aria-label":o.ariaLabel,onClick:n[0]||(n[0]=u=>o.$emit("click",u))},{default:a.withCtx(()=>[o.iconLeft||o.iconMiddle?(a.openBlock(),a.createElementBlock("i",{key:0,class:a.normalizeClass(["icon-kl",o.iconLeft?"icon-kl_left":"icon-kl_middle",`icon-kl-${o.iconLeft||o.iconMiddle}`,o.transparent||o.flat?`text-${o.color}`:"text-secondary"])},null,2)):a.createCommentVNode("",!0),a.renderSlot(o.$slots,"default",{},void 0,!0),o.label?(a.openBlock(),a.createElementBlock(a.Fragment,{key:1},[a.createTextVNode(a.toDisplayString(o.label),1)],64)):a.createCommentVNode("",!0),o.iconRight?(a.openBlock(),a.createElementBlock("i",{key:2,class:a.normalizeClass(["icon-kl","icon-kl_right",`icon-kl-${o.iconRight}`,o.transparent?`text-${o.color}`:"text-secondary"])},null,2)):a.createCommentVNode("",!0)]),_:3},8,["class","padding","loading","disable","to","href","target","type","aria-label"]))}}),he=(e,t)=>{const i=e.__vccOpts||e;for(const[o,n]of t)i[o]=n;return i},ge=he(lt,[["__scopeId","data-v-ac94630a"]]),st=a.defineComponent({__name:"index",props:{name:{},size:{},color:{}},setup(e){return(t,i)=>(a.openBlock(),a.createElementBlock("i",{class:a.normalizeClass(["icon-kl",`icon-kl-${t.name}`,t.color?`text-${t.color}`:""]),style:a.normalizeStyle(t.size?`font-size: ${t.size}`:void 0)},null,6))}}),ut=he(st,[["__scopeId","data-v-73419357"]]),ct=a.defineAsyncComponent(()=>Promise.resolve().then(()=>kt)),K=a.ref(!1);let G;function dt(e,t){const i=/(edg|edge|edga|edgios)\/([\w.]+)/.exec(e)||/(opr)[\/]([\w.]+)/.exec(e)||/(vivaldi)[\/]([\w.]+)/.exec(e)||/(chrome|crios)[\/]([\w.]+)/.exec(e)||/(version)(applewebkit)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(e)||/(webkit)[\/]([\w.]+).*(version)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(e)||/(firefox|fxios)[\/]([\w.]+)/.exec(e)||/(webkit)[\/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[\/]([\w.]+)/.exec(e)||[];return{browser:i[5]||i[3]||i[1]||"",version:i[4]||i[2]||"0",platform:t[0]||""}}function ft(e){return/(ipad)/.exec(e)||/(ipod)/.exec(e)||/(windows phone)/.exec(e)||/(iphone)/.exec(e)||/(kindle)/.exec(e)||/(silk)/.exec(e)||/(android)/.exec(e)||/(win)/.exec(e)||/(mac)/.exec(e)||/(linux)/.exec(e)||/(cros)/.exec(e)||/(playbook)/.exec(e)||/(bb)/.exec(e)||/(blackberry)/.exec(e)||[]}const ye="ontouchstart"in window||window.navigator.maxTouchPoints>0;function vt(e){const t=e.toLowerCase(),i=ft(t),o=dt(t,i),n={mobile:!1,desktop:!1,cordova:!1,capacitor:!1,nativeMobile:!1,electron:!1,bex:!1,linux:!1,mac:!1,win:!1,cros:!1,chrome:!1,firefox:!1,opera:!1,safari:!1,vivaldi:!1,edge:!1,edgeChromium:!1,ie:!1,webkit:!1,android:!1,ios:!1,ipad:!1,iphone:!1,ipod:!1,kindle:!1,winphone:!1,blackberry:!1,playbook:!1,silk:!1};o.browser&&(n[o.browser]=!0,n.version=o.version,n.versionNumber=parseInt(o.version,10)),o.platform&&(n[o.platform]=!0);const u=n.android||n.ios||n.bb||n.blackberry||n.ipad||n.iphone||n.ipod||n.kindle||n.playbook||n.silk||n["windows phone"];if(u===!0||t.indexOf("mobile")!==-1?n.mobile=!0:n.desktop=!0,n["windows phone"]&&(n.winphone=!0,delete n["windows phone"]),n.edga||n.edgios||n.edg?(n.edge=!0,o.browser="edge"):n.crios?(n.chrome=!0,o.browser="chrome"):n.fxios&&(n.firefox=!0,o.browser="firefox"),(n.ipod||n.ipad||n.iphone)&&(n.ios=!0),n.vivaldi&&(o.browser="vivaldi",n.vivaldi=!0),(n.chrome||n.opr||n.safari||n.vivaldi||n.mobile===!0&&n.ios!==!0&&u!==!0)&&(n.webkit=!0),n.opr&&(o.browser="opera",n.opera=!0),n.safari&&(n.blackberry||n.bb?(o.browser="blackberry",n.blackberry=!0):n.playbook?(o.browser="playbook",n.playbook=!0):n.android?(o.browser="android",n.android=!0):n.kindle?(o.browser="kindle",n.kindle=!0):n.silk&&(o.browser="silk",n.silk=!0)),n.name=o.browser,n.platform=o.platform,t.indexOf("electron")!==-1)n.electron=!0;else if(document.location.href.indexOf("-extension://")!==-1)n.bex=!0;else{if(window.Capacitor!==void 0?(n.capacitor=!0,n.nativeMobile=!0,n.nativeMobileWrapper="capacitor"):(window._cordovaNative!==void 0||window.cordova!==void 0)&&(n.cordova=!0,n.nativeMobile=!0,n.nativeMobileWrapper="cordova"),K.value===!0&&(G={is:{...n}}),ye===!0&&n.mac===!0&&(n.desktop===!0&&n.safari===!0||n.nativeMobile===!0&&n.android!==!0&&n.ios!==!0&&n.ipad!==!0)){delete n.mac,delete n.desktop;const c=Math.min(window.innerHeight,window.innerWidth)>414?"ipad":"iphone";Object.assign(n,{mobile:!0,ios:!0,platform:c,[c]:!0})}n.mobile!==!0&&window.navigator.userAgentData&&window.navigator.userAgentData.mobile&&(delete n.desktop,n.mobile=!0)}return n}const le=navigator.userAgent||navigator.vendor||window.opera,pt={has:{touch:!1,webStorage:!1},within:{iframe:!1}},F={userAgent:le,is:vt(le),has:{touch:ye},within:{iframe:window.self!==window.top}},se={install(e){const{$q:t}=e;K.value===!0?(e.onSSRHydrated.push(()=>{Object.assign(t.platform,F),K.value=!1}),t.platform=a.reactive(this)):t.platform=this}};{let e;xe(F.has,"webStorage",()=>{if(e!==void 0)return e;try{if(window.localStorage)return e=!0,!0}catch{}return e=!1,!1}),Object.assign(se,F),K.value===!0&&(Object.assign(se,G,pt),G=null)}const L=[];function ke(e){L[L.length-1](e)}function mt(e){F.is.desktop===!0&&(L.push(e),L.length===1&&document.body.addEventListener("focusin",ke))}function bt(e){const t=L.indexOf(e);t!==-1&&(L.splice(t,1),L.length===0&&document.body.removeEventListener("focusin",ke))}function ht(e){const t=document.createElement("textarea");t.value=e,t.contentEditable="true",t.style.position="fixed";const i=()=>{};mt(i),document.body.appendChild(t),t.focus(),t.select();const o=document.execCommand("copy");return t.remove(),bt(i),o}function gt(e){return navigator.clipboard!==void 0?navigator.clipboard.writeText(e):new Promise((t,i)=>{const o=ht(e);o?t(!0):i(o)})}const H={COPY:"copy_o",COPIED:"copied_o"},yt=a.defineComponent({__name:"index",props:{text:{},size:{},transparent:{type:Boolean,default:!0},flat:{type:Boolean},rounded:{type:Boolean},color:{default:ue.INFO},iconLeft:{},iconRight:{},iconMiddle:{},disabled:{type:Boolean},loading:{type:Boolean},to:{},href:{},target:{},submit:{type:Boolean},ariaLabel:{},label:{}},setup(e){const t=e,i=a.ref(H.COPY),o=()=>{i.value=H.COPIED,setTimeout(()=>{i.value=H.COPY},2e3)},n=()=>{gt(t.text).then(o).catch(u=>{console.log(u)})};return(u,c)=>(a.openBlock(),a.createBlock(a.unref(ge),a.mergeProps(t,{"icon-middle":i.value,onClick:a.withModifiers(n,["prevent"])}),null,16,["icon-middle"]))}}),kt=Object.freeze(Object.defineProperty({__proto__:null,default:yt},Symbol.toStringTag,{value:"Module"}));exports.AppButton=ge;exports.AppButtonCopy=ct;exports.AppIcon=ut;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),Nn={PRIMARY:"primary",INFO:"info"},he={SM:"sm",MD:"md",LG:"lg"},Kl={[he.SM]:"3px 9px",[he.MD]:"5px 12px",[he.LG]:"9px 20px"},At={xs:18,sm:24,md:32,lg:38,xl:46},pt={size:String};function gt(e,n=At){return t.computed(()=>e.size!==void 0?{fontSize:e.size in n?`${n[e.size]}px`:e.size}:null)}function Dt(e,n,l,o){return Object.defineProperty(e,n,{get:l,set:o,enumerable:!0}),e}function ae(e){return t.markRaw(t.defineComponent(e))}function Ul(e){return t.markRaw(e)}function me(e,n){return e!==void 0&&e()||n}function Ql(e,n){if(e!==void 0){const l=e();if(l!=null)return l.slice()}return n}function Ce(e,n){return e!==void 0?n.concat(e()):n}function Yl(e,n){return e===void 0?n:n!==void 0?n.concat(e()):e()}function Xl(e,n,l,o,i,a){n.key=o+i;const r=t.h(e,n,l);return i===!0?t.withDirectives(r,a()):r}const sn="0 0 24 24",cn=e=>e,xt=e=>`ionicons ${e}`,Wn={"mdi-":e=>`mdi ${e}`,"icon-":cn,"bt-":e=>`bt ${e}`,"eva-":e=>`eva ${e}`,"ion-md":xt,"ion-ios":xt,"ion-logo":xt,"iconfont ":cn,"ti-":e=>`themify-icon ${e}`,"bi-":e=>`bootstrap-icons ${e}`},Kn={o_:"-outlined",r_:"-round",s_:"-sharp"},Un={sym_o_:"-outlined",sym_r_:"-rounded",sym_s_:"-sharp"},Gl=new RegExp("^("+Object.keys(Wn).join("|")+")"),Zl=new RegExp("^("+Object.keys(Kn).join("|")+")"),dn=new RegExp("^("+Object.keys(Un).join("|")+")"),Jl=/^[Mm]\s?[-+]?\.?\d/,eo=/^img:/,to=/^svguse:/,no=/^ion-/,lo=/^(fa-(classic|sharp|solid|regular|light|brands|duotone|thin)|[lf]a[srlbdk]?) /,pe=ae({name:"QIcon",props:{...pt,tag:{type:String,default:"i"},name:String,color:String,left:Boolean,right:Boolean},setup(e,{slots:n}){const{proxy:{$q:l}}=t.getCurrentInstance(),o=gt(e),i=t.computed(()=>"q-icon"+(e.left===!0?" on-left":"")+(e.right===!0?" on-right":"")+(e.color!==void 0?` text-${e.color}`:"")),a=t.computed(()=>{let r,s=e.name;if(s==="none"||!s)return{none:!0};if(l.iconMapFn!==null){const c=l.iconMapFn(s);if(c!==void 0)if(c.icon!==void 0){if(s=c.icon,s==="none"||!s)return{none:!0}}else return{cls:c.cls,content:c.content!==void 0?c.content:" "}}if(Jl.test(s)===!0){const[c,b=sn]=s.split("|");return{svg:!0,viewBox:b,nodes:c.split("&&").map(v=>{const[d,m,x]=v.split("@@");return t.h("path",{style:m,d,transform:x})})}}if(eo.test(s)===!0)return{img:!0,src:s.substring(4)};if(to.test(s)===!0){const[c,b=sn]=s.split("|");return{svguse:!0,src:c.substring(7),viewBox:b}}let h=" ";const g=s.match(Gl);if(g!==null)r=Wn[g[1]](s);else if(lo.test(s)===!0)r=s;else if(no.test(s)===!0)r=`ionicons ion-${l.platform.is.ios===!0?"ios":"md"}${s.substring(3)}`;else if(dn.test(s)===!0){r="notranslate material-symbols";const c=s.match(dn);c!==null&&(s=s.substring(6),r+=Un[c[1]]),h=s}else{r="notranslate material-icons";const c=s.match(Zl);c!==null&&(s=s.substring(2),r+=Kn[c[1]]),h=s}return{cls:r,content:h}});return()=>{const r={class:i.value,style:o.value,"aria-hidden":"true",role:"presentation"};return a.value.none===!0?t.h(e.tag,r,me(n.default)):a.value.img===!0?t.h(e.tag,r,Ce(n.default,[t.h("img",{src:a.value.src})])):a.value.svg===!0?t.h(e.tag,r,Ce(n.default,[t.h("svg",{viewBox:a.value.viewBox||"0 0 24 24"},a.value.nodes)])):a.value.svguse===!0?t.h(e.tag,r,Ce(n.default,[t.h("svg",{viewBox:a.value.viewBox},[t.h("use",{"xlink:href":a.value.src})])])):(a.value.cls!==void 0&&(r.class+=" "+a.value.cls),t.h(e.tag,r,Ce(n.default,[a.value.content])))}}}),oo={size:{type:[String,Number],default:"1em"},color:String};function io(e){return{cSize:t.computed(()=>e.size in At?`${At[e.size]}px`:e.size),classes:t.computed(()=>"q-spinner"+(e.color?` text-${e.color}`:""))}}const Qn=ae({name:"QSpinner",props:{...oo,thickness:{type:Number,default:5}},setup(e){const{cSize:n,classes:l}=io(e);return()=>t.h("svg",{class:l.value+" q-spinner-mat",width:n.value,height:n.value,viewBox:"25 25 50 50"},[t.h("circle",{class:"path",cx:"50",cy:"50",r:"20",fill:"none",stroke:"currentColor","stroke-width":e.thickness,"stroke-miterlimit":"10"})])}});function Lt(e,n){const l=e.style;for(const o in n)l[o]=n[o]}function uo(e){if(e==null)return;if(typeof e=="string")try{return document.querySelector(e)||void 0}catch{return}const n=t.unref(e);if(n)return n.$el||n}function Yn(e,n){if(e==null||e.contains(n)===!0)return!0;for(let l=e.nextElementSibling;l!==null;l=l.nextElementSibling)if(l.contains(n))return!0;return!1}const le={hasPassive:!1,passiveCapture:!0,notPassiveCapture:!0};try{const e=Object.defineProperty({},"passive",{get(){Object.assign(le,{hasPassive:!0,passive:{passive:!0},notPassive:{passive:!1},passiveCapture:{passive:!0,capture:!0},notPassiveCapture:{passive:!1,capture:!0}})}});window.addEventListener("qtest",null,e),window.removeEventListener("qtest",null,e)}catch{}function ao(){}function Xn(e){return e.touches&&e.touches[0]?e=e.touches[0]:e.changedTouches&&e.changedTouches[0]?e=e.changedTouches[0]:e.targetTouches&&e.targetTouches[0]&&(e=e.targetTouches[0]),{top:e.clientY,left:e.clientX}}function ro(e){if(e.path)return e.path;if(e.composedPath)return e.composedPath();const n=[];let l=e.target;for(;l;){if(n.push(l),l.tagName==="HTML")return n.push(document),n.push(window),n;l=l.parentElement}}function ge(e){e.stopPropagation()}function ce(e){e.cancelable!==!1&&e.preventDefault()}function J(e){e.cancelable!==!1&&e.preventDefault(),e.stopPropagation()}function Ot(e,n,l){const o=`__q_${n}_evt`;e[o]=e[o]!==void 0?e[o].concat(l):l,l.forEach(i=>{i[0].addEventListener(i[1],e[i[2]],le[i[3]])})}function Gn(e,n){const l=`__q_${n}_evt`;e[l]!==void 0&&(e[l].forEach(o=>{o[0].removeEventListener(o[1],e[o[2]],le[o[3]])}),e[l]=void 0)}function Zn(e){return e!==Object(e)||e.isComposing===!0||e.qKeyEvent===!0}function Ve(e,n){return Zn(e)===!0?!1:[].concat(n).includes(e.keyCode)}function so(e,n=250){let l=!1,o;return function(){return l===!1&&(l=!0,setTimeout(()=>{l=!1},n),o=e.apply(this,arguments)),o}}function fn(e,n,l,o){l.modifiers.stop===!0&&ge(e);const i=l.modifiers.color;let a=l.modifiers.center;a=a===!0||o===!0;const r=document.createElement("span"),s=document.createElement("span"),h=Xn(e),{left:g,top:c,width:b,height:v}=n.getBoundingClientRect(),d=Math.sqrt(b*b+v*v),m=d/2,x=`${(b-d)/2}px`,p=a?x:`${h.left-g-m}px`,L=`${(v-d)/2}px`,V=a?L:`${h.top-c-m}px`;s.className="q-ripple__inner",Lt(s,{height:`${d}px`,width:`${d}px`,transform:`translate3d(${p},${V},0) scale3d(.2,.2,1)`,opacity:0}),r.className=`q-ripple${i?" text-"+i:""}`,r.setAttribute("dir","ltr"),r.appendChild(s),n.appendChild(r);const S=()=>{r.remove(),clearTimeout(M)};l.abort.push(S);let M=setTimeout(()=>{s.classList.add("q-ripple__inner--enter"),s.style.transform=`translate3d(${x},${L},0) scale3d(1,1,1)`,s.style.opacity=.2,M=setTimeout(()=>{s.classList.remove("q-ripple__inner--enter"),s.classList.add("q-ripple__inner--leave"),s.style.opacity=0,M=setTimeout(()=>{r.remove(),l.abort.splice(l.abort.indexOf(S),1)},275)},250)},50)}function vn(e,{modifiers:n,value:l,arg:o}){const i=Object.assign({},e.cfg.ripple,n,l);e.modifiers={early:i.early===!0,stop:i.stop===!0,center:i.center===!0,color:i.color||o,keyCodes:[].concat(i.keyCodes||13)}}const Jn=Ul({name:"ripple",beforeMount(e,n){const l=n.instance.$.appContext.config.globalProperties.$q.config||{};if(l.ripple===!1)return;const o={cfg:l,enabled:n.value!==!1,modifiers:{},abort:[],start(i){o.enabled===!0&&i.qSkipRipple!==!0&&i.type===(o.modifiers.early===!0?"pointerdown":"click")&&fn(i,e,o,i.qKeyEvent===!0)},keystart:so(i=>{o.enabled===!0&&i.qSkipRipple!==!0&&Ve(i,o.modifiers.keyCodes)===!0&&i.type===`key${o.modifiers.early===!0?"down":"up"}`&&fn(i,e,o,!0)},300)};vn(o,n),e.__qripple=o,Ot(o,"main",[[e,"pointerdown","start","passive"],[e,"click","start","passive"],[e,"keydown","keystart","passive"],[e,"keyup","keystart","passive"]])},updated(e,n){if(n.oldValue!==n.value){const l=e.__qripple;l!==void 0&&(l.enabled=n.value!==!1,l.enabled===!0&&Object(n.value)===n.value&&vn(l,n))}},beforeUnmount(e){const n=e.__qripple;n!==void 0&&(n.abort.forEach(l=>{l()}),Gn(n,"main"),delete e._qripple)}}),el={left:"start",center:"center",right:"end",between:"between",around:"around",evenly:"evenly",stretch:"stretch"},co=Object.keys(el),fo={align:{type:String,validator:e=>co.includes(e)}};function vo(e){return t.computed(()=>{const n=e.align===void 0?e.vertical===!0?"stretch":"left":e.align;return`${e.vertical===!0?"items":"justify"}-${el[n]}`})}function Ct(e){if(Object(e.$parent)===e.$parent)return e.$parent;let{parent:n}=e.$;for(;Object(n)===n;){if(Object(n.proxy)===n.proxy)return n.proxy;n=n.parent}}function tl(e){return e.appContext.config.globalProperties.$router!==void 0}function nl(e){return e.isUnmounted===!0||e.isDeactivated===!0}function mn(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}function hn(e,n){return(e.aliasOf||e)===(n.aliasOf||n)}function mo(e,n){for(const l in n){const o=n[l],i=e[l];if(typeof o=="string"){if(o!==i)return!1}else if(Array.isArray(i)===!1||i.length!==o.length||o.some((a,r)=>a!==i[r]))return!1}return!0}function pn(e,n){return Array.isArray(n)===!0?e.length===n.length&&e.every((l,o)=>l===n[o]):e.length===1&&e[0]===n}function ho(e,n){return Array.isArray(e)===!0?pn(e,n):Array.isArray(n)===!0?pn(n,e):e===n}function po(e,n){if(Object.keys(e).length!==Object.keys(n).length)return!1;for(const l in e)if(ho(e[l],n[l])===!1)return!1;return!0}const ll={to:[String,Object],replace:Boolean,href:String,target:String,disable:Boolean},go={...ll,exact:Boolean,activeClass:{type:String,default:"q-router-link--active"},exactActiveClass:{type:String,default:"q-router-link--exact-active"}};function ol({fallbackTag:e,useDisableForRouterLinkProps:n=!0}={}){const l=t.getCurrentInstance(),{props:o,proxy:i,emit:a}=l,r=tl(l),s=t.computed(()=>o.disable!==!0&&o.href!==void 0),h=n===!0?t.computed(()=>r===!0&&o.disable!==!0&&s.value!==!0&&o.to!==void 0&&o.to!==null&&o.to!==""):t.computed(()=>r===!0&&s.value!==!0&&o.to!==void 0&&o.to!==null&&o.to!==""),g=t.computed(()=>h.value===!0?V(o.to):null),c=t.computed(()=>g.value!==null),b=t.computed(()=>s.value===!0||c.value===!0),v=t.computed(()=>o.type==="a"||b.value===!0?"a":o.tag||e||"div"),d=t.computed(()=>s.value===!0?{href:o.href,target:o.target}:c.value===!0?{href:g.value.href,target:o.target}:{}),m=t.computed(()=>{if(c.value===!1)return-1;const{matched:R}=g.value,{length:E}=R,A=R[E-1];if(A===void 0)return-1;const O=i.$route.matched;if(O.length===0)return-1;const D=O.findIndex(hn.bind(null,A));if(D!==-1)return D;const X=mn(R[E-2]);return E>1&&mn(A)===X&&O[O.length-1].path!==X?O.findIndex(hn.bind(null,R[E-2])):D}),x=t.computed(()=>c.value===!0&&m.value!==-1&&mo(i.$route.params,g.value.params)),p=t.computed(()=>x.value===!0&&m.value===i.$route.matched.length-1&&po(i.$route.params,g.value.params)),L=t.computed(()=>c.value===!0?p.value===!0?` ${o.exactActiveClass} ${o.activeClass}`:o.exact===!0?"":x.value===!0?` ${o.activeClass}`:"":"");function V(R){try{return i.$router.resolve(R)}catch{}return null}function S(R,{returnRouterError:E,to:A=o.to,replace:O=o.replace}={}){if(o.disable===!0)return R.preventDefault(),Promise.resolve(!1);if(R.metaKey||R.altKey||R.ctrlKey||R.shiftKey||R.button!==void 0&&R.button!==0||o.target==="_blank")return Promise.resolve(!1);R.preventDefault();const D=i.$router[O===!0?"replace":"push"](A);return E===!0?D:D.then(()=>{}).catch(()=>{})}function M(R){if(c.value===!0){const E=A=>S(R,A);a("click",R,E),R.defaultPrevented!==!0&&E()}else a("click",R)}return{hasRouterLink:c,hasHrefLink:s,hasLink:b,linkTag:v,resolvedLink:g,linkIsActive:x,linkIsExactActive:p,linkClass:L,linkAttrs:d,getLink:V,navigateToRouterLink:S,navigateOnClick:M}}const gn={none:0,xs:4,sm:8,md:16,lg:24,xl:32},bo={xs:8,sm:10,md:14,lg:20,xl:24},yo=["button","submit","reset"],wo=/[^\s]\/[^\s]/,So=["flat","outline","push","unelevated"];function ko(e,n){return e.flat===!0?"flat":e.outline===!0?"outline":e.push===!0?"push":e.unelevated===!0?"unelevated":n}const xo={...pt,...ll,type:{type:String,default:"button"},label:[Number,String],icon:String,iconRight:String,...So.reduce((e,n)=>(e[n]=Boolean)&&e,{}),square:Boolean,rounded:Boolean,glossy:Boolean,size:String,fab:Boolean,fabMini:Boolean,padding:String,color:String,textColor:String,noCaps:Boolean,noWrap:Boolean,dense:Boolean,tabindex:[Number,String],ripple:{type:[Boolean,Object],default:!0},align:{...fo.align,default:"center"},stack:Boolean,stretch:Boolean,loading:{type:Boolean,default:null},disable:Boolean},Co={...xo,round:Boolean};function qo(e){const n=gt(e,bo),l=vo(e),{hasRouterLink:o,hasLink:i,linkTag:a,linkAttrs:r,navigateOnClick:s}=ol({fallbackTag:"button"}),h=t.computed(()=>{const p=e.fab===!1&&e.fabMini===!1?n.value:{};return e.padding!==void 0?Object.assign({},p,{padding:e.padding.split(/\s+/).map(L=>L in gn?gn[L]+"px":L).join(" "),minWidth:"0",minHeight:"0"}):p}),g=t.computed(()=>e.rounded===!0||e.fab===!0||e.fabMini===!0),c=t.computed(()=>e.disable!==!0&&e.loading!==!0),b=t.computed(()=>c.value===!0?e.tabindex||0:-1),v=t.computed(()=>ko(e,"standard")),d=t.computed(()=>{const p={tabindex:b.value};return i.value===!0?Object.assign(p,r.value):yo.includes(e.type)===!0&&(p.type=e.type),a.value==="a"?(e.disable===!0?p["aria-disabled"]="true":p.href===void 0&&(p.role="button"),o.value!==!0&&wo.test(e.type)===!0&&(p.type=e.type)):e.disable===!0&&(p.disabled="",p["aria-disabled"]="true"),e.loading===!0&&e.percentage!==void 0&&Object.assign(p,{role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":e.percentage}),p}),m=t.computed(()=>{let p;e.color!==void 0?e.flat===!0||e.outline===!0?p=`text-${e.textColor||e.color}`:p=`bg-${e.color} text-${e.textColor||"white"}`:e.textColor&&(p=`text-${e.textColor}`);const L=e.round===!0?"round":`rectangle${g.value===!0?" q-btn--rounded":e.square===!0?" q-btn--square":""}`;return`q-btn--${v.value} q-btn--${L}`+(p!==void 0?" "+p:"")+(c.value===!0?" q-btn--actionable q-focusable q-hoverable":e.disable===!0?" disabled":"")+(e.fab===!0?" q-btn--fab":e.fabMini===!0?" q-btn--fab-mini":"")+(e.noCaps===!0?" q-btn--no-uppercase":"")+(e.dense===!0?" q-btn--dense":"")+(e.stretch===!0?" no-border-radius self-stretch":"")+(e.glossy===!0?" glossy":"")+(e.square?" q-btn--square":"")}),x=t.computed(()=>l.value+(e.stack===!0?" column":" row")+(e.noWrap===!0?" no-wrap text-no-wrap":"")+(e.loading===!0?" q-btn__content--hidden":""));return{classes:m,style:h,innerClasses:x,attributes:d,hasLink:i,linkTag:a,navigateOnClick:s,isActionable:c}}const{passiveCapture:re}=le;let Pe=null,ze=null,Ie=null;const Bo=ae({name:"QBtn",props:{...Co,percentage:Number,darkPercentage:Boolean,onTouchstart:[Function,Array]},emits:["click","keydown","mousedown","keyup"],setup(e,{slots:n,emit:l}){const{proxy:o}=t.getCurrentInstance(),{classes:i,style:a,innerClasses:r,attributes:s,hasLink:h,linkTag:g,navigateOnClick:c,isActionable:b}=qo(e),v=t.ref(null),d=t.ref(null);let m=null,x,p=null;const L=t.computed(()=>e.label!==void 0&&e.label!==null&&e.label!==""),V=t.computed(()=>e.disable===!0||e.ripple===!1?!1:{keyCodes:h.value===!0?[13,32]:[13],...e.ripple===!0?{}:e.ripple}),S=t.computed(()=>({center:e.round})),M=t.computed(()=>{const _=Math.max(0,Math.min(100,e.percentage));return _>0?{transition:"transform 0.6s",transform:`translateX(${_-100}%)`}:{}}),R=t.computed(()=>{if(e.loading===!0)return{onMousedown:N,onTouchstart:N,onClick:N,onKeydown:N,onKeyup:N};if(b.value===!0){const _={onClick:A,onKeydown:O,onMousedown:X};if(o.$q.platform.has.touch===!0){const F=e.onTouchstart!==void 0?"":"Passive";_[`onTouchstart${F}`]=D}return _}return{onClick:J}}),E=t.computed(()=>({ref:v,class:"q-btn q-btn-item non-selectable no-outline "+i.value,style:a.value,...s.value,...R.value}));function A(_){if(v.value!==null){if(_!==void 0){if(_.defaultPrevented===!0)return;const F=document.activeElement;if(e.type==="submit"&&F!==document.body&&v.value.contains(F)===!1&&F.contains(v.value)===!1){v.value.focus();const Q=()=>{document.removeEventListener("keydown",J,!0),document.removeEventListener("keyup",Q,re),v.value!==null&&v.value.removeEventListener("blur",Q,re)};document.addEventListener("keydown",J,!0),document.addEventListener("keyup",Q,re),v.value.addEventListener("blur",Q,re)}}c(_)}}function O(_){v.value!==null&&(l("keydown",_),Ve(_,[13,32])===!0&&ze!==v.value&&(ze!==null&&$(),_.defaultPrevented!==!0&&(v.value.focus(),ze=v.value,v.value.classList.add("q-btn--active"),document.addEventListener("keyup",K,!0),v.value.addEventListener("blur",K,re)),J(_)))}function D(_){v.value!==null&&(l("touchstart",_),_.defaultPrevented!==!0&&(Pe!==v.value&&(Pe!==null&&$(),Pe=v.value,m=_.target,m.addEventListener("touchcancel",K,re),m.addEventListener("touchend",K,re)),x=!0,p!==null&&clearTimeout(p),p=setTimeout(()=>{p=null,x=!1},200)))}function X(_){v.value!==null&&(_.qSkipRipple=x===!0,l("mousedown",_),_.defaultPrevented!==!0&&Ie!==v.value&&(Ie!==null&&$(),Ie=v.value,v.value.classList.add("q-btn--active"),document.addEventListener("mouseup",K,re)))}function K(_){if(v.value!==null&&!(_!==void 0&&_.type==="blur"&&document.activeElement===v.value)){if(_!==void 0&&_.type==="keyup"){if(ze===v.value&&Ve(_,[13,32])===!0){const F=new MouseEvent("click",_);F.qKeyEvent=!0,_.defaultPrevented===!0&&ce(F),_.cancelBubble===!0&&ge(F),v.value.dispatchEvent(F),J(_),_.qKeyEvent=!0}l("keyup",_)}$()}}function $(_){const F=d.value;_!==!0&&(Pe===v.value||Ie===v.value)&&F!==null&&F!==document.activeElement&&(F.setAttribute("tabindex",-1),F.focus()),Pe===v.value&&(m!==null&&(m.removeEventListener("touchcancel",K,re),m.removeEventListener("touchend",K,re)),Pe=m=null),Ie===v.value&&(document.removeEventListener("mouseup",K,re),Ie=null),ze===v.value&&(document.removeEventListener("keyup",K,!0),v.value!==null&&v.value.removeEventListener("blur",K,re),ze=null),v.value!==null&&v.value.classList.remove("q-btn--active")}function N(_){J(_),_.qSkipRipple=!0}return t.onBeforeUnmount(()=>{$(!0)}),Object.assign(o,{click:_=>{b.value===!0&&A(_)}}),()=>{let _=[];e.icon!==void 0&&_.push(t.h(pe,{name:e.icon,left:e.stack!==!0&&L.value===!0,role:"img"})),L.value===!0&&_.push(t.h("span",{class:"block"},[e.label])),_=Ce(n.default,_),e.iconRight!==void 0&&e.round===!1&&_.push(t.h(pe,{name:e.iconRight,right:e.stack!==!0&&L.value===!0,role:"img"}));const F=[t.h("span",{class:"q-focus-helper",ref:d})];return e.loading===!0&&e.percentage!==void 0&&F.push(t.h("span",{class:"q-btn__progress absolute-full overflow-hidden"+(e.darkPercentage===!0?" q-btn__progress--dark":"")},[t.h("span",{class:"q-btn__progress-indicator fit block",style:M.value})])),F.push(t.h("span",{class:"q-btn__content text-center col items-center q-anchor--skip "+r.value},_)),e.loading!==null&&F.push(t.h(t.Transition,{name:"q-transition--fade"},()=>e.loading===!0?[t.h("span",{key:"loading",class:"absolute-full flex flex-center"},n.loading!==void 0?n.loading():[t.h(Qn)])]:null)),t.withDirectives(t.h(g.value,E.value,F),[[Jn,V.value,void 0,S.value]])}}}),_o=t.defineComponent({__name:"index",props:{size:{default:he.MD},transparent:{type:Boolean},flat:{type:Boolean},rounded:{type:Boolean},color:{default:Nn.PRIMARY},iconLeft:{},iconRight:{},iconMiddle:{},disabled:{type:Boolean},loading:{type:Boolean},to:{},href:{},target:{},submit:{type:Boolean},ariaLabel:{},label:{}},emits:["click"],setup(e){const n=e,l=t.computed(()=>["app-btn",{"app-btn_default":!n.transparent&&!n.flat,"app-btn_trans":n.transparent,"app-btn_flat":n.flat,"app-btn_rounded":n.rounded,"app-btn_sm":n.size===he.SM,"app-btn_md":n.size===he.MD,"app-btn_lg":n.size===he.LG,"app-btn_icon-left":n.iconLeft,"app-btn_icon-right":n.iconRight,"app-btn_icon-middle":n.iconMiddle},`app-btn_${n.color}`]);return(o,i)=>(t.openBlock(),t.createBlock(t.unref(Bo),{"no-caps":"",unelevated:"",class:t.normalizeClass(l.value),padding:t.unref(Kl)[o.size||t.unref(he).MD],loading:o.loading,disable:o.disabled||void 0,to:o.to,href:o.href,target:o.target,type:o.submit?"submit":void 0,"aria-label":o.ariaLabel,onClick:i[0]||(i[0]=a=>o.$emit("click",a))},{default:t.withCtx(()=>[o.iconLeft||o.iconMiddle?(t.openBlock(),t.createElementBlock("i",{key:0,class:t.normalizeClass(["icon-kl",o.iconLeft?"icon-kl_left":"icon-kl_middle",`icon-kl-${o.iconLeft||o.iconMiddle}`,o.transparent||o.flat?`text-${o.color}`:"text-secondary"])},null,2)):t.createCommentVNode("",!0),t.renderSlot(o.$slots,"default",{},void 0,!0),o.label?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString(o.label),1)],64)):t.createCommentVNode("",!0),o.iconRight?(t.openBlock(),t.createElementBlock("i",{key:2,class:t.normalizeClass(["icon-kl","icon-kl_right",`icon-kl-${o.iconRight}`,o.transparent?`text-${o.color}`:"text-secondary"])},null,2)):t.createCommentVNode("",!0)]),_:3},8,["class","padding","loading","disable","to","href","target","type","aria-label"]))}}),jt=(e,n)=>{const l=e.__vccOpts||e;for(const[o,i]of n)l[o]=i;return l},Nt=jt(_o,[["__scopeId","data-v-ac94630a"]]),Eo=t.defineComponent({__name:"index",props:{name:{},size:{},color:{}},setup(e){return(n,l)=>(t.openBlock(),t.createElementBlock("i",{class:t.normalizeClass(["icon-kl",`icon-kl-${n.name}`,n.color?`text-${n.color}`:""]),style:t.normalizeStyle(n.size?`font-size: ${n.size}`:void 0)},null,6))}}),il=jt(Eo,[["__scopeId","data-v-73419357"]]),Ge={dark:{type:Boolean,default:null}};function Ze(e,n){return t.computed(()=>e.dark===null?n.dark.isActive:e.dark)}function Vo(e,n){const l=t.ref(null),o=t.computed(()=>e.disable===!0?null:t.h("span",{ref:l,class:"no-outline",tabindex:-1}));function i(a){const r=n.value;a!==void 0&&a.type.indexOf("key")===0?r!==null&&document.activeElement!==r&&r.contains(document.activeElement)===!0&&r.focus():l.value!==null&&(a===void 0||r!==null&&r.contains(a.target)===!0)&&l.value.focus()}return{refocusTargetEl:o,refocusTarget:i}}const ul={name:String};function To(e={}){return(n,l,o)=>{n[l](t.h("input",{class:"hidden"+(o||""),...e.value}))}}function Ro(e){return t.computed(()=>e.name||e.for)}const $o={xs:30,sm:35,md:40,lg:50,xl:60},Mo={...Ge,...pt,...ul,modelValue:{required:!0,default:null},val:{},trueValue:{default:!0},falseValue:{default:!1},indeterminateValue:{default:null},checkedIcon:String,uncheckedIcon:String,indeterminateIcon:String,toggleOrder:{type:String,validator:e=>e==="tf"||e==="ft"},toggleIndeterminate:Boolean,label:String,leftLabel:Boolean,color:String,keepColor:Boolean,dense:Boolean,disable:Boolean,tabindex:[String,Number]},Ao=["update:modelValue"];function Lo(e,n){const{props:l,slots:o,emit:i,proxy:a}=t.getCurrentInstance(),{$q:r}=a,s=Ze(l,r),h=t.ref(null),{refocusTargetEl:g,refocusTarget:c}=Vo(l,h),b=gt(l,$o),v=t.computed(()=>l.val!==void 0&&Array.isArray(l.modelValue)),d=t.computed(()=>{const $=t.toRaw(l.val);return v.value===!0?l.modelValue.findIndex(N=>t.toRaw(N)===$):-1}),m=t.computed(()=>v.value===!0?d.value!==-1:t.toRaw(l.modelValue)===t.toRaw(l.trueValue)),x=t.computed(()=>v.value===!0?d.value===-1:t.toRaw(l.modelValue)===t.toRaw(l.falseValue)),p=t.computed(()=>m.value===!1&&x.value===!1),L=t.computed(()=>l.disable===!0?-1:l.tabindex||0),V=t.computed(()=>`q-${e} cursor-pointer no-outline row inline no-wrap items-center`+(l.disable===!0?" disabled":"")+(s.value===!0?` q-${e}--dark`:"")+(l.dense===!0?` q-${e}--dense`:"")+(l.leftLabel===!0?" reverse":"")),S=t.computed(()=>{const $=m.value===!0?"truthy":x.value===!0?"falsy":"indet",N=l.color!==void 0&&(l.keepColor===!0||x.value!==!0)?` text-${l.color}`:"";return`q-${e}__inner relative-position non-selectable q-${e}__inner--${$}${N}`}),M=t.computed(()=>{const $={type:"checkbox"};return l.name!==void 0&&Object.assign($,{".checked":m.value,"^checked":m.value===!0?"checked":void 0,name:l.name,value:v.value===!0?l.val:l.trueValue}),$}),R=To(M),E=t.computed(()=>{const $={tabindex:L.value,role:"checkbox","aria-label":l.label,"aria-checked":p.value===!0?"mixed":m.value===!0?"true":"false"};return l.disable===!0&&($["aria-disabled"]="true"),$});function A($){$!==void 0&&(J($),c($)),l.disable!==!0&&i("update:modelValue",O(),$)}function O(){if(v.value===!0){if(m.value===!0){const $=l.modelValue.slice();return $.splice(d.value,1),$}return l.modelValue.concat([l.val])}if(m.value===!0){if(l.toggleOrder!=="ft"||l.toggleIndeterminate===!1)return l.falseValue}else if(x.value===!0){if(l.toggleOrder==="ft"||l.toggleIndeterminate===!1)return l.trueValue}else return l.toggleOrder!=="ft"?l.trueValue:l.falseValue;return l.indeterminateValue}function D($){($.keyCode===13||$.keyCode===32)&&J($)}function X($){($.keyCode===13||$.keyCode===32)&&A($)}const K=n(m,p);return Object.assign(a,{toggle:A}),()=>{const $=K();l.disable!==!0&&R($,"unshift",` q-${e}__native absolute q-ma-none q-pa-none`);const N=[t.h("div",{class:S.value,style:b.value,"aria-hidden":"true"},$)];g.value!==null&&N.push(g.value);const _=l.label!==void 0?Ce(o.default,[l.label]):me(o.default);return _!==void 0&&N.push(t.h("div",{class:`q-${e}__label q-anchor--skip`},_)),t.h("div",{ref:h,class:V.value,...E.value,onClick:A,onKeydown:D,onKeyup:X},N)}}const Oo=()=>t.h("div",{key:"svg",class:"q-checkbox__bg absolute"},[t.h("svg",{class:"q-checkbox__svg fit absolute-full",viewBox:"0 0 24 24"},[t.h("path",{class:"q-checkbox__truthy",fill:"none",d:"M1.73,12.91 8.1,19.28 22.79,4.59"}),t.h("path",{class:"q-checkbox__indet",d:"M4,14H20V10H4"})])]),Po=ae({name:"QCheckbox",props:Mo,emits:Ao,setup(e){const n=Oo();function l(o,i){const a=t.computed(()=>(o.value===!0?e.checkedIcon:i.value===!0?e.indeterminateIcon:e.uncheckedIcon)||null);return()=>a.value!==null?[t.h("div",{key:"icon",class:"q-checkbox__icon-container absolute-full flex flex-center no-wrap"},[t.h(pe,{class:"q-checkbox__icon",name:a.value})])]:[n]}return Lo("checkbox",l)}}),ct=ae({name:"QItemSection",props:{avatar:Boolean,thumbnail:Boolean,side:Boolean,top:Boolean,noWrap:Boolean},setup(e,{slots:n}){const l=t.computed(()=>`q-item__section column q-item__section--${e.avatar===!0||e.side===!0||e.thumbnail===!0?"side":"main"}`+(e.top===!0?" q-item__section--top justify-start":" justify-center")+(e.avatar===!0?" q-item__section--avatar":"")+(e.thumbnail===!0?" q-item__section--thumbnail":"")+(e.noWrap===!0?" q-item__section--nowrap":""));return()=>t.h("div",{class:l.value},me(n.default))}}),al=ae({name:"QItemLabel",props:{overline:Boolean,caption:Boolean,header:Boolean,lines:[Number,String]},setup(e,{slots:n}){const l=t.computed(()=>parseInt(e.lines,10)),o=t.computed(()=>"q-item__label"+(e.overline===!0?" q-item__label--overline text-overline":"")+(e.caption===!0?" q-item__label--caption text-caption":"")+(e.header===!0?" q-item__label--header":"")+(l.value===1?" ellipsis":"")),i=t.computed(()=>e.lines!==void 0&&l.value>1?{overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":l.value}:null);return()=>t.h("div",{style:i.value,class:o.value},me(n.default))}}),rl=ae({name:"QItem",props:{...Ge,...go,tag:{type:String,default:"div"},active:{type:Boolean,default:null},clickable:Boolean,dense:Boolean,insetLevel:Number,tabindex:[String,Number],focused:Boolean,manualFocus:Boolean},emits:["click","keyup"],setup(e,{slots:n,emit:l}){const{proxy:{$q:o}}=t.getCurrentInstance(),i=Ze(e,o),{hasLink:a,linkAttrs:r,linkClass:s,linkTag:h,navigateOnClick:g}=ol(),c=t.ref(null),b=t.ref(null),v=t.computed(()=>e.clickable===!0||a.value===!0||e.tag==="label"),d=t.computed(()=>e.disable!==!0&&v.value===!0),m=t.computed(()=>"q-item q-item-type row no-wrap"+(e.dense===!0?" q-item--dense":"")+(i.value===!0?" q-item--dark":"")+(a.value===!0&&e.active===null?s.value:e.active===!0?` q-item--active${e.activeClass!==void 0?` ${e.activeClass}`:""}`:"")+(e.disable===!0?" disabled":"")+(d.value===!0?" q-item--clickable q-link cursor-pointer "+(e.manualFocus===!0?"q-manual-focusable":"q-focusable q-hoverable")+(e.focused===!0?" q-manual-focusable--focused":""):"")),x=t.computed(()=>e.insetLevel===void 0?null:{["padding"+(o.lang.rtl===!0?"Right":"Left")]:16+e.insetLevel*56+"px"});function p(S){d.value===!0&&(b.value!==null&&(S.qKeyEvent!==!0&&document.activeElement===c.value?b.value.focus():document.activeElement===b.value&&c.value.focus()),g(S))}function L(S){if(d.value===!0&&Ve(S,[13,32])===!0){J(S),S.qKeyEvent=!0;const M=new MouseEvent("click",S);M.qKeyEvent=!0,c.value.dispatchEvent(M)}l("keyup",S)}function V(){const S=Ql(n.default,[]);return d.value===!0&&S.unshift(t.h("div",{class:"q-focus-helper",tabindex:-1,ref:b})),S}return()=>{const S={ref:c,class:m.value,style:x.value,role:"listitem",onClick:p,onKeyup:L};return d.value===!0?(S.tabindex=e.tabindex||"0",Object.assign(S,r.value)):v.value===!0&&(S["aria-disabled"]="true"),t.h(h.value,S,V())}}}),bn=e=>e?!0:"Обовʼязкове поле";let qt,ot=0;const te=new Array(256);for(let e=0;e<256;e++)te[e]=(e+256).toString(16).substring(1);const zo=(()=>{const e=typeof crypto<"u"?crypto:typeof window<"u"?window.crypto||window.msCrypto:void 0;if(e!==void 0){if(e.randomBytes!==void 0)return e.randomBytes;if(e.getRandomValues!==void 0)return n=>{const l=new Uint8Array(n);return e.getRandomValues(l),l}}return n=>{const l=[];for(let o=n;o>0;o--)l.push(Math.floor(Math.random()*256));return l}})(),yn=4096;function Pt(){(qt===void 0||ot+16>yn)&&(ot=0,qt=zo(yn));const e=Array.prototype.slice.call(qt,ot,ot+=16);return e[6]=e[6]&15|64,e[8]=e[8]&63|128,te[e[0]]+te[e[1]]+te[e[2]]+te[e[3]]+"-"+te[e[4]]+te[e[5]]+"-"+te[e[6]]+te[e[7]]+"-"+te[e[8]]+te[e[9]]+"-"+te[e[10]]+te[e[11]]+te[e[12]]+te[e[13]]+te[e[14]]+te[e[15]]}const Ye=t.ref(!1);let zt;function Io(e,n){const l=/(edg|edge|edga|edgios)\/([\w.]+)/.exec(e)||/(opr)[\/]([\w.]+)/.exec(e)||/(vivaldi)[\/]([\w.]+)/.exec(e)||/(chrome|crios)[\/]([\w.]+)/.exec(e)||/(version)(applewebkit)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(e)||/(webkit)[\/]([\w.]+).*(version)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(e)||/(firefox|fxios)[\/]([\w.]+)/.exec(e)||/(webkit)[\/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[\/]([\w.]+)/.exec(e)||[];return{browser:l[5]||l[3]||l[1]||"",version:l[4]||l[2]||"0",platform:n[0]||""}}function Fo(e){return/(ipad)/.exec(e)||/(ipod)/.exec(e)||/(windows phone)/.exec(e)||/(iphone)/.exec(e)||/(kindle)/.exec(e)||/(silk)/.exec(e)||/(android)/.exec(e)||/(win)/.exec(e)||/(mac)/.exec(e)||/(linux)/.exec(e)||/(cros)/.exec(e)||/(playbook)/.exec(e)||/(bb)/.exec(e)||/(blackberry)/.exec(e)||[]}const sl="ontouchstart"in window||window.navigator.maxTouchPoints>0;function Ho(e){const n=e.toLowerCase(),l=Fo(n),o=Io(n,l),i={mobile:!1,desktop:!1,cordova:!1,capacitor:!1,nativeMobile:!1,electron:!1,bex:!1,linux:!1,mac:!1,win:!1,cros:!1,chrome:!1,firefox:!1,opera:!1,safari:!1,vivaldi:!1,edge:!1,edgeChromium:!1,ie:!1,webkit:!1,android:!1,ios:!1,ipad:!1,iphone:!1,ipod:!1,kindle:!1,winphone:!1,blackberry:!1,playbook:!1,silk:!1};o.browser&&(i[o.browser]=!0,i.version=o.version,i.versionNumber=parseInt(o.version,10)),o.platform&&(i[o.platform]=!0);const a=i.android||i.ios||i.bb||i.blackberry||i.ipad||i.iphone||i.ipod||i.kindle||i.playbook||i.silk||i["windows phone"];if(a===!0||n.indexOf("mobile")!==-1?i.mobile=!0:i.desktop=!0,i["windows phone"]&&(i.winphone=!0,delete i["windows phone"]),i.edga||i.edgios||i.edg?(i.edge=!0,o.browser="edge"):i.crios?(i.chrome=!0,o.browser="chrome"):i.fxios&&(i.firefox=!0,o.browser="firefox"),(i.ipod||i.ipad||i.iphone)&&(i.ios=!0),i.vivaldi&&(o.browser="vivaldi",i.vivaldi=!0),(i.chrome||i.opr||i.safari||i.vivaldi||i.mobile===!0&&i.ios!==!0&&a!==!0)&&(i.webkit=!0),i.opr&&(o.browser="opera",i.opera=!0),i.safari&&(i.blackberry||i.bb?(o.browser="blackberry",i.blackberry=!0):i.playbook?(o.browser="playbook",i.playbook=!0):i.android?(o.browser="android",i.android=!0):i.kindle?(o.browser="kindle",i.kindle=!0):i.silk&&(o.browser="silk",i.silk=!0)),i.name=o.browser,i.platform=o.platform,n.indexOf("electron")!==-1)i.electron=!0;else if(document.location.href.indexOf("-extension://")!==-1)i.bex=!0;else{if(window.Capacitor!==void 0?(i.capacitor=!0,i.nativeMobile=!0,i.nativeMobileWrapper="capacitor"):(window._cordovaNative!==void 0||window.cordova!==void 0)&&(i.cordova=!0,i.nativeMobile=!0,i.nativeMobileWrapper="cordova"),Ye.value===!0&&(zt={is:{...i}}),sl===!0&&i.mac===!0&&(i.desktop===!0&&i.safari===!0||i.nativeMobile===!0&&i.android!==!0&&i.ios!==!0&&i.ipad!==!0)){delete i.mac,delete i.desktop;const r=Math.min(window.innerHeight,window.innerWidth)>414?"ipad":"iphone";Object.assign(i,{mobile:!0,ios:!0,platform:r,[r]:!0})}i.mobile!==!0&&window.navigator.userAgentData&&window.navigator.userAgentData.mobile&&(delete i.desktop,i.mobile=!0)}return i}const wn=navigator.userAgent||navigator.vendor||window.opera,Do={has:{touch:!1,webStorage:!1},within:{iframe:!1}},ue={userAgent:wn,is:Ho(wn),has:{touch:sl},within:{iframe:window.self!==window.top}},It={install(e){const{$q:n}=e;Ye.value===!0?(e.onSSRHydrated.push(()=>{Object.assign(n.platform,ue),Ye.value=!1}),n.platform=t.reactive(this)):n.platform=this}};{let e;Dt(ue.has,"webStorage",()=>{if(e!==void 0)return e;try{if(window.localStorage)return e=!0,!0}catch{}return e=!1,!1}),Object.assign(It,ue),Ye.value===!0&&(Object.assign(It,zt,Do),zt=null)}function jo(e){return e??null}function Sn(e,n){return e??(n===!0?`f_${Pt()}`:null)}function No({getValue:e,required:n=!0}={}){if(Ye.value===!0){const l=e!==void 0?t.ref(jo(e())):t.ref(null);return n===!0&&l.value===null&&t.onMounted(()=>{l.value=`f_${Pt()}`}),e!==void 0&&t.watch(e,o=>{l.value=Sn(o,n)}),l}return e!==void 0?t.computed(()=>Sn(e(),n)):t.ref(`f_${Pt()}`)}const kn=/^on[A-Z]/;function Wo(){const{attrs:e,vnode:n}=t.getCurrentInstance(),l={listeners:t.ref({}),attributes:t.ref({})};function o(){const i={},a={};for(const r in e)r!=="class"&&r!=="style"&&kn.test(r)===!1&&(i[r]=e[r]);for(const r in n.props)kn.test(r)===!0&&(a[r]=n.props[r]);l.attributes.value=i,l.listeners.value=a}return t.onBeforeUpdate(o),o(),l}const Ko="_q_fo_";function Uo({validate:e,resetValidation:n,requiresQForm:l}){const o=t.inject(Ko,!1);if(o!==!1){const{props:i,proxy:a}=t.getCurrentInstance();Object.assign(a,{validate:e,resetValidation:n}),t.watch(()=>i.disable,r=>{r===!0?(typeof n=="function"&&n(),o.unbindComponent(a)):o.bindComponent(a)}),t.onMounted(()=>{i.disable!==!0&&o.bindComponent(a)}),t.onBeforeUnmount(()=>{i.disable!==!0&&o.unbindComponent(a)})}else l===!0&&console.error("Parent QForm not found on useFormChild()!")}const xn=/^#[0-9a-fA-F]{3}([0-9a-fA-F]{3})?$/,Cn=/^#[0-9a-fA-F]{4}([0-9a-fA-F]{4})?$/,qn=/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/,it=/^rgb\(((0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),){2}(0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5])\)$/,ut=/^rgba\(((0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),){2}(0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),(0|0\.[0-9]+[1-9]|0\.[1-9]+|1)\)$/,Bt={date:e=>/^-?[\d]+\/[0-1]\d\/[0-3]\d$/.test(e),time:e=>/^([0-1]?\d|2[0-3]):[0-5]\d$/.test(e),fulltime:e=>/^([0-1]?\d|2[0-3]):[0-5]\d:[0-5]\d$/.test(e),timeOrFulltime:e=>/^([0-1]?\d|2[0-3]):[0-5]\d(:[0-5]\d)?$/.test(e),email:e=>/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(e),hexColor:e=>xn.test(e),hexaColor:e=>Cn.test(e),hexOrHexaColor:e=>qn.test(e),rgbColor:e=>it.test(e),rgbaColor:e=>ut.test(e),rgbOrRgbaColor:e=>it.test(e)||ut.test(e),hexOrRgbColor:e=>xn.test(e)||it.test(e),hexaOrRgbaColor:e=>Cn.test(e)||ut.test(e),anyColor:e=>qn.test(e)||it.test(e)||ut.test(e)};function cl(e,n=250,l){let o=null;function i(){const a=arguments,r=()=>{o=null,e.apply(this,a)};o!==null&&clearTimeout(o),o=setTimeout(r,n)}return i.cancel=()=>{o!==null&&clearTimeout(o)},i}const Qo=[!0,!1,"ondemand"],Yo={modelValue:{},error:{type:Boolean,default:null},errorMessage:String,noErrorIcon:Boolean,rules:Array,reactiveRules:Boolean,lazyRules:{type:[Boolean,String],default:!1,validator:e=>Qo.includes(e)}};function Xo(e,n){const{props:l,proxy:o}=t.getCurrentInstance(),i=t.ref(!1),a=t.ref(null),r=t.ref(!1);Uo({validate:x,resetValidation:m});let s=0,h;const g=t.computed(()=>l.rules!==void 0&&l.rules!==null&&l.rules.length!==0),c=t.computed(()=>l.disable!==!0&&g.value===!0&&n.value===!1),b=t.computed(()=>l.error===!0||i.value===!0),v=t.computed(()=>typeof l.errorMessage=="string"&&l.errorMessage.length!==0?l.errorMessage:a.value);t.watch(()=>l.modelValue,()=>{r.value=!0,c.value===!0&&l.lazyRules===!1&&p()});function d(){l.lazyRules!=="ondemand"&&c.value===!0&&r.value===!0&&p()}t.watch(()=>l.reactiveRules,L=>{L===!0?h===void 0&&(h=t.watch(()=>l.rules,d,{immediate:!0,deep:!0})):h!==void 0&&(h(),h=void 0)},{immediate:!0}),t.watch(()=>l.lazyRules,d),t.watch(e,L=>{L===!0?r.value=!0:c.value===!0&&l.lazyRules!=="ondemand"&&p()});function m(){s++,n.value=!1,r.value=!1,i.value=!1,a.value=null,p.cancel()}function x(L=l.modelValue){if(l.disable===!0||g.value===!1)return!0;const V=++s,S=n.value!==!0?()=>{r.value=!0}:()=>{},M=(E,A)=>{E===!0&&S(),i.value=E,a.value=A||null,n.value=!1},R=[];for(let E=0;E<l.rules.length;E++){const A=l.rules[E];let O;if(typeof A=="function"?O=A(L,Bt):typeof A=="string"&&Bt[A]!==void 0&&(O=Bt[A](L)),O===!1||typeof O=="string")return M(!0,O),!1;O!==!0&&O!==void 0&&R.push(O)}return R.length===0?(M(!1),!0):(n.value=!0,Promise.all(R).then(E=>{if(E===void 0||Array.isArray(E)===!1||E.length===0)return V===s&&M(!1),!0;const A=E.find(O=>O===!1||typeof O=="string");return V===s&&M(A!==void 0,A),A===void 0},E=>(V===s&&(console.error(E),M(!0)),!1)))}const p=cl(x,0);return t.onBeforeUnmount(()=>{h!==void 0&&h(),p.cancel()}),Object.assign(o,{resetValidation:m,validate:x}),Dt(o,"hasError",()=>b.value),{isDirtyModel:r,hasRules:g,hasError:b,errorMessage:v,validate:x,resetValidation:m}}let qe=[],Xe=[];function dl(e){Xe=Xe.filter(n=>n!==e)}function Go(e){dl(e),Xe.push(e)}function Bn(e){dl(e),Xe.length===0&&qe.length!==0&&(qe[qe.length-1](),qe=[])}function Wt(e){Xe.length===0?e():qe.push(e)}function Zo(e){qe=qe.filter(n=>n!==e)}function Ft(e){return e!=null&&(""+e).length!==0}const Jo={...Ge,...Yo,label:String,stackLabel:Boolean,hint:String,hideHint:Boolean,prefix:String,suffix:String,labelColor:String,color:String,bgColor:String,filled:Boolean,outlined:Boolean,borderless:Boolean,standout:[Boolean,String],square:Boolean,loading:Boolean,labelSlot:Boolean,bottomSlots:Boolean,hideBottomSpace:Boolean,rounded:Boolean,dense:Boolean,itemAligned:Boolean,counter:Boolean,clearable:Boolean,clearIcon:String,disable:Boolean,readonly:Boolean,autofocus:Boolean,for:String},Kt={...Jo,maxlength:[Number,String]},fl=["update:modelValue","clear","focus","blur"];function vl({requiredForAttr:e=!0,tagProp:n,changeEvent:l=!1}={}){const{props:o,proxy:i}=t.getCurrentInstance(),a=Ze(o,i.$q),r=No({required:e,getValue:()=>o.for});return{requiredForAttr:e,changeEvent:l,tag:n===!0?t.computed(()=>o.tag):{value:"label"},isDark:a,editable:t.computed(()=>o.disable!==!0&&o.readonly!==!0),innerLoading:t.ref(!1),focused:t.ref(!1),hasPopupOpen:!1,splitAttrs:Wo(),targetUid:r,rootRef:t.ref(null),targetRef:t.ref(null),controlRef:t.ref(null)}}function ml(e){const{props:n,emit:l,slots:o,attrs:i,proxy:a}=t.getCurrentInstance(),{$q:r}=a;let s=null;e.hasValue===void 0&&(e.hasValue=t.computed(()=>Ft(n.modelValue))),e.emitValue===void 0&&(e.emitValue=B=>{l("update:modelValue",B)}),e.controlEvents===void 0&&(e.controlEvents={onFocusin:D,onFocusout:X}),Object.assign(e,{clearValue:K,onControlFocusin:D,onControlFocusout:X,focus:A}),e.computedCounter===void 0&&(e.computedCounter=t.computed(()=>{if(n.counter!==!1){const B=typeof n.modelValue=="string"||typeof n.modelValue=="number"?(""+n.modelValue).length:Array.isArray(n.modelValue)===!0?n.modelValue.length:0,P=n.maxlength!==void 0?n.maxlength:n.maxValues;return B+(P!==void 0?" / "+P:"")}}));const{isDirtyModel:h,hasRules:g,hasError:c,errorMessage:b,resetValidation:v}=Xo(e.focused,e.innerLoading),d=e.floatingLabel!==void 0?t.computed(()=>n.stackLabel===!0||e.focused.value===!0||e.floatingLabel.value===!0):t.computed(()=>n.stackLabel===!0||e.focused.value===!0||e.hasValue.value===!0),m=t.computed(()=>n.bottomSlots===!0||n.hint!==void 0||g.value===!0||n.counter===!0||n.error!==null),x=t.computed(()=>n.filled===!0?"filled":n.outlined===!0?"outlined":n.borderless===!0?"borderless":n.standout?"standout":"standard"),p=t.computed(()=>`q-field row no-wrap items-start q-field--${x.value}`+(e.fieldClass!==void 0?` ${e.fieldClass.value}`:"")+(n.rounded===!0?" q-field--rounded":"")+(n.square===!0?" q-field--square":"")+(d.value===!0?" q-field--float":"")+(V.value===!0?" q-field--labeled":"")+(n.dense===!0?" q-field--dense":"")+(n.itemAligned===!0?" q-field--item-aligned q-item-type":"")+(e.isDark.value===!0?" q-field--dark":"")+(e.getControl===void 0?" q-field--auto-height":"")+(e.focused.value===!0?" q-field--focused":"")+(c.value===!0?" q-field--error":"")+(c.value===!0||e.focused.value===!0?" q-field--highlighted":"")+(n.hideBottomSpace!==!0&&m.value===!0?" q-field--with-bottom":"")+(n.disable===!0?" q-field--disabled":n.readonly===!0?" q-field--readonly":"")),L=t.computed(()=>"q-field__control relative-position row no-wrap"+(n.bgColor!==void 0?` bg-${n.bgColor}`:"")+(c.value===!0?" text-negative":typeof n.standout=="string"&&n.standout.length!==0&&e.focused.value===!0?` ${n.standout}`:n.color!==void 0?` text-${n.color}`:"")),V=t.computed(()=>n.labelSlot===!0||n.label!==void 0),S=t.computed(()=>"q-field__label no-pointer-events absolute ellipsis"+(n.labelColor!==void 0&&c.value!==!0?` text-${n.labelColor}`:"")),M=t.computed(()=>({id:e.targetUid.value,editable:e.editable.value,focused:e.focused.value,floatingLabel:d.value,modelValue:n.modelValue,emitValue:e.emitValue})),R=t.computed(()=>{const B={};return e.targetUid.value&&(B.for=e.targetUid.value),n.disable===!0&&(B["aria-disabled"]="true"),B});function E(){const B=document.activeElement;let P=e.targetRef!==void 0&&e.targetRef.value;P&&(B===null||B.id!==e.targetUid.value)&&(P.hasAttribute("tabindex")===!0||(P=P.querySelector("[tabindex]")),P&&P!==B&&P.focus({preventScroll:!0}))}function A(){Wt(E)}function O(){Zo(E);const B=document.activeElement;B!==null&&e.rootRef.value.contains(B)&&B.blur()}function D(B){s!==null&&(clearTimeout(s),s=null),e.editable.value===!0&&e.focused.value===!1&&(e.focused.value=!0,l("focus",B))}function X(B,P){s!==null&&clearTimeout(s),s=setTimeout(()=>{s=null,!(document.hasFocus()===!0&&(e.hasPopupOpen===!0||e.controlRef===void 0||e.controlRef.value===null||e.controlRef.value.contains(document.activeElement)!==!1))&&(e.focused.value===!0&&(e.focused.value=!1,l("blur",B)),P!==void 0&&P())})}function K(B){J(B),r.platform.is.mobile!==!0?(e.targetRef!==void 0&&e.targetRef.value||e.rootRef.value).focus():e.rootRef.value.contains(document.activeElement)===!0&&document.activeElement.blur(),n.type==="file"&&(e.inputRef.value.value=null),l("update:modelValue",null),e.changeEvent===!0&&l("change",null),l("clear",n.modelValue),t.nextTick(()=>{const P=h.value;v(),h.value=P})}function $(B){[13,32].includes(B.keyCode)&&K(B)}function N(){const B=[];return o.prepend!==void 0&&B.push(t.h("div",{class:"q-field__prepend q-field__marginal row no-wrap items-center",key:"prepend",onClick:ce},o.prepend())),B.push(t.h("div",{class:"q-field__control-container col relative-position row no-wrap q-anchor--skip"},_())),c.value===!0&&n.noErrorIcon===!1&&B.push(Q("error",[t.h(pe,{name:r.iconSet.field.error,color:"negative"})])),n.loading===!0||e.innerLoading.value===!0?B.push(Q("inner-loading-append",o.loading!==void 0?o.loading():[t.h(Qn,{color:n.color})])):n.clearable===!0&&e.hasValue.value===!0&&e.editable.value===!0&&B.push(Q("inner-clearable-append",[t.h(pe,{class:"q-field__focusable-action",name:n.clearIcon||r.iconSet.field.clear,tabindex:0,role:"button","aria-hidden":"false","aria-label":r.lang.label.clear,onKeyup:$,onClick:K})])),o.append!==void 0&&B.push(t.h("div",{class:"q-field__append q-field__marginal row no-wrap items-center",key:"append",onClick:ce},o.append())),e.getInnerAppend!==void 0&&B.push(Q("inner-append",e.getInnerAppend())),e.getControlChild!==void 0&&B.push(e.getControlChild()),B}function _(){const B=[];return n.prefix!==void 0&&n.prefix!==null&&B.push(t.h("div",{class:"q-field__prefix no-pointer-events row items-center"},n.prefix)),e.getShadowControl!==void 0&&e.hasShadow.value===!0&&B.push(e.getShadowControl()),e.getControl!==void 0?B.push(e.getControl()):o.rawControl!==void 0?B.push(o.rawControl()):o.control!==void 0&&B.push(t.h("div",{ref:e.targetRef,class:"q-field__native row",tabindex:-1,...e.splitAttrs.attributes.value,"data-autofocus":n.autofocus===!0||void 0},o.control(M.value))),V.value===!0&&B.push(t.h("div",{class:S.value},me(o.label,n.label))),n.suffix!==void 0&&n.suffix!==null&&B.push(t.h("div",{class:"q-field__suffix no-pointer-events row items-center"},n.suffix)),B.concat(me(o.default))}function F(){let B,P;c.value===!0?b.value!==null?(B=[t.h("div",{role:"alert"},b.value)],P=`q--slot-error-${b.value}`):(B=me(o.error),P="q--slot-error"):(n.hideHint!==!0||e.focused.value===!0)&&(n.hint!==void 0?(B=[t.h("div",n.hint)],P=`q--slot-hint-${n.hint}`):(B=me(o.hint),P="q--slot-hint"));const oe=n.counter===!0||o.counter!==void 0;if(n.hideBottomSpace===!0&&oe===!1&&B===void 0)return;const f=t.h("div",{key:P,class:"q-field__messages col"},B);return t.h("div",{class:"q-field__bottom row items-start q-field__bottom--"+(n.hideBottomSpace!==!0?"animated":"stale"),onClick:ce},[n.hideBottomSpace===!0?f:t.h(t.Transition,{name:"q-transition--field-message"},()=>f),oe===!0?t.h("div",{class:"q-field__counter"},o.counter!==void 0?o.counter():e.computedCounter.value):null])}function Q(B,P){return P===null?null:t.h("div",{key:B,class:"q-field__append q-field__marginal row no-wrap items-center q-anchor--skip"},P)}let ne=!1;return t.onDeactivated(()=>{ne=!0}),t.onActivated(()=>{ne===!0&&n.autofocus===!0&&a.focus()}),n.autofocus===!0&&t.onMounted(()=>{a.focus()}),t.onBeforeUnmount(()=>{s!==null&&clearTimeout(s)}),Object.assign(a,{focus:A,blur:O}),function(){const P=e.getControl===void 0&&o.control===void 0?{...e.splitAttrs.attributes.value,"data-autofocus":n.autofocus===!0||void 0,...R.value}:R.value;return t.h(e.tag.value,{ref:e.rootRef,class:[p.value,i.class],style:i.style,...P},[o.before!==void 0?t.h("div",{class:"q-field__before q-field__marginal row no-wrap items-center",onClick:ce},o.before()):null,t.h("div",{class:"q-field__inner relative-position col self-stretch"},[t.h("div",{ref:e.controlRef,class:L.value,tabindex:-1,...e.controlEvents},N()),m.value===!0?F():null]),o.after!==void 0?t.h("div",{class:"q-field__after q-field__marginal row no-wrap items-center",onClick:ce},o.after()):null])}}const ei=ae({name:"QField",inheritAttrs:!1,props:{...Kt,tag:{type:String,default:"label"}},emits:fl,setup(){return ml(vl({tagProp:!0}))}}),ti={xs:8,sm:10,md:14,lg:20,xl:24},ni=ae({name:"QChip",props:{...Ge,...pt,dense:Boolean,icon:String,iconRight:String,iconRemove:String,iconSelected:String,label:[String,Number],color:String,textColor:String,modelValue:{type:Boolean,default:!0},selected:{type:Boolean,default:null},square:Boolean,outline:Boolean,clickable:Boolean,removable:Boolean,removeAriaLabel:String,tabindex:[String,Number],disable:Boolean,ripple:{type:[Boolean,Object],default:!0}},emits:["update:modelValue","update:selected","remove","click"],setup(e,{slots:n,emit:l}){const{proxy:{$q:o}}=t.getCurrentInstance(),i=Ze(e,o),a=gt(e,ti),r=t.computed(()=>e.selected===!0||e.icon!==void 0),s=t.computed(()=>e.selected===!0?e.iconSelected||o.iconSet.chip.selected:e.icon),h=t.computed(()=>e.iconRemove||o.iconSet.chip.remove),g=t.computed(()=>e.disable===!1&&(e.clickable===!0||e.selected!==null)),c=t.computed(()=>{const p=e.outline===!0&&e.color||e.textColor;return"q-chip row inline no-wrap items-center"+(e.outline===!1&&e.color!==void 0?` bg-${e.color}`:"")+(p?` text-${p} q-chip--colored`:"")+(e.disable===!0?" disabled":"")+(e.dense===!0?" q-chip--dense":"")+(e.outline===!0?" q-chip--outline":"")+(e.selected===!0?" q-chip--selected":"")+(g.value===!0?" q-chip--clickable cursor-pointer non-selectable q-hoverable":"")+(e.square===!0?" q-chip--square":"")+(i.value===!0?" q-chip--dark q-dark":"")}),b=t.computed(()=>{const p=e.disable===!0?{tabindex:-1,"aria-disabled":"true"}:{tabindex:e.tabindex||0},L={...p,role:"button","aria-hidden":"false","aria-label":e.removeAriaLabel||o.lang.label.remove};return{chip:p,remove:L}});function v(p){p.keyCode===13&&d(p)}function d(p){e.disable||(l("update:selected",!e.selected),l("click",p))}function m(p){(p.keyCode===void 0||p.keyCode===13)&&(J(p),e.disable===!1&&(l("update:modelValue",!1),l("remove")))}function x(){const p=[];g.value===!0&&p.push(t.h("div",{class:"q-focus-helper"})),r.value===!0&&p.push(t.h(pe,{class:"q-chip__icon q-chip__icon--left",name:s.value}));const L=e.label!==void 0?[t.h("div",{class:"ellipsis"},[e.label])]:void 0;return p.push(t.h("div",{class:"q-chip__content col row no-wrap items-center q-anchor--skip"},Yl(n.default,L))),e.iconRight&&p.push(t.h(pe,{class:"q-chip__icon q-chip__icon--right",name:e.iconRight})),e.removable===!0&&p.push(t.h(pe,{class:"q-chip__icon q-chip__icon--remove cursor-pointer",name:h.value,...b.value.remove,onClick:m,onKeyup:m})),p}return()=>{if(e.modelValue===!1)return;const p={class:c.value,style:a.value};return g.value===!0&&Object.assign(p,b.value.chip,{onClick:d,onKeyup:v}),Xl("div",p,x(),"ripple",e.ripple!==!1&&e.disable!==!0,()=>[[Jn,e.ripple]])}}});function li(){if(window.getSelection!==void 0){const e=window.getSelection();e.empty!==void 0?e.empty():e.removeAllRanges!==void 0&&(e.removeAllRanges(),It.is.mobile!==!0&&e.addRange(document.createRange()))}else document.selection!==void 0&&document.selection.empty()}const oi={target:{type:[Boolean,String,Element],default:!0},noParentEvent:Boolean},ii={...oi,contextMenu:Boolean};function ui({showing:e,avoidEmit:n,configureAnchorEl:l}){const{props:o,proxy:i,emit:a}=t.getCurrentInstance(),r=t.ref(null);let s=null;function h(d){return r.value===null?!1:d===void 0||d.touches===void 0||d.touches.length<=1}const g={};l===void 0&&(Object.assign(g,{hide(d){i.hide(d)},toggle(d){i.toggle(d),d.qAnchorHandled=!0},toggleKey(d){Ve(d,13)===!0&&g.toggle(d)},contextClick(d){i.hide(d),ce(d),t.nextTick(()=>{i.show(d),d.qAnchorHandled=!0})},prevent:ce,mobileTouch(d){if(g.mobileCleanup(d),h(d)!==!0)return;i.hide(d),r.value.classList.add("non-selectable");const m=d.target;Ot(g,"anchor",[[m,"touchmove","mobileCleanup","passive"],[m,"touchend","mobileCleanup","passive"],[m,"touchcancel","mobileCleanup","passive"],[r.value,"contextmenu","prevent","notPassive"]]),s=setTimeout(()=>{s=null,i.show(d),d.qAnchorHandled=!0},300)},mobileCleanup(d){r.value.classList.remove("non-selectable"),s!==null&&(clearTimeout(s),s=null),e.value===!0&&d!==void 0&&li()}}),l=function(d=o.contextMenu){if(o.noParentEvent===!0||r.value===null)return;let m;d===!0?i.$q.platform.is.mobile===!0?m=[[r.value,"touchstart","mobileTouch","passive"]]:m=[[r.value,"mousedown","hide","passive"],[r.value,"contextmenu","contextClick","notPassive"]]:m=[[r.value,"click","toggle","passive"],[r.value,"keyup","toggleKey","passive"]],Ot(g,"anchor",m)});function c(){Gn(g,"anchor")}function b(d){for(r.value=d;r.value.classList.contains("q-anchor--skip");)r.value=r.value.parentNode;l()}function v(){if(o.target===!1||o.target===""||i.$el.parentNode===null)r.value=null;else if(o.target===!0)b(i.$el.parentNode);else{let d=o.target;if(typeof o.target=="string")try{d=document.querySelector(o.target)}catch{d=void 0}d!=null?(r.value=d.$el||d,l()):(r.value=null,console.error(`Anchor: target "${o.target}" not found`))}}return t.watch(()=>o.contextMenu,d=>{r.value!==null&&(c(),l(d))}),t.watch(()=>o.target,()=>{r.value!==null&&c(),v()}),t.watch(()=>o.noParentEvent,d=>{r.value!==null&&(d===!0?c():l())}),t.onMounted(()=>{v(),n!==!0&&o.modelValue===!0&&r.value===null&&a("update:modelValue",!1)}),t.onBeforeUnmount(()=>{s!==null&&clearTimeout(s),c()}),{anchorEl:r,canShow:h,anchorEvents:g}}function ai(e,n){const l=t.ref(null);let o;function i(s,h){const g=`${h!==void 0?"add":"remove"}EventListener`,c=h!==void 0?h:o;s!==window&&s[g]("scroll",c,le.passive),window[g]("scroll",c,le.passive),o=h}function a(){l.value!==null&&(i(l.value),l.value=null)}const r=t.watch(()=>e.noParentEvent,()=>{l.value!==null&&(a(),n())});return t.onBeforeUnmount(r),{localScrollTarget:l,unconfigureScrollTarget:a,changeScrollEvent:i}}const hl={modelValue:{type:Boolean,default:null},"onUpdate:modelValue":[Function,Array]},pl=["beforeShow","show","beforeHide","hide"];function gl({showing:e,canShow:n,hideOnRouteChange:l,handleShow:o,handleHide:i,processOnMount:a}){const r=t.getCurrentInstance(),{props:s,emit:h,proxy:g}=r;let c;function b(V){e.value===!0?m(V):v(V)}function v(V){if(s.disable===!0||V!==void 0&&V.qAnchorHandled===!0||n!==void 0&&n(V)!==!0)return;const S=s["onUpdate:modelValue"]!==void 0;S===!0&&(h("update:modelValue",!0),c=V,t.nextTick(()=>{c===V&&(c=void 0)})),(s.modelValue===null||S===!1)&&d(V)}function d(V){e.value!==!0&&(e.value=!0,h("beforeShow",V),o!==void 0?o(V):h("show",V))}function m(V){if(s.disable===!0)return;const S=s["onUpdate:modelValue"]!==void 0;S===!0&&(h("update:modelValue",!1),c=V,t.nextTick(()=>{c===V&&(c=void 0)})),(s.modelValue===null||S===!1)&&x(V)}function x(V){e.value!==!1&&(e.value=!1,h("beforeHide",V),i!==void 0?i(V):h("hide",V))}function p(V){s.disable===!0&&V===!0?s["onUpdate:modelValue"]!==void 0&&h("update:modelValue",!1):V===!0!==e.value&&(V===!0?d:x)(c)}t.watch(()=>s.modelValue,p),l!==void 0&&tl(r)===!0&&t.watch(()=>g.$route.fullPath,()=>{l.value===!0&&e.value===!0&&m()}),t.onMounted(()=>{p(s.modelValue)});const L={show:v,hide:m,toggle:b};return Object.assign(g,L),L}const _n={};let ri=1,si=document.body;function ci(e,n){const l=document.createElement("div");if(l.id=n!==void 0?`q-portal--${n}--${ri++}`:e,_n.globalNodes!==void 0){const o=_n.globalNodes.class;o!==void 0&&(l.className=o)}return si.appendChild(l),l}function di(e){e.remove()}const Qe=[];function fi(e,n){do{if(e.$options.name==="QMenu"){if(e.hide(n),e.$props.separateClosePopup===!0)return Ct(e)}else if(e.__qPortal===!0){const l=Ct(e);return l!==void 0&&l.$options.name==="QPopupProxy"?(e.hide(n),l):e}e=Ct(e)}while(e!=null)}const vi=ae({name:"QPortal",setup(e,{slots:n}){return()=>n.default()}});function mi(e){for(e=e.parent;e!=null;){if(e.type.name==="QGlobalDialog")return!0;if(e.type.name==="QDialog"||e.type.name==="QMenu")return!1;e=e.parent}return!1}function bl(e,n,l,o){const i=t.ref(!1),a=t.ref(!1);let r=null;const s={},h=o==="dialog"&&mi(e);function g(b){if(b===!0){Bn(s),a.value=!0;return}a.value=!1,i.value===!1&&(h===!1&&r===null&&(r=ci(!1,o)),i.value=!0,Qe.push(e.proxy),Go(s))}function c(b){if(a.value=!1,b!==!0)return;Bn(s),i.value=!1;const v=Qe.indexOf(e.proxy);v!==-1&&Qe.splice(v,1),r!==null&&(di(r),r=null)}return t.onUnmounted(()=>{c(!0)}),e.proxy.__qPortal=!0,Dt(e.proxy,"contentEl",()=>n.value),{showPortal:g,hidePortal:c,portalIsActive:i,portalIsAccessible:a,renderPortal:()=>h===!0?l():i.value===!0?[t.h(t.Teleport,{to:r},t.h(vi,l))]:void 0}}const yl={transitionShow:{type:String,default:"fade"},transitionHide:{type:String,default:"fade"},transitionDuration:{type:[String,Number],default:300}};function wl(e,n=()=>{},l=()=>{}){return{transitionProps:t.computed(()=>{const o=`q-transition--${e.transitionShow||n()}`,i=`q-transition--${e.transitionHide||l()}`;return{appear:!0,enterFromClass:`${o}-enter-from`,enterActiveClass:`${o}-enter-active`,enterToClass:`${o}-enter-to`,leaveFromClass:`${i}-leave-from`,leaveActiveClass:`${i}-leave-active`,leaveToClass:`${i}-leave-to`}}),transitionStyle:t.computed(()=>`--q-transition-duration: ${e.transitionDuration}ms`)}}function Sl(){let e;const n=t.getCurrentInstance();function l(){e=void 0}return t.onDeactivated(l),t.onBeforeUnmount(l),{removeTick:l,registerTick(o){e=o,t.nextTick(()=>{e===o&&(nl(n)===!1&&e(),e=void 0)})}}}function kl(){let e=null;const n=t.getCurrentInstance();function l(){e!==null&&(clearTimeout(e),e=null)}return t.onDeactivated(l),t.onBeforeUnmount(l),{removeTimeout:l,registerTimeout(o,i){l(),nl(n)===!1&&(e=setTimeout(()=>{e=null,o()},i))}}}const hi=[Element,String],pi=[null,document,document.body,document.scrollingElement,document.documentElement];function gi(e,n){let l=uo(n);if(l===void 0){if(e==null)return window;l=e.closest(".scroll,.scroll-y,.overflow-auto")}return pi.includes(l)?window:l}function bi(e){return e===window?window.pageYOffset||window.scrollY||document.body.scrollTop||0:e.scrollTop}function yi(e){return e===window?window.pageXOffset||window.scrollX||document.body.scrollLeft||0:e.scrollLeft}let at;function wi(){if(at!==void 0)return at;const e=document.createElement("p"),n=document.createElement("div");Lt(e,{width:"100%",height:"200px"}),Lt(n,{position:"absolute",top:"0px",left:"0px",visibility:"hidden",width:"200px",height:"150px",overflow:"hidden"}),n.appendChild(e),document.body.appendChild(n);const l=e.offsetWidth;n.style.overflow="scroll";let o=e.offsetWidth;return l===o&&(o=n.clientWidth),n.remove(),at=l-o,at}function Si(e,n=!0){return!e||e.nodeType!==Node.ELEMENT_NODE?!1:n?e.scrollHeight>e.clientHeight&&(e.classList.contains("scroll")||e.classList.contains("overflow-auto")||["auto","scroll"].includes(window.getComputedStyle(e)["overflow-y"])):e.scrollWidth>e.clientWidth&&(e.classList.contains("scroll")||e.classList.contains("overflow-auto")||["auto","scroll"].includes(window.getComputedStyle(e)["overflow-x"]))}const Be=[];let He;function ki(e){He=e.keyCode===27}function xi(){He===!0&&(He=!1)}function Ci(e){He===!0&&(He=!1,Ve(e,27)===!0&&Be[Be.length-1](e))}function xl(e){window[e]("keydown",ki),window[e]("blur",xi),window[e]("keyup",Ci),He=!1}function Cl(e){ue.is.desktop===!0&&(Be.push(e),Be.length===1&&xl("addEventListener"))}function dt(e){const n=Be.indexOf(e);n!==-1&&(Be.splice(n,1),Be.length===0&&xl("removeEventListener"))}const _e=[];function ql(e){_e[_e.length-1](e)}function Ut(e){ue.is.desktop===!0&&(_e.push(e),_e.length===1&&document.body.addEventListener("focusin",ql))}function ft(e){const n=_e.indexOf(e);n!==-1&&(_e.splice(n,1),_e.length===0&&document.body.removeEventListener("focusin",ql))}const{notPassiveCapture:vt}=le,Ee=[];function mt(e){const n=e.target;if(n===void 0||n.nodeType===8||n.classList.contains("no-pointer-events")===!0)return;let l=Qe.length-1;for(;l>=0;){const o=Qe[l].$;if(o.type.name==="QTooltip"){l--;continue}if(o.type.name!=="QDialog")break;if(o.props.seamless!==!0)return;l--}for(let o=Ee.length-1;o>=0;o--){const i=Ee[o];if((i.anchorEl.value===null||i.anchorEl.value.contains(n)===!1)&&(n===document.body||i.innerRef.value!==null&&i.innerRef.value.contains(n)===!1))e.qClickOutside=!0,i.onClickOutside(e);else return}}function qi(e){Ee.push(e),Ee.length===1&&(document.addEventListener("mousedown",mt,vt),document.addEventListener("touchstart",mt,vt))}function En(e){const n=Ee.findIndex(l=>l===e);n!==-1&&(Ee.splice(n,1),Ee.length===0&&(document.removeEventListener("mousedown",mt,vt),document.removeEventListener("touchstart",mt,vt)))}let Vn,Tn;function Rn(e){const n=e.split(" ");return n.length!==2?!1:["top","center","bottom"].includes(n[0])!==!0?(console.error("Anchor/Self position must start with one of top/center/bottom"),!1):["left","middle","right","start","end"].includes(n[1])!==!0?(console.error("Anchor/Self position must end with one of left/middle/right/start/end"),!1):!0}function Bi(e){return e?!(e.length!==2||typeof e[0]!="number"||typeof e[1]!="number"):!0}const Ht={"start#ltr":"left","start#rtl":"right","end#ltr":"right","end#rtl":"left"};["left","middle","right"].forEach(e=>{Ht[`${e}#ltr`]=e,Ht[`${e}#rtl`]=e});function $n(e,n){const l=e.split(" ");return{vertical:l[0],horizontal:Ht[`${l[1]}#${n===!0?"rtl":"ltr"}`]}}function _i(e,n){let{top:l,left:o,right:i,bottom:a,width:r,height:s}=e.getBoundingClientRect();return n!==void 0&&(l-=n[1],o-=n[0],a+=n[1],i+=n[0],r+=n[0],s+=n[1]),{top:l,bottom:a,height:s,left:o,right:i,width:r,middle:o+(i-o)/2,center:l+(a-l)/2}}function Ei(e,n,l){let{top:o,left:i}=e.getBoundingClientRect();return o+=n.top,i+=n.left,l!==void 0&&(o+=l[1],i+=l[0]),{top:o,bottom:o+1,height:1,left:i,right:i+1,width:1,middle:i,center:o}}function Vi(e,n){return{top:0,center:n/2,bottom:n,left:0,middle:e/2,right:e}}function Mn(e,n,l,o){return{top:e[l.vertical]-n[o.vertical],left:e[l.horizontal]-n[o.horizontal]}}function Bl(e,n=0){if(e.targetEl===null||e.anchorEl===null||n>5)return;if(e.targetEl.offsetHeight===0||e.targetEl.offsetWidth===0){setTimeout(()=>{Bl(e,n+1)},10);return}const{targetEl:l,offset:o,anchorEl:i,anchorOrigin:a,selfOrigin:r,absoluteOffset:s,fit:h,cover:g,maxHeight:c,maxWidth:b}=e;if(ue.is.ios===!0&&window.visualViewport!==void 0){const E=document.body.style,{offsetLeft:A,offsetTop:O}=window.visualViewport;A!==Vn&&(E.setProperty("--q-pe-left",A+"px"),Vn=A),O!==Tn&&(E.setProperty("--q-pe-top",O+"px"),Tn=O)}const{scrollLeft:v,scrollTop:d}=l,m=s===void 0?_i(i,g===!0?[0,0]:o):Ei(i,s,o);Object.assign(l.style,{top:0,left:0,minWidth:null,minHeight:null,maxWidth:b,maxHeight:c,visibility:"visible"});const{offsetWidth:x,offsetHeight:p}=l,{elWidth:L,elHeight:V}=h===!0||g===!0?{elWidth:Math.max(m.width,x),elHeight:g===!0?Math.max(m.height,p):p}:{elWidth:x,elHeight:p};let S={maxWidth:b,maxHeight:c};(h===!0||g===!0)&&(S.minWidth=m.width+"px",g===!0&&(S.minHeight=m.height+"px")),Object.assign(l.style,S);const M=Vi(L,V);let R=Mn(m,M,a,r);if(s===void 0||o===void 0)_t(R,m,M,a,r);else{const{top:E,left:A}=R;_t(R,m,M,a,r);let O=!1;if(R.top!==E){O=!0;const D=2*o[1];m.center=m.top-=D,m.bottom-=D+2}if(R.left!==A){O=!0;const D=2*o[0];m.middle=m.left-=D,m.right-=D+2}O===!0&&(R=Mn(m,M,a,r),_t(R,m,M,a,r))}S={top:R.top+"px",left:R.left+"px"},R.maxHeight!==void 0&&(S.maxHeight=R.maxHeight+"px",m.height>R.maxHeight&&(S.minHeight=S.maxHeight)),R.maxWidth!==void 0&&(S.maxWidth=R.maxWidth+"px",m.width>R.maxWidth&&(S.minWidth=S.maxWidth)),Object.assign(l.style,S),l.scrollTop!==d&&(l.scrollTop=d),l.scrollLeft!==v&&(l.scrollLeft=v)}function _t(e,n,l,o,i){const a=l.bottom,r=l.right,s=wi(),h=window.innerHeight-s,g=document.body.clientWidth;if(e.top<0||e.top+a>h)if(i.vertical==="center")e.top=n[o.vertical]>h/2?Math.max(0,h-a):0,e.maxHeight=Math.min(a,h);else if(n[o.vertical]>h/2){const c=Math.min(h,o.vertical==="center"?n.center:o.vertical===i.vertical?n.bottom:n.top);e.maxHeight=Math.min(a,c),e.top=Math.max(0,c-a)}else e.top=Math.max(0,o.vertical==="center"?n.center:o.vertical===i.vertical?n.top:n.bottom),e.maxHeight=Math.min(a,h-e.top);if(e.left<0||e.left+r>g)if(e.maxWidth=Math.min(r,g),i.horizontal==="middle")e.left=n[o.horizontal]>g/2?Math.max(0,g-r):0;else if(n[o.horizontal]>g/2){const c=Math.min(g,o.horizontal==="middle"?n.middle:o.horizontal===i.horizontal?n.right:n.left);e.maxWidth=Math.min(r,c),e.left=Math.max(0,c-e.maxWidth)}else e.left=Math.max(0,o.horizontal==="middle"?n.middle:o.horizontal===i.horizontal?n.left:n.right),e.maxWidth=Math.min(r,g-e.left)}const Ti=ae({name:"QMenu",inheritAttrs:!1,props:{...ii,...hl,...Ge,...yl,persistent:Boolean,autoClose:Boolean,separateClosePopup:Boolean,noRouteDismiss:Boolean,noRefocus:Boolean,noFocus:Boolean,fit:Boolean,cover:Boolean,square:Boolean,anchor:{type:String,validator:Rn},self:{type:String,validator:Rn},offset:{type:Array,validator:Bi},scrollTarget:hi,touchPosition:Boolean,maxHeight:{type:String,default:null},maxWidth:{type:String,default:null}},emits:[...pl,"click","escapeKey"],setup(e,{slots:n,emit:l,attrs:o}){let i=null,a,r,s;const h=t.getCurrentInstance(),{proxy:g}=h,{$q:c}=g,b=t.ref(null),v=t.ref(!1),d=t.computed(()=>e.persistent!==!0&&e.noRouteDismiss!==!0),m=Ze(e,c),{registerTick:x,removeTick:p}=Sl(),{registerTimeout:L}=kl(),{transitionProps:V,transitionStyle:S}=wl(e),{localScrollTarget:M,changeScrollEvent:R,unconfigureScrollTarget:E}=ai(e,z),{anchorEl:A,canShow:O}=ui({showing:v}),{hide:D}=gl({showing:v,canShow:O,handleShow:oe,handleHide:f,hideOnRouteChange:d,processOnMount:!0}),{showPortal:X,hidePortal:K,renderPortal:$}=bl(h,b,j,"menu"),N={anchorEl:A,innerRef:b,onClickOutside(y){if(e.persistent!==!0&&v.value===!0)return D(y),(y.type==="touchstart"||y.target.classList.contains("q-dialog__backdrop"))&&J(y),!0}},_=t.computed(()=>$n(e.anchor||(e.cover===!0?"center middle":"bottom start"),c.lang.rtl)),F=t.computed(()=>e.cover===!0?_.value:$n(e.self||"top start",c.lang.rtl)),Q=t.computed(()=>(e.square===!0?" q-menu--square":"")+(m.value===!0?" q-menu--dark q-dark":"")),ne=t.computed(()=>e.autoClose===!0?{onClick:H}:{}),B=t.computed(()=>v.value===!0&&e.persistent!==!0);t.watch(B,y=>{y===!0?(Cl(k),qi(N)):(dt(k),En(N))});function P(){Wt(()=>{let y=b.value;y&&y.contains(document.activeElement)!==!0&&(y=y.querySelector("[autofocus][tabindex], [data-autofocus][tabindex]")||y.querySelector("[autofocus] [tabindex], [data-autofocus] [tabindex]")||y.querySelector("[autofocus], [data-autofocus]")||y,y.focus({preventScroll:!0}))})}function oe(y){if(i=e.noRefocus===!1?document.activeElement:null,Ut(Y),X(),z(),a=void 0,y!==void 0&&(e.touchPosition||e.contextMenu)){const G=Xn(y);if(G.left!==void 0){const{top:de,left:Te}=A.value.getBoundingClientRect();a={left:G.left-Te,top:G.top-de}}}r===void 0&&(r=t.watch(()=>c.screen.width+"|"+c.screen.height+"|"+e.self+"|"+e.anchor+"|"+c.lang.rtl,T)),e.noFocus!==!0&&document.activeElement.blur(),x(()=>{T(),e.noFocus!==!0&&P()}),L(()=>{c.platform.is.ios===!0&&(s=e.autoClose,b.value.click()),T(),X(!0),l("show",y)},e.transitionDuration)}function f(y){p(),K(),w(!0),i!==null&&(y===void 0||y.qClickOutside!==!0)&&(((y&&y.type.indexOf("key")===0?i.closest('[tabindex]:not([tabindex^="-"])'):void 0)||i).focus(),i=null),L(()=>{K(!0),l("hide",y)},e.transitionDuration)}function w(y){a=void 0,r!==void 0&&(r(),r=void 0),(y===!0||v.value===!0)&&(ft(Y),E(),En(N),dt(k)),y!==!0&&(i=null)}function z(){(A.value!==null||e.scrollTarget!==void 0)&&(M.value=gi(A.value,e.scrollTarget),R(M.value,T))}function H(y){s!==!0?(fi(g,y),l("click",y)):s=!1}function Y(y){B.value===!0&&e.noFocus!==!0&&Yn(b.value,y.target)!==!0&&P()}function k(y){l("escapeKey"),D(y)}function T(){Bl({targetEl:b.value,offset:e.offset,anchorEl:A.value,anchorOrigin:_.value,selfOrigin:F.value,absoluteOffset:a,fit:e.fit,cover:e.cover,maxHeight:e.maxHeight,maxWidth:e.maxWidth})}function j(){return t.h(t.Transition,V.value,()=>v.value===!0?t.h("div",{role:"menu",...o,ref:b,tabindex:-1,class:["q-menu q-position-engine scroll"+Q.value,o.class],style:[o.style,S.value],...ne.value},me(n.default)):null)}return t.onBeforeUnmount(w),Object.assign(g,{focus:P,updatePosition:T}),$}});function Ri(e,n,l){function o(){}return t.onBeforeUnmount(()=>{e.value===!0&&void 0}),{removeFromHistory:o,addToHistory(){}}}let We=0,Et,Vt,Ue,Tt=!1,An,Ln,On,xe=null;function $i(e){Mi(e)&&J(e)}function Mi(e){if(e.target===document.body||e.target.classList.contains("q-layout__backdrop"))return!0;const n=ro(e),l=e.shiftKey&&!e.deltaX,o=!l&&Math.abs(e.deltaX)<=Math.abs(e.deltaY),i=l||o?e.deltaY:e.deltaX;for(let a=0;a<n.length;a++){const r=n[a];if(Si(r,o))return o?i<0&&r.scrollTop===0?!0:i>0&&r.scrollTop+r.clientHeight===r.scrollHeight:i<0&&r.scrollLeft===0?!0:i>0&&r.scrollLeft+r.clientWidth===r.scrollWidth}return!0}function Pn(e){e.target===document&&(document.scrollingElement.scrollTop=document.scrollingElement.scrollTop)}function rt(e){Tt!==!0&&(Tt=!0,requestAnimationFrame(()=>{Tt=!1;const{height:n}=e.target,{clientHeight:l,scrollTop:o}=document.scrollingElement;(Ue===void 0||n!==window.innerHeight)&&(Ue=l-n,document.scrollingElement.scrollTop=o),o>Ue&&(document.scrollingElement.scrollTop-=Math.ceil((o-Ue)/8))}))}function zn(e){const n=document.body,l=window.visualViewport!==void 0;if(e==="add"){const{overflowY:o,overflowX:i}=window.getComputedStyle(n);Et=yi(window),Vt=bi(window),An=n.style.left,Ln=n.style.top,On=window.location.href,n.style.left=`-${Et}px`,n.style.top=`-${Vt}px`,i!=="hidden"&&(i==="scroll"||n.scrollWidth>window.innerWidth)&&n.classList.add("q-body--force-scrollbar-x"),o!=="hidden"&&(o==="scroll"||n.scrollHeight>window.innerHeight)&&n.classList.add("q-body--force-scrollbar-y"),n.classList.add("q-body--prevent-scroll"),document.qScrollPrevented=!0,ue.is.ios===!0&&(l===!0?(window.scrollTo(0,0),window.visualViewport.addEventListener("resize",rt,le.passiveCapture),window.visualViewport.addEventListener("scroll",rt,le.passiveCapture),window.scrollTo(0,0)):window.addEventListener("scroll",Pn,le.passiveCapture))}ue.is.desktop===!0&&ue.is.mac===!0&&window[`${e}EventListener`]("wheel",$i,le.notPassive),e==="remove"&&(ue.is.ios===!0&&(l===!0?(window.visualViewport.removeEventListener("resize",rt,le.passiveCapture),window.visualViewport.removeEventListener("scroll",rt,le.passiveCapture)):window.removeEventListener("scroll",Pn,le.passiveCapture)),n.classList.remove("q-body--prevent-scroll"),n.classList.remove("q-body--force-scrollbar-x"),n.classList.remove("q-body--force-scrollbar-y"),document.qScrollPrevented=!1,n.style.left=An,n.style.top=Ln,window.location.href===On&&window.scrollTo(Et,Vt),Ue=void 0)}function Ai(e){let n="add";if(e===!0){if(We++,xe!==null){clearTimeout(xe),xe=null;return}if(We>1)return}else{if(We===0||(We--,We>0))return;if(n="remove",ue.is.ios===!0&&ue.is.nativeMobile===!0){xe!==null&&clearTimeout(xe),xe=setTimeout(()=>{zn(n),xe=null},100);return}}zn(n)}function Li(){let e;return{preventBodyScroll(n){n!==e&&(e!==void 0||n===!0)&&(e=n,Ai(n))}}}let st=0;const Oi={standard:"fixed-full flex-center",top:"fixed-top justify-center",bottom:"fixed-bottom justify-center",right:"fixed-right items-center",left:"fixed-left items-center"},In={standard:["scale","scale"],top:["slide-down","slide-up"],bottom:["slide-up","slide-down"],right:["slide-left","slide-right"],left:["slide-right","slide-left"]},Pi=ae({name:"QDialog",inheritAttrs:!1,props:{...hl,...yl,transitionShow:String,transitionHide:String,persistent:Boolean,autoClose:Boolean,allowFocusOutside:Boolean,noEscDismiss:Boolean,noBackdropDismiss:Boolean,noRouteDismiss:Boolean,noRefocus:Boolean,noFocus:Boolean,noShake:Boolean,seamless:Boolean,maximized:Boolean,fullWidth:Boolean,fullHeight:Boolean,square:Boolean,backdropFilter:String,position:{type:String,default:"standard",validator:e=>["standard","top","bottom","left","right"].includes(e)}},emits:[...pl,"shake","click","escapeKey"],setup(e,{slots:n,emit:l,attrs:o}){const i=t.getCurrentInstance(),a=t.ref(null),r=t.ref(!1),s=t.ref(!1);let h=null,g=null,c,b;const v=t.computed(()=>e.persistent!==!0&&e.noRouteDismiss!==!0&&e.seamless!==!0),{preventBodyScroll:d}=Li(),{registerTimeout:m}=kl(),{registerTick:x,removeTick:p}=Sl(),{transitionProps:L,transitionStyle:V}=wl(e,()=>In[e.position][0],()=>In[e.position][1]),S=t.computed(()=>V.value+(e.backdropFilter!==void 0?`;backdrop-filter:${e.backdropFilter};-webkit-backdrop-filter:${e.backdropFilter}`:"")),{showPortal:M,hidePortal:R,portalIsAccessible:E,renderPortal:A}=bl(i,a,Y,"dialog"),{hide:O}=gl({showing:r,hideOnRouteChange:v,handleShow:F,handleHide:Q,processOnMount:!0}),{addToHistory:D,removeFromHistory:X}=Ri(r,O),K=t.computed(()=>`q-dialog__inner flex no-pointer-events q-dialog__inner--${e.maximized===!0?"maximized":"minimized"} q-dialog__inner--${e.position} ${Oi[e.position]}`+(s.value===!0?" q-dialog__inner--animating":"")+(e.fullWidth===!0?" q-dialog__inner--fullwidth":"")+(e.fullHeight===!0?" q-dialog__inner--fullheight":"")+(e.square===!0?" q-dialog__inner--square":"")),$=t.computed(()=>r.value===!0&&e.seamless!==!0),N=t.computed(()=>e.autoClose===!0?{onClick:w}:{}),_=t.computed(()=>[`q-dialog fullscreen no-pointer-events q-dialog--${$.value===!0?"modal":"seamless"}`,o.class]);t.watch(()=>e.maximized,k=>{r.value===!0&&f(k)}),t.watch($,k=>{d(k),k===!0?(Ut(H),Cl(P)):(ft(H),dt(P))});function F(k){D(),g=e.noRefocus===!1&&document.activeElement!==null?document.activeElement:null,f(e.maximized),M(),s.value=!0,e.noFocus!==!0?(document.activeElement!==null&&document.activeElement.blur(),x(ne)):p(),m(()=>{if(i.proxy.$q.platform.is.ios===!0){if(e.seamless!==!0&&document.activeElement){const{top:T,bottom:j}=document.activeElement.getBoundingClientRect(),{innerHeight:y}=window,G=window.visualViewport!==void 0?window.visualViewport.height:y;T>0&&j>G/2&&(document.scrollingElement.scrollTop=Math.min(document.scrollingElement.scrollHeight-G,j>=y?1/0:Math.ceil(document.scrollingElement.scrollTop+j-G/2))),document.activeElement.scrollIntoView()}b=!0,a.value.click(),b=!1}M(!0),s.value=!1,l("show",k)},e.transitionDuration)}function Q(k){p(),X(),oe(!0),s.value=!0,R(),g!==null&&(((k&&k.type.indexOf("key")===0?g.closest('[tabindex]:not([tabindex^="-"])'):void 0)||g).focus(),g=null),m(()=>{R(!0),s.value=!1,l("hide",k)},e.transitionDuration)}function ne(k){Wt(()=>{let T=a.value;if(T!==null){if(k!==void 0){const j=T.querySelector(k);if(j!==null){j.focus({preventScroll:!0});return}}T.contains(document.activeElement)!==!0&&(T=T.querySelector("[autofocus][tabindex], [data-autofocus][tabindex]")||T.querySelector("[autofocus] [tabindex], [data-autofocus] [tabindex]")||T.querySelector("[autofocus], [data-autofocus]")||T,T.focus({preventScroll:!0}))}})}function B(k){k&&typeof k.focus=="function"?k.focus({preventScroll:!0}):ne(),l("shake");const T=a.value;T!==null&&(T.classList.remove("q-animate--scale"),T.classList.add("q-animate--scale"),h!==null&&clearTimeout(h),h=setTimeout(()=>{h=null,a.value!==null&&(T.classList.remove("q-animate--scale"),ne())},170))}function P(){e.seamless!==!0&&(e.persistent===!0||e.noEscDismiss===!0?e.maximized!==!0&&e.noShake!==!0&&B():(l("escapeKey"),O()))}function oe(k){h!==null&&(clearTimeout(h),h=null),(k===!0||r.value===!0)&&(f(!1),e.seamless!==!0&&(d(!1),ft(H),dt(P))),k!==!0&&(g=null)}function f(k){k===!0?c!==!0&&(st<1&&document.body.classList.add("q-body--dialog"),st++,c=!0):c===!0&&(st<2&&document.body.classList.remove("q-body--dialog"),st--,c=!1)}function w(k){b!==!0&&(O(k),l("click",k))}function z(k){e.persistent!==!0&&e.noBackdropDismiss!==!0?O(k):e.noShake!==!0&&B()}function H(k){e.allowFocusOutside!==!0&&E.value===!0&&Yn(a.value,k.target)!==!0&&ne('[tabindex]:not([tabindex="-1"])')}Object.assign(i.proxy,{focus:ne,shake:B,__updateRefocusTarget(k){g=k||null}}),t.onBeforeUnmount(oe);function Y(){return t.h("div",{role:"dialog","aria-modal":$.value===!0?"true":"false",...o,class:_.value},[t.h(t.Transition,{name:"q-transition--fade",appear:!0},()=>$.value===!0?t.h("div",{class:"q-dialog__backdrop fixed-full",style:S.value,"aria-hidden":"true",tabindex:-1,onClick:z}):null),t.h(t.Transition,L.value,()=>r.value===!0?t.h("div",{ref:a,class:K.value,style:V.value,tabindex:-1,...N.value},me(n.default)):null)])}return A}});let ht=!1;{const e=document.createElement("div");e.setAttribute("dir","rtl"),Object.assign(e.style,{width:"1px",height:"1px",overflow:"auto"});const n=document.createElement("div");Object.assign(n.style,{width:"1000px",height:"1px"}),document.body.appendChild(e),e.appendChild(n),e.scrollLeft=-1e3,ht=e.scrollLeft>=0,e.remove()}const se=1e3,zi=["start","center","end","start-force","center-force","end-force"],_l=Array.prototype.filter,Ii=window.getComputedStyle(document.body).overflowAnchor===void 0?ao:function(e,n){e!==null&&(e._qOverflowAnimationFrame!==void 0&&cancelAnimationFrame(e._qOverflowAnimationFrame),e._qOverflowAnimationFrame=requestAnimationFrame(()=>{if(e===null)return;e._qOverflowAnimationFrame=void 0;const l=e.children||[];_l.call(l,i=>i.dataset&&i.dataset.qVsAnchor!==void 0).forEach(i=>{delete i.dataset.qVsAnchor});const o=l[n];o&&o.dataset&&(o.dataset.qVsAnchor="")}))};function Fe(e,n){return e+n}function Rt(e,n,l,o,i,a,r,s){const h=e===window?document.scrollingElement||document.documentElement:e,g=i===!0?"offsetWidth":"offsetHeight",c={scrollStart:0,scrollViewSize:-r-s,scrollMaxSize:0,offsetStart:-r,offsetEnd:-s};if(i===!0?(e===window?(c.scrollStart=window.pageXOffset||window.scrollX||document.body.scrollLeft||0,c.scrollViewSize+=document.documentElement.clientWidth):(c.scrollStart=h.scrollLeft,c.scrollViewSize+=h.clientWidth),c.scrollMaxSize=h.scrollWidth,a===!0&&(c.scrollStart=(ht===!0?c.scrollMaxSize-c.scrollViewSize:0)-c.scrollStart)):(e===window?(c.scrollStart=window.pageYOffset||window.scrollY||document.body.scrollTop||0,c.scrollViewSize+=document.documentElement.clientHeight):(c.scrollStart=h.scrollTop,c.scrollViewSize+=h.clientHeight),c.scrollMaxSize=h.scrollHeight),l!==null)for(let b=l.previousElementSibling;b!==null;b=b.previousElementSibling)b.classList.contains("q-virtual-scroll--skip")===!1&&(c.offsetStart+=b[g]);if(o!==null)for(let b=o.nextElementSibling;b!==null;b=b.nextElementSibling)b.classList.contains("q-virtual-scroll--skip")===!1&&(c.offsetEnd+=b[g]);if(n!==e){const b=h.getBoundingClientRect(),v=n.getBoundingClientRect();i===!0?(c.offsetStart+=v.left-b.left,c.offsetEnd-=v.width):(c.offsetStart+=v.top-b.top,c.offsetEnd-=v.height),e!==window&&(c.offsetStart+=c.scrollStart),c.offsetEnd+=c.scrollMaxSize-c.offsetStart}return c}function Fn(e,n,l,o){n==="end"&&(n=(e===window?document.body:e)[l===!0?"scrollWidth":"scrollHeight"]),e===window?l===!0?(o===!0&&(n=(ht===!0?document.body.scrollWidth-document.documentElement.clientWidth:0)-n),window.scrollTo(n,window.pageYOffset||window.scrollY||document.body.scrollTop||0)):window.scrollTo(window.pageXOffset||window.scrollX||document.body.scrollLeft||0,n):l===!0?(o===!0&&(n=(ht===!0?e.scrollWidth-e.offsetWidth:0)-n),e.scrollLeft=n):e.scrollTop=n}function Ke(e,n,l,o){if(l>=o)return 0;const i=n.length,a=Math.floor(l/se),r=Math.floor((o-1)/se)+1;let s=e.slice(a,r).reduce(Fe,0);return l%se!==0&&(s-=n.slice(a*se,l).reduce(Fe,0)),o%se!==0&&o!==i&&(s-=n.slice(o,r*se).reduce(Fe,0)),s}const Fi={virtualScrollSliceSize:{type:[Number,String],default:10},virtualScrollSliceRatioBefore:{type:[Number,String],default:1},virtualScrollSliceRatioAfter:{type:[Number,String],default:1},virtualScrollItemSize:{type:[Number,String],default:24},virtualScrollStickySizeStart:{type:[Number,String],default:0},virtualScrollStickySizeEnd:{type:[Number,String],default:0},tableColspan:[Number,String]},Hn={virtualScrollHorizontal:Boolean,onVirtualScroll:Function,...Fi};function Hi({virtualScrollLength:e,getVirtualScrollTarget:n,getVirtualScrollEl:l,virtualScrollItemSizeComputed:o}){const i=t.getCurrentInstance(),{props:a,emit:r,proxy:s}=i,{$q:h}=s;let g,c,b,v=[],d;const m=t.ref(0),x=t.ref(0),p=t.ref({}),L=t.ref(null),V=t.ref(null),S=t.ref(null),M=t.ref({from:0,to:0}),R=t.computed(()=>a.tableColspan!==void 0?a.tableColspan:100);o===void 0&&(o=t.computed(()=>a.virtualScrollItemSize));const E=t.computed(()=>o.value+";"+a.virtualScrollHorizontal),A=t.computed(()=>E.value+";"+a.virtualScrollSliceRatioBefore+";"+a.virtualScrollSliceRatioAfter);t.watch(A,()=>{Q()}),t.watch(E,O);function O(){F(c,!0)}function D(f){F(f===void 0?c:f)}function X(f,w){const z=n();if(z==null||z.nodeType===8)return;const H=Rt(z,l(),L.value,V.value,a.virtualScrollHorizontal,h.lang.rtl,a.virtualScrollStickySizeStart,a.virtualScrollStickySizeEnd);b!==H.scrollViewSize&&Q(H.scrollViewSize),$(z,H,Math.min(e.value-1,Math.max(0,parseInt(f,10)||0)),0,zi.indexOf(w)!==-1?w:c!==-1&&f>c?"end":"start")}function K(){const f=n();if(f==null||f.nodeType===8)return;const w=Rt(f,l(),L.value,V.value,a.virtualScrollHorizontal,h.lang.rtl,a.virtualScrollStickySizeStart,a.virtualScrollStickySizeEnd),z=e.value-1,H=w.scrollMaxSize-w.offsetStart-w.offsetEnd-x.value;if(g===w.scrollStart)return;if(w.scrollMaxSize<=0){$(f,w,0,0);return}b!==w.scrollViewSize&&Q(w.scrollViewSize),N(M.value.from);const Y=Math.floor(w.scrollMaxSize-Math.max(w.scrollViewSize,w.offsetEnd)-Math.min(d[z],w.scrollViewSize/2));if(Y>0&&Math.ceil(w.scrollStart)>=Y){$(f,w,z,w.scrollMaxSize-w.offsetEnd-v.reduce(Fe,0));return}let k=0,T=w.scrollStart-w.offsetStart,j=T;if(T<=H&&T+w.scrollViewSize>=m.value)T-=m.value,k=M.value.from,j=T;else for(let y=0;T>=v[y]&&k<z;y++)T-=v[y],k+=se;for(;T>0&&k<z;)T-=d[k],T>-w.scrollViewSize?(k++,j=T):j=d[k]+T;$(f,w,k,j)}function $(f,w,z,H,Y){const k=typeof Y=="string"&&Y.indexOf("-force")!==-1,T=k===!0?Y.replace("-force",""):Y,j=T!==void 0?T:"start";let y=Math.max(0,z-p.value[j]),G=y+p.value.total;G>e.value&&(G=e.value,y=Math.max(0,G-p.value.total)),g=w.scrollStart;const de=y!==M.value.from||G!==M.value.to;if(de===!1&&T===void 0){B(z);return}const{activeElement:Te}=document,fe=S.value;de===!0&&fe!==null&&fe!==Te&&fe.contains(Te)===!0&&(fe.addEventListener("focusout",_),setTimeout(()=>{fe!==null&&fe.removeEventListener("focusout",_)})),Ii(fe,z-y);const Je=T!==void 0?d.slice(y,z).reduce(Fe,0):0;if(de===!0){const ye=G>=M.value.from&&y<=M.value.to?M.value.to:G;M.value={from:y,to:ye},m.value=Ke(v,d,0,y),x.value=Ke(v,d,G,e.value),requestAnimationFrame(()=>{M.value.to!==G&&g===w.scrollStart&&(M.value={from:M.value.from,to:G},x.value=Ke(v,d,G,e.value))})}requestAnimationFrame(()=>{if(g!==w.scrollStart)return;de===!0&&N(y);const ye=d.slice(y,z).reduce(Fe,0),we=ye+w.offsetStart+m.value,et=we+d[z];let De=we+H;if(T!==void 0){const bt=ye-Je,je=w.scrollStart+bt;De=k!==!0&&je<we&&et<je+w.scrollViewSize?je:T==="end"?et-w.scrollViewSize:we-(T==="start"?0:Math.round((w.scrollViewSize-d[z])/2))}g=De,Fn(f,De,a.virtualScrollHorizontal,h.lang.rtl),B(z)})}function N(f){const w=S.value;if(w){const z=_l.call(w.children,y=>y.classList&&y.classList.contains("q-virtual-scroll--skip")===!1),H=z.length,Y=a.virtualScrollHorizontal===!0?y=>y.getBoundingClientRect().width:y=>y.offsetHeight;let k=f,T,j;for(let y=0;y<H;){for(T=Y(z[y]),y++;y<H&&z[y].classList.contains("q-virtual-scroll--with-prev")===!0;)T+=Y(z[y]),y++;j=T-d[k],j!==0&&(d[k]+=j,v[Math.floor(k/se)]+=j),k++}}}function _(){S.value!==null&&S.value!==void 0&&S.value.focus()}function F(f,w){const z=1*o.value;(w===!0||Array.isArray(d)===!1)&&(d=[]);const H=d.length;d.length=e.value;for(let k=e.value-1;k>=H;k--)d[k]=z;const Y=Math.floor((e.value-1)/se);v=[];for(let k=0;k<=Y;k++){let T=0;const j=Math.min((k+1)*se,e.value);for(let y=k*se;y<j;y++)T+=d[y];v.push(T)}c=-1,g=void 0,m.value=Ke(v,d,0,M.value.from),x.value=Ke(v,d,M.value.to,e.value),f>=0?(N(M.value.from),t.nextTick(()=>{X(f)})):P()}function Q(f){if(f===void 0&&typeof window<"u"){const T=n();T!=null&&T.nodeType!==8&&(f=Rt(T,l(),L.value,V.value,a.virtualScrollHorizontal,h.lang.rtl,a.virtualScrollStickySizeStart,a.virtualScrollStickySizeEnd).scrollViewSize)}b=f;const w=parseFloat(a.virtualScrollSliceRatioBefore)||0,z=parseFloat(a.virtualScrollSliceRatioAfter)||0,H=1+w+z,Y=f===void 0||f<=0?1:Math.ceil(f/o.value),k=Math.max(1,Y,Math.ceil((a.virtualScrollSliceSize>0?a.virtualScrollSliceSize:10)/H));p.value={total:Math.ceil(k*H),start:Math.ceil(k*w),center:Math.ceil(k*(.5+w)),end:Math.ceil(k*(1+w)),view:Y}}function ne(f,w){const z=a.virtualScrollHorizontal===!0?"width":"height",H={["--q-virtual-scroll-item-"+z]:o.value+"px"};return[f==="tbody"?t.h(f,{class:"q-virtual-scroll__padding",key:"before",ref:L},[t.h("tr",[t.h("td",{style:{[z]:`${m.value}px`,...H},colspan:R.value})])]):t.h(f,{class:"q-virtual-scroll__padding",key:"before",ref:L,style:{[z]:`${m.value}px`,...H}}),t.h(f,{class:"q-virtual-scroll__content",key:"content",ref:S,tabindex:-1},w.flat()),f==="tbody"?t.h(f,{class:"q-virtual-scroll__padding",key:"after",ref:V},[t.h("tr",[t.h("td",{style:{[z]:`${x.value}px`,...H},colspan:R.value})])]):t.h(f,{class:"q-virtual-scroll__padding",key:"after",ref:V,style:{[z]:`${x.value}px`,...H}})]}function B(f){c!==f&&(a.onVirtualScroll!==void 0&&r("virtualScroll",{index:f,from:M.value.from,to:M.value.to-1,direction:f<c?"decrease":"increase",ref:s}),c=f)}Q();const P=cl(K,h.platform.is.ios===!0?120:35);t.onBeforeMount(()=>{Q()});let oe=!1;return t.onDeactivated(()=>{oe=!0}),t.onActivated(()=>{if(oe!==!0)return;const f=n();g!==void 0&&f!==void 0&&f!==null&&f.nodeType!==8?Fn(f,g,a.virtualScrollHorizontal,h.lang.rtl):X(c)}),t.onBeforeUnmount(()=>{P.cancel()}),Object.assign(s,{scrollTo:X,reset:O,refresh:D}),{virtualScrollSliceRange:M,virtualScrollSliceSizeComputed:p,setVirtualScrollSize:Q,onVirtualScrollEvt:P,localResetVirtualScroll:F,padVirtualScroll:ne,scrollTo:X,reset:O,refresh:D}}const Di=/[\u3000-\u303f\u3040-\u309f\u30a0-\u30ff\uff00-\uff9f\u4e00-\u9faf\u3400-\u4dbf]/,ji=/[\u4e00-\u9fff\u3400-\u4dbf\u{20000}-\u{2a6df}\u{2a700}-\u{2b73f}\u{2b740}-\u{2b81f}\u{2b820}-\u{2ceaf}\uf900-\ufaff\u3300-\u33ff\ufe30-\ufe4f\uf900-\ufaff\u{2f800}-\u{2fa1f}]/u,Ni=/[\u3131-\u314e\u314f-\u3163\uac00-\ud7a3]/,Wi=/[a-z0-9_ -]$/i;function Ki(e){return function(l){if(l.type==="compositionend"||l.type==="change"){if(l.target.qComposing!==!0)return;l.target.qComposing=!1,e(l)}else l.type==="compositionupdate"&&l.target.qComposing!==!0&&typeof l.data=="string"&&(ue.is.firefox===!0?Wi.test(l.data)===!1:Di.test(l.data)===!0||ji.test(l.data)===!0||Ni.test(l.data)===!0)===!0&&(l.target.qComposing=!0)}}function be(e,n){if(e===n)return!0;if(e!==null&&n!==null&&typeof e=="object"&&typeof n=="object"){if(e.constructor!==n.constructor)return!1;let l,o;if(e.constructor===Array){if(l=e.length,l!==n.length)return!1;for(o=l;o--!==0;)if(be(e[o],n[o])!==!0)return!1;return!0}if(e.constructor===Map){if(e.size!==n.size)return!1;let a=e.entries();for(o=a.next();o.done!==!0;){if(n.has(o.value[0])!==!0)return!1;o=a.next()}for(a=e.entries(),o=a.next();o.done!==!0;){if(be(o.value[1],n.get(o.value[0]))!==!0)return!1;o=a.next()}return!0}if(e.constructor===Set){if(e.size!==n.size)return!1;const a=e.entries();for(o=a.next();o.done!==!0;){if(n.has(o.value[0])!==!0)return!1;o=a.next()}return!0}if(e.buffer!=null&&e.buffer.constructor===ArrayBuffer){if(l=e.length,l!==n.length)return!1;for(o=l;o--!==0;)if(e[o]!==n[o])return!1;return!0}if(e.constructor===RegExp)return e.source===n.source&&e.flags===n.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===n.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===n.toString();const i=Object.keys(e).filter(a=>e[a]!==void 0);if(l=i.length,l!==Object.keys(n).filter(a=>n[a]!==void 0).length)return!1;for(o=l;o--!==0;){const a=i[o];if(be(e[a],n[a])!==!0)return!1}return!0}return e!==e&&n!==n}function Dn(e,n,l){if(l<=n)return n;const o=l-n+1;let i=n+(e-n)%o;return i<n&&(i=o+i),i===0?0:i}const jn=e=>["add","add-unique","toggle"].includes(e),Ui=".*+?^${}()|[]\\",Qi=Object.keys(Kt);function $t(e,n){if(typeof e=="function")return e;const l=e!==void 0?e:n;return o=>o!==null&&typeof o=="object"&&l in o?o[l]:o}const Yi=ae({name:"QSelect",inheritAttrs:!1,props:{...Hn,...ul,...Kt,modelValue:{required:!0},multiple:Boolean,displayValue:[String,Number],displayValueHtml:Boolean,dropdownIcon:String,options:{type:Array,default:()=>[]},optionValue:[Function,String],optionLabel:[Function,String],optionDisable:[Function,String],hideSelected:Boolean,hideDropdownIcon:Boolean,fillInput:Boolean,maxValues:[Number,String],optionsDense:Boolean,optionsDark:{type:Boolean,default:null},optionsSelectedClass:String,optionsHtml:Boolean,optionsCover:Boolean,menuShrink:Boolean,menuAnchor:String,menuSelf:String,menuOffset:Array,popupContentClass:String,popupContentStyle:[String,Array,Object],popupNoRouteDismiss:Boolean,useInput:Boolean,useChips:Boolean,newValueMode:{type:String,validator:jn},mapOptions:Boolean,emitValue:Boolean,disableTabSelection:Boolean,inputDebounce:{type:[Number,String],default:500},inputClass:[Array,String,Object],inputStyle:[Array,String,Object],tabindex:{type:[String,Number],default:0},autocomplete:String,transitionShow:{},transitionHide:{},transitionDuration:{},behavior:{type:String,validator:e=>["default","menu","dialog"].includes(e),default:"default"},virtualScrollItemSize:Hn.virtualScrollItemSize.type,onNewValue:Function,onFilter:Function},emits:[...fl,"add","remove","inputValue","keyup","keypress","keydown","popupShow","popupHide","filterAbort"],setup(e,{slots:n,emit:l}){const{proxy:o}=t.getCurrentInstance(),{$q:i}=o,a=t.ref(!1),r=t.ref(!1),s=t.ref(-1),h=t.ref(""),g=t.ref(!1),c=t.ref(!1);let b=null,v=null,d,m,x,p=null,L,V,S,M;const R=t.ref(null),E=t.ref(null),A=t.ref(null),O=t.ref(null),D=t.ref(null),X=Ro(e),K=Ki(ln),$=t.computed(()=>Array.isArray(e.options)?e.options.length:0),N=t.computed(()=>e.virtualScrollItemSize===void 0?e.optionsDense===!0?24:48:e.virtualScrollItemSize),{virtualScrollSliceRange:_,virtualScrollSliceSizeComputed:F,localResetVirtualScroll:Q,padVirtualScroll:ne,onVirtualScrollEvt:B,scrollTo:P,setVirtualScrollSize:oe}=Hi({virtualScrollLength:$,getVirtualScrollTarget:Ml,getVirtualScrollEl:tn,virtualScrollItemSizeComputed:N}),f=vl(),w=t.computed(()=>{const u=e.mapOptions===!0&&e.multiple!==!0,C=e.modelValue!==void 0&&(e.modelValue!==null||u===!0)?e.multiple===!0&&Array.isArray(e.modelValue)?e.modelValue:[e.modelValue]:[];if(e.mapOptions===!0&&Array.isArray(e.options)===!0){const q=e.mapOptions===!0&&d!==void 0?d:[],I=C.map(U=>$l(U,q));return e.modelValue===null&&u===!0?I.filter(U=>U!==null):I}return C}),z=t.computed(()=>{const u={};return Qi.forEach(C=>{const q=e[C];q!==void 0&&(u[C]=q)}),u}),H=t.computed(()=>e.optionsDark===null?f.isDark.value:e.optionsDark),Y=t.computed(()=>Ft(w.value)),k=t.computed(()=>{let u="q-field__input q-placeholder col";return e.hideSelected===!0||w.value.length===0?[u,e.inputClass]:(u+=" q-field__input--padding",e.inputClass===void 0?u:[u,e.inputClass])}),T=t.computed(()=>(e.virtualScrollHorizontal===!0?"q-virtual-scroll--horizontal":"")+(e.popupContentClass?" "+e.popupContentClass:"")),j=t.computed(()=>$.value===0),y=t.computed(()=>w.value.map(u=>ie.value(u)).join(", ")),G=t.computed(()=>e.displayValue!==void 0?e.displayValue:y.value),de=t.computed(()=>e.optionsHtml===!0?()=>!0:u=>u!=null&&u.html===!0),Te=t.computed(()=>e.displayValueHtml===!0||e.displayValue===void 0&&(e.optionsHtml===!0||w.value.some(de.value))),fe=t.computed(()=>f.focused.value===!0?e.tabindex:-1),Je=t.computed(()=>{const u={tabindex:e.tabindex,role:"combobox","aria-label":e.label,"aria-readonly":e.readonly===!0?"true":"false","aria-autocomplete":e.useInput===!0?"list":"none","aria-expanded":a.value===!0?"true":"false","aria-controls":`${f.targetUid.value}_lb`};return s.value>=0&&(u["aria-activedescendant"]=`${f.targetUid.value}_${s.value}`),u}),ye=t.computed(()=>({id:`${f.targetUid.value}_lb`,role:"listbox","aria-multiselectable":e.multiple===!0?"true":"false"})),we=t.computed(()=>w.value.map((u,C)=>({index:C,opt:u,html:de.value(u),selected:!0,removeAtIndex:Rl,toggleOption:Se,tabindex:fe.value}))),et=t.computed(()=>{if($.value===0)return[];const{from:u,to:C}=_.value;return e.options.slice(u,C).map((q,I)=>{const U=Re.value(q)===!0,W=wt(q)===!0,ee=u+I,Z={clickable:!0,active:W,activeClass:je.value,manualFocus:!0,focused:!1,disable:U,tabindex:-1,dense:e.optionsDense,dark:H.value,role:"option","aria-selected":W===!0?"true":"false",id:`${f.targetUid.value}_${ee}`,onClick:()=>{Se(q)}};return U!==!0&&(s.value===ee&&(Z.focused=!0),i.platform.is.desktop===!0&&(Z.onMousemove=()=>{a.value===!0&&$e(ee)})),{index:ee,opt:q,html:de.value(q),label:ie.value(q),selected:Z.active,focused:Z.focused,toggleOption:Se,setOptionIndex:$e,itemProps:Z}})}),De=t.computed(()=>e.dropdownIcon!==void 0?e.dropdownIcon:i.iconSet.arrow.dropdown),bt=t.computed(()=>e.optionsCover===!1&&e.outlined!==!0&&e.standout!==!0&&e.borderless!==!0&&e.rounded!==!0),je=t.computed(()=>e.optionsSelectedClass!==void 0?e.optionsSelectedClass:e.color!==void 0?`text-${e.color}`:""),ve=t.computed(()=>$t(e.optionValue,"value")),ie=t.computed(()=>$t(e.optionLabel,"label")),Re=t.computed(()=>$t(e.optionDisable,"disable")),tt=t.computed(()=>w.value.map(ve.value)),Tl=t.computed(()=>{const u={onInput:ln,onChange:K,onKeydown:en,onKeyup:Zt,onKeypress:Jt,onFocus:Xt,onClick(C){m===!0&&ge(C)}};return u.onCompositionstart=u.onCompositionupdate=u.onCompositionend=K,u});t.watch(w,u=>{d=u,e.useInput===!0&&e.fillInput===!0&&e.multiple!==!0&&f.innerLoading.value!==!0&&(r.value!==!0&&a.value!==!0||Y.value!==!0)&&(x!==!0&&Oe(),(r.value===!0||a.value===!0)&&Me(""))},{immediate:!0}),t.watch(()=>e.fillInput,Oe),t.watch(a,St),t.watch($,Wl);function Qt(u){return e.emitValue===!0?ve.value(u):u}function yt(u){if(u!==-1&&u<w.value.length)if(e.multiple===!0){const C=e.modelValue.slice();l("remove",{index:u,value:C.splice(u,1)[0]}),l("update:modelValue",C)}else l("update:modelValue",null)}function Rl(u){yt(u),f.focus()}function Yt(u,C){const q=Qt(u);if(e.multiple!==!0){e.fillInput===!0&&Ne(ie.value(u),!0,!0),l("update:modelValue",q);return}if(w.value.length===0){l("add",{index:0,value:q}),l("update:modelValue",e.multiple===!0?[q]:q);return}if(C===!0&&wt(u)===!0||e.maxValues!==void 0&&e.modelValue.length>=e.maxValues)return;const I=e.modelValue.slice();l("add",{index:I.length,value:q}),I.push(q),l("update:modelValue",I)}function Se(u,C){if(f.editable.value!==!0||u===void 0||Re.value(u)===!0)return;const q=ve.value(u);if(e.multiple!==!0){C!==!0&&(Ne(e.fillInput===!0?ie.value(u):"",!0,!0),ke()),E.value!==null&&E.value.focus(),(w.value.length===0||be(ve.value(w.value[0]),q)!==!0)&&l("update:modelValue",e.emitValue===!0?q:u);return}if((m!==!0||g.value===!0)&&f.focus(),Xt(),w.value.length===0){const W=e.emitValue===!0?q:u;l("add",{index:0,value:W}),l("update:modelValue",e.multiple===!0?[W]:W);return}const I=e.modelValue.slice(),U=tt.value.findIndex(W=>be(W,q));if(U!==-1)l("remove",{index:U,value:I.splice(U,1)[0]});else{if(e.maxValues!==void 0&&I.length>=e.maxValues)return;const W=e.emitValue===!0?q:u;l("add",{index:I.length,value:W}),I.push(W)}l("update:modelValue",I)}function $e(u){if(i.platform.is.desktop!==!0)return;const C=u!==-1&&u<$.value?u:-1;s.value!==C&&(s.value=C)}function nt(u=1,C){if(a.value===!0){let q=s.value;do q=Dn(q+u,-1,$.value-1);while(q!==-1&&q!==s.value&&Re.value(e.options[q])===!0);s.value!==q&&($e(q),P(q),C!==!0&&e.useInput===!0&&e.fillInput===!0&&lt(q>=0?ie.value(e.options[q]):L,!0))}}function $l(u,C){const q=I=>be(ve.value(I),u);return e.options.find(q)||C.find(q)||u}function wt(u){const C=ve.value(u);return tt.value.find(q=>be(q,C))!==void 0}function Xt(u){e.useInput===!0&&E.value!==null&&(u===void 0||E.value===u.target&&u.target.value===y.value)&&E.value.select()}function Gt(u){Ve(u,27)===!0&&a.value===!0&&(ge(u),ke(),Oe()),l("keyup",u)}function Zt(u){const{value:C}=u.target;if(u.keyCode!==void 0){Gt(u);return}if(u.target.value="",b!==null&&(clearTimeout(b),b=null),v!==null&&(clearTimeout(v),v=null),Oe(),typeof C=="string"&&C.length!==0){const q=C.toLocaleLowerCase(),I=W=>{const ee=e.options.find(Z=>String(W.value(Z)).toLocaleLowerCase()===q);return ee===void 0?!1:(w.value.indexOf(ee)===-1?Se(ee):ke(),!0)},U=W=>{I(ve)!==!0&&W!==!0&&I(ie)!==!0&&Me(C,!0,()=>U(!0))};U()}else f.clearValue(u)}function Jt(u){l("keypress",u)}function en(u){if(l("keydown",u),Zn(u)===!0)return;const C=h.value.length!==0&&(e.newValueMode!==void 0||e.onNewValue!==void 0),q=u.shiftKey!==!0&&e.disableTabSelection!==!0&&e.multiple!==!0&&(s.value!==-1||C===!0);if(u.keyCode===27){ce(u);return}if(u.keyCode===9&&q===!1){Ae();return}if(u.target===void 0||u.target.id!==f.targetUid.value||f.editable.value!==!0)return;if(u.keyCode===40&&f.innerLoading.value!==!0&&a.value===!1){J(u),Le();return}if(u.keyCode===8&&(e.useChips===!0||e.clearable===!0)&&e.hideSelected!==!0&&h.value.length===0){e.multiple===!0&&Array.isArray(e.modelValue)===!0?yt(e.modelValue.length-1):e.multiple!==!0&&e.modelValue!==null&&l("update:modelValue",null);return}(u.keyCode===35||u.keyCode===36)&&(typeof h.value!="string"||h.value.length===0)&&(J(u),s.value=-1,nt(u.keyCode===36?1:-1,e.multiple)),(u.keyCode===33||u.keyCode===34)&&F.value!==void 0&&(J(u),s.value=Math.max(-1,Math.min($.value,s.value+(u.keyCode===33?-1:1)*F.value.view)),nt(u.keyCode===33?1:-1,e.multiple)),(u.keyCode===38||u.keyCode===40)&&(J(u),nt(u.keyCode===38?-1:1,e.multiple));const I=$.value;if((S===void 0||M<Date.now())&&(S=""),I>0&&e.useInput!==!0&&u.key!==void 0&&u.key.length===1&&u.altKey===!1&&u.ctrlKey===!1&&u.metaKey===!1&&(u.keyCode!==32||S.length!==0)){a.value!==!0&&Le(u);const U=u.key.toLocaleLowerCase(),W=S.length===1&&S[0]===U;M=Date.now()+1500,W===!1&&(J(u),S+=U);const ee=new RegExp("^"+S.split("").map(kt=>Ui.indexOf(kt)!==-1?"\\"+kt:kt).join(".*"),"i");let Z=s.value;if(W===!0||Z<0||ee.test(ie.value(e.options[Z]))!==!0)do Z=Dn(Z+1,-1,I-1);while(Z!==s.value&&(Re.value(e.options[Z])===!0||ee.test(ie.value(e.options[Z]))!==!0));s.value!==Z&&t.nextTick(()=>{$e(Z),P(Z),Z>=0&&e.useInput===!0&&e.fillInput===!0&&lt(ie.value(e.options[Z]),!0)});return}if(!(u.keyCode!==13&&(u.keyCode!==32||e.useInput===!0||S!=="")&&(u.keyCode!==9||q===!1))){if(u.keyCode!==9&&J(u),s.value!==-1&&s.value<I){Se(e.options[s.value]);return}if(C===!0){const U=(W,ee)=>{if(ee){if(jn(ee)!==!0)return}else ee=e.newValueMode;if(Ne("",e.multiple!==!0,!0),W==null)return;(ee==="toggle"?Se:Yt)(W,ee==="add-unique"),e.multiple!==!0&&(E.value!==null&&E.value.focus(),ke())};if(e.onNewValue!==void 0?l("newValue",h.value,U):U(h.value),e.multiple!==!0)return}a.value===!0?Ae():f.innerLoading.value!==!0&&Le()}}function tn(){return m===!0?D.value:A.value!==null&&A.value.contentEl!==null?A.value.contentEl:void 0}function Ml(){return tn()}function Al(){return e.hideSelected===!0?[]:n["selected-item"]!==void 0?we.value.map(u=>n["selected-item"](u)).slice():n.selected!==void 0?[].concat(n.selected()):e.useChips===!0?we.value.map((u,C)=>t.h(ni,{key:"option-"+C,removable:f.editable.value===!0&&Re.value(u.opt)!==!0,dense:!0,textColor:e.color,tabindex:fe.value,onRemove(){u.removeAtIndex(C)}},()=>t.h("span",{class:"ellipsis",[u.html===!0?"innerHTML":"textContent"]:ie.value(u.opt)}))):[t.h("span",{[Te.value===!0?"innerHTML":"textContent"]:G.value})]}function nn(){if(j.value===!0)return n["no-option"]!==void 0?n["no-option"]({inputValue:h.value}):void 0;const u=n.option!==void 0?n.option:q=>t.h(rl,{key:q.index,...q.itemProps},()=>t.h(ct,()=>t.h(al,()=>t.h("span",{[q.html===!0?"innerHTML":"textContent"]:q.label}))));let C=ne("div",et.value.map(u));return n["before-options"]!==void 0&&(C=n["before-options"]().concat(C)),Ce(n["after-options"],C)}function Ll(u,C){const q=C===!0?{...Je.value,...f.splitAttrs.attributes.value}:void 0,I={ref:C===!0?E:void 0,key:"i_t",class:k.value,style:e.inputStyle,value:h.value!==void 0?h.value:"",type:"search",...q,id:C===!0?f.targetUid.value:void 0,maxlength:e.maxlength,autocomplete:e.autocomplete,"data-autofocus":u===!0||e.autofocus===!0||void 0,disabled:e.disable===!0,readonly:e.readonly===!0,...Tl.value};return u!==!0&&m===!0&&(Array.isArray(I.class)===!0?I.class=[...I.class,"no-pointer-events"]:I.class+=" no-pointer-events"),t.h("input",I)}function ln(u){b!==null&&(clearTimeout(b),b=null),v!==null&&(clearTimeout(v),v=null),!(u&&u.target&&u.target.qComposing===!0)&&(lt(u.target.value||""),x=!0,L=h.value,f.focused.value!==!0&&(m!==!0||g.value===!0)&&f.focus(),e.onFilter!==void 0&&(b=setTimeout(()=>{b=null,Me(h.value)},e.inputDebounce)))}function lt(u,C){h.value!==u&&(h.value=u,C===!0||e.inputDebounce===0||e.inputDebounce==="0"?l("inputValue",u):v=setTimeout(()=>{v=null,l("inputValue",u)},e.inputDebounce))}function Ne(u,C,q){x=q!==!0,e.useInput===!0&&(lt(u,!0),(C===!0||q!==!0)&&(L=u),C!==!0&&Me(u))}function Me(u,C,q){if(e.onFilter===void 0||C!==!0&&f.focused.value!==!0)return;f.innerLoading.value===!0?l("filterAbort"):(f.innerLoading.value=!0,c.value=!0),u!==""&&e.multiple!==!0&&w.value.length!==0&&x!==!0&&u===ie.value(w.value[0])&&(u="");const I=setTimeout(()=>{a.value===!0&&(a.value=!1)},10);p!==null&&clearTimeout(p),p=I,l("filter",u,(U,W)=>{(C===!0||f.focused.value===!0)&&p===I&&(clearTimeout(p),typeof U=="function"&&U(),c.value=!1,t.nextTick(()=>{f.innerLoading.value=!1,f.editable.value===!0&&(C===!0?a.value===!0&&ke():a.value===!0?St(!0):a.value=!0),typeof W=="function"&&t.nextTick(()=>{W(o)}),typeof q=="function"&&t.nextTick(()=>{q(o)})}))},()=>{f.focused.value===!0&&p===I&&(clearTimeout(p),f.innerLoading.value=!1,c.value=!1),a.value===!0&&(a.value=!1)})}function Ol(){return t.h(Ti,{ref:A,class:T.value,style:e.popupContentStyle,modelValue:a.value,fit:e.menuShrink!==!0,cover:e.optionsCover===!0&&j.value!==!0&&e.useInput!==!0,anchor:e.menuAnchor,self:e.menuSelf,offset:e.menuOffset,dark:H.value,noParentEvent:!0,noRefocus:!0,noFocus:!0,noRouteDismiss:e.popupNoRouteDismiss,square:bt.value,transitionShow:e.transitionShow,transitionHide:e.transitionHide,transitionDuration:e.transitionDuration,separateClosePopup:!0,...ye.value,onScrollPassive:B,onBeforeShow:un,onBeforeHide:Pl,onShow:zl},nn)}function Pl(u){an(u),Ae()}function zl(){oe()}function Il(u){ge(u),E.value!==null&&E.value.focus(),g.value=!0,window.scrollTo(window.pageXOffset||window.scrollX||document.body.scrollLeft||0,0)}function Fl(u){ge(u),t.nextTick(()=>{g.value=!1})}function Hl(){const u=[t.h(ei,{class:`col-auto ${f.fieldClass.value}`,...z.value,for:f.targetUid.value,dark:H.value,square:!0,loading:c.value,itemAligned:!1,filled:!0,stackLabel:h.value.length!==0,...f.splitAttrs.listeners.value,onFocus:Il,onBlur:Fl},{...n,rawControl:()=>f.getControl(!0),before:void 0,after:void 0})];return a.value===!0&&u.push(t.h("div",{ref:D,class:T.value+" scroll",style:e.popupContentStyle,...ye.value,onClick:ce,onScrollPassive:B},nn())),t.h(Pi,{ref:O,modelValue:r.value,position:e.useInput===!0?"top":void 0,transitionShow:V,transitionHide:e.transitionHide,transitionDuration:e.transitionDuration,noRouteDismiss:e.popupNoRouteDismiss,onBeforeShow:un,onBeforeHide:Dl,onHide:jl,onShow:Nl},()=>t.h("div",{class:"q-select__dialog"+(H.value===!0?" q-select__dialog--dark q-dark":"")+(g.value===!0?" q-select__dialog--focused":"")},u))}function Dl(u){an(u),O.value!==null&&O.value.__updateRefocusTarget(f.rootRef.value.querySelector(".q-field__native > [tabindex]:last-child")),f.focused.value=!1}function jl(u){ke(),f.focused.value===!1&&l("blur",u),Oe()}function Nl(){const u=document.activeElement;(u===null||u.id!==f.targetUid.value)&&E.value!==null&&E.value!==u&&E.value.focus(),oe()}function Ae(){r.value!==!0&&(s.value=-1,a.value===!0&&(a.value=!1),f.focused.value===!1&&(p!==null&&(clearTimeout(p),p=null),f.innerLoading.value===!0&&(l("filterAbort"),f.innerLoading.value=!1,c.value=!1)))}function Le(u){f.editable.value===!0&&(m===!0?(f.onControlFocusin(u),r.value=!0,t.nextTick(()=>{f.focus()})):f.focus(),e.onFilter!==void 0?Me(h.value):(j.value!==!0||n["no-option"]!==void 0)&&(a.value=!0))}function ke(){r.value=!1,Ae()}function Oe(){e.useInput===!0&&Ne(e.multiple!==!0&&e.fillInput===!0&&w.value.length!==0&&ie.value(w.value[0])||"",!0,!0)}function St(u){let C=-1;if(u===!0){if(w.value.length!==0){const q=ve.value(w.value[0]);C=e.options.findIndex(I=>be(ve.value(I),q))}Q(C)}$e(C)}function Wl(u,C){a.value===!0&&f.innerLoading.value===!1&&(Q(-1,!0),t.nextTick(()=>{a.value===!0&&f.innerLoading.value===!1&&(u>C?Q():St(!0))}))}function on(){r.value===!1&&A.value!==null&&A.value.updatePosition()}function un(u){u!==void 0&&ge(u),l("popupShow",u),f.hasPopupOpen=!0,f.onControlFocusin(u)}function an(u){u!==void 0&&ge(u),l("popupHide",u),f.hasPopupOpen=!1,f.onControlFocusout(u)}function rn(){m=i.platform.is.mobile!==!0&&e.behavior!=="dialog"?!1:e.behavior!=="menu"&&(e.useInput===!0?n["no-option"]!==void 0||e.onFilter!==void 0||j.value===!1:!0),V=i.platform.is.ios===!0&&m===!0&&e.useInput===!0?"fade":e.transitionShow}return t.onBeforeUpdate(rn),t.onUpdated(on),rn(),t.onBeforeUnmount(()=>{b!==null&&clearTimeout(b),v!==null&&clearTimeout(v)}),Object.assign(o,{showPopup:Le,hidePopup:ke,removeAtIndex:yt,add:Yt,toggleOption:Se,getOptionIndex:()=>s.value,setOptionIndex:$e,moveOptionSelection:nt,filter:Me,updateMenuPosition:on,updateInputValue:Ne,isOptionSelected:wt,getEmittingOptionValue:Qt,isOptionDisabled:(...u)=>Re.value.apply(null,u)===!0,getOptionValue:(...u)=>ve.value.apply(null,u),getOptionLabel:(...u)=>ie.value.apply(null,u)}),Object.assign(f,{innerValue:w,fieldClass:t.computed(()=>`q-select q-field--auto-height q-select--with${e.useInput!==!0?"out":""}-input q-select--with${e.useChips!==!0?"out":""}-chips q-select--${e.multiple===!0?"multiple":"single"}`),inputRef:R,targetRef:E,hasValue:Y,showPopup:Le,floatingLabel:t.computed(()=>e.hideSelected!==!0&&Y.value===!0||typeof h.value=="number"||h.value.length!==0||Ft(e.displayValue)),getControlChild:()=>{if(f.editable.value!==!1&&(r.value===!0||j.value!==!0||n["no-option"]!==void 0))return m===!0?Hl():Ol();f.hasPopupOpen===!0&&(f.hasPopupOpen=!1)},controlEvents:{onFocusin(u){f.onControlFocusin(u)},onFocusout(u){f.onControlFocusout(u,()=>{Oe(),Ae()})},onClick(u){if(ce(u),m!==!0&&a.value===!0){Ae(),E.value!==null&&E.value.focus();return}Le(u)}},getControl:u=>{const C=Al(),q=u===!0||r.value!==!0||m!==!0;if(e.useInput===!0)C.push(Ll(u,q));else if(f.editable.value===!0){const U=q===!0?Je.value:void 0;C.push(t.h("input",{ref:q===!0?E:void 0,key:"d_t",class:"q-select__focus-target",id:q===!0?f.targetUid.value:void 0,value:G.value,readonly:!0,"data-autofocus":u===!0||e.autofocus===!0||void 0,...U,onKeydown:en,onKeyup:Gt,onKeypress:Jt})),q===!0&&typeof e.autocomplete=="string"&&e.autocomplete.length!==0&&C.push(t.h("input",{class:"q-select__autocomplete-input",autocomplete:e.autocomplete,tabindex:-1,onKeyup:Zt}))}if(X.value!==void 0&&e.disable!==!0&&tt.value.length!==0){const U=tt.value.map(W=>t.h("option",{value:W,selected:!0}));C.push(t.h("select",{class:"hidden",name:X.value,multiple:e.multiple},U))}const I=e.useInput===!0||q!==!0?void 0:f.splitAttrs.attributes.value;return t.h("div",{class:"q-field__native row items-center",...I,...f.splitAttrs.listeners.value},C)},getInnerAppend:()=>e.loading!==!0&&c.value!==!0&&e.hideDropdownIcon!==!0?[t.h(pe,{class:"q-select__dropdown-icon"+(a.value===!0?" rotate-180":""),name:De.value})]:null}),ml(f)}}),Xi={class:"app-select__amount"},Gi=t.defineComponent({__name:"index",props:{modelValue:{},size:{default:he.MD},options:{},multiple:{type:Boolean},label:{},placeholder:{},required:{type:Boolean},clearable:{type:Boolean},disabled:{type:Boolean},loading:{type:Boolean},filtering:{type:Boolean},autofocus:{type:Boolean},rules:{},lazyRules:{type:[Boolean,String]}},emits:["update:modelValue"],setup(e,{emit:n}){const l=e,o=n,i=t.ref(!1),a=t.ref(""),r=t.computed({get(){return l.modelValue},set(d){o("update:modelValue",d)}}),s=t.computed(()=>{var d;if(Array.isArray(r.value)){if(l.multiple&&r.value.length==0)return l.placeholder}else return((d=r.value)==null?void 0:d.label)||l.placeholder||"";return""}),h=t.computed(()=>!(!l.clearable||!l.modelValue||l.modelValue&&Array.isArray(l.modelValue)&&!l.modelValue.length)),g=t.computed(()=>a.value?l.options.filter(d=>d.label.toLowerCase().includes(a.value.toLowerCase())):l.options),c=t.computed(()=>{if(l.rules)return l.required?[...l.rules,bn]:l.rules;if(l.required)return[bn]}),b=()=>{r.value=void 0},v=(d,m)=>{m(()=>{a.value=d})};return(d,m)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["app-select",[{"app-select_opened":i.value},`app-select_${d.size}`]])},[d.label?(t.openBlock(),t.createElementBlock("label",{key:0,class:t.normalizeClass(["app-select__label",{"app-select__label_bold":d.required}])},t.toDisplayString(d.required?`${d.label} *`:d.label),3)):t.createCommentVNode("",!0),t.createVNode(t.unref(Yi),{standout:"","hide-bottom-space":"","hide-dropdown-icon":"","no-error-icon":"",behavior:"menu","popup-content-class":`app-select-menu app-select-menu_${d.size}`,placeholder:d.filtering&&"Почніть вводити","input-debounce":"50",modelValue:r.value,"onUpdate:modelValue":m[0]||(m[0]=x=>r.value=x),options:g.value,multiple:d.multiple,"use-input":d.filtering&&(Array.isArray(r.value)||!r.value),rules:c.value,"lazy-rules":d.lazyRules,autofocus:d.autofocus,disable:d.disabled,loading:d.loading,onFilter:v,onPopupShow:m[1]||(m[1]=x=>i.value=!0),onPopupHide:m[2]||(m[2]=x=>i.value=!1)},{append:t.withCtx(()=>[h.value?(t.openBlock(),t.createElementBlock("i",{key:0,class:"icon-kl icon-kl-close app-select__clear",onClick:t.withModifiers(b,["stop","prevent"])})):t.createCommentVNode("",!0),m[3]||(m[3]=t.createElementVNode("i",{class:"icon-kl icon-kl-arrow-down app-select__drop-icon"},null,-1))]),selected:t.withCtx(()=>{var x,p;return[Array.isArray(r.value)?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[!d.filtering||r.value.length?(t.openBlock(),t.createElementBlock("span",{key:0,class:t.normalizeClass(["app-select__selected",{"app-select__placeholder":!((x=r.value)!=null&&x.length)&&d.placeholder}])},[(p=r.value)!=null&&p.length?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[m[4]||(m[4]=t.createTextVNode(" Вибрано ")),t.createElementVNode("span",Xi,t.toDisplayString(r.value.length),1)],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString(l.placeholder),1)],64))],2)):t.createCommentVNode("",!0)],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[!d.filtering||r.value?(t.openBlock(),t.createElementBlock("span",{key:0,class:t.normalizeClass(["app-select__selected",{"app-select__placeholder":!r.value&&d.placeholder}])},t.toDisplayString(s.value),3)):t.createCommentVNode("",!0)],64))]}),option:t.withCtx(x=>[t.createVNode(rl,t.mergeProps({class:["app-select__option",{"app-select__option_selected":x.selected}]},x.itemProps),{default:t.withCtx(()=>[l.multiple?(t.openBlock(),t.createBlock(ct,{key:0,class:"option-multiple",avatar:""},{default:t.withCtx(()=>[t.createVNode(Po,{size:"30px","model-value":x.selected,"onUpdate:modelValue":()=>x.toggleOption(x.opt)},null,8,["model-value","onUpdate:modelValue"])]),_:2},1024)):t.createCommentVNode("",!0),x.opt.done?(t.openBlock(),t.createBlock(ct,{key:1,class:"option-done",avatar:""},{default:t.withCtx(()=>m[5]||(m[5]=[t.createElementVNode("i",{class:"icon-kl icon-kl-check option-done__icon"},null,-1)])),_:1})):t.createCommentVNode("",!0),t.createVNode(ct,null,{default:t.withCtx(()=>[t.createVNode(al,null,{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(x.opt.label),1)]),_:2},1024)]),_:2},1024)]),_:2},1040,["class"])]),_:1},8,["popup-content-class","placeholder","modelValue","options","multiple","use-input","rules","lazy-rules","autofocus","disable","loading"])],2))}}),El=jt(Gi,[["__scopeId","data-v-2646d558"]]);function Zi(e){const n=document.createElement("textarea");n.value=e,n.contentEditable="true",n.style.position="fixed";const l=()=>{};Ut(l),document.body.appendChild(n),n.focus(),n.select();const o=document.execCommand("copy");return n.remove(),ft(l),o}function Ji(e){return navigator.clipboard!==void 0?navigator.clipboard.writeText(e):new Promise((n,l)=>{const o=Zi(e);o?n(!0):l(o)})}const Mt={COPY:"copy_o",COPIED:"copied_o"},Vl=t.defineComponent({__name:"index",props:{text:{},size:{},transparent:{type:Boolean,default:!0},flat:{type:Boolean},rounded:{type:Boolean},color:{default:Nn.INFO},iconLeft:{},iconRight:{},iconMiddle:{},disabled:{type:Boolean},loading:{type:Boolean},to:{},href:{},target:{},submit:{type:Boolean},ariaLabel:{},label:{}},setup(e){const n=e,l=t.ref(Mt.COPY),o=()=>{l.value=Mt.COPIED,setTimeout(()=>{l.value=Mt.COPY},2e3)},i=()=>{Ji(n.text).then(o).catch(a=>{console.log(a)})};return(a,r)=>(t.openBlock(),t.createBlock(t.unref(Nt),t.mergeProps(n,{"icon-middle":l.value,onClick:t.withModifiers(i,["prevent"])}),null,16,["icon-middle"]))}}),eu={install(e){e.component("AppIcon",il),e.component("AppButton",Nt),e.component("AppButtonCopy",Vl),e.component("AppSelect",El)}};exports.AppButton=Nt;exports.AppButtonCopy=Vl;exports.AppIcon=il;exports.AppSelect=El;exports.uiKitPlugin=eu;