diff --git a/.idea/modules.xml b/.idea/modules.xml index 9db8a1d..4324b85 100644 --- a/.idea/modules.xml +++ b/.idea/modules.xml @@ -2,9 +2,9 @@ - - - + + + \ No newline at end of file diff --git a/.idea/modules/de.hhn.labsw.labswp_2019_sose_geocaching.iml b/.idea/modules/de.hhn.labsw.BuGaGeocaching.iml similarity index 61% rename from .idea/modules/de.hhn.labsw.labswp_2019_sose_geocaching.iml rename to .idea/modules/de.hhn.labsw.BuGaGeocaching.iml index f377552..bad424f 100644 --- a/.idea/modules/de.hhn.labsw.labswp_2019_sose_geocaching.iml +++ b/.idea/modules/de.hhn.labsw.BuGaGeocaching.iml @@ -1,5 +1,5 @@ - + diff --git a/.idea/modules/de.hhn.labsw.labswp_2019_sose_geocaching.main.iml b/.idea/modules/de.hhn.labsw.BuGaGeocaching.main.iml similarity index 94% rename from .idea/modules/de.hhn.labsw.labswp_2019_sose_geocaching.main.iml rename to .idea/modules/de.hhn.labsw.BuGaGeocaching.main.iml index 4c34fff..8125158 100644 --- a/.idea/modules/de.hhn.labsw.labswp_2019_sose_geocaching.main.iml +++ b/.idea/modules/de.hhn.labsw.BuGaGeocaching.main.iml @@ -1,5 +1,5 @@ - + @@ -7,9 +7,6 @@ - - - @@ -29,8 +26,8 @@ - + diff --git a/.idea/modules/de.hhn.labsw.labswp_2019_sose_geocaching.test.iml b/.idea/modules/de.hhn.labsw.BuGaGeocaching.test.iml similarity index 94% rename from .idea/modules/de.hhn.labsw.labswp_2019_sose_geocaching.test.iml rename to .idea/modules/de.hhn.labsw.BuGaGeocaching.test.iml index ce5f54b..e0b1017 100644 --- a/.idea/modules/de.hhn.labsw.labswp_2019_sose_geocaching.test.iml +++ b/.idea/modules/de.hhn.labsw.BuGaGeocaching.test.iml @@ -1,5 +1,5 @@ - + @@ -16,19 +16,20 @@ + - + - - + + @@ -100,5 +101,5 @@ - + \ No newline at end of file diff --git a/node_modules/quasar-framework/LICENSE b/node_modules/quasar-framework/LICENSE new file mode 100644 index 0000000..3bffb81 --- /dev/null +++ b/node_modules/quasar-framework/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2016 Razvan Stoenescu + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/node_modules/quasar-framework/README.md b/node_modules/quasar-framework/README.md new file mode 100644 index 0000000..e930d6a --- /dev/null +++ b/node_modules/quasar-framework/README.md @@ -0,0 +1,137 @@ +![Quasar Framework logo](https://cdn.rawgit.com/quasarframework/quasar-art/863c14bd/dist/svg/quasar-logo-full-inline.svg) + +# Quasar Framework + +> Build responsive Single Page Apps, **SSR Apps**, PWAs, Hybrid Mobile Apps and Electron Apps, all using the same codebase!, powered with Vue. + + +[![Join the chat at https://discord.gg/5TDhbDg](https://img.shields.io/badge/chat-on%20discord-7289da.svg)](https://discord.gg/5TDhbDg) + + +Please submit a PR to https://github.com/quasarframework/quasar-awesome with your website/app/Quasar tutorial/video etc. Thank you! + +## Supporting Quasar +Quasar Framework is an MIT-licensed open source project. Its ongoing development is made possible thanks to the support by these awesome [backers](https://github.com/rstoenescu/quasar-framework/blob/dev/backers.md). If you'd like to join them, check out [Quasar Framework's Patreon campaign](https://www.patreon.com/quasarframework). + +### Proudly sponsored by: + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + +
+ + + + + + + +
+ + + + + + + +
+ + + + + + + +
+ +### Partners + + + + + + + +
+ + + +
+ +## Documentation + +Head on to the Quasar Framework official website: [https://quasar-framework.org](https://quasar-framework.org) + +## Stay in Touch + +For latest releases and announcements, follow on Twitter: [@quasarframework](https://twitter.com/quasarframework) + +## Chat Support + +Ask questions at the official community Discord server: [http://chat.quasar-framework.org](http://chat.quasar-framework.org) + +## Community Forum + +Ask questions at the official community forum: [https://forum.quasar-framework.org](https://forum.quasar-framework.org) + +## Quasar Repositories + +* [Quasar Framework](https://github.com/quasarframework/quasar) +* [Quasar CLI](https://github.com/quasarframework/quasar-cli) +* [Quasar Play App](https://github.com/quasarframework/quasar-play) + +## Contributing + +I'm excited if you want to contribute to Quasar under any form (report bugs, write a plugin, fix an issue, write a new feature). + +### Issue Reporting Guidelines + +**Please use the appropriate Github repo to report issues. See "Related Components" above.** For example, a bug related to CLI should be reported to the CLI repo, one related to build issues to Quasar Framework Templates repo and so on. + +- The issue list of the repository is **exclusively** for bug reports and feature requests. For anything else please use the [Community Forum](https://forum.quasar-framework.org). + +- Try to search for your issue, it may have already been fixed in the development branch or it may have a resolution. + +- Check if the issue is reproducible with the latest stable version of Quasar. If you are using a pre-release, please indicate the specific version you are using. + +- It is **required** that you clearly describe the steps necessary to reproduce the issue you are running into. Issues with no clear repro steps will not be triaged. If an issue labeled "need repro" receives no further input from the issue author for more than 5 days, it will be closed. + +- If your issue is resolved but still open, don’t hesitate to close it. In case you found a solution by yourself, it could be helpful to explain how you fixed it. + +Read more [here](https://quasar-framework.org/guide/quasar-contribution-guide.html). + +## Semver +Until Quasar reaches a 1.0 release (soon), breaking changes will be released with a new minor version. For example 0.8.1, and 0.8.4 will have the same API, but 0.9.0 will have breaking changes. + +## License + +Copyright (c) 2016-present Razvan Stoenescu + +[MIT License](http://en.wikipedia.org/wiki/MIT_License) diff --git a/node_modules/quasar-framework/dist/babel-transforms/imports.ios.js b/node_modules/quasar-framework/dist/babel-transforms/imports.ios.js new file mode 100644 index 0000000..2ebfefc --- /dev/null +++ b/node_modules/quasar-framework/dist/babel-transforms/imports.ios.js @@ -0,0 +1,170 @@ +const map = { + "Quasar": "src/vue-plugin.js", + "QActionSheet": "src/components/action-sheet/QActionSheet.js", + "QAjaxBar": "src/components/ajax-bar/QAjaxBar.js", + "QAlert": "src/components/alert/QAlert.js", + "QAutocomplete": "src/components/autocomplete/QAutocomplete.js", + "QBreadcrumbs": "src/components/breadcrumbs/QBreadcrumbs.js", + "QBreadcrumbsEl": "src/components/breadcrumbs/QBreadcrumbsEl.js", + "QBtn": "src/components/btn/QBtn.js", + "QBtnDropdown": "src/components/btn/QBtnDropdown.js", + "QBtnGroup": "src/components/btn/QBtnGroup.js", + "QBtnToggle": "src/components/btn/QBtnToggle.js", + "QCard": "src/components/card/QCard.js", + "QCardActions": "src/components/card/QCardActions.js", + "QCardMain": "src/components/card/QCardMain.js", + "QCardMedia": "src/components/card/QCardMedia.js", + "QCardSeparator": "src/components/card/QCardSeparator.js", + "QCardTitle": "src/components/card/QCardTitle.js", + "QCarousel": "src/components/carousel/QCarousel.js", + "QCarouselControl": "src/components/carousel/QCarouselControl.js", + "QCarouselSlide": "src/components/carousel/QCarouselSlide.js", + "QChatMessage": "src/components/chat/QChatMessage.js", + "QCheckbox": "src/components/checkbox/QCheckbox.js", + "QChip": "src/components/chip/QChip.js", + "QChipsInput": "src/components/chips-input/QChipsInput.js", + "QCollapsible": "src/components/collapsible/QCollapsible.js", + "QColor": "src/components/color/QColor.js", + "QColorPicker": "src/components/color/QColorPicker.js", + "QContextMenu": "src/components/context-menu/QContextMenu.js", + "QDatetime": "src/components/datetime/QDatetime.js", + "QDatetimePicker": "src/components/datetime/QDatetimePicker.ios.js", + "QDialog": "src/components/dialog/QDialog.js", + "QEditor": "src/components/editor/QEditor.js", + "QFab": "src/components/fab/QFab.js", + "QFabAction": "src/components/fab/QFabAction.js", + "QField": "src/components/field/QField.js", + "QIcon": "src/components/icon/QIcon.js", + "QInfiniteScroll": "src/components/infinite-scroll/QInfiniteScroll.js", + "QInnerLoading": "src/components/inner-loading/QInnerLoading.js", + "QInputFrame": "src/components/input-frame/QInputFrame.js", + "QInput": "src/components/input/QInput.js", + "QJumbotron": "src/components/jumbotron/QJumbotron.js", + "QKnob": "src/components/knob/QKnob.js", + "QLayout": "src/components/layout/QLayout.js", + "QLayoutDrawer": "src/components/layout/QLayoutDrawer.js", + "QLayoutFooter": "src/components/layout/QLayoutFooter.js", + "QLayoutHeader": "src/components/layout/QLayoutHeader.js", + "QPage": "src/components/layout/QPage.js", + "QPageContainer": "src/components/layout/QPageContainer.js", + "QPageSticky": "src/components/layout/QPageSticky.js", + "QItem": "src/components/list/QItem.js", + "QItemMain": "src/components/list/QItemMain.js", + "QItemSeparator": "src/components/list/QItemSeparator.js", + "QItemSide": "src/components/list/QItemSide.js", + "QItemTile": "src/components/list/QItemTile.js", + "QItemWrapper": "src/components/list/QItemWrapper.js", + "QList": "src/components/list/QList.js", + "QListHeader": "src/components/list/QListHeader.js", + "QModal": "src/components/modal/QModal.js", + "QModalLayout": "src/components/modal/QModalLayout.js", + "QNoSsr": "src/components/no-ssr/QNoSsr.js", + "QResizeObservable": "src/components/observables/QResizeObservable.js", + "QScrollObservable": "src/components/observables/QScrollObservable.js", + "QWindowResizeObservable": "src/components/observables/QWindowResizeObservable.js", + "QOptionGroup": "src/components/option-group/QOptionGroup.js", + "QPagination": "src/components/pagination/QPagination.js", + "QParallax": "src/components/parallax/QParallax.js", + "QPopover": "src/components/popover/QPopover.js", + "QPopupEdit": "src/components/popup-edit/QPopupEdit.js", + "QProgress": "src/components/progress/QProgress.js", + "QPullToRefresh": "src/components/pull-to-refresh/QPullToRefresh.js", + "QRadio": "src/components/radio/QRadio.js", + "QRange": "src/components/range/QRange.js", + "QRating": "src/components/rating/QRating.js", + "QScrollArea": "src/components/scroll-area/QScrollArea.js", + "QSearch": "src/components/search/QSearch.js", + "QSelect": "src/components/select/QSelect.js", + "QSlideTransition": "src/components/slide-transition/QSlideTransition.js", + "QSlider": "src/components/slider/QSlider.js", + "QSpinner": "src/components/spinner/QSpinner.js", + "QSpinnerAudio": "src/components/spinner/QSpinnerAudio.js", + "QSpinnerBall": "src/components/spinner/QSpinnerBall.js", + "QSpinnerBars": "src/components/spinner/QSpinnerBars.js", + "QSpinnerCircles": "src/components/spinner/QSpinnerCircles.js", + "QSpinnerComment": "src/components/spinner/QSpinnerComment.js", + "QSpinnerCube": "src/components/spinner/QSpinnerCube.js", + "QSpinnerDots": "src/components/spinner/QSpinnerDots.js", + "QSpinnerFacebook": "src/components/spinner/QSpinnerFacebook.js", + "QSpinnerGears": "src/components/spinner/QSpinnerGears.js", + "QSpinnerGrid": "src/components/spinner/QSpinnerGrid.js", + "QSpinnerHearts": "src/components/spinner/QSpinnerHearts.js", + "QSpinnerHourglass": "src/components/spinner/QSpinnerHourglass.js", + "QSpinnerInfinity": "src/components/spinner/QSpinnerInfinity.js", + "QSpinnerOval": "src/components/spinner/QSpinnerOval.js", + "QSpinnerPie": "src/components/spinner/QSpinnerPie.js", + "QSpinnerPuff": "src/components/spinner/QSpinnerPuff.js", + "QSpinnerRadio": "src/components/spinner/QSpinnerRadio.js", + "QSpinnerRings": "src/components/spinner/QSpinnerRings.js", + "QSpinnerTail": "src/components/spinner/QSpinnerTail.js", + "QStep": "src/components/stepper/QStep.js", + "QStepper": "src/components/stepper/QStepper.js", + "QStepperNavigation": "src/components/stepper/QStepperNavigation.js", + "QRouteTab": "src/components/tab/QRouteTab.js", + "QTab": "src/components/tab/QTab.js", + "QTabPane": "src/components/tab/QTabPane.js", + "QTabs": "src/components/tab/QTabs.js", + "QTable": "src/components/table/QTable.js", + "QTableColumns": "src/components/table/QTableColumns.js", + "QTd": "src/components/table/QTd.js", + "QTh": "src/components/table/QTh.js", + "QTr": "src/components/table/QTr.js", + "QTimeline": "src/components/timeline/QTimeline.js", + "QTimelineEntry": "src/components/timeline/QTimelineEntry.js", + "QToggle": "src/components/toggle/QToggle.js", + "QToolbar": "src/components/toolbar/QToolbar.js", + "QToolbarTitle": "src/components/toolbar/QToolbarTitle.js", + "QTooltip": "src/components/tooltip/QTooltip.js", + "QTree": "src/components/tree/QTree.js", + "QUploader": "src/components/uploader/QUploader.js", + "QVideo": "src/components/video/QVideo.js", + "QSpinnerMat": "src/components/spinner/QSpinner.mat.js", + "QSpinnerIos": "src/components/spinner/QSpinner.ios.js", + "BackToTop": "src/directives/back-to-top.js", + "CloseOverlay": "src/directives/close-overlay.js", + "GoBack": "src/directives/go-back.js", + "Ripple": "src/directives/ripple.js", + "ScrollFire": "src/directives/scroll-fire.js", + "Scroll": "src/directives/scroll.js", + "TouchHold": "src/directives/touch-hold.js", + "TouchPan": "src/directives/touch-pan.js", + "TouchSwipe": "src/directives/touch-swipe.js", + "ActionSheet": "src/plugins/action-sheet.js", + "AddressbarColor": "src/plugins/addressbar-color.js", + "AppFullscreen": "src/plugins/app-fullscreen.js", + "AppVisibility": "src/plugins/app-visibility.js", + "Cookies": "src/plugins/cookies.js", + "Dialog": "src/plugins/dialog.js", + "LoadingBar": "src/plugins/loading-bar.js", + "Loading": "src/plugins/loading.js", + "LocalStorage": "src/plugins/local-storage.js", + "Meta": "src/plugins/meta.js", + "Notify": "src/plugins/notify.js", + "Platform": "src/plugins/platform.js", + "Screen": "src/plugins/screen.js", + "SessionStorage": "src/plugins/session-storage.js", + "animate": "src/utils/animate.js", + "clone": "src/utils/clone.js", + "colors": "src/utils/colors.js", + "date": "src/utils/date.js", + "debounce": "src/utils/debounce.js", + "dom": "src/utils/dom.js", + "easing": "src/utils/easing.js", + "event": "src/utils/event.js", + "extend": "src/utils/extend.js", + "filter": "src/utils/filter.js", + "format": "src/utils/format.js", + "frameDebounce": "src/utils/frame-debounce.js", + "openURL": "src/utils/open-url.js", + "preventScroll": "src/utils/prevent-scroll.js", + "scroll": "src/utils/scroll.js", + "throttle": "src/utils/throttle.js", + "uid": "src/utils/uid.js" +} + +module.exports = function (importName) { + if (typeof map[importName] === 'undefined') { + throw new Error('Unknown import from Quasar: ' + importName) + } + return 'quasar-framework/' + map[importName] +} diff --git a/node_modules/quasar-framework/dist/babel-transforms/imports.mat.js b/node_modules/quasar-framework/dist/babel-transforms/imports.mat.js new file mode 100644 index 0000000..37c5969 --- /dev/null +++ b/node_modules/quasar-framework/dist/babel-transforms/imports.mat.js @@ -0,0 +1,170 @@ +const map = { + "Quasar": "src/vue-plugin.js", + "QActionSheet": "src/components/action-sheet/QActionSheet.js", + "QAjaxBar": "src/components/ajax-bar/QAjaxBar.js", + "QAlert": "src/components/alert/QAlert.js", + "QAutocomplete": "src/components/autocomplete/QAutocomplete.js", + "QBreadcrumbs": "src/components/breadcrumbs/QBreadcrumbs.js", + "QBreadcrumbsEl": "src/components/breadcrumbs/QBreadcrumbsEl.js", + "QBtn": "src/components/btn/QBtn.js", + "QBtnDropdown": "src/components/btn/QBtnDropdown.js", + "QBtnGroup": "src/components/btn/QBtnGroup.js", + "QBtnToggle": "src/components/btn/QBtnToggle.js", + "QCard": "src/components/card/QCard.js", + "QCardActions": "src/components/card/QCardActions.js", + "QCardMain": "src/components/card/QCardMain.js", + "QCardMedia": "src/components/card/QCardMedia.js", + "QCardSeparator": "src/components/card/QCardSeparator.js", + "QCardTitle": "src/components/card/QCardTitle.js", + "QCarousel": "src/components/carousel/QCarousel.js", + "QCarouselControl": "src/components/carousel/QCarouselControl.js", + "QCarouselSlide": "src/components/carousel/QCarouselSlide.js", + "QChatMessage": "src/components/chat/QChatMessage.js", + "QCheckbox": "src/components/checkbox/QCheckbox.js", + "QChip": "src/components/chip/QChip.js", + "QChipsInput": "src/components/chips-input/QChipsInput.js", + "QCollapsible": "src/components/collapsible/QCollapsible.js", + "QColor": "src/components/color/QColor.js", + "QColorPicker": "src/components/color/QColorPicker.js", + "QContextMenu": "src/components/context-menu/QContextMenu.js", + "QDatetime": "src/components/datetime/QDatetime.js", + "QDatetimePicker": "src/components/datetime/QDatetimePicker.mat.js", + "QDialog": "src/components/dialog/QDialog.js", + "QEditor": "src/components/editor/QEditor.js", + "QFab": "src/components/fab/QFab.js", + "QFabAction": "src/components/fab/QFabAction.js", + "QField": "src/components/field/QField.js", + "QIcon": "src/components/icon/QIcon.js", + "QInfiniteScroll": "src/components/infinite-scroll/QInfiniteScroll.js", + "QInnerLoading": "src/components/inner-loading/QInnerLoading.js", + "QInputFrame": "src/components/input-frame/QInputFrame.js", + "QInput": "src/components/input/QInput.js", + "QJumbotron": "src/components/jumbotron/QJumbotron.js", + "QKnob": "src/components/knob/QKnob.js", + "QLayout": "src/components/layout/QLayout.js", + "QLayoutDrawer": "src/components/layout/QLayoutDrawer.js", + "QLayoutFooter": "src/components/layout/QLayoutFooter.js", + "QLayoutHeader": "src/components/layout/QLayoutHeader.js", + "QPage": "src/components/layout/QPage.js", + "QPageContainer": "src/components/layout/QPageContainer.js", + "QPageSticky": "src/components/layout/QPageSticky.js", + "QItem": "src/components/list/QItem.js", + "QItemMain": "src/components/list/QItemMain.js", + "QItemSeparator": "src/components/list/QItemSeparator.js", + "QItemSide": "src/components/list/QItemSide.js", + "QItemTile": "src/components/list/QItemTile.js", + "QItemWrapper": "src/components/list/QItemWrapper.js", + "QList": "src/components/list/QList.js", + "QListHeader": "src/components/list/QListHeader.js", + "QModal": "src/components/modal/QModal.js", + "QModalLayout": "src/components/modal/QModalLayout.js", + "QNoSsr": "src/components/no-ssr/QNoSsr.js", + "QResizeObservable": "src/components/observables/QResizeObservable.js", + "QScrollObservable": "src/components/observables/QScrollObservable.js", + "QWindowResizeObservable": "src/components/observables/QWindowResizeObservable.js", + "QOptionGroup": "src/components/option-group/QOptionGroup.js", + "QPagination": "src/components/pagination/QPagination.js", + "QParallax": "src/components/parallax/QParallax.js", + "QPopover": "src/components/popover/QPopover.js", + "QPopupEdit": "src/components/popup-edit/QPopupEdit.js", + "QProgress": "src/components/progress/QProgress.js", + "QPullToRefresh": "src/components/pull-to-refresh/QPullToRefresh.js", + "QRadio": "src/components/radio/QRadio.js", + "QRange": "src/components/range/QRange.js", + "QRating": "src/components/rating/QRating.js", + "QScrollArea": "src/components/scroll-area/QScrollArea.js", + "QSearch": "src/components/search/QSearch.js", + "QSelect": "src/components/select/QSelect.js", + "QSlideTransition": "src/components/slide-transition/QSlideTransition.js", + "QSlider": "src/components/slider/QSlider.js", + "QSpinner": "src/components/spinner/QSpinner.js", + "QSpinnerAudio": "src/components/spinner/QSpinnerAudio.js", + "QSpinnerBall": "src/components/spinner/QSpinnerBall.js", + "QSpinnerBars": "src/components/spinner/QSpinnerBars.js", + "QSpinnerCircles": "src/components/spinner/QSpinnerCircles.js", + "QSpinnerComment": "src/components/spinner/QSpinnerComment.js", + "QSpinnerCube": "src/components/spinner/QSpinnerCube.js", + "QSpinnerDots": "src/components/spinner/QSpinnerDots.js", + "QSpinnerFacebook": "src/components/spinner/QSpinnerFacebook.js", + "QSpinnerGears": "src/components/spinner/QSpinnerGears.js", + "QSpinnerGrid": "src/components/spinner/QSpinnerGrid.js", + "QSpinnerHearts": "src/components/spinner/QSpinnerHearts.js", + "QSpinnerHourglass": "src/components/spinner/QSpinnerHourglass.js", + "QSpinnerInfinity": "src/components/spinner/QSpinnerInfinity.js", + "QSpinnerOval": "src/components/spinner/QSpinnerOval.js", + "QSpinnerPie": "src/components/spinner/QSpinnerPie.js", + "QSpinnerPuff": "src/components/spinner/QSpinnerPuff.js", + "QSpinnerRadio": "src/components/spinner/QSpinnerRadio.js", + "QSpinnerRings": "src/components/spinner/QSpinnerRings.js", + "QSpinnerTail": "src/components/spinner/QSpinnerTail.js", + "QStep": "src/components/stepper/QStep.js", + "QStepper": "src/components/stepper/QStepper.js", + "QStepperNavigation": "src/components/stepper/QStepperNavigation.js", + "QRouteTab": "src/components/tab/QRouteTab.js", + "QTab": "src/components/tab/QTab.js", + "QTabPane": "src/components/tab/QTabPane.js", + "QTabs": "src/components/tab/QTabs.js", + "QTable": "src/components/table/QTable.js", + "QTableColumns": "src/components/table/QTableColumns.js", + "QTd": "src/components/table/QTd.js", + "QTh": "src/components/table/QTh.js", + "QTr": "src/components/table/QTr.js", + "QTimeline": "src/components/timeline/QTimeline.js", + "QTimelineEntry": "src/components/timeline/QTimelineEntry.js", + "QToggle": "src/components/toggle/QToggle.js", + "QToolbar": "src/components/toolbar/QToolbar.js", + "QToolbarTitle": "src/components/toolbar/QToolbarTitle.js", + "QTooltip": "src/components/tooltip/QTooltip.js", + "QTree": "src/components/tree/QTree.js", + "QUploader": "src/components/uploader/QUploader.js", + "QVideo": "src/components/video/QVideo.js", + "QSpinnerMat": "src/components/spinner/QSpinner.mat.js", + "QSpinnerIos": "src/components/spinner/QSpinner.ios.js", + "BackToTop": "src/directives/back-to-top.js", + "CloseOverlay": "src/directives/close-overlay.js", + "GoBack": "src/directives/go-back.js", + "Ripple": "src/directives/ripple.js", + "ScrollFire": "src/directives/scroll-fire.js", + "Scroll": "src/directives/scroll.js", + "TouchHold": "src/directives/touch-hold.js", + "TouchPan": "src/directives/touch-pan.js", + "TouchSwipe": "src/directives/touch-swipe.js", + "ActionSheet": "src/plugins/action-sheet.js", + "AddressbarColor": "src/plugins/addressbar-color.js", + "AppFullscreen": "src/plugins/app-fullscreen.js", + "AppVisibility": "src/plugins/app-visibility.js", + "Cookies": "src/plugins/cookies.js", + "Dialog": "src/plugins/dialog.js", + "LoadingBar": "src/plugins/loading-bar.js", + "Loading": "src/plugins/loading.js", + "LocalStorage": "src/plugins/local-storage.js", + "Meta": "src/plugins/meta.js", + "Notify": "src/plugins/notify.js", + "Platform": "src/plugins/platform.js", + "Screen": "src/plugins/screen.js", + "SessionStorage": "src/plugins/session-storage.js", + "animate": "src/utils/animate.js", + "clone": "src/utils/clone.js", + "colors": "src/utils/colors.js", + "date": "src/utils/date.js", + "debounce": "src/utils/debounce.js", + "dom": "src/utils/dom.js", + "easing": "src/utils/easing.js", + "event": "src/utils/event.js", + "extend": "src/utils/extend.js", + "filter": "src/utils/filter.js", + "format": "src/utils/format.js", + "frameDebounce": "src/utils/frame-debounce.js", + "openURL": "src/utils/open-url.js", + "preventScroll": "src/utils/prevent-scroll.js", + "scroll": "src/utils/scroll.js", + "throttle": "src/utils/throttle.js", + "uid": "src/utils/uid.js" +} + +module.exports = function (importName) { + if (typeof map[importName] === 'undefined') { + throw new Error('Unknown import from Quasar: ' + importName) + } + return 'quasar-framework/' + map[importName] +} diff --git a/node_modules/quasar-framework/dist/helper-json/quasar-attributes.json b/node_modules/quasar-framework/dist/helper-json/quasar-attributes.json new file mode 100644 index 0000000..c1d03ef --- /dev/null +++ b/node_modules/quasar-framework/dist/helper-json/quasar-attributes.json @@ -0,0 +1,3806 @@ +{ + "q-action-sheet/title": { + "type": "string", + "description": "String value." + }, + "q-action-sheet/grid": { + "type": "boolean", + "description": "Boolean value." + }, + "q-action-sheet/actions": { + "type": "array", + "description": "Array value." + }, + "q-action-sheet/dismiss-label": { + "type": "string", + "description": "String value." + }, + "q-ajax-bar/position": { + "type": "string", + "description": "String value." + }, + "q-ajax-bar/size": { + "type": "string", + "description": "String value." + }, + "q-ajax-bar/color": { + "type": "string", + "description": "String value." + }, + "q-ajax-bar/skip-hijack": { + "type": "boolean", + "description": "Boolean value." + }, + "q-ajax-bar/reverse": { + "type": "boolean", + "description": "Boolean value." + }, + "q-alert/type": { + "type": "string", + "description": "String value." + }, + "q-alert/color": { + "type": "string", + "description": "String value." + }, + "q-alert/text-color": { + "type": "string", + "description": "String value." + }, + "q-alert/message": { + "type": "string", + "description": "String value." + }, + "q-alert/detail": { + "type": "string", + "description": "String value." + }, + "q-alert/icon": { + "type": "string", + "description": "String value." + }, + "q-alert/avatar": { + "type": "string", + "description": "String value." + }, + "q-alert/actions": { + "type": "array", + "description": "Array value." + }, + "q-autocomplete/min-characters": { + "type": "number", + "description": "Number value." + }, + "q-autocomplete/max-results": { + "type": "number", + "description": "Number value." + }, + "q-autocomplete/max-height": { + "type": "string", + "description": "String value." + }, + "q-autocomplete/debounce": { + "type": "number", + "description": "Number value." + }, + "q-autocomplete/filter": { + "type": "function", + "description": "Function value." + }, + "q-autocomplete/static-data": { + "type": "object", + "description": "Object value." + }, + "q-autocomplete/value-field": { + "type": "string|function", + "description": "One of string or function." + }, + "q-autocomplete/separator": { + "type": "boolean", + "description": "Boolean value." + }, + "q-breadcrumbs/align": { + "type": "string", + "description": "String value." + }, + "q-breadcrumbs/color": { + "type": "string", + "description": "String value." + }, + "q-breadcrumbs/active-color": { + "type": "string", + "description": "String value." + }, + "q-breadcrumbs/separator": { + "type": "string", + "description": "String value." + }, + "q-breadcrumbs-el/to": { + "type": "string|object", + "description": "One of string or object." + }, + "q-breadcrumbs-el/exact": { + "type": "boolean", + "description": "Boolean value." + }, + "q-breadcrumbs-el/append": { + "type": "boolean", + "description": "Boolean value." + }, + "q-breadcrumbs-el/replace": { + "type": "boolean", + "description": "Boolean value." + }, + "q-breadcrumbs-el/event": { + "type": "string|array", + "description": "One of string or array." + }, + "q-breadcrumbs-el/active-class": { + "type": "string", + "description": "String value." + }, + "q-breadcrumbs-el/exact-active-class": { + "type": "string", + "description": "String value." + }, + "q-breadcrumbs-el/label": { + "type": "string", + "description": "String value." + }, + "q-breadcrumbs-el/icon": { + "type": "string", + "description": "String value." + }, + "q-breadcrumbs-el/color": { + "type": "string", + "description": "String value." + }, + "q-btn/align": { + "type": "string", + "description": "String value." + }, + "q-btn/type": { + "type": "string", + "description": "String value." + }, + "q-btn/loading": { + "type": "boolean", + "description": "Boolean value." + }, + "q-btn/disable": { + "type": "boolean", + "description": "Boolean value." + }, + "q-btn/label": { + "type": "number|string", + "description": "One of number or string." + }, + "q-btn/no-caps": { + "type": "boolean", + "description": "Boolean value." + }, + "q-btn/no-wrap": { + "type": "boolean", + "description": "Boolean value." + }, + "q-btn/icon": { + "type": "string", + "description": "String value." + }, + "q-btn/icon-right": { + "type": "string", + "description": "String value." + }, + "q-btn/round": { + "type": "boolean", + "description": "Boolean value." + }, + "q-btn/outline": { + "type": "boolean", + "description": "Boolean value." + }, + "q-btn/flat": { + "type": "boolean", + "description": "Boolean value." + }, + "q-btn/rounded": { + "type": "boolean", + "description": "Boolean value." + }, + "q-btn/push": { + "type": "boolean", + "description": "Boolean value." + }, + "q-btn/size": { + "type": "string", + "description": "String value." + }, + "q-btn/fab": { + "type": "boolean", + "description": "Boolean value." + }, + "q-btn/fab-mini": { + "type": "boolean", + "description": "Boolean value." + }, + "q-btn/color": { + "type": "string", + "description": "String value." + }, + "q-btn/text-color": { + "type": "string", + "description": "String value." + }, + "q-btn/glossy": { + "type": "boolean", + "description": "Boolean value." + }, + "q-btn/dense": { + "type": "boolean", + "description": "Boolean value." + }, + "q-btn/no-ripple": { + "type": "boolean", + "description": "Boolean value." + }, + "q-btn/tabindex": { + "type": "number", + "description": "Number value." + }, + "q-btn/to": { + "type": "object|string", + "description": "One of object or string." + }, + "q-btn/replace": { + "type": "boolean", + "description": "Boolean value." + }, + "q-btn/percentage": { + "type": "number", + "description": "Number value." + }, + "q-btn/dark-percentage": { + "type": "boolean", + "description": "Boolean value." + }, + "q-btn/wait-for-ripple": { + "type": "boolean", + "description": "Boolean value." + }, + "q-btn/repeat-timeout": { + "type": "number|function", + "description": "One of number or function." + }, + "q-btn-group/outline": { + "type": "boolean", + "description": "Boolean value." + }, + "q-btn-group/flat": { + "type": "boolean", + "description": "Boolean value." + }, + "q-btn-group/rounded": { + "type": "boolean", + "description": "Boolean value." + }, + "q-btn-group/push": { + "type": "boolean", + "description": "Boolean value." + }, + "q-btn-dropdown/align": { + "type": "string", + "description": "String value." + }, + "q-btn-dropdown/type": { + "type": "string", + "description": "String value." + }, + "q-btn-dropdown/loading": { + "type": "boolean", + "description": "Boolean value." + }, + "q-btn-dropdown/disable": { + "type": "boolean", + "description": "Boolean value." + }, + "q-btn-dropdown/label": { + "type": "number|string", + "description": "One of number or string." + }, + "q-btn-dropdown/no-caps": { + "type": "boolean", + "description": "Boolean value." + }, + "q-btn-dropdown/no-wrap": { + "type": "boolean", + "description": "Boolean value." + }, + "q-btn-dropdown/icon": { + "type": "string", + "description": "String value." + }, + "q-btn-dropdown/icon-right": { + "type": "string", + "description": "String value." + }, + "q-btn-dropdown/round": { + "type": "boolean", + "description": "Boolean value." + }, + "q-btn-dropdown/outline": { + "type": "boolean", + "description": "Boolean value." + }, + "q-btn-dropdown/flat": { + "type": "boolean", + "description": "Boolean value." + }, + "q-btn-dropdown/rounded": { + "type": "boolean", + "description": "Boolean value." + }, + "q-btn-dropdown/push": { + "type": "boolean", + "description": "Boolean value." + }, + "q-btn-dropdown/size": { + "type": "string", + "description": "String value." + }, + "q-btn-dropdown/fab": { + "type": "boolean", + "description": "Boolean value." + }, + "q-btn-dropdown/fab-mini": { + "type": "boolean", + "description": "Boolean value." + }, + "q-btn-dropdown/color": { + "type": "string", + "description": "String value." + }, + "q-btn-dropdown/text-color": { + "type": "string", + "description": "String value." + }, + "q-btn-dropdown/glossy": { + "type": "boolean", + "description": "Boolean value." + }, + "q-btn-dropdown/dense": { + "type": "boolean", + "description": "Boolean value." + }, + "q-btn-dropdown/no-ripple": { + "type": "boolean", + "description": "Boolean value." + }, + "q-btn-dropdown/tabindex": { + "type": "number", + "description": "Number value." + }, + "q-btn-dropdown/to": { + "type": "object|string", + "description": "One of object or string." + }, + "q-btn-dropdown/replace": { + "type": "boolean", + "description": "Boolean value." + }, + "q-btn-dropdown/split": { + "type": "boolean", + "description": "Boolean value." + }, + "q-btn-dropdown/content-class": { + "type": "array|string|object", + "description": "One of array, string, or object." + }, + "q-btn-dropdown/content-style": { + "type": "array|string|object", + "description": "One of array, string, or object." + }, + "q-btn-dropdown/popover-anchor": { + "type": "string", + "description": "String value." + }, + "q-btn-dropdown/popover-self": { + "type": "string", + "description": "String value." + }, + "q-btn-toggle/color": { + "type": "string", + "description": "String value." + }, + "q-btn-toggle/text-color": { + "type": "string", + "description": "String value." + }, + "q-btn-toggle/toggle-color": { + "type": "string", + "description": "String value." + }, + "q-btn-toggle/toggle-text-color": { + "type": "string", + "description": "String value." + }, + "q-btn-toggle/options": { + "type": "array", + "description": "Array value." + }, + "q-btn-toggle/readonly": { + "type": "boolean", + "description": "Boolean value." + }, + "q-btn-toggle/disable": { + "type": "boolean", + "description": "Boolean value." + }, + "q-btn-toggle/no-caps": { + "type": "boolean", + "description": "Boolean value." + }, + "q-btn-toggle/no-wrap": { + "type": "boolean", + "description": "Boolean value." + }, + "q-btn-toggle/outline": { + "type": "boolean", + "description": "Boolean value." + }, + "q-btn-toggle/flat": { + "type": "boolean", + "description": "Boolean value." + }, + "q-btn-toggle/dense": { + "type": "boolean", + "description": "Boolean value." + }, + "q-btn-toggle/rounded": { + "type": "boolean", + "description": "Boolean value." + }, + "q-btn-toggle/push": { + "type": "boolean", + "description": "Boolean value." + }, + "q-btn-toggle/size": { + "type": "string", + "description": "String value." + }, + "q-btn-toggle/glossy": { + "type": "boolean", + "description": "Boolean value." + }, + "q-btn-toggle/no-ripple": { + "type": "boolean", + "description": "Boolean value." + }, + "q-btn-toggle/wait-for-ripple": { + "type": "boolean", + "description": "Boolean value." + }, + "q-card/dark": { + "type": "boolean", + "description": "Boolean value." + }, + "q-card/square": { + "type": "boolean", + "description": "Boolean value." + }, + "q-card/flat": { + "type": "boolean", + "description": "Boolean value." + }, + "q-card/inline": { + "type": "boolean", + "description": "Boolean value." + }, + "q-card/color": { + "type": "string", + "description": "String value." + }, + "q-card/text-color": { + "type": "string", + "description": "String value." + }, + "q-card-actions/vertical": { + "type": "boolean", + "description": "Boolean value." + }, + "q-card-actions/align": { + "type": "string", + "description": "String value." + }, + "q-card-media/overlay-position": { + "type": "string", + "description": "String value." + }, + "q-card-separator/inset": { + "type": "boolean", + "description": "Boolean value." + }, + "q-carousel/color": { + "type": "string", + "description": "String value." + }, + "q-carousel/height": { + "type": "string", + "description": "String value." + }, + "q-carousel/arrows": { + "type": "boolean", + "description": "Boolean value." + }, + "q-carousel/infinite": { + "type": "boolean", + "description": "Boolean value." + }, + "q-carousel/animation": { + "type": "number|boolean", + "description": "One of number or boolean." + }, + "q-carousel/easing": { + "type": "function", + "description": "Function value." + }, + "q-carousel/swipe-easing": { + "type": "function", + "description": "Function value." + }, + "q-carousel/no-swipe": { + "type": "boolean", + "description": "Boolean value." + }, + "q-carousel/autoplay": { + "type": "number|boolean", + "description": "One of number or boolean." + }, + "q-carousel/handle-arrow-keys": { + "type": "boolean", + "description": "Boolean value." + }, + "q-carousel/quick-nav": { + "type": "boolean", + "description": "Boolean value." + }, + "q-carousel/quick-nav-position": { + "type": "string", + "description": "String value." + }, + "q-carousel/quick-nav-icon": { + "type": "string", + "description": "String value." + }, + "q-carousel/thumbnails": { + "type": "array", + "description": "Array value." + }, + "q-carousel/thumbnails-icon": { + "type": "string", + "description": "String value." + }, + "q-carousel/thumbnails-horizontal": { + "type": "boolean", + "description": "Boolean value." + }, + "q-carousel-slide/img-src": { + "type": "string", + "description": "String value." + }, + "q-carousel-control/position": { + "type": "string", + "description": "String value." + }, + "q-carousel-control/offset": { + "type": "array", + "description": "Array value." + }, + "q-chat-message/sent": { + "type": "boolean", + "description": "Boolean value." + }, + "q-chat-message/label": { + "type": "string", + "description": "String value." + }, + "q-chat-message/bg-color": { + "type": "string", + "description": "String value." + }, + "q-chat-message/text-color": { + "type": "string", + "description": "String value." + }, + "q-chat-message/name": { + "type": "string", + "description": "String value." + }, + "q-chat-message/avatar": { + "type": "string", + "description": "String value." + }, + "q-chat-message/text": { + "type": "array", + "description": "Array value." + }, + "q-chat-message/stamp": { + "type": "string", + "description": "String value." + }, + "q-chat-message/size": { + "type": "string", + "description": "String value." + }, + "q-checkbox/label": { + "type": "string", + "description": "String value." + }, + "q-checkbox/left-label": { + "type": "boolean", + "description": "Boolean value." + }, + "q-checkbox/color": { + "type": "string", + "description": "String value." + }, + "q-checkbox/keep-color": { + "type": "boolean", + "description": "Boolean value." + }, + "q-checkbox/dark": { + "type": "boolean", + "description": "Boolean value." + }, + "q-checkbox/disable": { + "type": "boolean", + "description": "Boolean value." + }, + "q-checkbox/readonly": { + "type": "boolean", + "description": "Boolean value." + }, + "q-checkbox/no-focus": { + "type": "boolean", + "description": "Boolean value." + }, + "q-checkbox/checked-icon": { + "type": "string", + "description": "String value." + }, + "q-checkbox/unchecked-icon": { + "type": "string", + "description": "String value." + }, + "q-checkbox/toggle-indeterminate": { + "type": "boolean", + "description": "Boolean value." + }, + "q-checkbox/indeterminate-icon": { + "type": "string", + "description": "String value." + }, + "q-chip/small": { + "type": "boolean", + "description": "Boolean value." + }, + "q-chip/dense": { + "type": "boolean", + "description": "Boolean value." + }, + "q-chip/tag": { + "type": "boolean", + "description": "Boolean value." + }, + "q-chip/square": { + "type": "boolean", + "description": "Boolean value." + }, + "q-chip/floating": { + "type": "boolean", + "description": "Boolean value." + }, + "q-chip/pointing": { + "type": "string", + "description": "String value." + }, + "q-chip/color": { + "type": "string", + "description": "String value." + }, + "q-chip/text-color": { + "type": "string", + "description": "String value." + }, + "q-chip/icon": { + "type": "string", + "description": "String value." + }, + "q-chip/icon-right": { + "type": "string", + "description": "String value." + }, + "q-chip/avatar": { + "type": "string", + "description": "String value." + }, + "q-chip/closable": { + "type": "boolean", + "description": "Boolean value." + }, + "q-chip/detail": { + "type": "boolean", + "description": "Boolean value." + }, + "q-chips-input/prefix": { + "type": "string", + "description": "String value." + }, + "q-chips-input/suffix": { + "type": "string", + "description": "String value." + }, + "q-chips-input/stack-label": { + "type": "string", + "description": "String value." + }, + "q-chips-input/float-label": { + "type": "string", + "description": "String value." + }, + "q-chips-input/placeholder": { + "type": "string", + "description": "String value." + }, + "q-chips-input/error": { + "type": "boolean", + "description": "Boolean value." + }, + "q-chips-input/warning": { + "type": "boolean", + "description": "Boolean value." + }, + "q-chips-input/disable": { + "type": "boolean", + "description": "Boolean value." + }, + "q-chips-input/readonly": { + "type": "boolean", + "description": "Boolean value." + }, + "q-chips-input/clearable": { + "type": "boolean", + "description": "Boolean value." + }, + "q-chips-input/color": { + "type": "string", + "description": "String value." + }, + "q-chips-input/dark": { + "type": "boolean", + "description": "Boolean value." + }, + "q-chips-input/before": { + "type": "array", + "description": "Array value." + }, + "q-chips-input/after": { + "type": "array", + "description": "Array value." + }, + "q-chips-input/inverted": { + "type": "boolean", + "description": "Boolean value." + }, + "q-chips-input/inverted-light": { + "type": "boolean", + "description": "Boolean value." + }, + "q-chips-input/hide-underline": { + "type": "boolean", + "description": "Boolean value." + }, + "q-chips-input/no-parent-field": { + "type": "boolean", + "description": "Boolean value." + }, + "q-chips-input/autofocus": { + "type": "boolean|string", + "description": "One of boolean or string." + }, + "q-chips-input/loading": { + "type": "boolean", + "description": "Boolean value." + }, + "q-chips-input/chips-color": { + "type": "string", + "description": "String value." + }, + "q-chips-input/chips-bg-color": { + "type": "string", + "description": "String value." + }, + "q-chips-input/add-icon": { + "type": "string", + "description": "String value." + }, + "q-chips-input/upper-case": { + "type": "boolean", + "description": "Boolean value." + }, + "q-chips-input/lower-case": { + "type": "boolean", + "description": "Boolean value." + }, + "q-collapsible/to": { + "type": "string|object", + "description": "One of string or object." + }, + "q-collapsible/exact": { + "type": "boolean", + "description": "Boolean value." + }, + "q-collapsible/append": { + "type": "boolean", + "description": "Boolean value." + }, + "q-collapsible/replace": { + "type": "boolean", + "description": "Boolean value." + }, + "q-collapsible/event": { + "type": "string|array", + "description": "One of string or array." + }, + "q-collapsible/active-class": { + "type": "string", + "description": "String value." + }, + "q-collapsible/exact-active-class": { + "type": "string", + "description": "String value." + }, + "q-collapsible/dark": { + "type": "boolean", + "description": "Boolean value." + }, + "q-collapsible/dense": { + "type": "boolean", + "description": "Boolean value." + }, + "q-collapsible/sparse": { + "type": "boolean", + "description": "Boolean value." + }, + "q-collapsible/separator": { + "type": "boolean", + "description": "Boolean value." + }, + "q-collapsible/inset-separator": { + "type": "boolean", + "description": "Boolean value." + }, + "q-collapsible/multiline": { + "type": "boolean", + "description": "Boolean value." + }, + "q-collapsible/highlight": { + "type": "boolean", + "description": "Boolean value." + }, + "q-collapsible/tag": { + "type": "string", + "description": "String value." + }, + "q-collapsible/icon": { + "type": "string", + "description": "String value." + }, + "q-collapsible/right-icon": { + "type": "string", + "description": "String value." + }, + "q-collapsible/image": { + "type": "string", + "description": "String value." + }, + "q-collapsible/right-image": { + "type": "string", + "description": "String value." + }, + "q-collapsible/avatar": { + "type": "string", + "description": "String value." + }, + "q-collapsible/right-avatar": { + "type": "string", + "description": "String value." + }, + "q-collapsible/letter": { + "type": "string", + "description": "String value." + }, + "q-collapsible/right-letter": { + "type": "string", + "description": "String value." + }, + "q-collapsible/label": { + "type": "string", + "description": "String value." + }, + "q-collapsible/sublabel": { + "type": "string", + "description": "String value." + }, + "q-collapsible/label-lines": { + "type": "string|number", + "description": "One of string or number." + }, + "q-collapsible/sublabel-lines": { + "type": "string|number", + "description": "One of string or number." + }, + "q-collapsible/disable": { + "type": "boolean", + "description": "Boolean value." + }, + "q-collapsible/popup": { + "type": "boolean", + "description": "Boolean value." + }, + "q-collapsible/indent": { + "type": "boolean", + "description": "Boolean value." + }, + "q-collapsible/group": { + "type": "string", + "description": "String value." + }, + "q-collapsible/icon-toggle": { + "type": "boolean", + "description": "Boolean value." + }, + "q-collapsible/collapse-icon": { + "type": "string", + "description": "String value." + }, + "q-collapsible/opened": { + "type": "boolean", + "description": "Boolean value." + }, + "q-collapsible/duration": { + "type": "number", + "description": "Number value." + }, + "q-collapsible/header-style": { + "type": "array|string|object", + "description": "One of array, string, or object." + }, + "q-collapsible/header-class": { + "type": "array|string|object", + "description": "One of array, string, or object." + }, + "q-color/prefix": { + "type": "string", + "description": "String value." + }, + "q-color/suffix": { + "type": "string", + "description": "String value." + }, + "q-color/stack-label": { + "type": "string", + "description": "String value." + }, + "q-color/float-label": { + "type": "string", + "description": "String value." + }, + "q-color/placeholder": { + "type": "string", + "description": "String value." + }, + "q-color/error": { + "type": "boolean", + "description": "Boolean value." + }, + "q-color/warning": { + "type": "boolean", + "description": "Boolean value." + }, + "q-color/disable": { + "type": "boolean", + "description": "Boolean value." + }, + "q-color/readonly": { + "type": "boolean", + "description": "Boolean value." + }, + "q-color/clearable": { + "type": "boolean", + "description": "Boolean value." + }, + "q-color/color": { + "type": "string", + "description": "String value." + }, + "q-color/dark": { + "type": "boolean", + "description": "Boolean value." + }, + "q-color/before": { + "type": "array", + "description": "Array value." + }, + "q-color/after": { + "type": "array", + "description": "Array value." + }, + "q-color/inverted": { + "type": "boolean", + "description": "Boolean value." + }, + "q-color/inverted-light": { + "type": "boolean", + "description": "Boolean value." + }, + "q-color/hide-underline": { + "type": "boolean", + "description": "Boolean value." + }, + "q-color/no-parent-field": { + "type": "boolean", + "description": "Boolean value." + }, + "q-color/popover": { + "type": "boolean", + "description": "Boolean value." + }, + "q-color/modal": { + "type": "boolean", + "description": "Boolean value." + }, + "q-color/default-value": { + "type": "string|object", + "description": "One of string or object." + }, + "q-color/format-model": { + "type": "string", + "description": "String value." + }, + "q-color/display-value": { + "type": "string", + "description": "String value." + }, + "q-color/ok-label": { + "type": "string", + "description": "String value." + }, + "q-color/cancel-label": { + "type": "string", + "description": "String value." + }, + "q-color-picker/no-parent-field": { + "type": "boolean", + "description": "Boolean value." + }, + "q-color-picker/default-value": { + "type": "string|object", + "description": "One of string or object." + }, + "q-color-picker/format-model": { + "type": "string", + "description": "String value." + }, + "q-color-picker/disable": { + "type": "boolean", + "description": "Boolean value." + }, + "q-color-picker/readonly": { + "type": "boolean", + "description": "Boolean value." + }, + "q-color-picker/dark": { + "type": "boolean", + "description": "Boolean value." + }, + "q-context-menu/disable": { + "type": "boolean", + "description": "Boolean value." + }, + "q-datetime/prefix": { + "type": "string", + "description": "String value." + }, + "q-datetime/suffix": { + "type": "string", + "description": "String value." + }, + "q-datetime/stack-label": { + "type": "string", + "description": "String value." + }, + "q-datetime/float-label": { + "type": "string", + "description": "String value." + }, + "q-datetime/placeholder": { + "type": "string", + "description": "String value." + }, + "q-datetime/error": { + "type": "boolean", + "description": "Boolean value." + }, + "q-datetime/warning": { + "type": "boolean", + "description": "Boolean value." + }, + "q-datetime/disable": { + "type": "boolean", + "description": "Boolean value." + }, + "q-datetime/readonly": { + "type": "boolean", + "description": "Boolean value." + }, + "q-datetime/clearable": { + "type": "boolean", + "description": "Boolean value." + }, + "q-datetime/color": { + "type": "string", + "description": "String value." + }, + "q-datetime/dark": { + "type": "boolean", + "description": "Boolean value." + }, + "q-datetime/before": { + "type": "array", + "description": "Array value." + }, + "q-datetime/after": { + "type": "array", + "description": "Array value." + }, + "q-datetime/inverted": { + "type": "boolean", + "description": "Boolean value." + }, + "q-datetime/inverted-light": { + "type": "boolean", + "description": "Boolean value." + }, + "q-datetime/hide-underline": { + "type": "boolean", + "description": "Boolean value." + }, + "q-datetime/no-parent-field": { + "type": "boolean", + "description": "Boolean value." + }, + "q-datetime/popover": { + "type": "boolean", + "description": "Boolean value." + }, + "q-datetime/modal": { + "type": "boolean", + "description": "Boolean value." + }, + "q-datetime/format": { + "type": "string", + "description": "String value." + }, + "q-datetime/ok-label": { + "type": "string", + "description": "String value." + }, + "q-datetime/cancel-label": { + "type": "string", + "description": "String value." + }, + "q-datetime/display-value": { + "type": "string", + "description": "String value." + }, + "q-datetime/default-value": { + "type": "string|number|Date", + "description": "One of string, number, or Date." + }, + "q-datetime/type": { + "type": "string", + "description": "String value." + }, + "q-datetime/header-label": { + "type": "string", + "description": "String value." + }, + "q-datetime/first-day-of-week": { + "type": "number", + "description": "Number value." + }, + "q-datetime/format-model": { + "type": "string", + "description": "String value." + }, + "q-datetime/format24h": { + "type": "boolean|number", + "description": "One of boolean or number." + }, + "q-datetime/default-view": { + "type": "string", + "description": "String value." + }, + "q-datetime/minimal": { + "type": "boolean", + "description": "Boolean value." + }, + "q-datetime-picker/default-value": { + "type": "string|number|Date", + "description": "One of string, number, or Date." + }, + "q-datetime-picker/type": { + "type": "string", + "description": "String value." + }, + "q-datetime-picker/color": { + "type": "string", + "description": "String value." + }, + "q-datetime-picker/dark": { + "type": "boolean", + "description": "Boolean value." + }, + "q-datetime-picker/header-label": { + "type": "string", + "description": "String value." + }, + "q-datetime-picker/first-day-of-week": { + "type": "number", + "description": "Number value." + }, + "q-datetime-picker/format-model": { + "type": "string", + "description": "String value." + }, + "q-datetime-picker/format24h": { + "type": "boolean|number", + "description": "One of boolean or number." + }, + "q-datetime-picker/default-view": { + "type": "string", + "description": "String value." + }, + "q-datetime-picker/minimal": { + "type": "boolean", + "description": "Boolean value." + }, + "q-datetime-picker/no-parent-field": { + "type": "boolean", + "description": "Boolean value." + }, + "q-datetime-picker/disable": { + "type": "boolean", + "description": "Boolean value." + }, + "q-datetime-picker/readonly": { + "type": "boolean", + "description": "Boolean value." + }, + "q-dialog/title": { + "type": "string", + "description": "String value." + }, + "q-dialog/message": { + "type": "string", + "description": "String value." + }, + "q-dialog/prompt": { + "type": "object", + "description": "Object value." + }, + "q-dialog/options": { + "type": "object", + "description": "Object value." + }, + "q-dialog/ok": { + "type": "string|object|boolean", + "description": "One of string, object, or boolean." + }, + "q-dialog/cancel": { + "type": "string|object|boolean", + "description": "One of string, object, or boolean." + }, + "q-dialog/stack-buttons": { + "type": "boolean", + "description": "Boolean value." + }, + "q-dialog/prevent-close": { + "type": "boolean", + "description": "Boolean value." + }, + "q-dialog/no-backdrop-dismiss": { + "type": "boolean", + "description": "Boolean value." + }, + "q-dialog/no-esc-dismiss": { + "type": "boolean", + "description": "Boolean value." + }, + "q-dialog/no-refocus": { + "type": "boolean", + "description": "Boolean value." + }, + "q-dialog/position": { + "type": "string", + "description": "String value." + }, + "q-dialog/color": { + "type": "string", + "description": "String value." + }, + "q-editor/readonly": { + "type": "boolean", + "description": "Boolean value." + }, + "q-editor/disable": { + "type": "boolean", + "description": "Boolean value." + }, + "q-editor/min-height": { + "type": "string", + "description": "String value." + }, + "q-editor/max-height": { + "type": "string", + "description": "String value." + }, + "q-editor/height": { + "type": "string", + "description": "String value." + }, + "q-editor/definitions": { + "type": "object", + "description": "Object value." + }, + "q-editor/fonts": { + "type": "object", + "description": "Object value." + }, + "q-editor/toolbar": { + "type": "array", + "description": "Array value." + }, + "q-editor/toolbar-color": { + "type": "string", + "description": "String value." + }, + "q-editor/toolbar-text-color": { + "type": "string", + "description": "String value." + }, + "q-editor/toolbar-toggle-color": { + "type": "string", + "description": "String value." + }, + "q-editor/toolbar-bg": { + "type": "string", + "description": "String value." + }, + "q-editor/toolbar-flat": { + "type": "boolean", + "description": "Boolean value." + }, + "q-editor/toolbar-outline": { + "type": "boolean", + "description": "Boolean value." + }, + "q-editor/toolbar-push": { + "type": "boolean", + "description": "Boolean value." + }, + "q-editor/toolbar-rounded": { + "type": "boolean", + "description": "Boolean value." + }, + "q-editor/content-style": { + "type": "object", + "description": "Object value." + }, + "q-editor/content-class": { + "type": "object|array|string", + "description": "One of object, array, or string." + }, + "q-fab/outline": { + "type": "boolean", + "description": "Boolean value." + }, + "q-fab/push": { + "type": "boolean", + "description": "Boolean value." + }, + "q-fab/flat": { + "type": "boolean", + "description": "Boolean value." + }, + "q-fab/color": { + "type": "string", + "description": "String value." + }, + "q-fab/text-color": { + "type": "string", + "description": "String value." + }, + "q-fab/glossy": { + "type": "boolean", + "description": "Boolean value." + }, + "q-fab/icon": { + "type": "string", + "description": "String value." + }, + "q-fab/active-icon": { + "type": "string", + "description": "String value." + }, + "q-fab/direction": { + "type": "string", + "description": "String value." + }, + "q-fab/persistent": { + "type": "boolean", + "description": "Boolean value." + }, + "q-fab-action/outline": { + "type": "boolean", + "description": "Boolean value." + }, + "q-fab-action/push": { + "type": "boolean", + "description": "Boolean value." + }, + "q-fab-action/flat": { + "type": "boolean", + "description": "Boolean value." + }, + "q-fab-action/color": { + "type": "string", + "description": "String value." + }, + "q-fab-action/text-color": { + "type": "string", + "description": "String value." + }, + "q-fab-action/glossy": { + "type": "boolean", + "description": "Boolean value." + }, + "q-fab-action/icon": { + "type": "string", + "description": "String value." + }, + "q-field/inset": { + "type": "string", + "description": "String value." + }, + "q-field/label": { + "type": "string", + "description": "String value." + }, + "q-field/count": { + "type": "number|boolean", + "description": "One of number or boolean." + }, + "q-field/error": { + "type": "boolean", + "description": "Boolean value." + }, + "q-field/error-label": { + "type": "string", + "description": "String value." + }, + "q-field/warning": { + "type": "boolean", + "description": "Boolean value." + }, + "q-field/warning-label": { + "type": "string", + "description": "String value." + }, + "q-field/helper": { + "type": "string", + "description": "String value." + }, + "q-field/icon": { + "type": "string", + "description": "String value." + }, + "q-field/icon-color": { + "type": "string", + "description": "String value." + }, + "q-field/dark": { + "type": "boolean", + "description": "Boolean value." + }, + "q-field/orientation": { + "type": "string", + "description": "String value." + }, + "q-field/label-width": { + "type": "number|string", + "description": "One of number or string." + }, + "q-icon/name": { + "type": "string", + "description": "String value." + }, + "q-icon/color": { + "type": "string", + "description": "String value." + }, + "q-icon/size": { + "type": "string", + "description": "String value." + }, + "q-infinite-scroll/handler": { + "type": "function", + "description": "Function value." + }, + "q-infinite-scroll/inline": { + "type": "boolean", + "description": "Boolean value." + }, + "q-infinite-scroll/offset": { + "type": "number", + "description": "Number value." + }, + "q-inner-loading/dark": { + "type": "boolean", + "description": "Boolean value." + }, + "q-inner-loading/visible": { + "type": "boolean", + "description": "Boolean value." + }, + "q-inner-loading/size": { + "type": "string|number", + "description": "One of string or number." + }, + "q-inner-loading/color": { + "type": "string", + "description": "String value." + }, + "q-input/align": { + "type": "string", + "description": "String value." + }, + "q-input/prefix": { + "type": "string", + "description": "String value." + }, + "q-input/suffix": { + "type": "string", + "description": "String value." + }, + "q-input/stack-label": { + "type": "string", + "description": "String value." + }, + "q-input/float-label": { + "type": "string", + "description": "String value." + }, + "q-input/placeholder": { + "type": "string", + "description": "String value." + }, + "q-input/error": { + "type": "boolean", + "description": "Boolean value." + }, + "q-input/warning": { + "type": "boolean", + "description": "Boolean value." + }, + "q-input/disable": { + "type": "boolean", + "description": "Boolean value." + }, + "q-input/readonly": { + "type": "boolean", + "description": "Boolean value." + }, + "q-input/clearable": { + "type": "boolean", + "description": "Boolean value." + }, + "q-input/color": { + "type": "string", + "description": "String value." + }, + "q-input/dark": { + "type": "boolean", + "description": "Boolean value." + }, + "q-input/before": { + "type": "array", + "description": "Array value." + }, + "q-input/after": { + "type": "array", + "description": "Array value." + }, + "q-input/inverted": { + "type": "boolean", + "description": "Boolean value." + }, + "q-input/inverted-light": { + "type": "boolean", + "description": "Boolean value." + }, + "q-input/hide-underline": { + "type": "boolean", + "description": "Boolean value." + }, + "q-input/no-parent-field": { + "type": "boolean", + "description": "Boolean value." + }, + "q-input/autofocus": { + "type": "boolean|string", + "description": "One of boolean or string." + }, + "q-input/max-height": { + "type": "number", + "description": "Number value." + }, + "q-input/loading": { + "type": "boolean", + "description": "Boolean value." + }, + "q-input/type": { + "type": "string", + "description": "String value." + }, + "q-input/no-pass-toggle": { + "type": "boolean", + "description": "Boolean value." + }, + "q-input/numeric-keyboard-toggle": { + "type": "boolean", + "description": "Boolean value." + }, + "q-input/decimals": { + "type": "number", + "description": "Number value." + }, + "q-input/step": { + "type": "number", + "description": "Number value." + }, + "q-input/upper-case": { + "type": "boolean", + "description": "Boolean value." + }, + "q-input/lower-case": { + "type": "boolean", + "description": "Boolean value." + }, + "q-input/initial-show-password": { + "type": "boolean", + "description": "Boolean value." + }, + "q-jumbotron/dark": { + "type": "boolean", + "description": "Boolean value." + }, + "q-jumbotron/tag": { + "type": "string", + "description": "String value." + }, + "q-jumbotron/img-src": { + "type": "string", + "description": "String value." + }, + "q-jumbotron/gradient": { + "type": "string", + "description": "String value." + }, + "q-knob/min": { + "type": "number", + "description": "Number value." + }, + "q-knob/max": { + "type": "number", + "description": "Number value." + }, + "q-knob/color": { + "type": "string", + "description": "String value." + }, + "q-knob/track-color": { + "type": "string", + "description": "String value." + }, + "q-knob/line-width": { + "type": "string", + "description": "String value." + }, + "q-knob/size": { + "type": "string", + "description": "String value." + }, + "q-knob/step": { + "type": "number", + "description": "Number value." + }, + "q-knob/decimals": { + "type": "number", + "description": "Number value." + }, + "q-knob/disable": { + "type": "boolean", + "description": "Boolean value." + }, + "q-knob/readonly": { + "type": "boolean", + "description": "Boolean value." + }, + "q-layout/container": { + "type": "boolean", + "description": "Boolean value." + }, + "q-layout/view": { + "type": "string", + "description": "String value." + }, + "q-layout-drawer/overlay": { + "type": "boolean", + "description": "Boolean value." + }, + "q-layout-drawer/side": { + "type": "string", + "description": "String value." + }, + "q-layout-drawer/width": { + "type": "number", + "description": "Number value." + }, + "q-layout-drawer/mini": { + "type": "boolean", + "description": "Boolean value." + }, + "q-layout-drawer/mini-width": { + "type": "number", + "description": "Number value." + }, + "q-layout-drawer/breakpoint": { + "type": "number", + "description": "Number value." + }, + "q-layout-drawer/behavior": { + "type": "string", + "description": "String value." + }, + "q-layout-drawer/show-if-above": { + "type": "boolean", + "description": "Boolean value." + }, + "q-layout-drawer/content-style": { + "type": "object", + "description": "Object value." + }, + "q-layout-drawer/content-class": { + "type": "string|object|array", + "description": "One of string, object, or array." + }, + "q-layout-drawer/no-hide-on-route-change": { + "type": "boolean", + "description": "Boolean value." + }, + "q-layout-drawer/no-swipe-open": { + "type": "boolean", + "description": "Boolean value." + }, + "q-layout-drawer/no-swipe-close": { + "type": "boolean", + "description": "Boolean value." + }, + "q-layout-footer/reveal": { + "type": "boolean", + "description": "Boolean value." + }, + "q-layout-header/reveal": { + "type": "boolean", + "description": "Boolean value." + }, + "q-layout-header/reveal-offset": { + "type": "number", + "description": "Number value." + }, + "q-page/padding": { + "type": "boolean", + "description": "Boolean value." + }, + "q-page/style-fn": { + "type": "function", + "description": "Function value." + }, + "q-page-sticky/position": { + "type": "string", + "description": "String value." + }, + "q-page-sticky/offset": { + "type": "array", + "description": "Array value." + }, + "q-page-sticky/expand": { + "type": "boolean", + "description": "Boolean value." + }, + "q-item/to": { + "type": "string|object", + "description": "One of string or object." + }, + "q-item/exact": { + "type": "boolean", + "description": "Boolean value." + }, + "q-item/append": { + "type": "boolean", + "description": "Boolean value." + }, + "q-item/replace": { + "type": "boolean", + "description": "Boolean value." + }, + "q-item/event": { + "type": "string|array", + "description": "One of string or array." + }, + "q-item/active-class": { + "type": "string", + "description": "String value." + }, + "q-item/exact-active-class": { + "type": "string", + "description": "String value." + }, + "q-item/dark": { + "type": "boolean", + "description": "Boolean value." + }, + "q-item/link": { + "type": "boolean", + "description": "Boolean value." + }, + "q-item/dense": { + "type": "boolean", + "description": "Boolean value." + }, + "q-item/sparse": { + "type": "boolean", + "description": "Boolean value." + }, + "q-item/separator": { + "type": "boolean", + "description": "Boolean value." + }, + "q-item/inset-separator": { + "type": "boolean", + "description": "Boolean value." + }, + "q-item/multiline": { + "type": "boolean", + "description": "Boolean value." + }, + "q-item/highlight": { + "type": "boolean", + "description": "Boolean value." + }, + "q-item/tag": { + "type": "string", + "description": "String value." + }, + "q-item/active": { + "type": "boolean", + "description": "Boolean value." + }, + "q-item-separator/inset": { + "type": "boolean", + "description": "Boolean value." + }, + "q-item-main/label": { + "type": "string", + "description": "String value." + }, + "q-item-main/label-lines": { + "type": "string|number", + "description": "One of string or number." + }, + "q-item-main/sublabel": { + "type": "string", + "description": "String value." + }, + "q-item-main/sublabel-lines": { + "type": "string|number", + "description": "One of string or number." + }, + "q-item-main/inset": { + "type": "boolean", + "description": "Boolean value." + }, + "q-item-main/tag": { + "type": "string", + "description": "String value." + }, + "q-item-side/right": { + "type": "boolean", + "description": "Boolean value." + }, + "q-item-side/icon": { + "type": "string", + "description": "String value." + }, + "q-item-side/letter": { + "type": "string", + "description": "String value." + }, + "q-item-side/inverted": { + "type": "boolean", + "description": "Boolean value." + }, + "q-item-side/avatar": { + "type": "string", + "description": "String value." + }, + "q-item-side/image": { + "type": "string", + "description": "String value." + }, + "q-item-side/stamp": { + "type": "string", + "description": "String value." + }, + "q-item-side/color": { + "type": "string", + "description": "String value." + }, + "q-item-side/text-color": { + "type": "string", + "description": "String value." + }, + "q-item-tile/icon": { + "type": "string", + "description": "String value." + }, + "q-item-tile/letter": { + "type": "boolean", + "description": "Boolean value." + }, + "q-item-tile/inverted": { + "type": "boolean", + "description": "Boolean value." + }, + "q-item-tile/image": { + "type": "boolean", + "description": "Boolean value." + }, + "q-item-tile/avatar": { + "type": "boolean", + "description": "Boolean value." + }, + "q-item-tile/stamp": { + "type": "boolean", + "description": "Boolean value." + }, + "q-item-tile/label": { + "type": "boolean", + "description": "Boolean value." + }, + "q-item-tile/sublabel": { + "type": "boolean", + "description": "Boolean value." + }, + "q-item-tile/lines": { + "type": "number|string", + "description": "One of number or string." + }, + "q-item-tile/tag": { + "type": "string", + "description": "String value." + }, + "q-item-tile/color": { + "type": "string", + "description": "String value." + }, + "q-item-tile/text-color": { + "type": "string", + "description": "String value." + }, + "q-list/no-border": { + "type": "boolean", + "description": "Boolean value." + }, + "q-list/dark": { + "type": "boolean", + "description": "Boolean value." + }, + "q-list/dense": { + "type": "boolean", + "description": "Boolean value." + }, + "q-list/sparse": { + "type": "boolean", + "description": "Boolean value." + }, + "q-list/striped": { + "type": "boolean", + "description": "Boolean value." + }, + "q-list/striped-odd": { + "type": "boolean", + "description": "Boolean value." + }, + "q-list/separator": { + "type": "boolean", + "description": "Boolean value." + }, + "q-list/inset-separator": { + "type": "boolean", + "description": "Boolean value." + }, + "q-list/multiline": { + "type": "boolean", + "description": "Boolean value." + }, + "q-list/highlight": { + "type": "boolean", + "description": "Boolean value." + }, + "q-list/link": { + "type": "boolean", + "description": "Boolean value." + }, + "q-list-header/inset": { + "type": "boolean", + "description": "Boolean value." + }, + "q-modal/position": { + "type": "string", + "description": "String value." + }, + "q-modal/transition": { + "type": "string", + "description": "String value." + }, + "q-modal/enter-class": { + "type": "string", + "description": "String value." + }, + "q-modal/leave-class": { + "type": "string", + "description": "String value." + }, + "q-modal/position-classes": { + "type": "string", + "description": "String value." + }, + "q-modal/content-classes": { + "type": "object|array|string", + "description": "One of object, array, or string." + }, + "q-modal/content-css": { + "type": "object|array|string", + "description": "One of object, array, or string." + }, + "q-modal/no-backdrop-dismiss": { + "type": "boolean", + "description": "Boolean value." + }, + "q-modal/no-esc-dismiss": { + "type": "boolean", + "description": "Boolean value." + }, + "q-modal/no-route-dismiss": { + "type": "boolean", + "description": "Boolean value." + }, + "q-modal/no-refocus": { + "type": "boolean", + "description": "Boolean value." + }, + "q-modal/minimized": { + "type": "boolean", + "description": "Boolean value." + }, + "q-modal/maximized": { + "type": "boolean", + "description": "Boolean value." + }, + "q-modal-layout/header-style": { + "type": "string|object|array", + "description": "One of string, object, or array." + }, + "q-modal-layout/header-class": { + "type": "string|object|array", + "description": "One of string, object, or array." + }, + "q-modal-layout/content-style": { + "type": "string|object|array", + "description": "One of string, object, or array." + }, + "q-modal-layout/content-class": { + "type": "string|object|array", + "description": "One of string, object, or array." + }, + "q-modal-layout/footer-style": { + "type": "string|object|array", + "description": "One of string, object, or array." + }, + "q-modal-layout/footer-class": { + "type": "string|object|array", + "description": "One of string, object, or array." + }, + "q-no-ssr/tag": { + "type": "string", + "description": "String value." + }, + "q-no-ssr/placeholder": { + "type": "string", + "description": "String value." + }, + "q-resize-observable/debounce": { + "type": "number", + "description": "Number value." + }, + "q-scroll-observable/debounce": { + "type": "number", + "description": "Number value." + }, + "q-window-resize-observable/debounce": { + "type": "number", + "description": "Number value." + }, + "q-option-group/no-parent-field": { + "type": "boolean", + "description": "Boolean value." + }, + "q-option-group/color": { + "type": "string", + "description": "String value." + }, + "q-option-group/keep-color": { + "type": "boolean", + "description": "Boolean value." + }, + "q-option-group/dark": { + "type": "boolean", + "description": "Boolean value." + }, + "q-option-group/options": { + "type": "array", + "description": "Array value." + }, + "q-option-group/left-label": { + "type": "boolean", + "description": "Boolean value." + }, + "q-option-group/inline": { + "type": "boolean", + "description": "Boolean value." + }, + "q-option-group/disable": { + "type": "boolean", + "description": "Boolean value." + }, + "q-option-group/readonly": { + "type": "boolean", + "description": "Boolean value." + }, + "q-pagination/min": { + "type": "number", + "description": "Number value." + }, + "q-pagination/max": { + "type": "number", + "description": "Number value." + }, + "q-pagination/color": { + "type": "string", + "description": "String value." + }, + "q-pagination/text-color": { + "type": "string", + "description": "String value." + }, + "q-pagination/size": { + "type": "string", + "description": "String value." + }, + "q-pagination/disable": { + "type": "boolean", + "description": "Boolean value." + }, + "q-pagination/input": { + "type": "boolean", + "description": "Boolean value." + }, + "q-pagination/boundary-links": { + "type": "boolean", + "description": "Boolean value." + }, + "q-pagination/boundary-numbers": { + "type": "boolean", + "description": "Boolean value." + }, + "q-pagination/direction-links": { + "type": "boolean", + "description": "Boolean value." + }, + "q-pagination/ellipses": { + "type": "boolean", + "description": "Boolean value." + }, + "q-pagination/max-pages": { + "type": "number", + "description": "Number value." + }, + "q-parallax/src": { + "type": "string", + "description": "String value." + }, + "q-parallax/height": { + "type": "number", + "description": "Number value." + }, + "q-parallax/speed": { + "type": "number", + "description": "Number value." + }, + "q-popover/anchor": { + "type": "string", + "description": "String value." + }, + "q-popover/self": { + "type": "string", + "description": "String value." + }, + "q-popover/fit": { + "type": "boolean", + "description": "Boolean value." + }, + "q-popover/cover": { + "type": "boolean", + "description": "Boolean value." + }, + "q-popover/persistent": { + "type": "boolean", + "description": "Boolean value." + }, + "q-popover/keep-on-screen": { + "type": "boolean", + "description": "Boolean value." + }, + "q-popover/max-height": { + "type": "string", + "description": "String value." + }, + "q-popover/touch-position": { + "type": "boolean", + "description": "Boolean value." + }, + "q-popover/anchor-click": { + "type": "boolean", + "description": "Boolean value." + }, + "q-popover/offset": { + "type": "array", + "description": "Array value." + }, + "q-popover/no-focus": { + "type": "boolean", + "description": "Boolean value." + }, + "q-popover/no-refocus": { + "type": "boolean", + "description": "Boolean value." + }, + "q-popover/disable": { + "type": "boolean", + "description": "Boolean value." + }, + "q-popup-edit/persistent": { + "type": "boolean", + "description": "Boolean value." + }, + "q-popup-edit/keep-on-screen": { + "type": "boolean", + "description": "Boolean value." + }, + "q-popup-edit/title": { + "type": "string", + "description": "String value." + }, + "q-popup-edit/buttons": { + "type": "boolean", + "description": "Boolean value." + }, + "q-popup-edit/label-set": { + "type": "string", + "description": "String value." + }, + "q-popup-edit/label-cancel": { + "type": "string", + "description": "String value." + }, + "q-popup-edit/color": { + "type": "string", + "description": "String value." + }, + "q-popup-edit/validate": { + "type": "function", + "description": "Function value." + }, + "q-popup-edit/disable": { + "type": "boolean", + "description": "Boolean value." + }, + "q-progress/percentage": { + "type": "number", + "description": "Number value." + }, + "q-progress/color": { + "type": "string", + "description": "String value." + }, + "q-progress/stripe": { + "type": "boolean", + "description": "Boolean value." + }, + "q-progress/animate": { + "type": "boolean", + "description": "Boolean value." + }, + "q-progress/indeterminate": { + "type": "boolean", + "description": "Boolean value." + }, + "q-progress/buffer": { + "type": "number", + "description": "Number value." + }, + "q-progress/height": { + "type": "string", + "description": "String value." + }, + "q-pull-to-refresh/handler": { + "type": "function", + "description": "Function value." + }, + "q-pull-to-refresh/color": { + "type": "string", + "description": "String value." + }, + "q-pull-to-refresh/distance": { + "type": "number", + "description": "Number value." + }, + "q-pull-to-refresh/pull-message": { + "type": "string", + "description": "String value." + }, + "q-pull-to-refresh/release-message": { + "type": "string", + "description": "String value." + }, + "q-pull-to-refresh/refresh-message": { + "type": "string", + "description": "String value." + }, + "q-pull-to-refresh/refresh-icon": { + "type": "string", + "description": "String value." + }, + "q-pull-to-refresh/inline": { + "type": "boolean", + "description": "Boolean value." + }, + "q-pull-to-refresh/disable": { + "type": "boolean", + "description": "Boolean value." + }, + "q-radio/label": { + "type": "string", + "description": "String value." + }, + "q-radio/left-label": { + "type": "boolean", + "description": "Boolean value." + }, + "q-radio/color": { + "type": "string", + "description": "String value." + }, + "q-radio/keep-color": { + "type": "boolean", + "description": "Boolean value." + }, + "q-radio/dark": { + "type": "boolean", + "description": "Boolean value." + }, + "q-radio/disable": { + "type": "boolean", + "description": "Boolean value." + }, + "q-radio/readonly": { + "type": "boolean", + "description": "Boolean value." + }, + "q-radio/no-focus": { + "type": "boolean", + "description": "Boolean value." + }, + "q-radio/checked-icon": { + "type": "string", + "description": "String value." + }, + "q-radio/unchecked-icon": { + "type": "string", + "description": "String value." + }, + "q-range/min": { + "type": "number", + "description": "Number value." + }, + "q-range/max": { + "type": "number", + "description": "Number value." + }, + "q-range/step": { + "type": "number", + "description": "Number value." + }, + "q-range/decimals": { + "type": "number", + "description": "Number value." + }, + "q-range/snap": { + "type": "boolean", + "description": "Boolean value." + }, + "q-range/markers": { + "type": "boolean", + "description": "Boolean value." + }, + "q-range/label": { + "type": "boolean", + "description": "Boolean value." + }, + "q-range/label-always": { + "type": "boolean", + "description": "Boolean value." + }, + "q-range/square": { + "type": "boolean", + "description": "Boolean value." + }, + "q-range/color": { + "type": "string", + "description": "String value." + }, + "q-range/fill-handle-always": { + "type": "boolean", + "description": "Boolean value." + }, + "q-range/error": { + "type": "boolean", + "description": "Boolean value." + }, + "q-range/warning": { + "type": "boolean", + "description": "Boolean value." + }, + "q-range/readonly": { + "type": "boolean", + "description": "Boolean value." + }, + "q-range/disable": { + "type": "boolean", + "description": "Boolean value." + }, + "q-range/drag-range": { + "type": "boolean", + "description": "Boolean value." + }, + "q-range/drag-only-range": { + "type": "boolean", + "description": "Boolean value." + }, + "q-range/left-label-color": { + "type": "string", + "description": "String value." + }, + "q-range/left-label-value": { + "type": "string", + "description": "String value." + }, + "q-range/right-label-color": { + "type": "string", + "description": "String value." + }, + "q-range/right-label-value": { + "type": "string", + "description": "String value." + }, + "q-rating/max": { + "type": "number", + "description": "Number value." + }, + "q-rating/icon": { + "type": "string", + "description": "String value." + }, + "q-rating/color": { + "type": "string", + "description": "String value." + }, + "q-rating/size": { + "type": "string", + "description": "String value." + }, + "q-rating/readonly": { + "type": "boolean", + "description": "Boolean value." + }, + "q-rating/disable": { + "type": "boolean", + "description": "Boolean value." + }, + "q-scroll-area/thumb-style": { + "type": "object", + "description": "Object value." + }, + "q-scroll-area/content-style": { + "type": "object", + "description": "Object value." + }, + "q-scroll-area/content-active-style": { + "type": "object", + "description": "Object value." + }, + "q-scroll-area/delay": { + "type": "number", + "description": "Number value." + }, + "q-search/prefix": { + "type": "string", + "description": "String value." + }, + "q-search/suffix": { + "type": "string", + "description": "String value." + }, + "q-search/stack-label": { + "type": "string", + "description": "String value." + }, + "q-search/float-label": { + "type": "string", + "description": "String value." + }, + "q-search/placeholder": { + "type": "string", + "description": "String value." + }, + "q-search/error": { + "type": "boolean", + "description": "Boolean value." + }, + "q-search/warning": { + "type": "boolean", + "description": "Boolean value." + }, + "q-search/disable": { + "type": "boolean", + "description": "Boolean value." + }, + "q-search/readonly": { + "type": "boolean", + "description": "Boolean value." + }, + "q-search/clearable": { + "type": "boolean", + "description": "Boolean value." + }, + "q-search/color": { + "type": "string", + "description": "String value." + }, + "q-search/dark": { + "type": "boolean", + "description": "Boolean value." + }, + "q-search/before": { + "type": "array", + "description": "Array value." + }, + "q-search/after": { + "type": "array", + "description": "Array value." + }, + "q-search/inverted": { + "type": "boolean", + "description": "Boolean value." + }, + "q-search/inverted-light": { + "type": "boolean", + "description": "Boolean value." + }, + "q-search/hide-underline": { + "type": "boolean", + "description": "Boolean value." + }, + "q-search/no-parent-field": { + "type": "boolean", + "description": "Boolean value." + }, + "q-search/autofocus": { + "type": "boolean|string", + "description": "One of boolean or string." + }, + "q-search/max-height": { + "type": "number", + "description": "Number value." + }, + "q-search/loading": { + "type": "boolean", + "description": "Boolean value." + }, + "q-search/type": { + "type": "string", + "description": "String value." + }, + "q-search/debounce": { + "type": "number", + "description": "Number value." + }, + "q-search/icon": { + "type": "string", + "description": "String value." + }, + "q-search/no-icon": { + "type": "boolean", + "description": "Boolean value." + }, + "q-search/upper-case": { + "type": "boolean", + "description": "Boolean value." + }, + "q-search/lower-case": { + "type": "boolean", + "description": "Boolean value." + }, + "q-select/prefix": { + "type": "string", + "description": "String value." + }, + "q-select/suffix": { + "type": "string", + "description": "String value." + }, + "q-select/stack-label": { + "type": "string", + "description": "String value." + }, + "q-select/float-label": { + "type": "string", + "description": "String value." + }, + "q-select/placeholder": { + "type": "string", + "description": "String value." + }, + "q-select/error": { + "type": "boolean", + "description": "Boolean value." + }, + "q-select/warning": { + "type": "boolean", + "description": "Boolean value." + }, + "q-select/disable": { + "type": "boolean", + "description": "Boolean value." + }, + "q-select/readonly": { + "type": "boolean", + "description": "Boolean value." + }, + "q-select/clearable": { + "type": "boolean", + "description": "Boolean value." + }, + "q-select/color": { + "type": "string", + "description": "String value." + }, + "q-select/dark": { + "type": "boolean", + "description": "Boolean value." + }, + "q-select/before": { + "type": "array", + "description": "Array value." + }, + "q-select/after": { + "type": "array", + "description": "Array value." + }, + "q-select/inverted": { + "type": "boolean", + "description": "Boolean value." + }, + "q-select/inverted-light": { + "type": "boolean", + "description": "Boolean value." + }, + "q-select/hide-underline": { + "type": "boolean", + "description": "Boolean value." + }, + "q-select/no-parent-field": { + "type": "boolean", + "description": "Boolean value." + }, + "q-select/filter": { + "type": "function|boolean", + "description": "One of function or boolean." + }, + "q-select/filter-placeholder": { + "type": "string", + "description": "String value." + }, + "q-select/radio": { + "type": "boolean", + "description": "Boolean value." + }, + "q-select/separator": { + "type": "boolean", + "description": "Boolean value." + }, + "q-select/multiple": { + "type": "boolean", + "description": "Boolean value." + }, + "q-select/toggle": { + "type": "boolean", + "description": "Boolean value." + }, + "q-select/chips": { + "type": "boolean", + "description": "Boolean value." + }, + "q-select/options": { + "type": "array", + "description": "Array value." + }, + "q-select/chips-color": { + "type": "string", + "description": "String value." + }, + "q-select/chips-bg-color": { + "type": "string", + "description": "String value." + }, + "q-select/display-value": { + "type": "string", + "description": "String value." + }, + "q-select/popup-max-height": { + "type": "string", + "description": "String value." + }, + "q-select/popup-cover": { + "type": "boolean", + "description": "Boolean value." + }, + "q-slide-transition/appear": { + "type": "boolean", + "description": "Boolean value." + }, + "q-slide-transition/duration": { + "type": "number", + "description": "Number value." + }, + "q-slider/min": { + "type": "number", + "description": "Number value." + }, + "q-slider/max": { + "type": "number", + "description": "Number value." + }, + "q-slider/step": { + "type": "number", + "description": "Number value." + }, + "q-slider/decimals": { + "type": "number", + "description": "Number value." + }, + "q-slider/snap": { + "type": "boolean", + "description": "Boolean value." + }, + "q-slider/markers": { + "type": "boolean", + "description": "Boolean value." + }, + "q-slider/label": { + "type": "boolean", + "description": "Boolean value." + }, + "q-slider/label-always": { + "type": "boolean", + "description": "Boolean value." + }, + "q-slider/square": { + "type": "boolean", + "description": "Boolean value." + }, + "q-slider/color": { + "type": "string", + "description": "String value." + }, + "q-slider/fill-handle-always": { + "type": "boolean", + "description": "Boolean value." + }, + "q-slider/error": { + "type": "boolean", + "description": "Boolean value." + }, + "q-slider/warning": { + "type": "boolean", + "description": "Boolean value." + }, + "q-slider/readonly": { + "type": "boolean", + "description": "Boolean value." + }, + "q-slider/disable": { + "type": "boolean", + "description": "Boolean value." + }, + "q-slider/label-value": { + "type": "string", + "description": "String value." + }, + "q-spinner-mat/color": { + "type": "string", + "description": "String value." + }, + "q-spinner-mat/size": { + "type": "number|string", + "description": "One of number or string." + }, + "q-spinner/color": { + "type": "string", + "description": "String value." + }, + "q-spinner/size": { + "type": "number|string", + "description": "One of number or string." + }, + "q-spinner-audio/color": { + "type": "string", + "description": "String value." + }, + "q-spinner-audio/size": { + "type": "number|string", + "description": "One of number or string." + }, + "q-spinner-ball/color": { + "type": "string", + "description": "String value." + }, + "q-spinner-ball/size": { + "type": "number|string", + "description": "One of number or string." + }, + "q-spinner-bars/color": { + "type": "string", + "description": "String value." + }, + "q-spinner-bars/size": { + "type": "number|string", + "description": "One of number or string." + }, + "q-spinner-circles/color": { + "type": "string", + "description": "String value." + }, + "q-spinner-circles/size": { + "type": "number|string", + "description": "One of number or string." + }, + "q-spinner-comment/color": { + "type": "string", + "description": "String value." + }, + "q-spinner-comment/size": { + "type": "number|string", + "description": "One of number or string." + }, + "q-spinner-cube/color": { + "type": "string", + "description": "String value." + }, + "q-spinner-cube/size": { + "type": "number|string", + "description": "One of number or string." + }, + "q-spinner-dots/color": { + "type": "string", + "description": "String value." + }, + "q-spinner-dots/size": { + "type": "number|string", + "description": "One of number or string." + }, + "q-spinner-facebook/color": { + "type": "string", + "description": "String value." + }, + "q-spinner-facebook/size": { + "type": "number|string", + "description": "One of number or string." + }, + "q-spinner-gears/color": { + "type": "string", + "description": "String value." + }, + "q-spinner-gears/size": { + "type": "number|string", + "description": "One of number or string." + }, + "q-spinner-grid/color": { + "type": "string", + "description": "String value." + }, + "q-spinner-grid/size": { + "type": "number|string", + "description": "One of number or string." + }, + "q-spinner-hearts/color": { + "type": "string", + "description": "String value." + }, + "q-spinner-hearts/size": { + "type": "number|string", + "description": "One of number or string." + }, + "q-spinner-hourglass/color": { + "type": "string", + "description": "String value." + }, + "q-spinner-hourglass/size": { + "type": "number|string", + "description": "One of number or string." + }, + "q-spinner-infinity/color": { + "type": "string", + "description": "String value." + }, + "q-spinner-infinity/size": { + "type": "number|string", + "description": "One of number or string." + }, + "q-spinner-ios/color": { + "type": "string", + "description": "String value." + }, + "q-spinner-ios/size": { + "type": "number|string", + "description": "One of number or string." + }, + "q-spinner-oval/color": { + "type": "string", + "description": "String value." + }, + "q-spinner-oval/size": { + "type": "number|string", + "description": "One of number or string." + }, + "q-spinner-pie/color": { + "type": "string", + "description": "String value." + }, + "q-spinner-pie/size": { + "type": "number|string", + "description": "One of number or string." + }, + "q-spinner-puff/color": { + "type": "string", + "description": "String value." + }, + "q-spinner-puff/size": { + "type": "number|string", + "description": "One of number or string." + }, + "q-spinner-radio/color": { + "type": "string", + "description": "String value." + }, + "q-spinner-radio/size": { + "type": "number|string", + "description": "One of number or string." + }, + "q-spinner-rings/color": { + "type": "string", + "description": "String value." + }, + "q-spinner-rings/size": { + "type": "number|string", + "description": "One of number or string." + }, + "q-spinner-tail/color": { + "type": "string", + "description": "String value." + }, + "q-spinner-tail/size": { + "type": "number|string", + "description": "One of number or string." + }, + "q-step/name": { + "type": "number|string", + "description": "One of number or string." + }, + "q-step/default": { + "type": "boolean", + "description": "Boolean value." + }, + "q-step/title": { + "type": "string", + "description": "String value." + }, + "q-step/subtitle": { + "type": "string", + "description": "String value." + }, + "q-step/icon": { + "type": "string", + "description": "String value." + }, + "q-step/order": { + "type": "number|string", + "description": "One of number or string." + }, + "q-step/error": { + "type": "boolean", + "description": "Boolean value." + }, + "q-step/active-icon": { + "type": "string", + "description": "String value." + }, + "q-step/error-icon": { + "type": "string", + "description": "String value." + }, + "q-step/done-icon": { + "type": "string", + "description": "String value." + }, + "q-step/disable": { + "type": "boolean", + "description": "Boolean value." + }, + "q-stepper/color": { + "type": "string", + "description": "String value." + }, + "q-stepper/vertical": { + "type": "boolean", + "description": "Boolean value." + }, + "q-stepper/alternative-labels": { + "type": "boolean", + "description": "Boolean value." + }, + "q-stepper/no-header-navigation": { + "type": "boolean", + "description": "Boolean value." + }, + "q-stepper/contractable": { + "type": "boolean", + "description": "Boolean value." + }, + "q-stepper/done-icon": { + "type": "boolean", + "description": "Boolean value." + }, + "q-stepper/active-icon": { + "type": "boolean", + "description": "Boolean value." + }, + "q-stepper/error-icon": { + "type": "boolean", + "description": "Boolean value." + }, + "q-route-tab/label": { + "type": "string", + "description": "String value." + }, + "q-route-tab/icon": { + "type": "string", + "description": "String value." + }, + "q-route-tab/disable": { + "type": "boolean", + "description": "Boolean value." + }, + "q-route-tab/hidden": { + "type": "boolean", + "description": "Boolean value." + }, + "q-route-tab/hide": { + "type": "string", + "description": "String value." + }, + "q-route-tab/name": { + "type": "string", + "description": "String value." + }, + "q-route-tab/alert": { + "type": "boolean", + "description": "Boolean value." + }, + "q-route-tab/count": { + "type": "number|string", + "description": "One of number or string." + }, + "q-route-tab/color": { + "type": "string", + "description": "String value." + }, + "q-route-tab/tabindex": { + "type": "number", + "description": "Number value." + }, + "q-route-tab/to": { + "type": "string|object", + "description": "One of string or object." + }, + "q-route-tab/exact": { + "type": "boolean", + "description": "Boolean value." + }, + "q-route-tab/append": { + "type": "boolean", + "description": "Boolean value." + }, + "q-route-tab/replace": { + "type": "boolean", + "description": "Boolean value." + }, + "q-route-tab/event": { + "type": "string|array", + "description": "One of string or array." + }, + "q-route-tab/active-class": { + "type": "string", + "description": "String value." + }, + "q-route-tab/exact-active-class": { + "type": "string", + "description": "String value." + }, + "q-tab/label": { + "type": "string", + "description": "String value." + }, + "q-tab/icon": { + "type": "string", + "description": "String value." + }, + "q-tab/disable": { + "type": "boolean", + "description": "Boolean value." + }, + "q-tab/hidden": { + "type": "boolean", + "description": "Boolean value." + }, + "q-tab/hide": { + "type": "string", + "description": "String value." + }, + "q-tab/name": { + "type": "string", + "description": "String value." + }, + "q-tab/alert": { + "type": "boolean", + "description": "Boolean value." + }, + "q-tab/count": { + "type": "number|string", + "description": "One of number or string." + }, + "q-tab/color": { + "type": "string", + "description": "String value." + }, + "q-tab/tabindex": { + "type": "number", + "description": "Number value." + }, + "q-tab/default": { + "type": "boolean", + "description": "Boolean value." + }, + "q-tab-pane/name": { + "type": "string", + "description": "String value." + }, + "q-tab-pane/keep-alive": { + "type": "boolean", + "description": "Boolean value." + }, + "q-tabs/align": { + "type": "string", + "description": "String value." + }, + "q-tabs/position": { + "type": "string", + "description": "String value." + }, + "q-tabs/color": { + "type": "string", + "description": "String value." + }, + "q-tabs/text-color": { + "type": "string", + "description": "String value." + }, + "q-tabs/inverted": { + "type": "boolean", + "description": "Boolean value." + }, + "q-tabs/two-lines": { + "type": "boolean", + "description": "Boolean value." + }, + "q-tabs/glossy": { + "type": "boolean", + "description": "Boolean value." + }, + "q-tabs/animated": { + "type": "boolean", + "description": "Boolean value." + }, + "q-tabs/swipeable": { + "type": "boolean", + "description": "Boolean value." + }, + "q-tabs/panes-container-class": { + "type": "string", + "description": "String value." + }, + "q-tabs/underline-color": { + "type": "string", + "description": "String value." + }, + "q-table/sort-method": { + "type": "function", + "description": "Function value." + }, + "q-table/filter": { + "type": "string|object", + "description": "One of string or object." + }, + "q-table/filter-method": { + "type": "function", + "description": "Function value." + }, + "q-table/pagination": { + "type": "object", + "description": "Object value." + }, + "q-table/rows-per-page-options": { + "type": "array", + "description": "Array value." + }, + "q-table/selection": { + "type": "string", + "description": "String value." + }, + "q-table/selected": { + "type": "array", + "description": "Array value." + }, + "q-table/visible-columns": { + "type": "array", + "description": "Array value." + }, + "q-table/data": { + "type": "array", + "description": "Array value." + }, + "q-table/row-key": { + "type": "string", + "description": "String value." + }, + "q-table/color": { + "type": "string", + "description": "String value." + }, + "q-table/grid": { + "type": "boolean", + "description": "Boolean value." + }, + "q-table/dense": { + "type": "boolean", + "description": "Boolean value." + }, + "q-table/columns": { + "type": "array", + "description": "Array value." + }, + "q-table/loading": { + "type": "boolean", + "description": "Boolean value." + }, + "q-table/title": { + "type": "string", + "description": "String value." + }, + "q-table/hide-header": { + "type": "boolean", + "description": "Boolean value." + }, + "q-table/hide-bottom": { + "type": "boolean", + "description": "Boolean value." + }, + "q-table/dark": { + "type": "boolean", + "description": "Boolean value." + }, + "q-table/separator": { + "type": "string", + "description": "String value." + }, + "q-table/binary-state-sort": { + "type": "boolean", + "description": "Boolean value." + }, + "q-table/no-data-label": { + "type": "string", + "description": "String value." + }, + "q-table/no-results-label": { + "type": "string", + "description": "String value." + }, + "q-table/loading-label": { + "type": "string", + "description": "String value." + }, + "q-table/selected-rows-label": { + "type": "function", + "description": "Function value." + }, + "q-table/rows-per-page-label": { + "type": "string", + "description": "String value." + }, + "q-table/pagination-label": { + "type": "function", + "description": "Function value." + }, + "q-table/table-style": { + "type": "string|array|object", + "description": "One of string, array, or object." + }, + "q-table/table-class": { + "type": "string|array|object", + "description": "One of string, array, or object." + }, + "q-th/props": { + "type": "object", + "description": "Object value." + }, + "q-th/auto-width": { + "type": "boolean", + "description": "Boolean value." + }, + "q-tr/props": { + "type": "object", + "description": "Object value." + }, + "q-td/props": { + "type": "object", + "description": "Object value." + }, + "q-td/auto-width": { + "type": "boolean", + "description": "Boolean value." + }, + "q-table-columns/label": { + "type": "string", + "description": "String value." + }, + "q-table-columns/columns": { + "type": "array", + "description": "Array value." + }, + "q-table-columns/color": { + "type": "string", + "description": "String value." + }, + "q-table-columns/dark": { + "type": "boolean", + "description": "Boolean value." + }, + "q-timeline/color": { + "type": "string", + "description": "String value." + }, + "q-timeline/responsive": { + "type": "boolean", + "description": "Boolean value." + }, + "q-timeline/no-hover": { + "type": "boolean", + "description": "Boolean value." + }, + "q-timeline/dark": { + "type": "boolean", + "description": "Boolean value." + }, + "q-timeline-entry/heading": { + "type": "boolean", + "description": "Boolean value." + }, + "q-timeline-entry/tag": { + "type": "string", + "description": "String value." + }, + "q-timeline-entry/side": { + "type": "string", + "description": "String value." + }, + "q-timeline-entry/icon": { + "type": "string", + "description": "String value." + }, + "q-timeline-entry/color": { + "type": "string", + "description": "String value." + }, + "q-timeline-entry/title": { + "type": "string", + "description": "String value." + }, + "q-timeline-entry/subtitle": { + "type": "string", + "description": "String value." + }, + "q-toggle/label": { + "type": "string", + "description": "String value." + }, + "q-toggle/left-label": { + "type": "boolean", + "description": "Boolean value." + }, + "q-toggle/color": { + "type": "string", + "description": "String value." + }, + "q-toggle/keep-color": { + "type": "boolean", + "description": "Boolean value." + }, + "q-toggle/dark": { + "type": "boolean", + "description": "Boolean value." + }, + "q-toggle/disable": { + "type": "boolean", + "description": "Boolean value." + }, + "q-toggle/readonly": { + "type": "boolean", + "description": "Boolean value." + }, + "q-toggle/no-focus": { + "type": "boolean", + "description": "Boolean value." + }, + "q-toggle/checked-icon": { + "type": "string", + "description": "String value." + }, + "q-toggle/unchecked-icon": { + "type": "string", + "description": "String value." + }, + "q-toggle/icon": { + "type": "string", + "description": "String value." + }, + "q-toolbar/color": { + "type": "string", + "description": "String value." + }, + "q-toolbar/text-color": { + "type": "string", + "description": "String value." + }, + "q-toolbar/inverted": { + "type": "boolean", + "description": "Boolean value." + }, + "q-toolbar/glossy": { + "type": "boolean", + "description": "Boolean value." + }, + "q-toolbar-title/shrink": { + "type": "boolean", + "description": "Boolean value." + }, + "q-tooltip/anchor": { + "type": "string", + "description": "String value." + }, + "q-tooltip/self": { + "type": "string", + "description": "String value." + }, + "q-tooltip/offset": { + "type": "array", + "description": "Array value." + }, + "q-tooltip/delay": { + "type": "number", + "description": "Number value." + }, + "q-tooltip/max-height": { + "type": "string", + "description": "String value." + }, + "q-tooltip/disable": { + "type": "boolean", + "description": "Boolean value." + }, + "q-tree/nodes": { + "type": "array", + "description": "Array value." + }, + "q-tree/node-key": { + "type": "string", + "description": "String value." + }, + "q-tree/label-key": { + "type": "string", + "description": "String value." + }, + "q-tree/color": { + "type": "string", + "description": "String value." + }, + "q-tree/control-color": { + "type": "string", + "description": "String value." + }, + "q-tree/text-color": { + "type": "string", + "description": "String value." + }, + "q-tree/dark": { + "type": "boolean", + "description": "Boolean value." + }, + "q-tree/icon": { + "type": "string", + "description": "String value." + }, + "q-tree/tick-strategy": { + "type": "string", + "description": "String value." + }, + "q-tree/ticked": { + "type": "array", + "description": "Array value." + }, + "q-tree/expanded": { + "type": "array", + "description": "Array value." + }, + "q-tree/default-expand-all": { + "type": "boolean", + "description": "Boolean value." + }, + "q-tree/accordion": { + "type": "boolean", + "description": "Boolean value." + }, + "q-tree/filter": { + "type": "string", + "description": "String value." + }, + "q-tree/filter-method": { + "type": "function", + "description": "Function value." + }, + "q-tree/duration": { + "type": "number", + "description": "Number value." + }, + "q-tree/no-nodes-label": { + "type": "string", + "description": "String value." + }, + "q-tree/no-results-label": { + "type": "string", + "description": "String value." + }, + "q-uploader/prefix": { + "type": "string", + "description": "String value." + }, + "q-uploader/suffix": { + "type": "string", + "description": "String value." + }, + "q-uploader/stack-label": { + "type": "string", + "description": "String value." + }, + "q-uploader/float-label": { + "type": "string", + "description": "String value." + }, + "q-uploader/placeholder": { + "type": "string", + "description": "String value." + }, + "q-uploader/error": { + "type": "boolean", + "description": "Boolean value." + }, + "q-uploader/warning": { + "type": "boolean", + "description": "Boolean value." + }, + "q-uploader/disable": { + "type": "boolean", + "description": "Boolean value." + }, + "q-uploader/readonly": { + "type": "boolean", + "description": "Boolean value." + }, + "q-uploader/clearable": { + "type": "boolean", + "description": "Boolean value." + }, + "q-uploader/color": { + "type": "string", + "description": "String value." + }, + "q-uploader/dark": { + "type": "boolean", + "description": "Boolean value." + }, + "q-uploader/before": { + "type": "array", + "description": "Array value." + }, + "q-uploader/after": { + "type": "array", + "description": "Array value." + }, + "q-uploader/inverted": { + "type": "boolean", + "description": "Boolean value." + }, + "q-uploader/inverted-light": { + "type": "boolean", + "description": "Boolean value." + }, + "q-uploader/hide-underline": { + "type": "boolean", + "description": "Boolean value." + }, + "q-uploader/no-parent-field": { + "type": "boolean", + "description": "Boolean value." + }, + "q-uploader/name": { + "type": "string", + "description": "String value." + }, + "q-uploader/headers": { + "type": "object", + "description": "Object value." + }, + "q-uploader/url": { + "type": "string", + "description": "String value." + }, + "q-uploader/url-factory": { + "type": "function", + "description": "Function value." + }, + "q-uploader/upload-factory": { + "type": "function", + "description": "Function value." + }, + "q-uploader/additional-fields": { + "type": "array", + "description": "Array value." + }, + "q-uploader/no-content-type": { + "type": "boolean", + "description": "Boolean value." + }, + "q-uploader/method": { + "type": "string", + "description": "String value." + }, + "q-uploader/filter": { + "type": "function", + "description": "Function value." + }, + "q-uploader/extensions": { + "type": "string", + "description": "String value." + }, + "q-uploader/multiple": { + "type": "boolean", + "description": "Boolean value." + }, + "q-uploader/hide-upload-button": { + "type": "boolean", + "description": "Boolean value." + }, + "q-uploader/hide-upload-progress": { + "type": "boolean", + "description": "Boolean value." + }, + "q-uploader/no-thumbnails": { + "type": "boolean", + "description": "Boolean value." + }, + "q-uploader/auto-expand": { + "type": "boolean", + "description": "Boolean value." + }, + "q-uploader/expand-style": { + "type": "array|string|object", + "description": "One of array, string, or object." + }, + "q-uploader/expand-class": { + "type": "array|string|object", + "description": "One of array, string, or object." + }, + "q-uploader/with-credentials": { + "type": "boolean", + "description": "Boolean value." + }, + "q-uploader/send-raw": { + "type": "boolean", + "description": "Boolean value." + }, + "q-video/src": { + "type": "string", + "description": "String value." + } +} \ No newline at end of file diff --git a/node_modules/quasar-framework/dist/helper-json/quasar-tags.json b/node_modules/quasar-framework/dist/helper-json/quasar-tags.json new file mode 100644 index 0000000..085b13b --- /dev/null +++ b/node_modules/quasar-framework/dist/helper-json/quasar-tags.json @@ -0,0 +1,1566 @@ +{ + "q-action-sheet": { + "attributes": [ + "title", + "grid", + "actions", + "dismiss-label" + ], + "description": "" + }, + "q-ajax-bar": { + "attributes": [ + "position", + "size", + "color", + "skip-hijack", + "reverse" + ], + "description": "" + }, + "q-alert": { + "attributes": [ + "type", + "color", + "text-color", + "message", + "detail", + "icon", + "avatar", + "actions" + ], + "description": "" + }, + "q-autocomplete": { + "attributes": [ + "min-characters", + "max-results", + "max-height", + "debounce", + "filter", + "static-data", + "value-field", + "separator" + ], + "description": "" + }, + "q-breadcrumbs": { + "attributes": [ + "align", + "color", + "active-color", + "separator" + ], + "description": "" + }, + "q-breadcrumbs-el": { + "attributes": [ + "to", + "exact", + "append", + "replace", + "event", + "active-class", + "exact-active-class", + "label", + "icon", + "color" + ], + "description": "" + }, + "q-btn": { + "attributes": [ + "align", + "type", + "loading", + "disable", + "label", + "no-caps", + "no-wrap", + "icon", + "icon-right", + "round", + "outline", + "flat", + "rounded", + "push", + "size", + "fab", + "fab-mini", + "color", + "text-color", + "glossy", + "dense", + "no-ripple", + "tabindex", + "to", + "replace", + "percentage", + "dark-percentage", + "wait-for-ripple", + "repeat-timeout" + ], + "description": "" + }, + "q-btn-group": { + "attributes": [ + "outline", + "flat", + "rounded", + "push" + ], + "description": "" + }, + "q-btn-dropdown": { + "attributes": [ + "align", + "type", + "loading", + "disable", + "label", + "no-caps", + "no-wrap", + "icon", + "icon-right", + "round", + "outline", + "flat", + "rounded", + "push", + "size", + "fab", + "fab-mini", + "color", + "text-color", + "glossy", + "dense", + "no-ripple", + "tabindex", + "to", + "replace", + "split", + "content-class", + "content-style", + "popover-anchor", + "popover-self" + ], + "description": "" + }, + "q-btn-toggle": { + "attributes": [ + "color", + "text-color", + "toggle-color", + "toggle-text-color", + "options", + "readonly", + "disable", + "no-caps", + "no-wrap", + "outline", + "flat", + "dense", + "rounded", + "push", + "size", + "glossy", + "no-ripple", + "wait-for-ripple" + ], + "description": "" + }, + "q-card": { + "attributes": [ + "dark", + "square", + "flat", + "inline", + "color", + "text-color" + ], + "description": "" + }, + "q-card-title": { + "attributes": [], + "description": "" + }, + "q-card-main": { + "attributes": [], + "description": "" + }, + "q-card-actions": { + "attributes": [ + "vertical", + "align" + ], + "description": "" + }, + "q-card-media": { + "attributes": [ + "overlay-position" + ], + "description": "" + }, + "q-card-separator": { + "attributes": [ + "inset" + ], + "description": "" + }, + "q-carousel": { + "attributes": [ + "color", + "height", + "arrows", + "infinite", + "animation", + "easing", + "swipe-easing", + "no-swipe", + "autoplay", + "handle-arrow-keys", + "quick-nav", + "quick-nav-position", + "quick-nav-icon", + "thumbnails", + "thumbnails-icon", + "thumbnails-horizontal" + ], + "description": "" + }, + "q-carousel-slide": { + "attributes": [ + "img-src" + ], + "description": "" + }, + "q-carousel-control": { + "attributes": [ + "position", + "offset" + ], + "description": "" + }, + "q-chat-message": { + "attributes": [ + "sent", + "label", + "bg-color", + "text-color", + "name", + "avatar", + "text", + "stamp", + "size" + ], + "description": "" + }, + "q-checkbox": { + "attributes": [ + "val", + "true-value", + "false-value", + "label", + "left-label", + "color", + "keep-color", + "dark", + "disable", + "readonly", + "no-focus", + "checked-icon", + "unchecked-icon", + "toggle-indeterminate", + "indeterminate-value", + "indeterminate-icon" + ], + "description": "" + }, + "q-chip": { + "attributes": [ + "small", + "dense", + "tag", + "square", + "floating", + "pointing", + "color", + "text-color", + "icon", + "icon-right", + "avatar", + "closable", + "detail" + ], + "description": "" + }, + "q-chips-input": { + "attributes": [ + "align", + "prefix", + "suffix", + "stack-label", + "float-label", + "placeholder", + "error", + "warning", + "disable", + "readonly", + "clearable", + "color", + "dark", + "before", + "after", + "inverted", + "inverted-light", + "hide-underline", + "clear-value", + "no-parent-field", + "autofocus", + "loading", + "chips-color", + "chips-bg-color", + "add-icon", + "upper-case", + "lower-case" + ], + "description": "" + }, + "q-collapsible": { + "attributes": [ + "to", + "exact", + "append", + "replace", + "event", + "active-class", + "exact-active-class", + "dark", + "dense", + "sparse", + "separator", + "inset-separator", + "multiline", + "highlight", + "tag", + "icon", + "right-icon", + "image", + "right-image", + "avatar", + "right-avatar", + "letter", + "right-letter", + "label", + "sublabel", + "label-lines", + "sublabel-lines", + "disable", + "popup", + "indent", + "group", + "icon-toggle", + "collapse-icon", + "opened", + "duration", + "header-style", + "header-class" + ], + "description": "" + }, + "q-color": { + "attributes": [ + "align", + "prefix", + "suffix", + "stack-label", + "float-label", + "placeholder", + "error", + "warning", + "disable", + "readonly", + "clearable", + "color", + "dark", + "before", + "after", + "inverted", + "inverted-light", + "hide-underline", + "clear-value", + "no-parent-field", + "popover", + "modal", + "default-value", + "format-model", + "display-value", + "ok-label", + "cancel-label" + ], + "description": "" + }, + "q-color-picker": { + "attributes": [ + "no-parent-field", + "default-value", + "format-model", + "disable", + "readonly", + "dark" + ], + "description": "" + }, + "q-context-menu": { + "attributes": [ + "disable" + ], + "description": "" + }, + "q-datetime": { + "attributes": [ + "align", + "prefix", + "suffix", + "stack-label", + "float-label", + "placeholder", + "error", + "warning", + "disable", + "readonly", + "clearable", + "color", + "dark", + "before", + "after", + "inverted", + "inverted-light", + "hide-underline", + "clear-value", + "no-parent-field", + "popover", + "modal", + "format", + "ok-label", + "cancel-label", + "display-value", + "default-value", + "type", + "min", + "max", + "header-label", + "first-day-of-week", + "format-model", + "format24h", + "default-view", + "minimal" + ], + "description": "" + }, + "q-datetime-picker": { + "attributes": [ + "default-value", + "type", + "color", + "dark", + "min", + "max", + "header-label", + "first-day-of-week", + "format-model", + "format24h", + "default-view", + "minimal", + "no-parent-field", + "disable", + "readonly" + ], + "description": "" + }, + "q-dialog": { + "attributes": [ + "title", + "message", + "prompt", + "options", + "ok", + "cancel", + "stack-buttons", + "prevent-close", + "no-backdrop-dismiss", + "no-esc-dismiss", + "no-refocus", + "position", + "color" + ], + "description": "" + }, + "q-editor": { + "attributes": [ + "readonly", + "disable", + "min-height", + "max-height", + "height", + "definitions", + "fonts", + "toolbar", + "toolbar-color", + "toolbar-text-color", + "toolbar-toggle-color", + "toolbar-bg", + "toolbar-flat", + "toolbar-outline", + "toolbar-push", + "toolbar-rounded", + "content-style", + "content-class" + ], + "description": "" + }, + "q-fab": { + "attributes": [ + "outline", + "push", + "flat", + "color", + "text-color", + "glossy", + "icon", + "active-icon", + "direction", + "persistent" + ], + "description": "" + }, + "q-fab-action": { + "attributes": [ + "outline", + "push", + "flat", + "color", + "text-color", + "glossy", + "icon" + ], + "description": "" + }, + "q-field": { + "attributes": [ + "inset", + "label", + "count", + "error", + "error-label", + "warning", + "warning-label", + "helper", + "icon", + "icon-color", + "dark", + "orientation", + "label-width" + ], + "description": "" + }, + "q-icon": { + "attributes": [ + "name", + "color", + "size" + ], + "description": "" + }, + "q-infinite-scroll": { + "attributes": [ + "handler", + "inline", + "offset" + ], + "description": "" + }, + "q-inner-loading": { + "attributes": [ + "dark", + "visible", + "size", + "color" + ], + "description": "" + }, + "q-input": { + "attributes": [ + "align", + "prefix", + "suffix", + "stack-label", + "float-label", + "placeholder", + "error", + "warning", + "disable", + "readonly", + "clearable", + "color", + "dark", + "before", + "after", + "inverted", + "inverted-light", + "hide-underline", + "clear-value", + "no-parent-field", + "autofocus", + "max-height", + "loading", + "type", + "no-pass-toggle", + "numeric-keyboard-toggle", + "decimals", + "step", + "upper-case", + "lower-case", + "initial-show-password" + ], + "description": "" + }, + "q-jumbotron": { + "attributes": [ + "dark", + "tag", + "img-src", + "gradient" + ], + "description": "" + }, + "q-knob": { + "attributes": [ + "min", + "max", + "color", + "track-color", + "line-width", + "size", + "step", + "decimals", + "disable", + "readonly" + ], + "description": "" + }, + "q-layout": { + "attributes": [ + "container", + "view" + ], + "description": "" + }, + "q-layout-drawer": { + "attributes": [ + "overlay", + "side", + "width", + "mini", + "mini-width", + "breakpoint", + "behavior", + "show-if-above", + "content-style", + "content-class", + "no-hide-on-route-change", + "no-swipe-open", + "no-swipe-close" + ], + "description": "" + }, + "q-layout-footer": { + "attributes": [ + "reveal" + ], + "description": "" + }, + "q-layout-header": { + "attributes": [ + "reveal", + "reveal-offset" + ], + "description": "" + }, + "q-page": { + "attributes": [ + "padding", + "style-fn" + ], + "description": "" + }, + "q-page-container": { + "attributes": [], + "description": "" + }, + "q-page-sticky": { + "attributes": [ + "position", + "offset", + "expand" + ], + "description": "" + }, + "q-item": { + "attributes": [ + "to", + "exact", + "append", + "replace", + "event", + "active-class", + "exact-active-class", + "dark", + "link", + "dense", + "sparse", + "separator", + "inset-separator", + "multiline", + "highlight", + "tag", + "active" + ], + "description": "" + }, + "q-item-separator": { + "attributes": [ + "inset" + ], + "description": "" + }, + "q-item-main": { + "attributes": [ + "label", + "label-lines", + "sublabel", + "sublabel-lines", + "inset", + "tag" + ], + "description": "" + }, + "q-item-side": { + "attributes": [ + "right", + "icon", + "letter", + "inverted", + "avatar", + "image", + "stamp", + "color", + "text-color" + ], + "description": "" + }, + "q-item-tile": { + "attributes": [ + "icon", + "letter", + "inverted", + "image", + "avatar", + "stamp", + "label", + "sublabel", + "lines", + "tag", + "color", + "text-color" + ], + "description": "" + }, + "q-list": { + "attributes": [ + "no-border", + "dark", + "dense", + "sparse", + "striped", + "striped-odd", + "separator", + "inset-separator", + "multiline", + "highlight", + "link" + ], + "description": "" + }, + "q-list-header": { + "attributes": [ + "inset" + ], + "description": "" + }, + "q-modal": { + "attributes": [ + "position", + "transition", + "enter-class", + "leave-class", + "position-classes", + "content-classes", + "content-css", + "no-backdrop-dismiss", + "no-esc-dismiss", + "no-route-dismiss", + "no-refocus", + "minimized", + "maximized" + ], + "description": "" + }, + "q-modal-layout": { + "attributes": [ + "header-style", + "header-class", + "content-style", + "content-class", + "footer-style", + "footer-class" + ], + "description": "" + }, + "q-no-ssr": { + "attributes": [ + "tag", + "placeholder" + ], + "description": "" + }, + "q-resize-observable": { + "attributes": [ + "debounce" + ], + "description": "" + }, + "q-scroll-observable": { + "attributes": [ + "debounce" + ], + "description": "" + }, + "q-window-resize-observable": { + "attributes": [ + "debounce" + ], + "description": "" + }, + "q-option-group": { + "attributes": [ + "no-parent-field", + "type", + "color", + "keep-color", + "dark", + "options", + "left-label", + "inline", + "disable", + "readonly" + ], + "description": "" + }, + "q-pagination": { + "attributes": [ + "min", + "max", + "color", + "text-color", + "size", + "disable", + "input", + "boundary-links", + "boundary-numbers", + "direction-links", + "ellipses", + "max-pages" + ], + "description": "" + }, + "q-parallax": { + "attributes": [ + "src", + "height", + "speed" + ], + "description": "" + }, + "q-popover": { + "attributes": [ + "anchor", + "self", + "fit", + "cover", + "persistent", + "keep-on-screen", + "max-height", + "touch-position", + "anchor-click", + "offset", + "no-focus", + "no-refocus", + "disable" + ], + "description": "" + }, + "q-popup-edit": { + "attributes": [ + "persistent", + "keep-on-screen", + "title", + "buttons", + "label-set", + "label-cancel", + "color", + "validate", + "disable" + ], + "description": "" + }, + "q-progress": { + "attributes": [ + "percentage", + "color", + "stripe", + "animate", + "indeterminate", + "buffer", + "height" + ], + "description": "" + }, + "q-pull-to-refresh": { + "attributes": [ + "handler", + "color", + "distance", + "pull-message", + "release-message", + "refresh-message", + "refresh-icon", + "inline", + "disable" + ], + "description": "" + }, + "q-radio": { + "attributes": [ + "label", + "left-label", + "color", + "keep-color", + "dark", + "disable", + "readonly", + "no-focus", + "checked-icon", + "unchecked-icon", + "val" + ], + "description": "" + }, + "q-range": { + "attributes": [ + "min", + "max", + "step", + "decimals", + "snap", + "markers", + "label", + "label-always", + "square", + "color", + "fill-handle-always", + "error", + "warning", + "readonly", + "disable", + "drag-range", + "drag-only-range", + "left-label-color", + "left-label-value", + "right-label-color", + "right-label-value" + ], + "description": "" + }, + "q-rating": { + "attributes": [ + "max", + "icon", + "color", + "size", + "readonly", + "disable" + ], + "description": "" + }, + "q-scroll-area": { + "attributes": [ + "thumb-style", + "content-style", + "content-active-style", + "delay" + ], + "description": "" + }, + "q-search": { + "attributes": [ + "align", + "prefix", + "suffix", + "stack-label", + "float-label", + "placeholder", + "error", + "warning", + "disable", + "readonly", + "clearable", + "color", + "dark", + "before", + "after", + "inverted", + "inverted-light", + "hide-underline", + "clear-value", + "no-parent-field", + "autofocus", + "max-height", + "loading", + "type", + "debounce", + "icon", + "no-icon", + "upper-case", + "lower-case" + ], + "description": "" + }, + "q-select": { + "attributes": [ + "align", + "prefix", + "suffix", + "stack-label", + "float-label", + "placeholder", + "error", + "warning", + "disable", + "readonly", + "clearable", + "color", + "dark", + "before", + "after", + "inverted", + "inverted-light", + "hide-underline", + "clear-value", + "no-parent-field", + "filter", + "filter-placeholder", + "radio", + "separator", + "multiple", + "toggle", + "chips", + "options", + "chips-color", + "chips-bg-color", + "display-value", + "popup-max-height", + "popup-cover" + ], + "description": "" + }, + "q-slide-transition": { + "attributes": [ + "appear", + "duration" + ], + "description": "" + }, + "q-slider": { + "attributes": [ + "min", + "max", + "step", + "decimals", + "snap", + "markers", + "label", + "label-always", + "square", + "color", + "fill-handle-always", + "error", + "warning", + "readonly", + "disable", + "label-value" + ], + "description": "" + }, + "q-spinner-mat": { + "attributes": [ + "color", + "size" + ], + "description": "" + }, + "q-spinner": { + "attributes": [ + "color", + "size" + ], + "description": "" + }, + "q-spinner-audio": { + "attributes": [ + "color", + "size" + ], + "description": "" + }, + "q-spinner-ball": { + "attributes": [ + "color", + "size" + ], + "description": "" + }, + "q-spinner-bars": { + "attributes": [ + "color", + "size" + ], + "description": "" + }, + "q-spinner-circles": { + "attributes": [ + "color", + "size" + ], + "description": "" + }, + "q-spinner-comment": { + "attributes": [ + "color", + "size" + ], + "description": "" + }, + "q-spinner-cube": { + "attributes": [ + "color", + "size" + ], + "description": "" + }, + "q-spinner-dots": { + "attributes": [ + "color", + "size" + ], + "description": "" + }, + "q-spinner-facebook": { + "attributes": [ + "color", + "size" + ], + "description": "" + }, + "q-spinner-gears": { + "attributes": [ + "color", + "size" + ], + "description": "" + }, + "q-spinner-grid": { + "attributes": [ + "color", + "size" + ], + "description": "" + }, + "q-spinner-hearts": { + "attributes": [ + "color", + "size" + ], + "description": "" + }, + "q-spinner-hourglass": { + "attributes": [ + "color", + "size" + ], + "description": "" + }, + "q-spinner-infinity": { + "attributes": [ + "color", + "size" + ], + "description": "" + }, + "q-spinner-ios": { + "attributes": [ + "color", + "size" + ], + "description": "" + }, + "q-spinner-oval": { + "attributes": [ + "color", + "size" + ], + "description": "" + }, + "q-spinner-pie": { + "attributes": [ + "color", + "size" + ], + "description": "" + }, + "q-spinner-puff": { + "attributes": [ + "color", + "size" + ], + "description": "" + }, + "q-spinner-radio": { + "attributes": [ + "color", + "size" + ], + "description": "" + }, + "q-spinner-rings": { + "attributes": [ + "color", + "size" + ], + "description": "" + }, + "q-spinner-tail": { + "attributes": [ + "color", + "size" + ], + "description": "" + }, + "q-step": { + "attributes": [ + "name", + "default", + "title", + "subtitle", + "icon", + "order", + "error", + "active-icon", + "error-icon", + "done-icon", + "disable" + ], + "description": "" + }, + "q-stepper": { + "attributes": [ + "color", + "vertical", + "alternative-labels", + "no-header-navigation", + "contractable", + "done-icon", + "active-icon", + "error-icon" + ], + "description": "" + }, + "q-stepper-navigation": { + "attributes": [], + "description": "" + }, + "q-route-tab": { + "attributes": [ + "label", + "icon", + "disable", + "hidden", + "hide", + "name", + "alert", + "count", + "color", + "tabindex", + "to", + "exact", + "append", + "replace", + "event", + "active-class", + "exact-active-class" + ], + "description": "" + }, + "q-tab": { + "attributes": [ + "label", + "icon", + "disable", + "hidden", + "hide", + "name", + "alert", + "count", + "color", + "tabindex", + "default" + ], + "description": "" + }, + "q-tab-pane": { + "attributes": [ + "name", + "keep-alive" + ], + "description": "" + }, + "q-tabs": { + "attributes": [ + "align", + "position", + "color", + "text-color", + "inverted", + "two-lines", + "glossy", + "animated", + "swipeable", + "panes-container-class", + "underline-color" + ], + "description": "" + }, + "q-table": { + "attributes": [ + "sort-method", + "filter", + "filter-method", + "pagination", + "rows-per-page-options", + "selection", + "selected", + "visible-columns", + "data", + "row-key", + "color", + "grid", + "dense", + "columns", + "loading", + "title", + "hide-header", + "hide-bottom", + "dark", + "separator", + "binary-state-sort", + "no-data-label", + "no-results-label", + "loading-label", + "selected-rows-label", + "rows-per-page-label", + "pagination-label", + "table-style", + "table-class" + ], + "description": "" + }, + "q-th": { + "attributes": [ + "props", + "auto-width" + ], + "description": "" + }, + "q-tr": { + "attributes": [ + "props" + ], + "description": "" + }, + "q-td": { + "attributes": [ + "props", + "auto-width" + ], + "description": "" + }, + "q-table-columns": { + "attributes": [ + "label", + "columns", + "color", + "dark" + ], + "description": "" + }, + "q-timeline": { + "attributes": [ + "color", + "responsive", + "no-hover", + "dark" + ], + "description": "" + }, + "q-timeline-entry": { + "attributes": [ + "heading", + "tag", + "side", + "icon", + "color", + "title", + "subtitle" + ], + "description": "" + }, + "q-toggle": { + "attributes": [ + "val", + "true-value", + "false-value", + "label", + "left-label", + "color", + "keep-color", + "dark", + "disable", + "readonly", + "no-focus", + "checked-icon", + "unchecked-icon", + "icon" + ], + "description": "" + }, + "q-toolbar": { + "attributes": [ + "color", + "text-color", + "inverted", + "glossy" + ], + "description": "" + }, + "q-toolbar-title": { + "attributes": [ + "shrink" + ], + "description": "" + }, + "q-tooltip": { + "attributes": [ + "anchor", + "self", + "offset", + "delay", + "max-height", + "disable" + ], + "description": "" + }, + "q-tree": { + "attributes": [ + "nodes", + "node-key", + "label-key", + "color", + "control-color", + "text-color", + "dark", + "icon", + "tick-strategy", + "ticked", + "expanded", + "selected", + "default-expand-all", + "accordion", + "filter", + "filter-method", + "duration", + "no-nodes-label", + "no-results-label" + ], + "description": "" + }, + "q-uploader": { + "attributes": [ + "align", + "prefix", + "suffix", + "stack-label", + "float-label", + "placeholder", + "error", + "warning", + "disable", + "readonly", + "clearable", + "color", + "dark", + "before", + "after", + "inverted", + "inverted-light", + "hide-underline", + "clear-value", + "no-parent-field", + "name", + "headers", + "url", + "url-factory", + "upload-factory", + "additional-fields", + "no-content-type", + "method", + "filter", + "extensions", + "multiple", + "hide-upload-button", + "hide-upload-progress", + "no-thumbnails", + "auto-expand", + "expand-style", + "expand-class", + "with-credentials", + "send-raw" + ], + "description": "" + }, + "q-video": { + "attributes": [ + "src" + ], + "description": "" + } +} \ No newline at end of file diff --git a/node_modules/quasar-framework/dist/quasar.ie.polyfills.js b/node_modules/quasar-framework/dist/quasar.ie.polyfills.js new file mode 100644 index 0000000..4c34866 --- /dev/null +++ b/node_modules/quasar-framework/dist/quasar.ie.polyfills.js @@ -0,0 +1,6 @@ +/*! + * Quasar Framework v0.17.20 + * (c) 2016-present Razvan Stoenescu + * Released under the MIT License. + */ +function objectOrFunction(e){var t=typeof e;return null!==e&&("object"===t||"function"===t)}function isFunction(e){return"function"==typeof e}"undefined"!=typeof window&&function(e){try{return void new t("test")}catch(e){}var t=function(t,r){r=r||{};var n=document.createEvent("MouseEvent");return n.initMouseEvent(t,r.bubbles||!1,r.cancelable||!1,r.view||e,r.detail||0,r.screenX||0,r.screenY||0,r.clientX||0,r.clientY||0,r.ctrlKey||!1,r.altKey||!1,r.shiftKey||!1,r.metaKey||!1,r.button||0,r.relatedTarget||null),n};t.prototype=Event.prototype,e.MouseEvent=t}(window),Array.prototype.findIndex||Object.defineProperty(Array.prototype,"findIndex",{value:function(e){if(null==this)throw new TypeError("Array.prototype.findIndex called on null or undefined");if("function"!=typeof e)throw new TypeError("predicate must be a function");for(var t=Object(this),r=t.length>>>0,n=arguments[1],o=0;o=0&&/(rv)(?::| )([\w.]+)/.exec(t)||t.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(t)||[];return{browser:i[5]||i[3]||i[1]||"",version:i[2]||i[4]||"0",versionNumber:i[4]||i[2]||"0",platform:e[0]||""}}function getPlatformMatch(t){return/(ipad)/.exec(t)||/(ipod)/.exec(t)||/(windows phone)/.exec(t)||/(iphone)/.exec(t)||/(kindle)/.exec(t)||/(silk)/.exec(t)||/(android)/.exec(t)||/(win)/.exec(t)||/(mac)/.exec(t)||/(linux)/.exec(t)||/(cros)/.exec(t)||/(playbook)/.exec(t)||/(bb)/.exec(t)||/(blackberry)/.exec(t)||[]}function getPlatform(t){var e=getMatch(t=(t||navigator.userAgent||navigator.vendor||window.opera).toLowerCase(),getPlatformMatch(t)),i={};return e.browser&&(i[e.browser]=!0,i.version=e.version,i.versionNumber=parseInt(e.versionNumber,10)),e.platform&&(i[e.platform]=!0),(i.android||i.bb||i.blackberry||i.ipad||i.iphone||i.ipod||i.kindle||i.playbook||i.silk||i["windows phone"])&&(i.mobile=!0),(i.ipod||i.ipad||i.iphone)&&(i.ios=!0),i["windows phone"]&&(i.winphone=!0,delete i["windows phone"]),(i.cros||i.mac||i.linux||i.win)&&(i.desktop=!0),(i.chrome||i.opr||i.safari||i.vivaldi)&&(i.webkit=!0),(i.rv||i.iemobile)&&(e.browser="ie",i.ie=!0),i.edge&&(e.browser="edge",i.edge=!0),(i.safari&&i.blackberry||i.bb)&&(e.browser="blackberry",i.blackberry=!0),i.safari&&i.playbook&&(e.browser="playbook",i.playbook=!0),i.opr&&(e.browser="opera",i.opera=!0),i.safari&&i.android&&(e.browser="android",i.android=!0),i.safari&&i.kindle&&(e.browser="kindle",i.kindle=!0),i.safari&&i.silk&&(e.browser="silk",i.silk=!0),i.vivaldi&&(e.browser="vivaldi",i.vivaldi=!0),i.name=e.browser,i.platform=e.platform,isSSR||(window.process&&window.process.versions&&window.process.versions.electron?i.electron=!0:0===document.location.href.indexOf("chrome-extension://")?i.chromeExt=!0:(window._cordovaNative||window.cordova)&&(i.cordova=!0),(fromSSR=void 0===i.cordova&&void 0===i.electron&&!!document.querySelector("[data-server-rendered]"))&&(onSSR=!0)),i}function hasWebStorage(){if(void 0!==webStorage)return webStorage;try{if(window.localStorage)return webStorage=!0,!0}catch(t){}return webStorage=!1,!1}function getClientProperties(){return{has:{touch:!!("ontouchstart"in document.documentElement)||window.navigator.msMaxTouchPoints>0,webStorage:hasWebStorage()},within:{iframe:window.self!==window.top}}}var Platform={has:{touch:!1,webStorage:!1},within:{iframe:!1},parseSSR:function(t){return t?{is:getPlatform(t.req.headers["user-agent"]),has:this.has,within:this.within}:Object.assign({},{is:getPlatform()},getClientProperties())},install:function(t,e,i){var s=this;isSSR?e.server.push(function(t,e){t.platform=s.parseSSR(e.ssr)}):(this.is=getPlatform(),fromSSR?(e.takeover.push(function(t){onSSR=fromSSR=!1,Object.assign(t.platform,getClientProperties())}),i.util.defineReactive(t,"platform",this)):(Object.assign(this,getClientProperties()),t.platform=this))}};function assign(t,e){var i=arguments;if(void 0===t||null===t)throw new TypeError("Cannot convert first argument to object");for(var s=Object(t),n=1;n=0?n=r:(n=s+r)<0&&(n=0);ni.length)&&(e=i.length),e-=t.length;var s=i.indexOf(t,e);return-1!==s&&s===e}),isSSR||("function"!=typeof Element.prototype.matches&&(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.webkitMatchesSelector||function(t){for(var e=(this.document||this.ownerDocument).querySelectorAll(t),i=0;e[i]&&e[i]!==this;)++i;return Boolean(e[i])}),"function"!=typeof Element.prototype.closest&&(Element.prototype.closest=function(t){for(var e=this;e&&1===e.nodeType;){if(e.matches(t))return e;e=e.parentNode}return null}),[Element.prototype,CharacterData.prototype,DocumentType.prototype].forEach(function(t){t.hasOwnProperty("remove")||Object.defineProperty(t,"remove",{configurable:!0,enumerable:!0,writable:!0,value:function(){null!==this.parentNode&&this.parentNode.removeChild(this)}})})),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(t){if(null==this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!=typeof t)throw new TypeError("predicate must be a function");for(var e,i=Object(this),s=i.length>>>0,n=arguments[1],o=0;o=0&&i.__history.splice(e,1)};var s=void 0===e.cordova||!1!==e.cordova.backButtonExit;document.addEventListener("deviceready",function(){document.addEventListener("backbutton",function(){i.__history.length?i.__history.pop().handler():s&&"#/"===window.location.hash?navigator.app.exitApp():window.history.back()},!1)})}}},langEn={lang:"en-us",label:{clear:"Clear",ok:"OK",cancel:"Cancel",close:"Close",set:"Set",select:"Select",reset:"Reset",remove:"Remove",update:"Update",create:"Create",search:"Search",filter:"Filter",refresh:"Refresh"},date:{days:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),daysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),firstDayOfWeek:0,format24h:!1},pullToRefresh:{pull:"Pull down to refresh",release:"Release to refresh",refresh:"Refreshing..."},table:{noData:"No data available",noResults:"No matching records found",loading:"Loading...",selectedRecords:function(t){return 1===t?"1 record selected.":(0===t?"No":t)+" records selected."},recordsPerPage:"Records per page:",allRows:"All",pagination:function(t,e,i){return t+"-"+e+" of "+i},columns:"Columns"},editor:{url:"URL",bold:"Bold",italic:"Italic",strikethrough:"Strikethrough",underline:"Underline",unorderedList:"Unordered List",orderedList:"Ordered List",subscript:"Subscript",superscript:"Superscript",hyperlink:"Hyperlink",toggleFullscreen:"Toggle Fullscreen",quote:"Quote",left:"Left align",center:"Center align",right:"Right align",justify:"Justify align",print:"Print",outdent:"Decrease indentation",indent:"Increase indentation",removeFormat:"Remove formatting",formatting:"Formatting",fontSize:"Font Size",align:"Align",hr:"Insert Horizontal Rule",undo:"Undo",redo:"Redo",header1:"Header 1",header2:"Header 2",header3:"Header 3",header4:"Header 4",header5:"Header 5",header6:"Header 6",paragraph:"Paragraph",code:"Code",size1:"Very small",size2:"A bit small",size3:"Normal",size4:"Medium-large",size5:"Big",size6:"Very big",size7:"Maximum",defaultFont:"Default Font"},tree:{noNodes:"No nodes available",noResults:"No matching nodes found"}},i18n={install:function(t,e,i,s){var n=this;isSSR&&e.server.push(function(t,e){var i={lang:t.i18n.lang,dir:t.i18n.rtl?"rtl":"ltr"},s=e.ssr.setHtmlAttrs;"function"==typeof s?s(i):e.ssr.Q_HTML_ATTRS=Object.keys(i).map(function(t){return t+"="+i[t]}).join(" ")}),this.set=function(e){if(void 0===e&&(e=langEn),e.set=n.set,e.getLocale=n.getLocale,e.rtl=e.rtl||!1,!isSSR){var s=document.documentElement;s.setAttribute("dir",e.rtl?"rtl":"ltr"),s.setAttribute("lang",e.lang)}isSSR||t.i18n?t.i18n=e:i.util.defineReactive(t,"i18n",e),n.name=e.lang,n.lang=e},this.set(s)},getLocale:function(){if(!isSSR){var t=navigator.language||navigator.languages[0]||navigator.browserLanguage||navigator.userLanguage||navigator.systemLanguage;return t?t.toLowerCase():void 0}}};function rgbToHex(t){var e=t.r,i=t.g,s=t.b,n=t.a,o=void 0!==n;if(e=Math.round(e),i=Math.round(i),s=Math.round(s),e>255||i>255||s>255||o&&n>100)throw new TypeError("Expected 3 numbers below 256 (and optionally one below 100)");return n=o?(256|Math.round(255*n/100)).toString(16).slice(1):"","#"+(s|i<<8|e<<16|1<<24).toString(16).slice(1)+n}function hexToRgb(t){if("string"!=typeof t)throw new TypeError("Expected a string");3===(t=t.replace(/^#/,"")).length?t=t[0]+t[0]+t[1]+t[1]+t[2]+t[2]:4===t.length&&(t=t[0]+t[0]+t[1]+t[1]+t[2]+t[2]+t[3]+t[3]);var e=parseInt(t,16);return t.length>6?{r:e>>24&255,g:e>>16&255,b:e>>8&255,a:Math.round((255&e)/2.55)}:{r:e>>16,g:e>>8&255,b:255&e}}function hsvToRgb(t){var e,i,s,n,o,r,a,l,c=t.h,h=t.s,u=t.v,d=t.a;switch(r=(u/=100)*(1-(h/=100)),a=u*(1-(o=6*(c/=360)-(n=Math.floor(6*c)))*h),l=u*(1-(1-o)*h),n%6){case 0:e=u,i=l,s=r;break;case 1:e=a,i=u,s=r;break;case 2:e=r,i=u,s=l;break;case 3:e=r,i=a,s=u;break;case 4:e=l,i=r,s=u;break;case 5:e=u,i=r,s=a}return{r:Math.round(255*e),g:Math.round(255*i),b:Math.round(255*s),a:d}}function rgbToHsv(t){var e,i=t.r,s=t.g,n=t.b,o=t.a,r=Math.max(i,s,n),a=Math.min(i,s,n),l=r-a,c=0===r?0:l/r,h=r/255;switch(r){case a:e=0;break;case i:e=s-n+l*(st.clientHeight&&(t.classList.contains("scroll")||t.classList.contains("overflow-auto")||["auto","scroll"].includes(window.getComputedStyle(t)["overflow-y"])):t.scrollWidth>t.clientWidth&&(t.classList.contains("scroll")||t.classList.contains("overflow-auto")||["auto","scroll"].includes(window.getComputedStyle(t)["overflow-x"])))}var scroll={getScrollTarget:getScrollTarget,getScrollHeight:getScrollHeight,getScrollPosition:getScrollPosition,animScrollTo:animScrollTo,setScrollPosition:setScrollPosition,getScrollbarWidth:getScrollbarWidth,hasScrollbar:hasScrollbar},registered=0;function onWheel(t){shouldPreventScroll(t)&&stopAndPrevent(t)}function shouldPreventScroll(t){if(t.target===document.body||t.target.classList.contains("q-layout-backdrop"))return!0;for(var e=getEventPath(t),i=t.shiftKey&&!t.deltaX,s=!i&&Math.abs(t.deltaX)<=Math.abs(t.deltaY),n=i||s?t.deltaY:t.deltaX,o=0;o0&&r.scrollTop+r.clientHeight===r.scrollHeight:n<0&&0===r.scrollLeft||n>0&&r.scrollLeft+r.clientWidth===r.scrollWidth}return!0}function preventScroll(t){if(!((registered+=t?1:-1)>1)){var e=t?"add":"remove";Platform.is.mobile?document.body.classList[e]("q-body-prevent-scroll"):Platform.is.desktop&&window[e+"EventListener"]("wheel",onWheel)}}var positions={top:"items-start justify-center with-backdrop",bottom:"items-end justify-center with-backdrop",right:"items-center justify-end with-backdrop",left:"items-center justify-start with-backdrop"},positionCSS={maxHeight:"80vh",height:"auto",boxShadow:"none"};function additionalCSS(t){var e={};return["left","right"].includes(t)&&(e.maxWidth="90vw"),["left","top"].includes(t)&&(e.borderTopLeftRadius=0),["right","top"].includes(t)&&(e.borderTopRightRadius=0),["left","bottom"].includes(t)&&(e.borderBottomLeftRadius=0),["right","bottom"].includes(t)&&(e.borderBottomRightRadius=0),e}var modals={responsive:0,maximized:0},QModal={name:"QModal",mixins:[ModelToggleMixin],provide:function(){var t=this;return{__qmodal:{register:function(e){t.layout!==e&&(t.layout=e)},unregister:function(e){t.layout===e&&(t.layout=null)}}}},props:{position:{type:String,default:"",validator:function(t){return""===t||["top","bottom","left","right"].includes(t)}},transition:String,enterClass:String,leaveClass:String,positionClasses:{type:String,default:"flex-center"},contentClasses:[Object,Array,String],contentCss:[Object,Array,String],noBackdropDismiss:{type:Boolean,default:!1},noEscDismiss:{type:Boolean,default:!1},noRouteDismiss:Boolean,noRefocus:Boolean,minimized:Boolean,maximized:Boolean},data:function(){return{layout:null}},watch:{$route:function(){this.noRouteDismiss||this.hide()},maximized:function(t,e){this.__register(!1,e),this.__register(!0,t)},minimized:function(t,e){this.__register(!1,this.maximized,e),this.__register(!0,this.maximized,t)}},computed:{modalClasses:function(){var t=this.position?positions[this.position]:this.positionClasses;return this.maximized?["maximized",t]:this.minimized?["minimized",t]:t},contentClassesCalc:function(){return this.layout?[this.contentClasses,"column no-wrap"]:this.contentClasses},transitionProps:function(){return this.position?{name:"q-modal-"+this.position}:this.enterClass||this.leaveClass?{enterActiveClass:this.enterClass,leaveActiveClass:this.leaveClass}:{name:this.transition||"q-modal"}},modalCss:function(){if(this.position){var t=Array.isArray(this.contentCss)?this.contentCss:[this.contentCss];return t.unshift(Object.assign({},positionCSS,additionalCSS(this.position))),t}return this.contentCss}},methods:{__dismiss:function(){var t=this;this.noBackdropDismiss?this.__shake():this.hide().then(function(){t.$emit("dismiss")})},__show:function(){var t=this;this.noRefocus||(this.__refocusTarget=document.activeElement),document.body.appendChild(this.$el),this.__register(!0),preventScroll(!0),EscapeKey.register(function(){t.noEscDismiss?t.__shake():(t.$emit("escape-key"),t.hide().then(function(){t.$emit("dismiss")}))});var e=this.$refs.content;this.$q.platform.is.ios&&e.click(),e.scrollTop=0,["modal-scroll","layout-view"].forEach(function(t){[].slice.call(e.getElementsByClassName(t)).forEach(function(t){t.scrollTop=0})}),this.$nextTick(function(){return e&&e.focus()})},__hide:function(){this.__cleanup(),!this.noRefocus&&this.__refocusTarget&&(this.__refocusTarget.focus(),!this.__refocusTarget.classList.contains("q-if")&&this.__refocusTarget.blur())},__cleanup:function(){EscapeKey.pop(),preventScroll(!1),this.__register(!1)},__stopPropagation:function(t){t.stopPropagation()},__register:function(t,e,i){void 0===e&&(e=this.maximized),void 0===i&&(i=this.minimized);var s=t?{action:"add",step:1}:{action:"remove",step:-1};if(e){if(modals.maximized+=s.step,!t&&modals.maximized>0)return;document.body.classList[s.action]("q-maximized-modal")}else if(!i){if(modals.responsive+=s.step,!t&&modals.responsive>0)return;document.body.classList[s.action]("q-responsive-modal")}},__shake:function(){var t=this;this.$el.classList.remove("animate-shake"),this.$el.classList.add("animate-shake"),clearTimeout(this.shakeTimeout),this.shakeTimeout=setTimeout(function(){t.$el.classList.remove("animate-shake")},150)}},mounted:function(){this.value&&this.show()},beforeDestroy:function(){clearTimeout(this.shakeTimeout),this.$el.remove(),this.showing&&this.__cleanup()},render:function(t){var e=this;return t("transition",{props:this.transitionProps,on:{afterEnter:function(){e.showPromise&&e.showPromiseResolve()},enterCancelled:function(){e.showPromise&&e.showPromiseReject(),e.$el.remove()},afterLeave:function(){e.hidePromise&&e.hidePromiseResolve(),e.$el.remove()},leaveCancelled:function(){e.hidePromise&&e.hidePromiseReject()}}},[t("div",{staticClass:"modal fullscreen row",class:this.modalClasses,directives:[{name:"show",value:this.showing}]},[t("div",{staticClass:"modal-backdrop absolute-full",on:{click:this.__dismiss}}),t("div",{ref:"content",staticClass:"modal-content",style:this.modalCss,class:this.contentClassesCalc,attrs:{tabindex:-1},on:{click:this.__stopPropagation,touchstart:this.__stopPropagation}},this.$slots.default)])])}},prefix$1="ios",QIcon={name:"QIcon",props:{name:String,color:String,size:String},computed:{classes:function(){var t,e=this.name;return e?(t=/^fa[s|r|l|b]{0,1} /.test(e)||e.startsWith("icon-")?e:e.startsWith("bt-")?"bt "+e:e.startsWith("eva-")?"eva "+e:/^ion-(md|ios|logo)/.test(e)?"ionicons "+e:e.startsWith("ion-")?"ionicons ion-"+prefix$1+e.substr(3):e.startsWith("mdi-")?"mdi "+e:"material-icons",this.color?t+" text-"+this.color:t):""},content:function(){return this.classes.startsWith("material-icons")?this.name.replace(/ /g,"_"):" "},style:function(){if(this.size)return{fontSize:this.size}}},render:function(t){return t("i",{staticClass:"q-icon",class:this.classes,style:this.style,attrs:{"aria-hidden":!0}},[this.content,this.$slots.default])}},QList={name:"QList",props:{noBorder:Boolean,dark:Boolean,dense:Boolean,sparse:Boolean,striped:Boolean,stripedOdd:Boolean,separator:Boolean,insetSeparator:Boolean,multiline:Boolean,highlight:Boolean,link:Boolean},computed:{classes:function(){return{"no-border":this.noBorder,"q-list-dark":this.dark,"q-list-dense":this.dense,"q-list-sparse":this.sparse,"q-list-striped":this.striped,"q-list-striped-odd":this.stripedOdd,"q-list-separator":this.separator,"q-list-inset-separator":this.insetSeparator,"q-list-multiline":this.multiline,"q-list-highlight":this.highlight,"q-list-link":this.link}}},render:function(t){return t("div",{staticClass:"q-list",class:this.classes},this.$slots.default)}},routerLinkEventName="qrouterlinkclick",evt=null;if(!isSSR)try{evt=new Event(routerLinkEventName)}catch(t){(evt=document.createEvent("Event")).initEvent(routerLinkEventName,!0,!1)}var routerLinkProps={to:[String,Object],exact:Boolean,append:Boolean,replace:Boolean,event:[String,Array],activeClass:String,exactActiveClass:String},RouterLinkMixin={props:routerLinkProps,data:function(){return{routerLinkEventName:routerLinkEventName}}};function textStyle(t){return void 0===t||t<2?{}:{overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":t}}var subItemProps={icon:String,rightIcon:String,image:String,rightImage:String,avatar:String,rightAvatar:String,letter:String,rightLetter:String,label:String,sublabel:String,labelLines:[String,Number],sublabelLines:[String,Number]},ItemMixin={mixins:[{props:routerLinkProps}],props:{dark:Boolean,link:Boolean,dense:Boolean,sparse:Boolean,separator:Boolean,insetSeparator:Boolean,multiline:Boolean,highlight:Boolean,tag:{type:String,default:"div"}},computed:{itemClasses:function(){return{"q-item":!0,"q-item-division":!0,"relative-position":!0,"q-item-dark":this.dark,"q-item-dense":this.dense,"q-item-sparse":this.sparse,"q-item-separator":this.separator,"q-item-inset-separator":this.insetSeparator,"q-item-multiline":this.multiline,"q-item-highlight":this.highlight,"q-item-link":this.to||this.link}}}},QItem={name:"QItem",mixins:[ItemMixin],props:{active:Boolean,link:Boolean},computed:{classes:function(){return[void 0!==this.to?"q-link":{active:this.active},this.itemClasses]}},render:function(t){return void 0!==this.to?t("router-link",{props:Object.assign({},this.$props,{tag:"a"}),class:this.classes},this.$slots.default):t(this.tag,{class:this.classes},this.$slots.default)}},QItemSide={name:"QItemSide",props:{right:Boolean,icon:String,letter:{type:String,validator:function(t){return 1===t.length}},inverted:Boolean,avatar:String,image:String,stamp:String,color:String,textColor:String},computed:{type:function(){var t=this;return["icon","image","avatar","letter","stamp"].find(function(e){return t[e]})},classes:function(){var t=["q-item-side-"+(this.right?"right":"left")];return!this.color||this.icon||this.letter||t.push("text-"+this.color),t},typeClasses:function(){var t=["q-item-"+this.type];return this.color&&(this.inverted&&(this.icon||this.letter)?t.push("bg-"+this.color):this.textColor||t.push("text-"+this.color)),this.textColor&&t.push("text-"+this.textColor),this.inverted&&(this.icon||this.letter)&&(t.push("q-item-inverted"),t.push("flex"),t.push("flex-center")),t},imagePath:function(){return this.image||this.avatar}},render:function(t){var e;return this.type&&(this.icon?(e=t(QIcon,{class:this.inverted?null:this.typeClasses,props:{name:this.icon}}),this.inverted&&(e=t("div",{class:this.typeClasses},[e]))):e=this.imagePath?t("img",{class:this.typeClasses,attrs:{src:this.imagePath}}):t("div",{class:this.typeClasses},[this.stamp||this.letter])),t("div",{staticClass:"q-item-side q-item-section",class:this.classes},[e,this.$slots.default])}};function text(t,e,i,s){return t("div",{staticClass:"q-item-"+e+(1===(s=parseInt(s,10))?" ellipsis":""),style:textStyle(s),domProps:{innerHTML:i}})}var QItemMain={name:"QItemMain",props:{label:String,labelLines:[String,Number],sublabel:String,sublabelLines:[String,Number],inset:Boolean,tag:{type:String,default:"div"}},render:function(t){return t(this.tag,{staticClass:"q-item-main q-item-section",class:{"q-item-main-inset":this.inset}},[this.label?text(t,"label",this.label,this.labelLines):null,this.sublabel?text(t,"sublabel",this.sublabel,this.sublabelLines):null,this.$slots.default])}},QItemSeparator={name:"QItemSeparator",props:{inset:Boolean},render:function(t){return t("div",{staticClass:"q-item-separator-component",class:{"q-item-separator-inset-component":this.inset}},this.$slots.default)}},QActionSheet={name:"QActionSheet",props:{value:Boolean,title:String,grid:Boolean,actions:Array,dismissLabel:String},computed:{contentCss:function(){return{backgroundColor:"transparent"}}},render:function(t){var e=this,i=[],s=this.$slots.title||this.title;return s&&i.push(t("div",{staticClass:"q-actionsheet-title column justify-center"},[s])),i.push(t("div",{staticClass:"q-actionsheet-body scroll"},this.actions?[this.grid?t("div",{staticClass:"q-actionsheet-grid row wrap items-center justify-between"},this.__getActions(t)):t(QList,{staticClass:"no-border",props:{link:!0}},this.__getActions(t))]:this.$slots.default)),i=[t("div",{staticClass:"q-actionsheet"},i),t("div",{staticClass:"q-actionsheet"},[t(QItem,{props:{link:!0},attrs:{tabindex:0},nativeOn:{click:this.__onCancel,keyup:this.__onKeyCancel}},[t(QItemMain,{staticClass:"text-center text-primary"},[this.dismissLabel||this.$q.i18n.label.cancel])])])],t(QModal,{ref:"modal",props:{value:this.value,position:"bottom",contentCss:this.contentCss},on:{input:function(t){e.$emit("input",t)},show:function(){e.$emit("show")},hide:function(){e.$emit("hide")},dismiss:function(){e.$emit("cancel")},"escape-key":function(){e.$emit("escape-key")}}},i)},methods:{show:function(){return this.$refs.modal.show()},hide:function(){return this.$refs.modal?this.$refs.modal.hide():Promise.resolve()},__getActions:function(t){var e=this;return this.actions.map(function(i){var s;return i.label?t(e.grid?"div":QItem,((s={staticClass:e.grid?"q-actionsheet-grid-item cursor-pointer relative-position column inline flex-center":null,class:i.classes,attrs:{tabindex:0}})[e.grid?"on":"nativeOn"]={click:function(){return e.__onOk(i)},keyup:function(t){13===getEventKey(t)&&e.__onOk(i)}},s),e.grid?[i.icon?t(QIcon,{props:{name:i.icon,color:i.color}}):null,i.avatar?t("img",{domProps:{src:i.avatar},staticClass:"avatar"}):null,t("span",[i.label])]:[t(QItemSide,{props:{icon:i.icon,color:i.color,avatar:i.avatar}}),t(QItemMain,{props:{inset:!0,label:i.label}})]):t(QItemSeparator,{staticClass:"col-12"})})},__onOk:function(t){var e=this;this.hide().then(function(){"function"==typeof t.handler&&t.handler(),e.$emit("ok",t)})},__onCancel:function(){var t=this;this.hide().then(function(){t.$emit("cancel")})},__onKeyCancel:function(t){13===getEventKey(t)&&this.__onCancel()}}},units=["B","kB","MB","GB","TB","PB"];function humanStorageSize(t){for(var e=0;parseInt(t,10)>=1024&&e=e?s:new Array(e-s.length+1).join(i)+s}var format={humanStorageSize:humanStorageSize,capitalize:capitalize,between:between,normalizeToInterval:normalizeToInterval,pad:pad},xhr=isSSR?null:XMLHttpRequest,send=isSSR?null:xhr.prototype.send,stack={start:[],stop:[]},highjackCount=0;function translate(t){var e=t.p,i=t.pos,s=t.active,n=t.horiz,o=t.reverse,r=t.dir,a=1,l=1;return n?(o&&(a=-1),"bottom"===i&&(l=-1),{transform:"translate3d("+a*(e-100)+"%,"+(s?0:-200*l)+"%,0)"}):(o&&(l=-1),"right"===i&&(a=-1),{transform:"translate3d("+(s?0:r*a*-200)+"%,"+l*(e-100)+"%,0)"})}function inc(t,e){return"number"!=typeof e&&(e=t<25?3*Math.random()+3:t<65?3*Math.random():t<85?2*Math.random():t<99?.6:0),between(t+e,0,100)}function highjackAjax(t,e){function i(){stack.stop.map(function(t){t()})}stack.start.push(t),stack.stop.push(e),++highjackCount>1||(xhr.prototype.send=function(){for(var t=this,e=[],s=arguments.length;s--;)e[s]=arguments[s];stack.start.map(function(t){t()}),this.addEventListener("abort",i,!1),this.addEventListener("readystatechange",function(){4===t.readyState&&i()},!1),send.apply(this,e)})}function restoreAjax(t,e){stack.start=stack.start.filter(function(e){return e!==t}),stack.stop=stack.stop.filter(function(t){return t!==e}),(highjackCount=Math.max(0,highjackCount-1))||(xhr.prototype.send=send)}var QAjaxBar={name:"QAjaxBar",props:{position:{type:String,default:"top",validator:function(t){return["top","right","bottom","left"].includes(t)}},size:{type:String,default:"2px"},color:{type:String,default:"red"},skipHijack:Boolean,reverse:Boolean},data:function(){return{calls:0,progress:0,onScreen:!1,animate:!0}},computed:{classes:function(){return[this.position,"bg-"+this.color,this.animate?"":"no-transition"]},style:function(){var t=this.onScreen,e=translate({p:this.progress,pos:this.position,active:t,horiz:this.horizontal,reverse:this.$q.i18n.rtl&&["top","bottom"].includes(this.position)?!this.reverse:this.reverse,dir:this.$q.i18n.rtl?-1:1});return e[this.sizeProp]=this.size,e.opacity=t?1:0,e},horizontal:function(){return"top"===this.position||"bottom"===this.position},sizeProp:function(){return this.horizontal?"height":"width"}},methods:{start:function(t){var e=this;void 0===t&&(t=300),this.calls++,this.calls>1||(clearTimeout(this.timer),this.$emit("start"),this.onScreen||(this.progress=0,this.onScreen=!0,this.animate=!1,this.timer=setTimeout(function(){e.animate=!0,e.__work(t)},100)))},increment:function(t){this.calls>0&&(this.progress=inc(this.progress,t))},stop:function(){var t=this;if(this.calls=Math.max(0,this.calls-1),!(this.calls>0)){clearTimeout(this.timer),this.$emit("stop");var e=function(){t.animate=!0,t.progress=100,t.timer=setTimeout(function(){t.onScreen=!1},1e3)};0===this.progress?this.timer=setTimeout(e,1):e()}},__work:function(t){var e=this;this.progress<100&&(this.timer=setTimeout(function(){e.increment(),e.__work(t)},t))}},mounted:function(){this.skipHijack||(this.hijacked=!0,highjackAjax(this.start,this.stop))},beforeDestroy:function(){clearTimeout(this.timer),this.hijacked&&restoreAjax(this.start,this.stop)},render:function(t){return t("div",{staticClass:"q-loading-bar",class:this.classes,style:this.style})}};function showRipple(t,e,i){var s=i.stop,n=i.center;s&&t.stopPropagation();var o,r,a=document.createElement("span"),l=document.createElement("span"),c=e.clientWidth>e.clientHeight?e.clientWidth:e.clientHeight,h=(n?c:2*c)+"px",u=e.getBoundingClientRect();if(a.appendChild(l),a.className="q-ripple-container",l.className="q-ripple-animation",l.style.width=h,l.style.height=h,e.appendChild(a),n)o=r=0;else{var d=position(t);o=d.left-u.left-c,r=d.top-u.top-c}l.classList.add("q-ripple-animation-enter"),l.classList.add("q-ripple-animation-visible"),l.style.transform="translate("+o+"px, "+r+"px) scale3d(0, 0, 0)",setTimeout(function(){l.classList.remove("q-ripple-animation-enter"),l.style.transform="translate("+o+"px, "+r+"px) scale3d(1, 1, 1)",setTimeout(function(){l.classList.remove("q-ripple-animation-visible"),setTimeout(function(){a.remove()},300)},300)},10)}function shouldAbort(t){var e=t.mat,i=t.ios;return!!e||i&&!1}var Ripple={name:"ripple",inserted:function(t,e){var i=e.value,s=e.modifiers;if(!shouldAbort(s)){var n={enabled:!1!==i,modifiers:{stop:s.stop,center:s.center},click:function(e){n.enabled&&-1!==e.detail&&showRipple(e,t,n.modifiers)},keyup:function(e){n.enabled&&13===e.keyCode&&showRipple(e,t,n.modifiers)}};t.__qripple=n,t.addEventListener("click",n.click,!1),t.addEventListener("keyup",n.keyup,!1)}},update:function(t,e){var i=e.value,s=e.modifiers,n=s.stop,o=s.center,r=t.__qripple;r&&(r.enabled=!1!==i,r.modifiers={stop:n,center:o})},unbind:function(t,e){var i=e.modifiers,s=t.__qripple;s&&!shouldAbort(i)&&(t.removeEventListener("click",s.click,!1),t.removeEventListener("keyup",s.keyup,!1),delete t.__qripple)}},alignMap={left:"start",center:"center",right:"end",between:"between",around:"around"},alignValues=Object.keys(alignMap),AlignMixin={props:{align:{type:String,default:"center",validator:function(t){return alignValues.includes(t)}}},computed:{alignClass:function(){return"justify-"+alignMap[this.align]}}},sizes={xs:8,sm:10,md:14,lg:20,xl:24,form:14.777,"form-label":21.777,"form-hide-underline":9.333,"form-label-hide-underline":16.333},BtnMixin={mixins:[AlignMixin],directives:{Ripple:Ripple},props:{type:String,loading:{type:Boolean,default:null},disable:Boolean,label:[Number,String],noCaps:Boolean,noWrap:Boolean,icon:String,iconRight:String,round:Boolean,outline:Boolean,flat:Boolean,rounded:Boolean,push:Boolean,size:String,fab:Boolean,fabMini:Boolean,color:String,textColor:String,glossy:Boolean,dense:Boolean,noRipple:Boolean,tabindex:Number,to:[Object,String],replace:Boolean},computed:{style:function(){if(this.size&&!this.fab&&!this.fabMini)return{fontSize:this.size in sizes?sizes[this.size]+"px":this.size}},isRectangle:function(){return!this.isRound},isRound:function(){return this.round||this.fab||this.fabMini},shape:function(){return"q-btn-"+(this.isRound?"round":"rectangle")},isDisabled:function(){return this.disable||this.loading},hasRipple:function(){return!1},computedTabIndex:function(){return this.isDisabled?-1:this.tabindex||0},isLink:function(){return"a"===this.type||void 0!==this.to},attrs:function(){var t={tabindex:this.computedTabIndex};return"a"!==this.type&&(t.type=this.type||"button"),void 0!==this.to&&(t.href=this.$router.resolve(this.to).href),t},classes:function(){var t=[this.shape];return this.fab?t.push("q-btn-fab"):this.fabMini&&t.push("q-btn-fab-mini"),this.flat?t.push("q-btn-flat"):this.outline?t.push("q-btn-outline"):this.push&&t.push("q-btn-push"),this.isDisabled?t.push("disabled"):(t.push("q-focusable q-hoverable"),this.active&&t.push("active")),this.color?this.flat||this.outline?t.push("text-"+(this.textColor||this.color)):(t.push("bg-"+this.color),t.push("text-"+(this.textColor||"white"))):this.textColor&&t.push("text-"+this.textColor),t.push({"q-btn-no-uppercase":this.noCaps,"q-btn-rounded":this.rounded,"q-btn-dense":this.dense,glossy:this.glossy}),t},innerClasses:function(){var t=[this.alignClass];return!0===this.noWrap&&t.push("no-wrap","text-no-wrap"),!0===this.repeating&&t.push("non-selectable"),!0===this.loading&&t.push("q-btn-inner--hidden"),t}}},mixin$1={props:{color:String,size:{type:[Number,String],default:"1em"}},computed:{classes:function(){if(this.color)return"text-"+this.color}}},DefaultSpinner={name:"QSpinnerIos",mixins:[mixin$1],render:function(t){return t("svg",{staticClass:"q-spinner",class:this.classes,attrs:{width:this.size,height:this.size,stroke:"currentColor",fill:"currentColor",viewBox:"0 0 64 64"}},[t("g",{attrs:{"stroke-width":"4","stroke-linecap":"round"}},[t("line",{attrs:{y1:"17",y2:"29",transform:"translate(32,32) rotate(180)"}},[t("animate",{attrs:{attributeName:"stroke-opacity",dur:"750ms",values:"1;.85;.7;.65;.55;.45;.35;.25;.15;.1;0;1",repeatCount:"indefinite"}})]),t("line",{attrs:{y1:"17",y2:"29",transform:"translate(32,32) rotate(210)"}},[t("animate",{attrs:{attributeName:"stroke-opacity",dur:"750ms",values:"0;1;.85;.7;.65;.55;.45;.35;.25;.15;.1;0",repeatCount:"indefinite"}})]),t("line",{attrs:{y1:"17",y2:"29",transform:"translate(32,32) rotate(240)"}},[t("animate",{attrs:{attributeName:"stroke-opacity",dur:"750ms",values:".1;0;1;.85;.7;.65;.55;.45;.35;.25;.15;.1",repeatCount:"indefinite"}})]),t("line",{attrs:{y1:"17",y2:"29",transform:"translate(32,32) rotate(270)"}},[t("animate",{attrs:{attributeName:"stroke-opacity",dur:"750ms",values:".15;.1;0;1;.85;.7;.65;.55;.45;.35;.25;.15",repeatCount:"indefinite"}})]),t("line",{attrs:{y1:"17",y2:"29",transform:"translate(32,32) rotate(300)"}},[t("animate",{attrs:{attributeName:"stroke-opacity",dur:"750ms",values:".25;.15;.1;0;1;.85;.7;.65;.55;.45;.35;.25",repeatCount:"indefinite"}})]),t("line",{attrs:{y1:"17",y2:"29",transform:"translate(32,32) rotate(330)"}},[t("animate",{attrs:{attributeName:"stroke-opacity",dur:"750ms",values:".35;.25;.15;.1;0;1;.85;.7;.65;.55;.45;.35",repeatCount:"indefinite"}})]),t("line",{attrs:{y1:"17",y2:"29",transform:"translate(32,32) rotate(0)"}},[t("animate",{attrs:{attributeName:"stroke-opacity",dur:"750ms",values:".45;.35;.25;.15;.1;0;1;.85;.7;.65;.55;.45",repeatCount:"indefinite"}})]),t("line",{attrs:{y1:"17",y2:"29",transform:"translate(32,32) rotate(30)"}},[t("animate",{attrs:{attributeName:"stroke-opacity",dur:"750ms",values:".55;.45;.35;.25;.15;.1;0;1;.85;.7;.65;.55",repeatCount:"indefinite"}})]),t("line",{attrs:{y1:"17",y2:"29",transform:"translate(32,32) rotate(60)"}},[t("animate",{attrs:{attributeName:"stroke-opacity",dur:"750ms",values:".65;.55;.45;.35;.25;.15;.1;0;1;.85;.7;.65",repeatCount:"indefinite"}})]),t("line",{attrs:{y1:"17",y2:"29",transform:"translate(32,32) rotate(90)"}},[t("animate",{attrs:{attributeName:"stroke-opacity",dur:"750ms",values:".7;.65;.55;.45;.35;.25;.15;.1;0;1;.85;.7",repeatCount:"indefinite"}})]),t("line",{attrs:{y1:"17",y2:"29",transform:"translate(32,32) rotate(120)"}},[t("animate",{attrs:{attributeName:"stroke-opacity",dur:"750ms",values:".85;.7;.65;.55;.45;.35;.25;.15;.1;0;1;.85",repeatCount:"indefinite"}})]),t("line",{attrs:{y1:"17",y2:"29",transform:"translate(32,32) rotate(150)"}},[t("animate",{attrs:{attributeName:"stroke-opacity",dur:"750ms",values:"1;.85;.7;.65;.55;.45;.35;.25;.15;.1;0;1",repeatCount:"indefinite"}})])])])}},QSpinner={mixins:[DefaultSpinner],name:"QSpinner"},QBtn={name:"QBtn",mixins:[BtnMixin],props:{percentage:Number,darkPercentage:Boolean,waitForRipple:Boolean,repeatTimeout:[Number,Function]},computed:{hasPercentage:function(){return void 0!==this.percentage},width:function(){return between(this.percentage,0,100)+"%"},events:function(){var t=this;return this.isDisabled||!this.repeatTimeout?{click:this.click,keydown:this.__onKeyDown,keyup:this.__onKeyUp}:{mousedown:this.__startRepeat,touchstart:this.__startRepeat,keydown:function(e){t.__onKeyDown(e,!0)},mouseup:this.__endRepeat,touchend:this.__endRepeat,keyup:function(e){t.__onKeyUp(e,!0)},mouseleave:this.__abortRepeat,touchmove:this.__abortRepeat,blur:this.__abortRepeat}}},data:function(){return{repeating:!1,active:!1}},methods:{click:function(t){var e=this;if(this.__cleanup(),void 0===this.to&&!this.isDisabled||(t&&stopAndPrevent(t),!this.isDisabled))if(t&&-1!==t.detail&&"submit"===this.type){stopAndPrevent(t);var i=new MouseEvent("click",Object.assign({},t,{detail:-1}));this.timer=setTimeout(function(){return e.$el&&e.$el.dispatchEvent(i)},200)}else{var s=function(){e.$router[e.replace?"replace":"push"](e.to)},n=function(){e.isDisabled||(e.$emit("click",t,s),void 0!==e.to&&!1!==t.navigate&&s())};this.waitForRipple&&this.hasRipple?this.timer=setTimeout(n,300):n()}},__cleanup:function(){clearTimeout(this.timer)},__onKeyDown:function(t,e){this.isDisabled||13!==t.keyCode||(this.active=!0,e?this.__startRepeat(t):stopAndPrevent(t))},__onKeyUp:function(t,e){this.active&&(this.active=!1,this.isDisabled||13!==t.keyCode||this[e?"__endRepeat":"click"](t))},__startRepeat:function(t){var e=this;if(!this.repeating){var i=function(){e.timer=setTimeout(s,"function"==typeof e.repeatTimeout?e.repeatTimeout(e.repeatCount):e.repeatTimeout)},s=function(){e.isDisabled||(e.repeatCount+=1,t.repeatCount=e.repeatCount,e.$emit("click",t),i())};this.repeatCount=0,this.repeating=!0,i()}},__abortRepeat:function(){this.repeating=!1,this.__cleanup()},__endRepeat:function(t){this.repeating&&(this.repeating=!1,this.repeatCount?this.repeatCount=0:(t.detail||t.keyCode)&&(t.repeatCount=0,this.$emit("click",t)),this.__cleanup())}},beforeDestroy:function(){this.__cleanup()},render:function(t){var e=[].concat(this.$slots.default);return void 0!==this.label&&!0===this.isRectangle&&e.unshift(t("div",[this.label])),void 0!==this.icon&&e.unshift(t(QIcon,{class:{"on-left":void 0!==this.label&&!0===this.isRectangle},props:{name:this.icon}})),void 0!==this.iconRight&&!1===this.isRound&&e.push(t(QIcon,{staticClass:"on-right",props:{name:this.iconRight}})),t(this.isLink?"a":"button",{staticClass:"q-btn inline relative-position q-btn-item non-selectable",class:this.classes,style:this.style,attrs:this.attrs,on:this.events,directives:this.hasRipple?[{name:"ripple",value:!0,modifiers:{center:this.isRound}}]:null},[t("div",{staticClass:"q-focus-helper"}),this.loading&&this.hasPercentage?t("div",{staticClass:"q-btn-progress absolute-full",class:{"q-btn-dark-progress":this.darkPercentage},style:{width:this.width}}):null,t("div",{staticClass:"q-btn-inner row col items-center q-popup--skip",class:this.innerClasses},e),null!==this.loading?t("transition",{props:{name:"q-transition--fade"}},!0===this.loading?[t("div",{key:"loading",staticClass:"absolute-full flex flex-center"},void 0!==this.$slots.loading?this.$slots.loading:[t(QSpinner)])]:void 0):null])}},QAlert={name:"QAlert",props:{type:{type:String,validator:function(t){return["positive","negative","warning","info"].includes(t)}},color:{type:String,default:"negative"},textColor:String,message:String,detail:String,icon:String,avatar:String,actions:Array},computed:{computedIcon:function(){return this.icon?this.icon:this.$q.icon.type[this.type||this.color]},classes:function(){return"bg-"+(this.type||this.color)+" text-"+(this.textColor||"white")}},render:function(t){var e=this,i=[],s=this.$slots.detail||this.detail;return this.avatar?i.push(t("img",{staticClass:"avatar",attrs:{src:this.avatar}})):(this.icon||this.type)&&i.push(t(QIcon,{props:{name:this.computedIcon}})),t("div",[t("div",{staticClass:"q-alert row no-wrap shadow-2",class:this.classes},[i.length?t("div",{staticClass:"q-alert-side col-auto row flex-center"},i):null,t("div",{staticClass:"q-alert-content col self-center"},[t("div",this.$slots.default||this.message),s?t("div",{staticClass:"q-alert-detail"},[s]):null]),this.actions&&this.actions.length?t("div",{staticClass:"q-alert-actions col-auto gutter-xs column flex-center"},this.actions.map(function(i){return t("div",{staticClass:"full-width"},[t(QBtn,{staticClass:"full-width",props:{flat:!0,dense:!0,align:"left",icon:i.icon,label:!0===i.closeBtn?"string"==typeof i.label?i.label:e.$q.i18n.label.close:i.label},on:{click:function(){return i.handler()}}})])})):null])])}};function filter(t,e){var i=e.field,s=e.list,n=t.toLowerCase();return s.filter(function(t){return(""+t[i]).toLowerCase().startsWith(n)})}function s4(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}function uid(){return s4()+s4()+"-"+s4()+"-"+s4()+"-"+s4()+"-"+s4()+s4()+s4()}function getAnchorPosition(t,e){var i=t.getBoundingClientRect(),s=i.top,n=i.left,o=i.right,r=i.bottom,a={top:s,left:n,width:t.offsetWidth,height:t.offsetHeight};return e&&(a.top-=e[1],a.left-=e[0],r&&(r+=e[1]),o&&(o+=e[0]),a.width+=e[0],a.height+=e[1]),a.right=o||a.left+a.width,a.bottom=r||a.top+a.height,a.middle=a.left+(a.right-a.left)/2,a.center=a.top+(a.bottom-a.top)/2,a}function getTargetPosition(t){return{top:0,center:t.offsetHeight/2,bottom:t.offsetHeight,left:0,middle:t.offsetWidth/2,right:t.offsetWidth}}function repositionIfNeeded(t,e,i,s,n,o){var r=getScrollbarWidth(),a=window.innerHeight,l=window.innerWidth;if(a-=r,l-=r,n.top<0||n.top+e.bottom>a)if("center"===i.vertical)n.top=t[i.vertical]>a/2?a-e.bottom:0,n.maxHeight=Math.min(e.bottom,a);else if(t[i.vertical]>a/2){var c=Math.min(a,"center"===s.vertical?t.center:s.vertical===i.vertical?t.bottom:t.top);n.maxHeight=Math.min(e.bottom,c),n.top=Math.max(0,c-n.maxHeight)}else n.top="center"===s.vertical?t.center:s.vertical===i.vertical?t.top:t.bottom,n.maxHeight=Math.min(e.bottom,a-n.top);if(n.left<0||n.left+e.right>l)if(n.maxWidth=Math.min(e.right,l),"middle"===i.horizontal)n.left=t[i.horizontal]>l/2?l-e.right:0;else if(o)n.left=n.left<0?0:l-e.right;else if(t[i.horizontal]>l/2){var h=Math.min(l,"middle"===s.horizontal?t.center:s.horizontal===i.horizontal?t.right:t.left);n.maxWidth=Math.min(e.right,h),n.left=Math.max(0,h-n.maxWidth)}else n.left="middle"===s.horizontal?t.center:s.horizontal===i.horizontal?t.left:t.right,n.maxWidth=Math.min(e.right,l-n.left);return n}function setPosition(t){var e,i=t.el,s=t.animate,n=t.anchorEl,o=t.anchorOrigin,r=t.selfOrigin,a=t.maxHeight,l=t.event,c=t.anchorClick,h=t.touchPosition,u=t.offset,d=t.touchOffset,p=t.cover;if(i.style.maxHeight=a||"65vh",i.style.maxWidth="100vw",!l||c&&!h)if(d){var f=n.getBoundingClientRect(),m=f.top,g=f.left,v=m+d.top,b=g+d.left;e={top:v,left:b,width:1,height:1,right:b+1,center:v,middle:b,bottom:v+1}}else e=getAnchorPosition(n,u);else{var _=position(l),y=_.top,w=_.left;e={top:y,left:w,width:1,height:1,right:w+1,center:y,middle:w,bottom:y+1}}var C=getTargetPosition(i),S={top:e[o.vertical]-C[r.vertical],left:e[o.horizontal]-C[r.horizontal]};if(S=repositionIfNeeded(e,C,r,o,S,p),i.style.top=Math.max(0,S.top)+"px",i.style.left=Math.max(0,S.left)+"px",S.maxHeight&&(i.style.maxHeight=S.maxHeight+"px"),S.maxWidth&&(i.style.maxWidth=S.maxWidth+"px"),s){var x=S.topwindow.innerHeight||r<0||o>window.innerWidth))return this.hide();if(this.fit||this.cover){var a=window.getComputedStyle(this.anchorEl);this.$el.style.minWidth=a.getPropertyValue("width"),this.cover&&(this.$el.style.minHeight=a.getPropertyValue("height"))}if(e)if(this.touchPosition){var l=position(t),c=l.top,h=l.left;this.touchOffset={left:h-o,top:c-s}}else delete this.touchOffset;setPosition({event:t,animate:e,el:this.$el,offset:this.offset,anchorEl:this.anchorEl,anchorOrigin:this.anchorOrigin,selfOrigin:this.selfOrigin,maxHeight:this.maxHeight,anchorClick:this.anchorClick,touchPosition:this.touchPosition,touchOffset:this.touchOffset,cover:this.cover})}}};function push(t,e,i,s,n,o){var r={props:{right:o.right}};if(s&&n)t.push(e(i,r,s));else{var a=!1;for(var l in o)if(o.hasOwnProperty(l)&&void 0!==(a=o[l])&&!0!==a){t.push(e(i,{props:o}));break}s&&t.push(e(i,r,s))}}var QItemWrapper={name:"QItemWrapper",props:{cfg:{type:Object,default:function(){return{}}},slotReplace:Boolean},render:function(t){var e=this.cfg,i=this.slotReplace,s=[];return push(s,t,QItemSide,this.$slots.left,i,{icon:e.icon,color:e.leftColor,avatar:e.avatar,letter:e.letter,image:e.image,inverted:e.leftInverted,textColor:e.leftTextColor}),push(s,t,QItemMain,this.$slots.main,i,{label:e.label,sublabel:e.sublabel,labelLines:e.labelLines,sublabelLines:e.sublabelLines,inset:e.inset}),push(s,t,QItemSide,this.$slots.right,i,{right:!0,icon:e.rightIcon,color:e.rightColor,avatar:e.rightAvatar,letter:e.rightLetter,image:e.rightImage,stamp:e.stamp,inverted:e.rightInverted,textColor:e.rightTextColor}),s.push(this.$slots.default),t(QItem,{attrs:this.$attrs,on:this.$listeners,props:e},s)}},KeyboardSelectionMixin={data:function(){return{keyboardIndex:0,keyboardMoveDirection:!1,keyboardMoveTimer:!1}},watch:{keyboardIndex:function(t){var e=this;this.$refs.popover&&this.$refs.popover.showing&&this.keyboardMoveDirection&&t>-1&&this.$nextTick(function(){if(e.$refs.popover){var t=e.$refs.popover.$el.querySelector(".q-select-highlight");if(t&&t.scrollIntoView){if(t.scrollIntoViewIfNeeded)return t.scrollIntoViewIfNeeded(!1);t.scrollIntoView(e.keyboardMoveDirection<0)}}})}},methods:{__keyboardShow:function(t){void 0===t&&(t=0),this.keyboardIndex!==t&&(this.keyboardIndex=t)},__keyboardSetCurrentSelection:function(t){this.keyboardIndex>=0&&this.keyboardIndex<=this.keyboardMaxIndex&&this.__keyboardSetSelection(this.keyboardIndex,t)},__keyboardHandleKey:function(t){var e=getEventKey(t);switch(e){case 38:this.__keyboardMoveCursor(-1,t);break;case 40:this.__keyboardMoveCursor(1,t);break;case 13:if(this.$refs.popover.showing)return stopAndPrevent(t),void this.__keyboardSetCurrentSelection();break;case 9:this.hide()}this.__keyboardCustomKeyHandle(e,t)},__keyboardMoveCursor:function(t,e){var i=this;if(stopAndPrevent(e),this.$refs.popover.showing){clearTimeout(this.keyboardMoveTimer);var s=this.keyboardIndex,n=this.__keyboardIsSelectableIndex||function(){return!0};do{s=normalizeToInterval(s+t,-1,i.keyboardMaxIndex)}while(s!==this.keyboardIndex&&!n(s));return this.keyboardMoveDirection=s>this.keyboardIndex?1:-1,this.keyboardMoveTimer=setTimeout(function(){i.keyboardMoveDirection=!1},500),void(this.keyboardIndex=s)}this.__keyboardShowTrigger()}}},QAutocomplete={name:"QAutocomplete",mixins:[KeyboardSelectionMixin],props:{minCharacters:{type:Number,default:1},maxResults:{type:Number,default:6},maxHeight:String,debounce:{type:Number,default:500},filter:{type:Function,default:filter},staticData:Object,valueField:[String,Function],separator:Boolean},inject:{__input:{default:function(){console.error("QAutocomplete needs to be child of QInput, QChipsInput or QSearch")}},__inputDebounce:{default:null}},data:function(){return{searchId:"",results:[],width:0,enterKey:!1,timer:null}},watch:{"__input.val":function(){this.enterKey?this.enterKey=!1:this.__delayTrigger()}},computed:{computedResults:function(){return this.maxResults&&this.results.length>0?this.results.slice(0,this.maxResults):[]},computedValueField:function(){return this.valueField||this.staticData&&this.staticData.field||"value"},keyboardMaxIndex:function(){return this.computedResults.length-1},computedWidth:function(){return{minWidth:this.width}},searching:function(){return this.searchId.length>0}},methods:{isWorking:function(){return this.$refs&&this.$refs.popover},trigger:function(t){var e=this;if(this.__input&&this.__input.isEditable()&&this.__input.hasFocus()&&this.isWorking()){var i=[null,void 0].includes(this.__input.val)?"":String(this.__input.val),s=i.length,n=uid(),o=this.$refs.popover;if(this.searchId=n,s0)return this.searchId="",this.__clearSearch(),void this.hide();if(this.width=width(this.inputEl)+"px",this.staticData)return this.searchId="",this.results=this.filter(i,this.staticData),this.results.length?void this.__showResults():void o.hide();this.__input.loading=!0,this.$emit("search",i,function(t){if(e.isWorking()&&e.searchId===n){if(e.__clearSearch(),Array.isArray(t)&&t.length>0)return e.results=t,void e.__showResults();e.hide()}})}},hide:function(){return this.results=[],this.isWorking()?this.$refs.popover.hide():Promise.resolve()},blurHide:function(){var t=this;this.__clearSearch(),this.timer=setTimeout(function(){return t.hide()},300)},__clearSearch:function(){clearTimeout(this.timer),this.__input.loading=!1,this.searchId=""},__keyboardCustomKeyHandle:function(t){switch(t){case 27:this.__clearSearch();break;case 38:case 40:case 9:this.__keyboardSetCurrentSelection(!0)}},__keyboardShowTrigger:function(){this.trigger()},__focusShowTrigger:function(){var t=this;clearTimeout(this.timer),this.timer=setTimeout(function(){return t.trigger(!0)},100)},__keyboardIsSelectableIndex:function(t){return t>-1&&t=a?n<0?"left":"right":o<0?"up":"down",isFirst:e.event.isFirst,isFinal:i,duration:(new Date).getTime()-e.event.time,distance:{x:r,y:a},offset:{x:n,y:o},delta:{x:s.left-e.event.lastX,y:s.top-e.event.lastY}}}function shouldTrigger(t,e){return!(!t.direction.horizontal||!t.direction.vertical)||(t.direction.horizontal&&!t.direction.vertical?Math.abs(e.delta.x)>0:!t.direction.horizontal&&t.direction.vertical?Math.abs(e.delta.y)>0:void 0)}var TouchPan={name:"touch-pan",bind:function(t,e){var i=!0!==e.modifiers.noMouse,s=e.modifiers.stop,n=e.modifiers.prevent,o=n||e.modifiers.mightPrevent?null:listenOpts.passive,r={handler:e.value,direction:getDirection(e.modifiers),mouseStart:function(t){leftClick(t)&&(document.addEventListener("mousemove",r.move,o),document.addEventListener("mouseup",r.mouseEnd,o),r.start(t,!0))},mouseEnd:function(t){document.removeEventListener("mousemove",r.move,o),document.removeEventListener("mouseup",r.mouseEnd,o),r.end(t)},start:function(e,i){var o=position(e);r.event={x:o.left,y:o.top,time:(new Date).getTime(),detected:!0===i||r.direction.horizontal&&r.direction.vertical,abort:!1,isFirst:!0,lastX:o.left,lastY:o.top},r.event.detected&&(t.classList.add("q-touch"),!0!==i&&(s&&e.stopPropagation(),n&&e.preventDefault(),r.move(e)))},move:function(t){if(!0!==r.event.abort)if(!0!==r.event.detected){var e=position(t),i=Math.abs(e.left-r.event.x),o=Math.abs(e.top-r.event.y);i!==o&&(r.event.detected=!0,r.event.abort=r.direction.vertical?i>o:i1&&(t=1);var e=n+(s-n)*u(t);if(o(e,t),1===t)return delete ids[c],void(r&&r(e));p.last={pos:e,progress:t},p.timer=requestAnimationFrame(d)},p=ids[c]={cancel:a,timer:requestAnimationFrame(d)};return c}function stop(t){if(t){var e=ids[t];e&&e.timer&&(cancelAnimationFrame(e.timer),e.cancel&&e.cancel(e.last),delete ids[t])}}var animate={start:start,stop:stop},FullscreenMixin={data:function(){return{inFullscreen:!1}},watch:{$route:function(){this.exitFullscreen()},inFullscreen:function(t){this.$emit("fullscreen",t)}},methods:{toggleFullscreen:function(){this.inFullscreen?this.exitFullscreen():this.setFullscreen()},setFullscreen:function(){this.inFullscreen||(this.inFullscreen=!0,this.container=this.$el.parentNode,this.container.replaceChild(this.fullscreenFillerNode,this.$el),document.body.appendChild(this.$el),document.body.classList.add("q-body-fullscreen-mixin"),this.__historyFullscreen={handler:this.exitFullscreen},History.add(this.__historyFullscreen))},exitFullscreen:function(){this.inFullscreen&&(this.__historyFullscreen&&(History.remove(this.__historyFullscreen),this.__historyFullscreen=null),this.container.replaceChild(this.$el,this.fullscreenFillerNode),document.body.classList.remove("q-body-fullscreen-mixin"),this.inFullscreen=!1)}},beforeMount:function(){this.fullscreenFillerNode=document.createElement("span")},beforeDestroy:function(){this.exitFullscreen()}},QCarousel={name:"QCarousel",mixins:[FullscreenMixin],directives:{TouchPan:TouchPan},props:{value:Number,color:{type:String,default:"primary"},height:String,arrows:Boolean,infinite:Boolean,animation:{type:[Number,Boolean],default:!0},easing:Function,swipeEasing:Function,noSwipe:Boolean,autoplay:[Number,Boolean],handleArrowKeys:Boolean,quickNav:Boolean,quickNavPosition:{type:String,default:"bottom",validator:function(t){return["top","bottom"].includes(t)}},quickNavIcon:String,thumbnails:{type:Array,default:function(){return[]}},thumbnailsIcon:String,thumbnailsHorizontal:Boolean},provide:function(){return{carousel:this}},data:function(){return{position:0,slide:0,positionSlide:0,slidesNumber:0,animUid:!1,viewThumbnails:!1}},watch:{value:function(t){t!==this.slide&&this.goToSlide(t)},autoplay:function(){this.__planAutoPlay()},infinite:function(){this.__planAutoPlay()},handleArrowKeys:function(t){this.__setArrowKeys(t)}},computed:{rtlDir:function(){return this.$q.i18n.rtl?-1:1},arrowIcon:function(){var t=[this.$q.icon.carousel.left,this.$q.icon.carousel.right];return this.$q.i18n.rtl?t.reverse():t},trackPosition:function(){return{transform:"translateX("+this.rtlDir*this.position+"%)"}},infiniteLeft:function(){return this.infinite&&this.slidesNumber>1&&this.positionSlide<0},infiniteRight:function(){return this.infinite&&this.slidesNumber>1&&this.positionSlide>=this.slidesNumber},canGoToPrevious:function(){return this.infinite?this.slidesNumber>1:this.slide>0},canGoToNext:function(){return this.infinite?this.slidesNumber>1:this.slidei.slide?"next":"previous",i.infinite?(i.slide=normalizeToInterval(t,0,i.slidesNumber-1),n=normalizeToInterval(t,-1,i.slidesNumber),e||(i.positionSlide=n)):(i.slide=between(t,0,i.slidesNumber-1),i.positionSlide=i.slide,n=i.slide)),i.$emit("slide-trigger",r,i.slide,o),n*=-100,!i.animation)return i.position=n,void a();i.animationInProgress=!0,i.animUid=start({from:i.position,to:n,duration:isNumber(i.animation)?i.animation:300,easing:e?i.swipeEasing||decelerate:i.easing||standard,apply:function(t){i.position=t},done:function(){i.infinite&&(i.position=100*-i.slide,i.positionSlide=i.slide),i.animationInProgress=!1,a()}})})},stopAnimation:function(){stop(this.animUid),this.animationInProgress=!1},__pan:function(t){var e=this;if(!this.infinite||!this.animationInProgress){t.isFirst&&(this.initialPosition=this.position,this.__cleanup());var i=this.rtlDir*("left"===t.direction?-1:1)*t.distance.x;(this.infinite&&this.slidesNumber<2||!this.infinite&&(0===this.slide&&i>0||this.slide===this.slidesNumber-1&&i<0))&&(i=0);var s=this.initialPosition+i/this.$refs.track.offsetWidth*100,n=this.slide+this.rtlDir*("left"===t.direction?1:-1);this.position!==s&&(this.position=s),this.positionSlide!==n&&(this.positionSlide=n),t.isFinal&&this.goToSlide(t.distance.x<40?this.slide:this.positionSlide,!0).then(function(){delete e.initialPosition})}},__planAutoPlay:function(){var t=this;this.$nextTick(function(){t.autoplay&&(clearTimeout(t.timer),t.timer=setTimeout(t.next,isNumber(t.autoplay)?t.autoplay:5e3))})},__cleanup:function(){this.stopAnimation(),clearTimeout(this.timer)},__handleArrowKey:function(t){var e=getEventKey(t);37===e?this.previous():39===e&&this.next()},__setArrowKeys:function(t){document[(!0===t?"add":"remove")+"EventListener"]("keydown",this.__handleArrowKey)},__registerSlide:function(){this.slidesNumber++},__unregisterSlide:function(){this.slidesNumber--},__getScopedSlots:function(t){var e=this;if(0!==this.slidesNumber){var i=this.$scopedSlots;return i?Object.keys(i).filter(function(t){return t.startsWith("control-")}).map(function(t){return i[t](e.slotScope)}):void 0}},__getQuickNav:function(t){var e=this;if(0!==this.slidesNumber&&this.quickNav){var i=this.$scopedSlots["quick-nav"],s=[];if(i)for(var n=function(t){s.push(i({slide:t,before:te.slide,color:e.color,goToSlide:function(i){e.goToSlide(i||t)}}))},o=0;o=e&&t.$emit("input",e-1)},{immediate:!0})},beforeDestroy:function(){this.__cleanup(),this.__stopSlideNumberNotifier(),this.handleArrowKeys&&this.__setArrowKeys(!1)}},QCarouselSlide={name:"QCarouselSlide",inject:{carousel:{default:function(){console.error("QCarouselSlide needs to be child of QCarousel")}}},props:{imgSrc:String},computed:{computedStyle:function(){var t={};return this.imgSrc&&(t.backgroundImage="url("+this.imgSrc+")",t.backgroundSize="cover",t.backgroundPosition="50%"),!this.carousel.inFullscreen&&this.carousel.height&&(t.maxHeight=this.carousel.height),t}},render:function(t){return t("div",{staticClass:"q-carousel-slide relative-position scroll",style:this.computedStyle},this.$slots.default)},created:function(){this.carousel.__registerSlide()},beforeDestroy:function(){this.carousel.__unregisterSlide()}},QCarouselControl={name:"QCarouselControl",props:{position:{type:String,default:"bottom-right"},offset:{type:Array,default:function(){return[18,18]}}},computed:{computedClass:function(){return"absolute-"+this.position},computedStyle:function(){return{margin:this.offset[1]+"px "+this.offset[0]+"px"}}},render:function(t){return t("div",{staticClass:"q-carousel-control absolute",style:this.computedStyle,class:this.computedClass},this.$slots.default)}},QChatMessage={name:"QChatMessage",props:{sent:Boolean,label:String,bgColor:String,textColor:String,name:String,avatar:String,text:Array,stamp:String,size:String},computed:{textClass:function(){if(this.textColor)return"text-"+this.textColor},messageClass:function(){if(this.bgColor)return"text-"+this.bgColor},sizeClass:function(){if(this.size)return"col-"+this.size},classes:function(){return{"q-message-sent":this.sent,"q-message-received":!this.sent}}},methods:{__getText:function(t){var e=this;return this.text.map(function(i,s){return t("div",{staticClass:"q-message-text",class:e.messageClass},[t("span",{staticClass:"q-message-text-content",class:e.textClass},[t("div",{domProps:{innerHTML:i}}),e.stamp?t("div",{staticClass:"q-message-stamp",domProps:{innerHTML:e.stamp}}):null])])})},__getMessage:function(t){return t("div",{staticClass:"q-message-text",class:this.messageClass},[t("span",{staticClass:"q-message-text-content",class:this.textClass},[this.$slots.default,this.stamp?t("div",{staticClass:"q-message-stamp",domProps:{innerHTML:this.stamp}}):null])])}},render:function(t){return t("div",{staticClass:"q-message",class:this.classes},[this.label?t("div",{staticClass:"q-message-label text-center",domProps:{innerHTML:this.label}}):null,t("div",{staticClass:"q-message-container row items-end no-wrap"},[this.$slots.avatar||(this.avatar?t("img",{staticClass:"q-message-avatar col-auto",attrs:{src:this.avatar}}):null),t("div",{class:this.sizeClass},[this.name?t("div",{staticClass:"q-message-name",domProps:{innerHTML:this.name}}):null,this.text?this.__getText(t):null,this.$slots.default?this.__getMessage(t):null])])])}};function getDirection$1(t){var e={};return["left","right","up","down","horizontal","vertical"].forEach(function(i){t[i]&&(e[i]=!0)}),0===Object.keys(e).length?{left:!0,right:!0,up:!0,down:!0,horizontal:!0,vertical:!0}:(e.horizontal&&(e.left=e.right=!0),e.vertical&&(e.up=e.down=!0),e.left&&e.right&&(e.horizontal=!0),e.up&&e.down&&(e.vertical=!0),e)}var TouchSwipe={name:"touch-swipe",bind:function(t,e){var i=!e.modifiers.noMouse,s={handler:e.value,threshold:parseInt(e.arg,10)||300,direction:getDirection$1(e.modifiers),mouseStart:function(t){leftClick(t)&&(document.addEventListener("mousemove",s.move),document.addEventListener("mouseup",s.mouseEnd),s.start(t))},mouseEnd:function(t){document.removeEventListener("mousemove",s.move),document.removeEventListener("mouseup",s.mouseEnd),s.end(t)},start:function(e){var i=position(e);s.event={x:i.left,y:i.top,time:(new Date).getTime(),detected:!1,abort:!1},t.classList.add("q-touch")},move:function(t){if(!s.event.abort)if((new Date).getTime()-s.event.time>s.threshold)s.event.abort=!0;else{if(s.event.detected)return t.stopPropagation(),void t.preventDefault();var e=position(t),i=e.left-s.event.x,n=Math.abs(i),o=e.top-s.event.y,r=Math.abs(o);n!==r&&(s.event.detected=!0,s.event.abort=!(s.direction.vertical&&nr||s.direction.up&&n0||s.direction.left&&n>r&&i<0||s.direction.right&&n>r&&i>0),s.move(t))}},end:function(e){if(t.classList.remove("q-touch"),!s.event.abort&&s.event.detected){var i=(new Date).getTime()-s.event.time;if(!(i>s.threshold)){e.stopPropagation(),e.preventDefault();var n,o=position(e),r=o.left-s.event.x,a=Math.abs(r),l=o.top-s.event.y,c=Math.abs(l);if(a>=c){if(a<50)return;n=r<0?"left":"right"}else{if(c<50)return;n=l<0?"up":"down"}s.direction[n]&&s.handler({evt:e,direction:n,duration:i,distance:{x:a,y:c}})}}}};t.__qtouchswipe=s,i&&t.addEventListener("mousedown",s.mouseStart),t.addEventListener("touchstart",s.start),t.addEventListener("touchmove",s.move),t.addEventListener("touchend",s.end)},update:function(t,e){e.oldValue!==e.value&&(t.__qtouchswipe.handler=e.value)},unbind:function(t,e){var i=t.__qtouchswipe;i&&(t.removeEventListener("mousedown",i.mouseStart),t.removeEventListener("touchstart",i.start),t.removeEventListener("touchmove",i.move),t.removeEventListener("touchend",i.end),delete t.__qtouchswipe)}},CheckboxMixin={directives:{TouchSwipe:TouchSwipe},props:{val:{},trueValue:{default:!0},falseValue:{default:!1}},computed:{isTrue:function(){return this.modelIsArray?this.index>-1:this.value===this.trueValue},isFalse:function(){return this.modelIsArray?-1===this.index:this.value===this.falseValue},index:function(){if(this.modelIsArray)return this.value.indexOf(this.val)},modelIsArray:function(){return Array.isArray(this.value)}},methods:{toggle:function(t,e){var i;(void 0===e&&(e=!0),this.disable||this.readonly)||(t&&stopAndPrevent(t),e&&this.$el.blur(),this.modelIsArray?this.isTrue?(i=this.value.slice()).splice(this.index,1):i=this.value.concat(this.val):i=this.isTrue?this.toggleIndeterminate?this.indeterminateValue:this.falseValue:this.isFalse?this.trueValue:this.falseValue,this.__update(i))}}},OptionMixin={props:{value:{required:!0},label:String,leftLabel:Boolean,color:{type:String,default:"primary"},keepColor:Boolean,dark:Boolean,disable:Boolean,readonly:Boolean,noFocus:Boolean,checkedIcon:String,uncheckedIcon:String},computed:{classes:function(){return[this.__kebabTag,{disabled:this.disable,reverse:this.leftLabel,"q-focusable":this.focusable}]},innerClasses:function(){return this.isTrue||this.isIndeterminate?["active","text-"+this.color]:"text-"+(this.keepColor?this.color:this.dark?"light":"faded")},focusable:function(){return!this.noFocus&&!this.disable&&!this.readonly},tabindex:function(){return this.focusable?0:-1}},methods:{__update:function(t){var e=this,i=this.$refs.ripple;i&&(i.classList.add("active"),setTimeout(function(){i.classList.remove("active")},10)),this.$emit("input",t),this.$nextTick(function(){JSON.stringify(t)!==JSON.stringify(e.value)&&e.$emit("change",t)})},__handleKeyDown:function(t){[13,32].includes(getEventKey(t))&&this.toggle(t,!1)}},render:function(t){var e=this;return t("div",{staticClass:"q-option cursor-pointer no-outline row inline no-wrap items-center",class:this.classes,attrs:{tabindex:this.tabindex},on:{click:this.toggle,focus:function(){e.$emit("focus")},blur:function(){e.$emit("blur")},keydown:this.__handleKeyDown},directives:"q-toggle"!==this.__kebabTag||this.disable||this.readonly?null:[{name:"touch-swipe",modifiers:{horizontal:!0},value:this.__swipe}]},[t("div",{staticClass:"q-option-inner relative-position",class:this.innerClasses},[t("input",{attrs:{type:"checkbox"},on:{change:this.toggle}}),this.$q.platform.is.desktop?t("div",{staticClass:"q-focus-helper",class:"q-radio"===this.__kebabTag?"q-focus-helper-round":"q-focus-helper-rounded"}):null,this.__getContent(t)]),this.label?t("span",{staticClass:"q-option-label",domProps:{innerHTML:this.label}}):null,this.$slots.default])}},QCheckbox={name:"QCheckbox",mixins:[CheckboxMixin,OptionMixin],props:{toggleIndeterminate:Boolean,indeterminateValue:{default:null},indeterminateIcon:String},computed:{isIndeterminate:function(){return void 0===this.value||this.value===this.indeterminateValue},checkedStyle:function(){return this.isTrue?{transition:"opacity 0ms cubic-bezier(0.23, 1, 0.32, 1) 0ms, transform 800ms cubic-bezier(0.23, 1, 0.32, 1) 0ms",opacity:1,transform:"scale(1)"}:{transition:"opacity 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms, transform 0ms cubic-bezier(0.23, 1, 0.32, 1) 450ms",opacity:0,transform:"scale(0)"}},indeterminateStyle:function(){return this.isIndeterminate?{transition:"opacity 0ms cubic-bezier(0.23, 1, 0.32, 1) 0ms, transform 800ms cubic-bezier(0.23, 1, 0.32, 1) 0ms",opacity:1,transform:"scale(1)"}:{transition:"opacity 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms, transform 0ms cubic-bezier(0.23, 1, 0.32, 1) 450ms",opacity:0,transform:"scale(0)"}},uncheckedStyle:function(){return this.isFalse?{opacity:1}:{transition:"opacity 650ms cubic-bezier(0.23, 1, 0.32, 1) 150ms",opacity:0}}},methods:{__getContent:function(t){return[t(QIcon,{staticClass:"q-checkbox-icon cursor-pointer",props:{name:this.uncheckedIcon||this.$q.icon.checkbox.unchecked.ios},style:this.uncheckedStyle}),t(QIcon,{staticClass:"q-checkbox-icon cursor-pointer absolute-full",props:{name:this.indeterminateIcon||this.$q.icon.checkbox.indeterminate.ios},style:this.indeterminateStyle}),t(QIcon,{staticClass:"q-checkbox-icon cursor-pointer absolute-full",props:{name:this.checkedIcon||this.$q.icon.checkbox.checked.ios},style:this.checkedStyle}),null]}},beforeCreate:function(){this.__kebabTag="q-checkbox"}},QChip={name:"QChip",props:{small:Boolean,dense:Boolean,tag:Boolean,square:Boolean,floating:Boolean,pointing:{type:String,validator:function(t){return["up","right","down","left"].includes(t)}},color:String,textColor:String,icon:String,iconRight:String,avatar:String,closable:Boolean,detail:Boolean},computed:{classes:function(){var t=this,e=[];return this.pointing&&e.push("q-chip-pointing-"+this.pointing),["tag","square","floating","pointing","small","dense"].forEach(function(i){t[i]&&e.push("q-chip-"+i)}),this.floating&&(!this.dense&&e.push("q-chip-dense"),!this.square&&e.push("q-chip-square")),this.color&&(e.push("bg-"+this.color),!this.textColor&&e.push("text-white")),this.textColor&&e.push("text-"+this.textColor),e}},methods:{__onClick:function(t){this.$emit("click",t)},__onMouseDown:function(t){this.$emit("focus",t)},__handleKeyDown:function(t){this.closable&&[8,13,32].includes(getEventKey(t))&&(stopAndPrevent(t),this.$emit("hide"))}},render:function(t){var e=this;return t("div",{staticClass:"q-chip row no-wrap inline items-center",class:this.classes,on:{mousedown:this.__onMouseDown,touchstart:this.__onMouseDown,click:this.__onClick,keydown:this.__handleKeyDown}},[this.icon||this.avatar?t("div",{staticClass:"q-chip-side q-chip-left row flex-center",class:{"q-chip-detail":this.detail}},[this.icon?t(QIcon,{staticClass:"q-chip-icon",props:{name:this.icon}}):this.avatar?t("img",{attrs:{src:this.avatar}}):null]):null,t("div",{staticClass:"q-chip-main ellipsis q-popup--skip"},this.$slots.default),this.iconRight?t(QIcon,{props:{name:this.iconRight},class:this.closable?"on-right q-chip-icon":"q-chip-side q-chip-right"}):null,this.closable?t("div",{staticClass:"q-chip-side q-chip-close q-chip-right row flex-center"},[t(QIcon,{props:{name:this.$q.icon.chip.close},staticClass:"cursor-pointer",nativeOn:{click:function(t){t&&t.stopPropagation(),e.$emit("hide")}}})]):null])}},marginal={type:Array,validator:function(t){return t.every(function(t){return"icon"in t})}},FrameMixin={mixins:[AlignMixin],props:{prefix:String,suffix:String,stackLabel:String,floatLabel:String,placeholder:String,error:Boolean,warning:Boolean,disable:Boolean,readonly:Boolean,clearable:Boolean,color:{type:String,default:"primary"},align:{default:"left"},dark:Boolean,before:marginal,after:marginal,inverted:Boolean,invertedLight:Boolean,hideUnderline:Boolean,clearValue:{},noParentField:Boolean},computed:{inputPlaceholder:function(){if(!this.floatLabel&&!this.stackLabel||this.labelIsAbove)return this.placeholder},isInverted:function(){return this.inverted||this.invertedLight},isInvertedLight:function(){return this.isInverted&&(this.invertedLight&&!this.hasError||this.inverted&&this.hasWarning)},isStandard:function(){return!this.isInverted},isHideUnderline:function(){return this.isStandard&&this.hideUnderline},labelIsAbove:function(){return this.focused||this.length||this.additionalLength||this.stackLabel},hasContent:function(){return this.length>0||this.additionalLength>0||this.placeholder||0===this.placeholder},editable:function(){return!this.disable&&!this.readonly},computedClearValue:function(){return void 0===this.clearValue?null:this.clearValue},isClearable:function(){return this.editable&&this.clearable&&this.computedClearValue!==this.model},hasError:function(){return!!(!this.noParentField&&this.field&&this.field.error||this.error)},hasWarning:function(){return!(this.hasError||!(!this.noParentField&&this.field&&this.field.warning||this.warning))},fakeInputValue:function(){return this.actualValue||0===this.actualValue?this.actualValue:this.placeholder||0===this.placeholder?this.placeholder:""},fakeInputClasses:function(){var t=this.actualValue||0===this.actualValue;return[this.alignClass,{invisible:(this.stackLabel||this.floatLabel)&&!this.labelIsAbove&&!t,"q-input-target-placeholder":!t&&this.inputPlaceholder}]}},methods:{clear:function(t){if(this.editable){t&&stopAndPrevent(t);var e=this.computedClearValue;this.__setModel&&this.__setModel(e,!0),this.$emit("clear",e)}}}},InputMixin={props:{autofocus:[Boolean,String],maxHeight:Number,loading:Boolean},data:function(){return{focused:!1,timer:null,isNumberError:!1,isNegZero:!1}},methods:{focus:function(){this.disable||this.$refs.input.focus()},blur:function(){this.$refs.input&&this.$refs.input.blur()},select:function(){this.$refs.input.select()},__onFocus:function(t){clearTimeout(this.timer),this.focused||(this.focused=!0,this.$refs.input&&this.$refs.input.focus(),this.$emit("focus",t))},__onInputBlur:function(t){var e=this;clearTimeout(this.timer),this.timer=setTimeout(function(){e.__onBlur(t)},200)},__onBlur:function(t,e){this.focused&&(this.focused=!1,this.$emit("blur",t)),this.__emit(e)},__emit:function(t){var e=this,i=this.isNumber&&this.isNumberError,s=i?this.isNegZero?-0:null:this.model;this.isNumber&&(this.model=this.value),i&&this.$emit("input",s);var n=function(){e.isNumber?(s=parseFloat(s),Number.isInteger(e.decimals)&&(s=parseFloat(s.toFixed(e.decimals))),String(1/s)!==String(1/e.value)&&e.$emit("change",s)):JSON.stringify(s)!==JSON.stringify(e.value)&&e.$emit("change",s)};t?n():this.$nextTick(n)},__onKeydown:function(t){13===t.keyCode&&("textarea"===this.type?t.stopPropagation():this.__emit()),this.$emit("keydown",t)},__onKeyup:function(t){this.$emit("keyup",t)},__onClick:function(t){this.focus(),this.$emit("click",t)},__onPaste:function(t){this.$emit("paste",t)}},mounted:function(){var t=this;this.$nextTick(function(){var e=t.$refs.input;t.autofocus&&e&&(e.focus(),"select"===t.autofocus&&e.select())})},beforeDestroy:function(){clearTimeout(this.timer),this.focused&&this.__onBlur(void 0,!0)}},ParentFieldMixin={inject:{field:{from:"__field",default:null}},props:{noParentField:Boolean},watch:{noParentField:function(t){this.field&&this.field[t?"__registerInput":"__unregisterInput"](this)}},beforeMount:function(){!this.noParentField&&this.field&&this.field.__registerInput(this)},beforeDestroy:function(){!this.noParentField&&this.field&&this.field.__unregisterInput(this)}},QInputFrame={name:"QInputFrame",mixins:[FrameMixin,ParentFieldMixin],props:{focused:Boolean,length:Number,focusable:Boolean,additionalLength:Boolean},computed:{hasStackLabel:function(){return"string"==typeof this.stackLabel&&this.stackLabel.length>0},hasLabel:function(){return this.hasStackLabel||"string"==typeof this.floatLabel&&this.floatLabel.length>0},label:function(){return this.hasStackLabel?this.stackLabel:this.floatLabel},addonClass:function(){return{"q-if-addon-visible":!this.hasLabel||this.labelIsAbove}},classes:function(){var t=[{"q-if-has-label":this.label,"q-if-focused":this.focused,"q-if-error":this.hasError,"q-if-warning":this.hasWarning,"q-if-disabled":this.disable,"q-if-readonly":this.readonly,"q-if-focusable":this.focusable&&!this.disable,"q-if-inverted":this.isInverted,"q-if-inverted-light":this.isInvertedLight,"q-if-light-color":this.lightColor,"q-if-dark":this.dark,"q-if-hide-underline":this.isHideUnderline,"q-if-standard":this.isStandard,"q-if-has-content":this.hasContent}],e=this.hasError?"negative":this.hasWarning?"warning":this.color;return this.isInverted?(t.push("bg-"+e),t.push("text-"+(this.isInvertedLight?"black":"white"))):e&&t.push("text-"+e),t}},methods:{__onClick:function(t){this.$emit("click",t)},__onMouseDown:function(t){var e=this;!this.disable&&this.$nextTick(function(){return e.$emit("focus",t)})},__additionalHidden:function(t,e,i,s){return void 0!==t.condition?!1===t.condition:void 0!==t.content&&!t.content==s>0||void 0!==t.error&&!t.error===e||void 0!==t.warning&&!t.warning===i},__baHandler:function(t,e){e.allowPropagation||t.stopPropagation(),e.handler&&e.handler(t)}},render:function(t){var e=this;return t("div",{staticClass:"q-if row no-wrap relative-position",class:this.classes,attrs:{tabindex:this.focusable&&!this.disable?0:-1},on:{click:this.__onClick}},[t("div",{staticClass:"q-if-baseline"},"|"),this.before&&this.before.map(function(i){return t(QIcon,{key:"b"+i.icon,staticClass:"q-if-control q-if-control-before",class:[i.class,{hidden:e.__additionalHidden(i,e.hasError,e.hasWarning,e.length)}],props:{name:i.icon},nativeOn:{mousedown:e.__onMouseDown,touchstart:e.__onMouseDown,click:function(t){e.__baHandler(t,i)}}})})||void 0,t("div",{staticClass:"q-if-inner col column q-popup--skip"},[t("div",{staticClass:"row no-wrap relative-position"},[this.prefix&&t("span",{staticClass:"q-if-addon q-if-addon-left",class:this.addonClass,domProps:{innerHTML:this.prefix}})||void 0,this.hasLabel&&t("div",{staticClass:"q-if-label",class:{"q-if-label-above":this.labelIsAbove}},[t("div",{staticClass:"q-if-label-inner ellipsis",domProps:{innerHTML:this.label}})])||void 0].concat(this.$slots.default).concat([this.suffix&&t("span",{staticClass:"q-if-addon q-if-addon-right",class:this.addonClass,domProps:{innerHTML:this.suffix}})||void 0])),this.hasLabel&&t("div",{staticClass:"q-if-label-spacer",domProps:{innerHTML:this.label}})||void 0]),this.after&&this.after.map(function(i){return t(QIcon,{key:"a"+i.icon,staticClass:"q-if-control",class:[i.class,{hidden:e.__additionalHidden(i,e.hasError,e.hasWarning,e.length)}],props:{name:i.icon},nativeOn:{mousedown:e.__onMouseDown,touchstart:e.__onMouseDown,click:function(t){e.__baHandler(t,i)}}})})||void 0].concat(this.$slots.after))}},QChipsInput={name:"QChipsInput",mixins:[FrameMixin,InputMixin],props:{value:{type:Array,required:!0},chipsColor:String,chipsBgColor:String,readonly:Boolean,addIcon:String,upperCase:Boolean,lowerCase:Boolean},data:function(){var t=this;return{input:"",model:this.value.slice(),watcher:null,shadow:{val:this.input,set:this.add,setNav:function(e){t.input=e},loading:!1,selectionOpen:!1,watched:0,isEditable:function(){return t.editable},isDark:function(){return t.dark},hasFocus:function(){return document.activeElement===t.$refs.input},register:function(){t.shadow.watched+=1,t.__watcherRegister()},unregister:function(){t.shadow.watched=Math.max(0,t.shadow.watched-1),t.__watcherUnregister()},getEl:function(){return t.$refs.input}}}},watch:{value:function(t){this.model=t.slice()}},provide:function(){return{__input:this.shadow}},computed:{length:function(){return this.model?this.model.length:0},isLoading:function(){return this.loading||this.shadow.watched&&this.shadow.loading},computedAddIcon:function(){return this.addIcon||this.$q.icon.chipsInput.add},computedChipTextColor:function(){return this.chipsColor?this.chipsColor:this.isInvertedLight?this.invertedLight?this.color:"white":this.isInverted?this.invertedLight?"grey-10":this.color:this.dark?this.color:"white"},computedChipBgColor:function(){return this.chipsBgColor?this.chipsBgColor:this.isInvertedLight?this.invertedLight?"grey-10":this.color:this.isInverted?this.invertedLight?this.color:"white":this.dark?"white":this.color},inputClasses:function(){var t=[this.alignClass];return this.upperCase&&t.push("uppercase"),this.lowerCase&&t.push("lowercase"),t},isClearable:function(){return this.editable&&this.clearable&&0!==this.model.length}},methods:{add:function(t){if(void 0===t&&(t=this.input),clearTimeout(this.timer),this.focus(),!this.isLoading&&this.editable&&t){var e=this.lowerCase?t.toLowerCase():this.upperCase?t.toUpperCase():t;this.model.includes(e)?this.$emit("duplicate",e):(this.$emit("add",{index:this.model.length,val:e}),this.model.push(e),this.$emit("input",this.model),this.input="")}},remove:function(t){clearTimeout(this.timer),this.focus(),this.editable&&t>=0&&t0},on:{click:this.__onClick}},[t("div",{staticClass:"col row items-center q-input-chips"},this.model.map(function(i,s){return t(QChip,{key:i+"#"+s,props:{small:!0,closable:e.editable,color:e.computedChipBgColor,textColor:e.computedChipTextColor},attrs:{tabindex:e.editable&&e.focused?0:-1},on:{blur:e.__onInputBlur,focus:e.__clearTimer,hide:function(){e.remove(s)}},nativeOn:{blur:e.__onInputBlur,focus:e.__clearTimer}},i)}).concat([t("input",{ref:"input",staticClass:"col q-input-target",class:this.inputClasses,domProps:{value:this.input},attrs:Object.assign({},this.$attrs,{placeholder:this.inputPlaceholder,disabled:this.disable,readonly:this.readonly}),on:{input:function(t){e.input=t.target.value},focus:this.__onFocus,blur:this.__onInputBlur,keydown:this.__handleKeyDown,keyup:this.__onKeyup}})])),this.isLoading?this.$slots.loading?t("div",{staticClass:"q-if-control",slot:"after"},this.$slots.loading):t(QSpinner,{slot:"after",staticClass:"q-if-control",props:{size:"24px"}}):this.editable&&t(QIcon,{slot:"after",staticClass:"q-if-control",class:{invisible:0===this.input.length},props:{name:this.computedAddIcon},nativeOn:{mousedown:this.__clearTimer,touchstart:this.__clearTimer,click:function(){e.add()}}})||void 0,this.isClearable&&t(QIcon,{slot:"after",staticClass:"q-if-control",props:{name:this.$q.icon.input["clear"+(this.isInverted?"Inverted":"")]},nativeOn:{mousedown:this.__clearTimer,touchstart:this.__clearTimer,click:this.clear}})||void 0].concat(this.$slots.default?t("div",{staticClass:"absolute-full no-pointer-events",slot:"after"},this.$slots.default):void 0))}},QItemTile={name:"QItemTile",props:{icon:String,letter:Boolean,inverted:Boolean,image:Boolean,avatar:Boolean,stamp:Boolean,label:Boolean,sublabel:Boolean,lines:[Number,String],tag:{type:String,default:"div"},color:String,textColor:String},computed:{hasLines:function(){return(this.label||this.sublabel)&&this.lines},type:function(){var t=this;return["icon","label","sublabel","image","avatar","letter","stamp"].find(function(e){return t[e]})},classes:function(){var t=[];return this.color&&(this.inverted?t.push("bg-"+this.color):this.textColor||t.push("text-"+this.color)),this.textColor&&t.push("text-"+this.textColor),this.type&&t.push("q-item-"+this.type),this.inverted&&(this.icon||this.letter)&&(t.push("q-item-inverted"),t.push("flex"),t.push("flex-center")),!this.hasLines||"1"!==this.lines&&1!==this.lines||t.push("ellipsis"),t},style:function(){if(this.hasLines)return textStyle(this.lines)}},render:function(t){var e={class:this.classes,style:this.style};if(this.icon){if(this.inverted)return t(this.tag,e,[t(QIcon,{props:{name:this.icon}},this.$slots.default)]);e.props={name:this.icon}}return t(this.icon?QIcon:this.tag,e,this.$slots.default)}},QSlideTransition={name:"QSlideTransition",props:{appear:Boolean,duration:{type:Number,default:300}},methods:{__begin:function(t,e,i){t.style.overflowY="hidden",void 0!==e&&(t.style.height=e+"px"),t.style.transition="height "+this.duration+"ms cubic-bezier(.25, .8, .50, 1)",this.animating=!0,this.done=i},__end:function(t,e){t.style.overflowY=null,t.style.height=null,t.style.transition=null,this.__cleanup(),e!==this.lastEvent&&this.$emit(e)},__cleanup:function(){this.done&&this.done(),this.done=null,this.animating=!1,clearTimeout(this.timer),this.el.removeEventListener("transitionend",this.animListener),this.animListener=null}},beforeDestroy:function(){this.animating&&this.__cleanup()},render:function(t){var e=this;return t("transition",{props:{css:!1,appear:this.appear},on:{enter:function(t,i){var s=0;e.el=t,!0===e.animating?(e.__cleanup(),s=t.offsetHeight===t.scrollHeight?0:void 0):e.lastEvent="hide",e.__begin(t,s,i),e.timer=setTimeout(function(){t.style.height=t.scrollHeight+"px",e.animListener=function(){e.__end(t,"show")},t.addEventListener("transitionend",e.animListener)},100)},leave:function(t,i){var s;e.el=t,!0===e.animating?e.__cleanup():(e.lastEvent="show",s=t.scrollHeight),e.__begin(t,s,i),e.timer=setTimeout(function(){t.style.height=0,e.animListener=function(){e.__end(t,"hide")},t.addEventListener("transitionend",e.animListener)},100)}}},this.$slots.default)}},eventName="q:collapsible:close",QCollapsible={name:"QCollapsible",mixins:[ModelToggleMixin,ItemMixin,{props:subItemProps}],modelToggle:{history:!1},props:{disable:Boolean,popup:Boolean,indent:Boolean,group:String,iconToggle:Boolean,collapseIcon:String,opened:Boolean,duration:Number,headerStyle:[Array,String,Object],headerClass:[Array,String,Object]},computed:{classes:function(){return{"q-collapsible-opened":this.showing,"q-collapsible-closed":!this.showing,"q-collapsible-popup-opened":this.popup&&this.showing,"q-collapsible-popup-closed":this.popup&&!this.showing,"q-collapsible-cursor-pointer":!this.separateToggle,"q-item-dark":this.dark,"q-item-separator":this.separator,"q-item-inset-separator":this.insetSeparator,disabled:this.disable}},separateToggle:function(){return this.iconToggle||void 0!==this.to}},watch:{showing:function(t){t&&this.group&&this.$root.$emit(eventName,this)}},methods:{__toggleItem:function(){this.separateToggle||this.toggle()},__toggleIcon:function(t){this.separateToggle&&(t&&stopAndPrevent(t),this.toggle())},__eventHandler:function(t){this.group&&this!==t&&t.group===this.group&&this.hide()},__getToggleSide:function(t,e){return[t(QItemTile,{slot:e?"right":void 0,staticClass:"cursor-pointer transition-generic relative-position q-collapsible-toggle-icon",class:{"rotate-180":this.showing,invisible:this.disable},nativeOn:{click:this.__toggleIcon},props:{icon:this.collapseIcon||this.$q.icon.collapsible.icon}})]},__getItemProps:function(t){return{props:t?{cfg:this.$props}:this.$props,style:this.headerStyle,class:this.headerClass,nativeOn:{click:this.__toggleItem}}}},created:function(){this.$root.$on(eventName,this.__eventHandler),(this.opened||this.value)&&this.show()},beforeDestroy:function(){this.$root.$off(eventName,this.__eventHandler)},render:function(t){return t(this.tag,{staticClass:"q-collapsible q-item-division relative-position",class:this.classes},[t("div",{staticClass:"q-collapsible-inner"},[this.$slots.header?t(QItem,this.__getItemProps(),[this.$slots.header,t(QItemSide,{props:{right:!0},staticClass:"relative-position"},this.__getToggleSide(t))]):t(QItemWrapper,this.__getItemProps(!0),this.__getToggleSide(t,!0)),t(QSlideTransition,{props:{duration:this.duration}},[t("div",{directives:[{name:"show",value:this.showing}]},[t("div",{staticClass:"q-collapsible-sub-item relative-position",class:{indent:this.indent}},this.$slots.default)])])])])}},DisplayModeMixin={props:{popover:Boolean,modal:Boolean},computed:{isPopover:function(){return!!this.popover||!this.modal&&(this.$q.platform.is.desktop&&!this.$q.platform.within.iframe)}}};function getPercentage(t,e,i){var s=between((position(t).left-e.left)/e.width,0,1);return i?1-s:s}function notDivides(t,e){var i=e?parseFloat(t.toFixed(e)):t;return i!==parseInt(i,10)}function getModel(t,e,i,s,n){var o=e+t*(i-e),r=(o-e)%s;return o+=(Math.abs(r)>=s/2?(r<0?-1:1)*s:0)-r,n&&(o=parseFloat(o.toFixed(n))),between(o,e,i)}var SliderMixin={directives:{TouchPan:TouchPan},props:{min:{type:Number,default:1},max:{type:Number,default:5},step:{type:Number,default:1},decimals:Number,snap:Boolean,markers:Boolean,label:Boolean,labelAlways:Boolean,square:Boolean,color:String,fillHandleAlways:Boolean,error:Boolean,warning:Boolean,readonly:Boolean,disable:Boolean},computed:{editable:function(){return!this.disable&&!this.readonly},classes:function(){var t={disabled:this.disable,readonly:this.readonly,"label-always":this.labelAlways,"has-error":this.error,"has-warning":this.warning};return this.error||this.warning||!this.color||(t["text-"+this.color]=!0),t},markersLen:function(){return(this.max-this.min)/this.step+1},labelColor:function(){return this.error?"negative":this.warning?"warning":this.color||"primary"},computedDecimals:function(){return void 0!==this.decimals?this.decimals||0:(String(this.step).trim("0").split(".")[1]||"").length},computedStep:function(){return void 0!==this.decimals?1/Math.pow(10,this.decimals||0):this.step}},methods:{__pan:function(t){var e=this;t.isFinal?this.dragging&&(this.dragTimer=setTimeout(function(){e.dragging=!1},100),this.__end(t.evt),this.__update(!0)):t.isFirst?(clearTimeout(this.dragTimer),this.dragging=this.__getDragging(t.evt)):this.dragging&&(this.__move(t.evt),this.__update())},__update:function(t){var e=this;JSON.stringify(this.model)!==JSON.stringify(this.value)&&(this.$emit("input",this.model),t&&this.$nextTick(function(){JSON.stringify(e.model)!==JSON.stringify(e.value)&&e.$emit("change",e.model)}))},__click:function(t){if(!this.dragging){var e=this.__getDragging(t);e&&(this.__end(t,e),this.__update(!0))}},__getMarkers:function(t){if(this.markers){for(var e=[],i=0;ithis.max?this.model=this.max:this.model=t,this.currentPercentage=(this.model-this.min)/(this.max-this.min))},min:function(t){this.modelt?this.model=t:this.$nextTick(this.__validateProps)},step:function(){this.$nextTick(this.__validateProps)}},methods:{__getDragging:function(t){var e=this.$refs.handle;return{left:e.getBoundingClientRect().left,width:e.offsetWidth}},__move:function(t){var e=getPercentage(t,this.dragging,this.$q.i18n.rtl);this.currentPercentage=e,this.model=getModel(e,this.min,this.max,this.step,this.computedDecimals)},__end:function(t,e){void 0===e&&(e=this.dragging);var i=getPercentage(t,e,this.$q.i18n.rtl);this.model=getModel(i,this.min,this.max,this.step,this.computedDecimals),this.currentPercentage=(this.model-this.min)/(this.max-this.min)},__onKeyDown:function(t){var e=t.keyCode;if(this.editable&&[37,40,39,38].includes(e)){stopAndPrevent(t);var i=this.computedDecimals,s=t.ctrlKey?10*this.computedStep:this.computedStep,n=[37,40].includes(e)?-s:s,o=i?parseFloat((this.model+n).toFixed(i)):this.model+n;this.model=between(o,this.min,this.max),this.currentPercentage=(this.model-this.min)/(this.max-this.min),this.__update()}},__onKeyUp:function(t){var e=t.keyCode;this.editable&&[37,40,39,38].includes(e)&&this.__update(!0)},__validateProps:function(){this.min>=this.max?console.error("Range error: min >= max",this.$el,this.min,this.max):notDivides((this.max-this.min)/this.step,this.computedDecimals)&&console.error("Range error: step must be a divisor of max - min",this.min,this.max,this.step,this.computedDecimals)},__getContent:function(t){var e;return[t("div",{staticClass:"q-slider-track active-track",style:{width:this.percentage},class:{"no-transition":this.dragging,"handle-at-minimum":this.model===this.min}}),t("div",{staticClass:"q-slider-handle",style:(e={},e[this.$q.i18n.rtl?"right":"left"]=this.percentage,e.borderRadius=this.square?"0":"50%",e),class:{dragging:this.dragging,"handle-at-minimum":!this.fillHandleAlways&&this.model===this.min},attrs:{tabindex:this.$q.platform.is.desktop?this.editable?0:-1:void 0},on:{keydown:this.__onKeyDown,keyup:this.__onKeyUp}},[this.label||this.labelAlways?t(QChip,{staticClass:"q-slider-label no-pointer-events",class:{"label-always":this.labelAlways},props:{pointing:"down",square:!0,dense:!0,color:this.labelColor}},[this.displayValue]):null,null])]}}};function throttle(t,e){void 0===e&&(e=250);var i,s=!1;return function(){for(var n=[],o=arguments.length;o--;)n[o]=arguments[o];return s?i:(s=!0,i=t.apply(this,n),setTimeout(function(){s=!1},e),i)}}function clone(t){var e=JSON.stringify(t);if(e)return JSON.parse(e)}var QColorPicker={name:"QColorPicker",mixins:[ParentFieldMixin],directives:{TouchPan:TouchPan},props:{value:[String,Object],defaultValue:{type:[String,Object],default:null},formatModel:{type:String,default:"auto",validator:function(t){return["auto","hex","rgb","hexa","rgba"].includes(t)}},disable:Boolean,readonly:Boolean,dark:Boolean},data:function(){return{view:this.value&&"string"!=typeof this.value?"rgb":"hex",model:this.__parseModel(this.value||this.defaultValue)}},watch:{value:{handler:function(t){var e=this.__parseModel(t||this.defaultValue);e.hex!==this.model.hex&&(this.model=e)},deep:!0}},computed:{forceHex:function(){return"auto"===this.formatModel?null:this.formatModel.indexOf("hex")>-1},forceAlpha:function(){return"auto"===this.formatModel?null:this.formatModel.indexOf("a")>-1},isHex:function(){return"string"==typeof this.value},isOutputHex:function(){return null!==this.forceHex?this.forceHex:this.isHex},editable:function(){return!this.disable&&!this.readonly},hasAlpha:function(){return null!==this.forceAlpha?this.forceAlpha:this.isHex?this.value.trim().length>7:this.value&&void 0!==this.value.a},swatchColor:function(){return{backgroundColor:"rgba("+this.model.r+","+this.model.g+","+this.model.b+","+(void 0===this.model.a?100:this.model.a)/100+")"}},saturationStyle:function(){return{background:"hsl("+this.model.h+",100%,50%)"}},saturationPointerStyle:function(){var t;return(t={top:101-this.model.v+"%"})[this.$q.i18n.rtl?"right":"left"]=this.model.s+"%",t},inputsArray:function(){var t=["r","g","b"];return this.hasAlpha&&t.push("a"),t},__needsBorder:function(){return!0}},created:function(){this.__saturationChange=throttle(this.__saturationChange,20)},render:function(t){return t("div",{staticClass:"q-color",class:{disabled:this.disable,"q-color-dark":this.dark}},[this.__getSaturation(t),this.__getSliders(t),this.__getInputs(t)])},methods:{__getSaturation:function(t){return t("div",{ref:"saturation",staticClass:"q-color-saturation non-selectable relative-position overflow-hidden cursor-pointer",style:this.saturationStyle,class:{readonly:!this.editable},on:this.editable?{click:this.__saturationClick}:null,directives:this.editable?[{name:"touch-pan",modifiers:{mightPrevent:!0},value:this.__saturationPan}]:null},[t("div",{staticClass:"q-color-saturation-white absolute-full"}),t("div",{staticClass:"q-color-saturation-black absolute-full"}),t("div",{staticClass:"absolute",style:this.saturationPointerStyle},[void 0!==this.model.hex?t("div",{staticClass:"q-color-saturation-circle"}):null])])},__getSliders:function(t){var e=this;return t("div",{staticClass:"q-color-sliders row items-center"},[t("div",{staticClass:"q-color-swatch q-mt-sm q-ml-md q-mb-sm non-selectable overflow-hidden"},[t("div",{style:this.swatchColor,staticClass:"fit"})]),t("div",{staticClass:"col q-pa-sm"},[t("div",{staticClass:"q-color-hue non-selectable"},[t(QSlider,{props:{value:this.model.h,color:"white",min:0,max:360,fillHandleAlways:!0,readonly:!this.editable},on:{input:this.__onHueChange,dragend:function(t){return e.__onHueChange(t,!0)}}})]),this.hasAlpha?t("div",{staticClass:"q-color-alpha non-selectable"},[t(QSlider,{props:{value:this.model.a,color:"white",min:0,max:100,fillHandleAlways:!0,readonly:!this.editable},on:{input:function(t){return e.__onNumericChange({target:{value:t}},"a",100)},dragend:function(t){return e.__onNumericChange({target:{value:t}},"a",100,!0)}}})]):null])])},__getNumericInputs:function(t){var e=this;return this.inputsArray.map(function(i){var s="a"===i?100:255;return t("div",{staticClass:"col q-color-padding"},[t("input",{attrs:{type:"number",min:0,max:s,readonly:!e.editable,tabindex:e.editable?0:-1},staticClass:"full-width text-center q-no-input-spinner",domProps:{value:void 0===e.model.hex?"":Math.round(e.model[i])},on:{input:function(t){return e.__onNumericChange(t,i,s)},blur:function(t){return e.editable&&e.__onNumericChange(t,i,s,!0)}}}),t("div",{staticClass:"q-color-label text-center uppercase"},[i])])})},__getInputs:function(t){var e=this;return t("div",{staticClass:"q-color-inputs row items-center q-px-sm q-pb-sm"},[t("div",{staticClass:"col q-mr-sm row no-wrap"},"hex"===this.view?[t("div",{staticClass:"col"},[t("input",{domProps:{value:this.model.hex},attrs:{readonly:!this.editable,tabindex:this.editable?0:-1},on:{change:this.__onHexChange,blur:function(t){return e.editable&&e.__onHexChange(t,!0)}},staticClass:"full-width text-center uppercase"}),t("div",{staticClass:"q-color-label text-center"},["HEX"+(this.hasAlpha?" / A":"")])])]:this.__getNumericInputs(t)),t("div",[t(QBtn,{props:{flat:!0,disable:this.disable},on:{click:this.__nextInputView},staticClass:"q-pa-none"},[t("svg",{attrs:{viewBox:"0 0 24 24"},style:{width:"24px",height:"24px"}},[t("path",{attrs:{fill:"currentColor",d:"M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z"}})])])])])},__onSaturationChange:function(t,e,i){var s=this.$refs.saturation;if(s){var n=s.clientWidth,o=s.clientHeight,r=s.getBoundingClientRect(),a=Math.min(n,Math.max(0,t-r.left));this.$q.i18n.rtl&&(a=n-a);var l=Math.min(o,Math.max(0,e-r.top)),c=Math.round(100*a/n),h=Math.round(100*Math.max(0,Math.min(1,-l/o+1))),u=hsvToRgb({h:this.model.h,s:c,v:h,a:this.hasAlpha?this.model.a:void 0});this.model.s=c,this.model.v=h,this.__update(u,rgbToHex(u),i)}},__onHueChange:function(t,e){var i=hsvToRgb({h:t=Math.round(t),s:this.model.s,v:this.model.v,a:this.hasAlpha?this.model.a:void 0});this.model.h=t,this.__update(i,rgbToHex(i),e)},__onNumericChange:function(t,e,i,s){var n=Number(t.target.value);if(!isNaN(n))if((n=Math.floor(n))<0||n>i)s&&this.$forceUpdate();else{var o={r:"r"===e?n:this.model.r,g:"g"===e?n:this.model.g,b:"b"===e?n:this.model.b,a:this.hasAlpha?"a"===e?n:this.model.a:void 0};if("a"!==e){var r=rgbToHsv(o);this.model.h=r.h,this.model.s=r.s,this.model.v=r.v}this.__update(o,rgbToHex(o),s)}},__onHexChange:function(t,e){var i=t.target.value,s=i.length,n=this.hasAlpha?[5,9]:[4,7];if(s===n[0]||s===n[1]){var o=hexToRgb(i),r=rgbToHsv(o);this.model.h=r.h,this.model.s=r.s,this.model.v=r.v,this.__update(o,i,e)}else e&&this.$forceUpdate()},__update:function(t,e,i){var s=this,n=this.isOutputHex?e:t;this.model.hex=e,this.model.r=t.r,this.model.g=t.g,this.model.b=t.b,this.model.a=this.hasAlpha?t.a:void 0,this.$emit("input",n),this.$nextTick(function(){i&&JSON.stringify(n)!==JSON.stringify(s.value)&&s.$emit("change",n)})},__nextInputView:function(){this.view="hex"===this.view?"rgba":"hex"},__parseModel:function(t){if(null===t||void 0===t)return{h:0,s:0,v:0,r:0,g:0,b:0,hex:void 0,a:100};var e="string"==typeof t?hexToRgb(t.trim()):clone(t);return this.forceAlpha===(void 0===e.a)&&(e.a=this.forceAlpha?100:void 0),e.hex=rgbToHex(e),Object.assign({a:100},e,rgbToHsv(e))},__saturationPan:function(t){t.isFinal?this.__dragStop(t):t.isFirst?this.__dragStart(t):this.__dragMove(t)},__dragStart:function(t){stopAndPrevent(t.evt),this.saturationDragging=!0,this.__saturationChange(t)},__dragMove:function(t){this.saturationDragging&&(stopAndPrevent(t.evt),this.__saturationChange(t))},__dragStop:function(t){var e=this;stopAndPrevent(t.evt),setTimeout(function(){e.saturationDragging=!1},100),this.__onSaturationChange(t.position.left,t.position.top,!0)},__saturationChange:function(t){this.__onSaturationChange(t.position.left,t.position.top)},__saturationClick:function(t){this.saturationDragging||this.__onSaturationChange(t.pageX-window.pageXOffset,t.pageY-window.pageYOffset,!0)}}},contentCss={maxHeight:"80vh",height:"auto",boxShadow:"none",backgroundColor:"#e4e4e4"},QColor={name:"QColor",mixins:[FrameMixin,DisplayModeMixin],props:{value:{required:!0},color:{type:String,default:"primary"},defaultValue:{type:[String,Object],default:null},formatModel:{type:String,default:"auto",validator:function(t){return["auto","hex","rgb","hexa","rgba"].includes(t)}},displayValue:String,okLabel:String,cancelLabel:String},watch:{value:function(t){!this.disable&&this.isPopover&&(this.model=clone(t))}},data:function(){var t=this.isPopover?{}:{transition:"q-modal-bottom"};return t.focused=!1,t.model=clone(this.value||this.defaultValue),t},computed:{actualValue:function(){return this.displayValue?this.displayValue:this.value?"string"==typeof this.value?this.value:"rgb"+(void 0!==this.value.a?"a":"")+"("+this.value.r+","+this.value.g+","+this.value.b+(void 0!==this.value.a?","+this.value.a/100:"")+")":""},computedClearValue:function(){return void 0===this.clearValue?this.defaultValue:this.clearValue},isClearable:function(){return this.editable&&this.clearable&&JSON.stringify(this.computedClearValue)!==JSON.stringify(this.value)},modalBtnColor:function(){return this.dark?"light":"dark"}},methods:{toggle:function(){this.$refs.popup&&this[this.$refs.popup.showing?"hide":"show"]()},show:function(){if(!this.disable)return this.__setModel(this.value||this.defaultValue),this.$refs.popup.show()},hide:function(){return this.$refs.popup?this.$refs.popup.hide():Promise.resolve()},__handleKeyDown:function(t){switch(getEventKey(t)){case 13:case 32:return stopAndPrevent(t),this.show();case 8:this.isClearable&&this.clear()}},__onFocus:function(){this.disable||this.focused||(this.model=clone(this.value||this.defaultValue),this.focused=!0,this.$emit("focus"))},__onBlur:function(t){var e=this;this.focused&&setTimeout(function(){var t=document.activeElement;e.$refs.popup&&e.$refs.popup.showing&&(t===document.body||e.$refs.popup.$el.contains(t))||(e.__onHide(),e.hide())},1)},__onHide:function(t,e){(t||this.isPopover)&&this.__update(t),this.focused&&(e?this.$el.focus():(this.$emit("blur"),this.focused=!1))},__setModel:function(t,e){this.model=clone(t),(e||this.isPopover)&&this.__update(e)},__hasModelChanged:function(){return JSON.stringify(this.model)!==JSON.stringify(this.value)},__update:function(t){var e=this;this.$nextTick(function(){e.__hasModelChanged()&&(e.$emit("input",e.model),t&&e.$emit("change",e.model))})},__getPicker:function(t,e){var i=this,s=[t(QColorPicker,{staticClass:"no-border"+(e?" full-width":""),props:Object.assign({},this.$attrs,{value:this.model,disable:this.disable,readonly:this.readonly,formatModel:this.formatModel,dark:this.dark,noParentField:!0}),on:{input:function(t){return i.$nextTick(function(){return i.__setModel(t)})}}})];return e&&s.unshift(t("div",{staticClass:"modal-buttons modal-buttons-top row full-width",class:this.dark?"bg-black":null},[t("div",{staticClass:"col"}),t(QBtn,{props:{color:this.modalBtnColor,flat:!0,label:this.cancelLabel||this.$q.i18n.label.cancel,noRipple:!0},on:{click:function(){i.__onHide(!1,!0),i.hide()}}}),this.editable?t(QBtn,{props:{color:this.modalBtnColor,flat:!0,label:this.okLabel||this.$q.i18n.label.set,noRipple:!0,disable:!this.model},on:{click:function(){i.__onHide(!0,!0),i.hide()}}}):null])),s}},render:function(t){var e=this;return t(QInputFrame,{staticClass:"q-color-input",props:{prefix:this.prefix,suffix:this.suffix,stackLabel:this.stackLabel,floatLabel:this.floatLabel,error:this.error,warning:this.warning,disable:this.disable,readonly:this.readonly,inverted:this.inverted,invertedLight:this.invertedLight,dark:this.dark,hideUnderline:this.hideUnderline,before:this.before,after:this.after,color:this.color,noParentField:this.noParentField,focused:this.focused||this.$refs.popup&&this.$refs.popup.showing,focusable:!0,length:this.actualValue.length},nativeOn:{click:this.toggle,focus:this.__onFocus,blur:this.__onBlur,keydown:this.__handleKeyDown}},[t("div",{staticClass:"col q-input-target ellipsis",class:this.fakeInputClasses},[this.fakeInputValue]),this.isPopover?t(QPopover,{ref:"popup",props:{cover:!0,keepOnScreen:!0,disable:this.disable,anchorClick:!1,maxHeight:"100vh"},slot:"after",on:{show:this.__onFocus,hide:function(){return e.__onHide(!0,!0)}}},this.__getPicker(t)):t(QModal,{ref:"popup",staticClass:"with-backdrop",props:{contentCss:contentCss,minimized:!1,position:"bottom",transition:this.transition},on:{dismiss:function(){return e.__onHide(!1,!0)}}},this.__getPicker(t,!0)),this.isClearable?t(QIcon,{slot:"after",props:{name:this.$q.icon.input["clear"+(this.isInverted?"Inverted":"")]},nativeOn:{click:this.clear},staticClass:"q-if-control"}):null,t(QIcon,{slot:"after",props:{name:this.$q.icon.input.dropdown},staticClass:"q-if-control"})])}},QContextMenu={name:"QContextMenu",props:{disable:Boolean},data:function(){return{mobile:this.$q.platform.is.mobile}},methods:{hide:function(t){if(this.$refs.popup)return this.mobile&&this.target.classList.remove("non-selectable"),this.$refs.popup.hide(t)},show:function(t){var e=this;this.disable||(this.mobile?this.$refs.popup&&(this.event=t,this.$refs.popup.show(t)):t&&(stopAndPrevent(t),setTimeout(function(){e.$refs.popup&&(e.event=t,e.$refs.popup.show(t))},100)))},__desktopBodyHide:function(t){this.$el.contains(t.target)||this.hide(t)},__desktopOnShow:function(){document.body.addEventListener("contextmenu",this.__desktopBodyHide,!0),document.body.addEventListener("click",this.__desktopBodyHide,!0),this.$emit("show",this.event)},__desktopOnHide:function(t){document.body.removeEventListener("contextmenu",this.__desktopBodyHide,!0),document.body.removeEventListener("click",this.__desktopBodyHide,!0),this.$emit("hide",this.event,t)},__mobileTouchStartHandler:function(t){var e=this;this.__mobileCleanup(),t&&t.touches&&t.touches.length>1||(this.target.classList.add("non-selectable"),this.touchTimer=setTimeout(function(){t&&stopAndPrevent(t),e.__mobileCleanup(),setTimeout(function(){e.show(t)},10)},600))},__mobileCleanup:function(){this.target.classList.remove("non-selectable"),clearTimeout(this.touchTimer)}},render:function(t){var e=this;return this.mobile?t(QModal,{ref:"popup",props:{minimized:!0},on:{show:function(){e.$emit("show",e.event)},hide:function(t){e.$emit("hide",e.event,t)}}},this.$slots.default):t(QPopover,{ref:"popup",props:{anchorClick:!1,touchPosition:!0},on:{show:this.__desktopOnShow,hide:this.__desktopOnHide}},this.$slots.default)},mounted:function(){var t=this;this.mobile?this.$nextTick(function(){t.target=t.$el.parentNode,t.target.addEventListener("touchstart",t.__mobileTouchStartHandler),["touchcancel","touchmove","touchend"].forEach(function(e){t.target.addEventListener(e,t.__mobileCleanup)})}):(this.target=this.$el.parentNode,this.target.addEventListener("contextmenu",this.show))},beforeDestroy:function(){var t=this;this.mobile?(this.target.removeEventListener("touchstart",this.__mobileTouchStartHandler),["touchcancel","touchmove","touchend"].forEach(function(e){t.target.removeEventListener(e,t.__mobileCleanup)})):this.target.removeEventListener("contextmenu",this.show)}},modelValidator=function(t){var e=typeof t;return null===t||void 0===t||"number"===e||"string"===e||isDate(t)},inline={value:{validator:modelValidator,required:!0},defaultValue:{type:[String,Number,Date],default:null},type:{type:String,default:"date",validator:function(t){return["date","time","datetime"].includes(t)}},color:{type:String,default:"primary"},dark:Boolean,min:{validator:modelValidator,default:null},max:{validator:modelValidator,default:null},headerLabel:String,firstDayOfWeek:Number,formatModel:{type:String,default:"auto",validator:function(t){return["auto","date","number","string"].includes(t)}},format24h:{type:[Boolean,Number],default:0,validator:function(t){return[!0,!1,0].includes(t)}},defaultView:{type:String,validator:function(t){return["year","month","day","hour","minute"].includes(t)}},minimal:Boolean},input={format:String,okLabel:String,cancelLabel:String,displayValue:String},MILLISECONDS_IN_DAY=864e5,MILLISECONDS_IN_HOUR=36e5,MILLISECONDS_IN_MINUTE=6e4,token=/\[((?:[^\]\\]|\\]|\\)*)\]|d{1,4}|M{1,4}|m{1,2}|w{1,2}|Qo|Do|D{1,4}|YY(?:YY)?|H{1,2}|h{1,2}|s{1,2}|S{1,3}|Z{1,2}|a{1,2}|[AQExX]/g,reMySQLDateTimeStr=/^[0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}:[0-9]{2}(.[0-9]{6})?$/;function formatTimezone(t,e){void 0===e&&(e="");var i=t>0?"-":"+",s=Math.abs(t),n=s%60;return i+pad(Math.floor(s/60))+e+pad(n)}function setMonth(t,e){var i=new Date(t.getFullYear(),e,0,0,0,0,0).getDate();t.setMonth(e-1,Math.min(i,t.getDate()))}function buildDateVal(t){return new Date(isString(t)&&null!==reMySQLDateTimeStr.exec(t)?t.substring(0,23).replace(" ","T"):t)}function getChange(t,e,i){var s=buildDateVal(t),n=i?1:-1;return Object.keys(e).forEach(function(t){if("month"!==t){var i="year"===t?"FullYear":capitalize("days"===t?"date":t);s["set"+i](s["get"+i]()+n*e[t])}else setMonth(s,s.getMonth()+1+n*e.month)}),s}function isValid(t){if("number"==typeof t)return!0;var e=Date.parse(t);return!1===isNaN(e)}function buildDate(t,e){return adjustDate(new Date,t,e)}function getDayOfWeek(t){var e=buildDateVal(t).getDay();return 0===e?7:e}function getWeekOfYear(t){var e=new Date(t.getFullYear(),t.getMonth(),t.getDate());e.setDate(e.getDate()-(e.getDay()+6)%7+3);var i=new Date(e.getFullYear(),0,4);i.setDate(i.getDate()-(i.getDay()+6)%7+3);var s=e.getTimezoneOffset()-i.getTimezoneOffset();e.setHours(e.getHours()-s);var n=(e-i)/(7*MILLISECONDS_IN_DAY);return 1+Math.floor(n)}function isBetweenDates(t,e,i,s){void 0===s&&(s={});var n=buildDateVal(e).getTime(),o=buildDateVal(i).getTime(),r=buildDateVal(t).getTime();return s.inclusiveFrom&&n--,s.inclusiveTo&&o++,r>n&&r0;)e[i]=arguments[i+1];var s=buildDateVal(t);return e.forEach(function(t){s=Math.max(s,buildDateVal(t))}),s}function getMinDate(t){for(var e=[],i=arguments.length-1;i-- >0;)e[i]=arguments[i+1];var s=buildDateVal(t);return e.forEach(function(t){s=Math.min(s,buildDateVal(t))}),s}function getDiff(t,e,i){return(t.getTime()-t.getTimezoneOffset()*MILLISECONDS_IN_MINUTE-(e.getTime()-e.getTimezoneOffset()*MILLISECONDS_IN_MINUTE))/i}function getDateDiff(t,e,i){void 0===i&&(i="days");var s=buildDateVal(t),n=buildDateVal(e);switch(i){case"years":return s.getFullYear()-n.getFullYear();case"months":return 12*(s.getFullYear()-n.getFullYear())+s.getMonth()-n.getMonth();case"days":return getDiff(startOfDate(s,"day"),startOfDate(n,"day"),MILLISECONDS_IN_DAY);case"hours":return getDiff(startOfDate(s,"hour"),startOfDate(n,"hour"),MILLISECONDS_IN_HOUR);case"minutes":return getDiff(startOfDate(s,"minute"),startOfDate(n,"minute"),MILLISECONDS_IN_MINUTE);case"seconds":return getDiff(startOfDate(s,"second"),startOfDate(n,"second"),1e3)}}function getDayOfYear(t){return getDateDiff(t,startOfDate(t,"year"),"days")+1}function inferDateFormat(t){return isDate(t)?"date":"number"==typeof t?"number":"string"}function convertDateToFormat(t,e,i){if(t||0===t)switch(e){case"date":return t;case"number":return t.getTime();default:return formatDate(t,i)}}function getDateBetween(t,e,i){var s=buildDateVal(t);if(e){var n=buildDateVal(e);if(so)return o}return s}function isSameDate(t,e,i){var s=buildDateVal(t),n=buildDateVal(e);if(void 0===i)return s.getTime()===n.getTime();switch(i){case"second":if(s.getSeconds()!==n.getSeconds())return!1;case"minute":if(s.getMinutes()!==n.getMinutes())return!1;case"hour":if(s.getHours()!==n.getHours())return!1;case"day":if(s.getDate()!==n.getDate())return!1;case"month":if(s.getMonth()!==n.getMonth())return!1;case"year":if(s.getFullYear()!==n.getFullYear())return!1;break;default:throw new Error("date isSameDate unknown unit "+i)}return!0}function daysInMonth(t){return new Date(t.getFullYear(),t.getMonth()+1,0).getDate()}function getOrdinal(t){if(t>=11&&t<=13)return t+"th";switch(t%10){case 1:return t+"st";case 2:return t+"nd";case 3:return t+"rd"}return t+"th"}var formatter={YY:function(t){return pad(t.getFullYear(),4).substr(2)},YYYY:function(t){return pad(t.getFullYear(),4)},M:function(t){return t.getMonth()+1},MM:function(t){return pad(t.getMonth()+1)},MMM:function(t,e){return void 0===e&&(e={}),(e.monthNamesShort||i18n.lang.date.monthsShort)[t.getMonth()]},MMMM:function(t,e){return void 0===e&&(e={}),(e.monthNames||i18n.lang.date.months)[t.getMonth()]},Q:function(t){return Math.ceil((t.getMonth()+1)/3)},Qo:function(t){return getOrdinal(this.Q(t))},D:function(t){return t.getDate()},Do:function(t){return getOrdinal(t.getDate())},DD:function(t){return pad(t.getDate())},DDD:function(t){return getDayOfYear(t)},DDDD:function(t){return pad(getDayOfYear(t),3)},d:function(t){return t.getDay()},dd:function(t){return this.dddd(t).slice(0,2)},ddd:function(t,e){return void 0===e&&(e={}),(e.dayNamesShort||i18n.lang.date.daysShort)[t.getDay()]},dddd:function(t,e){return void 0===e&&(e={}),(e.dayNames||i18n.lang.date.days)[t.getDay()]},E:function(t){return t.getDay()||7},w:function(t){return getWeekOfYear(t)},ww:function(t){return pad(getWeekOfYear(t))},H:function(t){return t.getHours()},HH:function(t){return pad(t.getHours())},h:function(t){var e=t.getHours();return 0===e?12:e>12?e%12:e},hh:function(t){return pad(this.h(t))},m:function(t){return t.getMinutes()},mm:function(t){return pad(t.getMinutes())},s:function(t){return t.getSeconds()},ss:function(t){return pad(t.getSeconds())},S:function(t){return Math.floor(t.getMilliseconds()/100)},SS:function(t){return pad(Math.floor(t.getMilliseconds()/10))},SSS:function(t){return pad(t.getMilliseconds(),3)},A:function(t){return this.H(t)<12?"AM":"PM"},a:function(t){return this.H(t)<12?"am":"pm"},aa:function(t){return this.H(t)<12?"a.m.":"p.m."},Z:function(t){return formatTimezone(t.getTimezoneOffset(),":")},ZZ:function(t){return formatTimezone(t.getTimezoneOffset())},X:function(t){return Math.floor(t.getTime()/1e3)},x:function(t){return t.getTime()}};function formatDate(t,e,i){if(void 0===e&&(e="YYYY-MM-DDTHH:mm:ss.SSSZ"),0===t||t){var s=buildDateVal(t);return e.replace(token,function(t,e){return t in formatter?formatter[t](s,i):void 0===e?t:e.split("\\]").join("]")})}}function matchFormat(t){return void 0===t&&(t=""),t.match(token)}function clone$1(t){return isDate(t)?new Date(t.getTime()):t}var date={isValid:isValid,buildDate:buildDate,getDayOfWeek:getDayOfWeek,getWeekOfYear:getWeekOfYear,isBetweenDates:isBetweenDates,addToDate:addToDate,subtractFromDate:subtractFromDate,adjustDate:adjustDate,startOfDate:startOfDate,endOfDate:endOfDate,getMaxDate:getMaxDate,getMinDate:getMinDate,getDateDiff:getDateDiff,getDayOfYear:getDayOfYear,inferDateFormat:inferDateFormat,convertDateToFormat:convertDateToFormat,getDateBetween:getDateBetween,isSameDate:isSameDate,daysInMonth:daysInMonth,formatter:formatter,formatDate:formatDate,matchFormat:matchFormat,clone:clone$1},reDate=/^\d{4}[^\d]\d{2}[^\d]\d{2}/,DateMixin={props:inline,computed:{computedValue:function(){return"date"===this.type&&"string"===this.formatModel&&reDate.test(this.value)?this.value.slice(0,10).split(/[^\d]/).join("/"):this.value},computedDefaultValue:function(){return"date"===this.type&&"string"===this.formatModel&&reDate.test(this.defaultValue)?this.defaultValue.slice(0,10).split(/[^\d]+/).join("/"):this.defaultValue},computedDateFormat:function(){if("date"===this.type&&"string"===this.formatModel)return"YYYY/MM/DD HH:mm:ss"},model:{get:function(){return isValid(this.computedValue)?new Date(this.computedValue):this.computedDefaultValue?new Date(this.computedDefaultValue):startOfDate(new Date,"day")},set:function(t){var e=this,i=convertDateToFormat(getDateBetween(t,this.pmin,this.pmax),"auto"===this.formatModel?inferDateFormat(this.value):this.formatModel,this.computedDateFormat);this.$emit("input",i),this.$nextTick(function(){isSameDate(i,e.value)||e.$emit("change",i)})}},pmin:function(){return this.min?new Date(this.min):null},pmax:function(){return this.max?new Date(this.max):null},typeHasDate:function(){return"date"===this.type||"datetime"===this.type},typeHasTime:function(){return"time"===this.type||"datetime"===this.type},year:function(){return this.model.getFullYear()},month:function(){return this.model.getMonth()+1},day:function(){return this.model.getDate()},minute:function(){return this.model.getMinutes()},currentYear:function(){return(new Date).getFullYear()},yearInterval:function(){return{min:null!==this.pmin?this.pmin.getFullYear():(this.year||this.currentYear)-80,max:null!==this.pmax?this.pmax.getFullYear():(this.year||this.currentYear)+80}},monthInterval:function(){return{min:this.monthMin,max:null!==this.pmax&&this.pmax.getFullYear()===this.year?this.pmax.getMonth():11}},monthMin:function(){return null!==this.pmin&&this.pmin.getFullYear()===this.year?this.pmin.getMonth():0},daysInMonth:function(){return new Date(this.year,this.model.getMonth()+1,0).getDate()},editable:function(){return!this.disable&&!this.readonly},__needsBorder:function(){return!0}},methods:{toggleAmPm:function(){if(this.editable){var t=this.model.getHours(),e=this.am?12:-12;this.model=new Date(new Date(this.model).setHours(t+e))}},__parseTypeValue:function(t,e){return"month"===t?normalizeToInterval(e,1,12):"date"===t?normalizeToInterval(e,1,this.daysInMonth):"year"===t?normalizeToInterval(e,this.yearInterval.min,this.yearInterval.max):"hour"===t?normalizeToInterval(e,0,23):"minute"===t?normalizeToInterval(e,0,59):void 0}}},QDatetimePicker={name:"QDatetimePicker",mixins:[DateMixin,ParentFieldMixin,CanRenderMixin],directives:{TouchPan:TouchPan},props:{defaultValue:[String,Number,Date],disable:Boolean,readonly:Boolean},data:function(){return{monthDragOffset:0,dateDragOffset:0,yearDragOffset:0,hourDragOffset:0,minuteDragOffset:0,dragging:!1}},watch:{model:function(){this.$nextTick(this.__updateAllPositions)}},computed:{classes:function(){var t=["type-"+this.type];return this.disable&&t.push("disabled"),this.readonly&&t.push("readonly"),this.dark&&t.push("q-datetime-dark"),this.minimal&&t.push("q-datetime-minimal"),t},dateInterval:function(){return{min:null!==this.pmin&&isSameDate(this.pmin,this.model,"month")?this.pmin.getDate():1,max:null!==this.pmax&&isSameDate(this.pmax,this.model,"month")?this.pmax.getDate():this.daysInMonth}},hour:function(){return this.model.getHours()},hourInterval:function(){return{min:this.pmin&&isSameDate(this.pmin,this.model,"day")?this.pmin.getHours():0,max:this.pmax&&isSameDate(this.pmax,this.model,"day")?this.pmax.getHours():23}},minuteInterval:function(){return{min:this.pmin&&isSameDate(this.pmin,this.model,"hour")?this.pmin.getMinutes():0,max:this.pmax&&isSameDate(this.pmax,this.model,"hour")?this.pmax.getMinutes():59}},__monthStyle:function(){return this.__colStyle(82-36*(this.month-1+this.monthDragOffset))},__dayStyle:function(){return this.__colStyle(82-36*(this.day+this.dateDragOffset))},__yearStyle:function(){return this.__colStyle(82-36*(this.year+this.yearDragOffset))},__hourStyle:function(){return this.__colStyle(82-36*(this.hour+this.hourDragOffset))},__minuteStyle:function(){return this.__colStyle(82-36*(this.minute+this.minuteDragOffset))}},methods:{setYear:function(t){this.editable&&(this.model=new Date(this.model.setFullYear(this.__parseTypeValue("year",t))))},setMonth:function(t){this.editable&&(this.model=adjustDate(this.model,{month:t}))},setDay:function(t){this.editable&&(this.model=new Date(this.model.setDate(this.__parseTypeValue("date",t))))},setHour:function(t){this.editable&&(this.model=new Date(this.model.setHours(this.__parseTypeValue("hour",t))))},setMinute:function(t){this.editable&&(this.model=new Date(this.model.setMinutes(this.__parseTypeValue("minute",t))))},setView:function(){},__pad:function(t,e){return(t<10?e||"0":"")+t},__scrollView:function(){},__updateAllPositions:function(){var t=this;this.$nextTick(function(){t.typeHasDate&&(t.__updatePositions("month",t.model.getMonth()),t.__updatePositions("date",t.model.getDate()),t.__updatePositions("year",t.model.getFullYear())),t.typeHasTime&&(t.__updatePositions("hour",t.model.getHours()),t.__updatePositions("minute",t.model.getMinutes()))})},__updatePositions:function(t,e){var i=this,s=this.$refs[t];if(s){var n=this[t+"Interval"].min-e;[].slice.call(s.children).forEach(function(t){css(t,i.__itemStyle(36*e,between(-18*n,-180,180))),n++})}},__colStyle:function(t){return{"-webkit-transform":"translate3d(0,"+t+"px,0)","-ms-transform":"translate3d(0,"+t+"px,0)",transform:"translate3d(0,"+t+"px,0)"}},__itemStyle:function(t,e){return{"-webkit-transform":"translate3d(0, "+t+"px, 0) rotateX("+e+"deg)","-ms-transform":"translate3d(0, "+t+"px, 0) rotateX("+e+"deg)",transform:"translate3d(0, "+t+"px, 0) rotateX("+e+"deg)"}},__dragMonth:function(t){this.__drag(t,"month")},__dragDate:function(t){this.__drag(t,"date")},__dragYear:function(t){this.__drag(t,"year")},__dragHour:function(t){this.__drag(t,"hour")},__dragMinute:function(t){this.__drag(t,"minute")},__drag:function(t,e){this[t.isFirst?"__dragStart":t.isFinal?"__dragStop":"__dragMove"](t.evt,e)},__dragStart:function(t,e){this.editable&&(this[e+"DragOffset"]=0,this.dragging=e,this.__actualType="date"===e?"day":e,this.__typeOffset="month"===e?-1:0,this.__dragPosition=position(t).top)},__dragMove:function(t,e){if(this.dragging===e&&this.editable){var i=(this.__dragPosition-position(t).top)/36;this[e+"DragOffset"]=i,this.__updatePositions(e,this[this.__actualType]+i+this.__typeOffset)}},__dragStop:function(t,e){var i=this;if(this.dragging===e&&this.editable){this.dragging=!1;var s=Math.round(this[e+"DragOffset"]),n=this.__parseTypeValue(e,this[this.__actualType]+s);n!==this[this.__actualType]?this["set"+capitalize(this.__actualType)](n):this.__updatePositions(e,this[this.__actualType]+this.__typeOffset),this.$nextTick(function(){i[e+"DragOffset"]=0})}},__getInterval:function(t,e,i){for(var s=e.min,n=e.max,o=[],r=s;r<=n;r++)o.push(i(r));return o},__getSection:function(t,e,i,s,n,o,r){return t("div",{staticClass:"q-datetime-col q-datetime-col-"+e,directives:[{name:"touch-pan",modifiers:{vertical:!0},value:s}]},[t("div",{ref:i,staticClass:"q-datetime-col-wrapper",style:n},this.__getInterval(t,o,r))])},__getDateSection:function(t){var e=this;return[this.__getSection(t,"month","month",this.__dragMonth,this.__monthStyle,this.monthInterval,function(i){return t("div",{key:"mi"+i,staticClass:"q-datetime-item"},[e.$q.i18n.date.months[i]])}),this.__getSection(t,"day","date",this.__dragDate,this.__dayStyle,this.dateInterval,function(e){return t("div",{key:"di"+e,staticClass:"q-datetime-item"},[e])}),this.__getSection(t,"year","year",this.__dragYear,this.__yearStyle,this.yearInterval,function(e){return t("div",{key:"yi"+e,staticClass:"q-datetime-item"},[e])})]},__getTimeSection:function(t){var e=this;return[this.__getSection(t,"hour","hour",this.__dragHour,this.__hourStyle,this.hourInterval,function(e){return t("div",{key:"hi"+e,staticClass:"q-datetime-item"},[e])}),this.__getSection(t,"minute","minute",this.__dragMinute,this.__minuteStyle,this.minuteInterval,function(i){return t("div",{key:"ni"+i,staticClass:"q-datetime-item"},[e.__pad(i)])})]}},mounted:function(){this.$nextTick(this.__updateAllPositions)},render:function(t){if(this.canRender)return t("div",{staticClass:"q-datetime",class:this.classes},[].concat(this.$slots.default).concat([t("div",{staticClass:"q-datetime-content non-selectable"},[t("div",{staticClass:"q-datetime-inner full-height flex justify-center",on:{touchstart:stopAndPrevent}},[this.typeHasDate&&this.__getDateSection(t)||void 0,this.typeHasTime&&this.__getTimeSection(t)||void 0]),t("div",{staticClass:"q-datetime-mask"}),t("div",{staticClass:"q-datetime-highlight"})])]))}},contentCss$1={maxHeight:"80vh",height:"auto",boxShadow:"none",backgroundColor:"#e4e4e4"},QDatetime={name:"QDatetime",mixins:[FrameMixin,DisplayModeMixin,CanRenderMixin],props:Object.assign({},input,inline),watch:{value:function(t){!this.disable&&this.isPopover&&(this.model=clone$1(t))}},data:function(){return{transition:null,model:null,focused:!1}},created:function(){this.model=clone$1(this.computedValue),this.isPopover||(this.transition="q-modal-bottom")},computed:{computedFormat:function(){return this.format?this.format:"date"===this.type?"YYYY/MM/DD":"time"===this.type?"HH:mm":"YYYY/MM/DD HH:mm:ss"},actualValue:function(){return this.displayValue?this.displayValue:isValid(this.value)&&this.canRender?formatDate(this.value,this.computedFormat,this.$q.i18n.date):""},computedValue:function(){return isValid(this.value)?this.value:this.defaultValue||startOfDate(new Date,"day")},computedClearValue:function(){return void 0===this.clearValue?this.defaultValue:this.clearValue},isClearable:function(){return this.editable&&this.clearable&&!isSameDate(this.computedClearValue,this.value)},modalBtnColor:function(){return this.dark?"light":"dark"}},methods:{toggle:function(){this.$refs.popup&&this[this.$refs.popup.showing?"hide":"show"]()},show:function(){if(!this.disable)return this.__setModel(this.computedValue),this.$refs.popup.show()},hide:function(){return this.$refs.popup?this.$refs.popup.hide():Promise.resolve()},__handleKeyDown:function(t){switch(getEventKey(t)){case 13:case 32:return stopAndPrevent(t),this.show();case 8:this.isClearable&&this.clear()}},__onFocus:function(){this.disable||this.focused||(this.model=clone$1(this.computedValue),this.focused=!0,this.$emit("focus"))},__onBlur:function(t){var e=this;this.focused&&setTimeout(function(){var t=document.activeElement;e.$refs.popup&&e.$refs.popup.showing&&(t===document.body||e.$refs.popup.$el.contains(t))||(e.__onHide(),e.hide())},1)},__onHide:function(t,e){(t||this.isPopover)&&this.__update(t),this.focused&&(e?this.$el.focus():(this.$emit("blur"),this.focused=!1))},__setModel:function(t,e){this.model=clone$1(t),(e||this.isPopover)&&this.__update(e)},__update:function(t){var e=this;this.$nextTick(function(){isSameDate(e.model,e.value)||(e.$emit("input",e.model),t&&e.$emit("change",e.model))})},__scrollView:function(){},__getPicker:function(t,e){var i=this;return[t(QDatetimePicker,{ref:"target",staticClass:"no-border",class:{"datetime-ios-modal":e},props:{type:this.type,min:this.min,max:this.max,headerLabel:this.headerLabel,minimal:this.minimal,formatModel:this.formatModel,format24h:this.format24h,firstDayOfWeek:this.firstDayOfWeek,defaultView:this.defaultView,color:this.invertedLight?"grey-7":this.color,dark:this.dark,value:this.model,disable:this.disable,readonly:this.readonly,noParentField:!0},on:{input:function(t){return i.$nextTick(function(){return i.__setModel(t)})},canClose:function(){i.isPopover&&i.hide()}}},[e?t("div",{staticClass:"modal-buttons modal-buttons-top row full-width"},[t("div",{staticClass:"col"}),t(QBtn,{props:{color:this.modalBtnColor,flat:!0,label:this.cancelLabel||this.$q.i18n.label.cancel,noRipple:!0},on:{click:function(){i.__onHide(!1,!0),i.hide()}}}),this.editable?t(QBtn,{props:{color:this.modalBtnColor,flat:!0,label:this.okLabel||this.$q.i18n.label.set,noRipple:!0,disable:!this.model},on:{click:function(){i.__onHide(!0,!0),i.hide()}}}):null]):null])]}},render:function(t){var e=this;return t(QInputFrame,{staticClass:"q-datetime-input",props:{prefix:this.prefix,suffix:this.suffix,stackLabel:this.stackLabel,floatLabel:this.floatLabel,error:this.error,warning:this.warning,disable:this.disable,readonly:this.readonly,inverted:this.inverted,invertedLight:this.invertedLight,dark:this.dark,hideUnderline:this.hideUnderline,before:this.before,after:this.after,color:this.color,noParentField:this.noParentField,focused:this.focused||this.$refs.popup&&this.$refs.popup.showing,focusable:!0,length:this.actualValue.length},nativeOn:{click:this.toggle,focus:this.__onFocus,blur:this.__onBlur,keydown:this.__handleKeyDown}},[t("div",{staticClass:"col q-input-target ellipsis",class:this.fakeInputClasses},[this.fakeInputValue]),this.isPopover?t(QPopover,{ref:"popup",props:{cover:!0,keepOnScreen:!0,disable:this.disable,anchorClick:!1,maxHeight:"100vh"},slot:"after",on:{show:function(t){e.__onFocus(t),e.__scrollView()},hide:function(){return e.__onHide(!0,!0)}}},this.__getPicker(t)):t(QModal,{ref:"popup",staticClass:"with-backdrop q-datetime-modal",props:{contentCss:contentCss$1,minimized:!1,position:"bottom",transition:this.transition},on:{show:this.__scrollView,dismiss:function(){return e.__onHide(!1,!0)}}},this.__getPicker(t,!0)),this.isClearable?t(QIcon,{slot:"after",props:{name:this.$q.icon.input["clear"+(this.isInverted?"Inverted":"")]},nativeOn:{click:this.clear},staticClass:"q-if-control"}):null,t(QIcon,{slot:"after",props:{name:this.$q.icon.input.dropdown},staticClass:"q-if-control"})])}},inputTypes=["text","textarea","email","search","tel","file","number","password","url","time","date"],QResizeObservable={name:"QResizeObservable",mixins:[CanRenderMixin],props:{debounce:{type:Number,default:100}},data:function(){return this.hasObserver?{}:{url:this.$q.platform.is.ie?null:"about:blank"}},methods:{onResize:function(){if(this.timer=null,this.$el&&this.$el.parentNode){var t=this.$el.parentNode,e={width:t.offsetWidth,height:t.offsetHeight};e.width===this.size.width&&e.height===this.size.height||(this.size=e,this.$emit("resize",this.size))}},trigger:function(t){!0===t||0===this.debounce?this.onResize():this.timer||(this.timer=setTimeout(this.onResize,this.debounce))}},render:function(t){var e=this;if(this.canRender&&!this.hasObserver)return t("object",{style:this.style,attrs:{tabindex:-1,type:"text/html",data:this.url,"aria-hidden":!0},on:{load:function(){e.$el.contentDocument.defaultView.addEventListener("resize",e.trigger,listenOpts.passive),e.trigger(!0)}}})},beforeCreate:function(){this.size={width:-1,height:-1},isSSR||(this.hasObserver="undefined"!=typeof ResizeObserver,this.hasObserver||(this.style=(this.$q.platform.is.ie?"visibility:hidden;":"")+"display:block;position:absolute;top:0;left:0;right:0;bottom:0;height:100%;width:100%;overflow:hidden;pointer-events:none;z-index:-1;"))},mounted:function(){if(this.hasObserver)return this.observer=new ResizeObserver(this.trigger),void this.observer.observe(this.$el.parentNode);this.trigger(!0),this.$q.platform.is.ie&&(this.url="about:blank")},beforeDestroy:function(){clearTimeout(this.timer),this.hasObserver?this.$el.parentNode&&this.observer.unobserve(this.$el.parentNode):this.$el.contentDocument&&this.$el.contentDocument.defaultView.removeEventListener("resize",this.trigger,listenOpts.passive)}},QInput={name:"QInput",mixins:[FrameMixin,InputMixin],props:{value:{required:!0},type:{type:String,default:"text",validator:function(t){return inputTypes.includes(t)}},align:{type:String,validator:function(t){return["left","center","right"].includes(t)}},noPassToggle:Boolean,numericKeyboardToggle:Boolean,readonly:Boolean,decimals:Number,step:Number,upperCase:Boolean,lowerCase:Boolean,initialShowPassword:Boolean},data:function(){var t=this;return{showPass:this.initialShowPassword,showNumber:!0,model:this.value,watcher:null,autofilled:!1,shadow:{val:this.model,set:this.__set,setNav:this.__set,loading:!1,watched:0,isEditable:function(){return t.editable},isDark:function(){return t.dark},hasFocus:function(){return document.activeElement===t.$refs.input},register:function(){t.shadow.watched+=1,t.__watcherRegister()},unregister:function(){t.shadow.watched=Math.max(0,t.shadow.watched-1),t.__watcherUnregister()},getEl:function(){return t.$refs.input}}}},watch:{value:function(t){var e=parseFloat(this.model),i=parseFloat(t);(!this.isNumber||this.isNumberError||isNaN(e)||isNaN(i)||e!==i)&&(this.model=t),this.isNumberError=!1,this.isNegZero=!1},isTextarea:function(t){this[t?"__watcherRegister":"__watcherUnregister"]()},"$attrs.rows":function(){this.isTextarea&&this.__updateArea()}},provide:function(){return{__input:this.shadow}},computed:{isNumber:function(){return"number"===this.type},isPassword:function(){return"password"===this.type},isTextarea:function(){return"textarea"===this.type},isLoading:function(){return this.loading||this.shadow.watched&&this.shadow.loading},keyboardToggle:function(){return this.$q.platform.is.mobile&&this.isNumber&&this.numericKeyboardToggle},inputType:function(){return this.isPassword?this.showPass&&this.editable?"text":"password":this.isNumber?this.showNumber||!this.editable?"number":"text":this.type},inputClasses:function(){var t=[];return this.align&&t.push("text-"+this.align),this.autofilled&&t.push("q-input-autofill"),t},length:function(){return null!==this.model&&void 0!==this.model?(""+this.model).length:0},computedClearValue:function(){return void 0===this.clearValue?this.isNumber?null:"":this.clearValue},computedStep:function(){return this.step||(this.decimals?Math.pow(10,-this.decimals):"any")},frameProps:function(){return{prefix:this.prefix,suffix:this.suffix,stackLabel:this.stackLabel,floatLabel:this.floatLabel,placeholder:this.placeholder,error:this.error,warning:this.warning,disable:this.disable,readonly:this.readonly,inverted:this.inverted,invertedLight:this.invertedLight,dark:this.dark,hideUnderline:this.hideUnderline,before:this.before,after:this.after,color:this.color,noParentField:this.noParentField,focused:this.focused,length:this.autofilled+this.length}}},methods:{togglePass:function(){this.showPass=!this.showPass,clearTimeout(this.timer),this.focus()},toggleNumber:function(){this.showNumber=!this.showNumber,clearTimeout(this.timer),this.focus()},__clearTimer:function(){var t=this;this.$nextTick(function(){return clearTimeout(t.timer)})},__onAnimationStart:function(t){if(0===t.animationName.indexOf("webkit-autofill-")){var e="webkit-autofill-on"===t.animationName;if(e!==this.autofilled)return t.value=this.autofilled=e,t.el=this,this.$emit("autofill",t)}},__setModel:function(t){clearTimeout(this.timer),this.focus(),this.__set(this.isNumber&&0===t?t:t||(this.isNumber?null:""),!0)},__set:function(t,e){var i=this,s=t&&t.target?t.target.value:t;if(this.isNumber){this.isNegZero=1/s==-1/0;var n=this.isNegZero?-0:s;if(this.model=s,s=parseFloat(s),isNaN(s)||this.isNegZero)return this.isNumberError=!0,void(e&&(this.$emit("input",n),this.$nextTick(function(){String(1/n)!==String(1/i.value)&&i.$emit("change",n)})));this.isNumberError=!1,Number.isInteger(this.decimals)&&(s=parseFloat(s.toFixed(this.decimals)))}else this.lowerCase?s=s.toLowerCase():this.upperCase&&(s=s.toUpperCase()),this.model=s;this.$emit("input",s),e&&this.$nextTick(function(){JSON.stringify(s)!==JSON.stringify(i.value)&&i.$emit("change",s)})},__updateArea:function(){var t=this.$refs.shadow,e=this.$refs.input;if(t&&e){var i=t.scrollHeight,s=between(i,t.offsetHeight,this.maxHeight||i);e.style.height=s+"px",e.style.overflowY=this.maxHeight&&s'+e+""}}),o}function getLinkEditor(t,e){if(e.caret){var i=e.toolbarColor||e.toolbarTextColor,s=e.editLinkUrl,n=function(){e.caret.restore(),s!==e.editLinkUrl&&document.execCommand("createLink",!1,""===s?" ":s),e.editLinkUrl=null};return[t("div",{staticClass:"q-mx-xs",class:"text-"+i},[e.$q.i18n.editor.url+": "]),t(QInput,{key:"qedt_btm_input",staticClass:"q-ma-none q-pa-none col q-editor-input",props:{value:s,color:i,autofocus:!0,hideUnderline:!0},on:{input:function(t){s=t},keydown:function(t){switch(getEventKey(t)){case 13:return t.preventDefault(),n();case 27:e.caret.restore(),!e.editLinkUrl&&document.execCommand("unlink"),e.editLinkUrl=null}}}}),t(QBtnGroup,{key:"qedt_btm_grp",props:e.buttonProps},[t(QBtn,{key:"qedt_btm_rem",attrs:{tabindex:-1},props:Object.assign({},e.buttonProps,{label:e.$q.i18n.label.remove,noCaps:!0}),on:{click:function(){e.caret.restore(),document.execCommand("unlink"),e.editLinkUrl=null}}}),t(QBtn,{key:"qedt_btm_upd",props:Object.assign({},e.buttonProps,{label:e.$q.i18n.label.update,noCaps:!0}),on:{click:n}})])]}}function getBlockElement(t,e){if(e&&t===e)return null;var i=(window.getComputedStyle?window.getComputedStyle(t):t.currentStyle).display;return"block"===i||"table"===i?t:getBlockElement(t.parentNode)}function isChildOf(t,e){if(!t)return!1;for(;t=t.parentNode;){if(t===document.body)return!1;if(t===e)return!0}return!1}var urlRegex=/^https?:\/\//,Caret=function(t,e){this.el=t,this.vm=e},prototypeAccessors={selection:{configurable:!0},hasSelection:{configurable:!0},range:{configurable:!0},parent:{configurable:!0},blockParent:{configurable:!0}};prototypeAccessors.selection.get=function(){if(this.el){var t=document.getSelection();return isChildOf(t.anchorNode,this.el)&&isChildOf(t.focusNode,this.el)?t:void 0}},prototypeAccessors.hasSelection.get=function(){return this.selection?this.selection.toString().length>0:null},prototypeAccessors.range.get=function(){var t=this.selection;if(t)return t.rangeCount?t.getRangeAt(0):null},prototypeAccessors.parent.get=function(){var t=this.range;if(t){var e=t.startContainer;return e.nodeType===document.ELEMENT_NODE?e:e.parentNode}},prototypeAccessors.blockParent.get=function(){var t=this.parent;if(t)return getBlockElement(t,this.el)},Caret.prototype.save=function(t){void 0===t&&(t=this.range),this._range=t},Caret.prototype.restore=function(t){void 0===t&&(t=this._range);var e=document.createRange(),i=document.getSelection();t?(e.setStart(t.startContainer,t.startOffset),e.setEnd(t.endContainer,t.endOffset),i.removeAllRanges(),i.addRange(e)):(i.selectAllChildren(this.el),i.collapseToEnd())},Caret.prototype.hasParent=function(t,e){var i=e?this.parent:this.blockParent;return!!i&&i.nodeName.toLowerCase()===t.toLowerCase()},Caret.prototype.hasParents=function(t){var e=this.parent;return!!e&&t.includes(e.nodeName.toLowerCase())},Caret.prototype.is=function(t,e){switch(t){case"formatBlock":return"DIV"===e&&this.parent===this.el||this.hasParent(e,"PRE"===e);case"link":return this.hasParent("A",!0);case"fontSize":return document.queryCommandValue(t)===e;case"fontName":var i=document.queryCommandValue(t);return i==='"'+e+'"'||i===e;case"fullscreen":return this.vm.inFullscreen;case void 0:return!1;default:var s=document.queryCommandState(t);return e?s===e:s}},Caret.prototype.getParentAttribute=function(t){if(this.parent)return this.parent.getAttribute(t)},Caret.prototype.can=function(t){if("outdent"===t)return this.hasParents(["blockquote","li"]);if("indent"===t){var e=!!this.parent&&this.parent.nodeName.toLowerCase();if("blockquote"===e)return!1;if("li"===e){var i=this.parent.previousSibling;return i&&"li"===i.nodeName.toLowerCase()}return!1}},Caret.prototype.apply=function(t,e,i){if(void 0===i&&(i=function(){}),"formatBlock"===t)["BLOCKQUOTE","H1","H2","H3","H4","H5","H6"].includes(e)&&this.is(t,e)&&(t="outdent",e=null),"PRE"===e&&this.is(t,"PRE")&&(e="P");else{if("print"===t){i();var s=window.open();return s.document.write("\n \n \n \n Print - "+document.title+"\n \n \n
"+this.el.innerHTML+"
\n \n \n "),s.print(),void s.close()}if("link"===t){var n=this.getParentAttribute("href");if(n)this.vm.editLinkUrl=n;else{var o=this.selectWord(this.selection),r=o?o.toString():"";if(!r.length)return;this.vm.editLinkUrl=urlRegex.test(r)?r:"",document.execCommand("createLink",!1,""===this.vm.editLinkUrl?" ":this.vm.editLinkUrl)}return this.range.selectNodeContents(this.parent),void this.save()}if("fullscreen"===t)return this.vm.toggleFullscreen(),void i()}document.execCommand(t,!1,e),i()},Caret.prototype.selectWord=function(t){if(!t.isCollapsed)return t;var e=document.createRange();e.setStart(t.anchorNode,t.anchorOffset),e.setEnd(t.focusNode,t.focusOffset);var i=e.collapsed?["backward","forward"]:["forward","backward"];e.detach();var s=t.focusNode,n=t.focusOffset;return t.collapse(t.anchorNode,t.anchorOffset),t.modify("move",i[0],"character"),t.modify("move",i[1],"word"),t.extend(s,n),t.modify("extend",i[1],"character"),t.modify("extend",i[0],"word"),t},Object.defineProperties(Caret.prototype,prototypeAccessors);var toString=Object.prototype.toString,hasOwn=Object.prototype.hasOwnProperty,class2type={};function type(t){return null===t?String(t):class2type[toString.call(t)]||"object"}function isPlainObject(t){if(!t||"object"!==type(t))return!1;if(t.constructor&&!hasOwn.call(t,"constructor")&&!hasOwn.call(t.constructor.prototype,"isPrototypeOf"))return!1;var e;for(e in t);return void 0===e||hasOwn.call(t,e)}function extend(){var t,e,i,s,n,o,r=arguments,a=arguments[0]||{},l=1,c=arguments.length,h=!1;for("boolean"==typeof a&&(h=a,a=arguments[1]||{},l=2),Object(a)!==a&&"function"!==type(a)&&(a={}),c===l&&(a=this,l--);l0},toolbarBackgroundClass:function(){if(this.toolbarBg)return"bg-"+this.toolbarBg},buttonProps:function(){return{outline:this.toolbarOutline,flat:this.toolbarFlat,push:this.toolbarPush,rounded:this.toolbarRounded,dense:!0,color:this.toolbarColor,disable:!this.editable}},buttonDef:function(){var t=this.$q.i18n.editor,e=this.$q.icon.editor;return{bold:{cmd:"bold",icon:e.bold,tip:t.bold,key:66},italic:{cmd:"italic",icon:e.italic,tip:t.italic,key:73},strike:{cmd:"strikeThrough",icon:e.strikethrough,tip:t.strikethrough,key:83},underline:{cmd:"underline",icon:e.underline,tip:t.underline,key:85},unordered:{cmd:"insertUnorderedList",icon:e.unorderedList,tip:t.unorderedList},ordered:{cmd:"insertOrderedList",icon:e.orderedList,tip:t.orderedList},subscript:{cmd:"subscript",icon:e.subscript,tip:t.subscript,htmlTip:"x2"},superscript:{cmd:"superscript",icon:e.superscript,tip:t.superscript,htmlTip:"x2"},link:{cmd:"link",icon:e.hyperlink,tip:t.hyperlink,key:76},fullscreen:{cmd:"fullscreen",icon:e.toggleFullscreen,tip:t.toggleFullscreen,key:70},quote:{cmd:"formatBlock",param:"BLOCKQUOTE",icon:e.quote,tip:t.quote,key:81},left:{cmd:"justifyLeft",icon:e.left,tip:t.left},center:{cmd:"justifyCenter",icon:e.center,tip:t.center},right:{cmd:"justifyRight",icon:e.right,tip:t.right},justify:{cmd:"justifyFull",icon:e.justify,tip:t.justify},print:{type:"no-state",cmd:"print",icon:e.print,tip:t.print,key:80},outdent:{type:"no-state",disable:function(t){return t.caret&&!t.caret.can("outdent")},cmd:"outdent",icon:e.outdent,tip:t.outdent},indent:{type:"no-state",disable:function(t){return t.caret&&!t.caret.can("indent")},cmd:"indent",icon:e.indent,tip:t.indent},removeFormat:{type:"no-state",cmd:"removeFormat",icon:e.removeFormat,tip:t.removeFormat},hr:{type:"no-state",cmd:"insertHorizontalRule",icon:e.hr,tip:t.hr},undo:{type:"no-state",cmd:"undo",icon:e.undo,tip:t.undo,key:90},redo:{type:"no-state",cmd:"redo",icon:e.redo,tip:t.redo,key:89},h1:{cmd:"formatBlock",param:"H1",icon:e.header,tip:t.header1,htmlTip:'

'+t.header1+"

"},h2:{cmd:"formatBlock",param:"H2",icon:e.header,tip:t.header2,htmlTip:'

'+t.header2+"

"},h3:{cmd:"formatBlock",param:"H3",icon:e.header,tip:t.header3,htmlTip:'

'+t.header3+"

"},h4:{cmd:"formatBlock",param:"H4",icon:e.header,tip:t.header4,htmlTip:'

'+t.header4+"

"},h5:{cmd:"formatBlock",param:"H5",icon:e.header,tip:t.header5,htmlTip:'
'+t.header5+"
"},h6:{cmd:"formatBlock",param:"H6",icon:e.header,tip:t.header6,htmlTip:'
'+t.header6+"
"},p:{cmd:"formatBlock",param:"DIV",icon:e.header,tip:t.paragraph},code:{cmd:"formatBlock",param:"PRE",icon:e.code,tip:""+t.code+""},"size-1":{cmd:"fontSize",param:"1",icon:e.size,tip:t.size1,htmlTip:''+t.size1+""},"size-2":{cmd:"fontSize",param:"2",icon:e.size,tip:t.size2,htmlTip:''+t.size2+""},"size-3":{cmd:"fontSize",param:"3",icon:e.size,tip:t.size3,htmlTip:''+t.size3+""},"size-4":{cmd:"fontSize",param:"4",icon:e.size,tip:t.size4,htmlTip:''+t.size4+""},"size-5":{cmd:"fontSize",param:"5",icon:e.size,tip:t.size5,htmlTip:''+t.size5+""},"size-6":{cmd:"fontSize",param:"6",icon:e.size,tip:t.size6,htmlTip:''+t.size6+""},"size-7":{cmd:"fontSize",param:"7",icon:e.size,tip:t.size7,htmlTip:''+t.size7+""}}},buttons:function(){var t=this,e=this.definitions||{},i=this.definitions||this.fonts?extend(!0,{},this.buttonDef,e,getFonts(this.defaultFont,this.$q.i18n.editor.defaultFont,this.$q.icon.editor.font,this.fonts)):this.buttonDef;return this.toolbar.map(function(s){return s.map(function(s){if(s.options)return{type:"dropdown",icon:s.icon,label:s.label,fixedLabel:s.fixedLabel,fixedIcon:s.fixedIcon,highlight:s.highlight,list:s.list,options:s.options.map(function(t){return i[t]})};var n=i[s];return n?"no-state"===n.type||e[s]&&(void 0===n.cmd||t.buttonDef[n.cmd]&&"no-state"===t.buttonDef[n.cmd].type)?n:extend(!0,{type:"toggle"},n):{type:"slot",slot:s}})})},keys:function(){var t={},e=function(e){e.key&&(t[e.key]={cmd:e.cmd,param:e.param})};return this.buttons.forEach(function(t){t.forEach(function(t){t.options?t.options.forEach(e):e(t)})}),t},innerStyle:function(){return this.inFullscreen?this.contentStyle:[{minHeight:this.minHeight,height:this.height,maxHeight:this.maxHeight},this.contentStyle]},innerClass:function(){return[this.contentClass,{col:this.inFullscreen,"overflow-auto":this.inFullscreen||this.maxHeight}]}},data:function(){return{editWatcher:!0,editLinkUrl:null}},watch:{value:function(t){this.editWatcher?this.$refs.content.innerHTML=t:this.editWatcher=!0}},methods:{onInput:function(t){if(this.editWatcher){var e=this.$refs.content.innerHTML;e!==this.value&&(this.editWatcher=!1,this.$emit("input",e))}},onKeydown:function(t){var e=getEventKey(t);if(!t.ctrlKey)return this.refreshToolbar(),void(this.$q.platform.is.ie&&this.$nextTick(this.onInput));var i=this.keys[e];if(void 0!==i){var s=i.cmd,n=i.param;stopAndPrevent(t),this.runCmd(s,n,!1),this.$q.platform.is.ie&&this.$nextTick(this.onInput)}},runCmd:function(t,e,i){var s=this;void 0===i&&(i=!0),this.focus(),this.caret.apply(t,e,function(){s.focus(),i&&s.refreshToolbar()})},refreshToolbar:function(){var t=this;setTimeout(function(){t.editLinkUrl=null,t.$forceUpdate()},1)},focus:function(){this.$refs.content.focus()},getContentEl:function(){return this.$refs.content}},created:function(){isSSR||(document.execCommand("defaultParagraphSeparator",!1,"div"),this.defaultFont=window.getComputedStyle(document.body).fontFamily)},mounted:function(){var t=this;this.$nextTick(function(){t.$refs.content&&(t.caret=new Caret(t.$refs.content,t),t.$refs.content.innerHTML=t.value),t.$nextTick(t.refreshToolbar)})},render:function(t){var e,i=this;if(this.hasToolbar){var s={staticClass:"q-editor-toolbar row no-wrap scroll-x",class:[{"q-editor-toolbar-separator":!this.toolbarOutline&&!this.toolbarPush},this.toolbarBackgroundClass]};(e=[]).push(t("div",extend({key:"qedt_top"},s),[t("div",{staticClass:"row no-wrap q-editor-toolbar-padding fit items-center"},getToolbar(t,this))])),null!==this.editLinkUrl&&e.push(t("div",extend({key:"qedt_btm"},s),[t("div",{staticClass:"row no-wrap q-editor-toolbar-padding fit items-center"},getLinkEditor(t,this))])),e=t("div",e)}return t("div",{staticClass:"q-editor",style:{height:this.inFullscreen?"100vh":null},class:{disabled:this.disable,fullscreen:this.inFullscreen,column:this.inFullscreen}},[e,t("div",{ref:"content",staticClass:"q-editor-content",style:this.innerStyle,class:this.innerClass,attrs:{contenteditable:this.editable},domProps:isSSR?{innerHTML:this.value}:void 0,on:{input:this.onInput,keydown:this.onKeydown,click:this.refreshToolbar,blur:function(){i.caret.save()}}})])}},FabMixin={props:{outline:Boolean,push:Boolean,flat:Boolean,color:String,textColor:String,glossy:Boolean}},QFab={name:"QFab",mixins:[FabMixin,ModelToggleMixin],provide:function(){var t=this;return{__qFabClose:function(e){return t.hide(e).then(function(){return t.$refs.trigger&&t.$refs.trigger.$el&&t.$refs.trigger.$el.focus(),e})}}},props:{icon:String,activeIcon:String,direction:{type:String,default:"right"},persistent:Boolean},watch:{$route:function(){!this.persistent&&this.hide()}},created:function(){this.value&&this.show()},render:function(t){return t("div",{staticClass:"q-fab z-fab row inline justify-center",class:{"q-fab-opened":this.showing}},[t(QBtn,{ref:"trigger",props:{fab:!0,outline:this.outline,push:this.push,flat:this.flat,color:this.color,textColor:this.textColor,glossy:this.glossy},on:{click:this.toggle}},[this.$slots.tooltip,t(QIcon,{staticClass:"q-fab-icon absolute-full",props:{name:this.icon||this.$q.icon.fab.icon}}),t(QIcon,{staticClass:"q-fab-active-icon absolute-full",props:{name:this.activeIcon||this.$q.icon.fab.activeIcon}})]),t("div",{staticClass:"q-fab-actions flex no-wrap inline items-center",class:"q-fab-"+this.direction},this.$slots.default)])}},QFabAction={name:"QFabAction",mixins:[FabMixin],props:{icon:{type:String,required:!0}},inject:{__qFabClose:{default:function(){console.error("QFabAction needs to be child of QFab")}}},methods:{click:function(t){var e=this;this.__qFabClose().then(function(){e.$emit("click",t)})}},render:function(t){return t(QBtn,{props:{fabMini:!0,outline:this.outline,push:this.push,flat:this.flat,color:this.color,textColor:this.textColor,glossy:this.glossy,icon:this.icon},on:{click:this.click}},this.$slots.default)}},QField={name:"QField",mixins:[CanRenderMixin],props:{inset:{type:String,validator:function(t){return["icon","label","full"].includes(t)}},label:String,count:{type:[Number,Boolean],default:!1},error:Boolean,errorLabel:String,warning:Boolean,warningLabel:String,helper:String,icon:String,iconColor:String,dark:Boolean,orientation:{type:String,validator:function(t){return["vertical","horizontal"].includes(t)}},labelWidth:{type:[Number,String],default:5,validator:function(t){var e=parseInt(t,10);return e>0&&e<13}}},data:function(){return{input:{}}},computed:{hasError:function(){return this.input.error||this.error},hasWarning:function(){return!this.hasError&&(this.input.warning||this.warning)},childHasLabel:function(){return this.input.floatLabel||this.input.stackLabel},isDark:function(){return this.input.dark||this.dark},insetIcon:function(){return["icon","full"].includes(this.inset)},hasNoInput:function(){return this.canRender&&(!this.input.$options||this.input.__needsBorder)},counter:function(){if(this.count){var t=this.input.length||"0";return Number.isInteger(this.count)?t+" / "+this.count:t}},classes:function(){return{"q-field-responsive":!this.isVertical&&!this.isHorizontal,"q-field-vertical":this.isVertical,"q-field-horizontal":this.isHorizontal,"q-field-floating":this.childHasLabel,"q-field-no-label":!this.label&&!this.$slots.label,"q-field-with-error":this.hasError,"q-field-with-warning":this.hasWarning,"q-field-dark":this.isDark,"q-field-no-input":this.hasNoInput}},computedLabelWidth:function(){return parseInt(this.labelWidth,10)},isVertical:function(){return"vertical"===this.orientation||12===this.computedLabelWidth},isHorizontal:function(){return"horizontal"===this.orientation},labelClasses:function(){return this.isVertical?"col-12":this.isHorizontal?"col-"+this.labelWidth:"col-xs-12 col-sm-"+this.labelWidth},inputClasses:function(){return this.isVertical?"col-xs-12":this.isHorizontal?"col":"col-xs-12 col-sm"},iconProps:function(){var t={name:this.icon};return!this.iconColor||this.hasError||this.hasWarning||(t.color=this.iconColor),t},insetHasLabel:function(){return["label","full"].includes(this.inset)}},provide:function(){return{__field:this}},methods:{__registerInput:function(t){this.input=t},__unregisterInput:function(t){t&&t!==this.input||(this.input={})},__getBottomContent:function(t){var e;return this.hasError&&(e=this.$slots["error-label"]||this.errorLabel)?t("div",{staticClass:"q-field-error col"},e):this.hasWarning&&(e=this.$slots["warning-label"]||this.warningLabel)?t("div",{staticClass:"q-field-warning col"},e):(e=this.$slots.helper||this.helper)?t("div",{staticClass:"q-field-helper col"},e):t("div",{staticClass:"col text-transparent"},["|"])},__hasBottom:function(){return this.$slots["error-label"]||this.errorLabel||this.$slots["warning-label"]||this.warningLabel||this.$slots.helper||this.helper||this.count}},render:function(t){var e=this.$slots.label||this.label;return t("div",{staticClass:"q-field row no-wrap items-start",class:this.classes},[this.icon?t(QIcon,{props:this.iconProps,staticClass:"q-field-icon q-field-margin"}):this.insetIcon?t("div",{staticClass:"q-field-icon"}):null,t("div",{staticClass:"row col"},[e||this.insetHasLabel?t("div",{staticClass:"q-field-label q-field-margin",class:this.labelClasses},[t("div",{staticClass:"q-field-label-inner row items-center"},[this.$slots.label||this.label])]):null,t("div",{staticClass:"q-field-content",class:this.inputClasses},[this.$slots.default,this.__hasBottom()?t("div",{staticClass:"q-field-bottom row no-wrap"},[this.__getBottomContent(t),this.counter?t("div",{staticClass:"q-field-counter col-auto"},[this.counter]):null]):null])])])}},QInfiniteScroll={name:"QInfiniteScroll",props:{handler:{type:Function,required:!0},inline:Boolean,offset:{type:Number,default:0}},data:function(){return{index:0,fetching:!1,working:!0}},methods:{poll:function(){if(!this.fetching&&this.working){var t=height(this.scrollContainer),e=offset(this.scrollContainer).top+t;offset(this.element).top+height(this.element)-(this.offset||t)-1?"radial":"linear"},computedStyle:function(){return this.imgSrc?{"background-image":"url("+this.imgSrc+")"}:this.gradientType?{background:this.gradientType+"-gradient("+this.gradient+")"}:void 0}},render:function(t){return t(this.tag,{staticClass:"q-jumbotron",style:this.computedStyle,class:{"q-jumbotron-dark":this.dark}},this.$slots.default)}},QKnob={name:"QKnob",directives:{TouchPan:TouchPan},props:{value:Number,min:{type:Number,default:0},max:{type:Number,default:100},color:String,trackColor:{type:String,default:"grey-3"},lineWidth:{type:String,default:"6px"},size:{type:String,default:"100px"},step:{type:Number,default:1},decimals:Number,disable:Boolean,readonly:Boolean},computed:{classes:function(){var t=[];return this.disable&&t.push("disabled"),this.readonly||t.push("cursor-pointer"),this.color&&t.push("text-"+this.color),t},svgStyle:function(){return{"stroke-dasharray":"295.31px, 295.31px","stroke-dashoffset":295.31*(this.$q.i18n.rtl?-1:1)*(1-(this.model-this.min)/(this.max-this.min))+"px",transition:this.dragging?"":"stroke-dashoffset 0.6s ease 0s, stroke 0.6s ease"}},editable:function(){return!this.disable&&!this.readonly},computedDecimals:function(){return void 0!==this.decimals?this.decimals||0:(String(this.step).trim("0").split(".")[1]||"").length},computedStep:function(){return void 0!==this.decimals?1/Math.pow(10,this.decimals||0):this.step}},data:function(){return{model:this.value,dragging:!1}},watch:{value:function(t){var e=this;if(tthis.max)){var i=this.computedDecimals&&"number"==typeof t?parseFloat(t.toFixed(this.computedDecimals)):t;return void(i!==this.model&&(this.model=i))}this.model=this.max}this.$emit("input",this.model),this.$nextTick(function(){e.model!==e.value&&e.$emit("change",e.model)})}},methods:{__pan:function(t){this.editable&&(t.isFinal?this.__dragStop(t.evt):t.isFirst?this.__dragStart(t.evt):this.__dragMove(t.evt))},__dragStart:function(t){this.editable&&(stopAndPrevent(t),this.centerPosition=this.__getCenter(),clearTimeout(this.timer),this.dragging=!0,this.__onInput(t))},__dragMove:function(t){this.dragging&&this.editable&&(stopAndPrevent(t),this.__onInput(t,this.centerPosition))},__dragStop:function(t){var e=this;this.editable&&(stopAndPrevent(t),this.timer=setTimeout(function(){e.dragging=!1},100),this.__onInput(t,this.centerPosition,!0))},__onKeyDown:function(t){var e=t.keyCode;if(this.editable&&[37,40,39,38].includes(e)){stopAndPrevent(t);var i=t.ctrlKey?10*this.computedStep:this.computedStep,s=[37,40].includes(e)?-i:i;this.__onInputValue(between(this.model+s,this.min,this.max))}},__onKeyUp:function(t){var e=t.keyCode;this.editable&&[37,40,39,38].includes(e)&&this.__emitChange()},__onInput:function(t,e,i){if(void 0===e&&(e=this.__getCenter()),this.editable){var s=position(t),n=Math.abs(s.top-e.top),o=Math.sqrt(Math.pow(Math.abs(s.top-e.top),2)+Math.pow(Math.abs(s.left-e.left),2)),r=Math.asin(n/o)*(180/Math.PI);r=s.top=this.step/2?(l<0?-1:1)*this.step:0),this.min,this.max);this.__onInputValue(c,i)}},__onInputValue:function(t,e){this.computedDecimals&&(t=parseFloat(t.toFixed(this.computedDecimals))),this.model!==t&&(this.model=t),this.$emit("drag-value",t),this.value!==t&&(this.$emit("input",t),e&&this.__emitChange(t))},__emitChange:function(t){var e=this;void 0===t&&(t=this.model),this.$nextTick(function(){JSON.stringify(t)!==JSON.stringify(e.value)&&e.$emit("change",t)})},__getCenter:function(){var t=offset(this.$el);return{top:t.top+height(this.$el)/2,left:t.left+width(this.$el)/2}}},render:function(t){var e=this;return t("div",{staticClass:"q-knob non-selectable",class:this.classes,style:{width:this.size,height:this.size}},[t("div",{on:{click:function(t){return!e.dragging&&e.__onInput(t,void 0,!0)}},directives:this.editable?[{name:"touch-pan",modifiers:{prevent:!0,stop:!0},value:this.__pan}]:null},[t("svg",{attrs:{viewBox:"0 0 100 100"}},[t("path",{attrs:{d:"M 50,50 m 0,-47 a 47,47 0 1 1 0,94 a 47,47 0 1 1 0,-94","fill-opacity":"0",stroke:"currentColor","stroke-width":this.lineWidth},class:"text-"+this.trackColor}),t("path",{attrs:{d:"M 50,50 m 0,-47 a 47,47 0 1 1 0,94 a 47,47 0 1 1 0,-94","fill-opacity":"0",stroke:"currentColor","stroke-linecap":"round","stroke-width":this.lineWidth},style:this.svgStyle})]),t("div",{staticClass:"q-knob-label row flex-center content-center",attrs:{tabindex:this.editable?0:-1},on:{keydown:this.__onKeyDown,keyup:this.__onKeyUp}},this.$slots.default||[t("span",[this.model])])])])}},QScrollObservable={name:"QScrollObservable",props:{debounce:Number},render:function(){},data:function(){return{pos:0,dir:"down",dirChanged:!1,dirChangePos:0}},methods:{getPosition:function(){return{position:this.pos,direction:this.dir,directionChanged:this.dirChanged,inflexionPosition:this.dirChangePos}},trigger:function(t){!0===t||0===this.debounce?this.emit():this.timer||(this.timer=this.debounce?setTimeout(this.emit,this.debounce):requestAnimationFrame(this.emit))},emit:function(){var t=Math.max(0,getScrollPosition(this.target)),e=t-this.pos<0?"up":"down";this.dirChanged=this.dir!==e,this.dirChanged&&(this.dir=e,this.dirChangePos=this.pos),this.timer=null,this.pos=t,this.$emit("scroll",this.getPosition())}},mounted:function(){this.target=getScrollTarget(this.$el.parentNode),this.target.addEventListener("scroll",this.trigger,listenOpts.passive),this.trigger(!0)},beforeDestroy:function(){clearTimeout(this.timer),cancelAnimationFrame(this.timer),this.target.removeEventListener("scroll",this.trigger,listenOpts.passive)}},QLayout={name:"QLayout",provide:function(){return{layout:this}},props:{container:Boolean,view:{type:String,default:"hhh lpr fff",validator:function(t){return/^(h|l)h(h|r) lpr (f|l)f(f|r)$/.test(t.toLowerCase())}}},data:function(){return{height:onSSR?0:window.innerHeight,width:onSSR||this.container?0:window.innerWidth,containerHeight:0,scrollbarWidth:onSSR?0:getScrollbarWidth(),header:{size:0,offset:0,space:!1},right:{size:300,offset:0,space:!1},footer:{size:0,offset:0,space:!1},left:{size:300,offset:0,space:!1},scroll:{position:0,direction:"down"}}},computed:{rows:function(){var t=this.view.toLowerCase().split(" ");return{top:t[0].split(""),middle:t[1].split(""),bottom:t[2].split("")}},targetStyle:function(){var t;if(0!==this.scrollbarWidth)return(t={})[this.$q.i18n.rtl?"left":"right"]=this.scrollbarWidth+"px",t},targetChildStyle:function(){var t;if(0!==this.scrollbarWidth)return(t={})[this.$q.i18n.rtl?"right":"left"]=0,t[this.$q.i18n.rtl?"left":"right"]="-"+this.scrollbarWidth+"px",t.width="calc(100% + "+this.scrollbarWidth+"px)",t}},created:function(){this.instances={header:null,right:null,footer:null,left:null}},render:function(t){var e=t("div",{staticClass:"q-layout"},[t(QScrollObservable,{on:{scroll:this.__onPageScroll}}),t(QResizeObservable,{on:{resize:this.__onPageResize}}),this.$slots.default]);return this.container?t("div",{staticClass:"q-layout-container relative-position overflow-hidden"},[t(QResizeObservable,{on:{resize:this.__onContainerResize}}),t("div",{staticClass:"absolute-full",style:this.targetStyle},[t("div",{staticClass:"overflow-auto",style:this.targetChildStyle},[e])])]):e},methods:{__animate:function(){var t=this;this.timer?clearTimeout(this.timer):document.body.classList.add("q-layout-animate"),this.timer=setTimeout(function(){document.body.classList.remove("q-layout-animate"),t.timer=null},150)},__onPageScroll:function(t){this.scroll=t,this.$emit("scroll",t)},__onPageResize:function(t){var e=t.height,i=t.width,s=!1;this.height!==e&&(s=!0,this.height=e,this.$emit("scrollHeight",e),this.__updateScrollbarWidth()),this.width!==i&&(s=!0,this.width=i),s&&this.$emit("resize",{height:e,width:i})},__onContainerResize:function(t){var e=t.height;this.containerHeight!==e&&(this.containerHeight=e,this.__updateScrollbarWidth())},__updateScrollbarWidth:function(){if(this.container){var t=this.height>this.containerHeight?getScrollbarWidth():0;this.scrollbarWidth!==t&&(this.scrollbarWidth=t)}}}},duration=150,QLayoutDrawer={name:"QLayoutDrawer",inject:{layout:{default:function(){console.error("QLayoutDrawer needs to be child of QLayout")}}},mixins:[ModelToggleMixin],directives:{TouchPan:TouchPan},props:{overlay:Boolean,side:{type:String,default:"left",validator:function(t){return["left","right"].includes(t)}},width:{type:Number,default:280},mini:Boolean,miniWidth:{type:Number,default:60},breakpoint:{type:Number,default:992},behavior:{type:String,validator:function(t){return["default","desktop","mobile"].includes(t)},default:"default"},showIfAbove:Boolean,contentStyle:Object,contentClass:[String,Object,Array],noHideOnRouteChange:Boolean,noSwipeOpen:Boolean,noSwipeClose:Boolean},data:function(){var t=this.showIfAbove||void 0===this.value||this.value,e="mobile"!==this.behavior&&this.breakpoint=this.layout.width,largeScreenState:t,mobileOpened:!1}},watch:{belowBreakpoint:function(t){this.mobileOpened||(t?(this.overlay||(this.largeScreenState=this.showing),this.hide(!1)):this.overlay||this[this.largeScreenState?"show":"hide"](!1))},side:function(t,e){this.layout[e].space=!1,this.layout[e].offset=0},behavior:function(t){this.__updateLocal("belowBreakpoint","mobile"===t||"desktop"!==t&&this.breakpoint>=this.layout.width)},breakpoint:function(t){this.__updateLocal("belowBreakpoint","mobile"===this.behavior||"desktop"!==this.behavior&&t>=this.layout.width)},"layout.width":function(t){this.__updateLocal("belowBreakpoint","mobile"===this.behavior||"desktop"!==this.behavior&&this.breakpoint>=t)},"layout.scrollbarWidth":function(){this.applyPosition(this.showing?0:void 0)},offset:function(t){this.__update("offset",t)},onLayout:function(t){this.$emit("on-layout",t),this.__update("space",t)},$route:function(){this.noHideOnRouteChange||(this.mobileOpened||this.onScreenOverlay)&&this.hide()},rightSide:function(){this.applyPosition()},size:function(t){this.applyPosition(),this.__update("size",t)},"$q.i18n.rtl":function(){this.applyPosition()},mini:function(){this.value&&this.layout.__animate()}},computed:{rightSide:function(){return"right"===this.side},offset:function(){return!this.showing||this.mobileOpened||this.overlay?0:this.size},size:function(){return this.isMini?this.miniWidth:this.width},fixed:function(){return this.overlay||this.layout.view.indexOf(this.rightSide?"R":"L")>-1},onLayout:function(){return this.showing&&!this.mobileView&&!this.overlay},onScreenOverlay:function(){return this.showing&&!this.mobileView&&this.overlay},backdropClass:function(){return{"no-pointer-events":!this.showing||!this.mobileView}},mobileView:function(){return this.belowBreakpoint||this.mobileOpened},headerSlot:function(){return!this.overlay&&(this.rightSide?"r"===this.layout.rows.top[2]:"l"===this.layout.rows.top[0])},footerSlot:function(){return!this.overlay&&(this.rightSide?"r"===this.layout.rows.bottom[2]:"l"===this.layout.rows.bottom[0])},belowClass:function(){return{fixed:!0,"on-top":!0,"q-layout-drawer-delimiter":this.fixed&&this.showing,"q-layout-drawer-mobile":!0,"top-padding":!0}},aboveClass:function(){return{fixed:this.fixed||!this.onLayout,"q-layout-drawer-mini":this.isMini,"q-layout-drawer-normal":!this.isMini,"q-layout-drawer-delimiter":this.fixed&&this.showing,"top-padding":this.headerSlot}},aboveStyle:function(){var t={};return this.layout.header.space&&!this.headerSlot&&(this.fixed?t.top=this.layout.header.offset+"px":this.layout.header.space&&(t.top=this.layout.header.size+"px")),this.layout.footer.space&&!this.footerSlot&&(this.fixed?t.bottom=this.layout.footer.offset+"px":this.layout.footer.space&&(t.bottom=this.layout.footer.size+"px")),t},computedStyle:function(){return[this.contentStyle,{width:this.size+"px"},this.mobileView?"":this.aboveStyle]},computedClass:function(){return["q-layout-drawer-"+this.side,this.layout.container?"overflow-auto":"scroll",this.contentClass,this.mobileView?this.belowClass:this.aboveClass]},stateDirection:function(){return(this.$q.i18n.rtl?-1:1)*(this.rightSide?1:-1)},isMini:function(){return this.mini&&!this.mobileView},onNativeEvents:function(){var t=this;if(!this.mobileView)return{"!click":function(e){t.$emit("click",e)},mouseover:function(e){t.$emit("mouseover",e)},mouseout:function(e){t.$emit("mouseout",e)}}}},methods:{applyPosition:function(t){var e=this;void 0===t?this.$nextTick(function(){t=e.showing?0:e.size,e.applyPosition(e.stateDirection*t)}):this.$refs.content&&(this.layout.container&&this.rightSide&&(this.mobileView||Math.abs(t)===this.size)&&(t+=this.stateDirection*this.layout.scrollbarWidth),this.$refs.content.style.transform="translateX("+t+"px)")},applyBackdrop:function(t){this.$refs.backdrop&&(this.$refs.backdrop.style.backgroundColor="rgba(0,0,0,"+.4*t+")")},__setScrollable:function(t){this.layout.container||document.body.classList[t?"add":"remove"]("q-body-drawer-toggle")},__openByTouch:function(t){if(this.belowBreakpoint){var e=this.size,i=between(t.distance.x,0,e);if(t.isFinal){var s=this.$refs.content,n=i>=Math.min(75,e);return s.classList.remove("no-transition"),void(n?this.show():(this.layout.__animate(),this.applyBackdrop(0),this.applyPosition(this.stateDirection*e),s.classList.remove("q-layout-drawer-delimiter")))}if(this.applyPosition((this.$q.i18n.rtl?!this.rightSide:this.rightSide)?Math.max(e-i,0):Math.min(0,i-e)),this.applyBackdrop(between(i/e,0,1)),t.isFirst){var o=this.$refs.content;o.classList.add("no-transition"),o.classList.add("q-layout-drawer-delimiter")}}},__closeByTouch:function(t){if(this.mobileOpened){var e=this.size,i=t.direction===this.side,s=(this.$q.i18n.rtl?!i:i)?between(t.distance.x,0,e):0;if(t.isFinal){var n=Math.abs(s)-1||this.layout.container},containerHeight:function(){return this.layout.container?this.layout.containerHeight:this.windowHeight},offset:function(){if(!this.canRender||!this.value)return 0;if(this.fixed)return this.revealed?this.size:0;var t=this.layout.scroll.position+this.containerHeight+this.size-this.layout.height;return t>0?t:0},computedClass:function(){return{"fixed-bottom":this.fixed,"absolute-bottom":!this.fixed,hidden:!this.value&&!this.fixed,"q-layout-footer-hidden":!this.canRender||!this.value||this.fixed&&!this.revealed}},computedStyle:function(){var t=this.layout.rows.bottom,e={};return"l"===t[0]&&this.layout.left.space&&(e[this.$q.i18n.rtl?"right":"left"]=this.layout.left.size+"px"),"r"===t[2]&&this.layout.right.space&&(e[this.$q.i18n.rtl?"left":"right"]=this.layout.right.size+"px"),e}},render:function(t){return t("footer",{staticClass:"q-layout-footer q-layout-marginal q-layout-transition",class:this.computedClass,style:this.computedStyle},[t(QResizeObservable,{props:{debounce:0},on:{resize:this.__onResize}}),!this.layout.container&&t(QWindowResizeObservable,{props:{debounce:0},on:{resize:this.__onWindowResize}})||void 0,this.$slots.default])},created:function(){this.layout.instances.footer=this,this.__update("space",this.value),this.__update("offset",this.offset)},beforeDestroy:function(){this.layout.instances.footer===this&&(this.layout.instances.footer=null,this.__update("size",0),this.__update("offset",0),this.__update("space",!1))},methods:{__onResize:function(t){var e=t.height;this.__updateLocal("size",e),this.__update("size",e)},__onWindowResize:function(t){var e=t.height;this.__updateLocal("windowHeight",e)},__update:function(t,e){this.layout.footer[t]!==e&&(this.layout.footer[t]=e)},__updateLocal:function(t,e){this[t]!==e&&(this[t]=e)},__updateRevealed:function(){if(this.reveal){var t=this.layout.scroll,e=t.direction,i=t.position,s=t.inflexionPosition;this.__updateLocal("revealed","up"===e||i-s<100||this.layout.height-this.containerHeight-i-this.size<300)}}}},QLayoutHeader={name:"QLayoutHeader",mixins:[CanRenderMixin],inject:{layout:{default:function(){console.error("QLayoutHeader needs to be child of QLayout")}}},props:{value:{type:Boolean,default:!0},reveal:Boolean,revealOffset:{type:Number,default:250}},data:function(){return{size:0,revealed:!0}},watch:{value:function(t){this.__update("space",t),this.__updateLocal("revealed",!0),this.layout.__animate()},offset:function(t){this.__update("offset",t)},reveal:function(t){t||this.__updateLocal("revealed",this.value)},revealed:function(t){this.layout.__animate(),this.$emit("reveal",t)},"layout.scroll":function(t){this.reveal&&this.__updateLocal("revealed","up"===t.direction||t.position<=this.revealOffset||t.position-t.inflexionPosition<100)}},computed:{fixed:function(){return this.reveal||this.layout.view.indexOf("H")>-1||this.layout.container},offset:function(){if(!this.canRender||!this.value)return 0;if(this.fixed)return this.revealed?this.size:0;var t=this.size-this.layout.scroll.position;return t>0?t:0},computedClass:function(){return{"fixed-top":this.fixed,"absolute-top":!this.fixed,"q-layout-header-hidden":!this.canRender||!this.value||this.fixed&&!this.revealed}},computedStyle:function(){var t=this.layout.rows.top,e={};return"l"===t[0]&&this.layout.left.space&&(e[this.$q.i18n.rtl?"right":"left"]=this.layout.left.size+"px"),"r"===t[2]&&this.layout.right.space&&(e[this.$q.i18n.rtl?"left":"right"]=this.layout.right.size+"px"),e}},render:function(t){return t("header",{staticClass:"q-layout-header q-layout-marginal q-layout-transition",class:this.computedClass,style:this.computedStyle},[t(QResizeObservable,{props:{debounce:0},on:{resize:this.__onResize}}),this.$slots.default])},created:function(){this.layout.instances.header=this,this.__update("space",this.value),this.__update("offset",this.offset)},beforeDestroy:function(){this.layout.instances.header===this&&(this.layout.instances.header=null,this.__update("size",0),this.__update("offset",0),this.__update("space",!1))},methods:{__onResize:function(t){var e=t.height;this.__updateLocal("size",e),this.__update("size",e)},__update:function(t,e){this.layout.header[t]!==e&&(this.layout.header[t]=e)},__updateLocal:function(t,e){this[t]!==e&&(this[t]=e)}}},QPage={name:"QPage",inject:{pageContainer:{default:function(){console.error("QPage needs to be child of QPageContainer")}},layout:{}},props:{padding:Boolean,styleFn:Function},computed:{style:function(){var t=(this.layout.header.space?this.layout.header.size:0)+(this.layout.footer.space?this.layout.footer.size:0);return"function"==typeof this.styleFn?this.styleFn(t):{minHeight:this.layout.container?this.layout.containerHeight-t+"px":t?"calc(100vh - "+t+"px)":"100vh"}},classes:function(){if(this.padding)return"layout-padding"}},render:function(t){return t("main",{staticClass:"q-layout-page",style:this.style,class:this.classes},this.$slots.default)}},QPageContainer={name:"QPageContainer",inject:{layout:{default:function(){console.error("QPageContainer needs to be child of QLayout")}}},provide:{pageContainer:!0},computed:{style:function(){var t={};return this.layout.header.space&&(t.paddingTop=this.layout.header.size+"px"),this.layout.right.space&&(t["padding"+(this.$q.i18n.rtl?"Left":"Right")]=this.layout.right.size+"px"),this.layout.footer.space&&(t.paddingBottom=this.layout.footer.size+"px"),this.layout.left.space&&(t["padding"+(this.$q.i18n.rtl?"Right":"Left")]=this.layout.left.size+"px"),t}},render:function(t){return t("div",{staticClass:"q-layout-page-container q-layout-transition",style:this.style},this.$slots.default)}},QPageSticky={name:"QPageSticky",inject:{layout:{default:function(){console.error("QPageSticky needs to be child of QLayout")}}},props:{position:{type:String,default:"bottom-right",validator:function(t){return["top-right","top-left","bottom-right","bottom-left","top","right","bottom","left"].includes(t)}},offset:{type:Array,validator:function(t){return 2===t.length}},expand:Boolean},computed:{attach:function(){var t=this.position;return{top:t.indexOf("top")>-1,right:t.indexOf("right")>-1,bottom:t.indexOf("bottom")>-1,left:t.indexOf("left")>-1,vertical:"top"===t||"bottom"===t,horizontal:"left"===t||"right"===t}},top:function(){return this.layout.header.offset},right:function(){return this.layout.right.offset},bottom:function(){return this.layout.footer.offset},left:function(){return this.layout.left.offset},computedStyle:function(){var t=this.attach,e=[],i=this.$q.i18n.rtl?-1:1;t.top&&this.top?e.push("translateY("+this.top+"px)"):t.bottom&&this.bottom&&e.push("translateY("+-this.bottom+"px)"),t.left&&this.left?e.push("translateX("+i*this.left+"px)"):t.right&&this.right&&e.push("translateX("+-i*this.right+"px)");var s=e.length?{transform:e.join(" ")}:{};return this.offset&&(s.margin=this.offset[1]+"px "+this.offset[0]+"px"),t.vertical?(this.left&&(s[this.$q.i18n.rtl?"right":"left"]=this.left+"px"),this.right&&(s[this.$q.i18n.rtl?"left":"right"]=this.right+"px")):t.horizontal&&(this.top&&(s.top=this.top+"px"),this.bottom&&(s.bottom=this.bottom+"px")),s},classes:function(){return["fixed-"+this.position,"q-page-sticky-"+(this.expand?"expand":"shrink")]}},render:function(t){return t("div",{staticClass:"q-page-sticky q-layout-transition row flex-center",class:this.classes,style:this.computedStyle},this.expand?this.$slots.default:[t("span",this.$slots.default)])}},QListHeader={name:"QListHeader",props:{inset:Boolean},render:function(t){return t("div",{staticClass:"q-list-header",class:{"q-list-header-inset":this.inset}},this.$slots.default)}},QModalLayout={name:"QModalLayout",inject:{__qmodal:{default:function(){console.error("QModalLayout needs to be child of QModal")}}},props:{headerStyle:[String,Object,Array],headerClass:[String,Object,Array],contentStyle:[String,Object,Array],contentClass:[String,Object,Array],footerStyle:[String,Object,Array],footerClass:[String,Object,Array]},watch:{__qmodal:function(t,e){e&&e.unregister(this),t&&t.register(this)}},mounted:function(){this.__qmodal&&this.__qmodal.register(this)},beforeDestroy:function(){this.__qmodal&&this.__qmodal.unregister(this)},render:function(t){var e=[];return this.$slots.header&&e.push(t("div",{staticClass:"q-layout-header",style:this.headerStyle,class:this.headerClass},[this.$slots.header,null])),e.push(t("div",{staticClass:"q-modal-layout-content col scroll",style:this.contentStyle,class:this.contentClass},this.$slots.default)),(this.$slots.footer||this.$slots.navigation)&&e.push(t("div",{staticClass:"q-layout-footer",style:this.footerStyle,class:this.footerClass},[this.$slots.footer,this.$slots.navigation])),t("div",{staticClass:"q-modal-layout col column no-wrap"},e)}},QNoSsr={name:"QNoSsr",mixins:[CanRenderMixin],props:{tag:{type:String,default:"div"},placeholder:String},render:function(t){if(this.canRender){var e=this.$slots.default;return e&&e.length>1?t(this.tag,e):e?e[0]:null}if(this.$slots.placeholder){var i=this.$slots.placeholder;return i&&i.length>1?t(this.tag,{staticClass:"q-no-ssr-placeholder"},i):i?i[0]:null}if(this.placeholder)return t(this.tag,{staticClass:"q-no-ssr-placeholder"},[this.placeholder])}},QPagination={name:"QPagination",props:{value:{type:Number,required:!0},min:{type:Number,default:1},max:{type:Number,required:!0},color:{type:String,default:"primary"},textColor:String,size:String,disable:Boolean,input:Boolean,boundaryLinks:{type:Boolean,default:null},boundaryNumbers:{type:Boolean,default:null},directionLinks:{type:Boolean,default:null},ellipses:{type:Boolean,default:null},maxPages:{type:Number,default:0,validator:function(t){return!(t<0)||(console.error("maxPages should not be negative"),!1)}}},data:function(){return{newPage:null}},watch:{min:function(t){this.model=this.value},max:function(t){this.model=this.value}},computed:{model:{get:function(){return this.value},set:function(t){var e=this;if(!this.disable&&t&&!isNaN(t)){var i=between(parseInt(t,10),this.min,this.max);this.$emit("input",i),this.$nextTick(function(){JSON.stringify(i)!==JSON.stringify(e.value)&&e.$emit("change",i)})}}},inputPlaceholder:function(){return this.model+" / "+this.max},__boundaryLinks:function(){return this.__getBool(this.boundaryLinks,this.input)},__boundaryNumbers:function(){return this.__getBool(this.boundaryNumbers,!this.input)},__directionLinks:function(){return this.__getBool(this.directionLinks,this.input)},__ellipses:function(){return this.__getBool(this.ellipses,!this.input)},icons:function(){var t=[this.$q.icon.pagination.first,this.$q.icon.pagination.prev,this.$q.icon.pagination.next,this.$q.icon.pagination.last];return this.$q.i18n.rtl?t.reverse():t}},methods:{set:function(t){this.model=t},setByOffset:function(t){this.model=this.model+t},__update:function(){this.model=this.newPage,this.newPage=null},__getBool:function(t,e){return[!0,!1].includes(t)?t:e},__getBtn:function(t,e,i){return e.props=Object.assign({color:this.color,flat:!0,size:this.size},i),t(QBtn,e)}},render:function(t){var e=this,i=[],s=[],n=[];if(this.__boundaryLinks&&(i.push(this.__getBtn(t,{key:"bls",on:{click:function(){return e.set(e.min)}}},{disable:this.disable||this.value<=this.min,icon:this.icons[0]})),s.unshift(this.__getBtn(t,{key:"ble",on:{click:function(){return e.set(e.max)}}},{disable:this.disable||this.value>=this.max,icon:this.icons[3]}))),this.__directionLinks&&(i.push(this.__getBtn(t,{key:"bdp",on:{click:function(){return e.setByOffset(-1)}}},{disable:this.disable||this.value<=this.min,icon:this.icons[1]})),s.unshift(this.__getBtn(t,{key:"bdn",on:{click:function(){return e.setByOffset(1)}}},{disable:this.disable||this.value>=this.max,icon:this.icons[2]}))),this.input)n.push(t(QInput,{staticClass:"inline no-padding",style:{width:this.inputPlaceholder.length+"rem"},props:{type:"number",value:this.newPage,noNumberToggle:!0,min:this.min,max:this.max,color:this.color,placeholder:this.inputPlaceholder,disable:this.disable,hideUnderline:!0},on:{input:function(t){return e.newPage=t},keydown:function(t){return 13===getEventKey(t)&&e.__update()},blur:function(){return e.__update()}}}));else{var o=Math.max(this.maxPages,1+(this.__ellipses?2:0)+(this.__boundaryNumbers?2:0)),r=this.min,a=this.max,l=!1,c=!1,h=!1,u=!1;this.maxPages&&othis.min+(this.__boundaryNumbers?1:0)&&(l=!0,r+=1),this.__boundaryNumbers&&(u=!0,a-=1),this.__ellipses&&a=0&&t<=1}}},data:function(){return{scrolling:!1}},watch:{height:function(){this.__updatePos()}},methods:{__onResize:function(){this.scrollTarget&&(this.mediaHeight=this.media.naturalHeight||height(this.media),this.__updatePos())},__updatePos:function(){var t,e,i,s;if(this.scrollTarget===window?(t=0,i=e=window.innerHeight):i=(t=offset(this.scrollTarget).top)+(e=height(this.scrollTarget)),(s=offset(this.$el).top)+this.height>t&&sthis.distance?"pulled":"pull"}},__animateTo:function(t,e,i){var s=this;!i&&this.animationId&&cancelAnimationFrame(this.animating),this.pullPosition-=(this.pullPosition-t)/7,this.pullPosition-t>1?this.animating=requestAnimationFrame(function(){s.__animateTo(t,e,!0)}):this.animating=requestAnimationFrame(function(){s.pullPosition=t,s.animating=!1,e&&e()})},trigger:function(){var t=this;this.handler(function(){t.__animateTo(height$1,function(){t.state="pull"})})},setScrollContainer:function(t){var e=this;this.$nextTick(function(){e.scrollContainer=t?e.$el.parentNode:getScrollTarget(e.$el)})}},mounted:function(){this.setScrollContainer(this.inline)},render:function(t){return t("div",{staticClass:"pull-to-refresh overflow-hidden-y"},[t("div",{staticClass:"pull-to-refresh-container",style:this.style,directives:this.disable?null:[{name:"touch-pan",modifiers:{vertical:!0,mightPrevent:!0},value:this.__pull}]},[t("div",{staticClass:"pull-to-refresh-message row flex-center",class:this.messageClass},[t(QIcon,{class:{"rotate-180":"pulled"===this.state},props:{name:this.$q.icon.pullToRefresh.arrow},directives:[{name:"show",value:"refreshing"!==this.state}]}),t(QIcon,{staticClass:"animate-spin",props:{name:this.refreshIcon||this.$q.icon.pullToRefresh.refresh},directives:[{name:"show",value:"refreshing"===this.state}]})," "+this.message]),this.$slots.default])])}},dragType={MIN:0,RANGE:1,MAX:2},QRange={name:"QRange",mixins:[SliderMixin],props:{value:{type:Object,default:function(){return{min:0,max:0}},validator:function(t){return t.hasOwnProperty("min")&&t.hasOwnProperty("max")}},dragRange:Boolean,dragOnlyRange:Boolean,leftLabelColor:String,leftLabelValue:String,rightLabelColor:String,rightLabelValue:String},data:function(){return{model:Object.assign({},this.value),dragging:!1,currentMinPercentage:(this.value.min-this.min)/(this.max-this.min),currentMaxPercentage:(this.value.max-this.min)/(this.max-this.min)}},computed:{percentageMin:function(){return this.snap?(this.model.min-this.min)/(this.max-this.min):this.currentMinPercentage},percentageMax:function(){return this.snap?(this.model.max-this.min)/(this.max-this.min):this.currentMaxPercentage},activeTrackWidth:function(){return 100*(this.percentageMax-this.percentageMin)+"%"},leftDisplayValue:function(){return void 0!==this.leftLabelValue?this.leftLabelValue:this.model.min},rightDisplayValue:function(){return void 0!==this.rightLabelValue?this.rightLabelValue:this.model.max},leftTooltipColor:function(){return this.leftLabelColor||this.labelColor},rightTooltipColor:function(){return this.rightLabelColor||this.labelColor}},watch:{"value.min":function(t){this.model.min=t},"value.max":function(t){this.model.max=t},"model.min":function(t){this.dragging||(t>this.model.max&&(t=this.model.max),this.currentMinPercentage=(t-this.min)/(this.max-this.min))},"model.max":function(t){this.dragging||(tt&&this.__update({min:t}),this.model.max>t&&this.__update({max:t}),this.$nextTick(this.__validateProps)},step:function(){this.$nextTick(this.__validateProps)}},methods:{__getDragging:function(t){var e,i=this.$refs.handle,s=i.offsetWidth,n=(this.dragOnlyRange?-1:1)*this.$refs.handleMin.offsetWidth/(2*s),o={left:i.getBoundingClientRect().left,width:s,valueMin:this.model.min,valueMax:this.model.max,percentageMin:this.currentMinPercentage,percentageMax:this.currentMaxPercentage},r=getPercentage(t,o,this.$q.i18n.rtl);return r=e.percentageMin?{minP:e.percentageMin,maxP:s,min:e.valueMin,max:n}:{minP:s,maxP:e.percentageMin,min:n,max:e.valueMin};break;case dragType.RANGE:var o=s-e.offsetPercentage,r=between(e.percentageMin+o,0,1-e.rangePercentage),a=n-e.offsetModel,l=between(e.valueMin+a,this.min,this.max-e.rangeValue);i={minP:r,maxP:r+e.rangePercentage,min:parseFloat(l.toFixed(this.computedDecimals)),max:parseFloat((l+e.rangeValue).toFixed(this.computedDecimals))}}this.currentMinPercentage=i.minP,this.currentMaxPercentage=i.maxP,this.model={min:i.min,max:i.max}},__end:function(t,e){void 0===e&&(e=this.dragging),this.__move(t,e),this.currentMinPercentage=(this.model.min-this.min)/(this.max-this.min),this.currentMaxPercentage=(this.model.max-this.min)/(this.max-this.min)},__onKeyDown:function(t,e){var i=t.keyCode;if(this.editable&&[37,40,39,38].includes(i)){stopAndPrevent(t);var s=this.computedDecimals,n=t.ctrlKey?10*this.computedStep:this.computedStep,o=[37,40].includes(i)?-n:n,r=s?parseFloat((this.model[e]+o).toFixed(s)):this.model[e]+o;this.model[e]=between(r,"min"===e?this.min:this.model.min,"max"===e?this.max:this.model.max),this.currentMinPercentage=(this.model.min-this.min)/(this.max-this.min),this.currentMaxPercentage=(this.model.max-this.min)/(this.max-this.min),this.__update()}},__onKeyUp:function(t,e){var i=t.keyCode;this.editable&&[37,40,39,38].includes(i)&&this.__update(!0)},__validateProps:function(){this.min>=this.max?console.error("Range error: min >= max",this.$el,this.min,this.max):notDivides((this.max-this.min)/this.step,this.computedDecimals)?console.error("Range error: step must be a divisor of max - min",this.min,this.max,this.step):notDivides((this.model.min-this.min)/this.step,this.computedDecimals)?console.error("Range error: step must be a divisor of initial value.min - min",this.model.min,this.min,this.step):notDivides((this.model.max-this.min)/this.step,this.computedDecimals)&&console.error("Range error: step must be a divisor of initial value.max - min",this.model.max,this.max,this.step)},__getHandle:function(t,e,i,s,n,o,r){var a,l=this;return t("div",{ref:"handle"+i,staticClass:"q-slider-handle q-slider-handle-"+e,style:(a={},a[this.$q.i18n.rtl?"right":"left"]=100*n+"%",a.borderRadius=this.square?"0":"50%",a),class:[s?"handle-at-minimum":null,{dragging:this.dragging}],attrs:{tabindex:this.$q.platform.is.desktop?this.editable?0:-1:void 0},on:{keydown:function(t){return l.__onKeyDown(t,e)},keyup:function(t){return l.__onKeyUp(t,e)}}},[this.label||this.labelAlways?t(QChip,{props:{pointing:"down",square:!0,dense:!0,color:o},staticClass:"q-slider-label no-pointer-events",class:{"label-always":this.labelAlways}},[r]):null,null])},__getContent:function(t){var e;return[t("div",{staticClass:"q-slider-track active-track",style:(e={},e[this.$q.i18n.rtl?"right":"left"]=100*this.percentageMin+"%",e.width=this.activeTrackWidth,e),class:{dragging:this.dragging,"track-draggable":this.dragRange||this.dragOnlyRange}}),this.__getHandle(t,"min","Min",!this.fillHandleAlways&&this.model.min===this.min,this.percentageMin,this.leftTooltipColor,this.leftDisplayValue),this.__getHandle(t,"max","Max",!1,this.percentageMax,this.rightTooltipColor,this.rightDisplayValue)]}}},QRating={name:"QRating",props:{value:Number,max:{type:Number,default:5},icon:String,color:String,size:String,readonly:Boolean,disable:Boolean},data:function(){return{mouseModel:0}},computed:{model:{get:function(){return this.value},set:function(t){var e=this;this.$emit("input",t),this.$nextTick(function(){JSON.stringify(t)!==JSON.stringify(e.value)&&e.$emit("change",t)})}},editable:function(){return!this.readonly&&!this.disable},classes:function(){var t=[];return this.disable&&t.push("disabled"),this.editable&&t.push("editable"),this.color&&t.push("text-"+this.color),t}},methods:{set:function(t){if(this.editable){var e=between(parseInt(t,10),1,this.max);this.model=this.model===e?0:e,this.mouseModel=0}},__setHoverValue:function(t){this.editable&&(this.mouseModel=t)}},render:function(t){for(var e=this,i=[],s=this.editable?0:-1,n=function(n){i.push(t("span",{key:n,ref:"rt"+n,attrs:{tabindex:s},on:{keydown:function(t){switch(getEventKey(t)){case 13:case 32:return e.set(n),stopAndPrevent(t);case 37:case 40:return e.$refs["rt"+(n-1)]&&e.$refs["rt"+(n-1)].focus(),stopAndPrevent(t);case 39:case 38:return e.$refs["rt"+(n+1)]&&e.$refs["rt"+(n+1)].focus(),stopAndPrevent(t)}}}},[t(QIcon,{props:{name:e.icon||e.$q.icon.rating.icon},class:{active:!e.mouseModel&&e.model>=n||e.mouseModel&&e.mouseModel>=n,exselected:e.mouseModel&&e.model>=n&&e.mouseModel0&&e+this.containerHeight0&&e.scrollTop+this.containerHeight-1}var QSelect={name:"QSelect",mixins:[FrameMixin,KeyboardSelectionMixin],props:{filter:[Function,Boolean],filterPlaceholder:String,radio:Boolean,placeholder:String,separator:Boolean,value:{required:!0},multiple:Boolean,toggle:Boolean,chips:Boolean,options:{type:Array,required:!0,validator:function(t){return t.every(function(t){return"label"in t&&"value"in t})}},chipsColor:String,chipsBgColor:String,displayValue:String,popupMaxHeight:String,popupCover:{type:Boolean,default:!0}},data:function(){return{model:this.multiple&&Array.isArray(this.value)?this.value.slice():this.value,terms:"",focused:!1}},watch:{value:function(t){this.model=this.multiple&&Array.isArray(t)?t.slice():t},visibleOptions:function(){this.__keyboardCalcIndex()}},computed:{optModel:function(){var t=this;if(this.multiple)return this.model.length>0?this.options.map(function(e){return t.model.includes(e.value)}):this.options.map(function(t){return!1})},visibleOptions:function(){var t=this,e=this.options.map(function(t,e){return Object.assign({},t,{index:e})});if(this.filter&&this.terms.length){var i=this.terms.toLowerCase();e=e.filter(function(e){return t.filterFn(i,e)})}return e},keyboardMaxIndex:function(){return this.visibleOptions.length-1},filterFn:function(){return"boolean"==typeof this.filter?defaultFilterFn:this.filter},actualValue:function(){var t=this;if(this.displayValue)return this.displayValue;if(!this.multiple){var e=this.options.find(function(e){return e.value===t.model});return e?e.label:""}var i=this.selectedOptions.map(function(t){return t.label});return i.length?i.join(", "):""},computedClearValue:function(){return void 0===this.clearValue?this.multiple?[]:null:this.clearValue},isClearable:function(){return this.editable&&this.clearable&&JSON.stringify(this.computedClearValue)!==JSON.stringify(this.model)},selectedOptions:function(){var t=this;if(this.multiple)return this.length>0?this.options.filter(function(e){return t.model.includes(e.value)}):[]},hasChips:function(){return this.multiple&&this.chips&&this.length>0},length:function(){return this.multiple?this.model.length:[null,void 0,""].includes(this.model)?0:1},additionalLength:function(){return this.displayValue&&this.displayValue.length>0}},methods:{togglePopup:function(){this.$refs.popover&&this[this.$refs.popover.showing?"hide":"show"]()},show:function(){if(this.__keyboardCalcIndex(),this.$refs.popover)return this.$refs.popover.show()},hide:function(){return this.$refs.popover?this.$refs.popover.hide():Promise.resolve()},reposition:function(){var t=this.$refs.popover;t&&t.showing&&this.$nextTick(function(){return t&&t.reposition()})},__keyboardCalcIndex:function(){var t=this;this.keyboardIndex=-1;var e=this.multiple?this.selectedOptions.map(function(t){return t.value}):[this.model];this.$nextTick(function(){var i=void 0===e?-1:Math.max(-1,t.visibleOptions.findIndex(function(t){return e.includes(t.value)}));i>-1&&(t.keyboardMoveDirection=!0,setTimeout(function(){t.keyboardMoveDirection=!1},500),t.__keyboardShow(i))})},__keyboardCustomKeyHandle:function(t,e){switch(t){case 27:this.$refs.popover.showing&&this.hide();break;case 13:case 32:this.$refs.popover.showing||this.show()}},__keyboardShowTrigger:function(){this.show()},__keyboardSetSelection:function(t){var e=this.visibleOptions[t];this.multiple?this.__toggleMultiple(e.value,e.disable):this.__singleSelect(e.value,e.disable)},__keyboardIsSelectableIndex:function(t){return t>-1&&t-1?this.$emit("remove",{index:s,value:i.splice(s,1)}):(this.$emit("add",{index:i.length,value:t}),i.push(t)),this.$emit("input",i)}},__emit:function(t){var e=this;this.$emit("input",t),this.$nextTick(function(){JSON.stringify(t)!==JSON.stringify(e.value)&&e.$emit("change",t)})},__setModel:function(t,e){this.model=t||(this.multiple?[]:null),this.$emit("input",this.model),!e&&this.$refs.popover&&this.$refs.popover.showing||this.__onClose(e)},__getChipTextColor:function(t){return this.chipsColor?this.chipsColor:this.isInvertedLight?this.invertedLight?t||this.color:"white":this.isInverted?t||(this.invertedLight?"grey-10":this.color):this.dark?t||this.color:"white"},__getChipBgColor:function(t){return this.chipsBgColor?this.chipsBgColor:this.isInvertedLight?this.invertedLight?"grey-10":t||this.color:this.isInverted?this.invertedLight?this.color:"white":this.dark?"white":t||this.color}},render:function(t){var e=this,i=[];if(this.hasChips){var s=t("div",{staticClass:"col row items-center q-input-chips",class:this.alignClass},this.selectedOptions.map(function(i,s){return t(QChip,{key:s,props:{small:!0,closable:e.editable&&!i.disable,color:e.__getChipBgColor(i.color),textColor:e.__getChipTextColor(i.color),icon:i.icon,iconRight:i.rightIcon,avatar:i.avatar},on:{hide:function(){e.__toggleMultiple(i.value,e.disable||i.disable)}},nativeOn:{click:function(t){t.stopPropagation()}}},[t("div",{domProps:{innerHTML:i.label}})])}));i.push(s)}else{var n=t("div",{staticClass:"col q-input-target ellipsis",class:this.fakeInputClasses,domProps:{innerHTML:this.fakeInputValue}});i.push(n)}return i.push(t(QPopover,{ref:"popover",staticClass:"column no-wrap",class:this.dark?"bg-dark":null,props:{cover:this.popupCover,keepOnScreen:!0,disable:!this.editable,anchorClick:!1,maxHeight:this.popupMaxHeight},slot:"after",on:{show:this.__onShow,hide:function(){e.__onClose(!0)}},nativeOn:{keydown:this.__keyboardHandleKey}},[this.filter&&t(QSearch,{ref:"filter",staticClass:"col-auto",style:"padding: 10px;",props:{value:this.terms,placeholder:this.filterPlaceholder||this.$q.i18n.label.filter,debounce:100,color:this.color,dark:this.dark,noParentField:!0,noIcon:!0},on:{input:function(t){e.terms=t,e.reposition()}}})||void 0,this.visibleOptions.length&&t(QList,{staticClass:"no-border scroll",props:{separator:this.separator,dark:this.dark}},this.visibleOptions.map(function(i,s){return t(QItemWrapper,{key:s,class:[i.disable?"text-faded":"cursor-pointer",s===e.keyboardIndex?"q-select-highlight":"",i.disable?"":"cursor-pointer",i.className||""],props:{cfg:i,slotReplace:!0,active:e.multiple?void 0:e.value===i.value},nativeOn:{"!click":function(){var t=e.multiple?"__toggleMultiple":"__singleSelect";e[t](i.value,i.disable)},mouseenter:function(t){!i.disable&&e.__mouseEnterHandler(t,s)}}},[e.multiple?t(e.toggle?QToggle:QCheckbox,{slot:e.toggle?"right":"left",props:{keepColor:!0,color:i.color||e.color,dark:e.dark,value:e.optModel[i.index],disable:i.disable,noFocus:!0}}):e.radio&&t(QRadio,{slot:"left",props:{keepColor:!0,color:i.color||e.color,dark:e.dark,value:e.value,val:i.value,disable:i.disable,noFocus:!0}})||void 0])}))||void 0])),this.isClearable&&i.push(t(QIcon,{slot:"after",staticClass:"q-if-control",props:{name:this.$q.icon.input["clear"+(this.isInverted?"Inverted":"")]},nativeOn:{click:this.clear}})),i.push(t(QIcon,this.readonly?{slot:"after"}:{slot:"after",staticClass:"q-if-control",props:{name:this.$q.icon.input.dropdown}})),t(QInputFrame,{ref:"input",staticClass:"q-select",props:{prefix:this.prefix,suffix:this.suffix,stackLabel:this.stackLabel,floatLabel:this.floatLabel,error:this.error,warning:this.warning,disable:this.disable,readonly:this.readonly,inverted:this.inverted,invertedLight:this.invertedLight,dark:this.dark,hideUnderline:this.hideUnderline,before:this.before,after:this.after,color:this.color,noParentField:this.noParentField,focused:this.focused,focusable:!0,length:this.length,additionalLength:this.additionalLength},nativeOn:{click:this.togglePopup,focus:this.__onFocus,blur:this.__onBlur,keydown:this.__keyboardHandleKey}},i)}},QSpinnerAudio={name:"QSpinnerAudio",mixins:[mixin$1],render:function(t){return t("svg",{staticClass:"q-spinner",class:this.classes,attrs:{fill:"currentColor",width:this.size,height:this.size,viewBox:"0 0 55 80",xmlns:"http://www.w3.org/2000/svg"}},[t("g",{attrs:{transform:"matrix(1 0 0 -1 0 80)"}},[t("rect",{attrs:{width:"10",height:"20",rx:"3"}},[t("animate",{attrs:{attributeName:"height",begin:"0s",dur:"4.3s",values:"20;45;57;80;64;32;66;45;64;23;66;13;64;56;34;34;2;23;76;79;20",calcMode:"linear",repeatCount:"indefinite"}})]),t("rect",{attrs:{x:"15",width:"10",height:"80",rx:"3"}},[t("animate",{attrs:{attributeName:"height",begin:"0s",dur:"2s",values:"80;55;33;5;75;23;73;33;12;14;60;80",calcMode:"linear",repeatCount:"indefinite"}})]),t("rect",{attrs:{x:"30",width:"10",height:"50",rx:"3"}},[t("animate",{attrs:{attributeName:"height",begin:"0s",dur:"1.4s",values:"50;34;78;23;56;23;34;76;80;54;21;50",calcMode:"linear",repeatCount:"indefinite"}})]),t("rect",{attrs:{x:"45",width:"10",height:"30",rx:"3"}},[t("animate",{attrs:{attributeName:"height",begin:"0s",dur:"2s",values:"30;45;13;80;56;72;45;76;34;23;67;30",calcMode:"linear",repeatCount:"indefinite"}})])])])}},QSpinnerBall={name:"QSpinnerBall",mixins:[mixin$1],render:function(t){return t("svg",{staticClass:"q-spinner",class:this.classes,attrs:{stroke:"currentColor",width:this.size,height:this.size,viewBox:"0 0 57 57",xmlns:"http://www.w3.org/2000/svg"}},[t("g",{attrs:{transform:"translate(1 1)","stroke-width":"2",fill:"none","fill-rule":"evenodd"}},[t("circle",{attrs:{cx:"5",cy:"50",r:"5"}},[t("animate",{attrs:{attributeName:"cy",begin:"0s",dur:"2.2s",values:"50;5;50;50",calcMode:"linear",repeatCount:"indefinite"}}),t("animate",{attrs:{attributeName:"cx",begin:"0s",dur:"2.2s",values:"5;27;49;5",calcMode:"linear",repeatCount:"indefinite"}})]),t("circle",{attrs:{cx:"27",cy:"5",r:"5"}},[t("animate",{attrs:{attributeName:"cy",begin:"0s",dur:"2.2s",from:"5",to:"5",values:"5;50;50;5",calcMode:"linear",repeatCount:"indefinite"}}),t("animate",{attrs:{attributeName:"cx",begin:"0s",dur:"2.2s",from:"27",to:"27",values:"27;49;5;27",calcMode:"linear",repeatCount:"indefinite"}})]),t("circle",{attrs:{cx:"49",cy:"50",r:"5"}},[t("animate",{attrs:{attributeName:"cy",begin:"0s",dur:"2.2s",values:"50;50;5;50",calcMode:"linear",repeatCount:"indefinite"}}),t("animate",{attrs:{attributeName:"cx",from:"49",to:"49",begin:"0s",dur:"2.2s",values:"49;5;27;49",calcMode:"linear",repeatCount:"indefinite"}})])])])}},QSpinnerBars={name:"QSpinnerBars",mixins:[mixin$1],render:function(t){return t("svg",{staticClass:"q-spinner",class:this.classes,attrs:{fill:"currentColor",width:this.size,height:this.size,viewBox:"0 0 135 140",xmlns:"http://www.w3.org/2000/svg"}},[t("rect",{attrs:{y:"10",width:"15",height:"120",rx:"6"}},[t("animate",{attrs:{attributeName:"height",begin:"0.5s",dur:"1s",values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}}),t("animate",{attrs:{attributeName:"y",begin:"0.5s",dur:"1s",values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"}})]),t("rect",{attrs:{x:"30",y:"10",width:"15",height:"120",rx:"6"}},[t("animate",{attrs:{attributeName:"height",begin:"0.25s",dur:"1s",values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}}),t("animate",{attrs:{attributeName:"y",begin:"0.25s",dur:"1s",values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"}})]),t("rect",{attrs:{x:"60",width:"15",height:"140",rx:"6"}},[t("animate",{attrs:{attributeName:"height",begin:"0s",dur:"1s",values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}}),t("animate",{attrs:{attributeName:"y",begin:"0s",dur:"1s",values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"}})]),t("rect",{attrs:{x:"90",y:"10",width:"15",height:"120",rx:"6"}},[t("animate",{attrs:{attributeName:"height",begin:"0.25s",dur:"1s",values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}}),t("animate",{attrs:{attributeName:"y",begin:"0.25s",dur:"1s",values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"}})]),t("rect",{attrs:{x:"120",y:"10",width:"15",height:"120",rx:"6"}},[t("animate",{attrs:{attributeName:"height",begin:"0.5s",dur:"1s",values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}}),t("animate",{attrs:{attributeName:"y",begin:"0.5s",dur:"1s",values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"}})])])}},QSpinnerCircles={name:"QSpinnerCircles",mixins:[mixin$1],render:function(t){return t("svg",{staticClass:"q-spinner",class:this.classes,attrs:{fill:"currentColor",width:this.size,height:this.size,viewBox:"0 0 135 135",xmlns:"http://www.w3.org/2000/svg"}},[t("path",{attrs:{d:"M67.447 58c5.523 0 10-4.477 10-10s-4.477-10-10-10-10 4.477-10 10 4.477 10 10 10zm9.448 9.447c0 5.523 4.477 10 10 10 5.522 0 10-4.477 10-10s-4.478-10-10-10c-5.523 0-10 4.477-10 10zm-9.448 9.448c-5.523 0-10 4.477-10 10 0 5.522 4.477 10 10 10s10-4.478 10-10c0-5.523-4.477-10-10-10zM58 67.447c0-5.523-4.477-10-10-10s-10 4.477-10 10 4.477 10 10 10 10-4.477 10-10z"}},[t("animateTransform",{attrs:{attributeName:"transform",type:"rotate",from:"0 67 67",to:"-360 67 67",dur:"2.5s",repeatCount:"indefinite"}})]),t("path",{attrs:{d:"M28.19 40.31c6.627 0 12-5.374 12-12 0-6.628-5.373-12-12-12-6.628 0-12 5.372-12 12 0 6.626 5.372 12 12 12zm30.72-19.825c4.686 4.687 12.284 4.687 16.97 0 4.686-4.686 4.686-12.284 0-16.97-4.686-4.687-12.284-4.687-16.97 0-4.687 4.686-4.687 12.284 0 16.97zm35.74 7.705c0 6.627 5.37 12 12 12 6.626 0 12-5.373 12-12 0-6.628-5.374-12-12-12-6.63 0-12 5.372-12 12zm19.822 30.72c-4.686 4.686-4.686 12.284 0 16.97 4.687 4.686 12.285 4.686 16.97 0 4.687-4.686 4.687-12.284 0-16.97-4.685-4.687-12.283-4.687-16.97 0zm-7.704 35.74c-6.627 0-12 5.37-12 12 0 6.626 5.373 12 12 12s12-5.374 12-12c0-6.63-5.373-12-12-12zm-30.72 19.822c-4.686-4.686-12.284-4.686-16.97 0-4.686 4.687-4.686 12.285 0 16.97 4.686 4.687 12.284 4.687 16.97 0 4.687-4.685 4.687-12.283 0-16.97zm-35.74-7.704c0-6.627-5.372-12-12-12-6.626 0-12 5.373-12 12s5.374 12 12 12c6.628 0 12-5.373 12-12zm-19.823-30.72c4.687-4.686 4.687-12.284 0-16.97-4.686-4.686-12.284-4.686-16.97 0-4.687 4.686-4.687 12.284 0 16.97 4.686 4.687 12.284 4.687 16.97 0z"}},[t("animateTransform",{attrs:{attributeName:"transform",type:"rotate",from:"0 67 67",to:"360 67 67",dur:"8s",repeatCount:"indefinite"}})])])}},QSpinnerComment={name:"QSpinnerComment",mixins:[mixin$1],render:function(t){return t("svg",{staticClass:"q-spinner",class:this.classes,attrs:{width:this.size,height:this.size,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100",preserveAspectRatio:"xMidYMid"}},[t("rect",{attrs:{x:"0",y:"0",width:"100",height:"100",fill:"none"}}),t("path",{attrs:{d:"M78,19H22c-6.6,0-12,5.4-12,12v31c0,6.6,5.4,12,12,12h37.2c0.4,3,1.8,5.6,3.7,7.6c2.4,2.5,5.1,4.1,9.1,4 c-1.4-2.1-2-7.2-2-10.3c0-0.4,0-0.8,0-1.3h8c6.6,0,12-5.4,12-12V31C90,24.4,84.6,19,78,19z",fill:"currentColor"}}),t("circle",{attrs:{cx:"30",cy:"47",r:"5",fill:"#fff"}},[t("animate",{attrs:{attributeName:"opacity",from:"0",to:"1",values:"0;1;1",keyTimes:"0;0.2;1",dur:"1s",repeatCount:"indefinite"}})]),t("circle",{attrs:{cx:"50",cy:"47",r:"5",fill:"#fff"}},[t("animate",{attrs:{attributeName:"opacity",from:"0",to:"1",values:"0;0;1;1",keyTimes:"0;0.2;0.4;1",dur:"1s",repeatCount:"indefinite"}})]),t("circle",{attrs:{cx:"70",cy:"47",r:"5",fill:"#fff"}},[t("animate",{attrs:{attributeName:"opacity",from:"0",to:"1",values:"0;0;1;1",keyTimes:"0;0.4;0.6;1",dur:"1s",repeatCount:"indefinite"}})])])}},QSpinnerCube={name:"QSpinnerCube",mixins:[mixin$1],render:function(t){return t("svg",{staticClass:"q-spinner",class:this.classes,attrs:{width:this.size,height:this.size,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100",preserveAspectRatio:"xMidYMid"}},[t("rect",{attrs:{x:"0",y:"0",width:"100",height:"100",fill:"none"}}),t("g",{attrs:{transform:"translate(25 25)"}},[t("rect",{attrs:{x:"-20",y:"-20",width:"40",height:"40",fill:"currentColor",opacity:"0.9"}},[t("animateTransform",{attrs:{attributeName:"transform",type:"scale",from:"1.5",to:"1",repeatCount:"indefinite",begin:"0s",dur:"1s",calcMode:"spline",keySplines:"0.2 0.8 0.2 0.8",keyTimes:"0;1"}})])]),t("g",{attrs:{transform:"translate(75 25)"}},[t("rect",{attrs:{x:"-20",y:"-20",width:"40",height:"40",fill:"currentColor",opacity:"0.8"}},[t("animateTransform",{attrs:{attributeName:"transform",type:"scale",from:"1.5",to:"1",repeatCount:"indefinite",begin:"0.1s",dur:"1s",calcMode:"spline",keySplines:"0.2 0.8 0.2 0.8",keyTimes:"0;1"}})])]),t("g",{attrs:{transform:"translate(25 75)"}},[t("rect",{staticClass:"cube",attrs:{x:"-20",y:"-20",width:"40",height:"40",fill:"currentColor",opacity:"0.7"}},[t("animateTransform",{attrs:{attributeName:"transform",type:"scale",from:"1.5",to:"1",repeatCount:"indefinite",begin:"0.3s",dur:"1s",calcMode:"spline",keySplines:"0.2 0.8 0.2 0.8",keyTimes:"0;1"}})])]),t("g",{attrs:{transform:"translate(75 75)"}},[t("rect",{staticClass:"cube",attrs:{x:"-20",y:"-20",width:"40",height:"40",fill:"currentColor",opacity:"0.6"}},[t("animateTransform",{attrs:{attributeName:"transform",type:"scale",from:"1.5",to:"1",repeatCount:"indefinite",begin:"0.2s",dur:"1s",calcMode:"spline",keySplines:"0.2 0.8 0.2 0.8",keyTimes:"0;1"}})])])])}},QSpinnerDots={name:"QSpinnerDots",mixins:[mixin$1],render:function(t){return t("svg",{staticClass:"q-spinner",class:this.classes,attrs:{fill:"currentColor",width:this.size,height:this.size,viewBox:"0 0 120 30",xmlns:"http://www.w3.org/2000/svg"}},[t("circle",{attrs:{cx:"15",cy:"15",r:"15"}},[t("animate",{attrs:{attributeName:"r",from:"15",to:"15",begin:"0s",dur:"0.8s",values:"15;9;15",calcMode:"linear",repeatCount:"indefinite"}}),t("animate",{attrs:{attributeName:"fill-opacity",from:"1",to:"1",begin:"0s",dur:"0.8s",values:"1;.5;1",calcMode:"linear",repeatCount:"indefinite"}})]),t("circle",{attrs:{cx:"60",cy:"15",r:"9","fill-opacity":".3"}},[t("animate",{attrs:{attributeName:"r",from:"9",to:"9",begin:"0s",dur:"0.8s",values:"9;15;9",calcMode:"linear",repeatCount:"indefinite"}}),t("animate",{attrs:{attributeName:"fill-opacity",from:".5",to:".5",begin:"0s",dur:"0.8s",values:".5;1;.5",calcMode:"linear",repeatCount:"indefinite"}})]),t("circle",{attrs:{cx:"105",cy:"15",r:"15"}},[t("animate",{attrs:{attributeName:"r",from:"15",to:"15",begin:"0s",dur:"0.8s",values:"15;9;15",calcMode:"linear",repeatCount:"indefinite"}}),t("animate",{attrs:{attributeName:"fill-opacity",from:"1",to:"1",begin:"0s",dur:"0.8s",values:"1;.5;1",calcMode:"linear",repeatCount:"indefinite"}})])])}},QSpinnerFacebook={name:"QSpinnerFacebook",mixins:[mixin$1],render:function(t){return t("svg",{staticClass:"q-spinner",class:this.classes,attrs:{width:this.size,height:this.size,viewBox:"0 0 100 100",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid"}},[t("g",{attrs:{transform:"translate(20 50)"}},[t("rect",{attrs:{x:"-10",y:"-30",width:"20",height:"60",fill:"currentColor",opacity:"0.6"}},[t("animateTransform",{attrs:{attributeName:"transform",type:"scale",from:"2",to:"1",begin:"0s",repeatCount:"indefinite",dur:"1s",calcMode:"spline",keySplines:"0.1 0.9 0.4 1",keyTimes:"0;1",values:"2;1"}})])]),t("g",{attrs:{transform:"translate(50 50)"}},[t("rect",{attrs:{x:"-10",y:"-30",width:"20",height:"60",fill:"currentColor",opacity:"0.8"}},[t("animateTransform",{attrs:{attributeName:"transform",type:"scale",from:"2",to:"1",begin:"0.1s",repeatCount:"indefinite",dur:"1s",calcMode:"spline",keySplines:"0.1 0.9 0.4 1",keyTimes:"0;1",values:"2;1"}})])]),t("g",{attrs:{transform:"translate(80 50)"}},[t("rect",{attrs:{x:"-10",y:"-30",width:"20",height:"60",fill:"currentColor",opacity:"0.9"}},[t("animateTransform",{attrs:{attributeName:"transform",type:"scale",from:"2",to:"1",begin:"0.2s",repeatCount:"indefinite",dur:"1s",calcMode:"spline",keySplines:"0.1 0.9 0.4 1",keyTimes:"0;1",values:"2;1"}})])])])}},QSpinnerGears={name:"QSpinnerGears",mixins:[mixin$1],render:function(t){return t("svg",{staticClass:"q-spinner",class:this.classes,attrs:{width:this.size,height:this.size,viewBox:"0 0 100 100",preserveAspectRatio:"xMidYMid",xmlns:"http://www.w3.org/2000/svg"}},[t("g",{attrs:{transform:"translate(-20,-20)"}},[t("path",{attrs:{d:"M79.9,52.6C80,51.8,80,50.9,80,50s0-1.8-0.1-2.6l-5.1-0.4c-0.3-2.4-0.9-4.6-1.8-6.7l4.2-2.9c-0.7-1.6-1.6-3.1-2.6-4.5 L70,35c-1.4-1.9-3.1-3.5-4.9-4.9l2.2-4.6c-1.4-1-2.9-1.9-4.5-2.6L59.8,27c-2.1-0.9-4.4-1.5-6.7-1.8l-0.4-5.1C51.8,20,50.9,20,50,20 s-1.8,0-2.6,0.1l-0.4,5.1c-2.4,0.3-4.6,0.9-6.7,1.8l-2.9-4.1c-1.6,0.7-3.1,1.6-4.5,2.6l2.1,4.6c-1.9,1.4-3.5,3.1-5,4.9l-4.5-2.1 c-1,1.4-1.9,2.9-2.6,4.5l4.1,2.9c-0.9,2.1-1.5,4.4-1.8,6.8l-5,0.4C20,48.2,20,49.1,20,50s0,1.8,0.1,2.6l5,0.4 c0.3,2.4,0.9,4.7,1.8,6.8l-4.1,2.9c0.7,1.6,1.6,3.1,2.6,4.5l4.5-2.1c1.4,1.9,3.1,3.5,5,4.9l-2.1,4.6c1.4,1,2.9,1.9,4.5,2.6l2.9-4.1 c2.1,0.9,4.4,1.5,6.7,1.8l0.4,5.1C48.2,80,49.1,80,50,80s1.8,0,2.6-0.1l0.4-5.1c2.3-0.3,4.6-0.9,6.7-1.8l2.9,4.2 c1.6-0.7,3.1-1.6,4.5-2.6L65,69.9c1.9-1.4,3.5-3,4.9-4.9l4.6,2.2c1-1.4,1.9-2.9,2.6-4.5L73,59.8c0.9-2.1,1.5-4.4,1.8-6.7L79.9,52.6 z M50,65c-8.3,0-15-6.7-15-15c0-8.3,6.7-15,15-15s15,6.7,15,15C65,58.3,58.3,65,50,65z",fill:"currentColor"}},[t("animateTransform",{attrs:{attributeName:"transform",type:"rotate",from:"90 50 50",to:"0 50 50",dur:"1s",repeatCount:"indefinite"}})])]),t("g",{attrs:{transform:"translate(20,20) rotate(15 50 50)"}},[t("path",{attrs:{d:"M79.9,52.6C80,51.8,80,50.9,80,50s0-1.8-0.1-2.6l-5.1-0.4c-0.3-2.4-0.9-4.6-1.8-6.7l4.2-2.9c-0.7-1.6-1.6-3.1-2.6-4.5 L70,35c-1.4-1.9-3.1-3.5-4.9-4.9l2.2-4.6c-1.4-1-2.9-1.9-4.5-2.6L59.8,27c-2.1-0.9-4.4-1.5-6.7-1.8l-0.4-5.1C51.8,20,50.9,20,50,20 s-1.8,0-2.6,0.1l-0.4,5.1c-2.4,0.3-4.6,0.9-6.7,1.8l-2.9-4.1c-1.6,0.7-3.1,1.6-4.5,2.6l2.1,4.6c-1.9,1.4-3.5,3.1-5,4.9l-4.5-2.1 c-1,1.4-1.9,2.9-2.6,4.5l4.1,2.9c-0.9,2.1-1.5,4.4-1.8,6.8l-5,0.4C20,48.2,20,49.1,20,50s0,1.8,0.1,2.6l5,0.4 c0.3,2.4,0.9,4.7,1.8,6.8l-4.1,2.9c0.7,1.6,1.6,3.1,2.6,4.5l4.5-2.1c1.4,1.9,3.1,3.5,5,4.9l-2.1,4.6c1.4,1,2.9,1.9,4.5,2.6l2.9-4.1 c2.1,0.9,4.4,1.5,6.7,1.8l0.4,5.1C48.2,80,49.1,80,50,80s1.8,0,2.6-0.1l0.4-5.1c2.3-0.3,4.6-0.9,6.7-1.8l2.9,4.2 c1.6-0.7,3.1-1.6,4.5-2.6L65,69.9c1.9-1.4,3.5-3,4.9-4.9l4.6,2.2c1-1.4,1.9-2.9,2.6-4.5L73,59.8c0.9-2.1,1.5-4.4,1.8-6.7L79.9,52.6 z M50,65c-8.3,0-15-6.7-15-15c0-8.3,6.7-15,15-15s15,6.7,15,15C65,58.3,58.3,65,50,65z",fill:"currentColor"}},[t("animateTransform",{attrs:{attributeName:"transform",type:"rotate",from:"0 50 50",to:"90 50 50",dur:"1s",repeatCount:"indefinite"}})])])])}},QSpinnerGrid={name:"QSpinnerGrid",mixins:[mixin$1],render:function(t){return t("svg",{staticClass:"q-spinner",class:this.classes,attrs:{fill:"currentColor",width:this.size,height:this.size,viewBox:"0 0 105 105",xmlns:"http://www.w3.org/2000/svg"}},[t("circle",{attrs:{cx:"12.5",cy:"12.5",r:"12.5"}},[t("animate",{attrs:{attributeName:"fill-opacity",begin:"0s",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"}})]),t("circle",{attrs:{cx:"12.5",cy:"52.5",r:"12.5","fill-opacity":".5"}},[t("animate",{attrs:{attributeName:"fill-opacity",begin:"100ms",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"}})]),t("circle",{attrs:{cx:"52.5",cy:"12.5",r:"12.5"}},[t("animate",{attrs:{attributeName:"fill-opacity",begin:"300ms",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"}})]),t("circle",{attrs:{cx:"52.5",cy:"52.5",r:"12.5"}},[t("animate",{attrs:{attributeName:"fill-opacity",begin:"600ms",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"}})]),t("circle",{attrs:{cx:"92.5",cy:"12.5",r:"12.5"}},[t("animate",{attrs:{attributeName:"fill-opacity",begin:"800ms",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"}})]),t("circle",{attrs:{cx:"92.5",cy:"52.5",r:"12.5"}},[t("animate",{attrs:{attributeName:"fill-opacity",begin:"400ms",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"}})]),t("circle",{attrs:{cx:"12.5",cy:"92.5",r:"12.5"}},[t("animate",{attrs:{attributeName:"fill-opacity",begin:"700ms",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"}})]),t("circle",{attrs:{cx:"52.5",cy:"92.5",r:"12.5"}},[t("animate",{attrs:{attributeName:"fill-opacity",begin:"500ms",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"}})]),t("circle",{attrs:{cx:"92.5",cy:"92.5",r:"12.5"}},[t("animate",{attrs:{attributeName:"fill-opacity",begin:"200ms",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"}})])])}},QSpinnerHearts={name:"QSpinnerHearts",mixins:[mixin$1],render:function(t){return t("svg",{staticClass:"q-spinner",class:this.classes,attrs:{fill:"currentColor",width:this.size,height:this.size,viewBox:"0 0 140 64",xmlns:"http://www.w3.org/2000/svg"}},[t("path",{attrs:{d:"M30.262 57.02L7.195 40.723c-5.84-3.976-7.56-12.06-3.842-18.063 3.715-6 11.467-7.65 17.306-3.68l4.52 3.76 2.6-5.274c3.716-6.002 11.47-7.65 17.304-3.68 5.84 3.97 7.56 12.054 3.842 18.062L34.49 56.118c-.897 1.512-2.793 1.915-4.228.9z","fill-opacity":".5"}},[t("animate",{attrs:{attributeName:"fill-opacity",begin:"0s",dur:"1.4s",values:"0.5;1;0.5",calcMode:"linear",repeatCount:"indefinite"}})]),t("path",{attrs:{d:"M105.512 56.12l-14.44-24.272c-3.716-6.008-1.996-14.093 3.843-18.062 5.835-3.97 13.588-2.322 17.306 3.68l2.6 5.274 4.52-3.76c5.84-3.97 13.593-2.32 17.308 3.68 3.718 6.003 1.998 14.088-3.842 18.064L109.74 57.02c-1.434 1.014-3.33.61-4.228-.9z","fill-opacity":".5"}},[t("animate",{attrs:{attributeName:"fill-opacity",begin:"0.7s",dur:"1.4s",values:"0.5;1;0.5",calcMode:"linear",repeatCount:"indefinite"}})]),t("path",{attrs:{d:"M67.408 57.834l-23.01-24.98c-5.864-6.15-5.864-16.108 0-22.248 5.86-6.14 15.37-6.14 21.234 0L70 16.168l4.368-5.562c5.863-6.14 15.375-6.14 21.235 0 5.863 6.14 5.863 16.098 0 22.247l-23.007 24.98c-1.43 1.556-3.757 1.556-5.188 0z"}})])}},QSpinnerHourglass={name:"QSpinnerHourglass",mixins:[mixin$1],render:function(t){return t("svg",{staticClass:"q-spinner",class:this.classes,attrs:{width:this.size,height:this.size,viewBox:"0 0 100 100",preserveAspectRatio:"xMidYMid",xmlns:"http://www.w3.org/2000/svg"}},[t("g",[t("path",{staticClass:"glass",attrs:{fill:"none",stroke:"currentColor","stroke-width":"5","stroke-miterlimit":"10",d:"M58.4,51.7c-0.9-0.9-1.4-2-1.4-2.3s0.5-0.4,1.4-1.4 C70.8,43.8,79.8,30.5,80,15.5H70H30H20c0.2,15,9.2,28.1,21.6,32.3c0.9,0.9,1.4,1.2,1.4,1.5s-0.5,1.6-1.4,2.5 C29.2,56.1,20.2,69.5,20,85.5h10h40h10C79.8,69.5,70.8,55.9,58.4,51.7z"}}),t("clipPath",{attrs:{id:"uil-hourglass-clip1"}},[t("rect",{staticClass:"clip",attrs:{x:"15",y:"20",width:"70",height:"25"}},[t("animate",{attrs:{attributeName:"height",from:"25",to:"0",dur:"1s",repeatCount:"indefinite",vlaues:"25;0;0",keyTimes:"0;0.5;1"}}),t("animate",{attrs:{attributeName:"y",from:"20",to:"45",dur:"1s",repeatCount:"indefinite",vlaues:"20;45;45",keyTimes:"0;0.5;1"}})])]),t("clipPath",{attrs:{id:"uil-hourglass-clip2"}},[t("rect",{staticClass:"clip",attrs:{x:"15",y:"55",width:"70",height:"25"}},[t("animate",{attrs:{attributeName:"height",from:"0",to:"25",dur:"1s",repeatCount:"indefinite",vlaues:"0;25;25",keyTimes:"0;0.5;1"}}),t("animate",{attrs:{attributeName:"y",from:"80",to:"55",dur:"1s",repeatCount:"indefinite",vlaues:"80;55;55",keyTimes:"0;0.5;1"}})])]),t("path",{staticClass:"sand",attrs:{d:"M29,23c3.1,11.4,11.3,19.5,21,19.5S67.9,34.4,71,23H29z","clip-path":"url(#uil-hourglass-clip1)",fill:"currentColor"}}),t("path",{staticClass:"sand",attrs:{d:"M71.6,78c-3-11.6-11.5-20-21.5-20s-18.5,8.4-21.5,20H71.6z","clip-path":"url(#uil-hourglass-clip2)",fill:"currentColor"}}),t("animateTransform",{attrs:{attributeName:"transform",type:"rotate",from:"0 50 50",to:"180 50 50",repeatCount:"indefinite",dur:"1s",values:"0 50 50;0 50 50;180 50 50",keyTimes:"0;0.7;1"}})])])}},QSpinnerInfinity={name:"QSpinnerInfinity",mixins:[mixin$1],render:function(t){return t("svg",{staticClass:"q-spinner",class:this.classes,attrs:{width:this.size,height:this.size,viewBox:"0 0 100 100",preserveAspectRatio:"xMidYMid"}},[t("path",{attrs:{d:"M24.3,30C11.4,30,5,43.3,5,50s6.4,20,19.3,20c19.3,0,32.1-40,51.4-40C88.6,30,95,43.3,95,50s-6.4,20-19.3,20C56.4,70,43.6,30,24.3,30z",fill:"none",stroke:"currentColor","stroke-width":"8","stroke-dasharray":"10.691205342610678 10.691205342610678","stroke-dashoffset":"0"}},[t("animate",{attrs:{attributeName:"stroke-dashoffset",from:"0",to:"21.382410685221355",begin:"0",dur:"2s",repeatCount:"indefinite",fill:"freeze"}})])])}},QSpinner_mat={name:"QSpinnerMat",mixins:[mixin$1],render:function(t){return t("svg",{staticClass:"q-spinner q-spinner-mat",class:this.classes,attrs:{width:this.size,height:this.size,viewBox:"25 25 50 50"}},[t("circle",{staticClass:"path",attrs:{cx:"50",cy:"50",r:"20",fill:"none",stroke:"currentColor","stroke-width":"3","stroke-miterlimit":"10"}})])}},QSpinnerOval={name:"QSpinnerOval",mixins:[mixin$1],render:function(t){return t("svg",{staticClass:"q-spinner",class:this.classes,attrs:{stroke:"currentColor",width:this.size,height:this.size,viewBox:"0 0 38 38",xmlns:"http://www.w3.org/2000/svg"}},[t("g",{attrs:{transform:"translate(1 1)","stroke-width":"2",fill:"none","fill-rule":"evenodd"}},[t("circle",{attrs:{"stroke-opacity":".5",cx:"18",cy:"18",r:"18"}}),t("path",{attrs:{d:"M36 18c0-9.94-8.06-18-18-18"}},[t("animateTransform",{attrs:{attributeName:"transform",type:"rotate",from:"0 18 18",to:"360 18 18",dur:"1s",repeatCount:"indefinite"}})])])])}},QSpinnerPie={name:"QSpinnerPie",mixins:[mixin$1],render:function(t){return t("svg",{staticClass:"q-spinner",class:this.classes,attrs:{width:this.size,height:this.size,viewBox:"0 0 100 100",preserveAspectRatio:"xMidYMid",xmlns:"http://www.w3.org/2000/svg"}},[t("path",{attrs:{d:"M0 50A50 50 0 0 1 50 0L50 50L0 50",fill:"currentColor",opacity:"0.5"}},[t("animateTransform",{attrs:{attributeName:"transform",type:"rotate",from:"0 50 50",to:"360 50 50",dur:"0.8s",repeatCount:"indefinite"}})]),t("path",{attrs:{d:"M50 0A50 50 0 0 1 100 50L50 50L50 0",fill:"currentColor",opacity:"0.5"}},[t("animateTransform",{attrs:{attributeName:"transform",type:"rotate",from:"0 50 50",to:"360 50 50",dur:"1.6s",repeatCount:"indefinite"}})]),t("path",{attrs:{d:"M100 50A50 50 0 0 1 50 100L50 50L100 50",fill:"currentColor",opacity:"0.5"}},[t("animateTransform",{attrs:{attributeName:"transform",type:"rotate",from:"0 50 50",to:"360 50 50",dur:"2.4s",repeatCount:"indefinite"}})]),t("path",{attrs:{d:"M50 100A50 50 0 0 1 0 50L50 50L50 100",fill:"currentColor",opacity:"0.5"}},[t("animateTransform",{attrs:{attributeName:"transform",type:"rotate",from:"0 50 50",to:"360 50 50",dur:"3.2s",repeatCount:"indefinite"}})])])}},QSpinnerPuff={name:"QSpinnerPuff",mixins:[mixin$1],render:function(t){return t("svg",{staticClass:"q-spinner",class:this.classes,attrs:{stroke:"currentColor",width:this.size,height:this.size,viewBox:"0 0 44 44",xmlns:"http://www.w3.org/2000/svg"}},[t("g",{attrs:{fill:"none","fill-rule":"evenodd","stroke-width":"2"}},[t("circle",{attrs:{cx:"22",cy:"22",r:"1"}},[t("animate",{attrs:{attributeName:"r",begin:"0s",dur:"1.8s",values:"1; 20",calcMode:"spline",keyTimes:"0; 1",keySplines:"0.165, 0.84, 0.44, 1",repeatCount:"indefinite"}}),t("animate",{attrs:{attributeName:"stroke-opacity",begin:"0s",dur:"1.8s",values:"1; 0",calcMode:"spline",keyTimes:"0; 1",keySplines:"0.3, 0.61, 0.355, 1",repeatCount:"indefinite"}})]),t("circle",{attrs:{cx:"22",cy:"22",r:"1"}},[t("animate",{attrs:{attributeName:"r",begin:"-0.9s",dur:"1.8s",values:"1; 20",calcMode:"spline",keyTimes:"0; 1",keySplines:"0.165, 0.84, 0.44, 1",repeatCount:"indefinite"}}),t("animate",{attrs:{attributeName:"stroke-opacity",begin:"-0.9s",dur:"1.8s",values:"1; 0",calcMode:"spline",keyTimes:"0; 1",keySplines:"0.3, 0.61, 0.355, 1",repeatCount:"indefinite"}})])])])}},QSpinnerRadio={name:"QSpinnerRadio",mixins:[mixin$1],render:function(t){return t("svg",{staticClass:"q-spinner",class:this.classes,attrs:{width:this.size,height:this.size,viewBox:"0 0 100 100",preserveAspectRatio:"xMidYMid",xmlns:"http://www.w3.org/2000/svg"}},[t("g",{attrs:{transform:"scale(0.55)"}},[t("circle",{attrs:{cx:"30",cy:"150",r:"30",fill:"currentColor"}},[t("animate",{attrs:{attributeName:"opacity",from:"0",to:"1",dur:"1s",begin:"0",repeatCount:"indefinite",keyTimes:"0;0.5;1",values:"0;1;1"}})]),t("path",{attrs:{d:"M90,150h30c0-49.7-40.3-90-90-90v30C63.1,90,90,116.9,90,150z",fill:"currentColor"}},[t("animate",{attrs:{attributeName:"opacity",from:"0",to:"1",dur:"1s",begin:"0.1",repeatCount:"indefinite",keyTimes:"0;0.5;1",values:"0;1;1"}})]),t("path",{attrs:{d:"M150,150h30C180,67.2,112.8,0,30,0v30C96.3,30,150,83.7,150,150z",fill:"currentColor"}},[t("animate",{attrs:{attributeName:"opacity",from:"0",to:"1",dur:"1s",begin:"0.2",repeatCount:"indefinite",keyTimes:"0;0.5;1",values:"0;1;1"}})])])])}},QSpinnerRings={name:"QSpinnerRings",mixins:[mixin$1],render:function(t){return t("svg",{staticClass:"q-spinner",class:this.classes,attrs:{stroke:"currentColor",width:this.size,height:this.size,viewBox:"0 0 45 45",xmlns:"http://www.w3.org/2000/svg"}},[t("g",{attrs:{fill:"none","fill-rule":"evenodd",transform:"translate(1 1)","stroke-width":"2"}},[t("circle",{attrs:{cx:"22",cy:"22",r:"6"}},[t("animate",{attrs:{attributeName:"r",begin:"1.5s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}}),t("animate",{attrs:{attributeName:"stroke-opacity",begin:"1.5s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}}),t("animate",{attrs:{attributeName:"stroke-width",begin:"1.5s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"}})]),t("circle",{attrs:{cx:"22",cy:"22",r:"6"}},[t("animate",{attrs:{attributeName:"r",begin:"3s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}}),t("animate",{attrs:{attributeName:"stroke-opacity",begin:"3s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}}),t("animate",{attrs:{attributeName:"stroke-width",begin:"3s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"}})]),t("circle",{attrs:{cx:"22",cy:"22",r:"8"}},[t("animate",{attrs:{attributeName:"r",begin:"0s",dur:"1.5s",values:"6;1;2;3;4;5;6",calcMode:"linear",repeatCount:"indefinite"}})])])])}},QSpinnerTail={name:"QSpinnerTail",mixins:[mixin$1],render:function(t){return t("svg",{staticClass:"q-spinner",class:this.classes,attrs:{width:this.size,height:this.size,viewBox:"0 0 38 38",xmlns:"http://www.w3.org/2000/svg"}},[t("defs",[t("linearGradient",{attrs:{x1:"8.042%",y1:"0%",x2:"65.682%",y2:"23.865%",id:"a"}},[t("stop",{attrs:{"stop-color":"currentColor","stop-opacity":"0",offset:"0%"}}),t("stop",{attrs:{"stop-color":"currentColor","stop-opacity":".631",offset:"63.146%"}}),t("stop",{attrs:{"stop-color":"currentColor",offset:"100%"}})])]),t("g",{attrs:{transform:"translate(1 1)",fill:"none","fill-rule":"evenodd"}},[t("path",{attrs:{d:"M36 18c0-9.94-8.06-18-18-18",stroke:"url(#a)","stroke-width":"2"}},[t("animateTransform",{attrs:{attributeName:"transform",type:"rotate",from:"0 18 18",to:"360 18 18",dur:"0.9s",repeatCount:"indefinite"}})]),t("circle",{attrs:{fill:"currentColor",cx:"36",cy:"18",r:"1"}},[t("animateTransform",{attrs:{attributeName:"transform",type:"rotate",from:"0 18 18",to:"360 18 18",dur:"0.9s",repeatCount:"indefinite"}})])])])}},StepTab={name:"QStepTab",directives:{Ripple:Ripple},props:["vm"],computed:{hasNavigation:function(){return!this.vm.__stepper.noHeaderNavigation},classes:function(){return{"step-error":this.vm.error,"step-active":this.vm.active,"step-done":this.vm.done,"step-navigation":this.vm.done&&this.hasNavigation,"step-waiting":this.vm.waiting,"step-disabled":this.vm.disable,"step-colored":this.vm.active||this.vm.done,"items-center":!this.vm.__stepper.vertical,"items-start":this.vm.__stepper.vertical,"q-stepper-first":this.vm.first,"q-stepper-last":this.vm.last}}},methods:{__select:function(){this.hasNavigation&&this.vm.select()}},render:function(t){var e=this.vm.stepIcon?t(QIcon,{props:{name:this.vm.stepIcon}}):t("span",[this.vm.innerOrder+1]);return t("div",{staticClass:"q-stepper-tab col-grow flex no-wrap relative-position",class:this.classes,on:{click:this.__select},directives:null},[t("div",{staticClass:"q-stepper-dot row flex-center q-stepper-line relative-position"},[t("span",{staticClass:"row flex-center"},[e])]),this.vm.title?t("div",{staticClass:"q-stepper-label q-stepper-line relative-position"},[t("div",{staticClass:"q-stepper-title"},[this.vm.title]),t("div",{staticClass:"q-stepper-subtitle"},[this.vm.subtitle])]):null])}},QStep={name:"QStep",inject:{__stepper:{default:function(){console.error("QStep needs to be child of QStepper")}}},props:{name:{type:[Number,String],default:function(){return uid()}},default:Boolean,title:{type:String,required:!0},subtitle:String,icon:String,order:[Number,String],error:Boolean,activeIcon:String,errorIcon:String,doneIcon:String,disable:Boolean},watch:{order:function(){this.__stepper.__sortSteps()}},data:function(){return{innerOrder:0,first:!1,last:!1}},computed:{stepIcon:function(){var t=this.__stepper;return this.active?this.activeIcon||t.activeIcon||this.$q.icon.stepper.active:this.error?this.errorIcon||t.errorIcon||this.$q.icon.stepper.error:this.done&&!this.disable?this.doneIcon||t.doneIcon||this.$q.icon.stepper.done:this.icon},actualOrder:function(){return parseInt(this.order||this.innerOrder,10)},active:function(){return this.__stepper.step===this.name},done:function(){return!this.disable&&this.__stepper.currentOrder>this.innerOrder},waiting:function(){return!this.disable&&this.__stepper.currentOrders?"animate-fade-right":null}}},computed:{classes:function(){var t=["q-stepper-"+(this.vertical?"vertical":"horizontal"),"text-"+this.color];return this.contractable&&t.push("q-stepper-contractable"),t},hasSteps:function(){return this.steps.length>0},currentStep:function(){var t=this;if(this.hasSteps)return this.steps.find(function(e){return e.name===t.step})},currentOrder:function(){if(this.currentStep)return this.currentStep.innerOrder},length:function(){return this.steps.length}},methods:{goToStep:function(t){var e=this;this.step!==t&&void 0!==t&&(this.step=t,this.$emit("input",t),this.$emit("step",t),this.$nextTick(function(){JSON.stringify(t)!==JSON.stringify(e.value)&&e.$emit("change",t)}))},next:function(){this.__go(1)},previous:function(){this.__go(-1)},reset:function(){this.hasSteps&&this.goToStep(this.steps[0].name)},__go:function(t){var e,i=this.currentOrder;if(void 0===i){if(!this.hasSteps)return;e=this.steps[0].name}else{do{i+=t}while(i>=0&&ithis.length-1||this.steps[i].disable)return;e=this.steps[i].name}this.goToStep(e)},__sortSteps:function(){var t=this;this.steps.sort(function(t,e){return t.actualOrder-e.actualOrder});var e=this.steps.length-1;this.steps.forEach(function(t,i){t.innerOrder=i,t.first=0===i,t.last=i===e}),this.$nextTick(function(){t.steps.some(function(t){return t.active})||t.goToStep(t.steps[0].name)})},__registerStep:function(t){return this.steps.push(t),this.__sortSteps(),this},__unregisterStep:function(t){this.steps=this.steps.filter(function(e){return e!==t})}},created:function(){this.__sortSteps=frameDebounce(this.__sortSteps)},render:function(t){return t("div",{staticClass:"q-stepper column overflow-hidden relative-position",class:this.classes},[this.vertical?null:t("div",{staticClass:"q-stepper-header row items-stretch justify-between shadow-1",class:{"alternative-labels":this.alternativeLabels}},this.steps.map(function(e){return t(StepTab,{key:e.name,props:{vm:e}})})),this.$slots.default])}},QStepperNavigation={name:"QStepperNavigation",render:function(t){return t("div",{staticClass:"q-stepper-nav order-last row items-center"},[this.$slots.left,t("div",{staticClass:"col"}),this.$slots.default])}},TabMixin={directives:{Ripple:Ripple},props:{label:String,icon:String,disable:Boolean,hidden:Boolean,hide:{type:String,default:""},name:{type:String,default:function(){return uid()}},alert:Boolean,count:[Number,String],color:String,tabindex:Number},inject:{data:{default:function(){console.error("QTab/QRouteTab components need to be child of QTabs")}},selectTab:{}},watch:{active:function(t){t&&this.$emit("select",this.name)}},computed:{active:function(){return this.data.tabName===this.name},classes:function(){var t={active:this.active,hidden:this.hidden,disabled:this.disable,"q-tab-full":this.icon&&this.label,"q-tab-only-label":!this.icon&&this.label,"hide-none":!this.hide,"hide-icon":"icon"===this.hide,"hide-label":"label"===this.hide},e=this.data.inverted?this.color||this.data.textColor||this.data.color:this.color;return e&&(t["text-"+e]=this.active),t},barStyle:function(){if(!this.active||!this.data.highlight)return"display: none;"},computedTabIndex:function(){return this.disable||this.active?-1:this.tabindex||0}},methods:{__getTabMeta:function(t){return this.count?[t(QChip,{staticClass:"q-tab-meta",props:{floating:!0}},[this.count])]:this.alert?[t("div",{staticClass:"q-tab-meta q-dot"})]:void 0},__getTabContent:function(t){var e=[];return this.icon&&e.push(t("div",{staticClass:"q-tab-icon-parent relative-position"},[t(QIcon,{staticClass:"q-tab-icon",props:{name:this.icon}}),this.__getTabMeta(t)])),this.label&&e.push(t("div",{staticClass:"q-tab-label-parent relative-position"},[t("div",{staticClass:"q-tab-label"},[this.label]),this.__getTabMeta(t)])),(e=e.concat(this.$slots.default)).push(t("div",{staticClass:"q-tab-focus-helper absolute-full",attrs:{tabindex:this.computedTabIndex}})),e}}},QRouteTab={name:"QRouteTab",mixins:[TabMixin,RouterLinkMixin],inject:{selectTabRouter:{}},watch:{$route:function(){this.checkIfSelected()}},methods:{select:function(){this.$emit("click",this.name),this.disable||(this.$el.dispatchEvent(evt),this.selectTabRouter({value:this.name,selected:!0}))},checkIfSelected:function(){var t=this;this.$nextTick(function(){if(t.$el.classList.contains("q-router-link-exact-active"))t.selectTabRouter({value:t.name,selectable:!0,exact:!0});else if(t.$el.classList.contains("q-router-link-active")){var e=t.$router.resolve(t.to,void 0,t.append);t.selectTabRouter({value:t.name,selectable:!0,priority:e.href.length})}else t.active&&t.selectTabRouter({value:null})})}},mounted:function(){this.checkIfSelected()},render:function(t){var e=this;return t("router-link",{props:{tag:"a",to:this.to,exact:this.exact,append:this.append,replace:this.replace,event:routerLinkEventName,activeClass:"q-router-link-active",exactActiveClass:"q-router-link-exact-active"},attrs:{tabindex:-1},nativeOn:{click:this.select,keyup:function(t){return 13===t.keyCode&&e.select(t)}},staticClass:"q-link q-tab column flex-center relative-position",class:this.classes,directives:null},this.__getTabContent(t))}},QTab={name:"QTab",mixins:[TabMixin],props:{default:Boolean},methods:{select:function(){this.$emit("click",this.name),this.disable||this.selectTab(this.name)}},mounted:function(){this.default&&!this.disable&&this.select()},render:function(t){var e=this;return t("div",{staticClass:"q-tab column flex-center relative-position",class:this.classes,attrs:{"data-tab-name":this.name},on:{click:this.select,keyup:function(t){return 13===t.keyCode&&e.select(t)}},directives:null},this.__getTabContent(t))}},QTabPane={name:"QTabPane",inject:{data:{default:function(){console.error("QTabPane needs to be child of QTabs")}}},props:{name:{type:String,required:!0},keepAlive:Boolean},data:function(){return{shown:!1}},computed:{active:function(){return this.data.tabName===this.name},classes:function(){return{hidden:!this.active,"animate-fade-left":"left"===this.data.direction,"animate-fade-right":"right"===this.data.direction}}},render:function(t){var e=t("div",{staticClass:"q-tab-pane",class:this.classes},this.$slots.default);if(this.keepAlive){if(!this.shown&&!this.active)return;return this.shown=!0,e}if(this.shown=this.active,this.active)return e}},scrollNavigationSpeed=5,debounceDelay=50;function getUnderlineClass(t){if(t)return"text-"+t}var QTabs={name:"QTabs",provide:function(){return{data:this.data,selectTab:this.selectTab,selectTabRouter:this.selectTabRouter}},directives:{TouchSwipe:TouchSwipe},props:{value:String,align:{type:String,default:"center",validator:function(t){return["left","center","right","justify"].includes(t)}},position:{type:String,default:"top",validator:function(t){return["top","bottom"].includes(t)}},color:{type:String,default:"primary"},textColor:String,inverted:Boolean,twoLines:Boolean,glossy:Boolean,animated:Boolean,swipeable:Boolean,panesContainerClass:String,underlineColor:String},data:function(){return{currentEl:null,posbar:{width:0,left:0},data:{highlight:!0,tabName:this.value||"",color:this.color,textColor:this.textColor,inverted:this.inverted,underlineClass:getUnderlineClass(this.underlineColor),direction:null}}},watch:{value:function(t){this.selectTab(t)},color:function(t){this.data.color=t},textColor:function(t){this.data.textColor=t},inverted:function(t){this.data.inverted=t},underlineColor:function(t){this.data.underlineClass=getUnderlineClass(t)}},computed:{classes:function(){return["q-tabs-position-"+this.position,"q-tabs-"+(this.inverted?"inverted":"normal"),this.twoLines?"q-tabs-two-lines":""]},innerClasses:function(){var t=["q-tabs-align-"+this.align];return this.glossy&&t.push("glossy"),this.inverted?t.push("text-"+(this.textColor||this.color)):(t.push("bg-"+this.color),t.push("text-"+(this.textColor||"white"))),t},posbarClasses:function(){var t=[];return this.inverted&&t.push("text-"+(this.textColor||this.color)),this.data.highlight&&t.push("highlight"),t}},methods:{go:function(t){var e=0;if(this.data.tabName){var i=this.$refs.scroller.querySelector('[data-tab-name="'+this.data.tabName+'"]');i&&(e=Array.prototype.indexOf.call(this.$refs.scroller.children,i))}var s=this.$refs.scroller.querySelectorAll("[data-tab-name]");(e+=t)>-1&&e-1){var c=this.buffer[l];n&&(c.exact=n),s&&(c.selectable=s),o&&(c.selected=o),r&&(c.priority=r)}else this.buffer.push(t);a&&(this.bufferTimer=setTimeout(function(){var t=e.buffer.find(function(t){return t.exact&&t.selected})||e.buffer.find(function(t){return t.selectable&&t.selected})||e.buffer.find(function(t){return t.exact})||e.buffer.filter(function(t){return t.selectable}).sort(function(t,e){return e.priority-t.priority})[0]||e.buffer[0];e.buffer.length=0,e.selectTab(t.value)},100))},__swipe:function(t){this.go("left"===t.direction?1:-1)},__repositionBar:function(){var t=this;clearTimeout(this.timer);var e=!1,i=this.$refs.posbar,s=this.currentEl;if(!1!==this.data.highlight&&(this.data.highlight=!1,e=!0),!s)return this.finalPosbar={width:0,left:0},void this.__setPositionBar(0,0);var n=i.parentNode.offsetLeft;e&&this.oldEl&&this.__setPositionBar(this.oldEl.getBoundingClientRect().width,this.oldEl.offsetLeft-n),this.timer=setTimeout(function(){var e=s.getBoundingClientRect().width,o=s.offsetLeft-n;i.classList.remove("contract"),t.oldEl=s,t.finalPosbar={width:e,left:o},t.__setPositionBar(t.posbar.left=this.$refs.scroller.scrollWidth?"add":"remove";this.$refs.leftScroll.classList[this.$refs.scroller.scrollLeft<=0?"add":"remove"]("disabled"),this.$refs.rightScroll.classList[t]("disabled")}},__getTabElByName:function(t){var e=this.$children.find(function(e){return e.name===t&&e.$el&&1===e.$el.nodeType});if(e)return e.$el},__findTabAndScroll:function(t,e){var i=this;setTimeout(function(){i.__scrollToTab(i.__getTabElByName(t),e)},4*debounceDelay)},__scrollToTab:function(t,e){if(t&&this.scrollable){var i=this.$refs.scroller.getBoundingClientRect(),s=t.getBoundingClientRect(),n=s.width,o=s.left-i.left;o<0?e?this.$refs.scroller.scrollLeft+=o:this.__animScrollTo(this.$refs.scroller.scrollLeft+o):(o+=n-this.$refs.scroller.offsetWidth)>0&&(e?this.$refs.scroller.scrollLeft+=o:this.__animScrollTo(this.$refs.scroller.scrollLeft+o))}},__animScrollTo:function(t){var e=this;this.__stopAnimScroll(),this.__scrollTowards(t),this.scrollTimer=setInterval(function(){e.__scrollTowards(t)&&e.__stopAnimScroll()},5)},__scrollToStart:function(){this.__animScrollTo(0)},__scrollToEnd:function(){this.__animScrollTo(9999)},__stopAnimScroll:function(){clearInterval(this.scrollTimer)},__scrollTowards:function(t){var e=this.$refs.scroller.scrollLeft,i=t=t)&&(s=!0,e=t),this.$refs.scroller.scrollLeft=e,s}},render:function(t){return t("div",{staticClass:"q-tabs flex no-wrap overflow-hidden",class:this.classes},[t("div",{staticClass:"q-tabs-head row",ref:"tabs",class:this.innerClasses},[t("div",{ref:"scroller",staticClass:"q-tabs-scroller row no-wrap"},[this.$slots.title,null]),t("div",{ref:"leftScroll",staticClass:"row flex-center q-tabs-left-scroll",on:{mousedown:this.__scrollToStart,touchstart:this.__scrollToStart,mouseup:this.__stopAnimScroll,mouseleave:this.__stopAnimScroll,touchend:this.__stopAnimScroll}},[t(QIcon,{props:{name:this.$q.icon.tabs.left}})]),t("div",{ref:"rightScroll",staticClass:"row flex-center q-tabs-right-scroll",on:{mousedown:this.__scrollToEnd,touchstart:this.__scrollToEnd,mouseup:this.__stopAnimScroll,mouseleave:this.__stopAnimScroll,touchend:this.__stopAnimScroll}},[t(QIcon,{props:{name:this.$q.icon.tabs.right}})])]),t("div",{staticClass:"q-tabs-panes",class:this.panesContainerClass,directives:this.swipeable?[{name:"touch-swipe",value:this.__swipe}]:null},this.$slots.default)])},created:function(){this.timer=null,this.scrollTimer=null,this.bufferTimer=null,this.buffer=[],this.scrollable=!this.$q.platform.is.desktop,this.__redraw=debounce(this.__redraw,debounceDelay),this.__updateScrollIndicator=debounce(this.__updateScrollIndicator,debounceDelay)},mounted:function(){var t=this;this.$nextTick(function(){t.$refs.scroller&&(t.$refs.scroller.addEventListener("scroll",t.__updateScrollIndicator,listenOpts.passive),window.addEventListener("resize",t.__redraw,listenOpts.passive),""!==t.data.tabName&&t.value&&t.selectTab(t.value),t.__redraw(),t.__findTabAndScroll(t.data.tabName,!0))})},beforeDestroy:function(){clearTimeout(this.timer),clearTimeout(this.bufferTimer),this.__stopAnimScroll(),this.$refs.scroller.removeEventListener("scroll",this.__updateScrollIndicator,listenOpts.passive),window.removeEventListener("resize",this.__redraw,listenOpts.passive),this.__redraw.cancel(),this.__updateScrollIndicator.cancel()}},Top={computed:{marginalsProps:function(){return{pagination:this.computedPagination,pagesNumber:this.pagesNumber,isFirstPage:this.isFirstPage,isLastPage:this.isLastPage,prevPage:this.prevPage,nextPage:this.nextPage,inFullscreen:this.inFullscreen,toggleFullscreen:this.toggleFullscreen}}},methods:{getTop:function(t){var e=this.$scopedSlots.top,i=this.$scopedSlots["top-left"],s=this.$scopedSlots["top-right"],n=this.$scopedSlots["top-selection"],o=this.hasSelectionMode&&n&&this.rowsSelectedNumber>0,r="q-table-top relative-position row items-center",a=[];return e?t("div",{staticClass:r},[e(this.marginalsProps)]):(o?a.push(n(this.marginalsProps)):i?a.push(t("div",{staticClass:"q-table-control"},[i(this.marginalsProps)])):this.title&&a.push(t("div",{staticClass:"q-table-control"},[t("div",{staticClass:"q-table-title"},this.title)])),s&&(a.push(t("div",{staticClass:"q-table-separator col"})),a.push(t("div",{staticClass:"q-table-control"},[s(this.marginalsProps)]))),0!==a.length?t("div",{staticClass:r},a):void 0)}}},QTh={name:"QTh",props:{props:Object,autoWidth:Boolean},render:function(t){var e,i=this;if(!this.props)return t("td",{class:{"q-table-col-auto-width":this.autoWidth}},this.$slots.default);var s=this.$vnode.key,n=[].concat(this.$slots.default);if(s){if(!(e=this.props.colsMap[s]))return}else e=this.props.col;e.sortable&&n["right"===e.align?"unshift":"push"](t(QIcon,{props:{name:this.$q.icon.table.arrowUp},staticClass:e.__iconClass}));return t("th",{class:[e.__thClass,{"q-table-col-auto-width":this.autoWidth}],on:e.sortable?{click:function(){i.props.sort(e)}}:null},n)}},TableHeader={methods:{getTableHeader:function(t){var e=[this.getTableHeaderRow(t)];return this.loading&&e.push(t("tr",{staticClass:"q-table-progress animate-fade"},[t("td",{attrs:{colspan:"100%"}},[t(QProgress,{props:{color:this.color,indeterminate:!0,height:"2px"}})])])),t("thead",e)},getTableHeaderRow:function(t){var e,i=this,s=this.$scopedSlots.header,n=this.$scopedSlots["header-cell"];if(s)return s(this.addTableHeaderRowMeta({header:!0,cols:this.computedCols,sort:this.sort,colsMap:this.computedColsMap}));e=n?function(t){return n({col:t,cols:i.computedCols,sort:i.sort,colsMap:i.computedColsMap})}:function(e){return t(QTh,{key:e.name,props:{props:{col:e,cols:i.computedCols,sort:i.sort,colsMap:i.computedColsMap}},style:e.style,class:e.classes},e.label)};var o=this.computedCols.map(e);return this.singleSelection&&!this.grid?o.unshift(t("th",{staticClass:"q-table-col-auto-width"},[" "])):this.multipleSelection&&o.unshift(t("th",{staticClass:"q-table-col-auto-width"},[t(QCheckbox,{props:{color:this.color,value:this.someRowsSelected?null:this.allRowsSelected,dark:this.dark},on:{input:function(t){i.someRowsSelected&&(t=!1),i.__updateSelection(i.computedRows.map(function(t){return t[i.rowKey]}),i.computedRows,t)}}})])),t("tr",o)},addTableHeaderRowMeta:function(t){var e=this;return this.multipleSelection&&(Object.defineProperty(t,"selected",{get:function(){return e.someRowsSelected?"some":e.allRowsSelected},set:function(t){e.someRowsSelected&&(t=!1),e.__updateSelection(e.computedRows.map(function(t){return t[e.rowKey]}),e.computedRows,t)}}),t.partialSelected=this.someRowsSelected,t.multipleSelect=!0),t}}},TableBody={methods:{getTableBody:function(t){var e=this,i=this.$scopedSlots.body,s=this.$scopedSlots["body-cell"],n=this.$scopedSlots["top-row"],o=this.$scopedSlots["bottom-row"],r=[];return r=i?this.computedRows.map(function(t){var s=t[e.rowKey],n=e.isRowSelected(s);return i(e.addBodyRowMeta({key:s,row:t,cols:e.computedCols,colsMap:e.computedColsMap,__trClass:n?"selected":""}))}):this.computedRows.map(function(i){var n=i[e.rowKey],o=e.isRowSelected(n),r=s?e.computedCols.map(function(t){return s(e.addBodyCellMetaData({row:i,col:t}))}):e.computedCols.map(function(s){var n=e.$scopedSlots["body-cell-"+s.name];return n?n(e.addBodyCellMetaData({row:i,col:s})):t("td",{staticClass:s.__tdClass,style:s.style,class:s.classes},e.getCellValue(s,i))});return e.hasSelectionMode&&r.unshift(t("td",{staticClass:"q-table-col-auto-width"},[t(QCheckbox,{props:{value:o,color:e.color,dark:e.dark},on:{input:function(t){e.__updateSelection([n],[i],t)}}})])),t("tr",{key:n,class:{selected:o}},r)}),n&&r.unshift(n({cols:this.computedCols})),o&&r.push(o({cols:this.computedCols})),t("tbody",r)},addBodyRowMeta:function(t){var e=this;return this.hasSelectionMode&&Object.defineProperty(t,"selected",{get:function(){return e.isRowSelected(t.key)},set:function(i){e.__updateSelection([t.key],[t.row],i)}}),Object.defineProperty(t,"expand",{get:function(){return!0===e.rowsExpanded[t.key]},set:function(i){e.$set(e.rowsExpanded,t.key,i)}}),t.cols=t.cols.map(function(i){var s=Object.assign({},i);return Object.defineProperty(s,"value",{get:function(){return e.getCellValue(i,t.row)}}),s}),t},addBodyCellMetaData:function(t){var e=this;return Object.defineProperty(t,"value",{get:function(){return e.getCellValue(t.col,t.row)}}),t},getCellValue:function(t,e){var i="function"==typeof t.field?t.field(e):e[t.field];return t.format?t.format(i):i}}},Bottom={computed:{navIcon:function(){var t=[this.$q.icon.table.prevPage,this.$q.icon.table.nextPage];return this.$q.i18n.rtl?t.reverse():t}},methods:{getBottom:function(t){if(!this.hideBottom){if(this.nothingToDisplay){var e=this.filter?this.noResultsLabel||this.$q.i18n.table.noResults:this.loading?this.loadingLabel||this.$q.i18n.table.loading:this.noDataLabel||this.$q.i18n.table.noData;return t("div",{staticClass:"q-table-bottom row items-center q-table-nodata"},[t(QIcon,{props:{name:this.$q.icon.table.warning}}),e])}var i=this.$scopedSlots.bottom;return t("div",{staticClass:"q-table-bottom row items-center",class:i?null:"justify-end"},i?[i(this.marginalsProps)]:this.getPaginationRow(t))}},getPaginationRow:function(t){var e=this,i=this.computedPagination.rowsPerPage,s=this.paginationLabel||this.$q.i18n.table.pagination,n=this.$scopedSlots.pagination;return[t("div",{staticClass:"q-table-control"},[t("div",[this.hasSelectionMode&&this.rowsSelectedNumber>0?(this.selectedRowsLabel||this.$q.i18n.table.selectedRecords)(this.rowsSelectedNumber):""])]),t("div",{staticClass:"q-table-separator col"}),this.rowsPerPageOptions.length>1&&t("div",{staticClass:"q-table-control"},[t("span",{staticClass:"q-table-bottom-item"},[this.rowsPerPageLabel||this.$q.i18n.table.recordsPerPage]),t(QSelect,{staticClass:"inline q-table-bottom-item",props:{color:this.color,value:i,options:this.computedRowsPerPageOptions,dark:this.dark,hideUnderline:!0},on:{input:function(t){e.setPagination({page:1,rowsPerPage:t})}}})])||void 0,t("div",{staticClass:"q-table-control"},[n?n(this.marginalsProps):[t("span",{staticClass:"q-table-bottom-item"},[i?s(this.firstRowIndex+1,Math.min(this.lastRowIndex,this.computedRowsNumber),this.computedRowsNumber):s(1,this.computedRowsNumber,this.computedRowsNumber)]),t(QBtn,{props:{color:this.color,round:!0,icon:this.navIcon[0],dense:!0,flat:!0,disable:this.isFirstPage},on:{click:this.prevPage}}),t(QBtn,{props:{color:this.color,round:!0,icon:this.navIcon[1],dense:!0,flat:!0,disable:this.isLastPage},on:{click:this.nextPage}})]])]}}};function sortDate(t,e){return new Date(t)-new Date(e)}var Sort={props:{sortMethod:{type:Function,default:function(t,e,i){var s=this.columns.find(function(t){return t.name===e});if(null===s||void 0===s.field)return t;var n=i?-1:1,o="function"==typeof s.field?function(t){return s.field(t)}:function(t){return t[s.field]};return t.sort(function(t,e){var i,r=o(t),a=o(e);return null===r||void 0===r?-1*n:null===a||void 0===a?1*n:s.sort?s.sort(r,a)*n:isNumber(r)&&isNumber(a)?(r-a)*n:isDate(r)&&isDate(a)?sortDate(r,a)*n:"boolean"==typeof r&&"boolean"==typeof a?(t-e)*n:(r=(i=[r,a].map(function(t){return(t+"").toLowerCase()}))[0])<(a=i[1])?-1*n:r===a?0:n})}}},computed:{columnToSort:function(){var t=this.computedPagination.sortBy;if(t)return this.columns.find(function(e){return e.name===t})||null}},methods:{sort:function(t){t===Object(t)&&(t=t.name);var e=this.computedPagination,i=e.sortBy,s=e.descending;i!==t?(i=t,s=!1):this.binaryStateSort?s=!s:s?i=null:s=!0,this.setPagination({sortBy:i,descending:s,page:1})}}},Filter={props:{filter:[String,Object],filterMethod:{type:Function,default:function(t,e,i,s){void 0===i&&(i=this.computedCols),void 0===s&&(s=this.getCellValue);var n=e?e.toLowerCase():"";return t.filter(function(t){return i.some(function(e){return-1!==(s(e,t)+"").toLowerCase().indexOf(n)})})}}},watch:{filter:function(){var t=this;this.$nextTick(function(){t.setPagination({page:1},!0)})}}};function samePagination(t,e){for(var i in e)if(e[i]!==t[i])return!1;return!0}function fixPagination(t){return t.page<1&&(t.page=1),void 0!==t.rowsPerPage&&t.rowsPerPage<1&&(t.rowsPerPage=0),t}var Pagination={props:{pagination:Object,rowsPerPageOptions:{type:Array,default:function(){return[3,5,7,10,15,20,25,50,0]}}},data:function(){return{innerPagination:{sortBy:null,descending:!1,page:1,rowsPerPage:5}}},computed:{computedPagination:function(){return fixPagination(Object.assign({},this.innerPagination,this.pagination))},firstRowIndex:function(){var t=this.computedPagination;return(t.page-1)*t.rowsPerPage},lastRowIndex:function(){var t=this.computedPagination;return t.page*t.rowsPerPage},isFirstPage:function(){return 1===this.computedPagination.page},pagesNumber:function(){return Math.max(1,Math.ceil(this.computedRowsNumber/this.computedPagination.rowsPerPage))},isLastPage:function(){return 0===this.lastRowIndex||this.computedPagination.page>=this.pagesNumber},computedRowsPerPageOptions:function(){var t=this;return this.rowsPerPageOptions.map(function(e){return{label:0===e?t.$q.i18n.table.allRows:""+e,value:e}})}},watch:{pagesNumber:function(t,e){if(t!==e){var i=this.computedPagination.page;t&&!i?this.setPagination({page:1}):t1&&this.setPagination({page:t-1})},nextPage:function(){var t=this.computedPagination,e=t.page,i=t.rowsPerPage;this.lastRowIndex>0&&e*i0&&this.computedRows.every(function(e){return!0===t.selectedKeys[e[t.rowKey]]})},someRowsSelected:function(){var t=this;if(this.multipleSelection)return!this.allRowsSelected&&this.computedRows.some(function(e){return!0===t.selectedKeys[e[t.rowKey]]})},rowsSelectedNumber:function(){return this.selected.length}},methods:{isRowSelected:function(t){return!0===this.selectedKeys[t]},clearSelection:function(){this.$emit("update:selected",[])},__updateSelection:function(t,e,i){var s=this;this.singleSelection?this.$emit("update:selected",i?e:[]):this.$emit("update:selected",i?this.selected.concat(e):this.selected.filter(function(e){return!t.includes(e[s.rowKey])}))}}},ColumnSelection={props:{visibleColumns:Array},computed:{computedCols:function(){var t=this,e=this.computedPagination,i=e.sortBy,s=e.descending;return(this.visibleColumns?this.columns.filter(function(e){return e.required||t.visibleColumns.includes(e.name)}):this.columns).map(function(t){return t.align=t.align||"right",t.__iconClass="q-table-sort-icon q-table-sort-icon-"+t.align,t.__thClass="text-"+t.align+(t.sortable?" sortable":"")+(t.name===i?" sorted "+(s?"sort-desc":""):""),t.__tdClass="text-"+t.align,t})},computedColsMap:function(){var t={};return this.computedCols.forEach(function(e){t[e.name]=e}),t}}},Expand={data:function(){return{rowsExpanded:{}}}},QTable={name:"QTable",mixins:[FullscreenMixin,Top,TableHeader,TableBody,Bottom,Sort,Filter,Pagination,RowSelection,ColumnSelection,Expand],props:{data:{type:Array,default:function(){return[]}},rowKey:{type:String,default:"id"},color:{type:String,default:"grey-8"},grid:Boolean,dense:Boolean,columns:Array,loading:Boolean,title:String,hideHeader:Boolean,hideBottom:Boolean,dark:Boolean,separator:{type:String,default:"horizontal",validator:function(t){return["horizontal","vertical","cell","none"].includes(t)}},binaryStateSort:Boolean,noDataLabel:String,noResultsLabel:String,loadingLabel:String,selectedRowsLabel:Function,rowsPerPageLabel:String,paginationLabel:Function,tableStyle:{type:[String,Array,Object],default:""},tableClass:{type:[String,Array,Object],default:""}},computed:{computedData:function(){var t=this.data.slice().map(function(t,e){return t.__index=e,t});if(0===t.length)return{rowsNumber:0,rows:[]};if(this.isServerSide)return{rows:t};var e=this.computedPagination,i=e.sortBy,s=e.descending,n=e.rowsPerPage;this.filter&&(t=this.filterMethod(t,this.filter,this.computedCols,this.getCellValue)),this.columnToSort&&(t=this.sortMethod(t,i,s));var o=t.length;return n&&(t=t.slice(this.firstRowIndex,this.lastRowIndex)),{rowsNumber:o,rows:t}},computedRows:function(){return this.computedData.rows},computedRowsNumber:function(){return this.isServerSide?this.computedPagination.rowsNumber||0:this.computedData.rowsNumber},nothingToDisplay:function(){return 0===this.computedRows.length},isServerSide:function(){return void 0!==this.computedPagination.rowsNumber}},render:function(t){return t("div",{class:{"q-table-grid":this.grid,"q-table-container":!0,"q-table-dark":this.dark,"q-table-dense":this.dense,fullscreen:this.inFullscreen,scroll:this.inFullscreen}},[this.getTop(t),this.getBody(t),this.getBottom(t)])},methods:{requestServerInteraction:function(t){var e=this;this.$nextTick(function(){e.$emit("request",{pagination:t.pagination||e.computedPagination,filter:t.filter||e.filter,getCellValue:e.getCellValue})})},getBody:function(t){var e=this,i=!this.hideHeader;if(this.grid){var s=this.$scopedSlots.item;if(void 0!==s)return[i&&t("div",{staticClass:"q-table-middle scroll"},[t("table",{staticClass:"q-table"+(this.dark?" q-table-dark":"")},[this.getTableHeader(t)])])||null,t("div",{staticClass:"row"},this.computedRows.map(function(t){var i=t[e.rowKey],n=e.isRowSelected(i);return s(e.addBodyRowMeta({key:i,row:t,cols:e.computedCols,colsMap:e.computedColsMap,__trClass:n?"selected":""}))}))]}return t("div",{staticClass:"q-table-middle scroll",class:this.tableClass,style:this.tableStyle},[t("table",{staticClass:"q-table q-table-"+this.separator+"-separator"+(this.dark?" q-table-dark":"")},[i&&this.getTableHeader(t)||null,this.getTableBody(t)])])}}},QTr={name:"QTr",props:{props:Object},render:function(t){return t("tr",!this.props||this.props.header?{}:{class:this.props.__trClass},this.$slots.default)}},QTd={name:"QTd",props:{props:Object,autoWidth:Boolean},render:function(t){if(!this.props)return t("td",{class:{"q-table-col-auto-width":this.autoWidth}},this.$slots.default);var e,i=this.$vnode.key;if(i){if(!(e=this.props.colsMap[i]))return}else e=this.props.col;return t("td",{class:[e.__tdClass,{"q-table-col-auto-width":this.autoWidth}]},this.$slots.default)}},QTableColumns={name:"QTableColumns",props:{value:{type:Array,required:!0},label:String,columns:{type:Array,required:!0},color:String,dark:Boolean},computed:{computedOptions:function(){return this.columns.filter(function(t){return!t.required}).map(function(t){return{value:t.name,label:t.label}})}},render:function(t){var e=this;return t(QSelect,{props:{multiple:!0,toggle:!0,value:this.value,options:this.computedOptions,displayValue:this.label||this.$q.i18n.table.columns,color:this.color,dark:this.dark,hideUnderline:!0},on:{input:function(t){e.$emit("input",t)},change:function(t){e.$emit("change",t)}}})}},QTimeline={name:"QTimeline",provide:function(){return{__timeline:this}},props:{color:{type:String,default:"primary"},responsive:Boolean,noHover:Boolean,dark:Boolean},render:function(t){return t("ul",{staticClass:"q-timeline",class:{"q-timeline-dark":this.dark,"q-timeline-responsive":this.responsive,"q-timeline-hover":!this.noHover}},this.$slots.default)}},QTimelineEntry={name:"QTimelineEntry",inject:{__timeline:{default:function(){console.error("QTimelineEntry needs to be child of QTimeline")}}},props:{heading:Boolean,tag:{type:String,default:"h3"},side:{type:String,default:"right",validator:function(t){return["left","right"].includes(t)}},icon:String,color:String,title:String,subtitle:String},computed:{colorClass:function(){return"text-"+(this.color||this.__timeline.color)},classes:function(){return["q-timeline-entry-"+("left"===this.side?"left":"right"),this.icon?"q-timeline-entry-with-icon":""]}},render:function(t){return this.heading?t("div",{staticClass:"q-timeline-heading"},[t("div"),t("div"),t(this.tag,{staticClass:"q-timeline-heading-title"},this.$slots.default)]):t("li",{staticClass:"q-timeline-entry",class:this.classes},[this.$slots.subtitle||t("div",{staticClass:"q-timeline-subtitle"},[t("span",this.subtitle)]),t("div",{staticClass:"q-timeline-dot",class:this.colorClass},[this.icon?t(QIcon,{props:{name:this.icon}}):null]),t("div",{staticClass:"q-timeline-content"},(this.$slots.title||[t("h6",{staticClass:"q-timeline-title"},[this.title])]).concat(this.$slots.default))])}},QToolbar={name:"QToolbar",props:{color:{type:String,default:"primary"},textColor:String,inverted:Boolean,glossy:Boolean},computed:{classes:function(){var t=["q-toolbar-"+(this.inverted?"inverted":"normal")];return this.glossy&&t.push("glossy"),this.inverted?t.push("text-"+(this.textColor||this.color)):(t.push("bg-"+this.color),t.push("text-"+(this.textColor||"white"))),t}},render:function(t){return t("div",{staticClass:"q-toolbar row no-wrap items-center relative-position",class:this.classes},this.$slots.default)}},QToolbarTitle={name:"QToolbarTitle",props:{shrink:Boolean},render:function(t){return t("div",{staticClass:"q-toolbar-title",class:this.shrink?"col-auto":null},[this.$slots.default,this.$slots.subtitle?t("div",{staticClass:"q-toolbar-subtitle"},this.$slots.subtitle):null])}},QTree={name:"QTree",directives:{Ripple:Ripple},props:{nodes:Array,nodeKey:{type:String,required:!0},labelKey:{type:String,default:"label"},color:{type:String,default:"grey"},controlColor:String,textColor:String,dark:Boolean,icon:String,tickStrategy:{type:String,default:"none",validator:function(t){return["none","strict","leaf","leaf-filtered"].includes(t)}},ticked:Array,expanded:Array,selected:{},defaultExpandAll:Boolean,accordion:Boolean,filter:String,filterMethod:{type:Function,default:function(t,e){var i=e.toLowerCase();return t[this.labelKey]&&t[this.labelKey].toLowerCase().indexOf(i)>-1}},duration:Number,noNodesLabel:String,noResultsLabel:String},computed:{hasRipple:function(){return!1},classes:function(){return["text-"+this.color,{"q-tree-dark":this.dark}]},hasSelection:function(){return void 0!==this.selected},computedIcon:function(){return this.icon||this.$q.icon.tree.icon},computedControlColor:function(){return this.controlColor||this.color},contentClass:function(){return"text-"+(this.textColor||(this.dark?"white":"black"))},meta:function(){var t=this,e={},i=function(s,n){var o=s.tickStrategy||(n?n.tickStrategy:t.tickStrategy),r=s[t.nodeKey],a=s.children&&s.children.length>0,l=!a,c=!s.disabled&&t.hasSelection&&!1!==s.selectable,h=!s.disabled&&!1!==s.expandable,u="none"!==o,d="strict"===o,p="leaf-filtered"===o,f="leaf"===o||"leaf-filtered"===o,m=!s.disabled&&!1!==s.tickable;f&&m&&n&&!n.tickable&&(m=!1);var g=s.lazy;g&&t.lazy[r]&&(g=t.lazy[r]);var v={key:r,parent:n,isParent:a,isLeaf:l,lazy:g,disabled:s.disabled,link:c||h&&(a||!0===g),children:[],matchesFilter:!t.filter||t.filterMethod(s,t.filter),selected:r===t.selected&&c,selectable:c,expanded:!!a&&t.innerExpanded.includes(r),expandable:h,noTick:s.noTick||!d&&g&&"loaded"!==g,tickable:m,tickStrategy:o,hasTicking:u,strictTicking:d,leafFilteredTicking:p,leafTicking:f,ticked:d?t.innerTicked.includes(r):!!l&&t.innerTicked.includes(r)};if(e[r]=v,a&&(v.children=s.children.map(function(t){return i(t,v)}),t.filter&&(v.matchesFilter||(v.matchesFilter=v.children.some(function(t){return t.matchesFilter})),v.matchesFilter&&!v.noTick&&!v.disabled&&v.tickable&&p&&v.children.every(function(t){return!t.matchesFilter||t.noTick||!t.tickable})&&(v.tickable=!1)),v.matchesFilter&&(v.noTick||d||!v.children.every(function(t){return t.noTick})||(v.noTick=!0),f&&(v.ticked=!1,v.indeterminate=v.children.some(function(t){return t.indeterminate}),!v.indeterminate)))){var b=v.children.reduce(function(t,e){return e.ticked?t+1:t},0);b===v.children.length?v.ticked=!0:b>0&&(v.indeterminate=!0)}return v};return this.nodes.forEach(function(t){return i(t,null)}),e}},data:function(){return{lazy:{},innerTicked:this.ticked||[],innerExpanded:this.expanded||[]}},watch:{ticked:function(t){this.innerTicked=t},expanded:function(t){this.innerExpanded=t}},methods:{getNodeByKey:function(t){var e=this,i=[].reduce,s=function(n,o){return n||!o?n:Array.isArray(o)?i.call(Object(o),s,n):o[e.nodeKey]===t?o:o.children?s(null,o.children):void 0};return s(null,this.nodes)},getTickedNodes:function(){var t=this;return this.innerTicked.map(function(e){return t.getNodeByKey(e)})},getExpandedNodes:function(){var t=this;return this.innerExpanded.map(function(e){return t.getNodeByKey(e)})},isExpanded:function(t){return!(!t||!this.meta[t])&&this.meta[t].expanded},collapseAll:function(){void 0!==this.expanded?this.$emit("update:expanded",[]):this.innerExpanded=[]},expandAll:function(){var t=this,e=this.innerExpanded,i=function(s){s.children&&s.children.length>0&&!1!==s.expandable&&!0!==s.disabled&&(e.push(s[t.nodeKey]),s.children.forEach(i))};this.nodes.forEach(i),void 0!==this.expanded?this.$emit("update:expanded",e):this.innerExpanded=e},setExpanded:function(t,e,i,s){var n=this;if(void 0===i&&(i=this.getNodeByKey(t)),void 0===s&&(s=this.meta[t]),s.lazy&&"loaded"!==s.lazy){if("loading"===s.lazy)return;this.$set(this.lazy,t,"loading"),this.$emit("lazy-load",{node:i,key:t,done:function(e){n.lazy[t]="loaded",e&&(i.children=e),n.$nextTick(function(){var e=n.meta[t];e&&e.isParent&&n.__setExpanded(t,!0)})},fail:function(){n.$delete(n.lazy,t)}})}else s.isParent&&s.expandable&&this.__setExpanded(t,e)},__setExpanded:function(t,e){var i=this,s=this.innerExpanded,n=void 0!==this.expanded;if(n&&(s=s.slice()),e){if(this.accordion&&this.meta[t]){var o=[];this.meta[t].parent?this.meta[t].parent.children.forEach(function(e){e.key!==t&&e.expandable&&o.push(e.key)}):this.nodes.forEach(function(e){var s=e[i.nodeKey];s!==t&&o.push(s)}),o.length>0&&(s=s.filter(function(t){return!o.includes(t)}))}s=s.concat([t]).filter(function(t,e,i){return i.indexOf(t)===e})}else s=s.filter(function(e){return e!==t});n?this.$emit("update:expanded",s):this.innerExpanded=s},isTicked:function(t){return!(!t||!this.meta[t])&&this.meta[t].ticked},setTicked:function(t,e){var i=this.innerTicked,s=void 0!==this.ticked;s&&(i=i.slice()),i=e?i.concat(t).filter(function(t,e,i){return i.indexOf(t)===e}):i.filter(function(e){return!t.includes(e)}),s&&this.$emit("update:ticked",i)},__getSlotScope:function(t,e,i){var s=this,n={tree:this,node:t,key:i,color:this.color,dark:this.dark};return Object.defineProperty(n,"expanded",{get:function(){return e.expanded},set:function(t){t!==e.expanded&&s.setExpanded(i,t)}}),Object.defineProperty(n,"ticked",{get:function(){return e.ticked},set:function(t){t!==e.ticked&&s.setTicked([i],t)}}),n},__getChildren:function(t,e){var i=this;return(this.filter?e.filter(function(t){return i.meta[t[i.nodeKey]].matchesFilter}):e).map(function(e){return i.__getNode(t,e)})},__getNodeMedia:function(t,e){return e.icon?t(QIcon,{staticClass:"q-tree-icon q-mr-sm",props:{name:e.icon,color:e.iconColor}}):e.img||e.avatar?t("img",{staticClass:"q-tree-img q-mr-sm",class:{avatar:e.avatar},attrs:{src:e.img||e.avatar}}):void 0},__getNode:function(t,e){var i=this,s=e[this.nodeKey],n=this.meta[s],o=e.header&&this.$scopedSlots["header-"+e.header]||this.$scopedSlots["default-header"],r=n.isParent?this.__getChildren(t,e.children):[],a=r.length>0||n.lazy&&"loaded"!==n.lazy,l=e.body&&this.$scopedSlots["body-"+e.body]||this.$scopedSlots["default-body"],c=o||l?this.__getSlotScope(e,n,s):null;return l&&(l=t("div",{staticClass:"q-tree-node-body relative-position"},[t("div",{class:this.contentClass},[l(c)])])),t("div",{key:s,staticClass:"q-tree-node",class:{"q-tree-node-parent":a,"q-tree-node-child":!a}},[t("div",{staticClass:"q-tree-node-header relative-position row no-wrap items-center",class:{"q-tree-node-link":n.link,"q-tree-node-selected":n.selected,disabled:n.disabled},on:{click:function(){i.__onClick(e,n)}},directives:null},["loading"===n.lazy?t(QSpinner,{staticClass:"q-tree-node-header-media q-mr-xs",props:{color:this.computedControlColor}}):a?t(QIcon,{staticClass:"q-tree-arrow q-mr-xs transition-generic",class:{"q-tree-arrow-rotate":n.expanded},props:{name:this.computedIcon},nativeOn:{click:function(t){i.__onExpandClick(e,n,t)}}}):null,t("span",{staticClass:"row no-wrap items-center",class:this.contentClass},[n.hasTicking&&!n.noTick?t(QCheckbox,{staticClass:"q-mr-xs",props:{value:n.indeterminate?null:n.ticked,color:this.computedControlColor,dark:this.dark,keepColor:!0,disable:!n.tickable},on:{input:function(t){i.__onTickedClick(e,n,t)}}}):null,o?o(c):[this.__getNodeMedia(t,e),t("span",e[this.labelKey])]])]),a?t(QSlideTransition,{props:{duration:this.duration}},[t("div",{directives:[{name:"show",value:n.expanded}],staticClass:"q-tree-node-collapsible",class:"text-"+this.color},[l,t("div",{staticClass:"q-tree-children",class:{disabled:n.disabled}},r)])]):l])},__onClick:function(t,e){this.hasSelection?e.selectable&&this.$emit("update:selected",e.key!==this.selected?e.key:null):this.__onExpandClick(t,e),"function"==typeof t.handler&&t.handler(t)},__onExpandClick:function(t,e,i){void 0!==i&&i.stopPropagation(),this.setExpanded(e.key,!e.expanded,t,e)},__onTickedClick:function(t,e,i){if(e.indeterminate&&i&&(i=!1),e.strictTicking)this.setTicked([e.key],i);else if(e.leafTicking){var s=[],n=function(t){t.isParent?(i||t.noTick||!t.tickable||s.push(t.key),t.leafTicking&&t.children.forEach(n)):t.noTick||!t.tickable||t.leafFilteredTicking&&!t.matchesFilter||s.push(t.key)};n(e),this.setTicked(s,i)}}},render:function(t){var e=this.__getChildren(t,this.nodes);return t("div",{staticClass:"q-tree relative-position",class:this.classes},0===e.length?this.filter?this.noResultsLabel||this.$q.i18n.tree.noResults:this.noNodesLabel||this.$q.i18n.tree.noNodes:e)},created:function(){this.defaultExpandAll&&this.expandAll()}};function initFile(t){t.__doneUploading=!1,t.__failed=!1,t.__uploaded=0,t.__progress=0}var QUploader={name:"QUploader",mixins:[FrameMixin],props:{name:{type:String,default:"file"},headers:Object,url:{type:String,required:!0},urlFactory:{type:Function,required:!1},uploadFactory:Function,additionalFields:{type:Array,default:function(){return[]}},noContentType:Boolean,method:{type:String,default:"POST"},filter:Function,extensions:String,multiple:Boolean,hideUploadButton:Boolean,hideUploadProgress:Boolean,noThumbnails:Boolean,autoExpand:Boolean,expandStyle:[Array,String,Object],expandClass:[Array,String,Object],withCredentials:Boolean,sendRaw:{type:Boolean,default:!1}},data:function(){return{queue:[],files:[],uploading:!1,uploadedSize:0,totalSize:0,xhrs:[],focused:!1,dnd:!1,expanded:!1}},computed:{queueLength:function(){return this.queue.length},hasExpandedContent:function(){return this.files.length>0},label:function(){var t=humanStorageSize(this.totalSize);return this.uploading?this.progress.toFixed(2)+"% ("+humanStorageSize(this.uploadedSize)+" / "+t+")":this.queueLength+" ("+t+")"},progress:function(){return this.totalSize?Math.min(99.99,this.uploadedSize/this.totalSize*100):0},addDisabled:function(){return this.disable||!this.multiple&&this.queueLength>=1},filesStyle:function(){if(this.maxHeight)return{maxHeight:this.maxHeight}},dndClass:function(){var t=["text-"+this.color];return this.isInverted&&t.push("inverted"),t},classes:function(){return{"q-uploader-expanded":this.expanded,"q-uploader-dark":this.dark,"q-uploader-files-no-border":this.isInverted||!this.hideUnderline}},progressColor:function(){return this.dark?"white":"grey"},computedExtensions:function(){if(this.extensions)return this.extensions.split(",").map(function(t){return(t=t.trim()).endsWith("/*")&&(t=t.slice(0,t.length-1)),t})}},watch:{hasExpandedContent:function(t){!1===t?this.expanded=!1:this.autoExpand&&(this.expanded=!0)}},methods:{add:function(t){t&&this.__add(null,t)},__onDragOver:function(t){stopAndPrevent(t),this.dnd=!0},__onDragLeave:function(t){stopAndPrevent(t),this.dnd=!1},__onDrop:function(t){stopAndPrevent(t),this.dnd=!1;var e=t.dataTransfer.files;0!==e.length&&(e=this.multiple?e:[e[0]],this.__add(null,e))},__filter:function(t){var e=this;return Array.prototype.filter.call(t,function(t){return e.computedExtensions.some(function(e){return t.type.toUpperCase().startsWith(e.toUpperCase())||t.name.toUpperCase().endsWith(e.toUpperCase())})})},__add:function(t,e){var i=this;if(!this.addDisabled&&(e=Array.prototype.slice.call(e||t.target.files),!this.extensions||0!==(e=this.__filter(e)).length)){this.$refs.file.value="";var s=[];e=e.filter(function(t){return!i.queue.some(function(e){return t.name===e.name})}),"function"==typeof this.filter&&(e=this.filter(e)),(e=e.map(function(t){if(initFile(t),t.__size=humanStorageSize(t.size),t.__timestamp=(new Date).getTime(),i.noThumbnails||!t.type.toUpperCase().startsWith("IMAGE"))i.queue.push(t);else{var e=new FileReader,n=new Promise(function(s,n){e.onload=function(e){var n=new Image;n.src=e.target.result,t.__img=n,i.queue.push(t),i.__computeTotalSize(),s(!0)},e.onerror=function(t){n(t)}});e.readAsDataURL(t),s.push(n)}return t})).length>0&&(this.files=this.files.concat(e),Promise.all(s).then(function(){i.$emit("add",e)}),this.__computeTotalSize())}},__computeTotalSize:function(){this.totalSize=this.queueLength?this.queue.map(function(t){return t.size}).reduce(function(t,e){return t+e}):0},__remove:function(t){var e=t.name,i=t.__doneUploading;this.uploading&&!i?(this.$emit("remove:abort",t,t.xhr),t.xhr&&t.xhr.abort(),this.uploadedSize-=t.__uploaded):this.$emit("remove:"+(i?"done":"cancel"),t,t.xhr),i||(this.queue=this.queue.filter(function(t){return t.name!==e})),t.__removed=!0,this.files=this.files.filter(function(t){return t.name!==e}),this.files.length||(this.uploading=!1),this.__computeTotalSize()},__pick:function(){!this.addDisabled&&this.$q.platform.is.mozilla&&this.$refs.file.click()},__getUploadPromise:function(t){var e=this;if(initFile(t),this.uploadFactory){var i=function(i){var s=i*t.size;e.uploadedSize+=s-t.__uploaded,t.__uploaded=s,t.__progress=Math.min(99,parseInt(100*i,10)),e.$forceUpdate()};return new Promise(function(s,n){e.uploadFactory(t,i).then(function(t){t.__doneUploading=!0,t.__progress=100,e.$emit("uploaded",t),e.$forceUpdate(),s(t)}).catch(function(i){t.__failed=!0,e.$emit("fail",t),e.$forceUpdate(),n(i)})})}var s=new FormData,n=new XMLHttpRequest;try{this.additionalFields.forEach(function(t){s.append(t.name,t.value)}),!0!==this.noContentType&&s.append("Content-Type",t.type||"application/octet-stream"),s.append(this.name,t)}catch(t){return}return t.xhr=n,new Promise(function(i,o){n.upload.addEventListener("progress",function(i){if(!t.__removed){i.percent=i.total?i.loaded/i.total:0;var s=i.percent*t.size;e.uploadedSize+=s-t.__uploaded,t.__uploaded=s,t.__progress=Math.min(99,parseInt(100*i.percent,10))}},!1),n.onreadystatechange=function(){n.readyState<4||(n.status&&n.status<400?(t.__doneUploading=!0,t.__progress=100,e.$emit("uploaded",t,n),i(t)):(t.__failed=!0,e.$emit("fail",t,n),o(n)))},n.onerror=function(){t.__failed=!0,e.$emit("fail",t,n),o(n)},(e.urlFactory?e.urlFactory(t):Promise.resolve(e.url)).then(function(i){n.open(e.method,i,!0),e.withCredentials&&(n.withCredentials=!0),e.headers&&Object.keys(e.headers).forEach(function(t){n.setRequestHeader(t,e.headers[t])}),e.xhrs.push(n),e.sendRaw?n.send(t):n.send(s)})})},pick:function(){this.addDisabled||this.$refs.file.click()},upload:function(){var t=this,e=this.queueLength;if(!this.disable&&0!==e){var i=0;this.uploadedSize=0,this.uploading=!0,this.xhrs=[],this.$emit("start");var s=function(){++i===e&&(t.uploading=!1,t.xhrs=[],t.queue=t.queue.filter(function(t){return!t.__doneUploading}),t.__computeTotalSize(),t.$emit("finish"))};this.queue.map(function(e){return t.__getUploadPromise(e)}).forEach(function(t){t.then(s).catch(s)})}},abort:function(){this.xhrs.forEach(function(t){t.abort()}),this.uploading=!1,this.$emit("abort")},reset:function(){this.abort(),this.files=[],this.queue=[],this.expanded=!1,this.__computeTotalSize(),this.$emit("reset")}},render:function(t){var e=this,i=[t("div",{staticClass:"col q-input-target ellipsis",class:this.alignClass},[this.label])];return this.uploading?i.push(this.$slots.loading?t("div",{slot:"after",staticClass:"q-if-end self-center q-if-control"},this.$slots.loading):t(QSpinner,{slot:"after",staticClass:"q-if-end self-center",props:{size:"24px"}}),t(QIcon,{slot:"after",staticClass:"q-if-end self-center q-if-control",props:{name:this.$q.icon.uploader["clear"+(this.isInverted?"Inverted":"")]},nativeOn:{click:this.abort}})):(i.push(t(QIcon,{slot:"after",staticClass:"q-uploader-pick-button self-center q-if-control relative-position overflow-hidden",props:{name:this.$q.icon.uploader.add},attrs:{disabled:this.addDisabled}},[t("input",{ref:"file",staticClass:"q-uploader-input absolute-full cursor-pointer",attrs:Object.assign({type:"file",accept:this.extensions},this.multiple?{multiple:!0}:{}),on:{change:this.__add}})])),this.hideUploadButton||i.push(t(QIcon,{slot:"after",staticClass:"q-if-control self-center",props:{name:this.$q.icon.uploader.upload},attrs:{disabled:0===this.queueLength},nativeOn:{click:this.upload}}))),this.hasExpandedContent&&i.push(t(QIcon,{slot:"after",staticClass:"q-if-control generic_transition self-center",class:{"rotate-180":this.expanded},props:{name:this.$q.icon.uploader.expand},nativeOn:{click:function(){e.expanded=!e.expanded}}})),t("div",{staticClass:"q-uploader relative-position",class:this.classes,on:{dragover:this.__onDragOver}},[t(QInputFrame,{ref:"input",props:{prefix:this.prefix,suffix:this.suffix,stackLabel:this.stackLabel,floatLabel:this.floatLabel,error:this.error,warning:this.warning,readonly:this.readonly,inverted:this.inverted,invertedLight:this.invertedLight,dark:this.dark,hideUnderline:this.hideUnderline,before:this.before,after:this.after,color:this.color,align:this.align,noParentField:this.noParentField,length:this.queueLength,additionalLength:!0}},i),t(QSlideTransition,[t("div",{class:this.expandClass,style:this.expandStyle,directives:[{name:"show",value:this.expanded}]},[t(QList,{staticClass:"q-uploader-files q-py-none scroll",style:this.filesStyle,props:{dark:this.dark}},this.files.map(function(i){return t(QItem,{key:i.name+i.__timestamp,staticClass:"q-uploader-file q-pa-xs"},[!e.hideUploadProgress&&t(QProgress,{staticClass:"q-uploader-progress-bg absolute-full",props:{color:i.__failed?"negative":e.progressColor,percentage:i.__progress,height:"100%"}})||void 0,!e.hideUploadProgress&&t("div",{staticClass:"q-uploader-progress-text absolute"},[i.__progress+"%"])||void 0,t(QItemSide,{props:i.__img?{image:i.__img.src}:{icon:e.$q.icon.uploader.file,color:e.color}}),t(QItemMain,{props:{label:i.name,sublabel:i.__size}}),t(QItemSide,{props:{right:!0}},[t(QItemTile,{staticClass:"cursor-pointer",props:{icon:e.$q.icon.uploader[i.__doneUploading?"done":"clear"],color:e.color},nativeOn:{click:function(){e.__remove(i)}}})])])}))])]),this.dnd&&t("div",{staticClass:"q-uploader-dnd flex row items-center justify-center absolute-full",class:this.dndClass,on:{dragenter:stopAndPrevent,dragover:stopAndPrevent,dragleave:this.__onDragLeave,drop:this.__onDrop}})||void 0])}},QVideo={name:"QVideo",props:{src:{type:String,required:!0}},computed:{iframeData:function(){return{attrs:{src:this.src,frameborder:"0",allowfullscreen:!0}}}},render:function(t){return t("div",{staticClass:"q-video"},[t("iframe",this.iframeData)])}},components$1=Object.freeze({QActionSheet:QActionSheet,QAjaxBar:QAjaxBar,QAlert:QAlert,QAutocomplete:QAutocomplete,QBreadcrumbs:QBreadcrumbs,QBreadcrumbsEl:QBreadcrumbsEl,QBtn:QBtn,QBtnGroup:QBtnGroup,QBtnDropdown:QBtnDropdown,QBtnToggle:QBtnToggle,QCard:QCard,QCardTitle:QCardTitle,QCardMain:QCardMain,QCardActions:QCardActions,QCardMedia:QCardMedia,QCardSeparator:QCardSeparator,QCarousel:QCarousel,QCarouselSlide:QCarouselSlide,QCarouselControl:QCarouselControl,QChatMessage:QChatMessage,QCheckbox:QCheckbox,QChip:QChip,QChipsInput:QChipsInput,QCollapsible:QCollapsible,QColor:QColor,QColorPicker:QColorPicker,QContextMenu:QContextMenu,QDatetime:QDatetime,QDatetimePicker:QDatetimePicker,QDialog:QDialog,QEditor:QEditor,QFab:QFab,QFabAction:QFabAction,QField:QField,QIcon:QIcon,QInfiniteScroll:QInfiniteScroll,QInnerLoading:QInnerLoading,QInput:QInput,QInputFrame:QInputFrame,QJumbotron:QJumbotron,QKnob:QKnob,QLayout:QLayout,QLayoutDrawer:QLayoutDrawer,QLayoutFooter:QLayoutFooter,QLayoutHeader:QLayoutHeader,QPage:QPage,QPageContainer:QPageContainer,QPageSticky:QPageSticky,QItem:QItem,QItemSeparator:QItemSeparator,QItemMain:QItemMain,QItemSide:QItemSide,QItemTile:QItemTile,QItemWrapper:QItemWrapper,QList:QList,QListHeader:QListHeader,QModal:QModal,QModalLayout:QModalLayout,QNoSsr:QNoSsr,QResizeObservable:QResizeObservable,QScrollObservable:QScrollObservable,QWindowResizeObservable:QWindowResizeObservable,QOptionGroup:QOptionGroup,QPagination:QPagination,QParallax:QParallax,QPopover:QPopover,QPopupEdit:QPopupEdit,QProgress:QProgress,QPullToRefresh:QPullToRefresh,QRadio:QRadio,QRange:QRange,QRating:QRating,QScrollArea:QScrollArea,QSearch:QSearch,QSelect:QSelect,QSlideTransition:QSlideTransition,QSlider:QSlider,QSpinner:QSpinner,QSpinnerAudio:QSpinnerAudio,QSpinnerBall:QSpinnerBall,QSpinnerBars:QSpinnerBars,QSpinnerCircles:QSpinnerCircles,QSpinnerComment:QSpinnerComment,QSpinnerCube:QSpinnerCube,QSpinnerDots:QSpinnerDots,QSpinnerFacebook:QSpinnerFacebook,QSpinnerGears:QSpinnerGears,QSpinnerGrid:QSpinnerGrid,QSpinnerHearts:QSpinnerHearts,QSpinnerHourglass:QSpinnerHourglass,QSpinnerInfinity:QSpinnerInfinity,QSpinnerIos:DefaultSpinner,QSpinnerMat:QSpinner_mat,QSpinnerOval:QSpinnerOval,QSpinnerPie:QSpinnerPie,QSpinnerPuff:QSpinnerPuff,QSpinnerRadio:QSpinnerRadio,QSpinnerRings:QSpinnerRings,QSpinnerTail:QSpinnerTail,QStep:QStep,QStepper:QStepper,QStepperNavigation:QStepperNavigation,QRouteTab:QRouteTab,QTab:QTab,QTabPane:QTabPane,QTabs:QTabs,QTable:QTable,QTh:QTh,QTr:QTr,QTd:QTd,QTableColumns:QTableColumns,QTimeline:QTimeline,QTimelineEntry:QTimelineEntry,QToggle:QToggle,QToolbar:QToolbar,QToolbarTitle:QToolbarTitle,QTooltip:QTooltip,QTree:QTree,QUploader:QUploader,QVideo:QVideo});function updateBinding(t,e){var i=e.value,s=(e.modifiers,t.__qbacktotop);if(i){if("number"==typeof i)return s.offset=i,void s.update();if(i&&Object(i)!==i)console.error("v-back-to-top requires an object {offset, duration} as parameter",t);else{if(i.offset){if("number"!=typeof i.offset)return void console.error("v-back-to-top requires a number as offset",t);s.offset=i.offset}if(i.duration){if("number"!=typeof i.duration)return void console.error("v-back-to-top requires a number as duration",t);s.duration=i.duration}s.update()}}else s.update()}var backToTop={name:"back-to-top",bind:function(t){var e={offset:200,duration:300,updateNow:function(){var i=getScrollPosition(e.scrollTarget)<=e.offset;i!==t.classList.contains("hidden")&&t.classList[i?"add":"remove"]("hidden")},goToTop:function(){setScrollPosition(e.scrollTarget,0,e.animate?e.duration:0)},goToTopKey:function(t){13===t.keyCode&&setScrollPosition(e.scrollTarget,0,e.animate?e.duration:0)}};e.update=debounce(e.updateNow,25),t.classList.add("hidden"),t.__qbacktotop=e},inserted:function(t,e){var i=t.__qbacktotop;i.scrollTarget=getScrollTarget(t),i.animate=e.modifiers.animate,updateBinding(t,e),i.scrollTarget.addEventListener("scroll",i.update,listenOpts.passive),window.addEventListener("resize",i.update,listenOpts.passive),t.addEventListener("click",i.goToTop),t.addEventListener("keyup",i.goToTopKey)},update:function(t,e){JSON.stringify(e.oldValue)!==JSON.stringify(e.value)?updateBinding(t,e):setTimeout(function(){t.__qbacktotop&&t.__qbacktotop.updateNow()},0)},unbind:function(t){var e=t.__qbacktotop;e&&(e.scrollTarget.removeEventListener("scroll",e.update,listenOpts.passive),window.removeEventListener("resize",e.update,listenOpts.passive),t.removeEventListener("click",e.goToTop),t.removeEventListener("keyup",e.goToTopKey),delete t.__qbacktotop)}},closeOverlay={name:"close-overlay",bind:function(t,e,i){var s=function(t){for(var e=i.componentInstance;e=e.$parent;){var s=e.$options.name;if("QPopover"===s||"QModal"===s){e.hide(t);break}}},n=function(t){13===t.keyCode&&s(t)};t.__qclose={handler:s,handlerKey:n},t.addEventListener("click",s),t.addEventListener("keyup",n)},unbind:function(t){var e=t.__qclose;e&&(t.removeEventListener("click",e.handler),t.removeEventListener("keyup",e.handlerKey),delete t.__qclose)}},goBack={name:"go-back",bind:function(t,e,i){var s=e.value,n=e.modifiers,o={value:s,position:window.history.length-1,single:n.single};Platform.is.cordova?o.goBack=function(){i.context.$router.go(o.single?-1:o.position-window.history.length)}:o.goBack=function(){i.context.$router.replace(o.value)},o.goBackKey=function(t){13===t.keyCode&&o.goBack(t)},t.__qgoback=o,t.addEventListener("click",o.goBack),t.addEventListener("keyup",o.goBackKey)},update:function(t,e){e.oldValue!==e.value&&(t.__qgoback.value=e.value)},unbind:function(t){var e=t.__qgoback;e&&(t.removeEventListener("click",e.goBack),t.removeEventListener("keyup",e.goBackKey),delete t.__qgoback)}};function updateBinding$1(t,e){var i=t.__qscrollfire;if("function"!=typeof e.value)return i.scrollTarget.removeEventListener("scroll",i.scroll),void console.error("v-scroll-fire requires a function as parameter",t);i.handler=e.value,"function"!=typeof e.oldValue&&(i.scrollTarget.addEventListener("scroll",i.scroll,listenOpts.passive),i.scroll())}var scrollFire={name:"scroll-fire",bind:function(t,e){var i={scroll:debounce(function(){var e,s;i.scrollTarget===window?(s=t.getBoundingClientRect().bottom,e=window.innerHeight):(s=offset(t).top+height(t),e=offset(i.scrollTarget).top+height(i.scrollTarget)),s>0&&s0&&(["meta","link","script"].forEach(function(t){i[t].forEach(function(e){document.head.querySelector(t+'[data-qmeta="'+e+'"]').remove()})}),i.htmlAttr.filter(htmlFilter).forEach(function(t){document.documentElement.removeAttribute(t)}),i.bodyAttr.filter(bodyFilter).forEach(function(t){document.body.removeAttribute(t)})),["meta","link","script"].forEach(function(t){var i=e[t];for(var s in i){var n=document.createElement(t);for(var o in i[s])"innerHTML"!==o&&n.setAttribute(o,i[s][o]);n.setAttribute("data-qmeta",s),"script"===t&&(n.innerHTML=i[s].innerHTML||""),document.head.appendChild(n)}}),Object.keys(e.htmlAttr).filter(htmlFilter).forEach(function(t){document.documentElement.setAttribute(t,e.htmlAttr[t]||"")}),Object.keys(e.bodyAttr).filter(bodyFilter).forEach(function(t){document.body.setAttribute(t,e.bodyAttr[t]||"")})}function parseMeta(t,e){if(!t._inactive){var i=t.$options.meta;i&&(extend(!0,e,t.__qMeta),i.stopPropagation)||t.$children&&t.$children.forEach(function(t){parseMeta(t,e)})}}function updateClient(){if(ssrTakeover)return ssrTakeover=!1,this.$root.__currentMeta=window.__Q_META__,void document.body.querySelector("script[data-qmeta-init]").remove();var t={title:"",titleTemplate:null,meta:{},link:{},script:{},htmlAttr:{},bodyAttr:{}};parseMeta(this.$root,t),normalize(t),apply(diff(this.$root.__currentMeta,t)),this.$root.__currentMeta=t}function getAttr(t){return function(e){var i=t[e];return e+(void 0!==i?'="'+i+'"':"")}}function getHead(t){var e="";return t.title&&(e+=""+t.title+""),["meta","link","script"].forEach(function(i){var s=t[i];for(var n in s){var o=Object.keys(s[n]).filter(function(t){return"innerHTML"!==t}).map(getAttr(s[n]));e+="<"+i+" "+o.join(" ")+' data-qmeta="'+n+'">',"script"===i&&(e+=(s[n].innerHTML||"")+"<\/script>")}}),e}function getServerMeta(t,e){var i={title:"",titleTemplate:null,meta:{},link:{},htmlAttr:{},bodyAttr:{},noscript:{}};parseMeta(t,i),normalize(i);var s={"%%Q_HTML_ATTRS%%":Object.keys(i.htmlAttr).filter(htmlFilter).map(getAttr(i.htmlAttr)).join(" "),"%%Q_HEAD_TAGS%%":getHead(i),"%%Q_BODY_ATTRS%%":Object.keys(i.bodyAttr).filter(bodyFilter).map(getAttr(i.bodyAttr)).join(" "),"%%Q_BODY_TAGS%%":Object.keys(i.noscript).map(function(t){return'"}).join("")+""; + } + } + }); + return output + } + + function getServerMeta (app, html) { + var meta = { + title: '', + titleTemplate: null, + meta: {}, + link: {}, + htmlAttr: {}, + bodyAttr: {}, + noscript: {} + }; + + parseMeta(app, meta); + normalize(meta); + + var tokens = { + '%%Q_HTML_ATTRS%%': Object.keys(meta.htmlAttr) + .filter(htmlFilter) + .map(getAttr(meta.htmlAttr)) + .join(' '), + '%%Q_HEAD_TAGS%%': getHead(meta), + '%%Q_BODY_ATTRS%%': Object.keys(meta.bodyAttr) + .filter(bodyFilter) + .map(getAttr(meta.bodyAttr)) + .join(' '), + '%%Q_BODY_TAGS%%': Object.keys(meta.noscript) + .map(function (name) { return (""); }) + .join('') + + "" + }; + + Object.keys(tokens).forEach(function (key) { + html = html.replace(key, tokens[key]); + }); + + return html + } + + function beforeCreate () { + if (this.$options.meta) { + if (typeof this.$options.meta === 'function') { + if (!this.$options.computed) { + this.$options.computed = {}; + } + this.$options.computed.__qMeta = this.$options.meta; + } + else { + this.__qMeta = this.$options.meta; + } + } + } + + function triggerMeta () { + this.$options.meta && this.__qMetaUpdate(); + } + + var meta = { + install: function install (ref) { + var queues = ref.queues; + var Vue$$1 = ref.Vue; + + if (isSSR) { + Vue$$1.prototype.$getMetaHTML = function (app) { return function (html) { return getServerMeta(app, html); }; }; + Vue$$1.mixin({ beforeCreate: beforeCreate }); + + queues.server.push(function (q, ctx) { + ctx.ssr.Q_HTML_ATTRS += ' %%Q_HTML_ATTRS%%'; + Object.assign(ctx.ssr, { + Q_HEAD_TAGS: '%%Q_HEAD_TAGS%%', + Q_BODY_ATTRS: '%%Q_BODY_ATTRS%%', + Q_BODY_TAGS: '%%Q_BODY_TAGS%%' + }); + }); + } + else { + ssrTakeover = fromSSR; + + Vue$$1.mixin({ + beforeCreate: beforeCreate, + created: function created () { + if (this.$options.meta) { + this.__qMetaUnwatch = this.$watch('__qMeta', this.__qMetaUpdate); + } + }, + activated: triggerMeta, + deactivated: triggerMeta, + beforeMount: triggerMeta, + destroyed: function destroyed () { + if (this.$options.meta) { + this.__qMetaUnwatch(); + this.__qMetaUpdate(); + } + }, + methods: { + __qMetaUpdate: function __qMetaUpdate () { + clearTimeout(updateId); + updateId = setTimeout(updateClient.bind(this), 50); + } + } + }); + } + } + }; + + var defaults$1 = {}; + + var positionList = [ + 'top-left', 'top-right', + 'bottom-left', 'bottom-right', + 'top', 'bottom', 'left', 'right', 'center' + ]; + + function init (ref) { + var Vue$$1 = ref.Vue; + + var node = document.createElement('div'); + document.body.appendChild(node); + + this.__vm = new Vue$$1({ + name: 'QNotifications', + data: { + notifs: { + center: [], + left: [], + right: [], + top: [], + 'top-left': [], + 'top-right': [], + bottom: [], + 'bottom-left': [], + 'bottom-right': [] + } + }, + methods: { + add: function add (config) { + var this$1 = this; + + if (!config) { + console.error('Notify: parameter required'); + return false + } + + var notif = Object.assign( + {}, + defaults$1, + typeof config === 'string' + ? { message: config } + : clone(config) + ); + + if (notif.position) { + if (!positionList.includes(notif.position)) { + console.error(("Notify: wrong position: " + (notif.position))); + return false + } + } + else { + notif.position = 'bottom'; + } + + notif.__uid = uid(); + + if (notif.timeout === void 0) { + notif.timeout = 5000; + } + else { + var t = parseInt(notif.timeout, 10); + if (isNaN(t) || t < 0) { + console.error(("Notify: wrong timeout: " + (notif.timeout))); + return false + } + notif.timeout = t; + } + + var close = function () { + this$1.remove(notif); + }; + + if (config.actions) { + notif.actions = config.actions.map(function (item) { + var + handler = item.handler, + action = clone(item); + + action.handler = typeof handler === 'function' + ? function () { + handler(); + !item.noDismiss && close(); + } + : function () { return close(); }; + + return action + }); + } + + if (typeof config.onDismiss === 'function') { + notif.onDismiss = config.onDismiss; + } + + if (notif.closeBtn) { + var btn = [{ + closeBtn: true, + label: notif.closeBtn, + handler: close + }]; + notif.actions = notif.actions + ? notif.actions.concat(btn) + : btn; + } + + if (notif.timeout > 0) { + notif.__timeout = setTimeout(function () { + close(); + }, notif.timeout + /* show duration */ 1000); + } + + var action = notif.position.indexOf('top') > -1 ? 'unshift' : 'push'; + this.notifs[notif.position][action](notif); + + return close + }, + remove: function remove (notif) { + if (notif.__timeout) { clearTimeout(notif.__timeout); } + + var index = this.notifs[notif.position].indexOf(notif); + if (index !== -1) { + var ref = this.$refs[("notif_" + (notif.__uid))]; + if (ref && ref.$el) { + var el = ref.$el; + el.style.left = (el.offsetLeft) + "px"; + el.style.width = getComputedStyle(el).width; + } + this.notifs[notif.position].splice(index, 1); + if (typeof notif.onDismiss === 'function') { + notif.onDismiss(); + } + } + } + }, + render: function render (h) { + var this$1 = this; + + return h('div', { staticClass: 'q-notifications' }, positionList.map(function (pos) { + var + vert = ['left', 'center', 'right'].includes(pos) ? 'center' : (pos.indexOf('top') > -1 ? 'top' : 'bottom'), + align = pos.indexOf('left') > -1 ? 'start' : (pos.indexOf('right') > -1 ? 'end' : 'center'), + classes = ['left', 'right'].includes(pos) ? ("items-" + (pos === 'left' ? 'start' : 'end') + " justify-center") : (pos === 'center' ? 'flex-center' : ("items-" + align)); + + return h('transition-group', { + key: pos, + staticClass: ("q-notification-list q-notification-list-" + vert + " fixed column " + classes), + tag: 'div', + props: { + name: ("q-notification-" + pos), + mode: 'out-in' + } + }, this$1.notifs[pos].map(function (notif) { + return h(QAlert, { + ref: ("notif_" + (notif.__uid)), + key: notif.__uid, + staticClass: 'q-notification', + props: notif + }, [ notif.message ]) + })) + })) + } + }); + + this.__vm.$mount(node); + } + + var notify = { + create: function create (opts) { + if (isSSR) { return function () {} } + return this.__vm.add(opts) + }, + setDefaults: function setDefaults (opts) { + Object.assign(defaults$1, opts); + }, + + install: function install (args) { + if (isSSR) { + args.$q.notify = function () {}; + args.$q.notify.setDefaults = function () {}; + return + } + + init.call(this, args); + + args.cfg.notify && this.setDefaults(args.cfg.notify); + + args.$q.notify = this.create.bind(this); + args.$q.notify.setDefaults = this.setDefaults; + } + }; + + var SIZE_LIST = ['sm', 'md', 'lg', 'xl']; + + var screen = { + width: 0, + + sizes: { + sm: 576, + md: 768, + lg: 992, + xl: 1200 + }, + + lt: { + sm: true, + md: true, + lg: true, + xl: true + }, + gt: {}, + xs: true, + + setSizes: function setSizes () {}, + setDebounce: function setDebounce () {}, + + install: function install (ref) { + var this$1 = this; + var $q = ref.$q; + var queues = ref.queues; + var Vue$$1 = ref.Vue; + + if (isSSR) { + $q.screen = this; + return + } + + var update = function (resized) { + var + w = window.innerWidth, + s = this$1.sizes; + + if (resized && w === this$1.width) { + return + } + + this$1.width = w; + + this$1.gt.xs = w >= s.sm; + this$1.gt.sm = w >= s.md; + this$1.gt.md = w >= s.lg; + this$1.gt.lg = w >= s.xl; + this$1.lt.sm = w < s.sm; + this$1.lt.md = w < s.md; + this$1.lt.lg = w < s.lg; + this$1.lt.xl = w < s.xl; + this$1.xs = this$1.lt.sm; + this$1.sm = this$1.gt.xs && this$1.lt.md; + this$1.md = this$1.gt.sm && this$1.lt.lg; + this$1.lg = this$1.gt.md && this$1.lt.xl; + this$1.xl = w > s.xl; + }; + + var updateEvt, updateSizes = {}, updateDebounce; + + this.setSizes = function (sizes) { + SIZE_LIST.forEach(function (name) { + if (sizes[name]) { + updateSizes[name] = sizes[name]; + } + }); + }; + this.setDebounce = function (deb) { + updateDebounce = deb; + }; + + var start = function () { + var style = getComputedStyle(document.body); + + // if css props available + if (style.getPropertyValue('--q-size-sm')) { + SIZE_LIST.forEach(function (name) { + this$1.sizes[name] = parseInt(style.getPropertyValue(("--q-size-" + name)), 10); + }); + } + + this$1.setSizes = function (sizes) { + SIZE_LIST.forEach(function (name) { + if (sizes[name]) { + this$1.sizes[name] = sizes[name]; + } + }); + update(); + }; + this$1.setDebounce = function (delay) { + var fn = function () { update(true); }; + updateEvt && window.removeEventListener('resize', updateEvt, listenOpts.passive); + updateEvt = delay > 0 + ? debounce(fn, delay) + : fn; + window.addEventListener('resize', updateEvt, listenOpts.passive); + }; + + this$1.setDebounce(updateDebounce || 100); + + if (Object.keys(updateSizes).length > 0) { + this$1.setSizes(updateSizes); + updateSizes = null; + } + else { + update(); + } + }; + + if (fromSSR) { + queues.takeover.push(start); + } + else { + start(); + } + + Vue$$1.util.defineReactive($q, 'screen', this); + } + }; + + function encode$1 (value) { + if (Object.prototype.toString.call(value) === '[object Date]') { + return '__q_date|' + value.toUTCString() + } + if (Object.prototype.toString.call(value) === '[object RegExp]') { + return '__q_expr|' + value.source + } + if (typeof value === 'number') { + return '__q_numb|' + value + } + if (typeof value === 'boolean') { + return '__q_bool|' + (value ? '1' : '0') + } + if (typeof value === 'string') { + return '__q_strn|' + value + } + if (typeof value === 'function') { + return '__q_strn|' + value.toString() + } + if (value === Object(value)) { + return '__q_objt|' + JSON.stringify(value) + } + + // hmm, we don't know what to do with it, + // so just return it as is + return value + } + + function decode$1 (value) { + var type, length, source; + + length = value.length; + if (length < 9) { + // then it wasn't encoded by us + return value + } + + type = value.substr(0, 8); + source = value.substring(9); + + switch (type) { + case '__q_date': + return new Date(source) + + case '__q_expr': + return new RegExp(source) + + case '__q_numb': + return Number(source) + + case '__q_bool': + return Boolean(source === '1') + + case '__q_strn': + return '' + source + + case '__q_objt': + return JSON.parse(source) + + default: + // hmm, we reached here, we don't know the type, + // then it means it wasn't encoded by us, so just + // return whatever value it is + return value + } + } + + function getEmptyStorage () { + var fn = function () {}; + + return { + has: fn, + get: { + length: fn, + item: fn, + index: fn, + all: fn + }, + set: fn, + remove: fn, + clear: fn, + isEmpty: fn + } + } + + function getStorage (type) { + var + webStorage = window[type + 'Storage'], + get = function (key) { + var item = webStorage.getItem(key); + return item + ? decode$1(item) + : null + }; + + return { + has: function (key) { return webStorage.getItem(key) !== null; }, + get: { + length: function () { return webStorage.length; }, + item: get, + index: function (index) { + if (index < webStorage.length) { + return get(webStorage.key(index)) + } + }, + all: function () { + var result = {}, key, len = webStorage.length; + + for (var i = 0; i < len; i++) { + key = webStorage.key(i); + result[key] = get(key); + } + + return result + } + }, + set: function (key, value) { webStorage.setItem(key, encode$1(value)); }, + remove: function (key) { webStorage.removeItem(key); }, + clear: function () { webStorage.clear(); }, + isEmpty: function () { return webStorage.length === 0; } + } + } + + var localStorage = { + install: function install (ref) { + var $q = ref.$q; + + var storage = isSSR || !hasWebStorage + ? getEmptyStorage() + : getStorage('local'); + + $q.localStorage = storage; + Object.assign(this, storage); + } + }; + + var sessionStorage = { + install: function install (ref) { + var $q = ref.$q; + + var storage = isSSR || !hasWebStorage + ? getEmptyStorage() + : getStorage('session'); + + $q.sessionStorage = storage; + Object.assign(this, storage); + } + }; + + + + var plugins = /*#__PURE__*/Object.freeze({ + ActionSheet: actionSheet, + AddressbarColor: addressbarColor, + AppFullscreen: appFullscreen, + AppVisibility: appVisibility, + Cookies: cookies, + Dialog: dialog, + LoadingBar: loadingBar, + Loading: loading, + Meta: meta, + Notify: notify, + Platform: Platform, + Screen: screen, + LocalStorage: localStorage, + SessionStorage: sessionStorage + }); + + function openUrl (url, reject) { + if (Platform.is.cordova && navigator && navigator.app) { + return navigator.app.loadUrl(url, { + openExternal: true + }) + } + + var win = window.open(url, '_blank'); + + if (win) { + win.focus(); + return win + } + else { + reject && reject(); + } + } + + function noop () {} + + var utils = /*#__PURE__*/Object.freeze({ + animate: animate, + clone: clone, + colors: colors, + date: date, + debounce: debounce, + dom: dom, + easing: easing, + event: event, + extend: extend, + filter: filter, + format: format, + frameDebounce: frameDebounce, + noop: noop, + openURL: openUrl, + scroll: scroll, + throttle: throttle, + uid: uid + }); + + if (Vue === void 0) { + console.error('[ Quasar ] Vue is required to run. Please add a script tag for it before loading Quasar.'); + } + else { + Vue.use({ install: install }, { + components: components$1, + directives: directives, + plugins: plugins, + config: typeof window !== 'undefined' + ? (window.quasarConfig || {}) + : {} + }); + } + + var index_umd = { + version: version, + theme: 'ios', + + i18n: i18n, + icons: Icons, + components: components$1, + directives: directives, + plugins: plugins, + utils: utils + }; + + return index_umd; + +}))); diff --git a/node_modules/quasar-framework/dist/umd/quasar.ios.umd.min.js b/node_modules/quasar-framework/dist/umd/quasar.ios.umd.min.js new file mode 100644 index 0000000..03d8221 --- /dev/null +++ b/node_modules/quasar-framework/dist/umd/quasar.ios.umd.min.js @@ -0,0 +1,6 @@ +/*! + * Quasar Framework v0.17.20 + * (c) 2016-present Razvan Stoenescu + * Released under the MIT License. + */ +!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("vue")):"function"==typeof define&&define.amd?define(["vue"],e):t.Quasar=e(t.Vue)}(this,function(t){"use strict";t=t&&t.hasOwnProperty("default")?t.default:t;var e,i="undefined"==typeof window,s=!1,n=i;function o(t){var e=function(t,e){var i=/(edge)\/([\w.]+)/.exec(t)||/(opr)[\/]([\w.]+)/.exec(t)||/(vivaldi)[\/]([\w.]+)/.exec(t)||/(chrome)[\/]([\w.]+)/.exec(t)||/(iemobile)[\/]([\w.]+)/.exec(t)||/(version)(applewebkit)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(t)||/(webkit)[\/]([\w.]+).*(version)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(t)||/(webkit)[\/]([\w.]+)/.exec(t)||/(opera)(?:.*version|)[\/]([\w.]+)/.exec(t)||/(msie) ([\w.]+)/.exec(t)||t.indexOf("trident")>=0&&/(rv)(?::| )([\w.]+)/.exec(t)||t.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(t)||[];return{browser:i[5]||i[3]||i[1]||"",version:i[2]||i[4]||"0",versionNumber:i[4]||i[2]||"0",platform:e[0]||""}}(t=(t||navigator.userAgent||navigator.vendor||window.opera).toLowerCase(),function(t){return/(ipad)/.exec(t)||/(ipod)/.exec(t)||/(windows phone)/.exec(t)||/(iphone)/.exec(t)||/(kindle)/.exec(t)||/(silk)/.exec(t)||/(android)/.exec(t)||/(win)/.exec(t)||/(mac)/.exec(t)||/(linux)/.exec(t)||/(cros)/.exec(t)||/(playbook)/.exec(t)||/(bb)/.exec(t)||/(blackberry)/.exec(t)||[]}(t)),o={};return e.browser&&(o[e.browser]=!0,o.version=e.version,o.versionNumber=parseInt(e.versionNumber,10)),e.platform&&(o[e.platform]=!0),(o.android||o.bb||o.blackberry||o.ipad||o.iphone||o.ipod||o.kindle||o.playbook||o.silk||o["windows phone"])&&(o.mobile=!0),(o.ipod||o.ipad||o.iphone)&&(o.ios=!0),o["windows phone"]&&(o.winphone=!0,delete o["windows phone"]),(o.cros||o.mac||o.linux||o.win)&&(o.desktop=!0),(o.chrome||o.opr||o.safari||o.vivaldi)&&(o.webkit=!0),(o.rv||o.iemobile)&&(e.browser="ie",o.ie=!0),o.edge&&(e.browser="edge",o.edge=!0),(o.safari&&o.blackberry||o.bb)&&(e.browser="blackberry",o.blackberry=!0),o.safari&&o.playbook&&(e.browser="playbook",o.playbook=!0),o.opr&&(e.browser="opera",o.opera=!0),o.safari&&o.android&&(e.browser="android",o.android=!0),o.safari&&o.kindle&&(e.browser="kindle",o.kindle=!0),o.safari&&o.silk&&(e.browser="silk",o.silk=!0),o.vivaldi&&(e.browser="vivaldi",o.vivaldi=!0),o.name=e.browser,o.platform=e.platform,i||(window.process&&window.process.versions&&window.process.versions.electron?o.electron=!0:0===document.location.href.indexOf("chrome-extension://")?o.chromeExt=!0:(window._cordovaNative||window.cordova)&&(o.cordova=!0),(s=void 0===o.cordova&&void 0===o.electron&&!!document.querySelector("[data-server-rendered]"))&&(n=!0)),o}function r(){if(void 0!==e)return e;try{if(window.localStorage)return e=!0,!0}catch(t){}return e=!1,!1}function a(){return{has:{touch:!!("ontouchstart"in document.documentElement)||window.navigator.msMaxTouchPoints>0,webStorage:r()},within:{iframe:window.self!==window.top}}}var l={has:{touch:!1,webStorage:!1},within:{iframe:!1},parseSSR:function(t){return t?{is:o(t.req.headers["user-agent"]),has:this.has,within:this.within}:Object.assign({},{is:o()},a())},install:function(t,e,r){var l=this;i?e.server.push(function(t,e){t.platform=l.parseSSR(e.ssr)}):(this.is=o(),s?(e.takeover.push(function(t){n=s=!1,Object.assign(t.platform,a())}),r.util.defineReactive(t,"platform",this)):(Object.assign(this,a()),t.platform=this))}};Object.assign||Object.defineProperty(Object,"assign",{enumerable:!1,configurable:!0,writable:!0,value:function(t,e){var i=arguments;if(void 0===t||null===t)throw new TypeError("Cannot convert first argument to object");for(var s=Object(t),n=1;n=0?n=r:(n=s+r)<0&&(n=0);ni.length)&&(e=i.length),e-=t.length;var s=i.indexOf(t,e);return-1!==s&&s===e}),i||("function"!=typeof Element.prototype.matches&&(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.webkitMatchesSelector||function(t){for(var e=(this.document||this.ownerDocument).querySelectorAll(t),i=0;e[i]&&e[i]!==this;)++i;return Boolean(e[i])}),"function"!=typeof Element.prototype.closest&&(Element.prototype.closest=function(t){for(var e=this;e&&1===e.nodeType;){if(e.matches(t))return e;e=e.parentNode}return null}),[Element.prototype,CharacterData.prototype,DocumentType.prototype].forEach(function(t){t.hasOwnProperty("remove")||Object.defineProperty(t,"remove",{configurable:!0,enumerable:!0,writable:!0,value:function(){null!==this.parentNode&&this.parentNode.removeChild(this)}})})),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(t){if(null==this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!=typeof t)throw new TypeError("predicate must be a function");for(var e,i=Object(this),s=i.length>>>0,n=arguments[1],o=0;o=0&&s.__history.splice(e,1)};var n=void 0===e.cordova||!1!==e.cordova.backButtonExit;document.addEventListener("deviceready",function(){document.addEventListener("backbutton",function(){s.__history.length?s.__history.pop().handler():n&&"#/"===window.location.hash?navigator.app.exitApp():window.history.back()},!1)})}}},h={lang:"en-us",label:{clear:"Clear",ok:"OK",cancel:"Cancel",close:"Close",set:"Set",select:"Select",reset:"Reset",remove:"Remove",update:"Update",create:"Create",search:"Search",filter:"Filter",refresh:"Refresh"},date:{days:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),daysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),firstDayOfWeek:0,format24h:!1},pullToRefresh:{pull:"Pull down to refresh",release:"Release to refresh",refresh:"Refreshing..."},table:{noData:"No data available",noResults:"No matching records found",loading:"Loading...",selectedRecords:function(t){return 1===t?"1 record selected.":(0===t?"No":t)+" records selected."},recordsPerPage:"Records per page:",allRows:"All",pagination:function(t,e,i){return t+"-"+e+" of "+i},columns:"Columns"},editor:{url:"URL",bold:"Bold",italic:"Italic",strikethrough:"Strikethrough",underline:"Underline",unorderedList:"Unordered List",orderedList:"Ordered List",subscript:"Subscript",superscript:"Superscript",hyperlink:"Hyperlink",toggleFullscreen:"Toggle Fullscreen",quote:"Quote",left:"Left align",center:"Center align",right:"Right align",justify:"Justify align",print:"Print",outdent:"Decrease indentation",indent:"Increase indentation",removeFormat:"Remove formatting",formatting:"Formatting",fontSize:"Font Size",align:"Align",hr:"Insert Horizontal Rule",undo:"Undo",redo:"Redo",header1:"Header 1",header2:"Header 2",header3:"Header 3",header4:"Header 4",header5:"Header 5",header6:"Header 6",paragraph:"Paragraph",code:"Code",size1:"Very small",size2:"A bit small",size3:"Normal",size4:"Medium-large",size5:"Big",size6:"Very big",size7:"Maximum",defaultFont:"Default Font"},tree:{noNodes:"No nodes available",noResults:"No matching nodes found"}},u={install:function(t,e,s,n){var o=this;i&&e.server.push(function(t,e){var i={lang:t.i18n.lang,dir:t.i18n.rtl?"rtl":"ltr"},s=e.ssr.setHtmlAttrs;"function"==typeof s?s(i):e.ssr.Q_HTML_ATTRS=Object.keys(i).map(function(t){return t+"="+i[t]}).join(" ")}),this.set=function(e){if(void 0===e&&(e=h),e.set=o.set,e.getLocale=o.getLocale,e.rtl=e.rtl||!1,!i){var n=document.documentElement;n.setAttribute("dir",e.rtl?"rtl":"ltr"),n.setAttribute("lang",e.lang)}i||t.i18n?t.i18n=e:s.util.defineReactive(t,"i18n",e),o.name=e.lang,o.lang=e},this.set(n)},getLocale:function(){if(!i){var t=navigator.language||navigator.languages[0]||navigator.browserLanguage||navigator.userLanguage||navigator.systemLanguage;return t?t.toLowerCase():void 0}}};function d(t){var e=t.r,i=t.g,s=t.b,n=t.a,o=void 0!==n;if(e=Math.round(e),i=Math.round(i),s=Math.round(s),e>255||i>255||s>255||o&&n>100)throw new TypeError("Expected 3 numbers below 256 (and optionally one below 100)");return n=o?(256|Math.round(255*n/100)).toString(16).slice(1):"","#"+(s|i<<8|e<<16|1<<24).toString(16).slice(1)+n}function p(t){if("string"!=typeof t)throw new TypeError("Expected a string");3===(t=t.replace(/^#/,"")).length?t=t[0]+t[0]+t[1]+t[1]+t[2]+t[2]:4===t.length&&(t=t[0]+t[0]+t[1]+t[1]+t[2]+t[2]+t[3]+t[3]);var e=parseInt(t,16);return t.length>6?{r:e>>24&255,g:e>>16&255,b:e>>8&255,a:Math.round((255&e)/2.55)}:{r:e>>16,g:e>>8&255,b:255&e}}function f(t){var e,i,s,n,o,r,a,l,c=t.h,h=t.s,u=t.v,d=t.a;switch(r=(u/=100)*(1-(h/=100)),a=u*(1-(o=6*(c/=360)-(n=Math.floor(6*c)))*h),l=u*(1-(1-o)*h),n%6){case 0:e=u,i=l,s=r;break;case 1:e=a,i=u,s=r;break;case 2:e=r,i=u,s=l;break;case 3:e=r,i=a,s=u;break;case 4:e=l,i=r,s=u;break;case 5:e=u,i=r,s=a}return{r:Math.round(255*e),g:Math.round(255*i),b:Math.round(255*s),a:d}}function m(t){var e,i=t.r,s=t.g,n=t.b,o=t.a,r=Math.max(i,s,n),a=Math.min(i,s,n),l=r-a,c=0===r?0:l/r,h=r/255;switch(r){case a:e=0;break;case i:e=s-n+l*(st.clientHeight&&(t.classList.contains("scroll")||t.classList.contains("overflow-auto")||["auto","scroll"].includes(window.getComputedStyle(t)["overflow-y"])):t.scrollWidth>t.clientWidth&&(t.classList.contains("scroll")||t.classList.contains("overflow-auto")||["auto","scroll"].includes(window.getComputedStyle(t)["overflow-x"])))}var st={getScrollTarget:J,getScrollHeight:function(t){return(t===window?document.body:t).scrollHeight},getScrollPosition:X,animScrollTo:G,setScrollPosition:tt,getScrollbarWidth:et,hasScrollbar:it},nt=0;function ot(t){(function(t){if(t.target===document.body||t.target.classList.contains("q-layout-backdrop"))return!0;for(var e=z(t),i=t.shiftKey&&!t.deltaX,s=!i&&Math.abs(t.deltaX)<=Math.abs(t.deltaY),n=i||s?t.deltaY:t.deltaX,o=0;o0&&r.scrollTop+r.clientHeight===r.scrollHeight:n<0&&0===r.scrollLeft||n>0&&r.scrollLeft+r.clientWidth===r.scrollWidth}return!0})(t)&&H(t)}function rt(t){if(!((nt+=t?1:-1)>1)){var e=t?"add":"remove";l.is.mobile?document.body.classList[e]("q-body-prevent-scroll"):l.is.desktop&&window[e+"EventListener"]("wheel",ot)}}var at={top:"items-start justify-center with-backdrop",bottom:"items-end justify-center with-backdrop",right:"items-center justify-end with-backdrop",left:"items-center justify-start with-backdrop"},lt={maxHeight:"80vh",height:"auto",boxShadow:"none"};var ct={responsive:0,maximized:0},ht={name:"QModal",mixins:[L],provide:function(){var t=this;return{__qmodal:{register:function(e){t.layout!==e&&(t.layout=e)},unregister:function(e){t.layout===e&&(t.layout=null)}}}},props:{position:{type:String,default:"",validator:function(t){return""===t||["top","bottom","left","right"].includes(t)}},transition:String,enterClass:String,leaveClass:String,positionClasses:{type:String,default:"flex-center"},contentClasses:[Object,Array,String],contentCss:[Object,Array,String],noBackdropDismiss:{type:Boolean,default:!1},noEscDismiss:{type:Boolean,default:!1},noRouteDismiss:Boolean,noRefocus:Boolean,minimized:Boolean,maximized:Boolean},data:function(){return{layout:null}},watch:{$route:function(){this.noRouteDismiss||this.hide()},maximized:function(t,e){this.__register(!1,e),this.__register(!0,t)},minimized:function(t,e){this.__register(!1,this.maximized,e),this.__register(!0,this.maximized,t)}},computed:{modalClasses:function(){var t=this.position?at[this.position]:this.positionClasses;return this.maximized?["maximized",t]:this.minimized?["minimized",t]:t},contentClassesCalc:function(){return this.layout?[this.contentClasses,"column no-wrap"]:this.contentClasses},transitionProps:function(){return this.position?{name:"q-modal-"+this.position}:this.enterClass||this.leaveClass?{enterActiveClass:this.enterClass,leaveActiveClass:this.leaveClass}:{name:this.transition||"q-modal"}},modalCss:function(){if(this.position){var t=Array.isArray(this.contentCss)?this.contentCss:[this.contentCss];return t.unshift(Object.assign({},lt,function(t){var e={};return["left","right"].includes(t)&&(e.maxWidth="90vw"),["left","top"].includes(t)&&(e.borderTopLeftRadius=0),["right","top"].includes(t)&&(e.borderTopRightRadius=0),["left","bottom"].includes(t)&&(e.borderBottomLeftRadius=0),["right","bottom"].includes(t)&&(e.borderBottomRightRadius=0),e}(this.position))),t}return this.contentCss}},methods:{__dismiss:function(){var t=this;this.noBackdropDismiss?this.__shake():this.hide().then(function(){t.$emit("dismiss")})},__show:function(){var t=this;this.noRefocus||(this.__refocusTarget=document.activeElement),document.body.appendChild(this.$el),this.__register(!0),rt(!0),P.register(function(){t.noEscDismiss?t.__shake():(t.$emit("escape-key"),t.hide().then(function(){t.$emit("dismiss")}))});var e=this.$refs.content;this.$q.platform.is.ios&&e.click(),e.scrollTop=0,["modal-scroll","layout-view"].forEach(function(t){[].slice.call(e.getElementsByClassName(t)).forEach(function(t){t.scrollTop=0})}),this.$nextTick(function(){return e&&e.focus()})},__hide:function(){this.__cleanup(),!this.noRefocus&&this.__refocusTarget&&(this.__refocusTarget.focus(),!this.__refocusTarget.classList.contains("q-if")&&this.__refocusTarget.blur())},__cleanup:function(){P.pop(),rt(!1),this.__register(!1)},__stopPropagation:function(t){t.stopPropagation()},__register:function(t,e,i){void 0===e&&(e=this.maximized),void 0===i&&(i=this.minimized);var s=t?{action:"add",step:1}:{action:"remove",step:-1};if(e){if(ct.maximized+=s.step,!t&&ct.maximized>0)return;document.body.classList[s.action]("q-maximized-modal")}else if(!i){if(ct.responsive+=s.step,!t&&ct.responsive>0)return;document.body.classList[s.action]("q-responsive-modal")}},__shake:function(){var t=this;this.$el.classList.remove("animate-shake"),this.$el.classList.add("animate-shake"),clearTimeout(this.shakeTimeout),this.shakeTimeout=setTimeout(function(){t.$el.classList.remove("animate-shake")},150)}},mounted:function(){this.value&&this.show()},beforeDestroy:function(){clearTimeout(this.shakeTimeout),this.$el.remove(),this.showing&&this.__cleanup()},render:function(t){var e=this;return t("transition",{props:this.transitionProps,on:{afterEnter:function(){e.showPromise&&e.showPromiseResolve()},enterCancelled:function(){e.showPromise&&e.showPromiseReject(),e.$el.remove()},afterLeave:function(){e.hidePromise&&e.hidePromiseResolve(),e.$el.remove()},leaveCancelled:function(){e.hidePromise&&e.hidePromiseReject()}}},[t("div",{staticClass:"modal fullscreen row",class:this.modalClasses,directives:[{name:"show",value:this.showing}]},[t("div",{staticClass:"modal-backdrop absolute-full",on:{click:this.__dismiss}}),t("div",{ref:"content",staticClass:"modal-content",style:this.modalCss,class:this.contentClassesCalc,attrs:{tabindex:-1},on:{click:this.__stopPropagation,touchstart:this.__stopPropagation}},this.$slots.default)])])}},ut={name:"QIcon",props:{name:String,color:String,size:String},computed:{classes:function(){var t,e=this.name;return e?(t=/^fa[s|r|l|b]{0,1} /.test(e)||e.startsWith("icon-")?e:e.startsWith("bt-")?"bt "+e:e.startsWith("eva-")?"eva "+e:/^ion-(md|ios|logo)/.test(e)?"ionicons "+e:e.startsWith("ion-")?"ionicons ion-ios"+e.substr(3):e.startsWith("mdi-")?"mdi "+e:"material-icons",this.color?t+" text-"+this.color:t):""},content:function(){return this.classes.startsWith("material-icons")?this.name.replace(/ /g,"_"):" "},style:function(){if(this.size)return{fontSize:this.size}}},render:function(t){return t("i",{staticClass:"q-icon",class:this.classes,style:this.style,attrs:{"aria-hidden":!0}},[this.content,this.$slots.default])}},dt={name:"QList",props:{noBorder:Boolean,dark:Boolean,dense:Boolean,sparse:Boolean,striped:Boolean,stripedOdd:Boolean,separator:Boolean,insetSeparator:Boolean,multiline:Boolean,highlight:Boolean,link:Boolean},computed:{classes:function(){return{"no-border":this.noBorder,"q-list-dark":this.dark,"q-list-dense":this.dense,"q-list-sparse":this.sparse,"q-list-striped":this.striped,"q-list-striped-odd":this.stripedOdd,"q-list-separator":this.separator,"q-list-inset-separator":this.insetSeparator,"q-list-multiline":this.multiline,"q-list-highlight":this.highlight,"q-list-link":this.link}}},render:function(t){return t("div",{staticClass:"q-list",class:this.classes},this.$slots.default)}},pt=null;if(!i)try{pt=new Event("qrouterlinkclick")}catch(t){(pt=document.createEvent("Event")).initEvent("qrouterlinkclick",!0,!1)}var ft={to:[String,Object],exact:Boolean,append:Boolean,replace:Boolean,event:[String,Array],activeClass:String,exactActiveClass:String},mt={props:ft,data:function(){return{routerLinkEventName:"qrouterlinkclick"}}};function gt(t){return void 0===t||t<2?{}:{overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":t}}var vt={icon:String,rightIcon:String,image:String,rightImage:String,avatar:String,rightAvatar:String,letter:String,rightLetter:String,label:String,sublabel:String,labelLines:[String,Number],sublabelLines:[String,Number]},bt={mixins:[{props:ft}],props:{dark:Boolean,link:Boolean,dense:Boolean,sparse:Boolean,separator:Boolean,insetSeparator:Boolean,multiline:Boolean,highlight:Boolean,tag:{type:String,default:"div"}},computed:{itemClasses:function(){return{"q-item":!0,"q-item-division":!0,"relative-position":!0,"q-item-dark":this.dark,"q-item-dense":this.dense,"q-item-sparse":this.sparse,"q-item-separator":this.separator,"q-item-inset-separator":this.insetSeparator,"q-item-multiline":this.multiline,"q-item-highlight":this.highlight,"q-item-link":this.to||this.link}}}},_t={name:"QItem",mixins:[bt],props:{active:Boolean,link:Boolean},computed:{classes:function(){return[void 0!==this.to?"q-link":{active:this.active},this.itemClasses]}},render:function(t){return void 0!==this.to?t("router-link",{props:Object.assign({},this.$props,{tag:"a"}),class:this.classes},this.$slots.default):t(this.tag,{class:this.classes},this.$slots.default)}},yt={name:"QItemSide",props:{right:Boolean,icon:String,letter:{type:String,validator:function(t){return 1===t.length}},inverted:Boolean,avatar:String,image:String,stamp:String,color:String,textColor:String},computed:{type:function(){var t=this;return["icon","image","avatar","letter","stamp"].find(function(e){return t[e]})},classes:function(){var t=["q-item-side-"+(this.right?"right":"left")];return!this.color||this.icon||this.letter||t.push("text-"+this.color),t},typeClasses:function(){var t=["q-item-"+this.type];return this.color&&(this.inverted&&(this.icon||this.letter)?t.push("bg-"+this.color):this.textColor||t.push("text-"+this.color)),this.textColor&&t.push("text-"+this.textColor),this.inverted&&(this.icon||this.letter)&&(t.push("q-item-inverted"),t.push("flex"),t.push("flex-center")),t},imagePath:function(){return this.image||this.avatar}},render:function(t){var e;return this.type&&(this.icon?(e=t(ut,{class:this.inverted?null:this.typeClasses,props:{name:this.icon}}),this.inverted&&(e=t("div",{class:this.typeClasses},[e]))):e=this.imagePath?t("img",{class:this.typeClasses,attrs:{src:this.imagePath}}):t("div",{class:this.typeClasses},[this.stamp||this.letter])),t("div",{staticClass:"q-item-side q-item-section",class:this.classes},[e,this.$slots.default])}};function wt(t,e,i,s){return t("div",{staticClass:"q-item-"+e+(1===(s=parseInt(s,10))?" ellipsis":""),style:gt(s),domProps:{innerHTML:i}})}var Ct={name:"QItemMain",props:{label:String,labelLines:[String,Number],sublabel:String,sublabelLines:[String,Number],inset:Boolean,tag:{type:String,default:"div"}},render:function(t){return t(this.tag,{staticClass:"q-item-main q-item-section",class:{"q-item-main-inset":this.inset}},[this.label?wt(t,"label",this.label,this.labelLines):null,this.sublabel?wt(t,"sublabel",this.sublabel,this.sublabelLines):null,this.$slots.default])}},xt={name:"QItemSeparator",props:{inset:Boolean},render:function(t){return t("div",{staticClass:"q-item-separator-component",class:{"q-item-separator-inset-component":this.inset}},this.$slots.default)}},kt={name:"QActionSheet",props:{value:Boolean,title:String,grid:Boolean,actions:Array,dismissLabel:String},computed:{contentCss:function(){return{backgroundColor:"transparent"}}},render:function(t){var e=this,i=[],s=this.$slots.title||this.title;return s&&i.push(t("div",{staticClass:"q-actionsheet-title column justify-center"},[s])),i.push(t("div",{staticClass:"q-actionsheet-body scroll"},this.actions?[this.grid?t("div",{staticClass:"q-actionsheet-grid row wrap items-center justify-between"},this.__getActions(t)):t(dt,{staticClass:"no-border",props:{link:!0}},this.__getActions(t))]:this.$slots.default)),i=[t("div",{staticClass:"q-actionsheet"},i),t("div",{staticClass:"q-actionsheet"},[t(_t,{props:{link:!0},attrs:{tabindex:0},nativeOn:{click:this.__onCancel,keyup:this.__onKeyCancel}},[t(Ct,{staticClass:"text-center text-primary"},[this.dismissLabel||this.$q.i18n.label.cancel])])])],t(ht,{ref:"modal",props:{value:this.value,position:"bottom",contentCss:this.contentCss},on:{input:function(t){e.$emit("input",t)},show:function(){e.$emit("show")},hide:function(){e.$emit("hide")},dismiss:function(){e.$emit("cancel")},"escape-key":function(){e.$emit("escape-key")}}},i)},methods:{show:function(){return this.$refs.modal.show()},hide:function(){return this.$refs.modal?this.$refs.modal.hide():Promise.resolve()},__getActions:function(t){var e=this;return this.actions.map(function(i){var s;return i.label?t(e.grid?"div":_t,((s={staticClass:e.grid?"q-actionsheet-grid-item cursor-pointer relative-position column inline flex-center":null,class:i.classes,attrs:{tabindex:0}})[e.grid?"on":"nativeOn"]={click:function(){return e.__onOk(i)},keyup:function(t){13===E(t)&&e.__onOk(i)}},s),e.grid?[i.icon?t(ut,{props:{name:i.icon,color:i.color}}):null,i.avatar?t("img",{domProps:{src:i.avatar},staticClass:"avatar"}):null,t("span",[i.label])]:[t(yt,{props:{icon:i.icon,color:i.color,avatar:i.avatar}}),t(Ct,{props:{inset:!0,label:i.label}})]):t(xt,{staticClass:"col-12"})})},__onOk:function(t){var e=this;this.hide().then(function(){"function"==typeof t.handler&&t.handler(),e.$emit("ok",t)})},__onCancel:function(){var t=this;this.hide().then(function(){t.$emit("cancel")})},__onKeyCancel:function(t){13===E(t)&&this.__onCancel()}}},St=["B","kB","MB","GB","TB","PB"];function qt(t){for(var e=0;parseInt(t,10)>=1024&&e=e?s:new Array(e-s.length+1).join(i)+s}var Mt={humanStorageSize:qt,capitalize:$t,between:Tt,normalizeToInterval:Pt,pad:Lt},Bt=i?null:XMLHttpRequest,Et=i?null:Bt.prototype.send,Ot={start:[],stop:[]},Nt=0;var zt={name:"QAjaxBar",props:{position:{type:String,default:"top",validator:function(t){return["top","right","bottom","left"].includes(t)}},size:{type:String,default:"2px"},color:{type:String,default:"red"},skipHijack:Boolean,reverse:Boolean},data:function(){return{calls:0,progress:0,onScreen:!1,animate:!0}},computed:{classes:function(){return[this.position,"bg-"+this.color,this.animate?"":"no-transition"]},style:function(){var t=this.onScreen,e=function(t){var e=t.p,i=t.pos,s=t.active,n=t.horiz,o=t.reverse,r=t.dir,a=1,l=1;return n?(o&&(a=-1),"bottom"===i&&(l=-1),{transform:"translate3d("+a*(e-100)+"%,"+(s?0:-200*l)+"%,0)"}):(o&&(l=-1),"right"===i&&(a=-1),{transform:"translate3d("+(s?0:r*a*-200)+"%,"+l*(e-100)+"%,0)"})}({p:this.progress,pos:this.position,active:t,horiz:this.horizontal,reverse:this.$q.i18n.rtl&&["top","bottom"].includes(this.position)?!this.reverse:this.reverse,dir:this.$q.i18n.rtl?-1:1});return e[this.sizeProp]=this.size,e.opacity=t?1:0,e},horizontal:function(){return"top"===this.position||"bottom"===this.position},sizeProp:function(){return this.horizontal?"height":"width"}},methods:{start:function(t){var e=this;void 0===t&&(t=300),this.calls++,this.calls>1||(clearTimeout(this.timer),this.$emit("start"),this.onScreen||(this.progress=0,this.onScreen=!0,this.animate=!1,this.timer=setTimeout(function(){e.animate=!0,e.__work(t)},100)))},increment:function(t){this.calls>0&&(this.progress=function(t,e){return"number"!=typeof e&&(e=t<25?3*Math.random()+3:t<65?3*Math.random():t<85?2*Math.random():t<99?.6:0),Tt(t+e,0,100)}(this.progress,t))},stop:function(){var t=this;if(this.calls=Math.max(0,this.calls-1),!(this.calls>0)){clearTimeout(this.timer),this.$emit("stop");var e=function(){t.animate=!0,t.progress=100,t.timer=setTimeout(function(){t.onScreen=!1},1e3)};0===this.progress?this.timer=setTimeout(e,1):e()}},__work:function(t){var e=this;this.progress<100&&(this.timer=setTimeout(function(){e.increment(),e.__work(t)},t))}},mounted:function(){this.skipHijack||(this.hijacked=!0,function(t,e){function i(){Ot.stop.map(function(t){t()})}Ot.start.push(t),Ot.stop.push(e),++Nt>1||(Bt.prototype.send=function(){for(var t=this,e=[],s=arguments.length;s--;)e[s]=arguments[s];Ot.start.map(function(t){t()}),this.addEventListener("abort",i,!1),this.addEventListener("readystatechange",function(){4===t.readyState&&i()},!1),Et.apply(this,e)})}(this.start,this.stop))},beforeDestroy:function(){var t,e;clearTimeout(this.timer),this.hijacked&&(t=this.start,e=this.stop,Ot.start=Ot.start.filter(function(e){return e!==t}),Ot.stop=Ot.stop.filter(function(t){return t!==e}),(Nt=Math.max(0,Nt-1))||(Bt.prototype.send=Et))},render:function(t){return t("div",{staticClass:"q-loading-bar",class:this.classes,style:this.style})}};function Dt(t,e,i){var s=i.stop,n=i.center;s&&t.stopPropagation();var o,r,a=document.createElement("span"),l=document.createElement("span"),c=e.clientWidth>e.clientHeight?e.clientWidth:e.clientHeight,h=(n?c:2*c)+"px",u=e.getBoundingClientRect();if(a.appendChild(l),a.className="q-ripple-container",l.className="q-ripple-animation",l.style.width=h,l.style.height=h,e.appendChild(a),n)o=r=0;else{var d=O(t);o=d.left-u.left-c,r=d.top-u.top-c}l.classList.add("q-ripple-animation-enter"),l.classList.add("q-ripple-animation-visible"),l.style.transform="translate("+o+"px, "+r+"px) scale3d(0, 0, 0)",setTimeout(function(){l.classList.remove("q-ripple-animation-enter"),l.style.transform="translate("+o+"px, "+r+"px) scale3d(1, 1, 1)",setTimeout(function(){l.classList.remove("q-ripple-animation-visible"),setTimeout(function(){a.remove()},300)},300)},10)}function Rt(t){var e=t.mat,i=t.ios;return!!e||i&&!1}var It={name:"ripple",inserted:function(t,e){var i=e.value,s=e.modifiers;if(!Rt(s)){var n={enabled:!1!==i,modifiers:{stop:s.stop,center:s.center},click:function(e){n.enabled&&-1!==e.detail&&Dt(e,t,n.modifiers)},keyup:function(e){n.enabled&&13===e.keyCode&&Dt(e,t,n.modifiers)}};t.__qripple=n,t.addEventListener("click",n.click,!1),t.addEventListener("keyup",n.keyup,!1)}},update:function(t,e){var i=e.value,s=e.modifiers,n=s.stop,o=s.center,r=t.__qripple;r&&(r.enabled=!1!==i,r.modifiers={stop:n,center:o})},unbind:function(t,e){var i=e.modifiers,s=t.__qripple;s&&!Rt(i)&&(t.removeEventListener("click",s.click,!1),t.removeEventListener("keyup",s.keyup,!1),delete t.__qripple)}},Ht={left:"start",center:"center",right:"end",between:"between",around:"around"},At=Object.keys(Ht),Ft={props:{align:{type:String,default:"center",validator:function(t){return At.includes(t)}}},computed:{alignClass:function(){return"justify-"+Ht[this.align]}}},Qt={xs:8,sm:10,md:14,lg:20,xl:24,form:14.777,"form-label":21.777,"form-hide-underline":9.333,"form-label-hide-underline":16.333},jt={mixins:[Ft],directives:{Ripple:It},props:{type:String,loading:{type:Boolean,default:null},disable:Boolean,label:[Number,String],noCaps:Boolean,noWrap:Boolean,icon:String,iconRight:String,round:Boolean,outline:Boolean,flat:Boolean,rounded:Boolean,push:Boolean,size:String,fab:Boolean,fabMini:Boolean,color:String,textColor:String,glossy:Boolean,dense:Boolean,noRipple:Boolean,tabindex:Number,to:[Object,String],replace:Boolean},computed:{style:function(){if(this.size&&!this.fab&&!this.fabMini)return{fontSize:this.size in Qt?Qt[this.size]+"px":this.size}},isRectangle:function(){return!this.isRound},isRound:function(){return this.round||this.fab||this.fabMini},shape:function(){return"q-btn-"+(this.isRound?"round":"rectangle")},isDisabled:function(){return this.disable||this.loading},hasRipple:function(){return!1},computedTabIndex:function(){return this.isDisabled?-1:this.tabindex||0},isLink:function(){return"a"===this.type||void 0!==this.to},attrs:function(){var t={tabindex:this.computedTabIndex};return"a"!==this.type&&(t.type=this.type||"button"),void 0!==this.to&&(t.href=this.$router.resolve(this.to).href),t},classes:function(){var t=[this.shape];return this.fab?t.push("q-btn-fab"):this.fabMini&&t.push("q-btn-fab-mini"),this.flat?t.push("q-btn-flat"):this.outline?t.push("q-btn-outline"):this.push&&t.push("q-btn-push"),this.isDisabled?t.push("disabled"):(t.push("q-focusable q-hoverable"),this.active&&t.push("active")),this.color?this.flat||this.outline?t.push("text-"+(this.textColor||this.color)):(t.push("bg-"+this.color),t.push("text-"+(this.textColor||"white"))):this.textColor&&t.push("text-"+this.textColor),t.push({"q-btn-no-uppercase":this.noCaps,"q-btn-rounded":this.rounded,"q-btn-dense":this.dense,glossy:this.glossy}),t},innerClasses:function(){var t=[this.alignClass];return!0===this.noWrap&&t.push("no-wrap","text-no-wrap"),!0===this.repeating&&t.push("non-selectable"),!0===this.loading&&t.push("q-btn-inner--hidden"),t}}},Vt={props:{color:String,size:{type:[Number,String],default:"1em"}},computed:{classes:function(){if(this.color)return"text-"+this.color}}},Wt={name:"QSpinnerIos",mixins:[Vt],render:function(t){return t("svg",{staticClass:"q-spinner",class:this.classes,attrs:{width:this.size,height:this.size,stroke:"currentColor",fill:"currentColor",viewBox:"0 0 64 64"}},[t("g",{attrs:{"stroke-width":"4","stroke-linecap":"round"}},[t("line",{attrs:{y1:"17",y2:"29",transform:"translate(32,32) rotate(180)"}},[t("animate",{attrs:{attributeName:"stroke-opacity",dur:"750ms",values:"1;.85;.7;.65;.55;.45;.35;.25;.15;.1;0;1",repeatCount:"indefinite"}})]),t("line",{attrs:{y1:"17",y2:"29",transform:"translate(32,32) rotate(210)"}},[t("animate",{attrs:{attributeName:"stroke-opacity",dur:"750ms",values:"0;1;.85;.7;.65;.55;.45;.35;.25;.15;.1;0",repeatCount:"indefinite"}})]),t("line",{attrs:{y1:"17",y2:"29",transform:"translate(32,32) rotate(240)"}},[t("animate",{attrs:{attributeName:"stroke-opacity",dur:"750ms",values:".1;0;1;.85;.7;.65;.55;.45;.35;.25;.15;.1",repeatCount:"indefinite"}})]),t("line",{attrs:{y1:"17",y2:"29",transform:"translate(32,32) rotate(270)"}},[t("animate",{attrs:{attributeName:"stroke-opacity",dur:"750ms",values:".15;.1;0;1;.85;.7;.65;.55;.45;.35;.25;.15",repeatCount:"indefinite"}})]),t("line",{attrs:{y1:"17",y2:"29",transform:"translate(32,32) rotate(300)"}},[t("animate",{attrs:{attributeName:"stroke-opacity",dur:"750ms",values:".25;.15;.1;0;1;.85;.7;.65;.55;.45;.35;.25",repeatCount:"indefinite"}})]),t("line",{attrs:{y1:"17",y2:"29",transform:"translate(32,32) rotate(330)"}},[t("animate",{attrs:{attributeName:"stroke-opacity",dur:"750ms",values:".35;.25;.15;.1;0;1;.85;.7;.65;.55;.45;.35",repeatCount:"indefinite"}})]),t("line",{attrs:{y1:"17",y2:"29",transform:"translate(32,32) rotate(0)"}},[t("animate",{attrs:{attributeName:"stroke-opacity",dur:"750ms",values:".45;.35;.25;.15;.1;0;1;.85;.7;.65;.55;.45",repeatCount:"indefinite"}})]),t("line",{attrs:{y1:"17",y2:"29",transform:"translate(32,32) rotate(30)"}},[t("animate",{attrs:{attributeName:"stroke-opacity",dur:"750ms",values:".55;.45;.35;.25;.15;.1;0;1;.85;.7;.65;.55",repeatCount:"indefinite"}})]),t("line",{attrs:{y1:"17",y2:"29",transform:"translate(32,32) rotate(60)"}},[t("animate",{attrs:{attributeName:"stroke-opacity",dur:"750ms",values:".65;.55;.45;.35;.25;.15;.1;0;1;.85;.7;.65",repeatCount:"indefinite"}})]),t("line",{attrs:{y1:"17",y2:"29",transform:"translate(32,32) rotate(90)"}},[t("animate",{attrs:{attributeName:"stroke-opacity",dur:"750ms",values:".7;.65;.55;.45;.35;.25;.15;.1;0;1;.85;.7",repeatCount:"indefinite"}})]),t("line",{attrs:{y1:"17",y2:"29",transform:"translate(32,32) rotate(120)"}},[t("animate",{attrs:{attributeName:"stroke-opacity",dur:"750ms",values:".85;.7;.65;.55;.45;.35;.25;.15;.1;0;1;.85",repeatCount:"indefinite"}})]),t("line",{attrs:{y1:"17",y2:"29",transform:"translate(32,32) rotate(150)"}},[t("animate",{attrs:{attributeName:"stroke-opacity",dur:"750ms",values:"1;.85;.7;.65;.55;.45;.35;.25;.15;.1;0;1",repeatCount:"indefinite"}})])])])}},Kt={mixins:[Wt],name:"QSpinner"},Ut={name:"QBtn",mixins:[jt],props:{percentage:Number,darkPercentage:Boolean,waitForRipple:Boolean,repeatTimeout:[Number,Function]},computed:{hasPercentage:function(){return void 0!==this.percentage},width:function(){return Tt(this.percentage,0,100)+"%"},events:function(){var t=this;return this.isDisabled||!this.repeatTimeout?{click:this.click,keydown:this.__onKeyDown,keyup:this.__onKeyUp}:{mousedown:this.__startRepeat,touchstart:this.__startRepeat,keydown:function(e){t.__onKeyDown(e,!0)},mouseup:this.__endRepeat,touchend:this.__endRepeat,keyup:function(e){t.__onKeyUp(e,!0)},mouseleave:this.__abortRepeat,touchmove:this.__abortRepeat,blur:this.__abortRepeat}}},data:function(){return{repeating:!1,active:!1}},methods:{click:function(t){var e=this;if(this.__cleanup(),void 0===this.to&&!this.isDisabled||(t&&H(t),!this.isDisabled))if(t&&-1!==t.detail&&"submit"===this.type){H(t);var i=new MouseEvent("click",Object.assign({},t,{detail:-1}));this.timer=setTimeout(function(){return e.$el&&e.$el.dispatchEvent(i)},200)}else{var s=function(){e.$router[e.replace?"replace":"push"](e.to)},n=function(){e.isDisabled||(e.$emit("click",t,s),void 0!==e.to&&!1!==t.navigate&&s())};this.waitForRipple&&this.hasRipple?this.timer=setTimeout(n,300):n()}},__cleanup:function(){clearTimeout(this.timer)},__onKeyDown:function(t,e){this.isDisabled||13!==t.keyCode||(this.active=!0,e?this.__startRepeat(t):H(t))},__onKeyUp:function(t,e){this.active&&(this.active=!1,this.isDisabled||13!==t.keyCode||this[e?"__endRepeat":"click"](t))},__startRepeat:function(t){var e=this;if(!this.repeating){var i=function(){e.timer=setTimeout(s,"function"==typeof e.repeatTimeout?e.repeatTimeout(e.repeatCount):e.repeatTimeout)},s=function(){e.isDisabled||(e.repeatCount+=1,t.repeatCount=e.repeatCount,e.$emit("click",t),i())};this.repeatCount=0,this.repeating=!0,i()}},__abortRepeat:function(){this.repeating=!1,this.__cleanup()},__endRepeat:function(t){this.repeating&&(this.repeating=!1,this.repeatCount?this.repeatCount=0:(t.detail||t.keyCode)&&(t.repeatCount=0,this.$emit("click",t)),this.__cleanup())}},beforeDestroy:function(){this.__cleanup()},render:function(t){var e=[].concat(this.$slots.default);return void 0!==this.label&&!0===this.isRectangle&&e.unshift(t("div",[this.label])),void 0!==this.icon&&e.unshift(t(ut,{class:{"on-left":void 0!==this.label&&!0===this.isRectangle},props:{name:this.icon}})),void 0!==this.iconRight&&!1===this.isRound&&e.push(t(ut,{staticClass:"on-right",props:{name:this.iconRight}})),t(this.isLink?"a":"button",{staticClass:"q-btn inline relative-position q-btn-item non-selectable",class:this.classes,style:this.style,attrs:this.attrs,on:this.events,directives:this.hasRipple?[{name:"ripple",value:!0,modifiers:{center:this.isRound}}]:null},[t("div",{staticClass:"q-focus-helper"}),this.loading&&this.hasPercentage?t("div",{staticClass:"q-btn-progress absolute-full",class:{"q-btn-dark-progress":this.darkPercentage},style:{width:this.width}}):null,t("div",{staticClass:"q-btn-inner row col items-center q-popup--skip",class:this.innerClasses},e),null!==this.loading?t("transition",{props:{name:"q-transition--fade"}},!0===this.loading?[t("div",{key:"loading",staticClass:"absolute-full flex flex-center"},void 0!==this.$slots.loading?this.$slots.loading:[t(Kt)])]:void 0):null])}},Yt={name:"QAlert",props:{type:{type:String,validator:function(t){return["positive","negative","warning","info"].includes(t)}},color:{type:String,default:"negative"},textColor:String,message:String,detail:String,icon:String,avatar:String,actions:Array},computed:{computedIcon:function(){return this.icon?this.icon:this.$q.icon.type[this.type||this.color]},classes:function(){return"bg-"+(this.type||this.color)+" text-"+(this.textColor||"white")}},render:function(t){var e=this,i=[],s=this.$slots.detail||this.detail;return this.avatar?i.push(t("img",{staticClass:"avatar",attrs:{src:this.avatar}})):(this.icon||this.type)&&i.push(t(ut,{props:{name:this.computedIcon}})),t("div",[t("div",{staticClass:"q-alert row no-wrap shadow-2",class:this.classes},[i.length?t("div",{staticClass:"q-alert-side col-auto row flex-center"},i):null,t("div",{staticClass:"q-alert-content col self-center"},[t("div",this.$slots.default||this.message),s?t("div",{staticClass:"q-alert-detail"},[s]):null]),this.actions&&this.actions.length?t("div",{staticClass:"q-alert-actions col-auto gutter-xs column flex-center"},this.actions.map(function(i){return t("div",{staticClass:"full-width"},[t(Ut,{staticClass:"full-width",props:{flat:!0,dense:!0,align:"left",icon:i.icon,label:!0===i.closeBtn?"string"==typeof i.label?i.label:e.$q.i18n.label.close:i.label},on:{click:function(){return i.handler()}}})])})):null])])}};function Jt(t,e){var i=e.field,s=e.list,n=t.toLowerCase();return s.filter(function(t){return(""+t[i]).toLowerCase().startsWith(n)})}function Xt(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}function Gt(){return Xt()+Xt()+"-"+Xt()+"-"+Xt()+"-"+Xt()+"-"+Xt()+Xt()+Xt()}function Zt(t){var e,i=t.el,s=t.animate,n=t.anchorEl,o=t.anchorOrigin,r=t.selfOrigin,a=t.maxHeight,l=t.event,c=t.anchorClick,h=t.touchPosition,u=t.offset,d=t.touchOffset,p=t.cover;if(i.style.maxHeight=a||"65vh",i.style.maxWidth="100vw",!l||c&&!h)if(d){var f=n.getBoundingClientRect(),m=f.top,g=f.left,v=m+d.top,b=g+d.left;e={top:v,left:b,width:1,height:1,right:b+1,center:v,middle:b,bottom:v+1}}else e=function(t,e){var i=t.getBoundingClientRect(),s=i.top,n=i.left,o=i.right,r=i.bottom,a={top:s,left:n,width:t.offsetWidth,height:t.offsetHeight};return e&&(a.top-=e[1],a.left-=e[0],r&&(r+=e[1]),o&&(o+=e[0]),a.width+=e[0],a.height+=e[1]),a.right=o||a.left+a.width,a.bottom=r||a.top+a.height,a.middle=a.left+(a.right-a.left)/2,a.center=a.top+(a.bottom-a.top)/2,a}(n,u);else{var _=O(l),y=_.top,w=_.left;e={top:y,left:w,width:1,height:1,right:w+1,center:y,middle:w,bottom:y+1}}var C=function(t){return{top:0,center:t.offsetHeight/2,bottom:t.offsetHeight,left:0,middle:t.offsetWidth/2,right:t.offsetWidth}}(i),x={top:e[o.vertical]-C[r.vertical],left:e[o.horizontal]-C[r.horizontal]};if(x=function(t,e,i,s,n,o){var r=et(),a=window.innerHeight,l=window.innerWidth;if(a-=r,l-=r,n.top<0||n.top+e.bottom>a)if("center"===i.vertical)n.top=t[i.vertical]>a/2?a-e.bottom:0,n.maxHeight=Math.min(e.bottom,a);else if(t[i.vertical]>a/2){var c=Math.min(a,"center"===s.vertical?t.center:s.vertical===i.vertical?t.bottom:t.top);n.maxHeight=Math.min(e.bottom,c),n.top=Math.max(0,c-n.maxHeight)}else n.top="center"===s.vertical?t.center:s.vertical===i.vertical?t.top:t.bottom,n.maxHeight=Math.min(e.bottom,a-n.top);if(n.left<0||n.left+e.right>l)if(n.maxWidth=Math.min(e.right,l),"middle"===i.horizontal)n.left=t[i.horizontal]>l/2?l-e.right:0;else if(o)n.left=n.left<0?0:l-e.right;else if(t[i.horizontal]>l/2){var h=Math.min(l,"middle"===s.horizontal?t.center:s.horizontal===i.horizontal?t.right:t.left);n.maxWidth=Math.min(e.right,h),n.left=Math.max(0,h-n.maxWidth)}else n.left="middle"===s.horizontal?t.center:s.horizontal===i.horizontal?t.left:t.right,n.maxWidth=Math.min(e.right,l-n.left);return n}(e,C,r,o,x,p),i.style.top=Math.max(0,x.top)+"px",i.style.left=Math.max(0,x.left)+"px",x.maxHeight&&(i.style.maxHeight=x.maxHeight+"px"),x.maxWidth&&(i.style.maxWidth=x.maxWidth+"px"),s){var k=x.topwindow.innerHeight||r<0||o>window.innerWidth))return this.hide();if(this.fit||this.cover){var a=window.getComputedStyle(this.anchorEl);this.$el.style.minWidth=a.getPropertyValue("width"),this.cover&&(this.$el.style.minHeight=a.getPropertyValue("height"))}if(e)if(this.touchPosition){var l=O(t),c=l.top,h=l.left;this.touchOffset={left:h-o,top:c-s}}else delete this.touchOffset;Zt({event:t,animate:e,el:this.$el,offset:this.offset,anchorEl:this.anchorEl,anchorOrigin:this.anchorOrigin,selfOrigin:this.selfOrigin,maxHeight:this.maxHeight,anchorClick:this.anchorClick,touchPosition:this.touchPosition,touchOffset:this.touchOffset,cover:this.cover})}}};function re(t,e,i,s,n,o){var r={props:{right:o.right}};if(s&&n)t.push(e(i,r,s));else{var a=!1;for(var l in o)if(o.hasOwnProperty(l)&&void 0!==(a=o[l])&&!0!==a){t.push(e(i,{props:o}));break}s&&t.push(e(i,r,s))}}var ae={name:"QItemWrapper",props:{cfg:{type:Object,default:function(){return{}}},slotReplace:Boolean},render:function(t){var e=this.cfg,i=this.slotReplace,s=[];return re(s,t,yt,this.$slots.left,i,{icon:e.icon,color:e.leftColor,avatar:e.avatar,letter:e.letter,image:e.image,inverted:e.leftInverted,textColor:e.leftTextColor}),re(s,t,Ct,this.$slots.main,i,{label:e.label,sublabel:e.sublabel,labelLines:e.labelLines,sublabelLines:e.sublabelLines,inset:e.inset}),re(s,t,yt,this.$slots.right,i,{right:!0,icon:e.rightIcon,color:e.rightColor,avatar:e.rightAvatar,letter:e.rightLetter,image:e.rightImage,stamp:e.stamp,inverted:e.rightInverted,textColor:e.rightTextColor}),s.push(this.$slots.default),t(_t,{attrs:this.$attrs,on:this.$listeners,props:e},s)}},le={data:function(){return{keyboardIndex:0,keyboardMoveDirection:!1,keyboardMoveTimer:!1}},watch:{keyboardIndex:function(t){var e=this;this.$refs.popover&&this.$refs.popover.showing&&this.keyboardMoveDirection&&t>-1&&this.$nextTick(function(){if(e.$refs.popover){var t=e.$refs.popover.$el.querySelector(".q-select-highlight");if(t&&t.scrollIntoView){if(t.scrollIntoViewIfNeeded)return t.scrollIntoViewIfNeeded(!1);t.scrollIntoView(e.keyboardMoveDirection<0)}}})}},methods:{__keyboardShow:function(t){void 0===t&&(t=0),this.keyboardIndex!==t&&(this.keyboardIndex=t)},__keyboardSetCurrentSelection:function(t){this.keyboardIndex>=0&&this.keyboardIndex<=this.keyboardMaxIndex&&this.__keyboardSetSelection(this.keyboardIndex,t)},__keyboardHandleKey:function(t){var e=E(t);switch(e){case 38:this.__keyboardMoveCursor(-1,t);break;case 40:this.__keyboardMoveCursor(1,t);break;case 13:if(this.$refs.popover.showing)return H(t),void this.__keyboardSetCurrentSelection();break;case 9:this.hide()}this.__keyboardCustomKeyHandle(e,t)},__keyboardMoveCursor:function(t,e){var i=this;if(H(e),this.$refs.popover.showing){clearTimeout(this.keyboardMoveTimer);var s=this.keyboardIndex,n=this.__keyboardIsSelectableIndex||function(){return!0};do{s=Pt(s+t,-1,i.keyboardMaxIndex)}while(s!==this.keyboardIndex&&!n(s));return this.keyboardMoveDirection=s>this.keyboardIndex?1:-1,this.keyboardMoveTimer=setTimeout(function(){i.keyboardMoveDirection=!1},500),void(this.keyboardIndex=s)}this.__keyboardShowTrigger()}}},ce={name:"QAutocomplete",mixins:[le],props:{minCharacters:{type:Number,default:1},maxResults:{type:Number,default:6},maxHeight:String,debounce:{type:Number,default:500},filter:{type:Function,default:Jt},staticData:Object,valueField:[String,Function],separator:Boolean},inject:{__input:{default:function(){console.error("QAutocomplete needs to be child of QInput, QChipsInput or QSearch")}},__inputDebounce:{default:null}},data:function(){return{searchId:"",results:[],width:0,enterKey:!1,timer:null}},watch:{"__input.val":function(){this.enterKey?this.enterKey=!1:this.__delayTrigger()}},computed:{computedResults:function(){return this.maxResults&&this.results.length>0?this.results.slice(0,this.maxResults):[]},computedValueField:function(){return this.valueField||this.staticData&&this.staticData.field||"value"},keyboardMaxIndex:function(){return this.computedResults.length-1},computedWidth:function(){return{minWidth:this.width}},searching:function(){return this.searchId.length>0}},methods:{isWorking:function(){return this.$refs&&this.$refs.popover},trigger:function(t){var e=this;if(this.__input&&this.__input.isEditable()&&this.__input.hasFocus()&&this.isWorking()){var i=[null,void 0].includes(this.__input.val)?"":String(this.__input.val),s=i.length,n=Gt(),o=this.$refs.popover;if(this.searchId=n,s0)return this.searchId="",this.__clearSearch(),void this.hide();if(this.width=V(this.inputEl)+"px",this.staticData)return this.searchId="",this.results=this.filter(i,this.staticData),this.results.length?void this.__showResults():void o.hide();this.__input.loading=!0,this.$emit("search",i,function(t){if(e.isWorking()&&e.searchId===n){if(e.__clearSearch(),Array.isArray(t)&&t.length>0)return e.results=t,void e.__showResults();e.hide()}})}},hide:function(){return this.results=[],this.isWorking()?this.$refs.popover.hide():Promise.resolve()},blurHide:function(){var t=this;this.__clearSearch(),this.timer=setTimeout(function(){return t.hide()},300)},__clearSearch:function(){clearTimeout(this.timer),this.__input.loading=!1,this.searchId=""},__keyboardCustomKeyHandle:function(t){switch(t){case 27:this.__clearSearch();break;case 38:case 40:case 9:this.__keyboardSetCurrentSelection(!0)}},__keyboardShowTrigger:function(){this.trigger()},__focusShowTrigger:function(){var t=this;clearTimeout(this.timer),this.timer=setTimeout(function(){return t.trigger(!0)},100)},__keyboardIsSelectableIndex:function(t){return t>-1&&t=a?n<0?"left":"right":o<0?"up":"down",isFirst:e.event.isFirst,isFinal:i,duration:(new Date).getTime()-e.event.time,distance:{x:r,y:a},offset:{x:n,y:o},delta:{x:s.left-e.event.lastX,y:s.top-e.event.lastY}}}var we={name:"touch-pan",bind:function(t,e){var i=!0!==e.modifiers.noMouse,s=e.modifiers.stop,n=e.modifiers.prevent,o=n||e.modifiers.mightPrevent?null:M.passive,r={handler:e.value,direction:_e(e.modifiers),mouseStart:function(t){B(t)&&(document.addEventListener("mousemove",r.move,o),document.addEventListener("mouseup",r.mouseEnd,o),r.start(t,!0))},mouseEnd:function(t){document.removeEventListener("mousemove",r.move,o),document.removeEventListener("mouseup",r.mouseEnd,o),r.end(t)},start:function(e,i){var o=O(e);r.event={x:o.left,y:o.top,time:(new Date).getTime(),detected:!0===i||r.direction.horizontal&&r.direction.vertical,abort:!1,isFirst:!0,lastX:o.left,lastY:o.top},r.event.detected&&(t.classList.add("q-touch"),!0!==i&&(s&&e.stopPropagation(),n&&e.preventDefault(),r.move(e)))},move:function(t){if(!0!==r.event.abort)if(!0!==r.event.detected){var e=O(t),i=Math.abs(e.left-r.event.x),o=Math.abs(e.top-r.event.y);i!==o&&(r.event.detected=!0,r.event.abort=r.direction.vertical?i>o:i0:!t.direction.horizontal&&t.direction.vertical?Math.abs(e.delta.y)>0:void 0)})(r,a)&&(r.handler(a),r.event.lastX=a.position.left,r.event.lastY=a.position.top,r.event.isFirst=!1)}},end:function(e){t.classList.remove("q-touch"),r.event.abort||!r.event.detected||r.event.isFirst||(s&&e.stopPropagation(),n&&e.preventDefault(),r.handler(ye(e,r,!0)))}};t.__qtouchpan&&(t.__qtouchpan_old=t.__qtouchpan),t.__qtouchpan=r,i&&t.addEventListener("mousedown",r.mouseStart,o),t.addEventListener("touchstart",r.start,o),t.addEventListener("touchmove",r.move,o),t.addEventListener("touchend",r.end,o)},update:function(t,e){var i=e.oldValue,s=e.value,n=e.modifiers,o=t.__qtouchpan;i!==s&&(o.handler=s),n.horizontal===o.direction.horizontal&&n.vertical===o.direction.vertical||(o.direction=_e(n))},unbind:function(t,e){var i=t.__qtouchpan_old||t.__qtouchpan;if(void 0!==i){var s=e.modifiers.prevent?null:M.passive;t.removeEventListener("mousedown",i.mouseStart,s),t.removeEventListener("touchstart",i.start,s),t.removeEventListener("touchmove",i.move,s),t.removeEventListener("touchend",i.end,s),delete t[t.__qtouchpan_old?"__qtouchpan_old":"__qtouchpan"]}}};function Ce(t){return"[object Date]"===Object.prototype.toString.call(t)}function xe(t){return"number"==typeof t&&isFinite(t)}var ke=function(t){return t},Se=function(t){return t<.5?2*t*t:(4-2*t)*t-1},qe=function(t){return Math.pow(t,3)},$e=function(t){return 1+Math.pow(t-1,3)},Te=function(t){return t<.4031?12*Math.pow(t,4):1/1290*(11*Math.sqrt(-4e4*t*t+8e4*t-23359)-129)},Pe=$e,Le={linear:ke,easeInQuad:function(t){return t*t},easeOutQuad:function(t){return t*(2-t)},easeInOutQuad:Se,easeInCubic:qe,easeOutCubic:$e,easeInOutCubic:function(t){return t<.5?4*Math.pow(t,3):1+(t-1)*Math.pow(2*t-2,2)},easeInQuart:function(t){return Math.pow(t,4)},easeOutQuart:function(t){return 1-Math.pow(t-1,4)},easeInOutQuart:function(t){return t<.5?8*Math.pow(t,4):1-8*Math.pow(t-1,4)},easeInQuint:function(t){return Math.pow(t,5)},easeOutQuint:function(t){return 1+Math.pow(t-1,5)},easeInOutQuint:function(t){return t<.5?16*Math.pow(t,5):1+16*Math.pow(t-1,5)},easeInCirc:function(t){return-1*Math.sqrt(1-Math.pow(t,2))+1},easeOutCirc:function(t){return Math.sqrt(-1*(t-2)*t)},easeInOutCirc:function(t){return t<.5?.5*(1-Math.sqrt(1-4*t*t)):.5*(1+Math.sqrt(8*t-3-4*t*t))},overshoot:function(t){return-1*Math.pow(Math.E,-6.3*t)*Math.cos(5*t)+1},standard:Te,decelerate:Pe,accelerate:qe,sharp:Se},Me={};function Be(t){var e=t.name,i=t.duration;void 0===i&&(i=300);var s=t.to,n=t.from,o=t.apply,r=t.done,a=t.cancel,l=t.easing,c=e,h=new Date;c?Ee(c):c=Gt();var u=l||ke,d=function(){var t=(new Date-h)/i;t>1&&(t=1);var e=n+(s-n)*u(t);if(o(e,t),1===t)return delete Me[c],void(r&&r(e));p.last={pos:e,progress:t},p.timer=requestAnimationFrame(d)},p=Me[c]={cancel:a,timer:requestAnimationFrame(d)};return c}function Ee(t){if(t){var e=Me[t];e&&e.timer&&(cancelAnimationFrame(e.timer),e.cancel&&e.cancel(e.last),delete Me[t])}}var Oe={start:Be,stop:Ee},Ne={data:function(){return{inFullscreen:!1}},watch:{$route:function(){this.exitFullscreen()},inFullscreen:function(t){this.$emit("fullscreen",t)}},methods:{toggleFullscreen:function(){this.inFullscreen?this.exitFullscreen():this.setFullscreen()},setFullscreen:function(){this.inFullscreen||(this.inFullscreen=!0,this.container=this.$el.parentNode,this.container.replaceChild(this.fullscreenFillerNode,this.$el),document.body.appendChild(this.$el),document.body.classList.add("q-body-fullscreen-mixin"),this.__historyFullscreen={handler:this.exitFullscreen},c.add(this.__historyFullscreen))},exitFullscreen:function(){this.inFullscreen&&(this.__historyFullscreen&&(c.remove(this.__historyFullscreen),this.__historyFullscreen=null),this.container.replaceChild(this.$el,this.fullscreenFillerNode),document.body.classList.remove("q-body-fullscreen-mixin"),this.inFullscreen=!1)}},beforeMount:function(){this.fullscreenFillerNode=document.createElement("span")},beforeDestroy:function(){this.exitFullscreen()}},ze={name:"QCarousel",mixins:[Ne],directives:{TouchPan:we},props:{value:Number,color:{type:String,default:"primary"},height:String,arrows:Boolean,infinite:Boolean,animation:{type:[Number,Boolean],default:!0},easing:Function,swipeEasing:Function,noSwipe:Boolean,autoplay:[Number,Boolean],handleArrowKeys:Boolean,quickNav:Boolean,quickNavPosition:{type:String,default:"bottom",validator:function(t){return["top","bottom"].includes(t)}},quickNavIcon:String,thumbnails:{type:Array,default:function(){return[]}},thumbnailsIcon:String,thumbnailsHorizontal:Boolean},provide:function(){return{carousel:this}},data:function(){return{position:0,slide:0,positionSlide:0,slidesNumber:0,animUid:!1,viewThumbnails:!1}},watch:{value:function(t){t!==this.slide&&this.goToSlide(t)},autoplay:function(){this.__planAutoPlay()},infinite:function(){this.__planAutoPlay()},handleArrowKeys:function(t){this.__setArrowKeys(t)}},computed:{rtlDir:function(){return this.$q.i18n.rtl?-1:1},arrowIcon:function(){var t=[this.$q.icon.carousel.left,this.$q.icon.carousel.right];return this.$q.i18n.rtl?t.reverse():t},trackPosition:function(){return{transform:"translateX("+this.rtlDir*this.position+"%)"}},infiniteLeft:function(){return this.infinite&&this.slidesNumber>1&&this.positionSlide<0},infiniteRight:function(){return this.infinite&&this.slidesNumber>1&&this.positionSlide>=this.slidesNumber},canGoToPrevious:function(){return this.infinite?this.slidesNumber>1:this.slide>0},canGoToNext:function(){return this.infinite?this.slidesNumber>1:this.slidei.slide?"next":"previous",i.infinite?(i.slide=Pt(t,0,i.slidesNumber-1),n=Pt(t,-1,i.slidesNumber),e||(i.positionSlide=n)):(i.slide=Tt(t,0,i.slidesNumber-1),i.positionSlide=i.slide,n=i.slide)),i.$emit("slide-trigger",r,i.slide,o),n*=-100,!i.animation)return i.position=n,void a();i.animationInProgress=!0,i.animUid=Be({from:i.position,to:n,duration:xe(i.animation)?i.animation:300,easing:e?i.swipeEasing||Pe:i.easing||Te,apply:function(t){i.position=t},done:function(){i.infinite&&(i.position=100*-i.slide,i.positionSlide=i.slide),i.animationInProgress=!1,a()}})})},stopAnimation:function(){Ee(this.animUid),this.animationInProgress=!1},__pan:function(t){var e=this;if(!this.infinite||!this.animationInProgress){t.isFirst&&(this.initialPosition=this.position,this.__cleanup());var i=this.rtlDir*("left"===t.direction?-1:1)*t.distance.x;(this.infinite&&this.slidesNumber<2||!this.infinite&&(0===this.slide&&i>0||this.slide===this.slidesNumber-1&&i<0))&&(i=0);var s=this.initialPosition+i/this.$refs.track.offsetWidth*100,n=this.slide+this.rtlDir*("left"===t.direction?1:-1);this.position!==s&&(this.position=s),this.positionSlide!==n&&(this.positionSlide=n),t.isFinal&&this.goToSlide(t.distance.x<40?this.slide:this.positionSlide,!0).then(function(){delete e.initialPosition})}},__planAutoPlay:function(){var t=this;this.$nextTick(function(){t.autoplay&&(clearTimeout(t.timer),t.timer=setTimeout(t.next,xe(t.autoplay)?t.autoplay:5e3))})},__cleanup:function(){this.stopAnimation(),clearTimeout(this.timer)},__handleArrowKey:function(t){var e=E(t);37===e?this.previous():39===e&&this.next()},__setArrowKeys:function(t){document[(!0===t?"add":"remove")+"EventListener"]("keydown",this.__handleArrowKey)},__registerSlide:function(){this.slidesNumber++},__unregisterSlide:function(){this.slidesNumber--},__getScopedSlots:function(t){var e=this;if(0!==this.slidesNumber){var i=this.$scopedSlots;return i?Object.keys(i).filter(function(t){return t.startsWith("control-")}).map(function(t){return i[t](e.slotScope)}):void 0}},__getQuickNav:function(t){var e=this;if(0!==this.slidesNumber&&this.quickNav){var i=this.$scopedSlots["quick-nav"],s=[];if(i)for(var n=function(t){s.push(i({slide:t,before:te.slide,color:e.color,goToSlide:function(i){e.goToSlide(i||t)}}))},o=0;o=e&&t.$emit("input",e-1)},{immediate:!0})},beforeDestroy:function(){this.__cleanup(),this.__stopSlideNumberNotifier(),this.handleArrowKeys&&this.__setArrowKeys(!1)}},De={name:"QCarouselSlide",inject:{carousel:{default:function(){console.error("QCarouselSlide needs to be child of QCarousel")}}},props:{imgSrc:String},computed:{computedStyle:function(){var t={};return this.imgSrc&&(t.backgroundImage="url("+this.imgSrc+")",t.backgroundSize="cover",t.backgroundPosition="50%"),!this.carousel.inFullscreen&&this.carousel.height&&(t.maxHeight=this.carousel.height),t}},render:function(t){return t("div",{staticClass:"q-carousel-slide relative-position scroll",style:this.computedStyle},this.$slots.default)},created:function(){this.carousel.__registerSlide()},beforeDestroy:function(){this.carousel.__unregisterSlide()}},Re={name:"QCarouselControl",props:{position:{type:String,default:"bottom-right"},offset:{type:Array,default:function(){return[18,18]}}},computed:{computedClass:function(){return"absolute-"+this.position},computedStyle:function(){return{margin:this.offset[1]+"px "+this.offset[0]+"px"}}},render:function(t){return t("div",{staticClass:"q-carousel-control absolute",style:this.computedStyle,class:this.computedClass},this.$slots.default)}},Ie={name:"QChatMessage",props:{sent:Boolean,label:String,bgColor:String,textColor:String,name:String,avatar:String,text:Array,stamp:String,size:String},computed:{textClass:function(){if(this.textColor)return"text-"+this.textColor},messageClass:function(){if(this.bgColor)return"text-"+this.bgColor},sizeClass:function(){if(this.size)return"col-"+this.size},classes:function(){return{"q-message-sent":this.sent,"q-message-received":!this.sent}}},methods:{__getText:function(t){var e=this;return this.text.map(function(i,s){return t("div",{staticClass:"q-message-text",class:e.messageClass},[t("span",{staticClass:"q-message-text-content",class:e.textClass},[t("div",{domProps:{innerHTML:i}}),e.stamp?t("div",{staticClass:"q-message-stamp",domProps:{innerHTML:e.stamp}}):null])])})},__getMessage:function(t){return t("div",{staticClass:"q-message-text",class:this.messageClass},[t("span",{staticClass:"q-message-text-content",class:this.textClass},[this.$slots.default,this.stamp?t("div",{staticClass:"q-message-stamp",domProps:{innerHTML:this.stamp}}):null])])}},render:function(t){return t("div",{staticClass:"q-message",class:this.classes},[this.label?t("div",{staticClass:"q-message-label text-center",domProps:{innerHTML:this.label}}):null,t("div",{staticClass:"q-message-container row items-end no-wrap"},[this.$slots.avatar||(this.avatar?t("img",{staticClass:"q-message-avatar col-auto",attrs:{src:this.avatar}}):null),t("div",{class:this.sizeClass},[this.name?t("div",{staticClass:"q-message-name",domProps:{innerHTML:this.name}}):null,this.text?this.__getText(t):null,this.$slots.default?this.__getMessage(t):null])])])}};var He={name:"touch-swipe",bind:function(t,e){var i,s,n=!e.modifiers.noMouse,o={handler:e.value,threshold:parseInt(e.arg,10)||300,direction:(i=e.modifiers,s={},["left","right","up","down","horizontal","vertical"].forEach(function(t){i[t]&&(s[t]=!0)}),0===Object.keys(s).length?{left:!0,right:!0,up:!0,down:!0,horizontal:!0,vertical:!0}:(s.horizontal&&(s.left=s.right=!0),s.vertical&&(s.up=s.down=!0),s.left&&s.right&&(s.horizontal=!0),s.up&&s.down&&(s.vertical=!0),s)),mouseStart:function(t){B(t)&&(document.addEventListener("mousemove",o.move),document.addEventListener("mouseup",o.mouseEnd),o.start(t))},mouseEnd:function(t){document.removeEventListener("mousemove",o.move),document.removeEventListener("mouseup",o.mouseEnd),o.end(t)},start:function(e){var i=O(e);o.event={x:i.left,y:i.top,time:(new Date).getTime(),detected:!1,abort:!1},t.classList.add("q-touch")},move:function(t){if(!o.event.abort)if((new Date).getTime()-o.event.time>o.threshold)o.event.abort=!0;else{if(o.event.detected)return t.stopPropagation(),void t.preventDefault();var e=O(t),i=e.left-o.event.x,s=Math.abs(i),n=e.top-o.event.y,r=Math.abs(n);s!==r&&(o.event.detected=!0,o.event.abort=!(o.direction.vertical&&sr||o.direction.up&&s0||o.direction.left&&s>r&&i<0||o.direction.right&&s>r&&i>0),o.move(t))}},end:function(e){if(t.classList.remove("q-touch"),!o.event.abort&&o.event.detected){var i=(new Date).getTime()-o.event.time;if(!(i>o.threshold)){e.stopPropagation(),e.preventDefault();var s,n=O(e),r=n.left-o.event.x,a=Math.abs(r),l=n.top-o.event.y,c=Math.abs(l);if(a>=c){if(a<50)return;s=r<0?"left":"right"}else{if(c<50)return;s=l<0?"up":"down"}o.direction[s]&&o.handler({evt:e,direction:s,duration:i,distance:{x:a,y:c}})}}}};t.__qtouchswipe=o,n&&t.addEventListener("mousedown",o.mouseStart),t.addEventListener("touchstart",o.start),t.addEventListener("touchmove",o.move),t.addEventListener("touchend",o.end)},update:function(t,e){e.oldValue!==e.value&&(t.__qtouchswipe.handler=e.value)},unbind:function(t,e){var i=t.__qtouchswipe;i&&(t.removeEventListener("mousedown",i.mouseStart),t.removeEventListener("touchstart",i.start),t.removeEventListener("touchmove",i.move),t.removeEventListener("touchend",i.end),delete t.__qtouchswipe)}},Ae={directives:{TouchSwipe:He},props:{val:{},trueValue:{default:!0},falseValue:{default:!1}},computed:{isTrue:function(){return this.modelIsArray?this.index>-1:this.value===this.trueValue},isFalse:function(){return this.modelIsArray?-1===this.index:this.value===this.falseValue},index:function(){if(this.modelIsArray)return this.value.indexOf(this.val)},modelIsArray:function(){return Array.isArray(this.value)}},methods:{toggle:function(t,e){var i;(void 0===e&&(e=!0),this.disable||this.readonly)||(t&&H(t),e&&this.$el.blur(),this.modelIsArray?this.isTrue?(i=this.value.slice()).splice(this.index,1):i=this.value.concat(this.val):i=this.isTrue?this.toggleIndeterminate?this.indeterminateValue:this.falseValue:this.isFalse?this.trueValue:this.falseValue,this.__update(i))}}},Fe={props:{value:{required:!0},label:String,leftLabel:Boolean,color:{type:String,default:"primary"},keepColor:Boolean,dark:Boolean,disable:Boolean,readonly:Boolean,noFocus:Boolean,checkedIcon:String,uncheckedIcon:String},computed:{classes:function(){return[this.__kebabTag,{disabled:this.disable,reverse:this.leftLabel,"q-focusable":this.focusable}]},innerClasses:function(){return this.isTrue||this.isIndeterminate?["active","text-"+this.color]:"text-"+(this.keepColor?this.color:this.dark?"light":"faded")},focusable:function(){return!this.noFocus&&!this.disable&&!this.readonly},tabindex:function(){return this.focusable?0:-1}},methods:{__update:function(t){var e=this,i=this.$refs.ripple;i&&(i.classList.add("active"),setTimeout(function(){i.classList.remove("active")},10)),this.$emit("input",t),this.$nextTick(function(){JSON.stringify(t)!==JSON.stringify(e.value)&&e.$emit("change",t)})},__handleKeyDown:function(t){[13,32].includes(E(t))&&this.toggle(t,!1)}},render:function(t){var e=this;return t("div",{staticClass:"q-option cursor-pointer no-outline row inline no-wrap items-center",class:this.classes,attrs:{tabindex:this.tabindex},on:{click:this.toggle,focus:function(){e.$emit("focus")},blur:function(){e.$emit("blur")},keydown:this.__handleKeyDown},directives:"q-toggle"!==this.__kebabTag||this.disable||this.readonly?null:[{name:"touch-swipe",modifiers:{horizontal:!0},value:this.__swipe}]},[t("div",{staticClass:"q-option-inner relative-position",class:this.innerClasses},[t("input",{attrs:{type:"checkbox"},on:{change:this.toggle}}),this.$q.platform.is.desktop?t("div",{staticClass:"q-focus-helper",class:"q-radio"===this.__kebabTag?"q-focus-helper-round":"q-focus-helper-rounded"}):null,this.__getContent(t)]),this.label?t("span",{staticClass:"q-option-label",domProps:{innerHTML:this.label}}):null,this.$slots.default])}},Qe={name:"QCheckbox",mixins:[Ae,Fe],props:{toggleIndeterminate:Boolean,indeterminateValue:{default:null},indeterminateIcon:String},computed:{isIndeterminate:function(){return void 0===this.value||this.value===this.indeterminateValue},checkedStyle:function(){return this.isTrue?{transition:"opacity 0ms cubic-bezier(0.23, 1, 0.32, 1) 0ms, transform 800ms cubic-bezier(0.23, 1, 0.32, 1) 0ms",opacity:1,transform:"scale(1)"}:{transition:"opacity 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms, transform 0ms cubic-bezier(0.23, 1, 0.32, 1) 450ms",opacity:0,transform:"scale(0)"}},indeterminateStyle:function(){return this.isIndeterminate?{transition:"opacity 0ms cubic-bezier(0.23, 1, 0.32, 1) 0ms, transform 800ms cubic-bezier(0.23, 1, 0.32, 1) 0ms",opacity:1,transform:"scale(1)"}:{transition:"opacity 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms, transform 0ms cubic-bezier(0.23, 1, 0.32, 1) 450ms",opacity:0,transform:"scale(0)"}},uncheckedStyle:function(){return this.isFalse?{opacity:1}:{transition:"opacity 650ms cubic-bezier(0.23, 1, 0.32, 1) 150ms",opacity:0}}},methods:{__getContent:function(t){return[t(ut,{staticClass:"q-checkbox-icon cursor-pointer",props:{name:this.uncheckedIcon||this.$q.icon.checkbox.unchecked.ios},style:this.uncheckedStyle}),t(ut,{staticClass:"q-checkbox-icon cursor-pointer absolute-full",props:{name:this.indeterminateIcon||this.$q.icon.checkbox.indeterminate.ios},style:this.indeterminateStyle}),t(ut,{staticClass:"q-checkbox-icon cursor-pointer absolute-full",props:{name:this.checkedIcon||this.$q.icon.checkbox.checked.ios},style:this.checkedStyle}),null]}},beforeCreate:function(){this.__kebabTag="q-checkbox"}},je={name:"QChip",props:{small:Boolean,dense:Boolean,tag:Boolean,square:Boolean,floating:Boolean,pointing:{type:String,validator:function(t){return["up","right","down","left"].includes(t)}},color:String,textColor:String,icon:String,iconRight:String,avatar:String,closable:Boolean,detail:Boolean},computed:{classes:function(){var t=this,e=[];return this.pointing&&e.push("q-chip-pointing-"+this.pointing),["tag","square","floating","pointing","small","dense"].forEach(function(i){t[i]&&e.push("q-chip-"+i)}),this.floating&&(!this.dense&&e.push("q-chip-dense"),!this.square&&e.push("q-chip-square")),this.color&&(e.push("bg-"+this.color),!this.textColor&&e.push("text-white")),this.textColor&&e.push("text-"+this.textColor),e}},methods:{__onClick:function(t){this.$emit("click",t)},__onMouseDown:function(t){this.$emit("focus",t)},__handleKeyDown:function(t){this.closable&&[8,13,32].includes(E(t))&&(H(t),this.$emit("hide"))}},render:function(t){var e=this;return t("div",{staticClass:"q-chip row no-wrap inline items-center",class:this.classes,on:{mousedown:this.__onMouseDown,touchstart:this.__onMouseDown,click:this.__onClick,keydown:this.__handleKeyDown}},[this.icon||this.avatar?t("div",{staticClass:"q-chip-side q-chip-left row flex-center",class:{"q-chip-detail":this.detail}},[this.icon?t(ut,{staticClass:"q-chip-icon",props:{name:this.icon}}):this.avatar?t("img",{attrs:{src:this.avatar}}):null]):null,t("div",{staticClass:"q-chip-main ellipsis q-popup--skip"},this.$slots.default),this.iconRight?t(ut,{props:{name:this.iconRight},class:this.closable?"on-right q-chip-icon":"q-chip-side q-chip-right"}):null,this.closable?t("div",{staticClass:"q-chip-side q-chip-close q-chip-right row flex-center"},[t(ut,{props:{name:this.$q.icon.chip.close},staticClass:"cursor-pointer",nativeOn:{click:function(t){t&&t.stopPropagation(),e.$emit("hide")}}})]):null])}},Ve={type:Array,validator:function(t){return t.every(function(t){return"icon"in t})}},We={mixins:[Ft],props:{prefix:String,suffix:String,stackLabel:String,floatLabel:String,placeholder:String,error:Boolean,warning:Boolean,disable:Boolean,readonly:Boolean,clearable:Boolean,color:{type:String,default:"primary"},align:{default:"left"},dark:Boolean,before:Ve,after:Ve,inverted:Boolean,invertedLight:Boolean,hideUnderline:Boolean,clearValue:{},noParentField:Boolean},computed:{inputPlaceholder:function(){if(!this.floatLabel&&!this.stackLabel||this.labelIsAbove)return this.placeholder},isInverted:function(){return this.inverted||this.invertedLight},isInvertedLight:function(){return this.isInverted&&(this.invertedLight&&!this.hasError||this.inverted&&this.hasWarning)},isStandard:function(){return!this.isInverted},isHideUnderline:function(){return this.isStandard&&this.hideUnderline},labelIsAbove:function(){return this.focused||this.length||this.additionalLength||this.stackLabel},hasContent:function(){return this.length>0||this.additionalLength>0||this.placeholder||0===this.placeholder},editable:function(){return!this.disable&&!this.readonly},computedClearValue:function(){return void 0===this.clearValue?null:this.clearValue},isClearable:function(){return this.editable&&this.clearable&&this.computedClearValue!==this.model},hasError:function(){return!!(!this.noParentField&&this.field&&this.field.error||this.error)},hasWarning:function(){return!(this.hasError||!(!this.noParentField&&this.field&&this.field.warning||this.warning))},fakeInputValue:function(){return this.actualValue||0===this.actualValue?this.actualValue:this.placeholder||0===this.placeholder?this.placeholder:""},fakeInputClasses:function(){var t=this.actualValue||0===this.actualValue;return[this.alignClass,{invisible:(this.stackLabel||this.floatLabel)&&!this.labelIsAbove&&!t,"q-input-target-placeholder":!t&&this.inputPlaceholder}]}},methods:{clear:function(t){if(this.editable){t&&H(t);var e=this.computedClearValue;this.__setModel&&this.__setModel(e,!0),this.$emit("clear",e)}}}},Ke={props:{autofocus:[Boolean,String],maxHeight:Number,loading:Boolean},data:function(){return{focused:!1,timer:null,isNumberError:!1,isNegZero:!1}},methods:{focus:function(){this.disable||this.$refs.input.focus()},blur:function(){this.$refs.input&&this.$refs.input.blur()},select:function(){this.$refs.input.select()},__onFocus:function(t){clearTimeout(this.timer),this.focused||(this.focused=!0,this.$refs.input&&this.$refs.input.focus(),this.$emit("focus",t))},__onInputBlur:function(t){var e=this;clearTimeout(this.timer),this.timer=setTimeout(function(){e.__onBlur(t)},200)},__onBlur:function(t,e){this.focused&&(this.focused=!1,this.$emit("blur",t)),this.__emit(e)},__emit:function(t){var e=this,i=this.isNumber&&this.isNumberError,s=i?this.isNegZero?-0:null:this.model;this.isNumber&&(this.model=this.value),i&&this.$emit("input",s);var n=function(){e.isNumber?(s=parseFloat(s),Number.isInteger(e.decimals)&&(s=parseFloat(s.toFixed(e.decimals))),String(1/s)!==String(1/e.value)&&e.$emit("change",s)):JSON.stringify(s)!==JSON.stringify(e.value)&&e.$emit("change",s)};t?n():this.$nextTick(n)},__onKeydown:function(t){13===t.keyCode&&("textarea"===this.type?t.stopPropagation():this.__emit()),this.$emit("keydown",t)},__onKeyup:function(t){this.$emit("keyup",t)},__onClick:function(t){this.focus(),this.$emit("click",t)},__onPaste:function(t){this.$emit("paste",t)}},mounted:function(){var t=this;this.$nextTick(function(){var e=t.$refs.input;t.autofocus&&e&&(e.focus(),"select"===t.autofocus&&e.select())})},beforeDestroy:function(){clearTimeout(this.timer),this.focused&&this.__onBlur(void 0,!0)}},Ue={inject:{field:{from:"__field",default:null}},props:{noParentField:Boolean},watch:{noParentField:function(t){this.field&&this.field[t?"__registerInput":"__unregisterInput"](this)}},beforeMount:function(){!this.noParentField&&this.field&&this.field.__registerInput(this)},beforeDestroy:function(){!this.noParentField&&this.field&&this.field.__unregisterInput(this)}},Ye={name:"QInputFrame",mixins:[We,Ue],props:{focused:Boolean,length:Number,focusable:Boolean,additionalLength:Boolean},computed:{hasStackLabel:function(){return"string"==typeof this.stackLabel&&this.stackLabel.length>0},hasLabel:function(){return this.hasStackLabel||"string"==typeof this.floatLabel&&this.floatLabel.length>0},label:function(){return this.hasStackLabel?this.stackLabel:this.floatLabel},addonClass:function(){return{"q-if-addon-visible":!this.hasLabel||this.labelIsAbove}},classes:function(){var t=[{"q-if-has-label":this.label,"q-if-focused":this.focused,"q-if-error":this.hasError,"q-if-warning":this.hasWarning,"q-if-disabled":this.disable,"q-if-readonly":this.readonly,"q-if-focusable":this.focusable&&!this.disable,"q-if-inverted":this.isInverted,"q-if-inverted-light":this.isInvertedLight,"q-if-light-color":this.lightColor,"q-if-dark":this.dark,"q-if-hide-underline":this.isHideUnderline,"q-if-standard":this.isStandard,"q-if-has-content":this.hasContent}],e=this.hasError?"negative":this.hasWarning?"warning":this.color;return this.isInverted?(t.push("bg-"+e),t.push("text-"+(this.isInvertedLight?"black":"white"))):e&&t.push("text-"+e),t}},methods:{__onClick:function(t){this.$emit("click",t)},__onMouseDown:function(t){var e=this;!this.disable&&this.$nextTick(function(){return e.$emit("focus",t)})},__additionalHidden:function(t,e,i,s){return void 0!==t.condition?!1===t.condition:void 0!==t.content&&!t.content==s>0||void 0!==t.error&&!t.error===e||void 0!==t.warning&&!t.warning===i},__baHandler:function(t,e){e.allowPropagation||t.stopPropagation(),e.handler&&e.handler(t)}},render:function(t){var e=this;return t("div",{staticClass:"q-if row no-wrap relative-position",class:this.classes,attrs:{tabindex:this.focusable&&!this.disable?0:-1},on:{click:this.__onClick}},[t("div",{staticClass:"q-if-baseline"},"|"),this.before&&this.before.map(function(i){return t(ut,{key:"b"+i.icon,staticClass:"q-if-control q-if-control-before",class:[i.class,{hidden:e.__additionalHidden(i,e.hasError,e.hasWarning,e.length)}],props:{name:i.icon},nativeOn:{mousedown:e.__onMouseDown,touchstart:e.__onMouseDown,click:function(t){e.__baHandler(t,i)}}})})||void 0,t("div",{staticClass:"q-if-inner col column q-popup--skip"},[t("div",{staticClass:"row no-wrap relative-position"},[this.prefix&&t("span",{staticClass:"q-if-addon q-if-addon-left",class:this.addonClass,domProps:{innerHTML:this.prefix}})||void 0,this.hasLabel&&t("div",{staticClass:"q-if-label",class:{"q-if-label-above":this.labelIsAbove}},[t("div",{staticClass:"q-if-label-inner ellipsis",domProps:{innerHTML:this.label}})])||void 0].concat(this.$slots.default).concat([this.suffix&&t("span",{staticClass:"q-if-addon q-if-addon-right",class:this.addonClass,domProps:{innerHTML:this.suffix}})||void 0])),this.hasLabel&&t("div",{staticClass:"q-if-label-spacer",domProps:{innerHTML:this.label}})||void 0]),this.after&&this.after.map(function(i){return t(ut,{key:"a"+i.icon,staticClass:"q-if-control",class:[i.class,{hidden:e.__additionalHidden(i,e.hasError,e.hasWarning,e.length)}],props:{name:i.icon},nativeOn:{mousedown:e.__onMouseDown,touchstart:e.__onMouseDown,click:function(t){e.__baHandler(t,i)}}})})||void 0].concat(this.$slots.after))}},Je={name:"QChipsInput",mixins:[We,Ke],props:{value:{type:Array,required:!0},chipsColor:String,chipsBgColor:String,readonly:Boolean,addIcon:String,upperCase:Boolean,lowerCase:Boolean},data:function(){var t=this;return{input:"",model:this.value.slice(),watcher:null,shadow:{val:this.input,set:this.add,setNav:function(e){t.input=e},loading:!1,selectionOpen:!1,watched:0,isEditable:function(){return t.editable},isDark:function(){return t.dark},hasFocus:function(){return document.activeElement===t.$refs.input},register:function(){t.shadow.watched+=1,t.__watcherRegister()},unregister:function(){t.shadow.watched=Math.max(0,t.shadow.watched-1),t.__watcherUnregister()},getEl:function(){return t.$refs.input}}}},watch:{value:function(t){this.model=t.slice()}},provide:function(){return{__input:this.shadow}},computed:{length:function(){return this.model?this.model.length:0},isLoading:function(){return this.loading||this.shadow.watched&&this.shadow.loading},computedAddIcon:function(){return this.addIcon||this.$q.icon.chipsInput.add},computedChipTextColor:function(){return this.chipsColor?this.chipsColor:this.isInvertedLight?this.invertedLight?this.color:"white":this.isInverted?this.invertedLight?"grey-10":this.color:this.dark?this.color:"white"},computedChipBgColor:function(){return this.chipsBgColor?this.chipsBgColor:this.isInvertedLight?this.invertedLight?"grey-10":this.color:this.isInverted?this.invertedLight?this.color:"white":this.dark?"white":this.color},inputClasses:function(){var t=[this.alignClass];return this.upperCase&&t.push("uppercase"),this.lowerCase&&t.push("lowercase"),t},isClearable:function(){return this.editable&&this.clearable&&0!==this.model.length}},methods:{add:function(t){if(void 0===t&&(t=this.input),clearTimeout(this.timer),this.focus(),!this.isLoading&&this.editable&&t){var e=this.lowerCase?t.toLowerCase():this.upperCase?t.toUpperCase():t;this.model.includes(e)?this.$emit("duplicate",e):(this.$emit("add",{index:this.model.length,val:e}),this.model.push(e),this.$emit("input",this.model),this.input="")}},remove:function(t){clearTimeout(this.timer),this.focus(),this.editable&&t>=0&&t0},on:{click:this.__onClick}},[t("div",{staticClass:"col row items-center q-input-chips"},this.model.map(function(i,s){return t(je,{key:i+"#"+s,props:{small:!0,closable:e.editable,color:e.computedChipBgColor,textColor:e.computedChipTextColor},attrs:{tabindex:e.editable&&e.focused?0:-1},on:{blur:e.__onInputBlur,focus:e.__clearTimer,hide:function(){e.remove(s)}},nativeOn:{blur:e.__onInputBlur,focus:e.__clearTimer}},i)}).concat([t("input",{ref:"input",staticClass:"col q-input-target",class:this.inputClasses,domProps:{value:this.input},attrs:Object.assign({},this.$attrs,{placeholder:this.inputPlaceholder,disabled:this.disable,readonly:this.readonly}),on:{input:function(t){e.input=t.target.value},focus:this.__onFocus,blur:this.__onInputBlur,keydown:this.__handleKeyDown,keyup:this.__onKeyup}})])),this.isLoading?this.$slots.loading?t("div",{staticClass:"q-if-control",slot:"after"},this.$slots.loading):t(Kt,{slot:"after",staticClass:"q-if-control",props:{size:"24px"}}):this.editable&&t(ut,{slot:"after",staticClass:"q-if-control",class:{invisible:0===this.input.length},props:{name:this.computedAddIcon},nativeOn:{mousedown:this.__clearTimer,touchstart:this.__clearTimer,click:function(){e.add()}}})||void 0,this.isClearable&&t(ut,{slot:"after",staticClass:"q-if-control",props:{name:this.$q.icon.input["clear"+(this.isInverted?"Inverted":"")]},nativeOn:{mousedown:this.__clearTimer,touchstart:this.__clearTimer,click:this.clear}})||void 0].concat(this.$slots.default?t("div",{staticClass:"absolute-full no-pointer-events",slot:"after"},this.$slots.default):void 0))}},Xe={name:"QItemTile",props:{icon:String,letter:Boolean,inverted:Boolean,image:Boolean,avatar:Boolean,stamp:Boolean,label:Boolean,sublabel:Boolean,lines:[Number,String],tag:{type:String,default:"div"},color:String,textColor:String},computed:{hasLines:function(){return(this.label||this.sublabel)&&this.lines},type:function(){var t=this;return["icon","label","sublabel","image","avatar","letter","stamp"].find(function(e){return t[e]})},classes:function(){var t=[];return this.color&&(this.inverted?t.push("bg-"+this.color):this.textColor||t.push("text-"+this.color)),this.textColor&&t.push("text-"+this.textColor),this.type&&t.push("q-item-"+this.type),this.inverted&&(this.icon||this.letter)&&(t.push("q-item-inverted"),t.push("flex"),t.push("flex-center")),!this.hasLines||"1"!==this.lines&&1!==this.lines||t.push("ellipsis"),t},style:function(){if(this.hasLines)return gt(this.lines)}},render:function(t){var e={class:this.classes,style:this.style};if(this.icon){if(this.inverted)return t(this.tag,e,[t(ut,{props:{name:this.icon}},this.$slots.default)]);e.props={name:this.icon}}return t(this.icon?ut:this.tag,e,this.$slots.default)}},Ge={name:"QSlideTransition",props:{appear:Boolean,duration:{type:Number,default:300}},methods:{__begin:function(t,e,i){t.style.overflowY="hidden",void 0!==e&&(t.style.height=e+"px"),t.style.transition="height "+this.duration+"ms cubic-bezier(.25, .8, .50, 1)",this.animating=!0,this.done=i},__end:function(t,e){t.style.overflowY=null,t.style.height=null,t.style.transition=null,this.__cleanup(),e!==this.lastEvent&&this.$emit(e)},__cleanup:function(){this.done&&this.done(),this.done=null,this.animating=!1,clearTimeout(this.timer),this.el.removeEventListener("transitionend",this.animListener),this.animListener=null}},beforeDestroy:function(){this.animating&&this.__cleanup()},render:function(t){var e=this;return t("transition",{props:{css:!1,appear:this.appear},on:{enter:function(t,i){var s=0;e.el=t,!0===e.animating?(e.__cleanup(),s=t.offsetHeight===t.scrollHeight?0:void 0):e.lastEvent="hide",e.__begin(t,s,i),e.timer=setTimeout(function(){t.style.height=t.scrollHeight+"px",e.animListener=function(){e.__end(t,"show")},t.addEventListener("transitionend",e.animListener)},100)},leave:function(t,i){var s;e.el=t,!0===e.animating?e.__cleanup():(e.lastEvent="show",s=t.scrollHeight),e.__begin(t,s,i),e.timer=setTimeout(function(){t.style.height=0,e.animListener=function(){e.__end(t,"hide")},t.addEventListener("transitionend",e.animListener)},100)}}},this.$slots.default)}},Ze="q:collapsible:close",ti={name:"QCollapsible",mixins:[L,bt,{props:vt}],modelToggle:{history:!1},props:{disable:Boolean,popup:Boolean,indent:Boolean,group:String,iconToggle:Boolean,collapseIcon:String,opened:Boolean,duration:Number,headerStyle:[Array,String,Object],headerClass:[Array,String,Object]},computed:{classes:function(){return{"q-collapsible-opened":this.showing,"q-collapsible-closed":!this.showing,"q-collapsible-popup-opened":this.popup&&this.showing,"q-collapsible-popup-closed":this.popup&&!this.showing,"q-collapsible-cursor-pointer":!this.separateToggle,"q-item-dark":this.dark,"q-item-separator":this.separator,"q-item-inset-separator":this.insetSeparator,disabled:this.disable}},separateToggle:function(){return this.iconToggle||void 0!==this.to}},watch:{showing:function(t){t&&this.group&&this.$root.$emit(Ze,this)}},methods:{__toggleItem:function(){this.separateToggle||this.toggle()},__toggleIcon:function(t){this.separateToggle&&(t&&H(t),this.toggle())},__eventHandler:function(t){this.group&&this!==t&&t.group===this.group&&this.hide()},__getToggleSide:function(t,e){return[t(Xe,{slot:e?"right":void 0,staticClass:"cursor-pointer transition-generic relative-position q-collapsible-toggle-icon",class:{"rotate-180":this.showing,invisible:this.disable},nativeOn:{click:this.__toggleIcon},props:{icon:this.collapseIcon||this.$q.icon.collapsible.icon}})]},__getItemProps:function(t){return{props:t?{cfg:this.$props}:this.$props,style:this.headerStyle,class:this.headerClass,nativeOn:{click:this.__toggleItem}}}},created:function(){this.$root.$on(Ze,this.__eventHandler),(this.opened||this.value)&&this.show()},beforeDestroy:function(){this.$root.$off(Ze,this.__eventHandler)},render:function(t){return t(this.tag,{staticClass:"q-collapsible q-item-division relative-position",class:this.classes},[t("div",{staticClass:"q-collapsible-inner"},[this.$slots.header?t(_t,this.__getItemProps(),[this.$slots.header,t(yt,{props:{right:!0},staticClass:"relative-position"},this.__getToggleSide(t))]):t(ae,this.__getItemProps(!0),this.__getToggleSide(t,!0)),t(Ge,{props:{duration:this.duration}},[t("div",{directives:[{name:"show",value:this.showing}]},[t("div",{staticClass:"q-collapsible-sub-item relative-position",class:{indent:this.indent}},this.$slots.default)])])])])}},ei={props:{popover:Boolean,modal:Boolean},computed:{isPopover:function(){return!!this.popover||!this.modal&&(this.$q.platform.is.desktop&&!this.$q.platform.within.iframe)}}};function ii(t,e,i){var s=Tt((O(t).left-e.left)/e.width,0,1);return i?1-s:s}function si(t,e){var i=e?parseFloat(t.toFixed(e)):t;return i!==parseInt(i,10)}function ni(t,e,i,s,n){var o=e+t*(i-e),r=(o-e)%s;return o+=(Math.abs(r)>=s/2?(r<0?-1:1)*s:0)-r,n&&(o=parseFloat(o.toFixed(n))),Tt(o,e,i)}var oi={directives:{TouchPan:we},props:{min:{type:Number,default:1},max:{type:Number,default:5},step:{type:Number,default:1},decimals:Number,snap:Boolean,markers:Boolean,label:Boolean,labelAlways:Boolean,square:Boolean,color:String,fillHandleAlways:Boolean,error:Boolean,warning:Boolean,readonly:Boolean,disable:Boolean},computed:{editable:function(){return!this.disable&&!this.readonly},classes:function(){var t={disabled:this.disable,readonly:this.readonly,"label-always":this.labelAlways,"has-error":this.error,"has-warning":this.warning};return this.error||this.warning||!this.color||(t["text-"+this.color]=!0),t},markersLen:function(){return(this.max-this.min)/this.step+1},labelColor:function(){return this.error?"negative":this.warning?"warning":this.color||"primary"},computedDecimals:function(){return void 0!==this.decimals?this.decimals||0:(String(this.step).trim("0").split(".")[1]||"").length},computedStep:function(){return void 0!==this.decimals?1/Math.pow(10,this.decimals||0):this.step}},methods:{__pan:function(t){var e=this;t.isFinal?this.dragging&&(this.dragTimer=setTimeout(function(){e.dragging=!1},100),this.__end(t.evt),this.__update(!0)):t.isFirst?(clearTimeout(this.dragTimer),this.dragging=this.__getDragging(t.evt)):this.dragging&&(this.__move(t.evt),this.__update())},__update:function(t){var e=this;JSON.stringify(this.model)!==JSON.stringify(this.value)&&(this.$emit("input",this.model),t&&this.$nextTick(function(){JSON.stringify(e.model)!==JSON.stringify(e.value)&&e.$emit("change",e.model)}))},__click:function(t){if(!this.dragging){var e=this.__getDragging(t);e&&(this.__end(t,e),this.__update(!0))}},__getMarkers:function(t){if(this.markers){for(var e=[],i=0;ithis.max?this.model=this.max:this.model=t,this.currentPercentage=(this.model-this.min)/(this.max-this.min))},min:function(t){this.modelt?this.model=t:this.$nextTick(this.__validateProps)},step:function(){this.$nextTick(this.__validateProps)}},methods:{__getDragging:function(t){var e=this.$refs.handle;return{left:e.getBoundingClientRect().left,width:e.offsetWidth}},__move:function(t){var e=ii(t,this.dragging,this.$q.i18n.rtl);this.currentPercentage=e,this.model=ni(e,this.min,this.max,this.step,this.computedDecimals)},__end:function(t,e){void 0===e&&(e=this.dragging);var i=ii(t,e,this.$q.i18n.rtl);this.model=ni(i,this.min,this.max,this.step,this.computedDecimals),this.currentPercentage=(this.model-this.min)/(this.max-this.min)},__onKeyDown:function(t){var e=t.keyCode;if(this.editable&&[37,40,39,38].includes(e)){H(t);var i=this.computedDecimals,s=t.ctrlKey?10*this.computedStep:this.computedStep,n=[37,40].includes(e)?-s:s,o=i?parseFloat((this.model+n).toFixed(i)):this.model+n;this.model=Tt(o,this.min,this.max),this.currentPercentage=(this.model-this.min)/(this.max-this.min),this.__update()}},__onKeyUp:function(t){var e=t.keyCode;this.editable&&[37,40,39,38].includes(e)&&this.__update(!0)},__validateProps:function(){this.min>=this.max?console.error("Range error: min >= max",this.$el,this.min,this.max):si((this.max-this.min)/this.step,this.computedDecimals)&&console.error("Range error: step must be a divisor of max - min",this.min,this.max,this.step,this.computedDecimals)},__getContent:function(t){var e;return[t("div",{staticClass:"q-slider-track active-track",style:{width:this.percentage},class:{"no-transition":this.dragging,"handle-at-minimum":this.model===this.min}}),t("div",{staticClass:"q-slider-handle",style:(e={},e[this.$q.i18n.rtl?"right":"left"]=this.percentage,e.borderRadius=this.square?"0":"50%",e),class:{dragging:this.dragging,"handle-at-minimum":!this.fillHandleAlways&&this.model===this.min},attrs:{tabindex:this.$q.platform.is.desktop?this.editable?0:-1:void 0},on:{keydown:this.__onKeyDown,keyup:this.__onKeyUp}},[this.label||this.labelAlways?t(je,{staticClass:"q-slider-label no-pointer-events",class:{"label-always":this.labelAlways},props:{pointing:"down",square:!0,dense:!0,color:this.labelColor}},[this.displayValue]):null,null])]}}};function ai(t,e){void 0===e&&(e=250);var i,s=!1;return function(){for(var n=[],o=arguments.length;o--;)n[o]=arguments[o];return s?i:(s=!0,i=t.apply(this,n),setTimeout(function(){s=!1},e),i)}}function li(t){var e=JSON.stringify(t);if(e)return JSON.parse(e)}var ci={name:"QColorPicker",mixins:[Ue],directives:{TouchPan:we},props:{value:[String,Object],defaultValue:{type:[String,Object],default:null},formatModel:{type:String,default:"auto",validator:function(t){return["auto","hex","rgb","hexa","rgba"].includes(t)}},disable:Boolean,readonly:Boolean,dark:Boolean},data:function(){return{view:this.value&&"string"!=typeof this.value?"rgb":"hex",model:this.__parseModel(this.value||this.defaultValue)}},watch:{value:{handler:function(t){var e=this.__parseModel(t||this.defaultValue);e.hex!==this.model.hex&&(this.model=e)},deep:!0}},computed:{forceHex:function(){return"auto"===this.formatModel?null:this.formatModel.indexOf("hex")>-1},forceAlpha:function(){return"auto"===this.formatModel?null:this.formatModel.indexOf("a")>-1},isHex:function(){return"string"==typeof this.value},isOutputHex:function(){return null!==this.forceHex?this.forceHex:this.isHex},editable:function(){return!this.disable&&!this.readonly},hasAlpha:function(){return null!==this.forceAlpha?this.forceAlpha:this.isHex?this.value.trim().length>7:this.value&&void 0!==this.value.a},swatchColor:function(){return{backgroundColor:"rgba("+this.model.r+","+this.model.g+","+this.model.b+","+(void 0===this.model.a?100:this.model.a)/100+")"}},saturationStyle:function(){return{background:"hsl("+this.model.h+",100%,50%)"}},saturationPointerStyle:function(){var t;return(t={top:101-this.model.v+"%"})[this.$q.i18n.rtl?"right":"left"]=this.model.s+"%",t},inputsArray:function(){var t=["r","g","b"];return this.hasAlpha&&t.push("a"),t},__needsBorder:function(){return!0}},created:function(){this.__saturationChange=ai(this.__saturationChange,20)},render:function(t){return t("div",{staticClass:"q-color",class:{disabled:this.disable,"q-color-dark":this.dark}},[this.__getSaturation(t),this.__getSliders(t),this.__getInputs(t)])},methods:{__getSaturation:function(t){return t("div",{ref:"saturation",staticClass:"q-color-saturation non-selectable relative-position overflow-hidden cursor-pointer",style:this.saturationStyle,class:{readonly:!this.editable},on:this.editable?{click:this.__saturationClick}:null,directives:this.editable?[{name:"touch-pan",modifiers:{mightPrevent:!0},value:this.__saturationPan}]:null},[t("div",{staticClass:"q-color-saturation-white absolute-full"}),t("div",{staticClass:"q-color-saturation-black absolute-full"}),t("div",{staticClass:"absolute",style:this.saturationPointerStyle},[void 0!==this.model.hex?t("div",{staticClass:"q-color-saturation-circle"}):null])])},__getSliders:function(t){var e=this;return t("div",{staticClass:"q-color-sliders row items-center"},[t("div",{staticClass:"q-color-swatch q-mt-sm q-ml-md q-mb-sm non-selectable overflow-hidden"},[t("div",{style:this.swatchColor,staticClass:"fit"})]),t("div",{staticClass:"col q-pa-sm"},[t("div",{staticClass:"q-color-hue non-selectable"},[t(ri,{props:{value:this.model.h,color:"white",min:0,max:360,fillHandleAlways:!0,readonly:!this.editable},on:{input:this.__onHueChange,dragend:function(t){return e.__onHueChange(t,!0)}}})]),this.hasAlpha?t("div",{staticClass:"q-color-alpha non-selectable"},[t(ri,{props:{value:this.model.a,color:"white",min:0,max:100,fillHandleAlways:!0,readonly:!this.editable},on:{input:function(t){return e.__onNumericChange({target:{value:t}},"a",100)},dragend:function(t){return e.__onNumericChange({target:{value:t}},"a",100,!0)}}})]):null])])},__getNumericInputs:function(t){var e=this;return this.inputsArray.map(function(i){var s="a"===i?100:255;return t("div",{staticClass:"col q-color-padding"},[t("input",{attrs:{type:"number",min:0,max:s,readonly:!e.editable,tabindex:e.editable?0:-1},staticClass:"full-width text-center q-no-input-spinner",domProps:{value:void 0===e.model.hex?"":Math.round(e.model[i])},on:{input:function(t){return e.__onNumericChange(t,i,s)},blur:function(t){return e.editable&&e.__onNumericChange(t,i,s,!0)}}}),t("div",{staticClass:"q-color-label text-center uppercase"},[i])])})},__getInputs:function(t){var e=this;return t("div",{staticClass:"q-color-inputs row items-center q-px-sm q-pb-sm"},[t("div",{staticClass:"col q-mr-sm row no-wrap"},"hex"===this.view?[t("div",{staticClass:"col"},[t("input",{domProps:{value:this.model.hex},attrs:{readonly:!this.editable,tabindex:this.editable?0:-1},on:{change:this.__onHexChange,blur:function(t){return e.editable&&e.__onHexChange(t,!0)}},staticClass:"full-width text-center uppercase"}),t("div",{staticClass:"q-color-label text-center"},["HEX"+(this.hasAlpha?" / A":"")])])]:this.__getNumericInputs(t)),t("div",[t(Ut,{props:{flat:!0,disable:this.disable},on:{click:this.__nextInputView},staticClass:"q-pa-none"},[t("svg",{attrs:{viewBox:"0 0 24 24"},style:{width:"24px",height:"24px"}},[t("path",{attrs:{fill:"currentColor",d:"M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z"}})])])])])},__onSaturationChange:function(t,e,i){var s=this.$refs.saturation;if(s){var n=s.clientWidth,o=s.clientHeight,r=s.getBoundingClientRect(),a=Math.min(n,Math.max(0,t-r.left));this.$q.i18n.rtl&&(a=n-a);var l=Math.min(o,Math.max(0,e-r.top)),c=Math.round(100*a/n),h=Math.round(100*Math.max(0,Math.min(1,-l/o+1))),u=f({h:this.model.h,s:c,v:h,a:this.hasAlpha?this.model.a:void 0});this.model.s=c,this.model.v=h,this.__update(u,d(u),i)}},__onHueChange:function(t,e){var i=f({h:t=Math.round(t),s:this.model.s,v:this.model.v,a:this.hasAlpha?this.model.a:void 0});this.model.h=t,this.__update(i,d(i),e)},__onNumericChange:function(t,e,i,s){var n=Number(t.target.value);if(!isNaN(n))if((n=Math.floor(n))<0||n>i)s&&this.$forceUpdate();else{var o={r:"r"===e?n:this.model.r,g:"g"===e?n:this.model.g,b:"b"===e?n:this.model.b,a:this.hasAlpha?"a"===e?n:this.model.a:void 0};if("a"!==e){var r=m(o);this.model.h=r.h,this.model.s=r.s,this.model.v=r.v}this.__update(o,d(o),s)}},__onHexChange:function(t,e){var i=t.target.value,s=i.length,n=this.hasAlpha?[5,9]:[4,7];if(s===n[0]||s===n[1]){var o=p(i),r=m(o);this.model.h=r.h,this.model.s=r.s,this.model.v=r.v,this.__update(o,i,e)}else e&&this.$forceUpdate()},__update:function(t,e,i){var s=this,n=this.isOutputHex?e:t;this.model.hex=e,this.model.r=t.r,this.model.g=t.g,this.model.b=t.b,this.model.a=this.hasAlpha?t.a:void 0,this.$emit("input",n),this.$nextTick(function(){i&&JSON.stringify(n)!==JSON.stringify(s.value)&&s.$emit("change",n)})},__nextInputView:function(){this.view="hex"===this.view?"rgba":"hex"},__parseModel:function(t){if(null===t||void 0===t)return{h:0,s:0,v:0,r:0,g:0,b:0,hex:void 0,a:100};var e="string"==typeof t?p(t.trim()):li(t);return this.forceAlpha===(void 0===e.a)&&(e.a=this.forceAlpha?100:void 0),e.hex=d(e),Object.assign({a:100},e,m(e))},__saturationPan:function(t){t.isFinal?this.__dragStop(t):t.isFirst?this.__dragStart(t):this.__dragMove(t)},__dragStart:function(t){H(t.evt),this.saturationDragging=!0,this.__saturationChange(t)},__dragMove:function(t){this.saturationDragging&&(H(t.evt),this.__saturationChange(t))},__dragStop:function(t){var e=this;H(t.evt),setTimeout(function(){e.saturationDragging=!1},100),this.__onSaturationChange(t.position.left,t.position.top,!0)},__saturationChange:function(t){this.__onSaturationChange(t.position.left,t.position.top)},__saturationClick:function(t){this.saturationDragging||this.__onSaturationChange(t.pageX-window.pageXOffset,t.pageY-window.pageYOffset,!0)}}},hi={maxHeight:"80vh",height:"auto",boxShadow:"none",backgroundColor:"#e4e4e4"},ui={name:"QColor",mixins:[We,ei],props:{value:{required:!0},color:{type:String,default:"primary"},defaultValue:{type:[String,Object],default:null},formatModel:{type:String,default:"auto",validator:function(t){return["auto","hex","rgb","hexa","rgba"].includes(t)}},displayValue:String,okLabel:String,cancelLabel:String},watch:{value:function(t){!this.disable&&this.isPopover&&(this.model=li(t))}},data:function(){var t=this.isPopover?{}:{transition:"q-modal-bottom"};return t.focused=!1,t.model=li(this.value||this.defaultValue),t},computed:{actualValue:function(){return this.displayValue?this.displayValue:this.value?"string"==typeof this.value?this.value:"rgb"+(void 0!==this.value.a?"a":"")+"("+this.value.r+","+this.value.g+","+this.value.b+(void 0!==this.value.a?","+this.value.a/100:"")+")":""},computedClearValue:function(){return void 0===this.clearValue?this.defaultValue:this.clearValue},isClearable:function(){return this.editable&&this.clearable&&JSON.stringify(this.computedClearValue)!==JSON.stringify(this.value)},modalBtnColor:function(){return this.dark?"light":"dark"}},methods:{toggle:function(){this.$refs.popup&&this[this.$refs.popup.showing?"hide":"show"]()},show:function(){if(!this.disable)return this.__setModel(this.value||this.defaultValue),this.$refs.popup.show()},hide:function(){return this.$refs.popup?this.$refs.popup.hide():Promise.resolve()},__handleKeyDown:function(t){switch(E(t)){case 13:case 32:return H(t),this.show();case 8:this.isClearable&&this.clear()}},__onFocus:function(){this.disable||this.focused||(this.model=li(this.value||this.defaultValue),this.focused=!0,this.$emit("focus"))},__onBlur:function(t){var e=this;this.focused&&setTimeout(function(){var t=document.activeElement;e.$refs.popup&&e.$refs.popup.showing&&(t===document.body||e.$refs.popup.$el.contains(t))||(e.__onHide(),e.hide())},1)},__onHide:function(t,e){(t||this.isPopover)&&this.__update(t),this.focused&&(e?this.$el.focus():(this.$emit("blur"),this.focused=!1))},__setModel:function(t,e){this.model=li(t),(e||this.isPopover)&&this.__update(e)},__hasModelChanged:function(){return JSON.stringify(this.model)!==JSON.stringify(this.value)},__update:function(t){var e=this;this.$nextTick(function(){e.__hasModelChanged()&&(e.$emit("input",e.model),t&&e.$emit("change",e.model))})},__getPicker:function(t,e){var i=this,s=[t(ci,{staticClass:"no-border"+(e?" full-width":""),props:Object.assign({},this.$attrs,{value:this.model,disable:this.disable,readonly:this.readonly,formatModel:this.formatModel,dark:this.dark,noParentField:!0}),on:{input:function(t){return i.$nextTick(function(){return i.__setModel(t)})}}})];return e&&s.unshift(t("div",{staticClass:"modal-buttons modal-buttons-top row full-width",class:this.dark?"bg-black":null},[t("div",{staticClass:"col"}),t(Ut,{props:{color:this.modalBtnColor,flat:!0,label:this.cancelLabel||this.$q.i18n.label.cancel,noRipple:!0},on:{click:function(){i.__onHide(!1,!0),i.hide()}}}),this.editable?t(Ut,{props:{color:this.modalBtnColor,flat:!0,label:this.okLabel||this.$q.i18n.label.set,noRipple:!0,disable:!this.model},on:{click:function(){i.__onHide(!0,!0),i.hide()}}}):null])),s}},render:function(t){var e=this;return t(Ye,{staticClass:"q-color-input",props:{prefix:this.prefix,suffix:this.suffix,stackLabel:this.stackLabel,floatLabel:this.floatLabel,error:this.error,warning:this.warning,disable:this.disable,readonly:this.readonly,inverted:this.inverted,invertedLight:this.invertedLight,dark:this.dark,hideUnderline:this.hideUnderline,before:this.before,after:this.after,color:this.color,noParentField:this.noParentField,focused:this.focused||this.$refs.popup&&this.$refs.popup.showing,focusable:!0,length:this.actualValue.length},nativeOn:{click:this.toggle,focus:this.__onFocus,blur:this.__onBlur,keydown:this.__handleKeyDown}},[t("div",{staticClass:"col q-input-target ellipsis",class:this.fakeInputClasses},[this.fakeInputValue]),this.isPopover?t(oe,{ref:"popup",props:{cover:!0,keepOnScreen:!0,disable:this.disable,anchorClick:!1,maxHeight:"100vh"},slot:"after",on:{show:this.__onFocus,hide:function(){return e.__onHide(!0,!0)}}},this.__getPicker(t)):t(ht,{ref:"popup",staticClass:"with-backdrop",props:{contentCss:hi,minimized:!1,position:"bottom",transition:this.transition},on:{dismiss:function(){return e.__onHide(!1,!0)}}},this.__getPicker(t,!0)),this.isClearable?t(ut,{slot:"after",props:{name:this.$q.icon.input["clear"+(this.isInverted?"Inverted":"")]},nativeOn:{click:this.clear},staticClass:"q-if-control"}):null,t(ut,{slot:"after",props:{name:this.$q.icon.input.dropdown},staticClass:"q-if-control"})])}},di={name:"QContextMenu",props:{disable:Boolean},data:function(){return{mobile:this.$q.platform.is.mobile}},methods:{hide:function(t){if(this.$refs.popup)return this.mobile&&this.target.classList.remove("non-selectable"),this.$refs.popup.hide(t)},show:function(t){var e=this;this.disable||(this.mobile?this.$refs.popup&&(this.event=t,this.$refs.popup.show(t)):t&&(H(t),setTimeout(function(){e.$refs.popup&&(e.event=t,e.$refs.popup.show(t))},100)))},__desktopBodyHide:function(t){this.$el.contains(t.target)||this.hide(t)},__desktopOnShow:function(){document.body.addEventListener("contextmenu",this.__desktopBodyHide,!0),document.body.addEventListener("click",this.__desktopBodyHide,!0),this.$emit("show",this.event)},__desktopOnHide:function(t){document.body.removeEventListener("contextmenu",this.__desktopBodyHide,!0),document.body.removeEventListener("click",this.__desktopBodyHide,!0),this.$emit("hide",this.event,t)},__mobileTouchStartHandler:function(t){var e=this;this.__mobileCleanup(),t&&t.touches&&t.touches.length>1||(this.target.classList.add("non-selectable"),this.touchTimer=setTimeout(function(){t&&H(t),e.__mobileCleanup(),setTimeout(function(){e.show(t)},10)},600))},__mobileCleanup:function(){this.target.classList.remove("non-selectable"),clearTimeout(this.touchTimer)}},render:function(t){var e=this;return this.mobile?t(ht,{ref:"popup",props:{minimized:!0},on:{show:function(){e.$emit("show",e.event)},hide:function(t){e.$emit("hide",e.event,t)}}},this.$slots.default):t(oe,{ref:"popup",props:{anchorClick:!1,touchPosition:!0},on:{show:this.__desktopOnShow,hide:this.__desktopOnHide}},this.$slots.default)},mounted:function(){var t=this;this.mobile?this.$nextTick(function(){t.target=t.$el.parentNode,t.target.addEventListener("touchstart",t.__mobileTouchStartHandler),["touchcancel","touchmove","touchend"].forEach(function(e){t.target.addEventListener(e,t.__mobileCleanup)})}):(this.target=this.$el.parentNode,this.target.addEventListener("contextmenu",this.show))},beforeDestroy:function(){var t=this;this.mobile?(this.target.removeEventListener("touchstart",this.__mobileTouchStartHandler),["touchcancel","touchmove","touchend"].forEach(function(e){t.target.removeEventListener(e,t.__mobileCleanup)})):this.target.removeEventListener("contextmenu",this.show)}},pi=function(t){var e=typeof t;return null===t||void 0===t||"number"===e||"string"===e||Ce(t)},fi={value:{validator:pi,required:!0},defaultValue:{type:[String,Number,Date],default:null},type:{type:String,default:"date",validator:function(t){return["date","time","datetime"].includes(t)}},color:{type:String,default:"primary"},dark:Boolean,min:{validator:pi,default:null},max:{validator:pi,default:null},headerLabel:String,firstDayOfWeek:Number,formatModel:{type:String,default:"auto",validator:function(t){return["auto","date","number","string"].includes(t)}},format24h:{type:[Boolean,Number],default:0,validator:function(t){return[!0,!1,0].includes(t)}},defaultView:{type:String,validator:function(t){return["year","month","day","hour","minute"].includes(t)}},minimal:Boolean},mi={format:String,okLabel:String,cancelLabel:String,displayValue:String},gi=864e5,vi=36e5,bi=6e4,_i=/\[((?:[^\]\\]|\\]|\\)*)\]|d{1,4}|M{1,4}|m{1,2}|w{1,2}|Qo|Do|D{1,4}|YY(?:YY)?|H{1,2}|h{1,2}|s{1,2}|S{1,3}|Z{1,2}|a{1,2}|[AQExX]/g,yi=/^[0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}:[0-9]{2}(.[0-9]{6})?$/;function wi(t,e){void 0===e&&(e="");var i=t>0?"-":"+",s=Math.abs(t),n=s%60;return i+Lt(Math.floor(s/60))+e+Lt(n)}function Ci(t,e){var i=new Date(t.getFullYear(),e,0,0,0,0,0).getDate();t.setMonth(e-1,Math.min(i,t.getDate()))}function xi(t){return new Date("string"==typeof t&&null!==yi.exec(t)?t.substring(0,23).replace(" ","T"):t)}function ki(t,e,i){var s=xi(t),n=i?1:-1;return Object.keys(e).forEach(function(t){if("month"!==t){var i="year"===t?"FullYear":$t("days"===t?"date":t);s["set"+i](s["get"+i]()+n*e[t])}else Ci(s,s.getMonth()+1+n*e.month)}),s}function Si(t){if("number"==typeof t)return!0;var e=Date.parse(t);return!1===isNaN(e)}function qi(t){var e=new Date(t.getFullYear(),t.getMonth(),t.getDate());e.setDate(e.getDate()-(e.getDay()+6)%7+3);var i=new Date(e.getFullYear(),0,4);i.setDate(i.getDate()-(i.getDay()+6)%7+3);var s=e.getTimezoneOffset()-i.getTimezoneOffset();e.setHours(e.getHours()-s);var n=(e-i)/(7*gi);return 1+Math.floor(n)}function $i(t,e,i){var s=xi(t),n="set"+(i?"UTC":"");return Object.keys(e).forEach(function(t){if("month"!==t){var i="year"===t?"FullYear":t.charAt(0).toUpperCase()+t.slice(1);s[""+n+i](e[t])}else Ci(s,e.month)}),s}function Ti(t,e){var i=xi(t);switch(e){case"year":i.setMonth(0);case"month":i.setDate(1);case"day":i.setHours(0);case"hour":i.setMinutes(0);case"minute":i.setSeconds(0);case"second":i.setMilliseconds(0)}return i}function Pi(t,e,i){return(t.getTime()-t.getTimezoneOffset()*bi-(e.getTime()-e.getTimezoneOffset()*bi))/i}function Li(t,e,i){void 0===i&&(i="days");var s=xi(t),n=xi(e);switch(i){case"years":return s.getFullYear()-n.getFullYear();case"months":return 12*(s.getFullYear()-n.getFullYear())+s.getMonth()-n.getMonth();case"days":return Pi(Ti(s,"day"),Ti(n,"day"),gi);case"hours":return Pi(Ti(s,"hour"),Ti(n,"hour"),vi);case"minutes":return Pi(Ti(s,"minute"),Ti(n,"minute"),bi);case"seconds":return Pi(Ti(s,"second"),Ti(n,"second"),1e3)}}function Mi(t){return Li(t,Ti(t,"year"),"days")+1}function Bi(t){return Ce(t)?"date":"number"==typeof t?"number":"string"}function Ei(t,e,i){if(t||0===t)switch(e){case"date":return t;case"number":return t.getTime();default:return Ii(t,i)}}function Oi(t,e,i){var s=xi(t);if(e){var n=xi(e);if(so)return o}return s}function Ni(t,e,i){var s=xi(t),n=xi(e);if(void 0===i)return s.getTime()===n.getTime();switch(i){case"second":if(s.getSeconds()!==n.getSeconds())return!1;case"minute":if(s.getMinutes()!==n.getMinutes())return!1;case"hour":if(s.getHours()!==n.getHours())return!1;case"day":if(s.getDate()!==n.getDate())return!1;case"month":if(s.getMonth()!==n.getMonth())return!1;case"year":if(s.getFullYear()!==n.getFullYear())return!1;break;default:throw new Error("date isSameDate unknown unit "+i)}return!0}function zi(t){return new Date(t.getFullYear(),t.getMonth()+1,0).getDate()}function Di(t){if(t>=11&&t<=13)return t+"th";switch(t%10){case 1:return t+"st";case 2:return t+"nd";case 3:return t+"rd"}return t+"th"}var Ri={YY:function(t){return Lt(t.getFullYear(),4).substr(2)},YYYY:function(t){return Lt(t.getFullYear(),4)},M:function(t){return t.getMonth()+1},MM:function(t){return Lt(t.getMonth()+1)},MMM:function(t,e){return void 0===e&&(e={}),(e.monthNamesShort||u.lang.date.monthsShort)[t.getMonth()]},MMMM:function(t,e){return void 0===e&&(e={}),(e.monthNames||u.lang.date.months)[t.getMonth()]},Q:function(t){return Math.ceil((t.getMonth()+1)/3)},Qo:function(t){return Di(this.Q(t))},D:function(t){return t.getDate()},Do:function(t){return Di(t.getDate())},DD:function(t){return Lt(t.getDate())},DDD:function(t){return Mi(t)},DDDD:function(t){return Lt(Mi(t),3)},d:function(t){return t.getDay()},dd:function(t){return this.dddd(t).slice(0,2)},ddd:function(t,e){return void 0===e&&(e={}),(e.dayNamesShort||u.lang.date.daysShort)[t.getDay()]},dddd:function(t,e){return void 0===e&&(e={}),(e.dayNames||u.lang.date.days)[t.getDay()]},E:function(t){return t.getDay()||7},w:function(t){return qi(t)},ww:function(t){return Lt(qi(t))},H:function(t){return t.getHours()},HH:function(t){return Lt(t.getHours())},h:function(t){var e=t.getHours();return 0===e?12:e>12?e%12:e},hh:function(t){return Lt(this.h(t))},m:function(t){return t.getMinutes()},mm:function(t){return Lt(t.getMinutes())},s:function(t){return t.getSeconds()},ss:function(t){return Lt(t.getSeconds())},S:function(t){return Math.floor(t.getMilliseconds()/100)},SS:function(t){return Lt(Math.floor(t.getMilliseconds()/10))},SSS:function(t){return Lt(t.getMilliseconds(),3)},A:function(t){return this.H(t)<12?"AM":"PM"},a:function(t){return this.H(t)<12?"am":"pm"},aa:function(t){return this.H(t)<12?"a.m.":"p.m."},Z:function(t){return wi(t.getTimezoneOffset(),":")},ZZ:function(t){return wi(t.getTimezoneOffset())},X:function(t){return Math.floor(t.getTime()/1e3)},x:function(t){return t.getTime()}};function Ii(t,e,i){if(void 0===e&&(e="YYYY-MM-DDTHH:mm:ss.SSSZ"),0===t||t){var s=xi(t);return e.replace(_i,function(t,e){return t in Ri?Ri[t](s,i):void 0===e?t:e.split("\\]").join("]")})}}function Hi(t){return Ce(t)?new Date(t.getTime()):t}var Ai={isValid:Si,buildDate:function(t,e){return $i(new Date,t,e)},getDayOfWeek:function(t){var e=xi(t).getDay();return 0===e?7:e},getWeekOfYear:qi,isBetweenDates:function(t,e,i,s){void 0===s&&(s={});var n=xi(e).getTime(),o=xi(i).getTime(),r=xi(t).getTime();return s.inclusiveFrom&&n--,s.inclusiveTo&&o++,r>n&&r0;)e[i]=arguments[i+1];var s=xi(t);return e.forEach(function(t){s=Math.max(s,xi(t))}),s},getMinDate:function(t){for(var e=[],i=arguments.length-1;i-- >0;)e[i]=arguments[i+1];var s=xi(t);return e.forEach(function(t){s=Math.min(s,xi(t))}),s},getDateDiff:Li,getDayOfYear:Mi,inferDateFormat:Bi,convertDateToFormat:Ei,getDateBetween:Oi,isSameDate:Ni,daysInMonth:zi,formatter:Ri,formatDate:Ii,matchFormat:function(t){return void 0===t&&(t=""),t.match(_i)},clone:Hi},Fi=/^\d{4}[^\d]\d{2}[^\d]\d{2}/,Qi={name:"QDatetimePicker",mixins:[{props:fi,computed:{computedValue:function(){return"date"===this.type&&"string"===this.formatModel&&Fi.test(this.value)?this.value.slice(0,10).split(/[^\d]/).join("/"):this.value},computedDefaultValue:function(){return"date"===this.type&&"string"===this.formatModel&&Fi.test(this.defaultValue)?this.defaultValue.slice(0,10).split(/[^\d]+/).join("/"):this.defaultValue},computedDateFormat:function(){if("date"===this.type&&"string"===this.formatModel)return"YYYY/MM/DD HH:mm:ss"},model:{get:function(){return Si(this.computedValue)?new Date(this.computedValue):this.computedDefaultValue?new Date(this.computedDefaultValue):Ti(new Date,"day")},set:function(t){var e=this,i=Ei(Oi(t,this.pmin,this.pmax),"auto"===this.formatModel?Bi(this.value):this.formatModel,this.computedDateFormat);this.$emit("input",i),this.$nextTick(function(){Ni(i,e.value)||e.$emit("change",i)})}},pmin:function(){return this.min?new Date(this.min):null},pmax:function(){return this.max?new Date(this.max):null},typeHasDate:function(){return"date"===this.type||"datetime"===this.type},typeHasTime:function(){return"time"===this.type||"datetime"===this.type},year:function(){return this.model.getFullYear()},month:function(){return this.model.getMonth()+1},day:function(){return this.model.getDate()},minute:function(){return this.model.getMinutes()},currentYear:function(){return(new Date).getFullYear()},yearInterval:function(){return{min:null!==this.pmin?this.pmin.getFullYear():(this.year||this.currentYear)-80,max:null!==this.pmax?this.pmax.getFullYear():(this.year||this.currentYear)+80}},monthInterval:function(){return{min:this.monthMin,max:null!==this.pmax&&this.pmax.getFullYear()===this.year?this.pmax.getMonth():11}},monthMin:function(){return null!==this.pmin&&this.pmin.getFullYear()===this.year?this.pmin.getMonth():0},daysInMonth:function(){return new Date(this.year,this.model.getMonth()+1,0).getDate()},editable:function(){return!this.disable&&!this.readonly},__needsBorder:function(){return!0}},methods:{toggleAmPm:function(){if(this.editable){var t=this.model.getHours(),e=this.am?12:-12;this.model=new Date(new Date(this.model).setHours(t+e))}},__parseTypeValue:function(t,e){return"month"===t?Pt(e,1,12):"date"===t?Pt(e,1,this.daysInMonth):"year"===t?Pt(e,this.yearInterval.min,this.yearInterval.max):"hour"===t?Pt(e,0,23):"minute"===t?Pt(e,0,59):void 0}}},Ue,ne],directives:{TouchPan:we},props:{defaultValue:[String,Number,Date],disable:Boolean,readonly:Boolean},data:function(){return{monthDragOffset:0,dateDragOffset:0,yearDragOffset:0,hourDragOffset:0,minuteDragOffset:0,dragging:!1}},watch:{model:function(){this.$nextTick(this.__updateAllPositions)}},computed:{classes:function(){var t=["type-"+this.type];return this.disable&&t.push("disabled"),this.readonly&&t.push("readonly"),this.dark&&t.push("q-datetime-dark"),this.minimal&&t.push("q-datetime-minimal"),t},dateInterval:function(){return{min:null!==this.pmin&&Ni(this.pmin,this.model,"month")?this.pmin.getDate():1,max:null!==this.pmax&&Ni(this.pmax,this.model,"month")?this.pmax.getDate():this.daysInMonth}},hour:function(){return this.model.getHours()},hourInterval:function(){return{min:this.pmin&&Ni(this.pmin,this.model,"day")?this.pmin.getHours():0,max:this.pmax&&Ni(this.pmax,this.model,"day")?this.pmax.getHours():23}},minuteInterval:function(){return{min:this.pmin&&Ni(this.pmin,this.model,"hour")?this.pmin.getMinutes():0,max:this.pmax&&Ni(this.pmax,this.model,"hour")?this.pmax.getMinutes():59}},__monthStyle:function(){return this.__colStyle(82-36*(this.month-1+this.monthDragOffset))},__dayStyle:function(){return this.__colStyle(82-36*(this.day+this.dateDragOffset))},__yearStyle:function(){return this.__colStyle(82-36*(this.year+this.yearDragOffset))},__hourStyle:function(){return this.__colStyle(82-36*(this.hour+this.hourDragOffset))},__minuteStyle:function(){return this.__colStyle(82-36*(this.minute+this.minuteDragOffset))}},methods:{setYear:function(t){this.editable&&(this.model=new Date(this.model.setFullYear(this.__parseTypeValue("year",t))))},setMonth:function(t){this.editable&&(this.model=$i(this.model,{month:t}))},setDay:function(t){this.editable&&(this.model=new Date(this.model.setDate(this.__parseTypeValue("date",t))))},setHour:function(t){this.editable&&(this.model=new Date(this.model.setHours(this.__parseTypeValue("hour",t))))},setMinute:function(t){this.editable&&(this.model=new Date(this.model.setMinutes(this.__parseTypeValue("minute",t))))},setView:function(){},__pad:function(t,e){return(t<10?e||"0":"")+t},__scrollView:function(){},__updateAllPositions:function(){var t=this;this.$nextTick(function(){t.typeHasDate&&(t.__updatePositions("month",t.model.getMonth()),t.__updatePositions("date",t.model.getDate()),t.__updatePositions("year",t.model.getFullYear())),t.typeHasTime&&(t.__updatePositions("hour",t.model.getHours()),t.__updatePositions("minute",t.model.getMinutes()))})},__updatePositions:function(t,e){var i=this,s=this.$refs[t];if(s){var n=this[t+"Interval"].min-e;[].slice.call(s.children).forEach(function(t){W(t,i.__itemStyle(36*e,Tt(-18*n,-180,180))),n++})}},__colStyle:function(t){return{"-webkit-transform":"translate3d(0,"+t+"px,0)","-ms-transform":"translate3d(0,"+t+"px,0)",transform:"translate3d(0,"+t+"px,0)"}},__itemStyle:function(t,e){return{"-webkit-transform":"translate3d(0, "+t+"px, 0) rotateX("+e+"deg)","-ms-transform":"translate3d(0, "+t+"px, 0) rotateX("+e+"deg)",transform:"translate3d(0, "+t+"px, 0) rotateX("+e+"deg)"}},__dragMonth:function(t){this.__drag(t,"month")},__dragDate:function(t){this.__drag(t,"date")},__dragYear:function(t){this.__drag(t,"year")},__dragHour:function(t){this.__drag(t,"hour")},__dragMinute:function(t){this.__drag(t,"minute")},__drag:function(t,e){this[t.isFirst?"__dragStart":t.isFinal?"__dragStop":"__dragMove"](t.evt,e)},__dragStart:function(t,e){this.editable&&(this[e+"DragOffset"]=0,this.dragging=e,this.__actualType="date"===e?"day":e,this.__typeOffset="month"===e?-1:0,this.__dragPosition=O(t).top)},__dragMove:function(t,e){if(this.dragging===e&&this.editable){var i=(this.__dragPosition-O(t).top)/36;this[e+"DragOffset"]=i,this.__updatePositions(e,this[this.__actualType]+i+this.__typeOffset)}},__dragStop:function(t,e){var i=this;if(this.dragging===e&&this.editable){this.dragging=!1;var s=Math.round(this[e+"DragOffset"]),n=this.__parseTypeValue(e,this[this.__actualType]+s);n!==this[this.__actualType]?this["set"+$t(this.__actualType)](n):this.__updatePositions(e,this[this.__actualType]+this.__typeOffset),this.$nextTick(function(){i[e+"DragOffset"]=0})}},__getInterval:function(t,e,i){for(var s=e.min,n=e.max,o=[],r=s;r<=n;r++)o.push(i(r));return o},__getSection:function(t,e,i,s,n,o,r){return t("div",{staticClass:"q-datetime-col q-datetime-col-"+e,directives:[{name:"touch-pan",modifiers:{vertical:!0},value:s}]},[t("div",{ref:i,staticClass:"q-datetime-col-wrapper",style:n},this.__getInterval(t,o,r))])},__getDateSection:function(t){var e=this;return[this.__getSection(t,"month","month",this.__dragMonth,this.__monthStyle,this.monthInterval,function(i){return t("div",{key:"mi"+i,staticClass:"q-datetime-item"},[e.$q.i18n.date.months[i]])}),this.__getSection(t,"day","date",this.__dragDate,this.__dayStyle,this.dateInterval,function(e){return t("div",{key:"di"+e,staticClass:"q-datetime-item"},[e])}),this.__getSection(t,"year","year",this.__dragYear,this.__yearStyle,this.yearInterval,function(e){return t("div",{key:"yi"+e,staticClass:"q-datetime-item"},[e])})]},__getTimeSection:function(t){var e=this;return[this.__getSection(t,"hour","hour",this.__dragHour,this.__hourStyle,this.hourInterval,function(e){return t("div",{key:"hi"+e,staticClass:"q-datetime-item"},[e])}),this.__getSection(t,"minute","minute",this.__dragMinute,this.__minuteStyle,this.minuteInterval,function(i){return t("div",{key:"ni"+i,staticClass:"q-datetime-item"},[e.__pad(i)])})]}},mounted:function(){this.$nextTick(this.__updateAllPositions)},render:function(t){if(this.canRender)return t("div",{staticClass:"q-datetime",class:this.classes},[].concat(this.$slots.default).concat([t("div",{staticClass:"q-datetime-content non-selectable"},[t("div",{staticClass:"q-datetime-inner full-height flex justify-center",on:{touchstart:H}},[this.typeHasDate&&this.__getDateSection(t)||void 0,this.typeHasTime&&this.__getTimeSection(t)||void 0]),t("div",{staticClass:"q-datetime-mask"}),t("div",{staticClass:"q-datetime-highlight"})])]))}},ji={maxHeight:"80vh",height:"auto",boxShadow:"none",backgroundColor:"#e4e4e4"},Vi={name:"QDatetime",mixins:[We,ei,ne],props:Object.assign({},mi,fi),watch:{value:function(t){!this.disable&&this.isPopover&&(this.model=Hi(t))}},data:function(){return{transition:null,model:null,focused:!1}},created:function(){this.model=Hi(this.computedValue),this.isPopover||(this.transition="q-modal-bottom")},computed:{computedFormat:function(){return this.format?this.format:"date"===this.type?"YYYY/MM/DD":"time"===this.type?"HH:mm":"YYYY/MM/DD HH:mm:ss"},actualValue:function(){return this.displayValue?this.displayValue:Si(this.value)&&this.canRender?Ii(this.value,this.computedFormat,this.$q.i18n.date):""},computedValue:function(){return Si(this.value)?this.value:this.defaultValue||Ti(new Date,"day")},computedClearValue:function(){return void 0===this.clearValue?this.defaultValue:this.clearValue},isClearable:function(){return this.editable&&this.clearable&&!Ni(this.computedClearValue,this.value)},modalBtnColor:function(){return this.dark?"light":"dark"}},methods:{toggle:function(){this.$refs.popup&&this[this.$refs.popup.showing?"hide":"show"]()},show:function(){if(!this.disable)return this.__setModel(this.computedValue),this.$refs.popup.show()},hide:function(){return this.$refs.popup?this.$refs.popup.hide():Promise.resolve()},__handleKeyDown:function(t){switch(E(t)){case 13:case 32:return H(t),this.show();case 8:this.isClearable&&this.clear()}},__onFocus:function(){this.disable||this.focused||(this.model=Hi(this.computedValue),this.focused=!0,this.$emit("focus"))},__onBlur:function(t){var e=this;this.focused&&setTimeout(function(){var t=document.activeElement;e.$refs.popup&&e.$refs.popup.showing&&(t===document.body||e.$refs.popup.$el.contains(t))||(e.__onHide(),e.hide())},1)},__onHide:function(t,e){(t||this.isPopover)&&this.__update(t),this.focused&&(e?this.$el.focus():(this.$emit("blur"),this.focused=!1))},__setModel:function(t,e){this.model=Hi(t),(e||this.isPopover)&&this.__update(e)},__update:function(t){var e=this;this.$nextTick(function(){Ni(e.model,e.value)||(e.$emit("input",e.model),t&&e.$emit("change",e.model))})},__scrollView:function(){},__getPicker:function(t,e){var i=this;return[t(Qi,{ref:"target",staticClass:"no-border",class:{"datetime-ios-modal":e},props:{type:this.type,min:this.min,max:this.max,headerLabel:this.headerLabel,minimal:this.minimal,formatModel:this.formatModel,format24h:this.format24h,firstDayOfWeek:this.firstDayOfWeek,defaultView:this.defaultView,color:this.invertedLight?"grey-7":this.color,dark:this.dark,value:this.model,disable:this.disable,readonly:this.readonly,noParentField:!0},on:{input:function(t){return i.$nextTick(function(){return i.__setModel(t)})},canClose:function(){i.isPopover&&i.hide()}}},[e?t("div",{staticClass:"modal-buttons modal-buttons-top row full-width"},[t("div",{staticClass:"col"}),t(Ut,{props:{color:this.modalBtnColor,flat:!0,label:this.cancelLabel||this.$q.i18n.label.cancel,noRipple:!0},on:{click:function(){i.__onHide(!1,!0),i.hide()}}}),this.editable?t(Ut,{props:{color:this.modalBtnColor,flat:!0,label:this.okLabel||this.$q.i18n.label.set,noRipple:!0,disable:!this.model},on:{click:function(){i.__onHide(!0,!0),i.hide()}}}):null]):null])]}},render:function(t){var e=this;return t(Ye,{staticClass:"q-datetime-input",props:{prefix:this.prefix,suffix:this.suffix,stackLabel:this.stackLabel,floatLabel:this.floatLabel,error:this.error,warning:this.warning,disable:this.disable,readonly:this.readonly,inverted:this.inverted,invertedLight:this.invertedLight,dark:this.dark,hideUnderline:this.hideUnderline,before:this.before,after:this.after,color:this.color,noParentField:this.noParentField,focused:this.focused||this.$refs.popup&&this.$refs.popup.showing,focusable:!0,length:this.actualValue.length},nativeOn:{click:this.toggle,focus:this.__onFocus,blur:this.__onBlur,keydown:this.__handleKeyDown}},[t("div",{staticClass:"col q-input-target ellipsis",class:this.fakeInputClasses},[this.fakeInputValue]),this.isPopover?t(oe,{ref:"popup",props:{cover:!0,keepOnScreen:!0,disable:this.disable,anchorClick:!1,maxHeight:"100vh"},slot:"after",on:{show:function(t){e.__onFocus(t),e.__scrollView()},hide:function(){return e.__onHide(!0,!0)}}},this.__getPicker(t)):t(ht,{ref:"popup",staticClass:"with-backdrop q-datetime-modal",props:{contentCss:ji,minimized:!1,position:"bottom",transition:this.transition},on:{show:this.__scrollView,dismiss:function(){return e.__onHide(!1,!0)}}},this.__getPicker(t,!0)),this.isClearable?t(ut,{slot:"after",props:{name:this.$q.icon.input["clear"+(this.isInverted?"Inverted":"")]},nativeOn:{click:this.clear},staticClass:"q-if-control"}):null,t(ut,{slot:"after",props:{name:this.$q.icon.input.dropdown},staticClass:"q-if-control"})])}},Wi=["text","textarea","email","search","tel","file","number","password","url","time","date"],Ki={name:"QResizeObservable",mixins:[ne],props:{debounce:{type:Number,default:100}},data:function(){return this.hasObserver?{}:{url:this.$q.platform.is.ie?null:"about:blank"}},methods:{onResize:function(){if(this.timer=null,this.$el&&this.$el.parentNode){var t=this.$el.parentNode,e={width:t.offsetWidth,height:t.offsetHeight};e.width===this.size.width&&e.height===this.size.height||(this.size=e,this.$emit("resize",this.size))}},trigger:function(t){!0===t||0===this.debounce?this.onResize():this.timer||(this.timer=setTimeout(this.onResize,this.debounce))}},render:function(t){var e=this;if(this.canRender&&!this.hasObserver)return t("object",{style:this.style,attrs:{tabindex:-1,type:"text/html",data:this.url,"aria-hidden":!0},on:{load:function(){e.$el.contentDocument.defaultView.addEventListener("resize",e.trigger,M.passive),e.trigger(!0)}}})},beforeCreate:function(){this.size={width:-1,height:-1},i||(this.hasObserver="undefined"!=typeof ResizeObserver,this.hasObserver||(this.style=(this.$q.platform.is.ie?"visibility:hidden;":"")+"display:block;position:absolute;top:0;left:0;right:0;bottom:0;height:100%;width:100%;overflow:hidden;pointer-events:none;z-index:-1;"))},mounted:function(){if(this.hasObserver)return this.observer=new ResizeObserver(this.trigger),void this.observer.observe(this.$el.parentNode);this.trigger(!0),this.$q.platform.is.ie&&(this.url="about:blank")},beforeDestroy:function(){clearTimeout(this.timer),this.hasObserver?this.$el.parentNode&&this.observer.unobserve(this.$el.parentNode):this.$el.contentDocument&&this.$el.contentDocument.defaultView.removeEventListener("resize",this.trigger,M.passive)}},Ui={name:"QInput",mixins:[We,Ke],props:{value:{required:!0},type:{type:String,default:"text",validator:function(t){return Wi.includes(t)}},align:{type:String,validator:function(t){return["left","center","right"].includes(t)}},noPassToggle:Boolean,numericKeyboardToggle:Boolean,readonly:Boolean,decimals:Number,step:Number,upperCase:Boolean,lowerCase:Boolean,initialShowPassword:Boolean},data:function(){var t=this;return{showPass:this.initialShowPassword,showNumber:!0,model:this.value,watcher:null,autofilled:!1,shadow:{val:this.model,set:this.__set,setNav:this.__set,loading:!1,watched:0,isEditable:function(){return t.editable},isDark:function(){return t.dark},hasFocus:function(){return document.activeElement===t.$refs.input},register:function(){t.shadow.watched+=1,t.__watcherRegister()},unregister:function(){t.shadow.watched=Math.max(0,t.shadow.watched-1),t.__watcherUnregister()},getEl:function(){return t.$refs.input}}}},watch:{value:function(t){var e=parseFloat(this.model),i=parseFloat(t);(!this.isNumber||this.isNumberError||isNaN(e)||isNaN(i)||e!==i)&&(this.model=t),this.isNumberError=!1,this.isNegZero=!1},isTextarea:function(t){this[t?"__watcherRegister":"__watcherUnregister"]()},"$attrs.rows":function(){this.isTextarea&&this.__updateArea()}},provide:function(){return{__input:this.shadow}},computed:{isNumber:function(){return"number"===this.type},isPassword:function(){return"password"===this.type},isTextarea:function(){return"textarea"===this.type},isLoading:function(){return this.loading||this.shadow.watched&&this.shadow.loading},keyboardToggle:function(){return this.$q.platform.is.mobile&&this.isNumber&&this.numericKeyboardToggle},inputType:function(){return this.isPassword?this.showPass&&this.editable?"text":"password":this.isNumber?this.showNumber||!this.editable?"number":"text":this.type},inputClasses:function(){var t=[];return this.align&&t.push("text-"+this.align),this.autofilled&&t.push("q-input-autofill"),t},length:function(){return null!==this.model&&void 0!==this.model?(""+this.model).length:0},computedClearValue:function(){return void 0===this.clearValue?this.isNumber?null:"":this.clearValue},computedStep:function(){return this.step||(this.decimals?Math.pow(10,-this.decimals):"any")},frameProps:function(){return{prefix:this.prefix,suffix:this.suffix,stackLabel:this.stackLabel,floatLabel:this.floatLabel,placeholder:this.placeholder,error:this.error,warning:this.warning,disable:this.disable,readonly:this.readonly,inverted:this.inverted,invertedLight:this.invertedLight,dark:this.dark,hideUnderline:this.hideUnderline,before:this.before,after:this.after,color:this.color,noParentField:this.noParentField,focused:this.focused,length:this.autofilled+this.length}}},methods:{togglePass:function(){this.showPass=!this.showPass,clearTimeout(this.timer),this.focus()},toggleNumber:function(){this.showNumber=!this.showNumber,clearTimeout(this.timer),this.focus()},__clearTimer:function(){var t=this;this.$nextTick(function(){return clearTimeout(t.timer)})},__onAnimationStart:function(t){if(0===t.animationName.indexOf("webkit-autofill-")){var e="webkit-autofill-on"===t.animationName;if(e!==this.autofilled)return t.value=this.autofilled=e,t.el=this,this.$emit("autofill",t)}},__setModel:function(t){clearTimeout(this.timer),this.focus(),this.__set(this.isNumber&&0===t?t:t||(this.isNumber?null:""),!0)},__set:function(t,e){var i=this,s=t&&t.target?t.target.value:t;if(this.isNumber){this.isNegZero=1/s==-1/0;var n=this.isNegZero?-0:s;if(this.model=s,s=parseFloat(s),isNaN(s)||this.isNegZero)return this.isNumberError=!0,void(e&&(this.$emit("input",n),this.$nextTick(function(){String(1/n)!==String(1/i.value)&&i.$emit("change",n)})));this.isNumberError=!1,Number.isInteger(this.decimals)&&(s=parseFloat(s.toFixed(this.decimals)))}else this.lowerCase?s=s.toLowerCase():this.upperCase&&(s=s.toUpperCase()),this.model=s;this.$emit("input",s),e&&this.$nextTick(function(){JSON.stringify(s)!==JSON.stringify(i.value)&&i.$emit("change",s)})},__updateArea:function(){var t=this.$refs.shadow,e=this.$refs.input;if(t&&e){var i=t.scrollHeight,s=Tt(i,t.offsetHeight,this.maxHeight||i);e.style.height=s+"px",e.style.overflowY=this.maxHeight&&s0:null},ls.range.get=function(){var t=this.selection;if(t)return t.rangeCount?t.getRangeAt(0):null},ls.parent.get=function(){var t=this.range;if(t){var e=t.startContainer;return e.nodeType===document.ELEMENT_NODE?e:e.parentNode}},ls.blockParent.get=function(){var t=this.parent;if(t)return function t(e,i){if(i&&e===i)return null;var s=(window.getComputedStyle?window.getComputedStyle(e):e.currentStyle).display;return"block"===s||"table"===s?e:t(e.parentNode)}(t,this.el)},as.prototype.save=function(t){void 0===t&&(t=this.range),this._range=t},as.prototype.restore=function(t){void 0===t&&(t=this._range);var e=document.createRange(),i=document.getSelection();t?(e.setStart(t.startContainer,t.startOffset),e.setEnd(t.endContainer,t.endOffset),i.removeAllRanges(),i.addRange(e)):(i.selectAllChildren(this.el),i.collapseToEnd())},as.prototype.hasParent=function(t,e){var i=e?this.parent:this.blockParent;return!!i&&i.nodeName.toLowerCase()===t.toLowerCase()},as.prototype.hasParents=function(t){var e=this.parent;return!!e&&t.includes(e.nodeName.toLowerCase())},as.prototype.is=function(t,e){switch(t){case"formatBlock":return"DIV"===e&&this.parent===this.el||this.hasParent(e,"PRE"===e);case"link":return this.hasParent("A",!0);case"fontSize":return document.queryCommandValue(t)===e;case"fontName":var i=document.queryCommandValue(t);return i==='"'+e+'"'||i===e;case"fullscreen":return this.vm.inFullscreen;case void 0:return!1;default:var s=document.queryCommandState(t);return e?s===e:s}},as.prototype.getParentAttribute=function(t){if(this.parent)return this.parent.getAttribute(t)},as.prototype.can=function(t){if("outdent"===t)return this.hasParents(["blockquote","li"]);if("indent"===t){var e=!!this.parent&&this.parent.nodeName.toLowerCase();if("blockquote"===e)return!1;if("li"===e){var i=this.parent.previousSibling;return i&&"li"===i.nodeName.toLowerCase()}return!1}},as.prototype.apply=function(t,e,i){if(void 0===i&&(i=function(){}),"formatBlock"===t)["BLOCKQUOTE","H1","H2","H3","H4","H5","H6"].includes(e)&&this.is(t,e)&&(t="outdent",e=null),"PRE"===e&&this.is(t,"PRE")&&(e="P");else{if("print"===t){i();var s=window.open();return s.document.write("\n \n \n \n Print - "+document.title+"\n \n \n
"+this.el.innerHTML+"
\n \n \n "),s.print(),void s.close()}if("link"===t){var n=this.getParentAttribute("href");if(n)this.vm.editLinkUrl=n;else{var o=this.selectWord(this.selection),r=o?o.toString():"";if(!r.length)return;this.vm.editLinkUrl=rs.test(r)?r:"",document.execCommand("createLink",!1,""===this.vm.editLinkUrl?" ":this.vm.editLinkUrl)}return this.range.selectNodeContents(this.parent),void this.save()}if("fullscreen"===t)return this.vm.toggleFullscreen(),void i()}document.execCommand(t,!1,e),i()},as.prototype.selectWord=function(t){if(!t.isCollapsed)return t;var e=document.createRange();e.setStart(t.anchorNode,t.anchorOffset),e.setEnd(t.focusNode,t.focusOffset);var i=e.collapsed?["backward","forward"]:["forward","backward"];e.detach();var s=t.focusNode,n=t.focusOffset;return t.collapse(t.anchorNode,t.anchorOffset),t.modify("move",i[0],"character"),t.modify("move",i[1],"word"),t.extend(s,n),t.modify("extend",i[1],"character"),t.modify("extend",i[0],"word"),t},Object.defineProperties(as.prototype,ls);var cs=Object.prototype.toString,hs=Object.prototype.hasOwnProperty,us={};function ds(t){return null===t?String(t):us[cs.call(t)]||"object"}function ps(t){if(!t||"object"!==ds(t))return!1;if(t.constructor&&!hs.call(t,"constructor")&&!hs.call(t.constructor.prototype,"isPrototypeOf"))return!1;var e;for(e in t);return void 0===e||hs.call(t,e)}function fs(){var t,e,i,s,n,o,r=arguments,a=arguments[0]||{},l=1,c=arguments.length,h=!1;for("boolean"==typeof a&&(h=a,a=arguments[1]||{},l=2),Object(a)!==a&&"function"!==ds(a)&&(a={}),c===l&&(a=this,l--);l0},toolbarBackgroundClass:function(){if(this.toolbarBg)return"bg-"+this.toolbarBg},buttonProps:function(){return{outline:this.toolbarOutline,flat:this.toolbarFlat,push:this.toolbarPush,rounded:this.toolbarRounded,dense:!0,color:this.toolbarColor,disable:!this.editable}},buttonDef:function(){var t=this.$q.i18n.editor,e=this.$q.icon.editor;return{bold:{cmd:"bold",icon:e.bold,tip:t.bold,key:66},italic:{cmd:"italic",icon:e.italic,tip:t.italic,key:73},strike:{cmd:"strikeThrough",icon:e.strikethrough,tip:t.strikethrough,key:83},underline:{cmd:"underline",icon:e.underline,tip:t.underline,key:85},unordered:{cmd:"insertUnorderedList",icon:e.unorderedList,tip:t.unorderedList},ordered:{cmd:"insertOrderedList",icon:e.orderedList,tip:t.orderedList},subscript:{cmd:"subscript",icon:e.subscript,tip:t.subscript,htmlTip:"x2"},superscript:{cmd:"superscript",icon:e.superscript,tip:t.superscript,htmlTip:"x2"},link:{cmd:"link",icon:e.hyperlink,tip:t.hyperlink,key:76},fullscreen:{cmd:"fullscreen",icon:e.toggleFullscreen,tip:t.toggleFullscreen,key:70},quote:{cmd:"formatBlock",param:"BLOCKQUOTE",icon:e.quote,tip:t.quote,key:81},left:{cmd:"justifyLeft",icon:e.left,tip:t.left},center:{cmd:"justifyCenter",icon:e.center,tip:t.center},right:{cmd:"justifyRight",icon:e.right,tip:t.right},justify:{cmd:"justifyFull",icon:e.justify,tip:t.justify},print:{type:"no-state",cmd:"print",icon:e.print,tip:t.print,key:80},outdent:{type:"no-state",disable:function(t){return t.caret&&!t.caret.can("outdent")},cmd:"outdent",icon:e.outdent,tip:t.outdent},indent:{type:"no-state",disable:function(t){return t.caret&&!t.caret.can("indent")},cmd:"indent",icon:e.indent,tip:t.indent},removeFormat:{type:"no-state",cmd:"removeFormat",icon:e.removeFormat,tip:t.removeFormat},hr:{type:"no-state",cmd:"insertHorizontalRule",icon:e.hr,tip:t.hr},undo:{type:"no-state",cmd:"undo",icon:e.undo,tip:t.undo,key:90},redo:{type:"no-state",cmd:"redo",icon:e.redo,tip:t.redo,key:89},h1:{cmd:"formatBlock",param:"H1",icon:e.header,tip:t.header1,htmlTip:'

'+t.header1+"

"},h2:{cmd:"formatBlock",param:"H2",icon:e.header,tip:t.header2,htmlTip:'

'+t.header2+"

"},h3:{cmd:"formatBlock",param:"H3",icon:e.header,tip:t.header3,htmlTip:'

'+t.header3+"

"},h4:{cmd:"formatBlock",param:"H4",icon:e.header,tip:t.header4,htmlTip:'

'+t.header4+"

"},h5:{cmd:"formatBlock",param:"H5",icon:e.header,tip:t.header5,htmlTip:'
'+t.header5+"
"},h6:{cmd:"formatBlock",param:"H6",icon:e.header,tip:t.header6,htmlTip:'
'+t.header6+"
"},p:{cmd:"formatBlock",param:"DIV",icon:e.header,tip:t.paragraph},code:{cmd:"formatBlock",param:"PRE",icon:e.code,tip:""+t.code+""},"size-1":{cmd:"fontSize",param:"1",icon:e.size,tip:t.size1,htmlTip:''+t.size1+""},"size-2":{cmd:"fontSize",param:"2",icon:e.size,tip:t.size2,htmlTip:''+t.size2+""},"size-3":{cmd:"fontSize",param:"3",icon:e.size,tip:t.size3,htmlTip:''+t.size3+""},"size-4":{cmd:"fontSize",param:"4",icon:e.size,tip:t.size4,htmlTip:''+t.size4+""},"size-5":{cmd:"fontSize",param:"5",icon:e.size,tip:t.size5,htmlTip:''+t.size5+""},"size-6":{cmd:"fontSize",param:"6",icon:e.size,tip:t.size6,htmlTip:''+t.size6+""},"size-7":{cmd:"fontSize",param:"7",icon:e.size,tip:t.size7,htmlTip:''+t.size7+""}}},buttons:function(){var t=this,e=this.definitions||{},i=this.definitions||this.fonts?fs(!0,{},this.buttonDef,e,function(t,e,i,s){void 0===s&&(s={});var n=Object.keys(s);if(0===n.length)return{};var o={default_font:{cmd:"fontName",param:t,icon:i,tip:e}};return n.forEach(function(t){var e=s[t];o[t]={cmd:"fontName",param:e,icon:i,tip:e,htmlTip:''+e+""}}),o}(this.defaultFont,this.$q.i18n.editor.defaultFont,this.$q.icon.editor.font,this.fonts)):this.buttonDef;return this.toolbar.map(function(s){return s.map(function(s){if(s.options)return{type:"dropdown",icon:s.icon,label:s.label,fixedLabel:s.fixedLabel,fixedIcon:s.fixedIcon,highlight:s.highlight,list:s.list,options:s.options.map(function(t){return i[t]})};var n=i[s];return n?"no-state"===n.type||e[s]&&(void 0===n.cmd||t.buttonDef[n.cmd]&&"no-state"===t.buttonDef[n.cmd].type)?n:fs(!0,{type:"toggle"},n):{type:"slot",slot:s}})})},keys:function(){var t={},e=function(e){e.key&&(t[e.key]={cmd:e.cmd,param:e.param})};return this.buttons.forEach(function(t){t.forEach(function(t){t.options?t.options.forEach(e):e(t)})}),t},innerStyle:function(){return this.inFullscreen?this.contentStyle:[{minHeight:this.minHeight,height:this.height,maxHeight:this.maxHeight},this.contentStyle]},innerClass:function(){return[this.contentClass,{col:this.inFullscreen,"overflow-auto":this.inFullscreen||this.maxHeight}]}},data:function(){return{editWatcher:!0,editLinkUrl:null}},watch:{value:function(t){this.editWatcher?this.$refs.content.innerHTML=t:this.editWatcher=!0}},methods:{onInput:function(t){if(this.editWatcher){var e=this.$refs.content.innerHTML;e!==this.value&&(this.editWatcher=!1,this.$emit("input",e))}},onKeydown:function(t){var e=E(t);if(!t.ctrlKey)return this.refreshToolbar(),void(this.$q.platform.is.ie&&this.$nextTick(this.onInput));var i=this.keys[e];if(void 0!==i){var s=i.cmd,n=i.param;H(t),this.runCmd(s,n,!1),this.$q.platform.is.ie&&this.$nextTick(this.onInput)}},runCmd:function(t,e,i){var s=this;void 0===i&&(i=!0),this.focus(),this.caret.apply(t,e,function(){s.focus(),i&&s.refreshToolbar()})},refreshToolbar:function(){var t=this;setTimeout(function(){t.editLinkUrl=null,t.$forceUpdate()},1)},focus:function(){this.$refs.content.focus()},getContentEl:function(){return this.$refs.content}},created:function(){i||(document.execCommand("defaultParagraphSeparator",!1,"div"),this.defaultFont=window.getComputedStyle(document.body).fontFamily)},mounted:function(){var t=this;this.$nextTick(function(){t.$refs.content&&(t.caret=new as(t.$refs.content,t),t.$refs.content.innerHTML=t.value),t.$nextTick(t.refreshToolbar)})},render:function(t){var e,s=this;if(this.hasToolbar){var n={staticClass:"q-editor-toolbar row no-wrap scroll-x",class:[{"q-editor-toolbar-separator":!this.toolbarOutline&&!this.toolbarPush},this.toolbarBackgroundClass]};(e=[]).push(t("div",fs({key:"qedt_top"},n),[t("div",{staticClass:"row no-wrap q-editor-toolbar-padding fit items-center"},ns(t,this))])),null!==this.editLinkUrl&&e.push(t("div",fs({key:"qedt_btm"},n),[t("div",{staticClass:"row no-wrap q-editor-toolbar-padding fit items-center"},function(t,e){if(e.caret){var i=e.toolbarColor||e.toolbarTextColor,s=e.editLinkUrl,n=function(){e.caret.restore(),s!==e.editLinkUrl&&document.execCommand("createLink",!1,""===s?" ":s),e.editLinkUrl=null};return[t("div",{staticClass:"q-mx-xs",class:"text-"+i},[e.$q.i18n.editor.url+": "]),t(Ui,{key:"qedt_btm_input",staticClass:"q-ma-none q-pa-none col q-editor-input",props:{value:s,color:i,autofocus:!0,hideUnderline:!0},on:{input:function(t){s=t},keydown:function(t){switch(E(t)){case 13:return t.preventDefault(),n();case 27:e.caret.restore(),!e.editLinkUrl&&document.execCommand("unlink"),e.editLinkUrl=null}}}}),t(de,{key:"qedt_btm_grp",props:e.buttonProps},[t(Ut,{key:"qedt_btm_rem",attrs:{tabindex:-1},props:Object.assign({},e.buttonProps,{label:e.$q.i18n.label.remove,noCaps:!0}),on:{click:function(){e.caret.restore(),document.execCommand("unlink"),e.editLinkUrl=null}}}),t(Ut,{key:"qedt_btm_upd",props:Object.assign({},e.buttonProps,{label:e.$q.i18n.label.update,noCaps:!0}),on:{click:n}})])]}}(t,this))])),e=t("div",e)}return t("div",{staticClass:"q-editor",style:{height:this.inFullscreen?"100vh":null},class:{disabled:this.disable,fullscreen:this.inFullscreen,column:this.inFullscreen}},[e,t("div",{ref:"content",staticClass:"q-editor-content",style:this.innerStyle,class:this.innerClass,attrs:{contenteditable:this.editable},domProps:i?{innerHTML:this.value}:void 0,on:{input:this.onInput,keydown:this.onKeydown,click:this.refreshToolbar,blur:function(){s.caret.save()}}})])}},gs={props:{outline:Boolean,push:Boolean,flat:Boolean,color:String,textColor:String,glossy:Boolean}},vs={name:"QFab",mixins:[gs,L],provide:function(){var t=this;return{__qFabClose:function(e){return t.hide(e).then(function(){return t.$refs.trigger&&t.$refs.trigger.$el&&t.$refs.trigger.$el.focus(),e})}}},props:{icon:String,activeIcon:String,direction:{type:String,default:"right"},persistent:Boolean},watch:{$route:function(){!this.persistent&&this.hide()}},created:function(){this.value&&this.show()},render:function(t){return t("div",{staticClass:"q-fab z-fab row inline justify-center",class:{"q-fab-opened":this.showing}},[t(Ut,{ref:"trigger",props:{fab:!0,outline:this.outline,push:this.push,flat:this.flat,color:this.color,textColor:this.textColor,glossy:this.glossy},on:{click:this.toggle}},[this.$slots.tooltip,t(ut,{staticClass:"q-fab-icon absolute-full",props:{name:this.icon||this.$q.icon.fab.icon}}),t(ut,{staticClass:"q-fab-active-icon absolute-full",props:{name:this.activeIcon||this.$q.icon.fab.activeIcon}})]),t("div",{staticClass:"q-fab-actions flex no-wrap inline items-center",class:"q-fab-"+this.direction},this.$slots.default)])}},bs={name:"QFabAction",mixins:[gs],props:{icon:{type:String,required:!0}},inject:{__qFabClose:{default:function(){console.error("QFabAction needs to be child of QFab")}}},methods:{click:function(t){var e=this;this.__qFabClose().then(function(){e.$emit("click",t)})}},render:function(t){return t(Ut,{props:{fabMini:!0,outline:this.outline,push:this.push,flat:this.flat,color:this.color,textColor:this.textColor,glossy:this.glossy,icon:this.icon},on:{click:this.click}},this.$slots.default)}},_s={name:"QField",mixins:[ne],props:{inset:{type:String,validator:function(t){return["icon","label","full"].includes(t)}},label:String,count:{type:[Number,Boolean],default:!1},error:Boolean,errorLabel:String,warning:Boolean,warningLabel:String,helper:String,icon:String,iconColor:String,dark:Boolean,orientation:{type:String,validator:function(t){return["vertical","horizontal"].includes(t)}},labelWidth:{type:[Number,String],default:5,validator:function(t){var e=parseInt(t,10);return e>0&&e<13}}},data:function(){return{input:{}}},computed:{hasError:function(){return this.input.error||this.error},hasWarning:function(){return!this.hasError&&(this.input.warning||this.warning)},childHasLabel:function(){return this.input.floatLabel||this.input.stackLabel},isDark:function(){return this.input.dark||this.dark},insetIcon:function(){return["icon","full"].includes(this.inset)},hasNoInput:function(){return this.canRender&&(!this.input.$options||this.input.__needsBorder)},counter:function(){if(this.count){var t=this.input.length||"0";return Number.isInteger(this.count)?t+" / "+this.count:t}},classes:function(){return{"q-field-responsive":!this.isVertical&&!this.isHorizontal,"q-field-vertical":this.isVertical,"q-field-horizontal":this.isHorizontal,"q-field-floating":this.childHasLabel,"q-field-no-label":!this.label&&!this.$slots.label,"q-field-with-error":this.hasError,"q-field-with-warning":this.hasWarning,"q-field-dark":this.isDark,"q-field-no-input":this.hasNoInput}},computedLabelWidth:function(){return parseInt(this.labelWidth,10)},isVertical:function(){return"vertical"===this.orientation||12===this.computedLabelWidth},isHorizontal:function(){return"horizontal"===this.orientation},labelClasses:function(){return this.isVertical?"col-12":this.isHorizontal?"col-"+this.labelWidth:"col-xs-12 col-sm-"+this.labelWidth},inputClasses:function(){return this.isVertical?"col-xs-12":this.isHorizontal?"col":"col-xs-12 col-sm"},iconProps:function(){var t={name:this.icon};return!this.iconColor||this.hasError||this.hasWarning||(t.color=this.iconColor),t},insetHasLabel:function(){return["label","full"].includes(this.inset)}},provide:function(){return{__field:this}},methods:{__registerInput:function(t){this.input=t},__unregisterInput:function(t){t&&t!==this.input||(this.input={})},__getBottomContent:function(t){var e;return this.hasError&&(e=this.$slots["error-label"]||this.errorLabel)?t("div",{staticClass:"q-field-error col"},e):this.hasWarning&&(e=this.$slots["warning-label"]||this.warningLabel)?t("div",{staticClass:"q-field-warning col"},e):(e=this.$slots.helper||this.helper)?t("div",{staticClass:"q-field-helper col"},e):t("div",{staticClass:"col text-transparent"},["|"])},__hasBottom:function(){return this.$slots["error-label"]||this.errorLabel||this.$slots["warning-label"]||this.warningLabel||this.$slots.helper||this.helper||this.count}},render:function(t){var e=this.$slots.label||this.label;return t("div",{staticClass:"q-field row no-wrap items-start",class:this.classes},[this.icon?t(ut,{props:this.iconProps,staticClass:"q-field-icon q-field-margin"}):this.insetIcon?t("div",{staticClass:"q-field-icon"}):null,t("div",{staticClass:"row col"},[e||this.insetHasLabel?t("div",{staticClass:"q-field-label q-field-margin",class:this.labelClasses},[t("div",{staticClass:"q-field-label-inner row items-center"},[this.$slots.label||this.label])]):null,t("div",{staticClass:"q-field-content",class:this.inputClasses},[this.$slots.default,this.__hasBottom()?t("div",{staticClass:"q-field-bottom row no-wrap"},[this.__getBottomContent(t),this.counter?t("div",{staticClass:"q-field-counter col-auto"},[this.counter]):null]):null])])])}},ys={name:"QInfiniteScroll",props:{handler:{type:Function,required:!0},inline:Boolean,offset:{type:Number,default:0}},data:function(){return{index:0,fetching:!1,working:!0}},methods:{poll:function(){if(!this.fetching&&this.working){var t=j(this.scrollContainer),e=F(this.scrollContainer).top+t;F(this.element).top+j(this.element)-(this.offset||t)-1?"radial":"linear"},computedStyle:function(){return this.imgSrc?{"background-image":"url("+this.imgSrc+")"}:this.gradientType?{background:this.gradientType+"-gradient("+this.gradient+")"}:void 0}},render:function(t){return t(this.tag,{staticClass:"q-jumbotron",style:this.computedStyle,class:{"q-jumbotron-dark":this.dark}},this.$slots.default)}},xs={name:"QKnob",directives:{TouchPan:we},props:{value:Number,min:{type:Number,default:0},max:{type:Number,default:100},color:String,trackColor:{type:String,default:"grey-3"},lineWidth:{type:String,default:"6px"},size:{type:String,default:"100px"},step:{type:Number,default:1},decimals:Number,disable:Boolean,readonly:Boolean},computed:{classes:function(){var t=[];return this.disable&&t.push("disabled"),this.readonly||t.push("cursor-pointer"),this.color&&t.push("text-"+this.color),t},svgStyle:function(){return{"stroke-dasharray":"295.31px, 295.31px","stroke-dashoffset":295.31*(this.$q.i18n.rtl?-1:1)*(1-(this.model-this.min)/(this.max-this.min))+"px",transition:this.dragging?"":"stroke-dashoffset 0.6s ease 0s, stroke 0.6s ease"}},editable:function(){return!this.disable&&!this.readonly},computedDecimals:function(){return void 0!==this.decimals?this.decimals||0:(String(this.step).trim("0").split(".")[1]||"").length},computedStep:function(){return void 0!==this.decimals?1/Math.pow(10,this.decimals||0):this.step}},data:function(){return{model:this.value,dragging:!1}},watch:{value:function(t){var e=this;if(tthis.max)){var i=this.computedDecimals&&"number"==typeof t?parseFloat(t.toFixed(this.computedDecimals)):t;return void(i!==this.model&&(this.model=i))}this.model=this.max}this.$emit("input",this.model),this.$nextTick(function(){e.model!==e.value&&e.$emit("change",e.model)})}},methods:{__pan:function(t){this.editable&&(t.isFinal?this.__dragStop(t.evt):t.isFirst?this.__dragStart(t.evt):this.__dragMove(t.evt))},__dragStart:function(t){this.editable&&(H(t),this.centerPosition=this.__getCenter(),clearTimeout(this.timer),this.dragging=!0,this.__onInput(t))},__dragMove:function(t){this.dragging&&this.editable&&(H(t),this.__onInput(t,this.centerPosition))},__dragStop:function(t){var e=this;this.editable&&(H(t),this.timer=setTimeout(function(){e.dragging=!1},100),this.__onInput(t,this.centerPosition,!0))},__onKeyDown:function(t){var e=t.keyCode;if(this.editable&&[37,40,39,38].includes(e)){H(t);var i=t.ctrlKey?10*this.computedStep:this.computedStep,s=[37,40].includes(e)?-i:i;this.__onInputValue(Tt(this.model+s,this.min,this.max))}},__onKeyUp:function(t){var e=t.keyCode;this.editable&&[37,40,39,38].includes(e)&&this.__emitChange()},__onInput:function(t,e,i){if(void 0===e&&(e=this.__getCenter()),this.editable){var s=O(t),n=Math.abs(s.top-e.top),o=Math.sqrt(Math.pow(Math.abs(s.top-e.top),2)+Math.pow(Math.abs(s.left-e.left),2)),r=Math.asin(n/o)*(180/Math.PI);r=s.top=this.step/2?(l<0?-1:1)*this.step:0),this.min,this.max);this.__onInputValue(c,i)}},__onInputValue:function(t,e){this.computedDecimals&&(t=parseFloat(t.toFixed(this.computedDecimals))),this.model!==t&&(this.model=t),this.$emit("drag-value",t),this.value!==t&&(this.$emit("input",t),e&&this.__emitChange(t))},__emitChange:function(t){var e=this;void 0===t&&(t=this.model),this.$nextTick(function(){JSON.stringify(t)!==JSON.stringify(e.value)&&e.$emit("change",t)})},__getCenter:function(){var t=F(this.$el);return{top:t.top+j(this.$el)/2,left:t.left+V(this.$el)/2}}},render:function(t){var e=this;return t("div",{staticClass:"q-knob non-selectable",class:this.classes,style:{width:this.size,height:this.size}},[t("div",{on:{click:function(t){return!e.dragging&&e.__onInput(t,void 0,!0)}},directives:this.editable?[{name:"touch-pan",modifiers:{prevent:!0,stop:!0},value:this.__pan}]:null},[t("svg",{attrs:{viewBox:"0 0 100 100"}},[t("path",{attrs:{d:"M 50,50 m 0,-47 a 47,47 0 1 1 0,94 a 47,47 0 1 1 0,-94","fill-opacity":"0",stroke:"currentColor","stroke-width":this.lineWidth},class:"text-"+this.trackColor}),t("path",{attrs:{d:"M 50,50 m 0,-47 a 47,47 0 1 1 0,94 a 47,47 0 1 1 0,-94","fill-opacity":"0",stroke:"currentColor","stroke-linecap":"round","stroke-width":this.lineWidth},style:this.svgStyle})]),t("div",{staticClass:"q-knob-label row flex-center content-center",attrs:{tabindex:this.editable?0:-1},on:{keydown:this.__onKeyDown,keyup:this.__onKeyUp}},this.$slots.default||[t("span",[this.model])])])])}},ks={name:"QScrollObservable",props:{debounce:Number},render:function(){},data:function(){return{pos:0,dir:"down",dirChanged:!1,dirChangePos:0}},methods:{getPosition:function(){return{position:this.pos,direction:this.dir,directionChanged:this.dirChanged,inflexionPosition:this.dirChangePos}},trigger:function(t){!0===t||0===this.debounce?this.emit():this.timer||(this.timer=this.debounce?setTimeout(this.emit,this.debounce):requestAnimationFrame(this.emit))},emit:function(){var t=Math.max(0,X(this.target)),e=t-this.pos<0?"up":"down";this.dirChanged=this.dir!==e,this.dirChanged&&(this.dir=e,this.dirChangePos=this.pos),this.timer=null,this.pos=t,this.$emit("scroll",this.getPosition())}},mounted:function(){this.target=J(this.$el.parentNode),this.target.addEventListener("scroll",this.trigger,M.passive),this.trigger(!0)},beforeDestroy:function(){clearTimeout(this.timer),cancelAnimationFrame(this.timer),this.target.removeEventListener("scroll",this.trigger,M.passive)}},Ss={name:"QLayout",provide:function(){return{layout:this}},props:{container:Boolean,view:{type:String,default:"hhh lpr fff",validator:function(t){return/^(h|l)h(h|r) lpr (f|l)f(f|r)$/.test(t.toLowerCase())}}},data:function(){return{height:n?0:window.innerHeight,width:n||this.container?0:window.innerWidth,containerHeight:0,scrollbarWidth:n?0:et(),header:{size:0,offset:0,space:!1},right:{size:300,offset:0,space:!1},footer:{size:0,offset:0,space:!1},left:{size:300,offset:0,space:!1},scroll:{position:0,direction:"down"}}},computed:{rows:function(){var t=this.view.toLowerCase().split(" ");return{top:t[0].split(""),middle:t[1].split(""),bottom:t[2].split("")}},targetStyle:function(){var t;if(0!==this.scrollbarWidth)return(t={})[this.$q.i18n.rtl?"left":"right"]=this.scrollbarWidth+"px",t},targetChildStyle:function(){var t;if(0!==this.scrollbarWidth)return(t={})[this.$q.i18n.rtl?"right":"left"]=0,t[this.$q.i18n.rtl?"left":"right"]="-"+this.scrollbarWidth+"px",t.width="calc(100% + "+this.scrollbarWidth+"px)",t}},created:function(){this.instances={header:null,right:null,footer:null,left:null}},render:function(t){var e=t("div",{staticClass:"q-layout"},[t(ks,{on:{scroll:this.__onPageScroll}}),t(Ki,{on:{resize:this.__onPageResize}}),this.$slots.default]);return this.container?t("div",{staticClass:"q-layout-container relative-position overflow-hidden"},[t(Ki,{on:{resize:this.__onContainerResize}}),t("div",{staticClass:"absolute-full",style:this.targetStyle},[t("div",{staticClass:"overflow-auto",style:this.targetChildStyle},[e])])]):e},methods:{__animate:function(){var t=this;this.timer?clearTimeout(this.timer):document.body.classList.add("q-layout-animate"),this.timer=setTimeout(function(){document.body.classList.remove("q-layout-animate"),t.timer=null},150)},__onPageScroll:function(t){this.scroll=t,this.$emit("scroll",t)},__onPageResize:function(t){var e=t.height,i=t.width,s=!1;this.height!==e&&(s=!0,this.height=e,this.$emit("scrollHeight",e),this.__updateScrollbarWidth()),this.width!==i&&(s=!0,this.width=i),s&&this.$emit("resize",{height:e,width:i})},__onContainerResize:function(t){var e=t.height;this.containerHeight!==e&&(this.containerHeight=e,this.__updateScrollbarWidth())},__updateScrollbarWidth:function(){if(this.container){var t=this.height>this.containerHeight?et():0;this.scrollbarWidth!==t&&(this.scrollbarWidth=t)}}}},qs={name:"QLayoutDrawer",inject:{layout:{default:function(){console.error("QLayoutDrawer needs to be child of QLayout")}}},mixins:[L],directives:{TouchPan:we},props:{overlay:Boolean,side:{type:String,default:"left",validator:function(t){return["left","right"].includes(t)}},width:{type:Number,default:280},mini:Boolean,miniWidth:{type:Number,default:60},breakpoint:{type:Number,default:992},behavior:{type:String,validator:function(t){return["default","desktop","mobile"].includes(t)},default:"default"},showIfAbove:Boolean,contentStyle:Object,contentClass:[String,Object,Array],noHideOnRouteChange:Boolean,noSwipeOpen:Boolean,noSwipeClose:Boolean},data:function(){var t=this.showIfAbove||void 0===this.value||this.value,e="mobile"!==this.behavior&&this.breakpoint=this.layout.width,largeScreenState:t,mobileOpened:!1}},watch:{belowBreakpoint:function(t){this.mobileOpened||(t?(this.overlay||(this.largeScreenState=this.showing),this.hide(!1)):this.overlay||this[this.largeScreenState?"show":"hide"](!1))},side:function(t,e){this.layout[e].space=!1,this.layout[e].offset=0},behavior:function(t){this.__updateLocal("belowBreakpoint","mobile"===t||"desktop"!==t&&this.breakpoint>=this.layout.width)},breakpoint:function(t){this.__updateLocal("belowBreakpoint","mobile"===this.behavior||"desktop"!==this.behavior&&t>=this.layout.width)},"layout.width":function(t){this.__updateLocal("belowBreakpoint","mobile"===this.behavior||"desktop"!==this.behavior&&this.breakpoint>=t)},"layout.scrollbarWidth":function(){this.applyPosition(this.showing?0:void 0)},offset:function(t){this.__update("offset",t)},onLayout:function(t){this.$emit("on-layout",t),this.__update("space",t)},$route:function(){this.noHideOnRouteChange||(this.mobileOpened||this.onScreenOverlay)&&this.hide()},rightSide:function(){this.applyPosition()},size:function(t){this.applyPosition(),this.__update("size",t)},"$q.i18n.rtl":function(){this.applyPosition()},mini:function(){this.value&&this.layout.__animate()}},computed:{rightSide:function(){return"right"===this.side},offset:function(){return!this.showing||this.mobileOpened||this.overlay?0:this.size},size:function(){return this.isMini?this.miniWidth:this.width},fixed:function(){return this.overlay||this.layout.view.indexOf(this.rightSide?"R":"L")>-1},onLayout:function(){return this.showing&&!this.mobileView&&!this.overlay},onScreenOverlay:function(){return this.showing&&!this.mobileView&&this.overlay},backdropClass:function(){return{"no-pointer-events":!this.showing||!this.mobileView}},mobileView:function(){return this.belowBreakpoint||this.mobileOpened},headerSlot:function(){return!this.overlay&&(this.rightSide?"r"===this.layout.rows.top[2]:"l"===this.layout.rows.top[0])},footerSlot:function(){return!this.overlay&&(this.rightSide?"r"===this.layout.rows.bottom[2]:"l"===this.layout.rows.bottom[0])},belowClass:function(){return{fixed:!0,"on-top":!0,"q-layout-drawer-delimiter":this.fixed&&this.showing,"q-layout-drawer-mobile":!0,"top-padding":!0}},aboveClass:function(){return{fixed:this.fixed||!this.onLayout,"q-layout-drawer-mini":this.isMini,"q-layout-drawer-normal":!this.isMini,"q-layout-drawer-delimiter":this.fixed&&this.showing,"top-padding":this.headerSlot}},aboveStyle:function(){var t={};return this.layout.header.space&&!this.headerSlot&&(this.fixed?t.top=this.layout.header.offset+"px":this.layout.header.space&&(t.top=this.layout.header.size+"px")),this.layout.footer.space&&!this.footerSlot&&(this.fixed?t.bottom=this.layout.footer.offset+"px":this.layout.footer.space&&(t.bottom=this.layout.footer.size+"px")),t},computedStyle:function(){return[this.contentStyle,{width:this.size+"px"},this.mobileView?"":this.aboveStyle]},computedClass:function(){return["q-layout-drawer-"+this.side,this.layout.container?"overflow-auto":"scroll",this.contentClass,this.mobileView?this.belowClass:this.aboveClass]},stateDirection:function(){return(this.$q.i18n.rtl?-1:1)*(this.rightSide?1:-1)},isMini:function(){return this.mini&&!this.mobileView},onNativeEvents:function(){var t=this;if(!this.mobileView)return{"!click":function(e){t.$emit("click",e)},mouseover:function(e){t.$emit("mouseover",e)},mouseout:function(e){t.$emit("mouseout",e)}}}},methods:{applyPosition:function(t){var e=this;void 0===t?this.$nextTick(function(){t=e.showing?0:e.size,e.applyPosition(e.stateDirection*t)}):this.$refs.content&&(this.layout.container&&this.rightSide&&(this.mobileView||Math.abs(t)===this.size)&&(t+=this.stateDirection*this.layout.scrollbarWidth),this.$refs.content.style.transform="translateX("+t+"px)")},applyBackdrop:function(t){this.$refs.backdrop&&(this.$refs.backdrop.style.backgroundColor="rgba(0,0,0,"+.4*t+")")},__setScrollable:function(t){this.layout.container||document.body.classList[t?"add":"remove"]("q-body-drawer-toggle")},__openByTouch:function(t){if(this.belowBreakpoint){var e=this.size,i=Tt(t.distance.x,0,e);if(t.isFinal){var s=this.$refs.content,n=i>=Math.min(75,e);return s.classList.remove("no-transition"),void(n?this.show():(this.layout.__animate(),this.applyBackdrop(0),this.applyPosition(this.stateDirection*e),s.classList.remove("q-layout-drawer-delimiter")))}if(this.applyPosition((this.$q.i18n.rtl?!this.rightSide:this.rightSide)?Math.max(e-i,0):Math.min(0,i-e)),this.applyBackdrop(Tt(i/e,0,1)),t.isFirst){var o=this.$refs.content;o.classList.add("no-transition"),o.classList.add("q-layout-drawer-delimiter")}}},__closeByTouch:function(t){if(this.mobileOpened){var e=this.size,i=t.direction===this.side,s=(this.$q.i18n.rtl?!i:i)?Tt(t.distance.x,0,e):0;if(t.isFinal){var n=Math.abs(s)-1||this.layout.container},containerHeight:function(){return this.layout.container?this.layout.containerHeight:this.windowHeight},offset:function(){if(!this.canRender||!this.value)return 0;if(this.fixed)return this.revealed?this.size:0;var t=this.layout.scroll.position+this.containerHeight+this.size-this.layout.height;return t>0?t:0},computedClass:function(){return{"fixed-bottom":this.fixed,"absolute-bottom":!this.fixed,hidden:!this.value&&!this.fixed,"q-layout-footer-hidden":!this.canRender||!this.value||this.fixed&&!this.revealed}},computedStyle:function(){var t=this.layout.rows.bottom,e={};return"l"===t[0]&&this.layout.left.space&&(e[this.$q.i18n.rtl?"right":"left"]=this.layout.left.size+"px"),"r"===t[2]&&this.layout.right.space&&(e[this.$q.i18n.rtl?"left":"right"]=this.layout.right.size+"px"),e}},render:function(t){return t("footer",{staticClass:"q-layout-footer q-layout-marginal q-layout-transition",class:this.computedClass,style:this.computedStyle},[t(Ki,{props:{debounce:0},on:{resize:this.__onResize}}),!this.layout.container&&t($s,{props:{debounce:0},on:{resize:this.__onWindowResize}})||void 0,this.$slots.default])},created:function(){this.layout.instances.footer=this,this.__update("space",this.value),this.__update("offset",this.offset)},beforeDestroy:function(){this.layout.instances.footer===this&&(this.layout.instances.footer=null,this.__update("size",0),this.__update("offset",0),this.__update("space",!1))},methods:{__onResize:function(t){var e=t.height;this.__updateLocal("size",e),this.__update("size",e)},__onWindowResize:function(t){var e=t.height;this.__updateLocal("windowHeight",e)},__update:function(t,e){this.layout.footer[t]!==e&&(this.layout.footer[t]=e)},__updateLocal:function(t,e){this[t]!==e&&(this[t]=e)},__updateRevealed:function(){if(this.reveal){var t=this.layout.scroll,e=t.direction,i=t.position,s=t.inflexionPosition;this.__updateLocal("revealed","up"===e||i-s<100||this.layout.height-this.containerHeight-i-this.size<300)}}}},Ps={name:"QLayoutHeader",mixins:[ne],inject:{layout:{default:function(){console.error("QLayoutHeader needs to be child of QLayout")}}},props:{value:{type:Boolean,default:!0},reveal:Boolean,revealOffset:{type:Number,default:250}},data:function(){return{size:0,revealed:!0}},watch:{value:function(t){this.__update("space",t),this.__updateLocal("revealed",!0),this.layout.__animate()},offset:function(t){this.__update("offset",t)},reveal:function(t){t||this.__updateLocal("revealed",this.value)},revealed:function(t){this.layout.__animate(),this.$emit("reveal",t)},"layout.scroll":function(t){this.reveal&&this.__updateLocal("revealed","up"===t.direction||t.position<=this.revealOffset||t.position-t.inflexionPosition<100)}},computed:{fixed:function(){return this.reveal||this.layout.view.indexOf("H")>-1||this.layout.container},offset:function(){if(!this.canRender||!this.value)return 0;if(this.fixed)return this.revealed?this.size:0;var t=this.size-this.layout.scroll.position;return t>0?t:0},computedClass:function(){return{"fixed-top":this.fixed,"absolute-top":!this.fixed,"q-layout-header-hidden":!this.canRender||!this.value||this.fixed&&!this.revealed}},computedStyle:function(){var t=this.layout.rows.top,e={};return"l"===t[0]&&this.layout.left.space&&(e[this.$q.i18n.rtl?"right":"left"]=this.layout.left.size+"px"),"r"===t[2]&&this.layout.right.space&&(e[this.$q.i18n.rtl?"left":"right"]=this.layout.right.size+"px"),e}},render:function(t){return t("header",{staticClass:"q-layout-header q-layout-marginal q-layout-transition",class:this.computedClass,style:this.computedStyle},[t(Ki,{props:{debounce:0},on:{resize:this.__onResize}}),this.$slots.default])},created:function(){this.layout.instances.header=this,this.__update("space",this.value),this.__update("offset",this.offset)},beforeDestroy:function(){this.layout.instances.header===this&&(this.layout.instances.header=null,this.__update("size",0),this.__update("offset",0),this.__update("space",!1))},methods:{__onResize:function(t){var e=t.height;this.__updateLocal("size",e),this.__update("size",e)},__update:function(t,e){this.layout.header[t]!==e&&(this.layout.header[t]=e)},__updateLocal:function(t,e){this[t]!==e&&(this[t]=e)}}},Ls={name:"QPage",inject:{pageContainer:{default:function(){console.error("QPage needs to be child of QPageContainer")}},layout:{}},props:{padding:Boolean,styleFn:Function},computed:{style:function(){var t=(this.layout.header.space?this.layout.header.size:0)+(this.layout.footer.space?this.layout.footer.size:0);return"function"==typeof this.styleFn?this.styleFn(t):{minHeight:this.layout.container?this.layout.containerHeight-t+"px":t?"calc(100vh - "+t+"px)":"100vh"}},classes:function(){if(this.padding)return"layout-padding"}},render:function(t){return t("main",{staticClass:"q-layout-page",style:this.style,class:this.classes},this.$slots.default)}},Ms={name:"QPageContainer",inject:{layout:{default:function(){console.error("QPageContainer needs to be child of QLayout")}}},provide:{pageContainer:!0},computed:{style:function(){var t={};return this.layout.header.space&&(t.paddingTop=this.layout.header.size+"px"),this.layout.right.space&&(t["padding"+(this.$q.i18n.rtl?"Left":"Right")]=this.layout.right.size+"px"),this.layout.footer.space&&(t.paddingBottom=this.layout.footer.size+"px"),this.layout.left.space&&(t["padding"+(this.$q.i18n.rtl?"Right":"Left")]=this.layout.left.size+"px"),t}},render:function(t){return t("div",{staticClass:"q-layout-page-container q-layout-transition",style:this.style},this.$slots.default)}},Bs={name:"QPageSticky",inject:{layout:{default:function(){console.error("QPageSticky needs to be child of QLayout")}}},props:{position:{type:String,default:"bottom-right",validator:function(t){return["top-right","top-left","bottom-right","bottom-left","top","right","bottom","left"].includes(t)}},offset:{type:Array,validator:function(t){return 2===t.length}},expand:Boolean},computed:{attach:function(){var t=this.position;return{top:t.indexOf("top")>-1,right:t.indexOf("right")>-1,bottom:t.indexOf("bottom")>-1,left:t.indexOf("left")>-1,vertical:"top"===t||"bottom"===t,horizontal:"left"===t||"right"===t}},top:function(){return this.layout.header.offset},right:function(){return this.layout.right.offset},bottom:function(){return this.layout.footer.offset},left:function(){return this.layout.left.offset},computedStyle:function(){var t=this.attach,e=[],i=this.$q.i18n.rtl?-1:1;t.top&&this.top?e.push("translateY("+this.top+"px)"):t.bottom&&this.bottom&&e.push("translateY("+-this.bottom+"px)"),t.left&&this.left?e.push("translateX("+i*this.left+"px)"):t.right&&this.right&&e.push("translateX("+-i*this.right+"px)");var s=e.length?{transform:e.join(" ")}:{};return this.offset&&(s.margin=this.offset[1]+"px "+this.offset[0]+"px"),t.vertical?(this.left&&(s[this.$q.i18n.rtl?"right":"left"]=this.left+"px"),this.right&&(s[this.$q.i18n.rtl?"left":"right"]=this.right+"px")):t.horizontal&&(this.top&&(s.top=this.top+"px"),this.bottom&&(s.bottom=this.bottom+"px")),s},classes:function(){return["fixed-"+this.position,"q-page-sticky-"+(this.expand?"expand":"shrink")]}},render:function(t){return t("div",{staticClass:"q-page-sticky q-layout-transition row flex-center",class:this.classes,style:this.computedStyle},this.expand?this.$slots.default:[t("span",this.$slots.default)])}},Es={name:"QListHeader",props:{inset:Boolean},render:function(t){return t("div",{staticClass:"q-list-header",class:{"q-list-header-inset":this.inset}},this.$slots.default)}},Os={name:"QModalLayout",inject:{__qmodal:{default:function(){console.error("QModalLayout needs to be child of QModal")}}},props:{headerStyle:[String,Object,Array],headerClass:[String,Object,Array],contentStyle:[String,Object,Array],contentClass:[String,Object,Array],footerStyle:[String,Object,Array],footerClass:[String,Object,Array]},watch:{__qmodal:function(t,e){e&&e.unregister(this),t&&t.register(this)}},mounted:function(){this.__qmodal&&this.__qmodal.register(this)},beforeDestroy:function(){this.__qmodal&&this.__qmodal.unregister(this)},render:function(t){var e=[];return this.$slots.header&&e.push(t("div",{staticClass:"q-layout-header",style:this.headerStyle,class:this.headerClass},[this.$slots.header,null])),e.push(t("div",{staticClass:"q-modal-layout-content col scroll",style:this.contentStyle,class:this.contentClass},this.$slots.default)),(this.$slots.footer||this.$slots.navigation)&&e.push(t("div",{staticClass:"q-layout-footer",style:this.footerStyle,class:this.footerClass},[this.$slots.footer,this.$slots.navigation])),t("div",{staticClass:"q-modal-layout col column no-wrap"},e)}},Ns={name:"QNoSsr",mixins:[ne],props:{tag:{type:String,default:"div"},placeholder:String},render:function(t){if(this.canRender){var e=this.$slots.default;return e&&e.length>1?t(this.tag,e):e?e[0]:null}if(this.$slots.placeholder){var i=this.$slots.placeholder;return i&&i.length>1?t(this.tag,{staticClass:"q-no-ssr-placeholder"},i):i?i[0]:null}if(this.placeholder)return t(this.tag,{staticClass:"q-no-ssr-placeholder"},[this.placeholder])}},zs={name:"QPagination",props:{value:{type:Number,required:!0},min:{type:Number,default:1},max:{type:Number,required:!0},color:{type:String,default:"primary"},textColor:String,size:String,disable:Boolean,input:Boolean,boundaryLinks:{type:Boolean,default:null},boundaryNumbers:{type:Boolean,default:null},directionLinks:{type:Boolean,default:null},ellipses:{type:Boolean,default:null},maxPages:{type:Number,default:0,validator:function(t){return!(t<0)||(console.error("maxPages should not be negative"),!1)}}},data:function(){return{newPage:null}},watch:{min:function(t){this.model=this.value},max:function(t){this.model=this.value}},computed:{model:{get:function(){return this.value},set:function(t){var e=this;if(!this.disable&&t&&!isNaN(t)){var i=Tt(parseInt(t,10),this.min,this.max);this.$emit("input",i),this.$nextTick(function(){JSON.stringify(i)!==JSON.stringify(e.value)&&e.$emit("change",i)})}}},inputPlaceholder:function(){return this.model+" / "+this.max},__boundaryLinks:function(){return this.__getBool(this.boundaryLinks,this.input)},__boundaryNumbers:function(){return this.__getBool(this.boundaryNumbers,!this.input)},__directionLinks:function(){return this.__getBool(this.directionLinks,this.input)},__ellipses:function(){return this.__getBool(this.ellipses,!this.input)},icons:function(){var t=[this.$q.icon.pagination.first,this.$q.icon.pagination.prev,this.$q.icon.pagination.next,this.$q.icon.pagination.last];return this.$q.i18n.rtl?t.reverse():t}},methods:{set:function(t){this.model=t},setByOffset:function(t){this.model=this.model+t},__update:function(){this.model=this.newPage,this.newPage=null},__getBool:function(t,e){return[!0,!1].includes(t)?t:e},__getBtn:function(t,e,i){return e.props=Object.assign({color:this.color,flat:!0,size:this.size},i),t(Ut,e)}},render:function(t){var e=this,i=[],s=[],n=[];if(this.__boundaryLinks&&(i.push(this.__getBtn(t,{key:"bls",on:{click:function(){return e.set(e.min)}}},{disable:this.disable||this.value<=this.min,icon:this.icons[0]})),s.unshift(this.__getBtn(t,{key:"ble",on:{click:function(){return e.set(e.max)}}},{disable:this.disable||this.value>=this.max,icon:this.icons[3]}))),this.__directionLinks&&(i.push(this.__getBtn(t,{key:"bdp",on:{click:function(){return e.setByOffset(-1)}}},{disable:this.disable||this.value<=this.min,icon:this.icons[1]})),s.unshift(this.__getBtn(t,{key:"bdn",on:{click:function(){return e.setByOffset(1)}}},{disable:this.disable||this.value>=this.max,icon:this.icons[2]}))),this.input)n.push(t(Ui,{staticClass:"inline no-padding",style:{width:this.inputPlaceholder.length+"rem"},props:{type:"number",value:this.newPage,noNumberToggle:!0,min:this.min,max:this.max,color:this.color,placeholder:this.inputPlaceholder,disable:this.disable,hideUnderline:!0},on:{input:function(t){return e.newPage=t},keydown:function(t){return 13===E(t)&&e.__update()},blur:function(){return e.__update()}}}));else{var o=Math.max(this.maxPages,1+(this.__ellipses?2:0)+(this.__boundaryNumbers?2:0)),r=this.min,a=this.max,l=!1,c=!1,h=!1,u=!1;this.maxPages&&othis.min+(this.__boundaryNumbers?1:0)&&(l=!0,r+=1),this.__boundaryNumbers&&(u=!0,a-=1),this.__ellipses&&a=0&&t<=1}}},data:function(){return{scrolling:!1}},watch:{height:function(){this.__updatePos()}},methods:{__onResize:function(){this.scrollTarget&&(this.mediaHeight=this.media.naturalHeight||j(this.media),this.__updatePos())},__updatePos:function(){var t,e,i,s;if(this.scrollTarget===window?(t=0,i=e=window.innerHeight):i=(t=F(this.scrollTarget).top)+(e=j(this.scrollTarget)),(s=F(this.$el).top)+this.height>t&&sthis.distance?"pulled":"pull"}},__animateTo:function(t,e,i){var s=this;!i&&this.animationId&&cancelAnimationFrame(this.animating),this.pullPosition-=(this.pullPosition-t)/7,this.pullPosition-t>1?this.animating=requestAnimationFrame(function(){s.__animateTo(t,e,!0)}):this.animating=requestAnimationFrame(function(){s.pullPosition=t,s.animating=!1,e&&e()})},trigger:function(){var t=this;this.handler(function(){t.__animateTo(-65,function(){t.state="pull"})})},setScrollContainer:function(t){var e=this;this.$nextTick(function(){e.scrollContainer=t?e.$el.parentNode:J(e.$el)})}},mounted:function(){this.setScrollContainer(this.inline)},render:function(t){return t("div",{staticClass:"pull-to-refresh overflow-hidden-y"},[t("div",{staticClass:"pull-to-refresh-container",style:this.style,directives:this.disable?null:[{name:"touch-pan",modifiers:{vertical:!0,mightPrevent:!0},value:this.__pull}]},[t("div",{staticClass:"pull-to-refresh-message row flex-center",class:this.messageClass},[t(ut,{class:{"rotate-180":"pulled"===this.state},props:{name:this.$q.icon.pullToRefresh.arrow},directives:[{name:"show",value:"refreshing"!==this.state}]}),t(ut,{staticClass:"animate-spin",props:{name:this.refreshIcon||this.$q.icon.pullToRefresh.refresh},directives:[{name:"show",value:"refreshing"===this.state}]})," "+this.message]),this.$slots.default])])}},Fs=0,Qs=1,js=2,Vs={name:"QRange",mixins:[oi],props:{value:{type:Object,default:function(){return{min:0,max:0}},validator:function(t){return t.hasOwnProperty("min")&&t.hasOwnProperty("max")}},dragRange:Boolean,dragOnlyRange:Boolean,leftLabelColor:String,leftLabelValue:String,rightLabelColor:String,rightLabelValue:String},data:function(){return{model:Object.assign({},this.value),dragging:!1,currentMinPercentage:(this.value.min-this.min)/(this.max-this.min),currentMaxPercentage:(this.value.max-this.min)/(this.max-this.min)}},computed:{percentageMin:function(){return this.snap?(this.model.min-this.min)/(this.max-this.min):this.currentMinPercentage},percentageMax:function(){return this.snap?(this.model.max-this.min)/(this.max-this.min):this.currentMaxPercentage},activeTrackWidth:function(){return 100*(this.percentageMax-this.percentageMin)+"%"},leftDisplayValue:function(){return void 0!==this.leftLabelValue?this.leftLabelValue:this.model.min},rightDisplayValue:function(){return void 0!==this.rightLabelValue?this.rightLabelValue:this.model.max},leftTooltipColor:function(){return this.leftLabelColor||this.labelColor},rightTooltipColor:function(){return this.rightLabelColor||this.labelColor}},watch:{"value.min":function(t){this.model.min=t},"value.max":function(t){this.model.max=t},"model.min":function(t){this.dragging||(t>this.model.max&&(t=this.model.max),this.currentMinPercentage=(t-this.min)/(this.max-this.min))},"model.max":function(t){this.dragging||(tt&&this.__update({min:t}),this.model.max>t&&this.__update({max:t}),this.$nextTick(this.__validateProps)},step:function(){this.$nextTick(this.__validateProps)}},methods:{__getDragging:function(t){var e,i=this.$refs.handle,s=i.offsetWidth,n=(this.dragOnlyRange?-1:1)*this.$refs.handleMin.offsetWidth/(2*s),o={left:i.getBoundingClientRect().left,width:s,valueMin:this.model.min,valueMax:this.model.max,percentageMin:this.currentMinPercentage,percentageMax:this.currentMaxPercentage},r=ii(t,o,this.$q.i18n.rtl);return r=e.percentageMin?{minP:e.percentageMin,maxP:s,min:e.valueMin,max:n}:{minP:s,maxP:e.percentageMin,min:n,max:e.valueMin};break;case Qs:var o=s-e.offsetPercentage,r=Tt(e.percentageMin+o,0,1-e.rangePercentage),a=n-e.offsetModel,l=Tt(e.valueMin+a,this.min,this.max-e.rangeValue);i={minP:r,maxP:r+e.rangePercentage,min:parseFloat(l.toFixed(this.computedDecimals)),max:parseFloat((l+e.rangeValue).toFixed(this.computedDecimals))}}this.currentMinPercentage=i.minP,this.currentMaxPercentage=i.maxP,this.model={min:i.min,max:i.max}},__end:function(t,e){void 0===e&&(e=this.dragging),this.__move(t,e),this.currentMinPercentage=(this.model.min-this.min)/(this.max-this.min),this.currentMaxPercentage=(this.model.max-this.min)/(this.max-this.min)},__onKeyDown:function(t,e){var i=t.keyCode;if(this.editable&&[37,40,39,38].includes(i)){H(t);var s=this.computedDecimals,n=t.ctrlKey?10*this.computedStep:this.computedStep,o=[37,40].includes(i)?-n:n,r=s?parseFloat((this.model[e]+o).toFixed(s)):this.model[e]+o;this.model[e]=Tt(r,"min"===e?this.min:this.model.min,"max"===e?this.max:this.model.max),this.currentMinPercentage=(this.model.min-this.min)/(this.max-this.min),this.currentMaxPercentage=(this.model.max-this.min)/(this.max-this.min),this.__update()}},__onKeyUp:function(t,e){var i=t.keyCode;this.editable&&[37,40,39,38].includes(i)&&this.__update(!0)},__validateProps:function(){this.min>=this.max?console.error("Range error: min >= max",this.$el,this.min,this.max):si((this.max-this.min)/this.step,this.computedDecimals)?console.error("Range error: step must be a divisor of max - min",this.min,this.max,this.step):si((this.model.min-this.min)/this.step,this.computedDecimals)?console.error("Range error: step must be a divisor of initial value.min - min",this.model.min,this.min,this.step):si((this.model.max-this.min)/this.step,this.computedDecimals)&&console.error("Range error: step must be a divisor of initial value.max - min",this.model.max,this.max,this.step)},__getHandle:function(t,e,i,s,n,o,r){var a,l=this;return t("div",{ref:"handle"+i,staticClass:"q-slider-handle q-slider-handle-"+e,style:(a={},a[this.$q.i18n.rtl?"right":"left"]=100*n+"%",a.borderRadius=this.square?"0":"50%",a),class:[s?"handle-at-minimum":null,{dragging:this.dragging}],attrs:{tabindex:this.$q.platform.is.desktop?this.editable?0:-1:void 0},on:{keydown:function(t){return l.__onKeyDown(t,e)},keyup:function(t){return l.__onKeyUp(t,e)}}},[this.label||this.labelAlways?t(je,{props:{pointing:"down",square:!0,dense:!0,color:o},staticClass:"q-slider-label no-pointer-events",class:{"label-always":this.labelAlways}},[r]):null,null])},__getContent:function(t){var e;return[t("div",{staticClass:"q-slider-track active-track",style:(e={},e[this.$q.i18n.rtl?"right":"left"]=100*this.percentageMin+"%",e.width=this.activeTrackWidth,e),class:{dragging:this.dragging,"track-draggable":this.dragRange||this.dragOnlyRange}}),this.__getHandle(t,"min","Min",!this.fillHandleAlways&&this.model.min===this.min,this.percentageMin,this.leftTooltipColor,this.leftDisplayValue),this.__getHandle(t,"max","Max",!1,this.percentageMax,this.rightTooltipColor,this.rightDisplayValue)]}}},Ws={name:"QRating",props:{value:Number,max:{type:Number,default:5},icon:String,color:String,size:String,readonly:Boolean,disable:Boolean},data:function(){return{mouseModel:0}},computed:{model:{get:function(){return this.value},set:function(t){var e=this;this.$emit("input",t),this.$nextTick(function(){JSON.stringify(t)!==JSON.stringify(e.value)&&e.$emit("change",t)})}},editable:function(){return!this.readonly&&!this.disable},classes:function(){var t=[];return this.disable&&t.push("disabled"),this.editable&&t.push("editable"),this.color&&t.push("text-"+this.color),t}},methods:{set:function(t){if(this.editable){var e=Tt(parseInt(t,10),1,this.max);this.model=this.model===e?0:e,this.mouseModel=0}},__setHoverValue:function(t){this.editable&&(this.mouseModel=t)}},render:function(t){for(var e=this,i=[],s=this.editable?0:-1,n=function(n){i.push(t("span",{key:n,ref:"rt"+n,attrs:{tabindex:s},on:{keydown:function(t){switch(E(t)){case 13:case 32:return e.set(n),H(t);case 37:case 40:return e.$refs["rt"+(n-1)]&&e.$refs["rt"+(n-1)].focus(),H(t);case 39:case 38:return e.$refs["rt"+(n+1)]&&e.$refs["rt"+(n+1)].focus(),H(t)}}}},[t(ut,{props:{name:e.icon||e.$q.icon.rating.icon},class:{active:!e.mouseModel&&e.model>=n||e.mouseModel&&e.mouseModel>=n,exselected:e.mouseModel&&e.model>=n&&e.mouseModel0&&e+this.containerHeight0&&e.scrollTop+this.containerHeight-1}var Js={name:"QSelect",mixins:[We,le],props:{filter:[Function,Boolean],filterPlaceholder:String,radio:Boolean,placeholder:String,separator:Boolean,value:{required:!0},multiple:Boolean,toggle:Boolean,chips:Boolean,options:{type:Array,required:!0,validator:function(t){return t.every(function(t){return"label"in t&&"value"in t})}},chipsColor:String,chipsBgColor:String,displayValue:String,popupMaxHeight:String,popupCover:{type:Boolean,default:!0}},data:function(){return{model:this.multiple&&Array.isArray(this.value)?this.value.slice():this.value,terms:"",focused:!1}},watch:{value:function(t){this.model=this.multiple&&Array.isArray(t)?t.slice():t},visibleOptions:function(){this.__keyboardCalcIndex()}},computed:{optModel:function(){var t=this;if(this.multiple)return this.model.length>0?this.options.map(function(e){return t.model.includes(e.value)}):this.options.map(function(t){return!1})},visibleOptions:function(){var t=this,e=this.options.map(function(t,e){return Object.assign({},t,{index:e})});if(this.filter&&this.terms.length){var i=this.terms.toLowerCase();e=e.filter(function(e){return t.filterFn(i,e)})}return e},keyboardMaxIndex:function(){return this.visibleOptions.length-1},filterFn:function(){return"boolean"==typeof this.filter?Ys:this.filter},actualValue:function(){var t=this;if(this.displayValue)return this.displayValue;if(!this.multiple){var e=this.options.find(function(e){return e.value===t.model});return e?e.label:""}var i=this.selectedOptions.map(function(t){return t.label});return i.length?i.join(", "):""},computedClearValue:function(){return void 0===this.clearValue?this.multiple?[]:null:this.clearValue},isClearable:function(){return this.editable&&this.clearable&&JSON.stringify(this.computedClearValue)!==JSON.stringify(this.model)},selectedOptions:function(){var t=this;if(this.multiple)return this.length>0?this.options.filter(function(e){return t.model.includes(e.value)}):[]},hasChips:function(){return this.multiple&&this.chips&&this.length>0},length:function(){return this.multiple?this.model.length:[null,void 0,""].includes(this.model)?0:1},additionalLength:function(){return this.displayValue&&this.displayValue.length>0}},methods:{togglePopup:function(){this.$refs.popover&&this[this.$refs.popover.showing?"hide":"show"]()},show:function(){if(this.__keyboardCalcIndex(),this.$refs.popover)return this.$refs.popover.show()},hide:function(){return this.$refs.popover?this.$refs.popover.hide():Promise.resolve()},reposition:function(){var t=this.$refs.popover;t&&t.showing&&this.$nextTick(function(){return t&&t.reposition()})},__keyboardCalcIndex:function(){var t=this;this.keyboardIndex=-1;var e=this.multiple?this.selectedOptions.map(function(t){return t.value}):[this.model];this.$nextTick(function(){var i=void 0===e?-1:Math.max(-1,t.visibleOptions.findIndex(function(t){return e.includes(t.value)}));i>-1&&(t.keyboardMoveDirection=!0,setTimeout(function(){t.keyboardMoveDirection=!1},500),t.__keyboardShow(i))})},__keyboardCustomKeyHandle:function(t,e){switch(t){case 27:this.$refs.popover.showing&&this.hide();break;case 13:case 32:this.$refs.popover.showing||this.show()}},__keyboardShowTrigger:function(){this.show()},__keyboardSetSelection:function(t){var e=this.visibleOptions[t];this.multiple?this.__toggleMultiple(e.value,e.disable):this.__singleSelect(e.value,e.disable)},__keyboardIsSelectableIndex:function(t){return t>-1&&t-1?this.$emit("remove",{index:s,value:i.splice(s,1)}):(this.$emit("add",{index:i.length,value:t}),i.push(t)),this.$emit("input",i)}},__emit:function(t){var e=this;this.$emit("input",t),this.$nextTick(function(){JSON.stringify(t)!==JSON.stringify(e.value)&&e.$emit("change",t)})},__setModel:function(t,e){this.model=t||(this.multiple?[]:null),this.$emit("input",this.model),!e&&this.$refs.popover&&this.$refs.popover.showing||this.__onClose(e)},__getChipTextColor:function(t){return this.chipsColor?this.chipsColor:this.isInvertedLight?this.invertedLight?t||this.color:"white":this.isInverted?t||(this.invertedLight?"grey-10":this.color):this.dark?t||this.color:"white"},__getChipBgColor:function(t){return this.chipsBgColor?this.chipsBgColor:this.isInvertedLight?this.invertedLight?"grey-10":t||this.color:this.isInverted?this.invertedLight?this.color:"white":this.dark?"white":t||this.color}},render:function(t){var e=this,i=[];if(this.hasChips){var s=t("div",{staticClass:"col row items-center q-input-chips",class:this.alignClass},this.selectedOptions.map(function(i,s){return t(je,{key:s,props:{small:!0,closable:e.editable&&!i.disable,color:e.__getChipBgColor(i.color),textColor:e.__getChipTextColor(i.color),icon:i.icon,iconRight:i.rightIcon,avatar:i.avatar},on:{hide:function(){e.__toggleMultiple(i.value,e.disable||i.disable)}},nativeOn:{click:function(t){t.stopPropagation()}}},[t("div",{domProps:{innerHTML:i.label}})])}));i.push(s)}else{var n=t("div",{staticClass:"col q-input-target ellipsis",class:this.fakeInputClasses,domProps:{innerHTML:this.fakeInputValue}});i.push(n)}return i.push(t(oe,{ref:"popover",staticClass:"column no-wrap",class:this.dark?"bg-dark":null,props:{cover:this.popupCover,keepOnScreen:!0,disable:!this.editable,anchorClick:!1,maxHeight:this.popupMaxHeight},slot:"after",on:{show:this.__onShow,hide:function(){e.__onClose(!0)}},nativeOn:{keydown:this.__keyboardHandleKey}},[this.filter&&t(Us,{ref:"filter",staticClass:"col-auto",style:"padding: 10px;",props:{value:this.terms,placeholder:this.filterPlaceholder||this.$q.i18n.label.filter,debounce:100,color:this.color,dark:this.dark,noParentField:!0,noIcon:!0},on:{input:function(t){e.terms=t,e.reposition()}}})||void 0,this.visibleOptions.length&&t(dt,{staticClass:"no-border scroll",props:{separator:this.separator,dark:this.dark}},this.visibleOptions.map(function(i,s){return t(ae,{key:s,class:[i.disable?"text-faded":"cursor-pointer",s===e.keyboardIndex?"q-select-highlight":"",i.disable?"":"cursor-pointer",i.className||""],props:{cfg:i,slotReplace:!0,active:e.multiple?void 0:e.value===i.value},nativeOn:{"!click":function(){var t=e.multiple?"__toggleMultiple":"__singleSelect";e[t](i.value,i.disable)},mouseenter:function(t){!i.disable&&e.__mouseEnterHandler(t,s)}}},[e.multiple?t(e.toggle?Ji:Qe,{slot:e.toggle?"right":"left",props:{keepColor:!0,color:i.color||e.color,dark:e.dark,value:e.optModel[i.index],disable:i.disable,noFocus:!0}}):e.radio&&t(Yi,{slot:"left",props:{keepColor:!0,color:i.color||e.color,dark:e.dark,value:e.value,val:i.value,disable:i.disable,noFocus:!0}})||void 0])}))||void 0])),this.isClearable&&i.push(t(ut,{slot:"after",staticClass:"q-if-control",props:{name:this.$q.icon.input["clear"+(this.isInverted?"Inverted":"")]},nativeOn:{click:this.clear}})),i.push(t(ut,this.readonly?{slot:"after"}:{slot:"after",staticClass:"q-if-control",props:{name:this.$q.icon.input.dropdown}})),t(Ye,{ref:"input",staticClass:"q-select",props:{prefix:this.prefix,suffix:this.suffix,stackLabel:this.stackLabel,floatLabel:this.floatLabel,error:this.error,warning:this.warning,disable:this.disable,readonly:this.readonly,inverted:this.inverted,invertedLight:this.invertedLight,dark:this.dark,hideUnderline:this.hideUnderline,before:this.before,after:this.after,color:this.color,noParentField:this.noParentField,focused:this.focused,focusable:!0,length:this.length,additionalLength:this.additionalLength},nativeOn:{click:this.togglePopup,focus:this.__onFocus,blur:this.__onBlur,keydown:this.__keyboardHandleKey}},i)}},Xs={name:"QSpinnerAudio",mixins:[Vt],render:function(t){return t("svg",{staticClass:"q-spinner",class:this.classes,attrs:{fill:"currentColor",width:this.size,height:this.size,viewBox:"0 0 55 80",xmlns:"http://www.w3.org/2000/svg"}},[t("g",{attrs:{transform:"matrix(1 0 0 -1 0 80)"}},[t("rect",{attrs:{width:"10",height:"20",rx:"3"}},[t("animate",{attrs:{attributeName:"height",begin:"0s",dur:"4.3s",values:"20;45;57;80;64;32;66;45;64;23;66;13;64;56;34;34;2;23;76;79;20",calcMode:"linear",repeatCount:"indefinite"}})]),t("rect",{attrs:{x:"15",width:"10",height:"80",rx:"3"}},[t("animate",{attrs:{attributeName:"height",begin:"0s",dur:"2s",values:"80;55;33;5;75;23;73;33;12;14;60;80",calcMode:"linear",repeatCount:"indefinite"}})]),t("rect",{attrs:{x:"30",width:"10",height:"50",rx:"3"}},[t("animate",{attrs:{attributeName:"height",begin:"0s",dur:"1.4s",values:"50;34;78;23;56;23;34;76;80;54;21;50",calcMode:"linear",repeatCount:"indefinite"}})]),t("rect",{attrs:{x:"45",width:"10",height:"30",rx:"3"}},[t("animate",{attrs:{attributeName:"height",begin:"0s",dur:"2s",values:"30;45;13;80;56;72;45;76;34;23;67;30",calcMode:"linear",repeatCount:"indefinite"}})])])])}},Gs={name:"QSpinnerBall",mixins:[Vt],render:function(t){return t("svg",{staticClass:"q-spinner",class:this.classes,attrs:{stroke:"currentColor",width:this.size,height:this.size,viewBox:"0 0 57 57",xmlns:"http://www.w3.org/2000/svg"}},[t("g",{attrs:{transform:"translate(1 1)","stroke-width":"2",fill:"none","fill-rule":"evenodd"}},[t("circle",{attrs:{cx:"5",cy:"50",r:"5"}},[t("animate",{attrs:{attributeName:"cy",begin:"0s",dur:"2.2s",values:"50;5;50;50",calcMode:"linear",repeatCount:"indefinite"}}),t("animate",{attrs:{attributeName:"cx",begin:"0s",dur:"2.2s",values:"5;27;49;5",calcMode:"linear",repeatCount:"indefinite"}})]),t("circle",{attrs:{cx:"27",cy:"5",r:"5"}},[t("animate",{attrs:{attributeName:"cy",begin:"0s",dur:"2.2s",from:"5",to:"5",values:"5;50;50;5",calcMode:"linear",repeatCount:"indefinite"}}),t("animate",{attrs:{attributeName:"cx",begin:"0s",dur:"2.2s",from:"27",to:"27",values:"27;49;5;27",calcMode:"linear",repeatCount:"indefinite"}})]),t("circle",{attrs:{cx:"49",cy:"50",r:"5"}},[t("animate",{attrs:{attributeName:"cy",begin:"0s",dur:"2.2s",values:"50;50;5;50",calcMode:"linear",repeatCount:"indefinite"}}),t("animate",{attrs:{attributeName:"cx",from:"49",to:"49",begin:"0s",dur:"2.2s",values:"49;5;27;49",calcMode:"linear",repeatCount:"indefinite"}})])])])}},Zs={name:"QSpinnerBars",mixins:[Vt],render:function(t){return t("svg",{staticClass:"q-spinner",class:this.classes,attrs:{fill:"currentColor",width:this.size,height:this.size,viewBox:"0 0 135 140",xmlns:"http://www.w3.org/2000/svg"}},[t("rect",{attrs:{y:"10",width:"15",height:"120",rx:"6"}},[t("animate",{attrs:{attributeName:"height",begin:"0.5s",dur:"1s",values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}}),t("animate",{attrs:{attributeName:"y",begin:"0.5s",dur:"1s",values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"}})]),t("rect",{attrs:{x:"30",y:"10",width:"15",height:"120",rx:"6"}},[t("animate",{attrs:{attributeName:"height",begin:"0.25s",dur:"1s",values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}}),t("animate",{attrs:{attributeName:"y",begin:"0.25s",dur:"1s",values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"}})]),t("rect",{attrs:{x:"60",width:"15",height:"140",rx:"6"}},[t("animate",{attrs:{attributeName:"height",begin:"0s",dur:"1s",values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}}),t("animate",{attrs:{attributeName:"y",begin:"0s",dur:"1s",values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"}})]),t("rect",{attrs:{x:"90",y:"10",width:"15",height:"120",rx:"6"}},[t("animate",{attrs:{attributeName:"height",begin:"0.25s",dur:"1s",values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}}),t("animate",{attrs:{attributeName:"y",begin:"0.25s",dur:"1s",values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"}})]),t("rect",{attrs:{x:"120",y:"10",width:"15",height:"120",rx:"6"}},[t("animate",{attrs:{attributeName:"height",begin:"0.5s",dur:"1s",values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}}),t("animate",{attrs:{attributeName:"y",begin:"0.5s",dur:"1s",values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"}})])])}},tn={name:"QSpinnerCircles",mixins:[Vt],render:function(t){return t("svg",{staticClass:"q-spinner",class:this.classes,attrs:{fill:"currentColor",width:this.size,height:this.size,viewBox:"0 0 135 135",xmlns:"http://www.w3.org/2000/svg"}},[t("path",{attrs:{d:"M67.447 58c5.523 0 10-4.477 10-10s-4.477-10-10-10-10 4.477-10 10 4.477 10 10 10zm9.448 9.447c0 5.523 4.477 10 10 10 5.522 0 10-4.477 10-10s-4.478-10-10-10c-5.523 0-10 4.477-10 10zm-9.448 9.448c-5.523 0-10 4.477-10 10 0 5.522 4.477 10 10 10s10-4.478 10-10c0-5.523-4.477-10-10-10zM58 67.447c0-5.523-4.477-10-10-10s-10 4.477-10 10 4.477 10 10 10 10-4.477 10-10z"}},[t("animateTransform",{attrs:{attributeName:"transform",type:"rotate",from:"0 67 67",to:"-360 67 67",dur:"2.5s",repeatCount:"indefinite"}})]),t("path",{attrs:{d:"M28.19 40.31c6.627 0 12-5.374 12-12 0-6.628-5.373-12-12-12-6.628 0-12 5.372-12 12 0 6.626 5.372 12 12 12zm30.72-19.825c4.686 4.687 12.284 4.687 16.97 0 4.686-4.686 4.686-12.284 0-16.97-4.686-4.687-12.284-4.687-16.97 0-4.687 4.686-4.687 12.284 0 16.97zm35.74 7.705c0 6.627 5.37 12 12 12 6.626 0 12-5.373 12-12 0-6.628-5.374-12-12-12-6.63 0-12 5.372-12 12zm19.822 30.72c-4.686 4.686-4.686 12.284 0 16.97 4.687 4.686 12.285 4.686 16.97 0 4.687-4.686 4.687-12.284 0-16.97-4.685-4.687-12.283-4.687-16.97 0zm-7.704 35.74c-6.627 0-12 5.37-12 12 0 6.626 5.373 12 12 12s12-5.374 12-12c0-6.63-5.373-12-12-12zm-30.72 19.822c-4.686-4.686-12.284-4.686-16.97 0-4.686 4.687-4.686 12.285 0 16.97 4.686 4.687 12.284 4.687 16.97 0 4.687-4.685 4.687-12.283 0-16.97zm-35.74-7.704c0-6.627-5.372-12-12-12-6.626 0-12 5.373-12 12s5.374 12 12 12c6.628 0 12-5.373 12-12zm-19.823-30.72c4.687-4.686 4.687-12.284 0-16.97-4.686-4.686-12.284-4.686-16.97 0-4.687 4.686-4.687 12.284 0 16.97 4.686 4.687 12.284 4.687 16.97 0z"}},[t("animateTransform",{attrs:{attributeName:"transform",type:"rotate",from:"0 67 67",to:"360 67 67",dur:"8s",repeatCount:"indefinite"}})])])}},en={name:"QSpinnerComment",mixins:[Vt],render:function(t){return t("svg",{staticClass:"q-spinner",class:this.classes,attrs:{width:this.size,height:this.size,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100",preserveAspectRatio:"xMidYMid"}},[t("rect",{attrs:{x:"0",y:"0",width:"100",height:"100",fill:"none"}}),t("path",{attrs:{d:"M78,19H22c-6.6,0-12,5.4-12,12v31c0,6.6,5.4,12,12,12h37.2c0.4,3,1.8,5.6,3.7,7.6c2.4,2.5,5.1,4.1,9.1,4 c-1.4-2.1-2-7.2-2-10.3c0-0.4,0-0.8,0-1.3h8c6.6,0,12-5.4,12-12V31C90,24.4,84.6,19,78,19z",fill:"currentColor"}}),t("circle",{attrs:{cx:"30",cy:"47",r:"5",fill:"#fff"}},[t("animate",{attrs:{attributeName:"opacity",from:"0",to:"1",values:"0;1;1",keyTimes:"0;0.2;1",dur:"1s",repeatCount:"indefinite"}})]),t("circle",{attrs:{cx:"50",cy:"47",r:"5",fill:"#fff"}},[t("animate",{attrs:{attributeName:"opacity",from:"0",to:"1",values:"0;0;1;1",keyTimes:"0;0.2;0.4;1",dur:"1s",repeatCount:"indefinite"}})]),t("circle",{attrs:{cx:"70",cy:"47",r:"5",fill:"#fff"}},[t("animate",{attrs:{attributeName:"opacity",from:"0",to:"1",values:"0;0;1;1",keyTimes:"0;0.4;0.6;1",dur:"1s",repeatCount:"indefinite"}})])])}},sn={name:"QSpinnerCube",mixins:[Vt],render:function(t){return t("svg",{staticClass:"q-spinner",class:this.classes,attrs:{width:this.size,height:this.size,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100",preserveAspectRatio:"xMidYMid"}},[t("rect",{attrs:{x:"0",y:"0",width:"100",height:"100",fill:"none"}}),t("g",{attrs:{transform:"translate(25 25)"}},[t("rect",{attrs:{x:"-20",y:"-20",width:"40",height:"40",fill:"currentColor",opacity:"0.9"}},[t("animateTransform",{attrs:{attributeName:"transform",type:"scale",from:"1.5",to:"1",repeatCount:"indefinite",begin:"0s",dur:"1s",calcMode:"spline",keySplines:"0.2 0.8 0.2 0.8",keyTimes:"0;1"}})])]),t("g",{attrs:{transform:"translate(75 25)"}},[t("rect",{attrs:{x:"-20",y:"-20",width:"40",height:"40",fill:"currentColor",opacity:"0.8"}},[t("animateTransform",{attrs:{attributeName:"transform",type:"scale",from:"1.5",to:"1",repeatCount:"indefinite",begin:"0.1s",dur:"1s",calcMode:"spline",keySplines:"0.2 0.8 0.2 0.8",keyTimes:"0;1"}})])]),t("g",{attrs:{transform:"translate(25 75)"}},[t("rect",{staticClass:"cube",attrs:{x:"-20",y:"-20",width:"40",height:"40",fill:"currentColor",opacity:"0.7"}},[t("animateTransform",{attrs:{attributeName:"transform",type:"scale",from:"1.5",to:"1",repeatCount:"indefinite",begin:"0.3s",dur:"1s",calcMode:"spline",keySplines:"0.2 0.8 0.2 0.8",keyTimes:"0;1"}})])]),t("g",{attrs:{transform:"translate(75 75)"}},[t("rect",{staticClass:"cube",attrs:{x:"-20",y:"-20",width:"40",height:"40",fill:"currentColor",opacity:"0.6"}},[t("animateTransform",{attrs:{attributeName:"transform",type:"scale",from:"1.5",to:"1",repeatCount:"indefinite",begin:"0.2s",dur:"1s",calcMode:"spline",keySplines:"0.2 0.8 0.2 0.8",keyTimes:"0;1"}})])])])}},nn={name:"QSpinnerDots",mixins:[Vt],render:function(t){return t("svg",{staticClass:"q-spinner",class:this.classes,attrs:{fill:"currentColor",width:this.size,height:this.size,viewBox:"0 0 120 30",xmlns:"http://www.w3.org/2000/svg"}},[t("circle",{attrs:{cx:"15",cy:"15",r:"15"}},[t("animate",{attrs:{attributeName:"r",from:"15",to:"15",begin:"0s",dur:"0.8s",values:"15;9;15",calcMode:"linear",repeatCount:"indefinite"}}),t("animate",{attrs:{attributeName:"fill-opacity",from:"1",to:"1",begin:"0s",dur:"0.8s",values:"1;.5;1",calcMode:"linear",repeatCount:"indefinite"}})]),t("circle",{attrs:{cx:"60",cy:"15",r:"9","fill-opacity":".3"}},[t("animate",{attrs:{attributeName:"r",from:"9",to:"9",begin:"0s",dur:"0.8s",values:"9;15;9",calcMode:"linear",repeatCount:"indefinite"}}),t("animate",{attrs:{attributeName:"fill-opacity",from:".5",to:".5",begin:"0s",dur:"0.8s",values:".5;1;.5",calcMode:"linear",repeatCount:"indefinite"}})]),t("circle",{attrs:{cx:"105",cy:"15",r:"15"}},[t("animate",{attrs:{attributeName:"r",from:"15",to:"15",begin:"0s",dur:"0.8s",values:"15;9;15",calcMode:"linear",repeatCount:"indefinite"}}),t("animate",{attrs:{attributeName:"fill-opacity",from:"1",to:"1",begin:"0s",dur:"0.8s",values:"1;.5;1",calcMode:"linear",repeatCount:"indefinite"}})])])}},on={name:"QSpinnerFacebook",mixins:[Vt],render:function(t){return t("svg",{staticClass:"q-spinner",class:this.classes,attrs:{width:this.size,height:this.size,viewBox:"0 0 100 100",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid"}},[t("g",{attrs:{transform:"translate(20 50)"}},[t("rect",{attrs:{x:"-10",y:"-30",width:"20",height:"60",fill:"currentColor",opacity:"0.6"}},[t("animateTransform",{attrs:{attributeName:"transform",type:"scale",from:"2",to:"1",begin:"0s",repeatCount:"indefinite",dur:"1s",calcMode:"spline",keySplines:"0.1 0.9 0.4 1",keyTimes:"0;1",values:"2;1"}})])]),t("g",{attrs:{transform:"translate(50 50)"}},[t("rect",{attrs:{x:"-10",y:"-30",width:"20",height:"60",fill:"currentColor",opacity:"0.8"}},[t("animateTransform",{attrs:{attributeName:"transform",type:"scale",from:"2",to:"1",begin:"0.1s",repeatCount:"indefinite",dur:"1s",calcMode:"spline",keySplines:"0.1 0.9 0.4 1",keyTimes:"0;1",values:"2;1"}})])]),t("g",{attrs:{transform:"translate(80 50)"}},[t("rect",{attrs:{x:"-10",y:"-30",width:"20",height:"60",fill:"currentColor",opacity:"0.9"}},[t("animateTransform",{attrs:{attributeName:"transform",type:"scale",from:"2",to:"1",begin:"0.2s",repeatCount:"indefinite",dur:"1s",calcMode:"spline",keySplines:"0.1 0.9 0.4 1",keyTimes:"0;1",values:"2;1"}})])])])}},rn={name:"QSpinnerGears",mixins:[Vt],render:function(t){return t("svg",{staticClass:"q-spinner",class:this.classes,attrs:{width:this.size,height:this.size,viewBox:"0 0 100 100",preserveAspectRatio:"xMidYMid",xmlns:"http://www.w3.org/2000/svg"}},[t("g",{attrs:{transform:"translate(-20,-20)"}},[t("path",{attrs:{d:"M79.9,52.6C80,51.8,80,50.9,80,50s0-1.8-0.1-2.6l-5.1-0.4c-0.3-2.4-0.9-4.6-1.8-6.7l4.2-2.9c-0.7-1.6-1.6-3.1-2.6-4.5 L70,35c-1.4-1.9-3.1-3.5-4.9-4.9l2.2-4.6c-1.4-1-2.9-1.9-4.5-2.6L59.8,27c-2.1-0.9-4.4-1.5-6.7-1.8l-0.4-5.1C51.8,20,50.9,20,50,20 s-1.8,0-2.6,0.1l-0.4,5.1c-2.4,0.3-4.6,0.9-6.7,1.8l-2.9-4.1c-1.6,0.7-3.1,1.6-4.5,2.6l2.1,4.6c-1.9,1.4-3.5,3.1-5,4.9l-4.5-2.1 c-1,1.4-1.9,2.9-2.6,4.5l4.1,2.9c-0.9,2.1-1.5,4.4-1.8,6.8l-5,0.4C20,48.2,20,49.1,20,50s0,1.8,0.1,2.6l5,0.4 c0.3,2.4,0.9,4.7,1.8,6.8l-4.1,2.9c0.7,1.6,1.6,3.1,2.6,4.5l4.5-2.1c1.4,1.9,3.1,3.5,5,4.9l-2.1,4.6c1.4,1,2.9,1.9,4.5,2.6l2.9-4.1 c2.1,0.9,4.4,1.5,6.7,1.8l0.4,5.1C48.2,80,49.1,80,50,80s1.8,0,2.6-0.1l0.4-5.1c2.3-0.3,4.6-0.9,6.7-1.8l2.9,4.2 c1.6-0.7,3.1-1.6,4.5-2.6L65,69.9c1.9-1.4,3.5-3,4.9-4.9l4.6,2.2c1-1.4,1.9-2.9,2.6-4.5L73,59.8c0.9-2.1,1.5-4.4,1.8-6.7L79.9,52.6 z M50,65c-8.3,0-15-6.7-15-15c0-8.3,6.7-15,15-15s15,6.7,15,15C65,58.3,58.3,65,50,65z",fill:"currentColor"}},[t("animateTransform",{attrs:{attributeName:"transform",type:"rotate",from:"90 50 50",to:"0 50 50",dur:"1s",repeatCount:"indefinite"}})])]),t("g",{attrs:{transform:"translate(20,20) rotate(15 50 50)"}},[t("path",{attrs:{d:"M79.9,52.6C80,51.8,80,50.9,80,50s0-1.8-0.1-2.6l-5.1-0.4c-0.3-2.4-0.9-4.6-1.8-6.7l4.2-2.9c-0.7-1.6-1.6-3.1-2.6-4.5 L70,35c-1.4-1.9-3.1-3.5-4.9-4.9l2.2-4.6c-1.4-1-2.9-1.9-4.5-2.6L59.8,27c-2.1-0.9-4.4-1.5-6.7-1.8l-0.4-5.1C51.8,20,50.9,20,50,20 s-1.8,0-2.6,0.1l-0.4,5.1c-2.4,0.3-4.6,0.9-6.7,1.8l-2.9-4.1c-1.6,0.7-3.1,1.6-4.5,2.6l2.1,4.6c-1.9,1.4-3.5,3.1-5,4.9l-4.5-2.1 c-1,1.4-1.9,2.9-2.6,4.5l4.1,2.9c-0.9,2.1-1.5,4.4-1.8,6.8l-5,0.4C20,48.2,20,49.1,20,50s0,1.8,0.1,2.6l5,0.4 c0.3,2.4,0.9,4.7,1.8,6.8l-4.1,2.9c0.7,1.6,1.6,3.1,2.6,4.5l4.5-2.1c1.4,1.9,3.1,3.5,5,4.9l-2.1,4.6c1.4,1,2.9,1.9,4.5,2.6l2.9-4.1 c2.1,0.9,4.4,1.5,6.7,1.8l0.4,5.1C48.2,80,49.1,80,50,80s1.8,0,2.6-0.1l0.4-5.1c2.3-0.3,4.6-0.9,6.7-1.8l2.9,4.2 c1.6-0.7,3.1-1.6,4.5-2.6L65,69.9c1.9-1.4,3.5-3,4.9-4.9l4.6,2.2c1-1.4,1.9-2.9,2.6-4.5L73,59.8c0.9-2.1,1.5-4.4,1.8-6.7L79.9,52.6 z M50,65c-8.3,0-15-6.7-15-15c0-8.3,6.7-15,15-15s15,6.7,15,15C65,58.3,58.3,65,50,65z",fill:"currentColor"}},[t("animateTransform",{attrs:{attributeName:"transform",type:"rotate",from:"0 50 50",to:"90 50 50",dur:"1s",repeatCount:"indefinite"}})])])])}},an={name:"QSpinnerGrid",mixins:[Vt],render:function(t){return t("svg",{staticClass:"q-spinner",class:this.classes,attrs:{fill:"currentColor",width:this.size,height:this.size,viewBox:"0 0 105 105",xmlns:"http://www.w3.org/2000/svg"}},[t("circle",{attrs:{cx:"12.5",cy:"12.5",r:"12.5"}},[t("animate",{attrs:{attributeName:"fill-opacity",begin:"0s",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"}})]),t("circle",{attrs:{cx:"12.5",cy:"52.5",r:"12.5","fill-opacity":".5"}},[t("animate",{attrs:{attributeName:"fill-opacity",begin:"100ms",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"}})]),t("circle",{attrs:{cx:"52.5",cy:"12.5",r:"12.5"}},[t("animate",{attrs:{attributeName:"fill-opacity",begin:"300ms",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"}})]),t("circle",{attrs:{cx:"52.5",cy:"52.5",r:"12.5"}},[t("animate",{attrs:{attributeName:"fill-opacity",begin:"600ms",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"}})]),t("circle",{attrs:{cx:"92.5",cy:"12.5",r:"12.5"}},[t("animate",{attrs:{attributeName:"fill-opacity",begin:"800ms",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"}})]),t("circle",{attrs:{cx:"92.5",cy:"52.5",r:"12.5"}},[t("animate",{attrs:{attributeName:"fill-opacity",begin:"400ms",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"}})]),t("circle",{attrs:{cx:"12.5",cy:"92.5",r:"12.5"}},[t("animate",{attrs:{attributeName:"fill-opacity",begin:"700ms",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"}})]),t("circle",{attrs:{cx:"52.5",cy:"92.5",r:"12.5"}},[t("animate",{attrs:{attributeName:"fill-opacity",begin:"500ms",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"}})]),t("circle",{attrs:{cx:"92.5",cy:"92.5",r:"12.5"}},[t("animate",{attrs:{attributeName:"fill-opacity",begin:"200ms",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"}})])])}},ln={name:"QSpinnerHearts",mixins:[Vt],render:function(t){return t("svg",{staticClass:"q-spinner",class:this.classes,attrs:{fill:"currentColor",width:this.size,height:this.size,viewBox:"0 0 140 64",xmlns:"http://www.w3.org/2000/svg"}},[t("path",{attrs:{d:"M30.262 57.02L7.195 40.723c-5.84-3.976-7.56-12.06-3.842-18.063 3.715-6 11.467-7.65 17.306-3.68l4.52 3.76 2.6-5.274c3.716-6.002 11.47-7.65 17.304-3.68 5.84 3.97 7.56 12.054 3.842 18.062L34.49 56.118c-.897 1.512-2.793 1.915-4.228.9z","fill-opacity":".5"}},[t("animate",{attrs:{attributeName:"fill-opacity",begin:"0s",dur:"1.4s",values:"0.5;1;0.5",calcMode:"linear",repeatCount:"indefinite"}})]),t("path",{attrs:{d:"M105.512 56.12l-14.44-24.272c-3.716-6.008-1.996-14.093 3.843-18.062 5.835-3.97 13.588-2.322 17.306 3.68l2.6 5.274 4.52-3.76c5.84-3.97 13.593-2.32 17.308 3.68 3.718 6.003 1.998 14.088-3.842 18.064L109.74 57.02c-1.434 1.014-3.33.61-4.228-.9z","fill-opacity":".5"}},[t("animate",{attrs:{attributeName:"fill-opacity",begin:"0.7s",dur:"1.4s",values:"0.5;1;0.5",calcMode:"linear",repeatCount:"indefinite"}})]),t("path",{attrs:{d:"M67.408 57.834l-23.01-24.98c-5.864-6.15-5.864-16.108 0-22.248 5.86-6.14 15.37-6.14 21.234 0L70 16.168l4.368-5.562c5.863-6.14 15.375-6.14 21.235 0 5.863 6.14 5.863 16.098 0 22.247l-23.007 24.98c-1.43 1.556-3.757 1.556-5.188 0z"}})])}},cn={name:"QSpinnerHourglass",mixins:[Vt],render:function(t){return t("svg",{staticClass:"q-spinner",class:this.classes,attrs:{width:this.size,height:this.size,viewBox:"0 0 100 100",preserveAspectRatio:"xMidYMid",xmlns:"http://www.w3.org/2000/svg"}},[t("g",[t("path",{staticClass:"glass",attrs:{fill:"none",stroke:"currentColor","stroke-width":"5","stroke-miterlimit":"10",d:"M58.4,51.7c-0.9-0.9-1.4-2-1.4-2.3s0.5-0.4,1.4-1.4 C70.8,43.8,79.8,30.5,80,15.5H70H30H20c0.2,15,9.2,28.1,21.6,32.3c0.9,0.9,1.4,1.2,1.4,1.5s-0.5,1.6-1.4,2.5 C29.2,56.1,20.2,69.5,20,85.5h10h40h10C79.8,69.5,70.8,55.9,58.4,51.7z"}}),t("clipPath",{attrs:{id:"uil-hourglass-clip1"}},[t("rect",{staticClass:"clip",attrs:{x:"15",y:"20",width:"70",height:"25"}},[t("animate",{attrs:{attributeName:"height",from:"25",to:"0",dur:"1s",repeatCount:"indefinite",vlaues:"25;0;0",keyTimes:"0;0.5;1"}}),t("animate",{attrs:{attributeName:"y",from:"20",to:"45",dur:"1s",repeatCount:"indefinite",vlaues:"20;45;45",keyTimes:"0;0.5;1"}})])]),t("clipPath",{attrs:{id:"uil-hourglass-clip2"}},[t("rect",{staticClass:"clip",attrs:{x:"15",y:"55",width:"70",height:"25"}},[t("animate",{attrs:{attributeName:"height",from:"0",to:"25",dur:"1s",repeatCount:"indefinite",vlaues:"0;25;25",keyTimes:"0;0.5;1"}}),t("animate",{attrs:{attributeName:"y",from:"80",to:"55",dur:"1s",repeatCount:"indefinite",vlaues:"80;55;55",keyTimes:"0;0.5;1"}})])]),t("path",{staticClass:"sand",attrs:{d:"M29,23c3.1,11.4,11.3,19.5,21,19.5S67.9,34.4,71,23H29z","clip-path":"url(#uil-hourglass-clip1)",fill:"currentColor"}}),t("path",{staticClass:"sand",attrs:{d:"M71.6,78c-3-11.6-11.5-20-21.5-20s-18.5,8.4-21.5,20H71.6z","clip-path":"url(#uil-hourglass-clip2)",fill:"currentColor"}}),t("animateTransform",{attrs:{attributeName:"transform",type:"rotate",from:"0 50 50",to:"180 50 50",repeatCount:"indefinite",dur:"1s",values:"0 50 50;0 50 50;180 50 50",keyTimes:"0;0.7;1"}})])])}},hn={name:"QSpinnerInfinity",mixins:[Vt],render:function(t){return t("svg",{staticClass:"q-spinner",class:this.classes,attrs:{width:this.size,height:this.size,viewBox:"0 0 100 100",preserveAspectRatio:"xMidYMid"}},[t("path",{attrs:{d:"M24.3,30C11.4,30,5,43.3,5,50s6.4,20,19.3,20c19.3,0,32.1-40,51.4-40C88.6,30,95,43.3,95,50s-6.4,20-19.3,20C56.4,70,43.6,30,24.3,30z",fill:"none",stroke:"currentColor","stroke-width":"8","stroke-dasharray":"10.691205342610678 10.691205342610678","stroke-dashoffset":"0"}},[t("animate",{attrs:{attributeName:"stroke-dashoffset",from:"0",to:"21.382410685221355",begin:"0",dur:"2s",repeatCount:"indefinite",fill:"freeze"}})])])}},un={name:"QSpinnerMat",mixins:[Vt],render:function(t){return t("svg",{staticClass:"q-spinner q-spinner-mat",class:this.classes,attrs:{width:this.size,height:this.size,viewBox:"25 25 50 50"}},[t("circle",{staticClass:"path",attrs:{cx:"50",cy:"50",r:"20",fill:"none",stroke:"currentColor","stroke-width":"3","stroke-miterlimit":"10"}})])}},dn={name:"QSpinnerOval",mixins:[Vt],render:function(t){return t("svg",{staticClass:"q-spinner",class:this.classes,attrs:{stroke:"currentColor",width:this.size,height:this.size,viewBox:"0 0 38 38",xmlns:"http://www.w3.org/2000/svg"}},[t("g",{attrs:{transform:"translate(1 1)","stroke-width":"2",fill:"none","fill-rule":"evenodd"}},[t("circle",{attrs:{"stroke-opacity":".5",cx:"18",cy:"18",r:"18"}}),t("path",{attrs:{d:"M36 18c0-9.94-8.06-18-18-18"}},[t("animateTransform",{attrs:{attributeName:"transform",type:"rotate",from:"0 18 18",to:"360 18 18",dur:"1s",repeatCount:"indefinite"}})])])])}},pn={name:"QSpinnerPie",mixins:[Vt],render:function(t){return t("svg",{staticClass:"q-spinner",class:this.classes,attrs:{width:this.size,height:this.size,viewBox:"0 0 100 100",preserveAspectRatio:"xMidYMid",xmlns:"http://www.w3.org/2000/svg"}},[t("path",{attrs:{d:"M0 50A50 50 0 0 1 50 0L50 50L0 50",fill:"currentColor",opacity:"0.5"}},[t("animateTransform",{attrs:{attributeName:"transform",type:"rotate",from:"0 50 50",to:"360 50 50",dur:"0.8s",repeatCount:"indefinite"}})]),t("path",{attrs:{d:"M50 0A50 50 0 0 1 100 50L50 50L50 0",fill:"currentColor",opacity:"0.5"}},[t("animateTransform",{attrs:{attributeName:"transform",type:"rotate",from:"0 50 50",to:"360 50 50",dur:"1.6s",repeatCount:"indefinite"}})]),t("path",{attrs:{d:"M100 50A50 50 0 0 1 50 100L50 50L100 50",fill:"currentColor",opacity:"0.5"}},[t("animateTransform",{attrs:{attributeName:"transform",type:"rotate",from:"0 50 50",to:"360 50 50",dur:"2.4s",repeatCount:"indefinite"}})]),t("path",{attrs:{d:"M50 100A50 50 0 0 1 0 50L50 50L50 100",fill:"currentColor",opacity:"0.5"}},[t("animateTransform",{attrs:{attributeName:"transform",type:"rotate",from:"0 50 50",to:"360 50 50",dur:"3.2s",repeatCount:"indefinite"}})])])}},fn={name:"QSpinnerPuff",mixins:[Vt],render:function(t){return t("svg",{staticClass:"q-spinner",class:this.classes,attrs:{stroke:"currentColor",width:this.size,height:this.size,viewBox:"0 0 44 44",xmlns:"http://www.w3.org/2000/svg"}},[t("g",{attrs:{fill:"none","fill-rule":"evenodd","stroke-width":"2"}},[t("circle",{attrs:{cx:"22",cy:"22",r:"1"}},[t("animate",{attrs:{attributeName:"r",begin:"0s",dur:"1.8s",values:"1; 20",calcMode:"spline",keyTimes:"0; 1",keySplines:"0.165, 0.84, 0.44, 1",repeatCount:"indefinite"}}),t("animate",{attrs:{attributeName:"stroke-opacity",begin:"0s",dur:"1.8s",values:"1; 0",calcMode:"spline",keyTimes:"0; 1",keySplines:"0.3, 0.61, 0.355, 1",repeatCount:"indefinite"}})]),t("circle",{attrs:{cx:"22",cy:"22",r:"1"}},[t("animate",{attrs:{attributeName:"r",begin:"-0.9s",dur:"1.8s",values:"1; 20",calcMode:"spline",keyTimes:"0; 1",keySplines:"0.165, 0.84, 0.44, 1",repeatCount:"indefinite"}}),t("animate",{attrs:{attributeName:"stroke-opacity",begin:"-0.9s",dur:"1.8s",values:"1; 0",calcMode:"spline",keyTimes:"0; 1",keySplines:"0.3, 0.61, 0.355, 1",repeatCount:"indefinite"}})])])])}},mn={name:"QSpinnerRadio",mixins:[Vt],render:function(t){return t("svg",{staticClass:"q-spinner",class:this.classes,attrs:{width:this.size,height:this.size,viewBox:"0 0 100 100",preserveAspectRatio:"xMidYMid",xmlns:"http://www.w3.org/2000/svg"}},[t("g",{attrs:{transform:"scale(0.55)"}},[t("circle",{attrs:{cx:"30",cy:"150",r:"30",fill:"currentColor"}},[t("animate",{attrs:{attributeName:"opacity",from:"0",to:"1",dur:"1s",begin:"0",repeatCount:"indefinite",keyTimes:"0;0.5;1",values:"0;1;1"}})]),t("path",{attrs:{d:"M90,150h30c0-49.7-40.3-90-90-90v30C63.1,90,90,116.9,90,150z",fill:"currentColor"}},[t("animate",{attrs:{attributeName:"opacity",from:"0",to:"1",dur:"1s",begin:"0.1",repeatCount:"indefinite",keyTimes:"0;0.5;1",values:"0;1;1"}})]),t("path",{attrs:{d:"M150,150h30C180,67.2,112.8,0,30,0v30C96.3,30,150,83.7,150,150z",fill:"currentColor"}},[t("animate",{attrs:{attributeName:"opacity",from:"0",to:"1",dur:"1s",begin:"0.2",repeatCount:"indefinite",keyTimes:"0;0.5;1",values:"0;1;1"}})])])])}},gn={name:"QSpinnerRings",mixins:[Vt],render:function(t){return t("svg",{staticClass:"q-spinner",class:this.classes,attrs:{stroke:"currentColor",width:this.size,height:this.size,viewBox:"0 0 45 45",xmlns:"http://www.w3.org/2000/svg"}},[t("g",{attrs:{fill:"none","fill-rule":"evenodd",transform:"translate(1 1)","stroke-width":"2"}},[t("circle",{attrs:{cx:"22",cy:"22",r:"6"}},[t("animate",{attrs:{attributeName:"r",begin:"1.5s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}}),t("animate",{attrs:{attributeName:"stroke-opacity",begin:"1.5s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}}),t("animate",{attrs:{attributeName:"stroke-width",begin:"1.5s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"}})]),t("circle",{attrs:{cx:"22",cy:"22",r:"6"}},[t("animate",{attrs:{attributeName:"r",begin:"3s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}}),t("animate",{attrs:{attributeName:"stroke-opacity",begin:"3s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}}),t("animate",{attrs:{attributeName:"stroke-width",begin:"3s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"}})]),t("circle",{attrs:{cx:"22",cy:"22",r:"8"}},[t("animate",{attrs:{attributeName:"r",begin:"0s",dur:"1.5s",values:"6;1;2;3;4;5;6",calcMode:"linear",repeatCount:"indefinite"}})])])])}},vn={name:"QSpinnerTail",mixins:[Vt],render:function(t){return t("svg",{staticClass:"q-spinner",class:this.classes,attrs:{width:this.size,height:this.size,viewBox:"0 0 38 38",xmlns:"http://www.w3.org/2000/svg"}},[t("defs",[t("linearGradient",{attrs:{x1:"8.042%",y1:"0%",x2:"65.682%",y2:"23.865%",id:"a"}},[t("stop",{attrs:{"stop-color":"currentColor","stop-opacity":"0",offset:"0%"}}),t("stop",{attrs:{"stop-color":"currentColor","stop-opacity":".631",offset:"63.146%"}}),t("stop",{attrs:{"stop-color":"currentColor",offset:"100%"}})])]),t("g",{attrs:{transform:"translate(1 1)",fill:"none","fill-rule":"evenodd"}},[t("path",{attrs:{d:"M36 18c0-9.94-8.06-18-18-18",stroke:"url(#a)","stroke-width":"2"}},[t("animateTransform",{attrs:{attributeName:"transform",type:"rotate",from:"0 18 18",to:"360 18 18",dur:"0.9s",repeatCount:"indefinite"}})]),t("circle",{attrs:{fill:"currentColor",cx:"36",cy:"18",r:"1"}},[t("animateTransform",{attrs:{attributeName:"transform",type:"rotate",from:"0 18 18",to:"360 18 18",dur:"0.9s",repeatCount:"indefinite"}})])])])}},bn={name:"QStepTab",directives:{Ripple:It},props:["vm"],computed:{hasNavigation:function(){return!this.vm.__stepper.noHeaderNavigation},classes:function(){return{"step-error":this.vm.error,"step-active":this.vm.active,"step-done":this.vm.done,"step-navigation":this.vm.done&&this.hasNavigation,"step-waiting":this.vm.waiting,"step-disabled":this.vm.disable,"step-colored":this.vm.active||this.vm.done,"items-center":!this.vm.__stepper.vertical,"items-start":this.vm.__stepper.vertical,"q-stepper-first":this.vm.first,"q-stepper-last":this.vm.last}}},methods:{__select:function(){this.hasNavigation&&this.vm.select()}},render:function(t){var e=this.vm.stepIcon?t(ut,{props:{name:this.vm.stepIcon}}):t("span",[this.vm.innerOrder+1]);return t("div",{staticClass:"q-stepper-tab col-grow flex no-wrap relative-position",class:this.classes,on:{click:this.__select},directives:null},[t("div",{staticClass:"q-stepper-dot row flex-center q-stepper-line relative-position"},[t("span",{staticClass:"row flex-center"},[e])]),this.vm.title?t("div",{staticClass:"q-stepper-label q-stepper-line relative-position"},[t("div",{staticClass:"q-stepper-title"},[this.vm.title]),t("div",{staticClass:"q-stepper-subtitle"},[this.vm.subtitle])]):null])}},_n={name:"QStep",inject:{__stepper:{default:function(){console.error("QStep needs to be child of QStepper")}}},props:{name:{type:[Number,String],default:function(){return Gt()}},default:Boolean,title:{type:String,required:!0},subtitle:String,icon:String,order:[Number,String],error:Boolean,activeIcon:String,errorIcon:String,doneIcon:String,disable:Boolean},watch:{order:function(){this.__stepper.__sortSteps()}},data:function(){return{innerOrder:0,first:!1,last:!1}},computed:{stepIcon:function(){var t=this.__stepper;return this.active?this.activeIcon||t.activeIcon||this.$q.icon.stepper.active:this.error?this.errorIcon||t.errorIcon||this.$q.icon.stepper.error:this.done&&!this.disable?this.doneIcon||t.doneIcon||this.$q.icon.stepper.done:this.icon},actualOrder:function(){return parseInt(this.order||this.innerOrder,10)},active:function(){return this.__stepper.step===this.name},done:function(){return!this.disable&&this.__stepper.currentOrder>this.innerOrder},waiting:function(){return!this.disable&&this.__stepper.currentOrders?"animate-fade-right":null}}},computed:{classes:function(){var t=["q-stepper-"+(this.vertical?"vertical":"horizontal"),"text-"+this.color];return this.contractable&&t.push("q-stepper-contractable"),t},hasSteps:function(){return this.steps.length>0},currentStep:function(){var t=this;if(this.hasSteps)return this.steps.find(function(e){return e.name===t.step})},currentOrder:function(){if(this.currentStep)return this.currentStep.innerOrder},length:function(){return this.steps.length}},methods:{goToStep:function(t){var e=this;this.step!==t&&void 0!==t&&(this.step=t,this.$emit("input",t),this.$emit("step",t),this.$nextTick(function(){JSON.stringify(t)!==JSON.stringify(e.value)&&e.$emit("change",t)}))},next:function(){this.__go(1)},previous:function(){this.__go(-1)},reset:function(){this.hasSteps&&this.goToStep(this.steps[0].name)},__go:function(t){var e,i=this.currentOrder;if(void 0===i){if(!this.hasSteps)return;e=this.steps[0].name}else{do{i+=t}while(i>=0&&ithis.length-1||this.steps[i].disable)return;e=this.steps[i].name}this.goToStep(e)},__sortSteps:function(){var t=this;this.steps.sort(function(t,e){return t.actualOrder-e.actualOrder});var e=this.steps.length-1;this.steps.forEach(function(t,i){t.innerOrder=i,t.first=0===i,t.last=i===e}),this.$nextTick(function(){t.steps.some(function(t){return t.active})||t.goToStep(t.steps[0].name)})},__registerStep:function(t){return this.steps.push(t),this.__sortSteps(),this},__unregisterStep:function(t){this.steps=this.steps.filter(function(e){return e!==t})}},created:function(){this.__sortSteps=se(this.__sortSteps)},render:function(t){return t("div",{staticClass:"q-stepper column overflow-hidden relative-position",class:this.classes},[this.vertical?null:t("div",{staticClass:"q-stepper-header row items-stretch justify-between shadow-1",class:{"alternative-labels":this.alternativeLabels}},this.steps.map(function(e){return t(bn,{key:e.name,props:{vm:e}})})),this.$slots.default])}},wn={directives:{Ripple:It},props:{label:String,icon:String,disable:Boolean,hidden:Boolean,hide:{type:String,default:""},name:{type:String,default:function(){return Gt()}},alert:Boolean,count:[Number,String],color:String,tabindex:Number},inject:{data:{default:function(){console.error("QTab/QRouteTab components need to be child of QTabs")}},selectTab:{}},watch:{active:function(t){t&&this.$emit("select",this.name)}},computed:{active:function(){return this.data.tabName===this.name},classes:function(){var t={active:this.active,hidden:this.hidden,disabled:this.disable,"q-tab-full":this.icon&&this.label,"q-tab-only-label":!this.icon&&this.label,"hide-none":!this.hide,"hide-icon":"icon"===this.hide,"hide-label":"label"===this.hide},e=this.data.inverted?this.color||this.data.textColor||this.data.color:this.color;return e&&(t["text-"+e]=this.active),t},barStyle:function(){if(!this.active||!this.data.highlight)return"display: none;"},computedTabIndex:function(){return this.disable||this.active?-1:this.tabindex||0}},methods:{__getTabMeta:function(t){return this.count?[t(je,{staticClass:"q-tab-meta",props:{floating:!0}},[this.count])]:this.alert?[t("div",{staticClass:"q-tab-meta q-dot"})]:void 0},__getTabContent:function(t){var e=[];return this.icon&&e.push(t("div",{staticClass:"q-tab-icon-parent relative-position"},[t(ut,{staticClass:"q-tab-icon",props:{name:this.icon}}),this.__getTabMeta(t)])),this.label&&e.push(t("div",{staticClass:"q-tab-label-parent relative-position"},[t("div",{staticClass:"q-tab-label"},[this.label]),this.__getTabMeta(t)])),(e=e.concat(this.$slots.default)).push(t("div",{staticClass:"q-tab-focus-helper absolute-full",attrs:{tabindex:this.computedTabIndex}})),e}}},Cn={name:"QRouteTab",mixins:[wn,mt],inject:{selectTabRouter:{}},watch:{$route:function(){this.checkIfSelected()}},methods:{select:function(){this.$emit("click",this.name),this.disable||(this.$el.dispatchEvent(pt),this.selectTabRouter({value:this.name,selected:!0}))},checkIfSelected:function(){var t=this;this.$nextTick(function(){if(t.$el.classList.contains("q-router-link-exact-active"))t.selectTabRouter({value:t.name,selectable:!0,exact:!0});else if(t.$el.classList.contains("q-router-link-active")){var e=t.$router.resolve(t.to,void 0,t.append);t.selectTabRouter({value:t.name,selectable:!0,priority:e.href.length})}else t.active&&t.selectTabRouter({value:null})})}},mounted:function(){this.checkIfSelected()},render:function(t){var e=this;return t("router-link",{props:{tag:"a",to:this.to,exact:this.exact,append:this.append,replace:this.replace,event:"qrouterlinkclick",activeClass:"q-router-link-active",exactActiveClass:"q-router-link-exact-active"},attrs:{tabindex:-1},nativeOn:{click:this.select,keyup:function(t){return 13===t.keyCode&&e.select(t)}},staticClass:"q-link q-tab column flex-center relative-position",class:this.classes,directives:null},this.__getTabContent(t))}},xn={name:"QTab",mixins:[wn],props:{default:Boolean},methods:{select:function(){this.$emit("click",this.name),this.disable||this.selectTab(this.name)}},mounted:function(){this.default&&!this.disable&&this.select()},render:function(t){var e=this;return t("div",{staticClass:"q-tab column flex-center relative-position",class:this.classes,attrs:{"data-tab-name":this.name},on:{click:this.select,keyup:function(t){return 13===t.keyCode&&e.select(t)}},directives:null},this.__getTabContent(t))}},kn={name:"QTabPane",inject:{data:{default:function(){console.error("QTabPane needs to be child of QTabs")}}},props:{name:{type:String,required:!0},keepAlive:Boolean},data:function(){return{shown:!1}},computed:{active:function(){return this.data.tabName===this.name},classes:function(){return{hidden:!this.active,"animate-fade-left":"left"===this.data.direction,"animate-fade-right":"right"===this.data.direction}}},render:function(t){var e=t("div",{staticClass:"q-tab-pane",class:this.classes},this.$slots.default);if(this.keepAlive){if(!this.shown&&!this.active)return;return this.shown=!0,e}if(this.shown=this.active,this.active)return e}};function Sn(t){if(t)return"text-"+t}var qn={name:"QTabs",provide:function(){return{data:this.data,selectTab:this.selectTab,selectTabRouter:this.selectTabRouter}},directives:{TouchSwipe:He},props:{value:String,align:{type:String,default:"center",validator:function(t){return["left","center","right","justify"].includes(t)}},position:{type:String,default:"top",validator:function(t){return["top","bottom"].includes(t)}},color:{type:String,default:"primary"},textColor:String,inverted:Boolean,twoLines:Boolean,glossy:Boolean,animated:Boolean,swipeable:Boolean,panesContainerClass:String,underlineColor:String},data:function(){return{currentEl:null,posbar:{width:0,left:0},data:{highlight:!0,tabName:this.value||"",color:this.color,textColor:this.textColor,inverted:this.inverted,underlineClass:Sn(this.underlineColor),direction:null}}},watch:{value:function(t){this.selectTab(t)},color:function(t){this.data.color=t},textColor:function(t){this.data.textColor=t},inverted:function(t){this.data.inverted=t},underlineColor:function(t){this.data.underlineClass=Sn(t)}},computed:{classes:function(){return["q-tabs-position-"+this.position,"q-tabs-"+(this.inverted?"inverted":"normal"),this.twoLines?"q-tabs-two-lines":""]},innerClasses:function(){var t=["q-tabs-align-"+this.align];return this.glossy&&t.push("glossy"),this.inverted?t.push("text-"+(this.textColor||this.color)):(t.push("bg-"+this.color),t.push("text-"+(this.textColor||"white"))),t},posbarClasses:function(){var t=[];return this.inverted&&t.push("text-"+(this.textColor||this.color)),this.data.highlight&&t.push("highlight"),t}},methods:{go:function(t){var e=0;if(this.data.tabName){var i=this.$refs.scroller.querySelector('[data-tab-name="'+this.data.tabName+'"]');i&&(e=Array.prototype.indexOf.call(this.$refs.scroller.children,i))}var s=this.$refs.scroller.querySelectorAll("[data-tab-name]");(e+=t)>-1&&e-1){var c=this.buffer[l];n&&(c.exact=n),s&&(c.selectable=s),o&&(c.selected=o),r&&(c.priority=r)}else this.buffer.push(t);a&&(this.bufferTimer=setTimeout(function(){var t=e.buffer.find(function(t){return t.exact&&t.selected})||e.buffer.find(function(t){return t.selectable&&t.selected})||e.buffer.find(function(t){return t.exact})||e.buffer.filter(function(t){return t.selectable}).sort(function(t,e){return e.priority-t.priority})[0]||e.buffer[0];e.buffer.length=0,e.selectTab(t.value)},100))},__swipe:function(t){this.go("left"===t.direction?1:-1)},__repositionBar:function(){var t=this;clearTimeout(this.timer);var e=!1,i=this.$refs.posbar,s=this.currentEl;if(!1!==this.data.highlight&&(this.data.highlight=!1,e=!0),!s)return this.finalPosbar={width:0,left:0},void this.__setPositionBar(0,0);var n=i.parentNode.offsetLeft;e&&this.oldEl&&this.__setPositionBar(this.oldEl.getBoundingClientRect().width,this.oldEl.offsetLeft-n),this.timer=setTimeout(function(){var e=s.getBoundingClientRect().width,o=s.offsetLeft-n;i.classList.remove("contract"),t.oldEl=s,t.finalPosbar={width:e,left:o},t.__setPositionBar(t.posbar.left=this.$refs.scroller.scrollWidth?"add":"remove";this.$refs.leftScroll.classList[this.$refs.scroller.scrollLeft<=0?"add":"remove"]("disabled"),this.$refs.rightScroll.classList[t]("disabled")}},__getTabElByName:function(t){var e=this.$children.find(function(e){return e.name===t&&e.$el&&1===e.$el.nodeType});if(e)return e.$el},__findTabAndScroll:function(t,e){var i=this;setTimeout(function(){i.__scrollToTab(i.__getTabElByName(t),e)},200)},__scrollToTab:function(t,e){if(t&&this.scrollable){var i=this.$refs.scroller.getBoundingClientRect(),s=t.getBoundingClientRect(),n=s.width,o=s.left-i.left;o<0?e?this.$refs.scroller.scrollLeft+=o:this.__animScrollTo(this.$refs.scroller.scrollLeft+o):(o+=n-this.$refs.scroller.offsetWidth)>0&&(e?this.$refs.scroller.scrollLeft+=o:this.__animScrollTo(this.$refs.scroller.scrollLeft+o))}},__animScrollTo:function(t){var e=this;this.__stopAnimScroll(),this.__scrollTowards(t),this.scrollTimer=setInterval(function(){e.__scrollTowards(t)&&e.__stopAnimScroll()},5)},__scrollToStart:function(){this.__animScrollTo(0)},__scrollToEnd:function(){this.__animScrollTo(9999)},__stopAnimScroll:function(){clearInterval(this.scrollTimer)},__scrollTowards:function(t){var e=this.$refs.scroller.scrollLeft,i=t=t)&&(s=!0,e=t),this.$refs.scroller.scrollLeft=e,s}},render:function(t){return t("div",{staticClass:"q-tabs flex no-wrap overflow-hidden",class:this.classes},[t("div",{staticClass:"q-tabs-head row",ref:"tabs",class:this.innerClasses},[t("div",{ref:"scroller",staticClass:"q-tabs-scroller row no-wrap"},[this.$slots.title,null]),t("div",{ref:"leftScroll",staticClass:"row flex-center q-tabs-left-scroll",on:{mousedown:this.__scrollToStart,touchstart:this.__scrollToStart,mouseup:this.__stopAnimScroll,mouseleave:this.__stopAnimScroll,touchend:this.__stopAnimScroll}},[t(ut,{props:{name:this.$q.icon.tabs.left}})]),t("div",{ref:"rightScroll",staticClass:"row flex-center q-tabs-right-scroll",on:{mousedown:this.__scrollToEnd,touchstart:this.__scrollToEnd,mouseup:this.__stopAnimScroll,mouseleave:this.__stopAnimScroll,touchend:this.__stopAnimScroll}},[t(ut,{props:{name:this.$q.icon.tabs.right}})])]),t("div",{staticClass:"q-tabs-panes",class:this.panesContainerClass,directives:this.swipeable?[{name:"touch-swipe",value:this.__swipe}]:null},this.$slots.default)])},created:function(){this.timer=null,this.scrollTimer=null,this.bufferTimer=null,this.buffer=[],this.scrollable=!this.$q.platform.is.desktop,this.__redraw=ts(this.__redraw,50),this.__updateScrollIndicator=ts(this.__updateScrollIndicator,50)},mounted:function(){var t=this;this.$nextTick(function(){t.$refs.scroller&&(t.$refs.scroller.addEventListener("scroll",t.__updateScrollIndicator,M.passive),window.addEventListener("resize",t.__redraw,M.passive),""!==t.data.tabName&&t.value&&t.selectTab(t.value),t.__redraw(),t.__findTabAndScroll(t.data.tabName,!0))})},beforeDestroy:function(){clearTimeout(this.timer),clearTimeout(this.bufferTimer),this.__stopAnimScroll(),this.$refs.scroller.removeEventListener("scroll",this.__updateScrollIndicator,M.passive),window.removeEventListener("resize",this.__redraw,M.passive),this.__redraw.cancel(),this.__updateScrollIndicator.cancel()}},$n={name:"QTh",props:{props:Object,autoWidth:Boolean},render:function(t){var e,i=this;if(!this.props)return t("td",{class:{"q-table-col-auto-width":this.autoWidth}},this.$slots.default);var s=this.$vnode.key,n=[].concat(this.$slots.default);if(s){if(!(e=this.props.colsMap[s]))return}else e=this.props.col;e.sortable&&n["right"===e.align?"unshift":"push"](t(ut,{props:{name:this.$q.icon.table.arrowUp},staticClass:e.__iconClass}));return t("th",{class:[e.__thClass,{"q-table-col-auto-width":this.autoWidth}],on:e.sortable?{click:function(){i.props.sort(e)}}:null},n)}};function Tn(t){return t.page<1&&(t.page=1),void 0!==t.rowsPerPage&&t.rowsPerPage<1&&(t.rowsPerPage=0),t}var Pn={name:"QTable",mixins:[Ne,{computed:{marginalsProps:function(){return{pagination:this.computedPagination,pagesNumber:this.pagesNumber,isFirstPage:this.isFirstPage,isLastPage:this.isLastPage,prevPage:this.prevPage,nextPage:this.nextPage,inFullscreen:this.inFullscreen,toggleFullscreen:this.toggleFullscreen}}},methods:{getTop:function(t){var e=this.$scopedSlots.top,i=this.$scopedSlots["top-left"],s=this.$scopedSlots["top-right"],n=this.$scopedSlots["top-selection"],o=this.hasSelectionMode&&n&&this.rowsSelectedNumber>0,r="q-table-top relative-position row items-center",a=[];return e?t("div",{staticClass:r},[e(this.marginalsProps)]):(o?a.push(n(this.marginalsProps)):i?a.push(t("div",{staticClass:"q-table-control"},[i(this.marginalsProps)])):this.title&&a.push(t("div",{staticClass:"q-table-control"},[t("div",{staticClass:"q-table-title"},this.title)])),s&&(a.push(t("div",{staticClass:"q-table-separator col"})),a.push(t("div",{staticClass:"q-table-control"},[s(this.marginalsProps)]))),0!==a.length?t("div",{staticClass:r},a):void 0)}}},{methods:{getTableHeader:function(t){var e=[this.getTableHeaderRow(t)];return this.loading&&e.push(t("tr",{staticClass:"q-table-progress animate-fade"},[t("td",{attrs:{colspan:"100%"}},[t(Hs,{props:{color:this.color,indeterminate:!0,height:"2px"}})])])),t("thead",e)},getTableHeaderRow:function(t){var e,i=this,s=this.$scopedSlots.header,n=this.$scopedSlots["header-cell"];if(s)return s(this.addTableHeaderRowMeta({header:!0,cols:this.computedCols,sort:this.sort,colsMap:this.computedColsMap}));e=n?function(t){return n({col:t,cols:i.computedCols,sort:i.sort,colsMap:i.computedColsMap})}:function(e){return t($n,{key:e.name,props:{props:{col:e,cols:i.computedCols,sort:i.sort,colsMap:i.computedColsMap}},style:e.style,class:e.classes},e.label)};var o=this.computedCols.map(e);return this.singleSelection&&!this.grid?o.unshift(t("th",{staticClass:"q-table-col-auto-width"},[" "])):this.multipleSelection&&o.unshift(t("th",{staticClass:"q-table-col-auto-width"},[t(Qe,{props:{color:this.color,value:this.someRowsSelected?null:this.allRowsSelected,dark:this.dark},on:{input:function(t){i.someRowsSelected&&(t=!1),i.__updateSelection(i.computedRows.map(function(t){return t[i.rowKey]}),i.computedRows,t)}}})])),t("tr",o)},addTableHeaderRowMeta:function(t){var e=this;return this.multipleSelection&&(Object.defineProperty(t,"selected",{get:function(){return e.someRowsSelected?"some":e.allRowsSelected},set:function(t){e.someRowsSelected&&(t=!1),e.__updateSelection(e.computedRows.map(function(t){return t[e.rowKey]}),e.computedRows,t)}}),t.partialSelected=this.someRowsSelected,t.multipleSelect=!0),t}}},{methods:{getTableBody:function(t){var e=this,i=this.$scopedSlots.body,s=this.$scopedSlots["body-cell"],n=this.$scopedSlots["top-row"],o=this.$scopedSlots["bottom-row"],r=[];return r=i?this.computedRows.map(function(t){var s=t[e.rowKey],n=e.isRowSelected(s);return i(e.addBodyRowMeta({key:s,row:t,cols:e.computedCols,colsMap:e.computedColsMap,__trClass:n?"selected":""}))}):this.computedRows.map(function(i){var n=i[e.rowKey],o=e.isRowSelected(n),r=s?e.computedCols.map(function(t){return s(e.addBodyCellMetaData({row:i,col:t}))}):e.computedCols.map(function(s){var n=e.$scopedSlots["body-cell-"+s.name];return n?n(e.addBodyCellMetaData({row:i,col:s})):t("td",{staticClass:s.__tdClass,style:s.style,class:s.classes},e.getCellValue(s,i))});return e.hasSelectionMode&&r.unshift(t("td",{staticClass:"q-table-col-auto-width"},[t(Qe,{props:{value:o,color:e.color,dark:e.dark},on:{input:function(t){e.__updateSelection([n],[i],t)}}})])),t("tr",{key:n,class:{selected:o}},r)}),n&&r.unshift(n({cols:this.computedCols})),o&&r.push(o({cols:this.computedCols})),t("tbody",r)},addBodyRowMeta:function(t){var e=this;return this.hasSelectionMode&&Object.defineProperty(t,"selected",{get:function(){return e.isRowSelected(t.key)},set:function(i){e.__updateSelection([t.key],[t.row],i)}}),Object.defineProperty(t,"expand",{get:function(){return!0===e.rowsExpanded[t.key]},set:function(i){e.$set(e.rowsExpanded,t.key,i)}}),t.cols=t.cols.map(function(i){var s=Object.assign({},i);return Object.defineProperty(s,"value",{get:function(){return e.getCellValue(i,t.row)}}),s}),t},addBodyCellMetaData:function(t){var e=this;return Object.defineProperty(t,"value",{get:function(){return e.getCellValue(t.col,t.row)}}),t},getCellValue:function(t,e){var i="function"==typeof t.field?t.field(e):e[t.field];return t.format?t.format(i):i}}},{computed:{navIcon:function(){var t=[this.$q.icon.table.prevPage,this.$q.icon.table.nextPage];return this.$q.i18n.rtl?t.reverse():t}},methods:{getBottom:function(t){if(!this.hideBottom){if(this.nothingToDisplay){var e=this.filter?this.noResultsLabel||this.$q.i18n.table.noResults:this.loading?this.loadingLabel||this.$q.i18n.table.loading:this.noDataLabel||this.$q.i18n.table.noData;return t("div",{staticClass:"q-table-bottom row items-center q-table-nodata"},[t(ut,{props:{name:this.$q.icon.table.warning}}),e])}var i=this.$scopedSlots.bottom;return t("div",{staticClass:"q-table-bottom row items-center",class:i?null:"justify-end"},i?[i(this.marginalsProps)]:this.getPaginationRow(t))}},getPaginationRow:function(t){var e=this,i=this.computedPagination.rowsPerPage,s=this.paginationLabel||this.$q.i18n.table.pagination,n=this.$scopedSlots.pagination;return[t("div",{staticClass:"q-table-control"},[t("div",[this.hasSelectionMode&&this.rowsSelectedNumber>0?(this.selectedRowsLabel||this.$q.i18n.table.selectedRecords)(this.rowsSelectedNumber):""])]),t("div",{staticClass:"q-table-separator col"}),this.rowsPerPageOptions.length>1&&t("div",{staticClass:"q-table-control"},[t("span",{staticClass:"q-table-bottom-item"},[this.rowsPerPageLabel||this.$q.i18n.table.recordsPerPage]),t(Js,{staticClass:"inline q-table-bottom-item",props:{color:this.color,value:i,options:this.computedRowsPerPageOptions,dark:this.dark,hideUnderline:!0},on:{input:function(t){e.setPagination({page:1,rowsPerPage:t})}}})])||void 0,t("div",{staticClass:"q-table-control"},[n?n(this.marginalsProps):[t("span",{staticClass:"q-table-bottom-item"},[i?s(this.firstRowIndex+1,Math.min(this.lastRowIndex,this.computedRowsNumber),this.computedRowsNumber):s(1,this.computedRowsNumber,this.computedRowsNumber)]),t(Ut,{props:{color:this.color,round:!0,icon:this.navIcon[0],dense:!0,flat:!0,disable:this.isFirstPage},on:{click:this.prevPage}}),t(Ut,{props:{color:this.color,round:!0,icon:this.navIcon[1],dense:!0,flat:!0,disable:this.isLastPage},on:{click:this.nextPage}})]])]}}},{props:{sortMethod:{type:Function,default:function(t,e,i){var s=this.columns.find(function(t){return t.name===e});if(null===s||void 0===s.field)return t;var n=i?-1:1,o="function"==typeof s.field?function(t){return s.field(t)}:function(t){return t[s.field]};return t.sort(function(t,e){var i,r=o(t),a=o(e);return null===r||void 0===r?-1*n:null===a||void 0===a?1*n:s.sort?s.sort(r,a)*n:xe(r)&&xe(a)?(r-a)*n:Ce(r)&&Ce(a)?function(t,e){return new Date(t)-new Date(e)}(r,a)*n:"boolean"==typeof r&&"boolean"==typeof a?(t-e)*n:(r=(i=[r,a].map(function(t){return(t+"").toLowerCase()}))[0])<(a=i[1])?-1*n:r===a?0:n})}}},computed:{columnToSort:function(){var t=this.computedPagination.sortBy;if(t)return this.columns.find(function(e){return e.name===t})||null}},methods:{sort:function(t){t===Object(t)&&(t=t.name);var e=this.computedPagination,i=e.sortBy,s=e.descending;i!==t?(i=t,s=!1):this.binaryStateSort?s=!s:s?i=null:s=!0,this.setPagination({sortBy:i,descending:s,page:1})}}},{props:{filter:[String,Object],filterMethod:{type:Function,default:function(t,e,i,s){void 0===i&&(i=this.computedCols),void 0===s&&(s=this.getCellValue);var n=e?e.toLowerCase():"";return t.filter(function(t){return i.some(function(e){return-1!==(s(e,t)+"").toLowerCase().indexOf(n)})})}}},watch:{filter:function(){var t=this;this.$nextTick(function(){t.setPagination({page:1},!0)})}}},{props:{pagination:Object,rowsPerPageOptions:{type:Array,default:function(){return[3,5,7,10,15,20,25,50,0]}}},data:function(){return{innerPagination:{sortBy:null,descending:!1,page:1,rowsPerPage:5}}},computed:{computedPagination:function(){return Tn(Object.assign({},this.innerPagination,this.pagination))},firstRowIndex:function(){var t=this.computedPagination;return(t.page-1)*t.rowsPerPage},lastRowIndex:function(){var t=this.computedPagination;return t.page*t.rowsPerPage},isFirstPage:function(){return 1===this.computedPagination.page},pagesNumber:function(){return Math.max(1,Math.ceil(this.computedRowsNumber/this.computedPagination.rowsPerPage))},isLastPage:function(){return 0===this.lastRowIndex||this.computedPagination.page>=this.pagesNumber},computedRowsPerPageOptions:function(){var t=this;return this.rowsPerPageOptions.map(function(e){return{label:0===e?t.$q.i18n.table.allRows:""+e,value:e}})}},watch:{pagesNumber:function(t,e){if(t!==e){var i=this.computedPagination.page;t&&!i?this.setPagination({page:1}):t1&&this.setPagination({page:t-1})},nextPage:function(){var t=this.computedPagination,e=t.page,i=t.rowsPerPage;this.lastRowIndex>0&&e*i0&&this.computedRows.every(function(e){return!0===t.selectedKeys[e[t.rowKey]]})},someRowsSelected:function(){var t=this;if(this.multipleSelection)return!this.allRowsSelected&&this.computedRows.some(function(e){return!0===t.selectedKeys[e[t.rowKey]]})},rowsSelectedNumber:function(){return this.selected.length}},methods:{isRowSelected:function(t){return!0===this.selectedKeys[t]},clearSelection:function(){this.$emit("update:selected",[])},__updateSelection:function(t,e,i){var s=this;this.singleSelection?this.$emit("update:selected",i?e:[]):this.$emit("update:selected",i?this.selected.concat(e):this.selected.filter(function(e){return!t.includes(e[s.rowKey])}))}}},{props:{visibleColumns:Array},computed:{computedCols:function(){var t=this,e=this.computedPagination,i=e.sortBy,s=e.descending;return(this.visibleColumns?this.columns.filter(function(e){return e.required||t.visibleColumns.includes(e.name)}):this.columns).map(function(t){return t.align=t.align||"right",t.__iconClass="q-table-sort-icon q-table-sort-icon-"+t.align,t.__thClass="text-"+t.align+(t.sortable?" sortable":"")+(t.name===i?" sorted "+(s?"sort-desc":""):""),t.__tdClass="text-"+t.align,t})},computedColsMap:function(){var t={};return this.computedCols.forEach(function(e){t[e.name]=e}),t}}},{data:function(){return{rowsExpanded:{}}}}],props:{data:{type:Array,default:function(){return[]}},rowKey:{type:String,default:"id"},color:{type:String,default:"grey-8"},grid:Boolean,dense:Boolean,columns:Array,loading:Boolean,title:String,hideHeader:Boolean,hideBottom:Boolean,dark:Boolean,separator:{type:String,default:"horizontal",validator:function(t){return["horizontal","vertical","cell","none"].includes(t)}},binaryStateSort:Boolean,noDataLabel:String,noResultsLabel:String,loadingLabel:String,selectedRowsLabel:Function,rowsPerPageLabel:String,paginationLabel:Function,tableStyle:{type:[String,Array,Object],default:""},tableClass:{type:[String,Array,Object],default:""}},computed:{computedData:function(){var t=this.data.slice().map(function(t,e){return t.__index=e,t});if(0===t.length)return{rowsNumber:0,rows:[]};if(this.isServerSide)return{rows:t};var e=this.computedPagination,i=e.sortBy,s=e.descending,n=e.rowsPerPage;this.filter&&(t=this.filterMethod(t,this.filter,this.computedCols,this.getCellValue)),this.columnToSort&&(t=this.sortMethod(t,i,s));var o=t.length;return n&&(t=t.slice(this.firstRowIndex,this.lastRowIndex)),{rowsNumber:o,rows:t}},computedRows:function(){return this.computedData.rows},computedRowsNumber:function(){return this.isServerSide?this.computedPagination.rowsNumber||0:this.computedData.rowsNumber},nothingToDisplay:function(){return 0===this.computedRows.length},isServerSide:function(){return void 0!==this.computedPagination.rowsNumber}},render:function(t){return t("div",{class:{"q-table-grid":this.grid,"q-table-container":!0,"q-table-dark":this.dark,"q-table-dense":this.dense,fullscreen:this.inFullscreen,scroll:this.inFullscreen}},[this.getTop(t),this.getBody(t),this.getBottom(t)])},methods:{requestServerInteraction:function(t){var e=this;this.$nextTick(function(){e.$emit("request",{pagination:t.pagination||e.computedPagination,filter:t.filter||e.filter,getCellValue:e.getCellValue})})},getBody:function(t){var e=this,i=!this.hideHeader;if(this.grid){var s=this.$scopedSlots.item;if(void 0!==s)return[i&&t("div",{staticClass:"q-table-middle scroll"},[t("table",{staticClass:"q-table"+(this.dark?" q-table-dark":"")},[this.getTableHeader(t)])])||null,t("div",{staticClass:"row"},this.computedRows.map(function(t){var i=t[e.rowKey],n=e.isRowSelected(i);return s(e.addBodyRowMeta({key:i,row:t,cols:e.computedCols,colsMap:e.computedColsMap,__trClass:n?"selected":""}))}))]}return t("div",{staticClass:"q-table-middle scroll",class:this.tableClass,style:this.tableStyle},[t("table",{staticClass:"q-table q-table-"+this.separator+"-separator"+(this.dark?" q-table-dark":"")},[i&&this.getTableHeader(t)||null,this.getTableBody(t)])])}}},Ln={name:"QTr",props:{props:Object},render:function(t){return t("tr",!this.props||this.props.header?{}:{class:this.props.__trClass},this.$slots.default)}},Mn={name:"QTd",props:{props:Object,autoWidth:Boolean},render:function(t){if(!this.props)return t("td",{class:{"q-table-col-auto-width":this.autoWidth}},this.$slots.default);var e,i=this.$vnode.key;if(i){if(!(e=this.props.colsMap[i]))return}else e=this.props.col;return t("td",{class:[e.__tdClass,{"q-table-col-auto-width":this.autoWidth}]},this.$slots.default)}},Bn={name:"QTableColumns",props:{value:{type:Array,required:!0},label:String,columns:{type:Array,required:!0},color:String,dark:Boolean},computed:{computedOptions:function(){return this.columns.filter(function(t){return!t.required}).map(function(t){return{value:t.name,label:t.label}})}},render:function(t){var e=this;return t(Js,{props:{multiple:!0,toggle:!0,value:this.value,options:this.computedOptions,displayValue:this.label||this.$q.i18n.table.columns,color:this.color,dark:this.dark,hideUnderline:!0},on:{input:function(t){e.$emit("input",t)},change:function(t){e.$emit("change",t)}}})}},En={name:"QTimeline",provide:function(){return{__timeline:this}},props:{color:{type:String,default:"primary"},responsive:Boolean,noHover:Boolean,dark:Boolean},render:function(t){return t("ul",{staticClass:"q-timeline",class:{"q-timeline-dark":this.dark,"q-timeline-responsive":this.responsive,"q-timeline-hover":!this.noHover}},this.$slots.default)}},On={name:"QTimelineEntry",inject:{__timeline:{default:function(){console.error("QTimelineEntry needs to be child of QTimeline")}}},props:{heading:Boolean,tag:{type:String,default:"h3"},side:{type:String,default:"right",validator:function(t){return["left","right"].includes(t)}},icon:String,color:String,title:String,subtitle:String},computed:{colorClass:function(){return"text-"+(this.color||this.__timeline.color)},classes:function(){return["q-timeline-entry-"+("left"===this.side?"left":"right"),this.icon?"q-timeline-entry-with-icon":""]}},render:function(t){return this.heading?t("div",{staticClass:"q-timeline-heading"},[t("div"),t("div"),t(this.tag,{staticClass:"q-timeline-heading-title"},this.$slots.default)]):t("li",{staticClass:"q-timeline-entry",class:this.classes},[this.$slots.subtitle||t("div",{staticClass:"q-timeline-subtitle"},[t("span",this.subtitle)]),t("div",{staticClass:"q-timeline-dot",class:this.colorClass},[this.icon?t(ut,{props:{name:this.icon}}):null]),t("div",{staticClass:"q-timeline-content"},(this.$slots.title||[t("h6",{staticClass:"q-timeline-title"},[this.title])]).concat(this.$slots.default))])}},Nn={name:"QToolbar",props:{color:{type:String,default:"primary"},textColor:String,inverted:Boolean,glossy:Boolean},computed:{classes:function(){var t=["q-toolbar-"+(this.inverted?"inverted":"normal")];return this.glossy&&t.push("glossy"),this.inverted?t.push("text-"+(this.textColor||this.color)):(t.push("bg-"+this.color),t.push("text-"+(this.textColor||"white"))),t}},render:function(t){return t("div",{staticClass:"q-toolbar row no-wrap items-center relative-position",class:this.classes},this.$slots.default)}},zn={name:"QToolbarTitle",props:{shrink:Boolean},render:function(t){return t("div",{staticClass:"q-toolbar-title",class:this.shrink?"col-auto":null},[this.$slots.default,this.$slots.subtitle?t("div",{staticClass:"q-toolbar-subtitle"},this.$slots.subtitle):null])}},Dn={name:"QTree",directives:{Ripple:It},props:{nodes:Array,nodeKey:{type:String,required:!0},labelKey:{type:String,default:"label"},color:{type:String,default:"grey"},controlColor:String,textColor:String,dark:Boolean,icon:String,tickStrategy:{type:String,default:"none",validator:function(t){return["none","strict","leaf","leaf-filtered"].includes(t)}},ticked:Array,expanded:Array,selected:{},defaultExpandAll:Boolean,accordion:Boolean,filter:String,filterMethod:{type:Function,default:function(t,e){var i=e.toLowerCase();return t[this.labelKey]&&t[this.labelKey].toLowerCase().indexOf(i)>-1}},duration:Number,noNodesLabel:String,noResultsLabel:String},computed:{hasRipple:function(){return!1},classes:function(){return["text-"+this.color,{"q-tree-dark":this.dark}]},hasSelection:function(){return void 0!==this.selected},computedIcon:function(){return this.icon||this.$q.icon.tree.icon},computedControlColor:function(){return this.controlColor||this.color},contentClass:function(){return"text-"+(this.textColor||(this.dark?"white":"black"))},meta:function(){var t=this,e={},i=function(s,n){var o=s.tickStrategy||(n?n.tickStrategy:t.tickStrategy),r=s[t.nodeKey],a=s.children&&s.children.length>0,l=!a,c=!s.disabled&&t.hasSelection&&!1!==s.selectable,h=!s.disabled&&!1!==s.expandable,u="none"!==o,d="strict"===o,p="leaf-filtered"===o,f="leaf"===o||"leaf-filtered"===o,m=!s.disabled&&!1!==s.tickable;f&&m&&n&&!n.tickable&&(m=!1);var g=s.lazy;g&&t.lazy[r]&&(g=t.lazy[r]);var v={key:r,parent:n,isParent:a,isLeaf:l,lazy:g,disabled:s.disabled,link:c||h&&(a||!0===g),children:[],matchesFilter:!t.filter||t.filterMethod(s,t.filter),selected:r===t.selected&&c,selectable:c,expanded:!!a&&t.innerExpanded.includes(r),expandable:h,noTick:s.noTick||!d&&g&&"loaded"!==g,tickable:m,tickStrategy:o,hasTicking:u,strictTicking:d,leafFilteredTicking:p,leafTicking:f,ticked:d?t.innerTicked.includes(r):!!l&&t.innerTicked.includes(r)};if(e[r]=v,a&&(v.children=s.children.map(function(t){return i(t,v)}),t.filter&&(v.matchesFilter||(v.matchesFilter=v.children.some(function(t){return t.matchesFilter})),v.matchesFilter&&!v.noTick&&!v.disabled&&v.tickable&&p&&v.children.every(function(t){return!t.matchesFilter||t.noTick||!t.tickable})&&(v.tickable=!1)),v.matchesFilter&&(v.noTick||d||!v.children.every(function(t){return t.noTick})||(v.noTick=!0),f&&(v.ticked=!1,v.indeterminate=v.children.some(function(t){return t.indeterminate}),!v.indeterminate)))){var b=v.children.reduce(function(t,e){return e.ticked?t+1:t},0);b===v.children.length?v.ticked=!0:b>0&&(v.indeterminate=!0)}return v};return this.nodes.forEach(function(t){return i(t,null)}),e}},data:function(){return{lazy:{},innerTicked:this.ticked||[],innerExpanded:this.expanded||[]}},watch:{ticked:function(t){this.innerTicked=t},expanded:function(t){this.innerExpanded=t}},methods:{getNodeByKey:function(t){var e=this,i=[].reduce,s=function(n,o){return n||!o?n:Array.isArray(o)?i.call(Object(o),s,n):o[e.nodeKey]===t?o:o.children?s(null,o.children):void 0};return s(null,this.nodes)},getTickedNodes:function(){var t=this;return this.innerTicked.map(function(e){return t.getNodeByKey(e)})},getExpandedNodes:function(){var t=this;return this.innerExpanded.map(function(e){return t.getNodeByKey(e)})},isExpanded:function(t){return!(!t||!this.meta[t])&&this.meta[t].expanded},collapseAll:function(){void 0!==this.expanded?this.$emit("update:expanded",[]):this.innerExpanded=[]},expandAll:function(){var t=this,e=this.innerExpanded,i=function(s){s.children&&s.children.length>0&&!1!==s.expandable&&!0!==s.disabled&&(e.push(s[t.nodeKey]),s.children.forEach(i))};this.nodes.forEach(i),void 0!==this.expanded?this.$emit("update:expanded",e):this.innerExpanded=e},setExpanded:function(t,e,i,s){var n=this;if(void 0===i&&(i=this.getNodeByKey(t)),void 0===s&&(s=this.meta[t]),s.lazy&&"loaded"!==s.lazy){if("loading"===s.lazy)return;this.$set(this.lazy,t,"loading"),this.$emit("lazy-load",{node:i,key:t,done:function(e){n.lazy[t]="loaded",e&&(i.children=e),n.$nextTick(function(){var e=n.meta[t];e&&e.isParent&&n.__setExpanded(t,!0)})},fail:function(){n.$delete(n.lazy,t)}})}else s.isParent&&s.expandable&&this.__setExpanded(t,e)},__setExpanded:function(t,e){var i=this,s=this.innerExpanded,n=void 0!==this.expanded;if(n&&(s=s.slice()),e){if(this.accordion&&this.meta[t]){var o=[];this.meta[t].parent?this.meta[t].parent.children.forEach(function(e){e.key!==t&&e.expandable&&o.push(e.key)}):this.nodes.forEach(function(e){var s=e[i.nodeKey];s!==t&&o.push(s)}),o.length>0&&(s=s.filter(function(t){return!o.includes(t)}))}s=s.concat([t]).filter(function(t,e,i){return i.indexOf(t)===e})}else s=s.filter(function(e){return e!==t});n?this.$emit("update:expanded",s):this.innerExpanded=s},isTicked:function(t){return!(!t||!this.meta[t])&&this.meta[t].ticked},setTicked:function(t,e){var i=this.innerTicked,s=void 0!==this.ticked;s&&(i=i.slice()),i=e?i.concat(t).filter(function(t,e,i){return i.indexOf(t)===e}):i.filter(function(e){return!t.includes(e)}),s&&this.$emit("update:ticked",i)},__getSlotScope:function(t,e,i){var s=this,n={tree:this,node:t,key:i,color:this.color,dark:this.dark};return Object.defineProperty(n,"expanded",{get:function(){return e.expanded},set:function(t){t!==e.expanded&&s.setExpanded(i,t)}}),Object.defineProperty(n,"ticked",{get:function(){return e.ticked},set:function(t){t!==e.ticked&&s.setTicked([i],t)}}),n},__getChildren:function(t,e){var i=this;return(this.filter?e.filter(function(t){return i.meta[t[i.nodeKey]].matchesFilter}):e).map(function(e){return i.__getNode(t,e)})},__getNodeMedia:function(t,e){return e.icon?t(ut,{staticClass:"q-tree-icon q-mr-sm",props:{name:e.icon,color:e.iconColor}}):e.img||e.avatar?t("img",{staticClass:"q-tree-img q-mr-sm",class:{avatar:e.avatar},attrs:{src:e.img||e.avatar}}):void 0},__getNode:function(t,e){var i=this,s=e[this.nodeKey],n=this.meta[s],o=e.header&&this.$scopedSlots["header-"+e.header]||this.$scopedSlots["default-header"],r=n.isParent?this.__getChildren(t,e.children):[],a=r.length>0||n.lazy&&"loaded"!==n.lazy,l=e.body&&this.$scopedSlots["body-"+e.body]||this.$scopedSlots["default-body"],c=o||l?this.__getSlotScope(e,n,s):null;return l&&(l=t("div",{staticClass:"q-tree-node-body relative-position"},[t("div",{class:this.contentClass},[l(c)])])),t("div",{key:s,staticClass:"q-tree-node",class:{"q-tree-node-parent":a,"q-tree-node-child":!a}},[t("div",{staticClass:"q-tree-node-header relative-position row no-wrap items-center",class:{"q-tree-node-link":n.link,"q-tree-node-selected":n.selected,disabled:n.disabled},on:{click:function(){i.__onClick(e,n)}},directives:null},["loading"===n.lazy?t(Kt,{staticClass:"q-tree-node-header-media q-mr-xs",props:{color:this.computedControlColor}}):a?t(ut,{staticClass:"q-tree-arrow q-mr-xs transition-generic",class:{"q-tree-arrow-rotate":n.expanded},props:{name:this.computedIcon},nativeOn:{click:function(t){i.__onExpandClick(e,n,t)}}}):null,t("span",{staticClass:"row no-wrap items-center",class:this.contentClass},[n.hasTicking&&!n.noTick?t(Qe,{staticClass:"q-mr-xs",props:{value:n.indeterminate?null:n.ticked,color:this.computedControlColor,dark:this.dark,keepColor:!0,disable:!n.tickable},on:{input:function(t){i.__onTickedClick(e,n,t)}}}):null,o?o(c):[this.__getNodeMedia(t,e),t("span",e[this.labelKey])]])]),a?t(Ge,{props:{duration:this.duration}},[t("div",{directives:[{name:"show",value:n.expanded}],staticClass:"q-tree-node-collapsible",class:"text-"+this.color},[l,t("div",{staticClass:"q-tree-children",class:{disabled:n.disabled}},r)])]):l])},__onClick:function(t,e){this.hasSelection?e.selectable&&this.$emit("update:selected",e.key!==this.selected?e.key:null):this.__onExpandClick(t,e),"function"==typeof t.handler&&t.handler(t)},__onExpandClick:function(t,e,i){void 0!==i&&i.stopPropagation(),this.setExpanded(e.key,!e.expanded,t,e)},__onTickedClick:function(t,e,i){if(e.indeterminate&&i&&(i=!1),e.strictTicking)this.setTicked([e.key],i);else if(e.leafTicking){var s=[],n=function(t){t.isParent?(i||t.noTick||!t.tickable||s.push(t.key),t.leafTicking&&t.children.forEach(n)):t.noTick||!t.tickable||t.leafFilteredTicking&&!t.matchesFilter||s.push(t.key)};n(e),this.setTicked(s,i)}}},render:function(t){var e=this.__getChildren(t,this.nodes);return t("div",{staticClass:"q-tree relative-position",class:this.classes},0===e.length?this.filter?this.noResultsLabel||this.$q.i18n.tree.noResults:this.noNodesLabel||this.$q.i18n.tree.noNodes:e)},created:function(){this.defaultExpandAll&&this.expandAll()}};function Rn(t){t.__doneUploading=!1,t.__failed=!1,t.__uploaded=0,t.__progress=0}var In={name:"QUploader",mixins:[We],props:{name:{type:String,default:"file"},headers:Object,url:{type:String,required:!0},urlFactory:{type:Function,required:!1},uploadFactory:Function,additionalFields:{type:Array,default:function(){return[]}},noContentType:Boolean,method:{type:String,default:"POST"},filter:Function,extensions:String,multiple:Boolean,hideUploadButton:Boolean,hideUploadProgress:Boolean,noThumbnails:Boolean,autoExpand:Boolean,expandStyle:[Array,String,Object],expandClass:[Array,String,Object],withCredentials:Boolean,sendRaw:{type:Boolean,default:!1}},data:function(){return{queue:[],files:[],uploading:!1,uploadedSize:0,totalSize:0,xhrs:[],focused:!1,dnd:!1,expanded:!1}},computed:{queueLength:function(){return this.queue.length},hasExpandedContent:function(){return this.files.length>0},label:function(){var t=qt(this.totalSize);return this.uploading?this.progress.toFixed(2)+"% ("+qt(this.uploadedSize)+" / "+t+")":this.queueLength+" ("+t+")"},progress:function(){return this.totalSize?Math.min(99.99,this.uploadedSize/this.totalSize*100):0},addDisabled:function(){return this.disable||!this.multiple&&this.queueLength>=1},filesStyle:function(){if(this.maxHeight)return{maxHeight:this.maxHeight}},dndClass:function(){var t=["text-"+this.color];return this.isInverted&&t.push("inverted"),t},classes:function(){return{"q-uploader-expanded":this.expanded,"q-uploader-dark":this.dark,"q-uploader-files-no-border":this.isInverted||!this.hideUnderline}},progressColor:function(){return this.dark?"white":"grey"},computedExtensions:function(){if(this.extensions)return this.extensions.split(",").map(function(t){return(t=t.trim()).endsWith("/*")&&(t=t.slice(0,t.length-1)),t})}},watch:{hasExpandedContent:function(t){!1===t?this.expanded=!1:this.autoExpand&&(this.expanded=!0)}},methods:{add:function(t){t&&this.__add(null,t)},__onDragOver:function(t){H(t),this.dnd=!0},__onDragLeave:function(t){H(t),this.dnd=!1},__onDrop:function(t){H(t),this.dnd=!1;var e=t.dataTransfer.files;0!==e.length&&(e=this.multiple?e:[e[0]],this.__add(null,e))},__filter:function(t){var e=this;return Array.prototype.filter.call(t,function(t){return e.computedExtensions.some(function(e){return t.type.toUpperCase().startsWith(e.toUpperCase())||t.name.toUpperCase().endsWith(e.toUpperCase())})})},__add:function(t,e){var i=this;if(!this.addDisabled&&(e=Array.prototype.slice.call(e||t.target.files),!this.extensions||0!==(e=this.__filter(e)).length)){this.$refs.file.value="";var s=[];e=e.filter(function(t){return!i.queue.some(function(e){return t.name===e.name})}),"function"==typeof this.filter&&(e=this.filter(e)),(e=e.map(function(t){if(Rn(t),t.__size=qt(t.size),t.__timestamp=(new Date).getTime(),i.noThumbnails||!t.type.toUpperCase().startsWith("IMAGE"))i.queue.push(t);else{var e=new FileReader,n=new Promise(function(s,n){e.onload=function(e){var n=new Image;n.src=e.target.result,t.__img=n,i.queue.push(t),i.__computeTotalSize(),s(!0)},e.onerror=function(t){n(t)}});e.readAsDataURL(t),s.push(n)}return t})).length>0&&(this.files=this.files.concat(e),Promise.all(s).then(function(){i.$emit("add",e)}),this.__computeTotalSize())}},__computeTotalSize:function(){this.totalSize=this.queueLength?this.queue.map(function(t){return t.size}).reduce(function(t,e){return t+e}):0},__remove:function(t){var e=t.name,i=t.__doneUploading;this.uploading&&!i?(this.$emit("remove:abort",t,t.xhr),t.xhr&&t.xhr.abort(),this.uploadedSize-=t.__uploaded):this.$emit("remove:"+(i?"done":"cancel"),t,t.xhr),i||(this.queue=this.queue.filter(function(t){return t.name!==e})),t.__removed=!0,this.files=this.files.filter(function(t){return t.name!==e}),this.files.length||(this.uploading=!1),this.__computeTotalSize()},__pick:function(){!this.addDisabled&&this.$q.platform.is.mozilla&&this.$refs.file.click()},__getUploadPromise:function(t){var e=this;if(Rn(t),this.uploadFactory){var i=function(i){var s=i*t.size;e.uploadedSize+=s-t.__uploaded,t.__uploaded=s,t.__progress=Math.min(99,parseInt(100*i,10)),e.$forceUpdate()};return new Promise(function(s,n){e.uploadFactory(t,i).then(function(t){t.__doneUploading=!0,t.__progress=100,e.$emit("uploaded",t),e.$forceUpdate(),s(t)}).catch(function(i){t.__failed=!0,e.$emit("fail",t),e.$forceUpdate(),n(i)})})}var s=new FormData,n=new XMLHttpRequest;try{this.additionalFields.forEach(function(t){s.append(t.name,t.value)}),!0!==this.noContentType&&s.append("Content-Type",t.type||"application/octet-stream"),s.append(this.name,t)}catch(t){return}return t.xhr=n,new Promise(function(i,o){n.upload.addEventListener("progress",function(i){if(!t.__removed){i.percent=i.total?i.loaded/i.total:0;var s=i.percent*t.size;e.uploadedSize+=s-t.__uploaded,t.__uploaded=s,t.__progress=Math.min(99,parseInt(100*i.percent,10))}},!1),n.onreadystatechange=function(){n.readyState<4||(n.status&&n.status<400?(t.__doneUploading=!0,t.__progress=100,e.$emit("uploaded",t,n),i(t)):(t.__failed=!0,e.$emit("fail",t,n),o(n)))},n.onerror=function(){t.__failed=!0,e.$emit("fail",t,n),o(n)},(e.urlFactory?e.urlFactory(t):Promise.resolve(e.url)).then(function(i){n.open(e.method,i,!0),e.withCredentials&&(n.withCredentials=!0),e.headers&&Object.keys(e.headers).forEach(function(t){n.setRequestHeader(t,e.headers[t])}),e.xhrs.push(n),e.sendRaw?n.send(t):n.send(s)})})},pick:function(){this.addDisabled||this.$refs.file.click()},upload:function(){var t=this,e=this.queueLength;if(!this.disable&&0!==e){var i=0;this.uploadedSize=0,this.uploading=!0,this.xhrs=[],this.$emit("start");var s=function(){++i===e&&(t.uploading=!1,t.xhrs=[],t.queue=t.queue.filter(function(t){return!t.__doneUploading}),t.__computeTotalSize(),t.$emit("finish"))};this.queue.map(function(e){return t.__getUploadPromise(e)}).forEach(function(t){t.then(s).catch(s)})}},abort:function(){this.xhrs.forEach(function(t){t.abort()}),this.uploading=!1,this.$emit("abort")},reset:function(){this.abort(),this.files=[],this.queue=[],this.expanded=!1,this.__computeTotalSize(),this.$emit("reset")}},render:function(t){var e=this,i=[t("div",{staticClass:"col q-input-target ellipsis",class:this.alignClass},[this.label])];return this.uploading?i.push(this.$slots.loading?t("div",{slot:"after",staticClass:"q-if-end self-center q-if-control"},this.$slots.loading):t(Kt,{slot:"after",staticClass:"q-if-end self-center",props:{size:"24px"}}),t(ut,{slot:"after",staticClass:"q-if-end self-center q-if-control",props:{name:this.$q.icon.uploader["clear"+(this.isInverted?"Inverted":"")]},nativeOn:{click:this.abort}})):(i.push(t(ut,{slot:"after",staticClass:"q-uploader-pick-button self-center q-if-control relative-position overflow-hidden",props:{name:this.$q.icon.uploader.add},attrs:{disabled:this.addDisabled}},[t("input",{ref:"file",staticClass:"q-uploader-input absolute-full cursor-pointer",attrs:Object.assign({type:"file",accept:this.extensions},this.multiple?{multiple:!0}:{}),on:{change:this.__add}})])),this.hideUploadButton||i.push(t(ut,{slot:"after",staticClass:"q-if-control self-center",props:{name:this.$q.icon.uploader.upload},attrs:{disabled:0===this.queueLength},nativeOn:{click:this.upload}}))),this.hasExpandedContent&&i.push(t(ut,{slot:"after",staticClass:"q-if-control generic_transition self-center",class:{"rotate-180":this.expanded},props:{name:this.$q.icon.uploader.expand},nativeOn:{click:function(){e.expanded=!e.expanded}}})),t("div",{staticClass:"q-uploader relative-position",class:this.classes,on:{dragover:this.__onDragOver}},[t(Ye,{ref:"input",props:{prefix:this.prefix,suffix:this.suffix,stackLabel:this.stackLabel,floatLabel:this.floatLabel,error:this.error,warning:this.warning,readonly:this.readonly,inverted:this.inverted,invertedLight:this.invertedLight,dark:this.dark,hideUnderline:this.hideUnderline,before:this.before,after:this.after,color:this.color,align:this.align,noParentField:this.noParentField,length:this.queueLength,additionalLength:!0}},i),t(Ge,[t("div",{class:this.expandClass,style:this.expandStyle,directives:[{name:"show",value:this.expanded}]},[t(dt,{staticClass:"q-uploader-files q-py-none scroll",style:this.filesStyle,props:{dark:this.dark}},this.files.map(function(i){return t(_t,{key:i.name+i.__timestamp,staticClass:"q-uploader-file q-pa-xs"},[!e.hideUploadProgress&&t(Hs,{staticClass:"q-uploader-progress-bg absolute-full",props:{color:i.__failed?"negative":e.progressColor,percentage:i.__progress,height:"100%"}})||void 0,!e.hideUploadProgress&&t("div",{staticClass:"q-uploader-progress-text absolute"},[i.__progress+"%"])||void 0,t(yt,{props:i.__img?{image:i.__img.src}:{icon:e.$q.icon.uploader.file,color:e.color}}),t(Ct,{props:{label:i.name,sublabel:i.__size}}),t(yt,{props:{right:!0}},[t(Xe,{staticClass:"cursor-pointer",props:{icon:e.$q.icon.uploader[i.__doneUploading?"done":"clear"],color:e.color},nativeOn:{click:function(){e.__remove(i)}}})])])}))])]),this.dnd&&t("div",{staticClass:"q-uploader-dnd flex row items-center justify-center absolute-full",class:this.dndClass,on:{dragenter:H,dragover:H,dragleave:this.__onDragLeave,drop:this.__onDrop}})||void 0])}},Hn={name:"QVideo",props:{src:{type:String,required:!0}},computed:{iframeData:function(){return{attrs:{src:this.src,frameborder:"0",allowfullscreen:!0}}}},render:function(t){return t("div",{staticClass:"q-video"},[t("iframe",this.iframeData)])}},An=Object.freeze({QActionSheet:kt,QAjaxBar:zt,QAlert:Yt,QAutocomplete:ce,QBreadcrumbs:he,QBreadcrumbsEl:ue,QBtn:Ut,QBtnGroup:de,QBtnDropdown:pe,QBtnToggle:fe,QCard:me,QCardTitle:{name:"QCardTitle",render:function(t){return t("div",{staticClass:"q-card-primary q-card-container row no-wrap"},[t("div",{staticClass:"col column"},[t("div",{staticClass:"q-card-title"},this.$slots.default),t("div",{staticClass:"q-card-subtitle"},[this.$slots.subtitle])]),t("div",{staticClass:"col-auto self-center q-card-title-extra"},[this.$slots.right])])}},QCardMain:{name:"QCardMain",render:function(t){return t("div",{staticClass:"q-card-main q-card-container"},this.$slots.default)}},QCardActions:ge,QCardMedia:ve,QCardSeparator:be,QCarousel:ze,QCarouselSlide:De,QCarouselControl:Re,QChatMessage:Ie,QCheckbox:Qe,QChip:je,QChipsInput:Je,QCollapsible:ti,QColor:ui,QColorPicker:ci,QContextMenu:di,QDatetime:Vi,QDatetimePicker:Qi,QDialog:Zi,QEditor:ms,QFab:vs,QFabAction:bs,QField:_s,QIcon:ut,QInfiniteScroll:ys,QInnerLoading:ws,QInput:Ui,QInputFrame:Ye,QJumbotron:Cs,QKnob:xs,QLayout:Ss,QLayoutDrawer:qs,QLayoutFooter:Ts,QLayoutHeader:Ps,QPage:Ls,QPageContainer:Ms,QPageSticky:Bs,QItem:_t,QItemSeparator:xt,QItemMain:Ct,QItemSide:yt,QItemTile:Xe,QItemWrapper:ae,QList:dt,QListHeader:Es,QModal:ht,QModalLayout:Os,QNoSsr:Ns,QResizeObservable:Ki,QScrollObservable:ks,QWindowResizeObservable:$s,QOptionGroup:Gi,QPagination:zs,QParallax:Ds,QPopover:oe,QPopupEdit:Rs,QProgress:Hs,QPullToRefresh:As,QRadio:Yi,QRange:Vs,QRating:Ws,QScrollArea:Ks,QSearch:Us,QSelect:Js,QSlideTransition:Ge,QSlider:ri,QSpinner:Kt,QSpinnerAudio:Xs,QSpinnerBall:Gs,QSpinnerBars:Zs,QSpinnerCircles:tn,QSpinnerComment:en,QSpinnerCube:sn,QSpinnerDots:nn,QSpinnerFacebook:on,QSpinnerGears:rn,QSpinnerGrid:an,QSpinnerHearts:ln,QSpinnerHourglass:cn,QSpinnerInfinity:hn,QSpinnerIos:Wt,QSpinnerMat:un,QSpinnerOval:dn,QSpinnerPie:pn,QSpinnerPuff:fn,QSpinnerRadio:mn,QSpinnerRings:gn,QSpinnerTail:vn,QStep:_n,QStepper:yn,QStepperNavigation:{name:"QStepperNavigation",render:function(t){return t("div",{staticClass:"q-stepper-nav order-last row items-center"},[this.$slots.left,t("div",{staticClass:"col"}),this.$slots.default])}},QRouteTab:Cn,QTab:xn,QTabPane:kn,QTabs:qn,QTable:Pn,QTh:$n,QTr:Ln,QTd:Mn,QTableColumns:Bn,QTimeline:En,QTimelineEntry:On,QToggle:Ji,QToolbar:Nn,QToolbarTitle:zn,QTooltip:es,QTree:Dn,QUploader:In,QVideo:Hn});function Fn(t,e){var i=e.value,s=(e.modifiers,t.__qbacktotop);if(i){if("number"==typeof i)return s.offset=i,void s.update();if(i&&Object(i)!==i)console.error("v-back-to-top requires an object {offset, duration} as parameter",t);else{if(i.offset){if("number"!=typeof i.offset)return void console.error("v-back-to-top requires a number as offset",t);s.offset=i.offset}if(i.duration){if("number"!=typeof i.duration)return void console.error("v-back-to-top requires a number as duration",t);s.duration=i.duration}s.update()}}else s.update()}var Qn={name:"back-to-top",bind:function(t){var e={offset:200,duration:300,updateNow:function(){var i=X(e.scrollTarget)<=e.offset;i!==t.classList.contains("hidden")&&t.classList[i?"add":"remove"]("hidden")},goToTop:function(){tt(e.scrollTarget,0,e.animate?e.duration:0)},goToTopKey:function(t){13===t.keyCode&&tt(e.scrollTarget,0,e.animate?e.duration:0)}};e.update=ts(e.updateNow,25),t.classList.add("hidden"),t.__qbacktotop=e},inserted:function(t,e){var i=t.__qbacktotop;i.scrollTarget=J(t),i.animate=e.modifiers.animate,Fn(t,e),i.scrollTarget.addEventListener("scroll",i.update,M.passive),window.addEventListener("resize",i.update,M.passive),t.addEventListener("click",i.goToTop),t.addEventListener("keyup",i.goToTopKey)},update:function(t,e){JSON.stringify(e.oldValue)!==JSON.stringify(e.value)?Fn(t,e):setTimeout(function(){t.__qbacktotop&&t.__qbacktotop.updateNow()},0)},unbind:function(t){var e=t.__qbacktotop;e&&(e.scrollTarget.removeEventListener("scroll",e.update,M.passive),window.removeEventListener("resize",e.update,M.passive),t.removeEventListener("click",e.goToTop),t.removeEventListener("keyup",e.goToTopKey),delete t.__qbacktotop)}},jn={name:"go-back",bind:function(t,e,i){var s=e.value,n=e.modifiers,o={value:s,position:window.history.length-1,single:n.single};l.is.cordova?o.goBack=function(){i.context.$router.go(o.single?-1:o.position-window.history.length)}:o.goBack=function(){i.context.$router.replace(o.value)},o.goBackKey=function(t){13===t.keyCode&&o.goBack(t)},t.__qgoback=o,t.addEventListener("click",o.goBack),t.addEventListener("keyup",o.goBackKey)},update:function(t,e){e.oldValue!==e.value&&(t.__qgoback.value=e.value)},unbind:function(t){var e=t.__qgoback;e&&(t.removeEventListener("click",e.goBack),t.removeEventListener("keyup",e.goBackKey),delete t.__qgoback)}};function Vn(t,e){var i=t.__qscrollfire;if("function"!=typeof e.value)return i.scrollTarget.removeEventListener("scroll",i.scroll),void console.error("v-scroll-fire requires a function as parameter",t);i.handler=e.value,"function"!=typeof e.oldValue&&(i.scrollTarget.addEventListener("scroll",i.scroll,M.passive),i.scroll())}var Wn={name:"scroll-fire",bind:function(t,e){var i={scroll:ts(function(){var e,s;i.scrollTarget===window?(s=t.getBoundingClientRect().bottom,e=window.innerHeight):(s=F(t).top+j(t),e=F(i.scrollTarget).top+j(i.scrollTarget)),s>0&&s0&&(["meta","link","script"].forEach(function(t){i[t].forEach(function(e){document.head.querySelector(t+'[data-qmeta="'+e+'"]').remove()})}),i.htmlAttr.filter(qo).forEach(function(t){document.documentElement.removeAttribute(t)}),i.bodyAttr.filter(So).forEach(function(t){document.body.removeAttribute(t)})),["meta","link","script"].forEach(function(t){var i=e[t];for(var s in i){var n=document.createElement(t);for(var o in i[s])"innerHTML"!==o&&n.setAttribute(o,i[s][o]);n.setAttribute("data-qmeta",s),"script"===t&&(n.innerHTML=i[s].innerHTML||""),document.head.appendChild(n)}}),Object.keys(e.htmlAttr).filter(qo).forEach(function(t){document.documentElement.setAttribute(t,e.htmlAttr[t]||"")}),Object.keys(e.bodyAttr).filter(So).forEach(function(t){document.body.setAttribute(t,e.bodyAttr[t]||"")}),this.$root.__currentMeta=s}function Po(t){return function(e){var i=t[e];return e+(void 0!==i?'="'+i+'"':"")}}function Lo(t,e){var i={title:"",titleTemplate:null,meta:{},link:{},htmlAttr:{},bodyAttr:{},noscript:{}};$o(t,i),xo(i);var s={"%%Q_HTML_ATTRS%%":Object.keys(i.htmlAttr).filter(qo).map(Po(i.htmlAttr)).join(" "),"%%Q_HEAD_TAGS%%":function(t){var e="";return t.title&&(e+=""+t.title+""),["meta","link","script"].forEach(function(i){var s=t[i];for(var n in s){var o=Object.keys(s[n]).filter(function(t){return"innerHTML"!==t}).map(Po(s[n]));e+="<"+i+" "+o.join(" ")+' data-qmeta="'+n+'">',"script"===i&&(e+=(s[n].innerHTML||"")+"<\/script>")}}),e}(i),"%%Q_BODY_ATTRS%%":Object.keys(i.bodyAttr).filter(So).map(Po(i.bodyAttr)).join(" "),"%%Q_BODY_TAGS%%":Object.keys(i.noscript).map(function(t){return'"}).join("")+""; + } + } + }); + return output + } + + function getServerMeta (app, html) { + var meta = { + title: '', + titleTemplate: null, + meta: {}, + link: {}, + htmlAttr: {}, + bodyAttr: {}, + noscript: {} + }; + + parseMeta(app, meta); + normalize(meta); + + var tokens = { + '%%Q_HTML_ATTRS%%': Object.keys(meta.htmlAttr) + .filter(htmlFilter) + .map(getAttr(meta.htmlAttr)) + .join(' '), + '%%Q_HEAD_TAGS%%': getHead(meta), + '%%Q_BODY_ATTRS%%': Object.keys(meta.bodyAttr) + .filter(bodyFilter) + .map(getAttr(meta.bodyAttr)) + .join(' '), + '%%Q_BODY_TAGS%%': Object.keys(meta.noscript) + .map(function (name) { return (""); }) + .join('') + + "" + }; + + Object.keys(tokens).forEach(function (key) { + html = html.replace(key, tokens[key]); + }); + + return html + } + + function beforeCreate () { + if (this.$options.meta) { + if (typeof this.$options.meta === 'function') { + if (!this.$options.computed) { + this.$options.computed = {}; + } + this.$options.computed.__qMeta = this.$options.meta; + } + else { + this.__qMeta = this.$options.meta; + } + } + } + + function triggerMeta () { + this.$options.meta && this.__qMetaUpdate(); + } + + var meta = { + install: function install (ref) { + var queues = ref.queues; + var Vue$$1 = ref.Vue; + + if (isSSR) { + Vue$$1.prototype.$getMetaHTML = function (app) { return function (html) { return getServerMeta(app, html); }; }; + Vue$$1.mixin({ beforeCreate: beforeCreate }); + + queues.server.push(function (q, ctx) { + ctx.ssr.Q_HTML_ATTRS += ' %%Q_HTML_ATTRS%%'; + Object.assign(ctx.ssr, { + Q_HEAD_TAGS: '%%Q_HEAD_TAGS%%', + Q_BODY_ATTRS: '%%Q_BODY_ATTRS%%', + Q_BODY_TAGS: '%%Q_BODY_TAGS%%' + }); + }); + } + else { + ssrTakeover = fromSSR; + + Vue$$1.mixin({ + beforeCreate: beforeCreate, + created: function created () { + if (this.$options.meta) { + this.__qMetaUnwatch = this.$watch('__qMeta', this.__qMetaUpdate); + } + }, + activated: triggerMeta, + deactivated: triggerMeta, + beforeMount: triggerMeta, + destroyed: function destroyed () { + if (this.$options.meta) { + this.__qMetaUnwatch(); + this.__qMetaUpdate(); + } + }, + methods: { + __qMetaUpdate: function __qMetaUpdate () { + clearTimeout(updateId); + updateId = setTimeout(updateClient.bind(this), 50); + } + } + }); + } + } + }; + + var defaults$1 = {}; + + var positionList = [ + 'top-left', 'top-right', + 'bottom-left', 'bottom-right', + 'top', 'bottom', 'left', 'right', 'center' + ]; + + function init (ref) { + var Vue$$1 = ref.Vue; + + var node = document.createElement('div'); + document.body.appendChild(node); + + this.__vm = new Vue$$1({ + name: 'QNotifications', + data: { + notifs: { + center: [], + left: [], + right: [], + top: [], + 'top-left': [], + 'top-right': [], + bottom: [], + 'bottom-left': [], + 'bottom-right': [] + } + }, + methods: { + add: function add (config) { + var this$1 = this; + + if (!config) { + console.error('Notify: parameter required'); + return false + } + + var notif = Object.assign( + {}, + defaults$1, + typeof config === 'string' + ? { message: config } + : clone(config) + ); + + if (notif.position) { + if (!positionList.includes(notif.position)) { + console.error(("Notify: wrong position: " + (notif.position))); + return false + } + } + else { + notif.position = 'bottom'; + } + + notif.__uid = uid(); + + if (notif.timeout === void 0) { + notif.timeout = 5000; + } + else { + var t = parseInt(notif.timeout, 10); + if (isNaN(t) || t < 0) { + console.error(("Notify: wrong timeout: " + (notif.timeout))); + return false + } + notif.timeout = t; + } + + var close = function () { + this$1.remove(notif); + }; + + if (config.actions) { + notif.actions = config.actions.map(function (item) { + var + handler = item.handler, + action = clone(item); + + action.handler = typeof handler === 'function' + ? function () { + handler(); + !item.noDismiss && close(); + } + : function () { return close(); }; + + return action + }); + } + + if (typeof config.onDismiss === 'function') { + notif.onDismiss = config.onDismiss; + } + + if (notif.closeBtn) { + var btn = [{ + closeBtn: true, + label: notif.closeBtn, + handler: close + }]; + notif.actions = notif.actions + ? notif.actions.concat(btn) + : btn; + } + + if (notif.timeout > 0) { + notif.__timeout = setTimeout(function () { + close(); + }, notif.timeout + /* show duration */ 1000); + } + + var action = notif.position.indexOf('top') > -1 ? 'unshift' : 'push'; + this.notifs[notif.position][action](notif); + + return close + }, + remove: function remove (notif) { + if (notif.__timeout) { clearTimeout(notif.__timeout); } + + var index = this.notifs[notif.position].indexOf(notif); + if (index !== -1) { + var ref = this.$refs[("notif_" + (notif.__uid))]; + if (ref && ref.$el) { + var el = ref.$el; + el.style.left = (el.offsetLeft) + "px"; + el.style.width = getComputedStyle(el).width; + } + this.notifs[notif.position].splice(index, 1); + if (typeof notif.onDismiss === 'function') { + notif.onDismiss(); + } + } + } + }, + render: function render (h) { + var this$1 = this; + + return h('div', { staticClass: 'q-notifications' }, positionList.map(function (pos) { + var + vert = ['left', 'center', 'right'].includes(pos) ? 'center' : (pos.indexOf('top') > -1 ? 'top' : 'bottom'), + align = pos.indexOf('left') > -1 ? 'start' : (pos.indexOf('right') > -1 ? 'end' : 'center'), + classes = ['left', 'right'].includes(pos) ? ("items-" + (pos === 'left' ? 'start' : 'end') + " justify-center") : (pos === 'center' ? 'flex-center' : ("items-" + align)); + + return h('transition-group', { + key: pos, + staticClass: ("q-notification-list q-notification-list-" + vert + " fixed column " + classes), + tag: 'div', + props: { + name: ("q-notification-" + pos), + mode: 'out-in' + } + }, this$1.notifs[pos].map(function (notif) { + return h(QAlert, { + ref: ("notif_" + (notif.__uid)), + key: notif.__uid, + staticClass: 'q-notification', + props: notif + }, [ notif.message ]) + })) + })) + } + }); + + this.__vm.$mount(node); + } + + var notify = { + create: function create (opts) { + if (isSSR) { return function () {} } + return this.__vm.add(opts) + }, + setDefaults: function setDefaults (opts) { + Object.assign(defaults$1, opts); + }, + + install: function install (args) { + if (isSSR) { + args.$q.notify = function () {}; + args.$q.notify.setDefaults = function () {}; + return + } + + init.call(this, args); + + args.cfg.notify && this.setDefaults(args.cfg.notify); + + args.$q.notify = this.create.bind(this); + args.$q.notify.setDefaults = this.setDefaults; + } + }; + + var SIZE_LIST = ['sm', 'md', 'lg', 'xl']; + + var screen = { + width: 0, + + sizes: { + sm: 576, + md: 768, + lg: 992, + xl: 1200 + }, + + lt: { + sm: true, + md: true, + lg: true, + xl: true + }, + gt: {}, + xs: true, + + setSizes: function setSizes () {}, + setDebounce: function setDebounce () {}, + + install: function install (ref) { + var this$1 = this; + var $q = ref.$q; + var queues = ref.queues; + var Vue$$1 = ref.Vue; + + if (isSSR) { + $q.screen = this; + return + } + + var update = function (resized) { + var + w = window.innerWidth, + s = this$1.sizes; + + if (resized && w === this$1.width) { + return + } + + this$1.width = w; + + this$1.gt.xs = w >= s.sm; + this$1.gt.sm = w >= s.md; + this$1.gt.md = w >= s.lg; + this$1.gt.lg = w >= s.xl; + this$1.lt.sm = w < s.sm; + this$1.lt.md = w < s.md; + this$1.lt.lg = w < s.lg; + this$1.lt.xl = w < s.xl; + this$1.xs = this$1.lt.sm; + this$1.sm = this$1.gt.xs && this$1.lt.md; + this$1.md = this$1.gt.sm && this$1.lt.lg; + this$1.lg = this$1.gt.md && this$1.lt.xl; + this$1.xl = w > s.xl; + }; + + var updateEvt, updateSizes = {}, updateDebounce; + + this.setSizes = function (sizes) { + SIZE_LIST.forEach(function (name) { + if (sizes[name]) { + updateSizes[name] = sizes[name]; + } + }); + }; + this.setDebounce = function (deb) { + updateDebounce = deb; + }; + + var start = function () { + var style = getComputedStyle(document.body); + + // if css props available + if (style.getPropertyValue('--q-size-sm')) { + SIZE_LIST.forEach(function (name) { + this$1.sizes[name] = parseInt(style.getPropertyValue(("--q-size-" + name)), 10); + }); + } + + this$1.setSizes = function (sizes) { + SIZE_LIST.forEach(function (name) { + if (sizes[name]) { + this$1.sizes[name] = sizes[name]; + } + }); + update(); + }; + this$1.setDebounce = function (delay) { + var fn = function () { update(true); }; + updateEvt && window.removeEventListener('resize', updateEvt, listenOpts.passive); + updateEvt = delay > 0 + ? debounce(fn, delay) + : fn; + window.addEventListener('resize', updateEvt, listenOpts.passive); + }; + + this$1.setDebounce(updateDebounce || 100); + + if (Object.keys(updateSizes).length > 0) { + this$1.setSizes(updateSizes); + updateSizes = null; + } + else { + update(); + } + }; + + if (fromSSR) { + queues.takeover.push(start); + } + else { + start(); + } + + Vue$$1.util.defineReactive($q, 'screen', this); + } + }; + + function encode$1 (value) { + if (Object.prototype.toString.call(value) === '[object Date]') { + return '__q_date|' + value.toUTCString() + } + if (Object.prototype.toString.call(value) === '[object RegExp]') { + return '__q_expr|' + value.source + } + if (typeof value === 'number') { + return '__q_numb|' + value + } + if (typeof value === 'boolean') { + return '__q_bool|' + (value ? '1' : '0') + } + if (typeof value === 'string') { + return '__q_strn|' + value + } + if (typeof value === 'function') { + return '__q_strn|' + value.toString() + } + if (value === Object(value)) { + return '__q_objt|' + JSON.stringify(value) + } + + // hmm, we don't know what to do with it, + // so just return it as is + return value + } + + function decode$1 (value) { + var type, length, source; + + length = value.length; + if (length < 9) { + // then it wasn't encoded by us + return value + } + + type = value.substr(0, 8); + source = value.substring(9); + + switch (type) { + case '__q_date': + return new Date(source) + + case '__q_expr': + return new RegExp(source) + + case '__q_numb': + return Number(source) + + case '__q_bool': + return Boolean(source === '1') + + case '__q_strn': + return '' + source + + case '__q_objt': + return JSON.parse(source) + + default: + // hmm, we reached here, we don't know the type, + // then it means it wasn't encoded by us, so just + // return whatever value it is + return value + } + } + + function getEmptyStorage () { + var fn = function () {}; + + return { + has: fn, + get: { + length: fn, + item: fn, + index: fn, + all: fn + }, + set: fn, + remove: fn, + clear: fn, + isEmpty: fn + } + } + + function getStorage (type) { + var + webStorage = window[type + 'Storage'], + get = function (key) { + var item = webStorage.getItem(key); + return item + ? decode$1(item) + : null + }; + + return { + has: function (key) { return webStorage.getItem(key) !== null; }, + get: { + length: function () { return webStorage.length; }, + item: get, + index: function (index) { + if (index < webStorage.length) { + return get(webStorage.key(index)) + } + }, + all: function () { + var result = {}, key, len = webStorage.length; + + for (var i = 0; i < len; i++) { + key = webStorage.key(i); + result[key] = get(key); + } + + return result + } + }, + set: function (key, value) { webStorage.setItem(key, encode$1(value)); }, + remove: function (key) { webStorage.removeItem(key); }, + clear: function () { webStorage.clear(); }, + isEmpty: function () { return webStorage.length === 0; } + } + } + + var localStorage = { + install: function install (ref) { + var $q = ref.$q; + + var storage = isSSR || !hasWebStorage + ? getEmptyStorage() + : getStorage('local'); + + $q.localStorage = storage; + Object.assign(this, storage); + } + }; + + var sessionStorage = { + install: function install (ref) { + var $q = ref.$q; + + var storage = isSSR || !hasWebStorage + ? getEmptyStorage() + : getStorage('session'); + + $q.sessionStorage = storage; + Object.assign(this, storage); + } + }; + + + + var plugins = /*#__PURE__*/Object.freeze({ + ActionSheet: actionSheet, + AddressbarColor: addressbarColor, + AppFullscreen: appFullscreen, + AppVisibility: appVisibility, + Cookies: cookies, + Dialog: dialog, + LoadingBar: loadingBar, + Loading: loading, + Meta: meta, + Notify: notify, + Platform: Platform, + Screen: screen, + LocalStorage: localStorage, + SessionStorage: sessionStorage + }); + + function openUrl (url, reject) { + if (Platform.is.cordova && navigator && navigator.app) { + return navigator.app.loadUrl(url, { + openExternal: true + }) + } + + var win = window.open(url, '_blank'); + + if (win) { + win.focus(); + return win + } + else { + reject && reject(); + } + } + + function noop () {} + + var utils = /*#__PURE__*/Object.freeze({ + animate: animate, + clone: clone, + colors: colors, + date: date, + debounce: debounce, + dom: dom, + easing: easing, + event: event, + extend: extend, + filter: filter, + format: format, + frameDebounce: frameDebounce, + noop: noop, + openURL: openUrl, + scroll: scroll, + throttle: throttle, + uid: uid + }); + + if (Vue === void 0) { + console.error('[ Quasar ] Vue is required to run. Please add a script tag for it before loading Quasar.'); + } + else { + Vue.use({ install: install }, { + components: components$1, + directives: directives, + plugins: plugins, + config: typeof window !== 'undefined' + ? (window.quasarConfig || {}) + : {} + }); + } + + var index_umd = { + version: version, + theme: 'mat', + + i18n: i18n, + icons: Icons, + components: components$1, + directives: directives, + plugins: plugins, + utils: utils + }; + + return index_umd; + +}))); diff --git a/node_modules/quasar-framework/dist/umd/quasar.mat.umd.min.js b/node_modules/quasar-framework/dist/umd/quasar.mat.umd.min.js new file mode 100644 index 0000000..9bd0c1d --- /dev/null +++ b/node_modules/quasar-framework/dist/umd/quasar.mat.umd.min.js @@ -0,0 +1,6 @@ +/*! + * Quasar Framework v0.17.20 + * (c) 2016-present Razvan Stoenescu + * Released under the MIT License. + */ +!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("vue")):"function"==typeof define&&define.amd?define(["vue"],e):t.Quasar=e(t.Vue)}(this,function(t){"use strict";t=t&&t.hasOwnProperty("default")?t.default:t;var e,i="undefined"==typeof window,s=!1,n=i;function o(t){var e=function(t,e){var i=/(edge)\/([\w.]+)/.exec(t)||/(opr)[\/]([\w.]+)/.exec(t)||/(vivaldi)[\/]([\w.]+)/.exec(t)||/(chrome)[\/]([\w.]+)/.exec(t)||/(iemobile)[\/]([\w.]+)/.exec(t)||/(version)(applewebkit)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(t)||/(webkit)[\/]([\w.]+).*(version)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(t)||/(webkit)[\/]([\w.]+)/.exec(t)||/(opera)(?:.*version|)[\/]([\w.]+)/.exec(t)||/(msie) ([\w.]+)/.exec(t)||t.indexOf("trident")>=0&&/(rv)(?::| )([\w.]+)/.exec(t)||t.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(t)||[];return{browser:i[5]||i[3]||i[1]||"",version:i[2]||i[4]||"0",versionNumber:i[4]||i[2]||"0",platform:e[0]||""}}(t=(t||navigator.userAgent||navigator.vendor||window.opera).toLowerCase(),function(t){return/(ipad)/.exec(t)||/(ipod)/.exec(t)||/(windows phone)/.exec(t)||/(iphone)/.exec(t)||/(kindle)/.exec(t)||/(silk)/.exec(t)||/(android)/.exec(t)||/(win)/.exec(t)||/(mac)/.exec(t)||/(linux)/.exec(t)||/(cros)/.exec(t)||/(playbook)/.exec(t)||/(bb)/.exec(t)||/(blackberry)/.exec(t)||[]}(t)),o={};return e.browser&&(o[e.browser]=!0,o.version=e.version,o.versionNumber=parseInt(e.versionNumber,10)),e.platform&&(o[e.platform]=!0),(o.android||o.bb||o.blackberry||o.ipad||o.iphone||o.ipod||o.kindle||o.playbook||o.silk||o["windows phone"])&&(o.mobile=!0),(o.ipod||o.ipad||o.iphone)&&(o.ios=!0),o["windows phone"]&&(o.winphone=!0,delete o["windows phone"]),(o.cros||o.mac||o.linux||o.win)&&(o.desktop=!0),(o.chrome||o.opr||o.safari||o.vivaldi)&&(o.webkit=!0),(o.rv||o.iemobile)&&(e.browser="ie",o.ie=!0),o.edge&&(e.browser="edge",o.edge=!0),(o.safari&&o.blackberry||o.bb)&&(e.browser="blackberry",o.blackberry=!0),o.safari&&o.playbook&&(e.browser="playbook",o.playbook=!0),o.opr&&(e.browser="opera",o.opera=!0),o.safari&&o.android&&(e.browser="android",o.android=!0),o.safari&&o.kindle&&(e.browser="kindle",o.kindle=!0),o.safari&&o.silk&&(e.browser="silk",o.silk=!0),o.vivaldi&&(e.browser="vivaldi",o.vivaldi=!0),o.name=e.browser,o.platform=e.platform,i||(window.process&&window.process.versions&&window.process.versions.electron?o.electron=!0:0===document.location.href.indexOf("chrome-extension://")?o.chromeExt=!0:(window._cordovaNative||window.cordova)&&(o.cordova=!0),(s=void 0===o.cordova&&void 0===o.electron&&!!document.querySelector("[data-server-rendered]"))&&(n=!0)),o}function r(){if(void 0!==e)return e;try{if(window.localStorage)return e=!0,!0}catch(t){}return e=!1,!1}function a(){return{has:{touch:!!("ontouchstart"in document.documentElement)||window.navigator.msMaxTouchPoints>0,webStorage:r()},within:{iframe:window.self!==window.top}}}var l={has:{touch:!1,webStorage:!1},within:{iframe:!1},parseSSR:function(t){return t?{is:o(t.req.headers["user-agent"]),has:this.has,within:this.within}:Object.assign({},{is:o()},a())},install:function(t,e,r){var l=this;i?e.server.push(function(t,e){t.platform=l.parseSSR(e.ssr)}):(this.is=o(),s?(e.takeover.push(function(t){n=s=!1,Object.assign(t.platform,a())}),r.util.defineReactive(t,"platform",this)):(Object.assign(this,a()),t.platform=this))}};Object.assign||Object.defineProperty(Object,"assign",{enumerable:!1,configurable:!0,writable:!0,value:function(t,e){var i=arguments;if(void 0===t||null===t)throw new TypeError("Cannot convert first argument to object");for(var s=Object(t),n=1;n=0?n=r:(n=s+r)<0&&(n=0);ni.length)&&(e=i.length),e-=t.length;var s=i.indexOf(t,e);return-1!==s&&s===e}),i||("function"!=typeof Element.prototype.matches&&(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.webkitMatchesSelector||function(t){for(var e=(this.document||this.ownerDocument).querySelectorAll(t),i=0;e[i]&&e[i]!==this;)++i;return Boolean(e[i])}),"function"!=typeof Element.prototype.closest&&(Element.prototype.closest=function(t){for(var e=this;e&&1===e.nodeType;){if(e.matches(t))return e;e=e.parentNode}return null}),[Element.prototype,CharacterData.prototype,DocumentType.prototype].forEach(function(t){t.hasOwnProperty("remove")||Object.defineProperty(t,"remove",{configurable:!0,enumerable:!0,writable:!0,value:function(){null!==this.parentNode&&this.parentNode.removeChild(this)}})})),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(t){if(null==this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!=typeof t)throw new TypeError("predicate must be a function");for(var e,i=Object(this),s=i.length>>>0,n=arguments[1],o=0;o=0&&s.__history.splice(e,1)};var n=void 0===e.cordova||!1!==e.cordova.backButtonExit;document.addEventListener("deviceready",function(){document.addEventListener("backbutton",function(){s.__history.length?s.__history.pop().handler():n&&"#/"===window.location.hash?navigator.app.exitApp():window.history.back()},!1)})}}},h={lang:"en-us",label:{clear:"Clear",ok:"OK",cancel:"Cancel",close:"Close",set:"Set",select:"Select",reset:"Reset",remove:"Remove",update:"Update",create:"Create",search:"Search",filter:"Filter",refresh:"Refresh"},date:{days:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),daysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),firstDayOfWeek:0,format24h:!1},pullToRefresh:{pull:"Pull down to refresh",release:"Release to refresh",refresh:"Refreshing..."},table:{noData:"No data available",noResults:"No matching records found",loading:"Loading...",selectedRecords:function(t){return 1===t?"1 record selected.":(0===t?"No":t)+" records selected."},recordsPerPage:"Records per page:",allRows:"All",pagination:function(t,e,i){return t+"-"+e+" of "+i},columns:"Columns"},editor:{url:"URL",bold:"Bold",italic:"Italic",strikethrough:"Strikethrough",underline:"Underline",unorderedList:"Unordered List",orderedList:"Ordered List",subscript:"Subscript",superscript:"Superscript",hyperlink:"Hyperlink",toggleFullscreen:"Toggle Fullscreen",quote:"Quote",left:"Left align",center:"Center align",right:"Right align",justify:"Justify align",print:"Print",outdent:"Decrease indentation",indent:"Increase indentation",removeFormat:"Remove formatting",formatting:"Formatting",fontSize:"Font Size",align:"Align",hr:"Insert Horizontal Rule",undo:"Undo",redo:"Redo",header1:"Header 1",header2:"Header 2",header3:"Header 3",header4:"Header 4",header5:"Header 5",header6:"Header 6",paragraph:"Paragraph",code:"Code",size1:"Very small",size2:"A bit small",size3:"Normal",size4:"Medium-large",size5:"Big",size6:"Very big",size7:"Maximum",defaultFont:"Default Font"},tree:{noNodes:"No nodes available",noResults:"No matching nodes found"}},u={install:function(t,e,s,n){var o=this;i&&e.server.push(function(t,e){var i={lang:t.i18n.lang,dir:t.i18n.rtl?"rtl":"ltr"},s=e.ssr.setHtmlAttrs;"function"==typeof s?s(i):e.ssr.Q_HTML_ATTRS=Object.keys(i).map(function(t){return t+"="+i[t]}).join(" ")}),this.set=function(e){if(void 0===e&&(e=h),e.set=o.set,e.getLocale=o.getLocale,e.rtl=e.rtl||!1,!i){var n=document.documentElement;n.setAttribute("dir",e.rtl?"rtl":"ltr"),n.setAttribute("lang",e.lang)}i||t.i18n?t.i18n=e:s.util.defineReactive(t,"i18n",e),o.name=e.lang,o.lang=e},this.set(n)},getLocale:function(){if(!i){var t=navigator.language||navigator.languages[0]||navigator.browserLanguage||navigator.userLanguage||navigator.systemLanguage;return t?t.toLowerCase():void 0}}};function d(t){var e=t.r,i=t.g,s=t.b,n=t.a,o=void 0!==n;if(e=Math.round(e),i=Math.round(i),s=Math.round(s),e>255||i>255||s>255||o&&n>100)throw new TypeError("Expected 3 numbers below 256 (and optionally one below 100)");return n=o?(256|Math.round(255*n/100)).toString(16).slice(1):"","#"+(s|i<<8|e<<16|1<<24).toString(16).slice(1)+n}function p(t){if("string"!=typeof t)throw new TypeError("Expected a string");3===(t=t.replace(/^#/,"")).length?t=t[0]+t[0]+t[1]+t[1]+t[2]+t[2]:4===t.length&&(t=t[0]+t[0]+t[1]+t[1]+t[2]+t[2]+t[3]+t[3]);var e=parseInt(t,16);return t.length>6?{r:e>>24&255,g:e>>16&255,b:e>>8&255,a:Math.round((255&e)/2.55)}:{r:e>>16,g:e>>8&255,b:255&e}}function f(t){var e,i,s,n,o,r,a,l,c=t.h,h=t.s,u=t.v,d=t.a;switch(r=(u/=100)*(1-(h/=100)),a=u*(1-(o=6*(c/=360)-(n=Math.floor(6*c)))*h),l=u*(1-(1-o)*h),n%6){case 0:e=u,i=l,s=r;break;case 1:e=a,i=u,s=r;break;case 2:e=r,i=u,s=l;break;case 3:e=r,i=a,s=u;break;case 4:e=l,i=r,s=u;break;case 5:e=u,i=r,s=a}return{r:Math.round(255*e),g:Math.round(255*i),b:Math.round(255*s),a:d}}function m(t){var e,i=t.r,s=t.g,n=t.b,o=t.a,r=Math.max(i,s,n),a=Math.min(i,s,n),l=r-a,c=0===r?0:l/r,h=r/255;switch(r){case a:e=0;break;case i:e=s-n+l*(st.clientHeight&&(t.classList.contains("scroll")||t.classList.contains("overflow-auto")||["auto","scroll"].includes(window.getComputedStyle(t)["overflow-y"])):t.scrollWidth>t.clientWidth&&(t.classList.contains("scroll")||t.classList.contains("overflow-auto")||["auto","scroll"].includes(window.getComputedStyle(t)["overflow-x"])))}var st={getScrollTarget:J,getScrollHeight:function(t){return(t===window?document.body:t).scrollHeight},getScrollPosition:G,animScrollTo:X,setScrollPosition:tt,getScrollbarWidth:et,hasScrollbar:it},nt=0;function ot(t){(function(t){if(t.target===document.body||t.target.classList.contains("q-layout-backdrop"))return!0;for(var e=z(t),i=t.shiftKey&&!t.deltaX,s=!i&&Math.abs(t.deltaX)<=Math.abs(t.deltaY),n=i||s?t.deltaY:t.deltaX,o=0;o0&&r.scrollTop+r.clientHeight===r.scrollHeight:n<0&&0===r.scrollLeft||n>0&&r.scrollLeft+r.clientWidth===r.scrollWidth}return!0})(t)&&H(t)}function rt(t){if(!((nt+=t?1:-1)>1)){var e=t?"add":"remove";l.is.mobile?document.body.classList[e]("q-body-prevent-scroll"):l.is.desktop&&window[e+"EventListener"]("wheel",ot)}}var at={top:"items-start justify-center with-backdrop",bottom:"items-end justify-center with-backdrop",right:"items-center justify-end with-backdrop",left:"items-center justify-start with-backdrop"},lt={maxHeight:"80vh",height:"auto"};var ct={responsive:0,maximized:0},ht={name:"QModal",mixins:[P],provide:function(){var t=this;return{__qmodal:{register:function(e){t.layout!==e&&(t.layout=e)},unregister:function(e){t.layout===e&&(t.layout=null)}}}},props:{position:{type:String,default:"",validator:function(t){return""===t||["top","bottom","left","right"].includes(t)}},transition:String,enterClass:String,leaveClass:String,positionClasses:{type:String,default:"flex-center"},contentClasses:[Object,Array,String],contentCss:[Object,Array,String],noBackdropDismiss:{type:Boolean,default:!1},noEscDismiss:{type:Boolean,default:!1},noRouteDismiss:Boolean,noRefocus:Boolean,minimized:Boolean,maximized:Boolean},data:function(){return{layout:null}},watch:{$route:function(){this.noRouteDismiss||this.hide()},maximized:function(t,e){this.__register(!1,e),this.__register(!0,t)},minimized:function(t,e){this.__register(!1,this.maximized,e),this.__register(!0,this.maximized,t)}},computed:{modalClasses:function(){var t=this.position?at[this.position]:this.positionClasses;return this.maximized?["maximized",t]:this.minimized?["minimized",t]:t},contentClassesCalc:function(){return this.layout?[this.contentClasses,"column no-wrap"]:this.contentClasses},transitionProps:function(){return this.position?{name:"q-modal-"+this.position}:this.enterClass||this.leaveClass?{enterActiveClass:this.enterClass,leaveActiveClass:this.leaveClass}:{name:this.transition||"q-modal"}},modalCss:function(){if(this.position){var t=Array.isArray(this.contentCss)?this.contentCss:[this.contentCss];return t.unshift(Object.assign({},lt,function(t){var e={};return["left","right"].includes(t)&&(e.maxWidth="90vw"),["left","top"].includes(t)&&(e.borderTopLeftRadius=0),["right","top"].includes(t)&&(e.borderTopRightRadius=0),["left","bottom"].includes(t)&&(e.borderBottomLeftRadius=0),["right","bottom"].includes(t)&&(e.borderBottomRightRadius=0),e}(this.position))),t}return this.contentCss}},methods:{__dismiss:function(){var t=this;this.noBackdropDismiss?this.__shake():this.hide().then(function(){t.$emit("dismiss")})},__show:function(){var t=this;this.noRefocus||(this.__refocusTarget=document.activeElement),document.body.appendChild(this.$el),this.__register(!0),rt(!0),M.register(function(){t.noEscDismiss?t.__shake():(t.$emit("escape-key"),t.hide().then(function(){t.$emit("dismiss")}))});var e=this.$refs.content;this.$q.platform.is.ios&&e.click(),e.scrollTop=0,["modal-scroll","layout-view"].forEach(function(t){[].slice.call(e.getElementsByClassName(t)).forEach(function(t){t.scrollTop=0})}),this.$nextTick(function(){return e&&e.focus()})},__hide:function(){this.__cleanup(),!this.noRefocus&&this.__refocusTarget&&(this.__refocusTarget.focus(),!this.__refocusTarget.classList.contains("q-if")&&this.__refocusTarget.blur())},__cleanup:function(){M.pop(),rt(!1),this.__register(!1)},__stopPropagation:function(t){t.stopPropagation()},__register:function(t,e,i){void 0===e&&(e=this.maximized),void 0===i&&(i=this.minimized);var s=t?{action:"add",step:1}:{action:"remove",step:-1};if(e){if(ct.maximized+=s.step,!t&&ct.maximized>0)return;document.body.classList[s.action]("q-maximized-modal")}else if(!i){if(ct.responsive+=s.step,!t&&ct.responsive>0)return;document.body.classList[s.action]("q-responsive-modal")}},__shake:function(){var t=this;this.$el.classList.remove("animate-shake"),this.$el.classList.add("animate-shake"),clearTimeout(this.shakeTimeout),this.shakeTimeout=setTimeout(function(){t.$el.classList.remove("animate-shake")},150)}},mounted:function(){this.value&&this.show()},beforeDestroy:function(){clearTimeout(this.shakeTimeout),this.$el.remove(),this.showing&&this.__cleanup()},render:function(t){var e=this;return t("transition",{props:this.transitionProps,on:{afterEnter:function(){e.showPromise&&e.showPromiseResolve()},enterCancelled:function(){e.showPromise&&e.showPromiseReject(),e.$el.remove()},afterLeave:function(){e.hidePromise&&e.hidePromiseResolve(),e.$el.remove()},leaveCancelled:function(){e.hidePromise&&e.hidePromiseReject()}}},[t("div",{staticClass:"modal fullscreen row",class:this.modalClasses,directives:[{name:"show",value:this.showing}]},[t("div",{staticClass:"modal-backdrop absolute-full",on:{click:this.__dismiss}}),t("div",{ref:"content",staticClass:"modal-content",style:this.modalCss,class:this.contentClassesCalc,attrs:{tabindex:-1},on:{click:this.__stopPropagation,touchstart:this.__stopPropagation}},this.$slots.default)])])}},ut={name:"QIcon",props:{name:String,color:String,size:String},computed:{classes:function(){var t,e=this.name;return e?(t=/^fa[s|r|l|b]{0,1} /.test(e)||e.startsWith("icon-")?e:e.startsWith("bt-")?"bt "+e:e.startsWith("eva-")?"eva "+e:/^ion-(md|ios|logo)/.test(e)?"ionicons "+e:e.startsWith("ion-")?"ionicons ion-md"+e.substr(3):e.startsWith("mdi-")?"mdi "+e:"material-icons",this.color?t+" text-"+this.color:t):""},content:function(){return this.classes.startsWith("material-icons")?this.name.replace(/ /g,"_"):" "},style:function(){if(this.size)return{fontSize:this.size}}},render:function(t){return t("i",{staticClass:"q-icon",class:this.classes,style:this.style,attrs:{"aria-hidden":!0}},[this.content,this.$slots.default])}},dt={name:"QList",props:{noBorder:Boolean,dark:Boolean,dense:Boolean,sparse:Boolean,striped:Boolean,stripedOdd:Boolean,separator:Boolean,insetSeparator:Boolean,multiline:Boolean,highlight:Boolean,link:Boolean},computed:{classes:function(){return{"no-border":this.noBorder,"q-list-dark":this.dark,"q-list-dense":this.dense,"q-list-sparse":this.sparse,"q-list-striped":this.striped,"q-list-striped-odd":this.stripedOdd,"q-list-separator":this.separator,"q-list-inset-separator":this.insetSeparator,"q-list-multiline":this.multiline,"q-list-highlight":this.highlight,"q-list-link":this.link}}},render:function(t){return t("div",{staticClass:"q-list",class:this.classes},this.$slots.default)}},pt=null;if(!i)try{pt=new Event("qrouterlinkclick")}catch(t){(pt=document.createEvent("Event")).initEvent("qrouterlinkclick",!0,!1)}var ft={to:[String,Object],exact:Boolean,append:Boolean,replace:Boolean,event:[String,Array],activeClass:String,exactActiveClass:String},mt={props:ft,data:function(){return{routerLinkEventName:"qrouterlinkclick"}}};function vt(t){return void 0===t||t<2?{}:{overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":t}}var gt={icon:String,rightIcon:String,image:String,rightImage:String,avatar:String,rightAvatar:String,letter:String,rightLetter:String,label:String,sublabel:String,labelLines:[String,Number],sublabelLines:[String,Number]},bt={mixins:[{props:ft}],props:{dark:Boolean,link:Boolean,dense:Boolean,sparse:Boolean,separator:Boolean,insetSeparator:Boolean,multiline:Boolean,highlight:Boolean,tag:{type:String,default:"div"}},computed:{itemClasses:function(){return{"q-item":!0,"q-item-division":!0,"relative-position":!0,"q-item-dark":this.dark,"q-item-dense":this.dense,"q-item-sparse":this.sparse,"q-item-separator":this.separator,"q-item-inset-separator":this.insetSeparator,"q-item-multiline":this.multiline,"q-item-highlight":this.highlight,"q-item-link":this.to||this.link}}}},_t={name:"QItem",mixins:[bt],props:{active:Boolean,link:Boolean},computed:{classes:function(){return[void 0!==this.to?"q-link":{active:this.active},this.itemClasses]}},render:function(t){return void 0!==this.to?t("router-link",{props:Object.assign({},this.$props,{tag:"a"}),class:this.classes},this.$slots.default):t(this.tag,{class:this.classes},this.$slots.default)}},yt={name:"QItemSide",props:{right:Boolean,icon:String,letter:{type:String,validator:function(t){return 1===t.length}},inverted:Boolean,avatar:String,image:String,stamp:String,color:String,textColor:String},computed:{type:function(){var t=this;return["icon","image","avatar","letter","stamp"].find(function(e){return t[e]})},classes:function(){var t=["q-item-side-"+(this.right?"right":"left")];return!this.color||this.icon||this.letter||t.push("text-"+this.color),t},typeClasses:function(){var t=["q-item-"+this.type];return this.color&&(this.inverted&&(this.icon||this.letter)?t.push("bg-"+this.color):this.textColor||t.push("text-"+this.color)),this.textColor&&t.push("text-"+this.textColor),this.inverted&&(this.icon||this.letter)&&(t.push("q-item-inverted"),t.push("flex"),t.push("flex-center")),t},imagePath:function(){return this.image||this.avatar}},render:function(t){var e;return this.type&&(this.icon?(e=t(ut,{class:this.inverted?null:this.typeClasses,props:{name:this.icon}}),this.inverted&&(e=t("div",{class:this.typeClasses},[e]))):e=this.imagePath?t("img",{class:this.typeClasses,attrs:{src:this.imagePath}}):t("div",{class:this.typeClasses},[this.stamp||this.letter])),t("div",{staticClass:"q-item-side q-item-section",class:this.classes},[e,this.$slots.default])}};function wt(t,e,i,s){return t("div",{staticClass:"q-item-"+e+(1===(s=parseInt(s,10))?" ellipsis":""),style:vt(s),domProps:{innerHTML:i}})}var Ct={name:"QItemMain",props:{label:String,labelLines:[String,Number],sublabel:String,sublabelLines:[String,Number],inset:Boolean,tag:{type:String,default:"div"}},render:function(t){return t(this.tag,{staticClass:"q-item-main q-item-section",class:{"q-item-main-inset":this.inset}},[this.label?wt(t,"label",this.label,this.labelLines):null,this.sublabel?wt(t,"sublabel",this.sublabel,this.sublabelLines):null,this.$slots.default])}},kt={name:"QItemSeparator",props:{inset:Boolean},render:function(t){return t("div",{staticClass:"q-item-separator-component",class:{"q-item-separator-inset-component":this.inset}},this.$slots.default)}},xt={name:"QActionSheet",props:{value:Boolean,title:String,grid:Boolean,actions:Array,dismissLabel:String},computed:{contentCss:function(){}},render:function(t){var e=this,i=[],s=this.$slots.title||this.title;return s&&i.push(t("div",{staticClass:"q-actionsheet-title column justify-center"},[s])),i.push(t("div",{staticClass:"q-actionsheet-body scroll"},this.actions?[this.grid?t("div",{staticClass:"q-actionsheet-grid row wrap items-center justify-between"},this.__getActions(t)):t(dt,{staticClass:"no-border",props:{link:!0}},this.__getActions(t))]:this.$slots.default)),t(ht,{ref:"modal",props:{value:this.value,position:"bottom",contentCss:this.contentCss},on:{input:function(t){e.$emit("input",t)},show:function(){e.$emit("show")},hide:function(){e.$emit("hide")},dismiss:function(){e.$emit("cancel")},"escape-key":function(){e.$emit("escape-key")}}},i)},methods:{show:function(){return this.$refs.modal.show()},hide:function(){return this.$refs.modal?this.$refs.modal.hide():Promise.resolve()},__getActions:function(t){var e=this;return this.actions.map(function(i){var s;return i.label?t(e.grid?"div":_t,((s={staticClass:e.grid?"q-actionsheet-grid-item cursor-pointer relative-position column inline flex-center":null,class:i.classes,attrs:{tabindex:0}})[e.grid?"on":"nativeOn"]={click:function(){return e.__onOk(i)},keyup:function(t){13===E(t)&&e.__onOk(i)}},s),e.grid?[i.icon?t(ut,{props:{name:i.icon,color:i.color}}):null,i.avatar?t("img",{domProps:{src:i.avatar},staticClass:"avatar"}):null,t("span",[i.label])]:[t(yt,{props:{icon:i.icon,color:i.color,avatar:i.avatar}}),t(Ct,{props:{inset:!0,label:i.label}})]):t(kt,{staticClass:"col-12"})})},__onOk:function(t){var e=this;this.hide().then(function(){"function"==typeof t.handler&&t.handler(),e.$emit("ok",t)})},__onCancel:function(){var t=this;this.hide().then(function(){t.$emit("cancel")})},__onKeyCancel:function(t){13===E(t)&&this.__onCancel()}}},St=["B","kB","MB","GB","TB","PB"];function qt(t){for(var e=0;parseInt(t,10)>=1024&&e=e?s:new Array(e-s.length+1).join(i)+s}var Lt={humanStorageSize:qt,capitalize:$t,between:Tt,normalizeToInterval:Mt,pad:Pt},Bt=i?null:XMLHttpRequest,Et=i?null:Bt.prototype.send,Nt={start:[],stop:[]},Ot=0;var zt={name:"QAjaxBar",props:{position:{type:String,default:"top",validator:function(t){return["top","right","bottom","left"].includes(t)}},size:{type:String,default:"2px"},color:{type:String,default:"red"},skipHijack:Boolean,reverse:Boolean},data:function(){return{calls:0,progress:0,onScreen:!1,animate:!0}},computed:{classes:function(){return[this.position,"bg-"+this.color,this.animate?"":"no-transition"]},style:function(){var t=this.onScreen,e=function(t){var e=t.p,i=t.pos,s=t.active,n=t.horiz,o=t.reverse,r=t.dir,a=1,l=1;return n?(o&&(a=-1),"bottom"===i&&(l=-1),{transform:"translate3d("+a*(e-100)+"%,"+(s?0:-200*l)+"%,0)"}):(o&&(l=-1),"right"===i&&(a=-1),{transform:"translate3d("+(s?0:r*a*-200)+"%,"+l*(e-100)+"%,0)"})}({p:this.progress,pos:this.position,active:t,horiz:this.horizontal,reverse:this.$q.i18n.rtl&&["top","bottom"].includes(this.position)?!this.reverse:this.reverse,dir:this.$q.i18n.rtl?-1:1});return e[this.sizeProp]=this.size,e.opacity=t?1:0,e},horizontal:function(){return"top"===this.position||"bottom"===this.position},sizeProp:function(){return this.horizontal?"height":"width"}},methods:{start:function(t){var e=this;void 0===t&&(t=300),this.calls++,this.calls>1||(clearTimeout(this.timer),this.$emit("start"),this.onScreen||(this.progress=0,this.onScreen=!0,this.animate=!1,this.timer=setTimeout(function(){e.animate=!0,e.__work(t)},100)))},increment:function(t){this.calls>0&&(this.progress=function(t,e){return"number"!=typeof e&&(e=t<25?3*Math.random()+3:t<65?3*Math.random():t<85?2*Math.random():t<99?.6:0),Tt(t+e,0,100)}(this.progress,t))},stop:function(){var t=this;if(this.calls=Math.max(0,this.calls-1),!(this.calls>0)){clearTimeout(this.timer),this.$emit("stop");var e=function(){t.animate=!0,t.progress=100,t.timer=setTimeout(function(){t.onScreen=!1},1e3)};0===this.progress?this.timer=setTimeout(e,1):e()}},__work:function(t){var e=this;this.progress<100&&(this.timer=setTimeout(function(){e.increment(),e.__work(t)},t))}},mounted:function(){this.skipHijack||(this.hijacked=!0,function(t,e){function i(){Nt.stop.map(function(t){t()})}Nt.start.push(t),Nt.stop.push(e),++Ot>1||(Bt.prototype.send=function(){for(var t=this,e=[],s=arguments.length;s--;)e[s]=arguments[s];Nt.start.map(function(t){t()}),this.addEventListener("abort",i,!1),this.addEventListener("readystatechange",function(){4===t.readyState&&i()},!1),Et.apply(this,e)})}(this.start,this.stop))},beforeDestroy:function(){var t,e;clearTimeout(this.timer),this.hijacked&&(t=this.start,e=this.stop,Nt.start=Nt.start.filter(function(e){return e!==t}),Nt.stop=Nt.stop.filter(function(t){return t!==e}),(Ot=Math.max(0,Ot-1))||(Bt.prototype.send=Et))},render:function(t){return t("div",{staticClass:"q-loading-bar",class:this.classes,style:this.style})}};function Dt(t,e,i){var s=i.stop,n=i.center;s&&t.stopPropagation();var o,r,a=document.createElement("span"),l=document.createElement("span"),c=e.clientWidth>e.clientHeight?e.clientWidth:e.clientHeight,h=(n?c:2*c)+"px",u=e.getBoundingClientRect();if(a.appendChild(l),a.className="q-ripple-container",l.className="q-ripple-animation",l.style.width=h,l.style.height=h,e.appendChild(a),n)o=r=0;else{var d=N(t);o=d.left-u.left-c,r=d.top-u.top-c}l.classList.add("q-ripple-animation-enter"),l.classList.add("q-ripple-animation-visible"),l.style.transform="translate("+o+"px, "+r+"px) scale3d(0, 0, 0)",setTimeout(function(){l.classList.remove("q-ripple-animation-enter"),l.style.transform="translate("+o+"px, "+r+"px) scale3d(1, 1, 1)",setTimeout(function(){l.classList.remove("q-ripple-animation-visible"),setTimeout(function(){a.remove()},300)},300)},10)}function Rt(t){t.mat;return t.ios&&!0}var It={name:"ripple",inserted:function(t,e){var i=e.value,s=e.modifiers;if(!Rt(s)){var n={enabled:!1!==i,modifiers:{stop:s.stop,center:s.center},click:function(e){n.enabled&&-1!==e.detail&&Dt(e,t,n.modifiers)},keyup:function(e){n.enabled&&13===e.keyCode&&Dt(e,t,n.modifiers)}};t.__qripple=n,t.addEventListener("click",n.click,!1),t.addEventListener("keyup",n.keyup,!1)}},update:function(t,e){var i=e.value,s=e.modifiers,n=s.stop,o=s.center,r=t.__qripple;r&&(r.enabled=!1!==i,r.modifiers={stop:n,center:o})},unbind:function(t,e){var i=e.modifiers,s=t.__qripple;s&&!Rt(i)&&(t.removeEventListener("click",s.click,!1),t.removeEventListener("keyup",s.keyup,!1),delete t.__qripple)}},Ht={left:"start",center:"center",right:"end",between:"between",around:"around"},Ft=Object.keys(Ht),At={props:{align:{type:String,default:"center",validator:function(t){return Ft.includes(t)}}},computed:{alignClass:function(){return"justify-"+Ht[this.align]}}},Qt={xs:8,sm:10,md:14,lg:20,xl:24,form:14.777,"form-label":21.777,"form-hide-underline":9.333,"form-label-hide-underline":16.333},Vt={mixins:[At],directives:{Ripple:It},props:{type:String,loading:{type:Boolean,default:null},disable:Boolean,label:[Number,String],noCaps:Boolean,noWrap:Boolean,icon:String,iconRight:String,round:Boolean,outline:Boolean,flat:Boolean,rounded:Boolean,push:Boolean,size:String,fab:Boolean,fabMini:Boolean,color:String,textColor:String,glossy:Boolean,dense:Boolean,noRipple:Boolean,tabindex:Number,to:[Object,String],replace:Boolean},computed:{style:function(){if(this.size&&!this.fab&&!this.fabMini)return{fontSize:this.size in Qt?Qt[this.size]+"px":this.size}},isRectangle:function(){return!this.isRound},isRound:function(){return this.round||this.fab||this.fabMini},shape:function(){return"q-btn-"+(this.isRound?"round":"rectangle")},isDisabled:function(){return this.disable||this.loading},hasRipple:function(){return!this.noRipple&&!this.isDisabled},computedTabIndex:function(){return this.isDisabled?-1:this.tabindex||0},isLink:function(){return"a"===this.type||void 0!==this.to},attrs:function(){var t={tabindex:this.computedTabIndex};return"a"!==this.type&&(t.type=this.type||"button"),void 0!==this.to&&(t.href=this.$router.resolve(this.to).href),t},classes:function(){var t=[this.shape];return this.fab?t.push("q-btn-fab"):this.fabMini&&t.push("q-btn-fab-mini"),this.flat?t.push("q-btn-flat"):this.outline?t.push("q-btn-outline"):this.push&&t.push("q-btn-push"),this.isDisabled?t.push("disabled"):(t.push("q-focusable q-hoverable"),this.active&&t.push("active")),this.color?this.flat||this.outline?t.push("text-"+(this.textColor||this.color)):(t.push("bg-"+this.color),t.push("text-"+(this.textColor||"white"))):this.textColor&&t.push("text-"+this.textColor),t.push({"q-btn-no-uppercase":this.noCaps,"q-btn-rounded":this.rounded,"q-btn-dense":this.dense,glossy:this.glossy}),t},innerClasses:function(){var t=[this.alignClass];return!0===this.noWrap&&t.push("no-wrap","text-no-wrap"),!0===this.repeating&&t.push("non-selectable"),!0===this.loading&&t.push("q-btn-inner--hidden"),t}}},jt={props:{color:String,size:{type:[Number,String],default:"1em"}},computed:{classes:function(){if(this.color)return"text-"+this.color}}},Wt={name:"QSpinnerMat",mixins:[jt],render:function(t){return t("svg",{staticClass:"q-spinner q-spinner-mat",class:this.classes,attrs:{width:this.size,height:this.size,viewBox:"25 25 50 50"}},[t("circle",{staticClass:"path",attrs:{cx:"50",cy:"50",r:"20",fill:"none",stroke:"currentColor","stroke-width":"3","stroke-miterlimit":"10"}})])}},Kt={mixins:[Wt],name:"QSpinner"},Ut={name:"QBtn",mixins:[Vt],props:{percentage:Number,darkPercentage:Boolean,waitForRipple:Boolean,repeatTimeout:[Number,Function]},computed:{hasPercentage:function(){return void 0!==this.percentage},width:function(){return Tt(this.percentage,0,100)+"%"},events:function(){var t=this;return this.isDisabled||!this.repeatTimeout?{click:this.click,keydown:this.__onKeyDown,keyup:this.__onKeyUp}:{mousedown:this.__startRepeat,touchstart:this.__startRepeat,keydown:function(e){t.__onKeyDown(e,!0)},mouseup:this.__endRepeat,touchend:this.__endRepeat,keyup:function(e){t.__onKeyUp(e,!0)},mouseleave:this.__abortRepeat,touchmove:this.__abortRepeat,blur:this.__abortRepeat}}},data:function(){return{repeating:!1,active:!1}},methods:{click:function(t){var e=this;if(this.__cleanup(),void 0===this.to&&!this.isDisabled||(t&&H(t),!this.isDisabled))if(t&&-1!==t.detail&&"submit"===this.type){H(t);var i=new MouseEvent("click",Object.assign({},t,{detail:-1}));this.timer=setTimeout(function(){return e.$el&&e.$el.dispatchEvent(i)},200)}else{var s=function(){e.$router[e.replace?"replace":"push"](e.to)},n=function(){e.isDisabled||(e.$emit("click",t,s),void 0!==e.to&&!1!==t.navigate&&s())};this.waitForRipple&&this.hasRipple?this.timer=setTimeout(n,300):n()}},__cleanup:function(){clearTimeout(this.timer)},__onKeyDown:function(t,e){this.isDisabled||13!==t.keyCode||(this.active=!0,e?this.__startRepeat(t):H(t))},__onKeyUp:function(t,e){this.active&&(this.active=!1,this.isDisabled||13!==t.keyCode||this[e?"__endRepeat":"click"](t))},__startRepeat:function(t){var e=this;if(!this.repeating){var i=function(){e.timer=setTimeout(s,"function"==typeof e.repeatTimeout?e.repeatTimeout(e.repeatCount):e.repeatTimeout)},s=function(){e.isDisabled||(e.repeatCount+=1,t.repeatCount=e.repeatCount,e.$emit("click",t),i())};this.repeatCount=0,this.repeating=!0,i()}},__abortRepeat:function(){this.repeating=!1,this.__cleanup()},__endRepeat:function(t){this.repeating&&(this.repeating=!1,this.repeatCount?this.repeatCount=0:(t.detail||t.keyCode)&&(t.repeatCount=0,this.$emit("click",t)),this.__cleanup())}},beforeDestroy:function(){this.__cleanup()},render:function(t){var e=[].concat(this.$slots.default);return void 0!==this.label&&!0===this.isRectangle&&e.unshift(t("div",[this.label])),void 0!==this.icon&&e.unshift(t(ut,{class:{"on-left":void 0!==this.label&&!0===this.isRectangle},props:{name:this.icon}})),void 0!==this.iconRight&&!1===this.isRound&&e.push(t(ut,{staticClass:"on-right",props:{name:this.iconRight}})),t(this.isLink?"a":"button",{staticClass:"q-btn inline relative-position q-btn-item non-selectable",class:this.classes,style:this.style,attrs:this.attrs,on:this.events,directives:this.hasRipple?[{name:"ripple",value:!0,modifiers:{center:this.isRound}}]:null},[this.$q.platform.is.desktop?t("div",{staticClass:"q-focus-helper"}):null,this.loading&&this.hasPercentage?t("div",{staticClass:"q-btn-progress absolute-full",class:{"q-btn-dark-progress":this.darkPercentage},style:{width:this.width}}):null,t("div",{staticClass:"q-btn-inner row col items-center q-popup--skip",class:this.innerClasses},e),null!==this.loading?t("transition",{props:{name:"q-transition--fade"}},!0===this.loading?[t("div",{key:"loading",staticClass:"absolute-full flex flex-center"},void 0!==this.$slots.loading?this.$slots.loading:[t(Kt)])]:void 0):null])}},Yt={name:"QAlert",props:{type:{type:String,validator:function(t){return["positive","negative","warning","info"].includes(t)}},color:{type:String,default:"negative"},textColor:String,message:String,detail:String,icon:String,avatar:String,actions:Array},computed:{computedIcon:function(){return this.icon?this.icon:this.$q.icon.type[this.type||this.color]},classes:function(){return"bg-"+(this.type||this.color)+" text-"+(this.textColor||"white")}},render:function(t){var e=this,i=[],s=this.$slots.detail||this.detail;return this.avatar?i.push(t("img",{staticClass:"avatar",attrs:{src:this.avatar}})):(this.icon||this.type)&&i.push(t(ut,{props:{name:this.computedIcon}})),t("div",[t("div",{staticClass:"q-alert row no-wrap shadow-2",class:this.classes},[i.length?t("div",{staticClass:"q-alert-side col-auto row flex-center"},i):null,t("div",{staticClass:"q-alert-content col self-center"},[t("div",this.$slots.default||this.message),s?t("div",{staticClass:"q-alert-detail"},[s]):null]),this.actions&&this.actions.length?t("div",{staticClass:"q-alert-actions col-auto gutter-xs column flex-center"},this.actions.map(function(i){return t("div",{staticClass:"full-width"},[t(Ut,{staticClass:"full-width",props:{flat:!0,dense:!0,align:"left",icon:i.icon,label:!0===i.closeBtn?"string"==typeof i.label?i.label:e.$q.i18n.label.close:i.label},on:{click:function(){return i.handler()}}})])})):null])])}};function Jt(t,e){var i=e.field,s=e.list,n=t.toLowerCase();return s.filter(function(t){return(""+t[i]).toLowerCase().startsWith(n)})}function Gt(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}function Xt(){return Gt()+Gt()+"-"+Gt()+"-"+Gt()+"-"+Gt()+"-"+Gt()+Gt()+Gt()}function Zt(t){var e,i=t.el,s=t.animate,n=t.anchorEl,o=t.anchorOrigin,r=t.selfOrigin,a=t.maxHeight,l=t.event,c=t.anchorClick,h=t.touchPosition,u=t.offset,d=t.touchOffset,p=t.cover;if(i.style.maxHeight=a||"65vh",i.style.maxWidth="100vw",!l||c&&!h)if(d){var f=n.getBoundingClientRect(),m=f.top,v=f.left,g=m+d.top,b=v+d.left;e={top:g,left:b,width:1,height:1,right:b+1,center:g,middle:b,bottom:g+1}}else e=function(t,e){var i=t.getBoundingClientRect(),s=i.top,n=i.left,o=i.right,r=i.bottom,a={top:s,left:n,width:t.offsetWidth,height:t.offsetHeight};return e&&(a.top-=e[1],a.left-=e[0],r&&(r+=e[1]),o&&(o+=e[0]),a.width+=e[0],a.height+=e[1]),a.right=o||a.left+a.width,a.bottom=r||a.top+a.height,a.middle=a.left+(a.right-a.left)/2,a.center=a.top+(a.bottom-a.top)/2,a}(n,u);else{var _=N(l),y=_.top,w=_.left;e={top:y,left:w,width:1,height:1,right:w+1,center:y,middle:w,bottom:y+1}}var C=function(t){return{top:0,center:t.offsetHeight/2,bottom:t.offsetHeight,left:0,middle:t.offsetWidth/2,right:t.offsetWidth}}(i),k={top:e[o.vertical]-C[r.vertical],left:e[o.horizontal]-C[r.horizontal]};if(k=function(t,e,i,s,n,o){var r=et(),a=window.innerHeight,l=window.innerWidth;if(a-=r,l-=r,n.top<0||n.top+e.bottom>a)if("center"===i.vertical)n.top=t[i.vertical]>a/2?a-e.bottom:0,n.maxHeight=Math.min(e.bottom,a);else if(t[i.vertical]>a/2){var c=Math.min(a,"center"===s.vertical?t.center:s.vertical===i.vertical?t.bottom:t.top);n.maxHeight=Math.min(e.bottom,c),n.top=Math.max(0,c-n.maxHeight)}else n.top="center"===s.vertical?t.center:s.vertical===i.vertical?t.top:t.bottom,n.maxHeight=Math.min(e.bottom,a-n.top);if(n.left<0||n.left+e.right>l)if(n.maxWidth=Math.min(e.right,l),"middle"===i.horizontal)n.left=t[i.horizontal]>l/2?l-e.right:0;else if(o)n.left=n.left<0?0:l-e.right;else if(t[i.horizontal]>l/2){var h=Math.min(l,"middle"===s.horizontal?t.center:s.horizontal===i.horizontal?t.right:t.left);n.maxWidth=Math.min(e.right,h),n.left=Math.max(0,h-n.maxWidth)}else n.left="middle"===s.horizontal?t.center:s.horizontal===i.horizontal?t.left:t.right,n.maxWidth=Math.min(e.right,l-n.left);return n}(e,C,r,o,k,p),i.style.top=Math.max(0,k.top)+"px",i.style.left=Math.max(0,k.left)+"px",k.maxHeight&&(i.style.maxHeight=k.maxHeight+"px"),k.maxWidth&&(i.style.maxWidth=k.maxWidth+"px"),s){var x=k.topwindow.innerHeight||r<0||o>window.innerWidth))return this.hide();if(this.fit||this.cover){var a=window.getComputedStyle(this.anchorEl);this.$el.style.minWidth=a.getPropertyValue("width"),this.cover&&(this.$el.style.minHeight=a.getPropertyValue("height"))}if(e)if(this.touchPosition){var l=N(t),c=l.top,h=l.left;this.touchOffset={left:h-o,top:c-s}}else delete this.touchOffset;Zt({event:t,animate:e,el:this.$el,offset:this.offset,anchorEl:this.anchorEl,anchorOrigin:this.anchorOrigin,selfOrigin:this.selfOrigin,maxHeight:this.maxHeight,anchorClick:this.anchorClick,touchPosition:this.touchPosition,touchOffset:this.touchOffset,cover:this.cover})}}};function re(t,e,i,s,n,o){var r={props:{right:o.right}};if(s&&n)t.push(e(i,r,s));else{var a=!1;for(var l in o)if(o.hasOwnProperty(l)&&void 0!==(a=o[l])&&!0!==a){t.push(e(i,{props:o}));break}s&&t.push(e(i,r,s))}}var ae={name:"QItemWrapper",props:{cfg:{type:Object,default:function(){return{}}},slotReplace:Boolean},render:function(t){var e=this.cfg,i=this.slotReplace,s=[];return re(s,t,yt,this.$slots.left,i,{icon:e.icon,color:e.leftColor,avatar:e.avatar,letter:e.letter,image:e.image,inverted:e.leftInverted,textColor:e.leftTextColor}),re(s,t,Ct,this.$slots.main,i,{label:e.label,sublabel:e.sublabel,labelLines:e.labelLines,sublabelLines:e.sublabelLines,inset:e.inset}),re(s,t,yt,this.$slots.right,i,{right:!0,icon:e.rightIcon,color:e.rightColor,avatar:e.rightAvatar,letter:e.rightLetter,image:e.rightImage,stamp:e.stamp,inverted:e.rightInverted,textColor:e.rightTextColor}),s.push(this.$slots.default),t(_t,{attrs:this.$attrs,on:this.$listeners,props:e},s)}},le={data:function(){return{keyboardIndex:0,keyboardMoveDirection:!1,keyboardMoveTimer:!1}},watch:{keyboardIndex:function(t){var e=this;this.$refs.popover&&this.$refs.popover.showing&&this.keyboardMoveDirection&&t>-1&&this.$nextTick(function(){if(e.$refs.popover){var t=e.$refs.popover.$el.querySelector(".q-select-highlight");if(t&&t.scrollIntoView){if(t.scrollIntoViewIfNeeded)return t.scrollIntoViewIfNeeded(!1);t.scrollIntoView(e.keyboardMoveDirection<0)}}})}},methods:{__keyboardShow:function(t){void 0===t&&(t=0),this.keyboardIndex!==t&&(this.keyboardIndex=t)},__keyboardSetCurrentSelection:function(t){this.keyboardIndex>=0&&this.keyboardIndex<=this.keyboardMaxIndex&&this.__keyboardSetSelection(this.keyboardIndex,t)},__keyboardHandleKey:function(t){var e=E(t);switch(e){case 38:this.__keyboardMoveCursor(-1,t);break;case 40:this.__keyboardMoveCursor(1,t);break;case 13:if(this.$refs.popover.showing)return H(t),void this.__keyboardSetCurrentSelection();break;case 9:this.hide()}this.__keyboardCustomKeyHandle(e,t)},__keyboardMoveCursor:function(t,e){var i=this;if(H(e),this.$refs.popover.showing){clearTimeout(this.keyboardMoveTimer);var s=this.keyboardIndex,n=this.__keyboardIsSelectableIndex||function(){return!0};do{s=Mt(s+t,-1,i.keyboardMaxIndex)}while(s!==this.keyboardIndex&&!n(s));return this.keyboardMoveDirection=s>this.keyboardIndex?1:-1,this.keyboardMoveTimer=setTimeout(function(){i.keyboardMoveDirection=!1},500),void(this.keyboardIndex=s)}this.__keyboardShowTrigger()}}},ce={name:"QAutocomplete",mixins:[le],props:{minCharacters:{type:Number,default:1},maxResults:{type:Number,default:6},maxHeight:String,debounce:{type:Number,default:500},filter:{type:Function,default:Jt},staticData:Object,valueField:[String,Function],separator:Boolean},inject:{__input:{default:function(){console.error("QAutocomplete needs to be child of QInput, QChipsInput or QSearch")}},__inputDebounce:{default:null}},data:function(){return{searchId:"",results:[],width:0,enterKey:!1,timer:null}},watch:{"__input.val":function(){this.enterKey?this.enterKey=!1:this.__delayTrigger()}},computed:{computedResults:function(){return this.maxResults&&this.results.length>0?this.results.slice(0,this.maxResults):[]},computedValueField:function(){return this.valueField||this.staticData&&this.staticData.field||"value"},keyboardMaxIndex:function(){return this.computedResults.length-1},computedWidth:function(){return{minWidth:this.width}},searching:function(){return this.searchId.length>0}},methods:{isWorking:function(){return this.$refs&&this.$refs.popover},trigger:function(t){var e=this;if(this.__input&&this.__input.isEditable()&&this.__input.hasFocus()&&this.isWorking()){var i=[null,void 0].includes(this.__input.val)?"":String(this.__input.val),s=i.length,n=Xt(),o=this.$refs.popover;if(this.searchId=n,s0)return this.searchId="",this.__clearSearch(),void this.hide();if(this.width=j(this.inputEl)+"px",this.staticData)return this.searchId="",this.results=this.filter(i,this.staticData),this.results.length?void this.__showResults():void o.hide();this.__input.loading=!0,this.$emit("search",i,function(t){if(e.isWorking()&&e.searchId===n){if(e.__clearSearch(),Array.isArray(t)&&t.length>0)return e.results=t,void e.__showResults();e.hide()}})}},hide:function(){return this.results=[],this.isWorking()?this.$refs.popover.hide():Promise.resolve()},blurHide:function(){var t=this;this.__clearSearch(),this.timer=setTimeout(function(){return t.hide()},300)},__clearSearch:function(){clearTimeout(this.timer),this.__input.loading=!1,this.searchId=""},__keyboardCustomKeyHandle:function(t){switch(t){case 27:this.__clearSearch();break;case 38:case 40:case 9:this.__keyboardSetCurrentSelection(!0)}},__keyboardShowTrigger:function(){this.trigger()},__focusShowTrigger:function(){var t=this;clearTimeout(this.timer),this.timer=setTimeout(function(){return t.trigger(!0)},100)},__keyboardIsSelectableIndex:function(t){return t>-1&&t=a?n<0?"left":"right":o<0?"up":"down",isFirst:e.event.isFirst,isFinal:i,duration:(new Date).getTime()-e.event.time,distance:{x:r,y:a},offset:{x:n,y:o},delta:{x:s.left-e.event.lastX,y:s.top-e.event.lastY}}}var we={name:"touch-pan",bind:function(t,e){var i=!0!==e.modifiers.noMouse,s=e.modifiers.stop,n=e.modifiers.prevent,o=n||e.modifiers.mightPrevent?null:L.passive,r={handler:e.value,direction:_e(e.modifiers),mouseStart:function(t){B(t)&&(document.addEventListener("mousemove",r.move,o),document.addEventListener("mouseup",r.mouseEnd,o),r.start(t,!0))},mouseEnd:function(t){document.removeEventListener("mousemove",r.move,o),document.removeEventListener("mouseup",r.mouseEnd,o),r.end(t)},start:function(e,i){var o=N(e);r.event={x:o.left,y:o.top,time:(new Date).getTime(),detected:!0===i||r.direction.horizontal&&r.direction.vertical,abort:!1,isFirst:!0,lastX:o.left,lastY:o.top},r.event.detected&&(t.classList.add("q-touch"),!0!==i&&(s&&e.stopPropagation(),n&&e.preventDefault(),r.move(e)))},move:function(t){if(!0!==r.event.abort)if(!0!==r.event.detected){var e=N(t),i=Math.abs(e.left-r.event.x),o=Math.abs(e.top-r.event.y);i!==o&&(r.event.detected=!0,r.event.abort=r.direction.vertical?i>o:i0:!t.direction.horizontal&&t.direction.vertical?Math.abs(e.delta.y)>0:void 0)})(r,a)&&(r.handler(a),r.event.lastX=a.position.left,r.event.lastY=a.position.top,r.event.isFirst=!1)}},end:function(e){t.classList.remove("q-touch"),r.event.abort||!r.event.detected||r.event.isFirst||(s&&e.stopPropagation(),n&&e.preventDefault(),r.handler(ye(e,r,!0)))}};t.__qtouchpan&&(t.__qtouchpan_old=t.__qtouchpan),t.__qtouchpan=r,i&&t.addEventListener("mousedown",r.mouseStart,o),t.addEventListener("touchstart",r.start,o),t.addEventListener("touchmove",r.move,o),t.addEventListener("touchend",r.end,o)},update:function(t,e){var i=e.oldValue,s=e.value,n=e.modifiers,o=t.__qtouchpan;i!==s&&(o.handler=s),n.horizontal===o.direction.horizontal&&n.vertical===o.direction.vertical||(o.direction=_e(n))},unbind:function(t,e){var i=t.__qtouchpan_old||t.__qtouchpan;if(void 0!==i){var s=e.modifiers.prevent?null:L.passive;t.removeEventListener("mousedown",i.mouseStart,s),t.removeEventListener("touchstart",i.start,s),t.removeEventListener("touchmove",i.move,s),t.removeEventListener("touchend",i.end,s),delete t[t.__qtouchpan_old?"__qtouchpan_old":"__qtouchpan"]}}};function Ce(t){return"[object Date]"===Object.prototype.toString.call(t)}function ke(t){return"number"==typeof t&&isFinite(t)}var xe=function(t){return t},Se=function(t){return t<.5?2*t*t:(4-2*t)*t-1},qe=function(t){return Math.pow(t,3)},$e=function(t){return 1+Math.pow(t-1,3)},Te=function(t){return t<.4031?12*Math.pow(t,4):1/1290*(11*Math.sqrt(-4e4*t*t+8e4*t-23359)-129)},Me=$e,Pe={linear:xe,easeInQuad:function(t){return t*t},easeOutQuad:function(t){return t*(2-t)},easeInOutQuad:Se,easeInCubic:qe,easeOutCubic:$e,easeInOutCubic:function(t){return t<.5?4*Math.pow(t,3):1+(t-1)*Math.pow(2*t-2,2)},easeInQuart:function(t){return Math.pow(t,4)},easeOutQuart:function(t){return 1-Math.pow(t-1,4)},easeInOutQuart:function(t){return t<.5?8*Math.pow(t,4):1-8*Math.pow(t-1,4)},easeInQuint:function(t){return Math.pow(t,5)},easeOutQuint:function(t){return 1+Math.pow(t-1,5)},easeInOutQuint:function(t){return t<.5?16*Math.pow(t,5):1+16*Math.pow(t-1,5)},easeInCirc:function(t){return-1*Math.sqrt(1-Math.pow(t,2))+1},easeOutCirc:function(t){return Math.sqrt(-1*(t-2)*t)},easeInOutCirc:function(t){return t<.5?.5*(1-Math.sqrt(1-4*t*t)):.5*(1+Math.sqrt(8*t-3-4*t*t))},overshoot:function(t){return-1*Math.pow(Math.E,-6.3*t)*Math.cos(5*t)+1},standard:Te,decelerate:Me,accelerate:qe,sharp:Se},Le={};function Be(t){var e=t.name,i=t.duration;void 0===i&&(i=300);var s=t.to,n=t.from,o=t.apply,r=t.done,a=t.cancel,l=t.easing,c=e,h=new Date;c?Ee(c):c=Xt();var u=l||xe,d=function(){var t=(new Date-h)/i;t>1&&(t=1);var e=n+(s-n)*u(t);if(o(e,t),1===t)return delete Le[c],void(r&&r(e));p.last={pos:e,progress:t},p.timer=requestAnimationFrame(d)},p=Le[c]={cancel:a,timer:requestAnimationFrame(d)};return c}function Ee(t){if(t){var e=Le[t];e&&e.timer&&(cancelAnimationFrame(e.timer),e.cancel&&e.cancel(e.last),delete Le[t])}}var Ne={start:Be,stop:Ee},Oe={data:function(){return{inFullscreen:!1}},watch:{$route:function(){this.exitFullscreen()},inFullscreen:function(t){this.$emit("fullscreen",t)}},methods:{toggleFullscreen:function(){this.inFullscreen?this.exitFullscreen():this.setFullscreen()},setFullscreen:function(){this.inFullscreen||(this.inFullscreen=!0,this.container=this.$el.parentNode,this.container.replaceChild(this.fullscreenFillerNode,this.$el),document.body.appendChild(this.$el),document.body.classList.add("q-body-fullscreen-mixin"),this.__historyFullscreen={handler:this.exitFullscreen},c.add(this.__historyFullscreen))},exitFullscreen:function(){this.inFullscreen&&(this.__historyFullscreen&&(c.remove(this.__historyFullscreen),this.__historyFullscreen=null),this.container.replaceChild(this.$el,this.fullscreenFillerNode),document.body.classList.remove("q-body-fullscreen-mixin"),this.inFullscreen=!1)}},beforeMount:function(){this.fullscreenFillerNode=document.createElement("span")},beforeDestroy:function(){this.exitFullscreen()}},ze={name:"QCarousel",mixins:[Oe],directives:{TouchPan:we},props:{value:Number,color:{type:String,default:"primary"},height:String,arrows:Boolean,infinite:Boolean,animation:{type:[Number,Boolean],default:!0},easing:Function,swipeEasing:Function,noSwipe:Boolean,autoplay:[Number,Boolean],handleArrowKeys:Boolean,quickNav:Boolean,quickNavPosition:{type:String,default:"bottom",validator:function(t){return["top","bottom"].includes(t)}},quickNavIcon:String,thumbnails:{type:Array,default:function(){return[]}},thumbnailsIcon:String,thumbnailsHorizontal:Boolean},provide:function(){return{carousel:this}},data:function(){return{position:0,slide:0,positionSlide:0,slidesNumber:0,animUid:!1,viewThumbnails:!1}},watch:{value:function(t){t!==this.slide&&this.goToSlide(t)},autoplay:function(){this.__planAutoPlay()},infinite:function(){this.__planAutoPlay()},handleArrowKeys:function(t){this.__setArrowKeys(t)}},computed:{rtlDir:function(){return this.$q.i18n.rtl?-1:1},arrowIcon:function(){var t=[this.$q.icon.carousel.left,this.$q.icon.carousel.right];return this.$q.i18n.rtl?t.reverse():t},trackPosition:function(){return{transform:"translateX("+this.rtlDir*this.position+"%)"}},infiniteLeft:function(){return this.infinite&&this.slidesNumber>1&&this.positionSlide<0},infiniteRight:function(){return this.infinite&&this.slidesNumber>1&&this.positionSlide>=this.slidesNumber},canGoToPrevious:function(){return this.infinite?this.slidesNumber>1:this.slide>0},canGoToNext:function(){return this.infinite?this.slidesNumber>1:this.slidei.slide?"next":"previous",i.infinite?(i.slide=Mt(t,0,i.slidesNumber-1),n=Mt(t,-1,i.slidesNumber),e||(i.positionSlide=n)):(i.slide=Tt(t,0,i.slidesNumber-1),i.positionSlide=i.slide,n=i.slide)),i.$emit("slide-trigger",r,i.slide,o),n*=-100,!i.animation)return i.position=n,void a();i.animationInProgress=!0,i.animUid=Be({from:i.position,to:n,duration:ke(i.animation)?i.animation:300,easing:e?i.swipeEasing||Me:i.easing||Te,apply:function(t){i.position=t},done:function(){i.infinite&&(i.position=100*-i.slide,i.positionSlide=i.slide),i.animationInProgress=!1,a()}})})},stopAnimation:function(){Ee(this.animUid),this.animationInProgress=!1},__pan:function(t){var e=this;if(!this.infinite||!this.animationInProgress){t.isFirst&&(this.initialPosition=this.position,this.__cleanup());var i=this.rtlDir*("left"===t.direction?-1:1)*t.distance.x;(this.infinite&&this.slidesNumber<2||!this.infinite&&(0===this.slide&&i>0||this.slide===this.slidesNumber-1&&i<0))&&(i=0);var s=this.initialPosition+i/this.$refs.track.offsetWidth*100,n=this.slide+this.rtlDir*("left"===t.direction?1:-1);this.position!==s&&(this.position=s),this.positionSlide!==n&&(this.positionSlide=n),t.isFinal&&this.goToSlide(t.distance.x<40?this.slide:this.positionSlide,!0).then(function(){delete e.initialPosition})}},__planAutoPlay:function(){var t=this;this.$nextTick(function(){t.autoplay&&(clearTimeout(t.timer),t.timer=setTimeout(t.next,ke(t.autoplay)?t.autoplay:5e3))})},__cleanup:function(){this.stopAnimation(),clearTimeout(this.timer)},__handleArrowKey:function(t){var e=E(t);37===e?this.previous():39===e&&this.next()},__setArrowKeys:function(t){document[(!0===t?"add":"remove")+"EventListener"]("keydown",this.__handleArrowKey)},__registerSlide:function(){this.slidesNumber++},__unregisterSlide:function(){this.slidesNumber--},__getScopedSlots:function(t){var e=this;if(0!==this.slidesNumber){var i=this.$scopedSlots;return i?Object.keys(i).filter(function(t){return t.startsWith("control-")}).map(function(t){return i[t](e.slotScope)}):void 0}},__getQuickNav:function(t){var e=this;if(0!==this.slidesNumber&&this.quickNav){var i=this.$scopedSlots["quick-nav"],s=[];if(i)for(var n=function(t){s.push(i({slide:t,before:te.slide,color:e.color,goToSlide:function(i){e.goToSlide(i||t)}}))},o=0;o=e&&t.$emit("input",e-1)},{immediate:!0})},beforeDestroy:function(){this.__cleanup(),this.__stopSlideNumberNotifier(),this.handleArrowKeys&&this.__setArrowKeys(!1)}},De={name:"QCarouselSlide",inject:{carousel:{default:function(){console.error("QCarouselSlide needs to be child of QCarousel")}}},props:{imgSrc:String},computed:{computedStyle:function(){var t={};return this.imgSrc&&(t.backgroundImage="url("+this.imgSrc+")",t.backgroundSize="cover",t.backgroundPosition="50%"),!this.carousel.inFullscreen&&this.carousel.height&&(t.maxHeight=this.carousel.height),t}},render:function(t){return t("div",{staticClass:"q-carousel-slide relative-position scroll",style:this.computedStyle},this.$slots.default)},created:function(){this.carousel.__registerSlide()},beforeDestroy:function(){this.carousel.__unregisterSlide()}},Re={name:"QCarouselControl",props:{position:{type:String,default:"bottom-right"},offset:{type:Array,default:function(){return[18,18]}}},computed:{computedClass:function(){return"absolute-"+this.position},computedStyle:function(){return{margin:this.offset[1]+"px "+this.offset[0]+"px"}}},render:function(t){return t("div",{staticClass:"q-carousel-control absolute",style:this.computedStyle,class:this.computedClass},this.$slots.default)}},Ie={name:"QChatMessage",props:{sent:Boolean,label:String,bgColor:String,textColor:String,name:String,avatar:String,text:Array,stamp:String,size:String},computed:{textClass:function(){if(this.textColor)return"text-"+this.textColor},messageClass:function(){if(this.bgColor)return"text-"+this.bgColor},sizeClass:function(){if(this.size)return"col-"+this.size},classes:function(){return{"q-message-sent":this.sent,"q-message-received":!this.sent}}},methods:{__getText:function(t){var e=this;return this.text.map(function(i,s){return t("div",{staticClass:"q-message-text",class:e.messageClass},[t("span",{staticClass:"q-message-text-content",class:e.textClass},[t("div",{domProps:{innerHTML:i}}),e.stamp?t("div",{staticClass:"q-message-stamp",domProps:{innerHTML:e.stamp}}):null])])})},__getMessage:function(t){return t("div",{staticClass:"q-message-text",class:this.messageClass},[t("span",{staticClass:"q-message-text-content",class:this.textClass},[this.$slots.default,this.stamp?t("div",{staticClass:"q-message-stamp",domProps:{innerHTML:this.stamp}}):null])])}},render:function(t){return t("div",{staticClass:"q-message",class:this.classes},[this.label?t("div",{staticClass:"q-message-label text-center",domProps:{innerHTML:this.label}}):null,t("div",{staticClass:"q-message-container row items-end no-wrap"},[this.$slots.avatar||(this.avatar?t("img",{staticClass:"q-message-avatar col-auto",attrs:{src:this.avatar}}):null),t("div",{class:this.sizeClass},[this.name?t("div",{staticClass:"q-message-name",domProps:{innerHTML:this.name}}):null,this.text?this.__getText(t):null,this.$slots.default?this.__getMessage(t):null])])])}};var He={name:"touch-swipe",bind:function(t,e){var i,s,n=!e.modifiers.noMouse,o={handler:e.value,threshold:parseInt(e.arg,10)||300,direction:(i=e.modifiers,s={},["left","right","up","down","horizontal","vertical"].forEach(function(t){i[t]&&(s[t]=!0)}),0===Object.keys(s).length?{left:!0,right:!0,up:!0,down:!0,horizontal:!0,vertical:!0}:(s.horizontal&&(s.left=s.right=!0),s.vertical&&(s.up=s.down=!0),s.left&&s.right&&(s.horizontal=!0),s.up&&s.down&&(s.vertical=!0),s)),mouseStart:function(t){B(t)&&(document.addEventListener("mousemove",o.move),document.addEventListener("mouseup",o.mouseEnd),o.start(t))},mouseEnd:function(t){document.removeEventListener("mousemove",o.move),document.removeEventListener("mouseup",o.mouseEnd),o.end(t)},start:function(e){var i=N(e);o.event={x:i.left,y:i.top,time:(new Date).getTime(),detected:!1,abort:!1},t.classList.add("q-touch")},move:function(t){if(!o.event.abort)if((new Date).getTime()-o.event.time>o.threshold)o.event.abort=!0;else{if(o.event.detected)return t.stopPropagation(),void t.preventDefault();var e=N(t),i=e.left-o.event.x,s=Math.abs(i),n=e.top-o.event.y,r=Math.abs(n);s!==r&&(o.event.detected=!0,o.event.abort=!(o.direction.vertical&&sr||o.direction.up&&s0||o.direction.left&&s>r&&i<0||o.direction.right&&s>r&&i>0),o.move(t))}},end:function(e){if(t.classList.remove("q-touch"),!o.event.abort&&o.event.detected){var i=(new Date).getTime()-o.event.time;if(!(i>o.threshold)){e.stopPropagation(),e.preventDefault();var s,n=N(e),r=n.left-o.event.x,a=Math.abs(r),l=n.top-o.event.y,c=Math.abs(l);if(a>=c){if(a<50)return;s=r<0?"left":"right"}else{if(c<50)return;s=l<0?"up":"down"}o.direction[s]&&o.handler({evt:e,direction:s,duration:i,distance:{x:a,y:c}})}}}};t.__qtouchswipe=o,n&&t.addEventListener("mousedown",o.mouseStart),t.addEventListener("touchstart",o.start),t.addEventListener("touchmove",o.move),t.addEventListener("touchend",o.end)},update:function(t,e){e.oldValue!==e.value&&(t.__qtouchswipe.handler=e.value)},unbind:function(t,e){var i=t.__qtouchswipe;i&&(t.removeEventListener("mousedown",i.mouseStart),t.removeEventListener("touchstart",i.start),t.removeEventListener("touchmove",i.move),t.removeEventListener("touchend",i.end),delete t.__qtouchswipe)}},Fe={directives:{TouchSwipe:He},props:{val:{},trueValue:{default:!0},falseValue:{default:!1}},computed:{isTrue:function(){return this.modelIsArray?this.index>-1:this.value===this.trueValue},isFalse:function(){return this.modelIsArray?-1===this.index:this.value===this.falseValue},index:function(){if(this.modelIsArray)return this.value.indexOf(this.val)},modelIsArray:function(){return Array.isArray(this.value)}},methods:{toggle:function(t,e){var i;(void 0===e&&(e=!0),this.disable||this.readonly)||(t&&H(t),e&&this.$el.blur(),this.modelIsArray?this.isTrue?(i=this.value.slice()).splice(this.index,1):i=this.value.concat(this.val):i=this.isTrue?this.toggleIndeterminate?this.indeterminateValue:this.falseValue:this.isFalse?this.trueValue:this.falseValue,this.__update(i))}}},Ae={props:{value:{required:!0},label:String,leftLabel:Boolean,color:{type:String,default:"primary"},keepColor:Boolean,dark:Boolean,disable:Boolean,readonly:Boolean,noFocus:Boolean,checkedIcon:String,uncheckedIcon:String},computed:{classes:function(){return[this.__kebabTag,{disabled:this.disable,reverse:this.leftLabel,"q-focusable":this.focusable}]},innerClasses:function(){return this.isTrue||this.isIndeterminate?["active","text-"+this.color]:"text-"+(this.keepColor?this.color:this.dark?"light":"faded")},focusable:function(){return!this.noFocus&&!this.disable&&!this.readonly},tabindex:function(){return this.focusable?0:-1}},methods:{__update:function(t){var e=this,i=this.$refs.ripple;i&&(i.classList.add("active"),setTimeout(function(){i.classList.remove("active")},10)),this.$emit("input",t),this.$nextTick(function(){JSON.stringify(t)!==JSON.stringify(e.value)&&e.$emit("change",t)})},__handleKeyDown:function(t){[13,32].includes(E(t))&&this.toggle(t,!1)}},render:function(t){var e=this;return t("div",{staticClass:"q-option cursor-pointer no-outline row inline no-wrap items-center",class:this.classes,attrs:{tabindex:this.tabindex},on:{click:this.toggle,focus:function(){e.$emit("focus")},blur:function(){e.$emit("blur")},keydown:this.__handleKeyDown},directives:"q-toggle"!==this.__kebabTag||this.disable||this.readonly?null:[{name:"touch-swipe",modifiers:{horizontal:!0},value:this.__swipe}]},[t("div",{staticClass:"q-option-inner relative-position",class:this.innerClasses},[t("input",{attrs:{type:"checkbox"},on:{change:this.toggle}}),this.$q.platform.is.desktop?t("div",{staticClass:"q-focus-helper",class:"q-radio"===this.__kebabTag?"q-focus-helper-round":"q-focus-helper-rounded"}):null,this.__getContent(t)]),this.label?t("span",{staticClass:"q-option-label",domProps:{innerHTML:this.label}}):null,this.$slots.default])}},Qe={name:"QCheckbox",mixins:[Fe,Ae],props:{toggleIndeterminate:Boolean,indeterminateValue:{default:null},indeterminateIcon:String},computed:{isIndeterminate:function(){return void 0===this.value||this.value===this.indeterminateValue},checkedStyle:function(){return this.isTrue?{transition:"opacity 0ms cubic-bezier(0.23, 1, 0.32, 1) 0ms, transform 800ms cubic-bezier(0.23, 1, 0.32, 1) 0ms",opacity:1,transform:"scale(1)"}:{transition:"opacity 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms, transform 0ms cubic-bezier(0.23, 1, 0.32, 1) 450ms",opacity:0,transform:"scale(0)"}},indeterminateStyle:function(){return this.isIndeterminate?{transition:"opacity 0ms cubic-bezier(0.23, 1, 0.32, 1) 0ms, transform 800ms cubic-bezier(0.23, 1, 0.32, 1) 0ms",opacity:1,transform:"scale(1)"}:{transition:"opacity 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms, transform 0ms cubic-bezier(0.23, 1, 0.32, 1) 450ms",opacity:0,transform:"scale(0)"}},uncheckedStyle:function(){return this.isFalse?{opacity:1}:{transition:"opacity 650ms cubic-bezier(0.23, 1, 0.32, 1) 150ms",opacity:0}}},methods:{__getContent:function(t){return[t(ut,{staticClass:"q-checkbox-icon cursor-pointer",props:{name:this.uncheckedIcon||this.$q.icon.checkbox.unchecked.mat},style:this.uncheckedStyle}),t(ut,{staticClass:"q-checkbox-icon cursor-pointer absolute-full",props:{name:this.indeterminateIcon||this.$q.icon.checkbox.indeterminate.mat},style:this.indeterminateStyle}),t(ut,{staticClass:"q-checkbox-icon cursor-pointer absolute-full",props:{name:this.checkedIcon||this.$q.icon.checkbox.checked.mat},style:this.checkedStyle}),t("div",{ref:"ripple",staticClass:"q-radial-ripple"})]}},beforeCreate:function(){this.__kebabTag="q-checkbox"}},Ve={name:"QChip",props:{small:Boolean,dense:Boolean,tag:Boolean,square:Boolean,floating:Boolean,pointing:{type:String,validator:function(t){return["up","right","down","left"].includes(t)}},color:String,textColor:String,icon:String,iconRight:String,avatar:String,closable:Boolean,detail:Boolean},computed:{classes:function(){var t=this,e=[];return this.pointing&&e.push("q-chip-pointing-"+this.pointing),["tag","square","floating","pointing","small","dense"].forEach(function(i){t[i]&&e.push("q-chip-"+i)}),this.floating&&(!this.dense&&e.push("q-chip-dense"),!this.square&&e.push("q-chip-square")),this.color&&(e.push("bg-"+this.color),!this.textColor&&e.push("text-white")),this.textColor&&e.push("text-"+this.textColor),e}},methods:{__onClick:function(t){this.$emit("click",t)},__onMouseDown:function(t){this.$emit("focus",t)},__handleKeyDown:function(t){this.closable&&[8,13,32].includes(E(t))&&(H(t),this.$emit("hide"))}},render:function(t){var e=this;return t("div",{staticClass:"q-chip row no-wrap inline items-center",class:this.classes,on:{mousedown:this.__onMouseDown,touchstart:this.__onMouseDown,click:this.__onClick,keydown:this.__handleKeyDown}},[this.icon||this.avatar?t("div",{staticClass:"q-chip-side q-chip-left row flex-center",class:{"q-chip-detail":this.detail}},[this.icon?t(ut,{staticClass:"q-chip-icon",props:{name:this.icon}}):this.avatar?t("img",{attrs:{src:this.avatar}}):null]):null,t("div",{staticClass:"q-chip-main ellipsis q-popup--skip"},this.$slots.default),this.iconRight?t(ut,{props:{name:this.iconRight},class:this.closable?"on-right q-chip-icon":"q-chip-side q-chip-right"}):null,this.closable?t("div",{staticClass:"q-chip-side q-chip-close q-chip-right row flex-center"},[t(ut,{props:{name:this.$q.icon.chip.close},staticClass:"cursor-pointer",nativeOn:{click:function(t){t&&t.stopPropagation(),e.$emit("hide")}}})]):null])}},je={type:Array,validator:function(t){return t.every(function(t){return"icon"in t})}},We={mixins:[At],props:{prefix:String,suffix:String,stackLabel:String,floatLabel:String,placeholder:String,error:Boolean,warning:Boolean,disable:Boolean,readonly:Boolean,clearable:Boolean,color:{type:String,default:"primary"},align:{default:"left"},dark:Boolean,before:je,after:je,inverted:Boolean,invertedLight:Boolean,hideUnderline:Boolean,clearValue:{},noParentField:Boolean},computed:{inputPlaceholder:function(){if(!this.floatLabel&&!this.stackLabel||this.labelIsAbove)return this.placeholder},isInverted:function(){return this.inverted||this.invertedLight},isInvertedLight:function(){return this.isInverted&&(this.invertedLight&&!this.hasError||this.inverted&&this.hasWarning)},isStandard:function(){return!this.isInverted},isHideUnderline:function(){return this.isStandard&&this.hideUnderline},labelIsAbove:function(){return this.focused||this.length||this.additionalLength||this.stackLabel},hasContent:function(){return this.length>0||this.additionalLength>0||this.placeholder||0===this.placeholder},editable:function(){return!this.disable&&!this.readonly},computedClearValue:function(){return void 0===this.clearValue?null:this.clearValue},isClearable:function(){return this.editable&&this.clearable&&this.computedClearValue!==this.model},hasError:function(){return!!(!this.noParentField&&this.field&&this.field.error||this.error)},hasWarning:function(){return!(this.hasError||!(!this.noParentField&&this.field&&this.field.warning||this.warning))},fakeInputValue:function(){return this.actualValue||0===this.actualValue?this.actualValue:this.placeholder||0===this.placeholder?this.placeholder:""},fakeInputClasses:function(){var t=this.actualValue||0===this.actualValue;return[this.alignClass,{invisible:(this.stackLabel||this.floatLabel)&&!this.labelIsAbove&&!t,"q-input-target-placeholder":!t&&this.inputPlaceholder}]}},methods:{clear:function(t){if(this.editable){t&&H(t);var e=this.computedClearValue;this.__setModel&&this.__setModel(e,!0),this.$emit("clear",e)}}}},Ke={props:{autofocus:[Boolean,String],maxHeight:Number,loading:Boolean},data:function(){return{focused:!1,timer:null,isNumberError:!1,isNegZero:!1}},methods:{focus:function(){this.disable||this.$refs.input.focus()},blur:function(){this.$refs.input&&this.$refs.input.blur()},select:function(){this.$refs.input.select()},__onFocus:function(t){clearTimeout(this.timer),this.focused||(this.focused=!0,this.$refs.input&&this.$refs.input.focus(),this.$emit("focus",t))},__onInputBlur:function(t){var e=this;clearTimeout(this.timer),this.timer=setTimeout(function(){e.__onBlur(t)},200)},__onBlur:function(t,e){this.focused&&(this.focused=!1,this.$emit("blur",t)),this.__emit(e)},__emit:function(t){var e=this,i=this.isNumber&&this.isNumberError,s=i?this.isNegZero?-0:null:this.model;this.isNumber&&(this.model=this.value),i&&this.$emit("input",s);var n=function(){e.isNumber?(s=parseFloat(s),Number.isInteger(e.decimals)&&(s=parseFloat(s.toFixed(e.decimals))),String(1/s)!==String(1/e.value)&&e.$emit("change",s)):JSON.stringify(s)!==JSON.stringify(e.value)&&e.$emit("change",s)};t?n():this.$nextTick(n)},__onKeydown:function(t){13===t.keyCode&&("textarea"===this.type?t.stopPropagation():this.__emit()),this.$emit("keydown",t)},__onKeyup:function(t){this.$emit("keyup",t)},__onClick:function(t){this.focus(),this.$emit("click",t)},__onPaste:function(t){this.$emit("paste",t)}},mounted:function(){var t=this;this.$nextTick(function(){var e=t.$refs.input;t.autofocus&&e&&(e.focus(),"select"===t.autofocus&&e.select())})},beforeDestroy:function(){clearTimeout(this.timer),this.focused&&this.__onBlur(void 0,!0)}},Ue={inject:{field:{from:"__field",default:null}},props:{noParentField:Boolean},watch:{noParentField:function(t){this.field&&this.field[t?"__registerInput":"__unregisterInput"](this)}},beforeMount:function(){!this.noParentField&&this.field&&this.field.__registerInput(this)},beforeDestroy:function(){!this.noParentField&&this.field&&this.field.__unregisterInput(this)}},Ye={name:"QInputFrame",mixins:[We,Ue],props:{focused:Boolean,length:Number,focusable:Boolean,additionalLength:Boolean},computed:{hasStackLabel:function(){return"string"==typeof this.stackLabel&&this.stackLabel.length>0},hasLabel:function(){return this.hasStackLabel||"string"==typeof this.floatLabel&&this.floatLabel.length>0},label:function(){return this.hasStackLabel?this.stackLabel:this.floatLabel},addonClass:function(){return{"q-if-addon-visible":!this.hasLabel||this.labelIsAbove}},classes:function(){var t=[{"q-if-has-label":this.label,"q-if-focused":this.focused,"q-if-error":this.hasError,"q-if-warning":this.hasWarning,"q-if-disabled":this.disable,"q-if-readonly":this.readonly,"q-if-focusable":this.focusable&&!this.disable,"q-if-inverted":this.isInverted,"q-if-inverted-light":this.isInvertedLight,"q-if-light-color":this.lightColor,"q-if-dark":this.dark,"q-if-hide-underline":this.isHideUnderline,"q-if-standard":this.isStandard,"q-if-has-content":this.hasContent}],e=this.hasError?"negative":this.hasWarning?"warning":this.color;return this.isInverted?(t.push("bg-"+e),t.push("text-"+(this.isInvertedLight?"black":"white"))):e&&t.push("text-"+e),t}},methods:{__onClick:function(t){this.$emit("click",t)},__onMouseDown:function(t){var e=this;!this.disable&&this.$nextTick(function(){return e.$emit("focus",t)})},__additionalHidden:function(t,e,i,s){return void 0!==t.condition?!1===t.condition:void 0!==t.content&&!t.content==s>0||void 0!==t.error&&!t.error===e||void 0!==t.warning&&!t.warning===i},__baHandler:function(t,e){e.allowPropagation||t.stopPropagation(),e.handler&&e.handler(t)}},render:function(t){var e=this;return t("div",{staticClass:"q-if row no-wrap relative-position",class:this.classes,attrs:{tabindex:this.focusable&&!this.disable?0:-1},on:{click:this.__onClick}},[t("div",{staticClass:"q-if-baseline"},"|"),this.before&&this.before.map(function(i){return t(ut,{key:"b"+i.icon,staticClass:"q-if-control q-if-control-before",class:[i.class,{hidden:e.__additionalHidden(i,e.hasError,e.hasWarning,e.length)}],props:{name:i.icon},nativeOn:{mousedown:e.__onMouseDown,touchstart:e.__onMouseDown,click:function(t){e.__baHandler(t,i)}}})})||void 0,t("div",{staticClass:"q-if-inner col column q-popup--skip"},[t("div",{staticClass:"row no-wrap relative-position"},[this.prefix&&t("span",{staticClass:"q-if-addon q-if-addon-left",class:this.addonClass,domProps:{innerHTML:this.prefix}})||void 0,this.hasLabel&&t("div",{staticClass:"q-if-label",class:{"q-if-label-above":this.labelIsAbove}},[t("div",{staticClass:"q-if-label-inner ellipsis",domProps:{innerHTML:this.label}})])||void 0].concat(this.$slots.default).concat([this.suffix&&t("span",{staticClass:"q-if-addon q-if-addon-right",class:this.addonClass,domProps:{innerHTML:this.suffix}})||void 0])),this.hasLabel&&t("div",{staticClass:"q-if-label-spacer",domProps:{innerHTML:this.label}})||void 0]),this.after&&this.after.map(function(i){return t(ut,{key:"a"+i.icon,staticClass:"q-if-control",class:[i.class,{hidden:e.__additionalHidden(i,e.hasError,e.hasWarning,e.length)}],props:{name:i.icon},nativeOn:{mousedown:e.__onMouseDown,touchstart:e.__onMouseDown,click:function(t){e.__baHandler(t,i)}}})})||void 0].concat(this.$slots.after))}},Je={name:"QChipsInput",mixins:[We,Ke],props:{value:{type:Array,required:!0},chipsColor:String,chipsBgColor:String,readonly:Boolean,addIcon:String,upperCase:Boolean,lowerCase:Boolean},data:function(){var t=this;return{input:"",model:this.value.slice(),watcher:null,shadow:{val:this.input,set:this.add,setNav:function(e){t.input=e},loading:!1,selectionOpen:!1,watched:0,isEditable:function(){return t.editable},isDark:function(){return t.dark},hasFocus:function(){return document.activeElement===t.$refs.input},register:function(){t.shadow.watched+=1,t.__watcherRegister()},unregister:function(){t.shadow.watched=Math.max(0,t.shadow.watched-1),t.__watcherUnregister()},getEl:function(){return t.$refs.input}}}},watch:{value:function(t){this.model=t.slice()}},provide:function(){return{__input:this.shadow}},computed:{length:function(){return this.model?this.model.length:0},isLoading:function(){return this.loading||this.shadow.watched&&this.shadow.loading},computedAddIcon:function(){return this.addIcon||this.$q.icon.chipsInput.add},computedChipTextColor:function(){return this.chipsColor?this.chipsColor:this.isInvertedLight?this.invertedLight?this.color:"white":this.isInverted?this.invertedLight?"grey-10":this.color:this.dark?this.color:"white"},computedChipBgColor:function(){return this.chipsBgColor?this.chipsBgColor:this.isInvertedLight?this.invertedLight?"grey-10":this.color:this.isInverted?this.invertedLight?this.color:"white":this.dark?"white":this.color},inputClasses:function(){var t=[this.alignClass];return this.upperCase&&t.push("uppercase"),this.lowerCase&&t.push("lowercase"),t},isClearable:function(){return this.editable&&this.clearable&&0!==this.model.length}},methods:{add:function(t){if(void 0===t&&(t=this.input),clearTimeout(this.timer),this.focus(),!this.isLoading&&this.editable&&t){var e=this.lowerCase?t.toLowerCase():this.upperCase?t.toUpperCase():t;this.model.includes(e)?this.$emit("duplicate",e):(this.$emit("add",{index:this.model.length,val:e}),this.model.push(e),this.$emit("input",this.model),this.input="")}},remove:function(t){clearTimeout(this.timer),this.focus(),this.editable&&t>=0&&t0},on:{click:this.__onClick}},[t("div",{staticClass:"col row items-center q-input-chips"},this.model.map(function(i,s){return t(Ve,{key:i+"#"+s,props:{small:!0,closable:e.editable,color:e.computedChipBgColor,textColor:e.computedChipTextColor},attrs:{tabindex:e.editable&&e.focused?0:-1},on:{blur:e.__onInputBlur,focus:e.__clearTimer,hide:function(){e.remove(s)}},nativeOn:{blur:e.__onInputBlur,focus:e.__clearTimer}},i)}).concat([t("input",{ref:"input",staticClass:"col q-input-target",class:this.inputClasses,domProps:{value:this.input},attrs:Object.assign({},this.$attrs,{placeholder:this.inputPlaceholder,disabled:this.disable,readonly:this.readonly}),on:{input:function(t){e.input=t.target.value},focus:this.__onFocus,blur:this.__onInputBlur,keydown:this.__handleKeyDown,keyup:this.__onKeyup}})])),this.isLoading?this.$slots.loading?t("div",{staticClass:"q-if-control",slot:"after"},this.$slots.loading):t(Kt,{slot:"after",staticClass:"q-if-control",props:{size:"24px"}}):this.editable&&t(ut,{slot:"after",staticClass:"q-if-control",class:{invisible:0===this.input.length},props:{name:this.computedAddIcon},nativeOn:{mousedown:this.__clearTimer,touchstart:this.__clearTimer,click:function(){e.add()}}})||void 0,this.isClearable&&t(ut,{slot:"after",staticClass:"q-if-control",props:{name:this.$q.icon.input["clear"+(this.isInverted?"Inverted":"")]},nativeOn:{mousedown:this.__clearTimer,touchstart:this.__clearTimer,click:this.clear}})||void 0].concat(this.$slots.default?t("div",{staticClass:"absolute-full no-pointer-events",slot:"after"},this.$slots.default):void 0))}},Ge={name:"QItemTile",props:{icon:String,letter:Boolean,inverted:Boolean,image:Boolean,avatar:Boolean,stamp:Boolean,label:Boolean,sublabel:Boolean,lines:[Number,String],tag:{type:String,default:"div"},color:String,textColor:String},computed:{hasLines:function(){return(this.label||this.sublabel)&&this.lines},type:function(){var t=this;return["icon","label","sublabel","image","avatar","letter","stamp"].find(function(e){return t[e]})},classes:function(){var t=[];return this.color&&(this.inverted?t.push("bg-"+this.color):this.textColor||t.push("text-"+this.color)),this.textColor&&t.push("text-"+this.textColor),this.type&&t.push("q-item-"+this.type),this.inverted&&(this.icon||this.letter)&&(t.push("q-item-inverted"),t.push("flex"),t.push("flex-center")),!this.hasLines||"1"!==this.lines&&1!==this.lines||t.push("ellipsis"),t},style:function(){if(this.hasLines)return vt(this.lines)}},render:function(t){var e={class:this.classes,style:this.style};if(this.icon){if(this.inverted)return t(this.tag,e,[t(ut,{props:{name:this.icon}},this.$slots.default)]);e.props={name:this.icon}}return t(this.icon?ut:this.tag,e,this.$slots.default)}},Xe={name:"QSlideTransition",props:{appear:Boolean,duration:{type:Number,default:300}},methods:{__begin:function(t,e,i){t.style.overflowY="hidden",void 0!==e&&(t.style.height=e+"px"),t.style.transition="height "+this.duration+"ms cubic-bezier(.25, .8, .50, 1)",this.animating=!0,this.done=i},__end:function(t,e){t.style.overflowY=null,t.style.height=null,t.style.transition=null,this.__cleanup(),e!==this.lastEvent&&this.$emit(e)},__cleanup:function(){this.done&&this.done(),this.done=null,this.animating=!1,clearTimeout(this.timer),this.el.removeEventListener("transitionend",this.animListener),this.animListener=null}},beforeDestroy:function(){this.animating&&this.__cleanup()},render:function(t){var e=this;return t("transition",{props:{css:!1,appear:this.appear},on:{enter:function(t,i){var s=0;e.el=t,!0===e.animating?(e.__cleanup(),s=t.offsetHeight===t.scrollHeight?0:void 0):e.lastEvent="hide",e.__begin(t,s,i),e.timer=setTimeout(function(){t.style.height=t.scrollHeight+"px",e.animListener=function(){e.__end(t,"show")},t.addEventListener("transitionend",e.animListener)},100)},leave:function(t,i){var s;e.el=t,!0===e.animating?e.__cleanup():(e.lastEvent="show",s=t.scrollHeight),e.__begin(t,s,i),e.timer=setTimeout(function(){t.style.height=0,e.animListener=function(){e.__end(t,"hide")},t.addEventListener("transitionend",e.animListener)},100)}}},this.$slots.default)}},Ze="q:collapsible:close",ti={name:"QCollapsible",mixins:[P,bt,{props:gt}],modelToggle:{history:!1},props:{disable:Boolean,popup:Boolean,indent:Boolean,group:String,iconToggle:Boolean,collapseIcon:String,opened:Boolean,duration:Number,headerStyle:[Array,String,Object],headerClass:[Array,String,Object]},computed:{classes:function(){return{"q-collapsible-opened":this.showing,"q-collapsible-closed":!this.showing,"q-collapsible-popup-opened":this.popup&&this.showing,"q-collapsible-popup-closed":this.popup&&!this.showing,"q-collapsible-cursor-pointer":!this.separateToggle,"q-item-dark":this.dark,"q-item-separator":this.separator,"q-item-inset-separator":this.insetSeparator,disabled:this.disable}},separateToggle:function(){return this.iconToggle||void 0!==this.to}},watch:{showing:function(t){t&&this.group&&this.$root.$emit(Ze,this)}},methods:{__toggleItem:function(){this.separateToggle||this.toggle()},__toggleIcon:function(t){this.separateToggle&&(t&&H(t),this.toggle())},__eventHandler:function(t){this.group&&this!==t&&t.group===this.group&&this.hide()},__getToggleSide:function(t,e){return[t(Ge,{slot:e?"right":void 0,staticClass:"cursor-pointer transition-generic relative-position q-collapsible-toggle-icon",class:{"rotate-180":this.showing,invisible:this.disable},nativeOn:{click:this.__toggleIcon},props:{icon:this.collapseIcon||this.$q.icon.collapsible.icon}})]},__getItemProps:function(t){return{props:t?{cfg:this.$props}:this.$props,style:this.headerStyle,class:this.headerClass,nativeOn:{click:this.__toggleItem}}}},created:function(){this.$root.$on(Ze,this.__eventHandler),(this.opened||this.value)&&this.show()},beforeDestroy:function(){this.$root.$off(Ze,this.__eventHandler)},render:function(t){return t(this.tag,{staticClass:"q-collapsible q-item-division relative-position",class:this.classes},[t("div",{staticClass:"q-collapsible-inner"},[this.$slots.header?t(_t,this.__getItemProps(),[this.$slots.header,t(yt,{props:{right:!0},staticClass:"relative-position"},this.__getToggleSide(t))]):t(ae,this.__getItemProps(!0),this.__getToggleSide(t,!0)),t(Xe,{props:{duration:this.duration}},[t("div",{directives:[{name:"show",value:this.showing}]},[t("div",{staticClass:"q-collapsible-sub-item relative-position",class:{indent:this.indent}},this.$slots.default)])])])])}},ei={props:{popover:Boolean,modal:Boolean},computed:{isPopover:function(){return!!this.popover||!this.modal&&(this.$q.platform.is.desktop&&!this.$q.platform.within.iframe)}}};function ii(t,e,i){var s=Tt((N(t).left-e.left)/e.width,0,1);return i?1-s:s}function si(t,e){var i=e?parseFloat(t.toFixed(e)):t;return i!==parseInt(i,10)}function ni(t,e,i,s,n){var o=e+t*(i-e),r=(o-e)%s;return o+=(Math.abs(r)>=s/2?(r<0?-1:1)*s:0)-r,n&&(o=parseFloat(o.toFixed(n))),Tt(o,e,i)}var oi={directives:{TouchPan:we},props:{min:{type:Number,default:1},max:{type:Number,default:5},step:{type:Number,default:1},decimals:Number,snap:Boolean,markers:Boolean,label:Boolean,labelAlways:Boolean,square:Boolean,color:String,fillHandleAlways:Boolean,error:Boolean,warning:Boolean,readonly:Boolean,disable:Boolean},computed:{editable:function(){return!this.disable&&!this.readonly},classes:function(){var t={disabled:this.disable,readonly:this.readonly,"label-always":this.labelAlways,"has-error":this.error,"has-warning":this.warning};return this.error||this.warning||!this.color||(t["text-"+this.color]=!0),t},markersLen:function(){return(this.max-this.min)/this.step+1},labelColor:function(){return this.error?"negative":this.warning?"warning":this.color||"primary"},computedDecimals:function(){return void 0!==this.decimals?this.decimals||0:(String(this.step).trim("0").split(".")[1]||"").length},computedStep:function(){return void 0!==this.decimals?1/Math.pow(10,this.decimals||0):this.step}},methods:{__pan:function(t){var e=this;t.isFinal?this.dragging&&(this.dragTimer=setTimeout(function(){e.dragging=!1},100),this.__end(t.evt),this.__update(!0)):t.isFirst?(clearTimeout(this.dragTimer),this.dragging=this.__getDragging(t.evt)):this.dragging&&(this.__move(t.evt),this.__update())},__update:function(t){var e=this;JSON.stringify(this.model)!==JSON.stringify(this.value)&&(this.$emit("input",this.model),t&&this.$nextTick(function(){JSON.stringify(e.model)!==JSON.stringify(e.value)&&e.$emit("change",e.model)}))},__click:function(t){if(!this.dragging){var e=this.__getDragging(t);e&&(this.__end(t,e),this.__update(!0))}},__getMarkers:function(t){if(this.markers){for(var e=[],i=0;ithis.max?this.model=this.max:this.model=t,this.currentPercentage=(this.model-this.min)/(this.max-this.min))},min:function(t){this.modelt?this.model=t:this.$nextTick(this.__validateProps)},step:function(){this.$nextTick(this.__validateProps)}},methods:{__getDragging:function(t){var e=this.$refs.handle;return{left:e.getBoundingClientRect().left,width:e.offsetWidth}},__move:function(t){var e=ii(t,this.dragging,this.$q.i18n.rtl);this.currentPercentage=e,this.model=ni(e,this.min,this.max,this.step,this.computedDecimals)},__end:function(t,e){void 0===e&&(e=this.dragging);var i=ii(t,e,this.$q.i18n.rtl);this.model=ni(i,this.min,this.max,this.step,this.computedDecimals),this.currentPercentage=(this.model-this.min)/(this.max-this.min)},__onKeyDown:function(t){var e=t.keyCode;if(this.editable&&[37,40,39,38].includes(e)){H(t);var i=this.computedDecimals,s=t.ctrlKey?10*this.computedStep:this.computedStep,n=[37,40].includes(e)?-s:s,o=i?parseFloat((this.model+n).toFixed(i)):this.model+n;this.model=Tt(o,this.min,this.max),this.currentPercentage=(this.model-this.min)/(this.max-this.min),this.__update()}},__onKeyUp:function(t){var e=t.keyCode;this.editable&&[37,40,39,38].includes(e)&&this.__update(!0)},__validateProps:function(){this.min>=this.max?console.error("Range error: min >= max",this.$el,this.min,this.max):si((this.max-this.min)/this.step,this.computedDecimals)&&console.error("Range error: step must be a divisor of max - min",this.min,this.max,this.step,this.computedDecimals)},__getContent:function(t){var e;return[t("div",{staticClass:"q-slider-track active-track",style:{width:this.percentage},class:{"no-transition":this.dragging,"handle-at-minimum":this.model===this.min}}),t("div",{staticClass:"q-slider-handle",style:(e={},e[this.$q.i18n.rtl?"right":"left"]=this.percentage,e.borderRadius=this.square?"0":"50%",e),class:{dragging:this.dragging,"handle-at-minimum":!this.fillHandleAlways&&this.model===this.min},attrs:{tabindex:this.$q.platform.is.desktop?this.editable?0:-1:void 0},on:{keydown:this.__onKeyDown,keyup:this.__onKeyUp}},[this.label||this.labelAlways?t(Ve,{staticClass:"q-slider-label no-pointer-events",class:{"label-always":this.labelAlways},props:{pointing:"down",square:!0,dense:!0,color:this.labelColor}},[this.displayValue]):null,t("div",{staticClass:"q-slider-ring"})])]}}};function ai(t,e){void 0===e&&(e=250);var i,s=!1;return function(){for(var n=[],o=arguments.length;o--;)n[o]=arguments[o];return s?i:(s=!0,i=t.apply(this,n),setTimeout(function(){s=!1},e),i)}}function li(t){var e=JSON.stringify(t);if(e)return JSON.parse(e)}var ci={name:"QColorPicker",mixins:[Ue],directives:{TouchPan:we},props:{value:[String,Object],defaultValue:{type:[String,Object],default:null},formatModel:{type:String,default:"auto",validator:function(t){return["auto","hex","rgb","hexa","rgba"].includes(t)}},disable:Boolean,readonly:Boolean,dark:Boolean},data:function(){return{view:this.value&&"string"!=typeof this.value?"rgb":"hex",model:this.__parseModel(this.value||this.defaultValue)}},watch:{value:{handler:function(t){var e=this.__parseModel(t||this.defaultValue);e.hex!==this.model.hex&&(this.model=e)},deep:!0}},computed:{forceHex:function(){return"auto"===this.formatModel?null:this.formatModel.indexOf("hex")>-1},forceAlpha:function(){return"auto"===this.formatModel?null:this.formatModel.indexOf("a")>-1},isHex:function(){return"string"==typeof this.value},isOutputHex:function(){return null!==this.forceHex?this.forceHex:this.isHex},editable:function(){return!this.disable&&!this.readonly},hasAlpha:function(){return null!==this.forceAlpha?this.forceAlpha:this.isHex?this.value.trim().length>7:this.value&&void 0!==this.value.a},swatchColor:function(){return{backgroundColor:"rgba("+this.model.r+","+this.model.g+","+this.model.b+","+(void 0===this.model.a?100:this.model.a)/100+")"}},saturationStyle:function(){return{background:"hsl("+this.model.h+",100%,50%)"}},saturationPointerStyle:function(){var t;return(t={top:101-this.model.v+"%"})[this.$q.i18n.rtl?"right":"left"]=this.model.s+"%",t},inputsArray:function(){var t=["r","g","b"];return this.hasAlpha&&t.push("a"),t},__needsBorder:function(){return!0}},created:function(){this.__saturationChange=ai(this.__saturationChange,20)},render:function(t){return t("div",{staticClass:"q-color",class:{disabled:this.disable,"q-color-dark":this.dark}},[this.__getSaturation(t),this.__getSliders(t),this.__getInputs(t)])},methods:{__getSaturation:function(t){return t("div",{ref:"saturation",staticClass:"q-color-saturation non-selectable relative-position overflow-hidden cursor-pointer",style:this.saturationStyle,class:{readonly:!this.editable},on:this.editable?{click:this.__saturationClick}:null,directives:this.editable?[{name:"touch-pan",modifiers:{mightPrevent:!0},value:this.__saturationPan}]:null},[t("div",{staticClass:"q-color-saturation-white absolute-full"}),t("div",{staticClass:"q-color-saturation-black absolute-full"}),t("div",{staticClass:"absolute",style:this.saturationPointerStyle},[void 0!==this.model.hex?t("div",{staticClass:"q-color-saturation-circle"}):null])])},__getSliders:function(t){var e=this;return t("div",{staticClass:"q-color-sliders row items-center"},[t("div",{staticClass:"q-color-swatch q-mt-sm q-ml-md q-mb-sm non-selectable overflow-hidden"},[t("div",{style:this.swatchColor,staticClass:"fit"})]),t("div",{staticClass:"col q-pa-sm"},[t("div",{staticClass:"q-color-hue non-selectable"},[t(ri,{props:{value:this.model.h,color:"white",min:0,max:360,fillHandleAlways:!0,readonly:!this.editable},on:{input:this.__onHueChange,dragend:function(t){return e.__onHueChange(t,!0)}}})]),this.hasAlpha?t("div",{staticClass:"q-color-alpha non-selectable"},[t(ri,{props:{value:this.model.a,color:"white",min:0,max:100,fillHandleAlways:!0,readonly:!this.editable},on:{input:function(t){return e.__onNumericChange({target:{value:t}},"a",100)},dragend:function(t){return e.__onNumericChange({target:{value:t}},"a",100,!0)}}})]):null])])},__getNumericInputs:function(t){var e=this;return this.inputsArray.map(function(i){var s="a"===i?100:255;return t("div",{staticClass:"col q-color-padding"},[t("input",{attrs:{type:"number",min:0,max:s,readonly:!e.editable,tabindex:e.editable?0:-1},staticClass:"full-width text-center q-no-input-spinner",domProps:{value:void 0===e.model.hex?"":Math.round(e.model[i])},on:{input:function(t){return e.__onNumericChange(t,i,s)},blur:function(t){return e.editable&&e.__onNumericChange(t,i,s,!0)}}}),t("div",{staticClass:"q-color-label text-center uppercase"},[i])])})},__getInputs:function(t){var e=this;return t("div",{staticClass:"q-color-inputs row items-center q-px-sm q-pb-sm"},[t("div",{staticClass:"col q-mr-sm row no-wrap"},"hex"===this.view?[t("div",{staticClass:"col"},[t("input",{domProps:{value:this.model.hex},attrs:{readonly:!this.editable,tabindex:this.editable?0:-1},on:{change:this.__onHexChange,blur:function(t){return e.editable&&e.__onHexChange(t,!0)}},staticClass:"full-width text-center uppercase"}),t("div",{staticClass:"q-color-label text-center"},["HEX"+(this.hasAlpha?" / A":"")])])]:this.__getNumericInputs(t)),t("div",[t(Ut,{props:{flat:!0,disable:this.disable},on:{click:this.__nextInputView},staticClass:"q-pa-none"},[t("svg",{attrs:{viewBox:"0 0 24 24"},style:{width:"24px",height:"24px"}},[t("path",{attrs:{fill:"currentColor",d:"M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z"}})])])])])},__onSaturationChange:function(t,e,i){var s=this.$refs.saturation;if(s){var n=s.clientWidth,o=s.clientHeight,r=s.getBoundingClientRect(),a=Math.min(n,Math.max(0,t-r.left));this.$q.i18n.rtl&&(a=n-a);var l=Math.min(o,Math.max(0,e-r.top)),c=Math.round(100*a/n),h=Math.round(100*Math.max(0,Math.min(1,-l/o+1))),u=f({h:this.model.h,s:c,v:h,a:this.hasAlpha?this.model.a:void 0});this.model.s=c,this.model.v=h,this.__update(u,d(u),i)}},__onHueChange:function(t,e){var i=f({h:t=Math.round(t),s:this.model.s,v:this.model.v,a:this.hasAlpha?this.model.a:void 0});this.model.h=t,this.__update(i,d(i),e)},__onNumericChange:function(t,e,i,s){var n=Number(t.target.value);if(!isNaN(n))if((n=Math.floor(n))<0||n>i)s&&this.$forceUpdate();else{var o={r:"r"===e?n:this.model.r,g:"g"===e?n:this.model.g,b:"b"===e?n:this.model.b,a:this.hasAlpha?"a"===e?n:this.model.a:void 0};if("a"!==e){var r=m(o);this.model.h=r.h,this.model.s=r.s,this.model.v=r.v}this.__update(o,d(o),s)}},__onHexChange:function(t,e){var i=t.target.value,s=i.length,n=this.hasAlpha?[5,9]:[4,7];if(s===n[0]||s===n[1]){var o=p(i),r=m(o);this.model.h=r.h,this.model.s=r.s,this.model.v=r.v,this.__update(o,i,e)}else e&&this.$forceUpdate()},__update:function(t,e,i){var s=this,n=this.isOutputHex?e:t;this.model.hex=e,this.model.r=t.r,this.model.g=t.g,this.model.b=t.b,this.model.a=this.hasAlpha?t.a:void 0,this.$emit("input",n),this.$nextTick(function(){i&&JSON.stringify(n)!==JSON.stringify(s.value)&&s.$emit("change",n)})},__nextInputView:function(){this.view="hex"===this.view?"rgba":"hex"},__parseModel:function(t){if(null===t||void 0===t)return{h:0,s:0,v:0,r:0,g:0,b:0,hex:void 0,a:100};var e="string"==typeof t?p(t.trim()):li(t);return this.forceAlpha===(void 0===e.a)&&(e.a=this.forceAlpha?100:void 0),e.hex=d(e),Object.assign({a:100},e,m(e))},__saturationPan:function(t){t.isFinal?this.__dragStop(t):t.isFirst?this.__dragStart(t):this.__dragMove(t)},__dragStart:function(t){H(t.evt),this.saturationDragging=!0,this.__saturationChange(t)},__dragMove:function(t){this.saturationDragging&&(H(t.evt),this.__saturationChange(t))},__dragStop:function(t){var e=this;H(t.evt),setTimeout(function(){e.saturationDragging=!1},100),this.__onSaturationChange(t.position.left,t.position.top,!0)},__saturationChange:function(t){this.__onSaturationChange(t.position.left,t.position.top)},__saturationClick:function(t){this.saturationDragging||this.__onSaturationChange(t.pageX-window.pageXOffset,t.pageY-window.pageYOffset,!0)}}},hi={maxWidth:"95vw",maxHeight:"98vh"},ui={name:"QColor",mixins:[We,ei],props:{value:{required:!0},color:{type:String,default:"primary"},defaultValue:{type:[String,Object],default:null},formatModel:{type:String,default:"auto",validator:function(t){return["auto","hex","rgb","hexa","rgba"].includes(t)}},displayValue:String,okLabel:String,cancelLabel:String},watch:{value:function(t){!this.disable&&this.isPopover&&(this.model=li(t))}},data:function(){var t=this.isPopover?{}:{transition:"q-modal"};return t.focused=!1,t.model=li(this.value||this.defaultValue),t},computed:{actualValue:function(){return this.displayValue?this.displayValue:this.value?"string"==typeof this.value?this.value:"rgb"+(void 0!==this.value.a?"a":"")+"("+this.value.r+","+this.value.g+","+this.value.b+(void 0!==this.value.a?","+this.value.a/100:"")+")":""},computedClearValue:function(){return void 0===this.clearValue?this.defaultValue:this.clearValue},isClearable:function(){return this.editable&&this.clearable&&JSON.stringify(this.computedClearValue)!==JSON.stringify(this.value)},modalBtnColor:function(){return this.color}},methods:{toggle:function(){this.$refs.popup&&this[this.$refs.popup.showing?"hide":"show"]()},show:function(){if(!this.disable)return this.__setModel(this.value||this.defaultValue),this.$refs.popup.show()},hide:function(){return this.$refs.popup?this.$refs.popup.hide():Promise.resolve()},__handleKeyDown:function(t){switch(E(t)){case 13:case 32:return H(t),this.show();case 8:this.isClearable&&this.clear()}},__onFocus:function(){this.disable||this.focused||(this.model=li(this.value||this.defaultValue),this.focused=!0,this.$emit("focus"))},__onBlur:function(t){var e=this;this.focused&&setTimeout(function(){var t=document.activeElement;e.$refs.popup&&e.$refs.popup.showing&&(t===document.body||e.$refs.popup.$el.contains(t))||(e.__onHide(),e.hide())},1)},__onHide:function(t,e){(t||this.isPopover)&&this.__update(t),this.focused&&(e?this.$el.focus():(this.$emit("blur"),this.focused=!1))},__setModel:function(t,e){this.model=li(t),(e||this.isPopover)&&this.__update(e)},__hasModelChanged:function(){return JSON.stringify(this.model)!==JSON.stringify(this.value)},__update:function(t){var e=this;this.$nextTick(function(){e.__hasModelChanged()&&(e.$emit("input",e.model),t&&e.$emit("change",e.model))})},__getPicker:function(t,e){var i=this,s=[t(ci,{staticClass:"no-border"+(e?" full-width":""),props:Object.assign({},this.$attrs,{value:this.model,disable:this.disable,readonly:this.readonly,formatModel:this.formatModel,dark:this.dark,noParentField:!0}),on:{input:function(t){return i.$nextTick(function(){return i.__setModel(t)})}}})];return e&&s.push(t("div",{staticClass:"modal-buttons modal-buttons-top row full-width",class:this.dark?"bg-black":null},[t("div",{staticClass:"col"}),t(Ut,{props:{color:this.modalBtnColor,flat:!0,label:this.cancelLabel||this.$q.i18n.label.cancel,noRipple:!0},on:{click:function(){i.__onHide(!1,!0),i.hide()}}}),this.editable?t(Ut,{props:{color:this.modalBtnColor,flat:!0,label:this.okLabel||this.$q.i18n.label.set,noRipple:!0,disable:!this.model},on:{click:function(){i.__onHide(!0,!0),i.hide()}}}):null])),s}},render:function(t){var e=this;return t(Ye,{staticClass:"q-color-input",props:{prefix:this.prefix,suffix:this.suffix,stackLabel:this.stackLabel,floatLabel:this.floatLabel,error:this.error,warning:this.warning,disable:this.disable,readonly:this.readonly,inverted:this.inverted,invertedLight:this.invertedLight,dark:this.dark,hideUnderline:this.hideUnderline,before:this.before,after:this.after,color:this.color,noParentField:this.noParentField,focused:this.focused||this.$refs.popup&&this.$refs.popup.showing,focusable:!0,length:this.actualValue.length},nativeOn:{click:this.toggle,focus:this.__onFocus,blur:this.__onBlur,keydown:this.__handleKeyDown}},[t("div",{staticClass:"col q-input-target ellipsis",class:this.fakeInputClasses},[this.fakeInputValue]),this.isPopover?t(oe,{ref:"popup",props:{cover:!0,keepOnScreen:!0,disable:this.disable,anchorClick:!1,maxHeight:"100vh"},slot:"after",on:{show:this.__onFocus,hide:function(){return e.__onHide(!0,!0)}}},this.__getPicker(t)):t(ht,{ref:"popup",staticClass:"with-backdrop",props:{contentCss:hi,minimized:!0,position:null,transition:this.transition},on:{dismiss:function(){return e.__onHide(!1,!0)}}},this.__getPicker(t,!0)),this.isClearable?t(ut,{slot:"after",props:{name:this.$q.icon.input["clear"+(this.isInverted?"Inverted":"")]},nativeOn:{click:this.clear},staticClass:"q-if-control"}):null,t(ut,{slot:"after",props:{name:this.$q.icon.input.dropdown},staticClass:"q-if-control"})])}},di={name:"QContextMenu",props:{disable:Boolean},data:function(){return{mobile:this.$q.platform.is.mobile}},methods:{hide:function(t){if(this.$refs.popup)return this.mobile&&this.target.classList.remove("non-selectable"),this.$refs.popup.hide(t)},show:function(t){var e=this;this.disable||(this.mobile?this.$refs.popup&&(this.event=t,this.$refs.popup.show(t)):t&&(H(t),setTimeout(function(){e.$refs.popup&&(e.event=t,e.$refs.popup.show(t))},100)))},__desktopBodyHide:function(t){this.$el.contains(t.target)||this.hide(t)},__desktopOnShow:function(){document.body.addEventListener("contextmenu",this.__desktopBodyHide,!0),document.body.addEventListener("click",this.__desktopBodyHide,!0),this.$emit("show",this.event)},__desktopOnHide:function(t){document.body.removeEventListener("contextmenu",this.__desktopBodyHide,!0),document.body.removeEventListener("click",this.__desktopBodyHide,!0),this.$emit("hide",this.event,t)},__mobileTouchStartHandler:function(t){var e=this;this.__mobileCleanup(),t&&t.touches&&t.touches.length>1||(this.target.classList.add("non-selectable"),this.touchTimer=setTimeout(function(){t&&H(t),e.__mobileCleanup(),setTimeout(function(){e.show(t)},10)},600))},__mobileCleanup:function(){this.target.classList.remove("non-selectable"),clearTimeout(this.touchTimer)}},render:function(t){var e=this;return this.mobile?t(ht,{ref:"popup",props:{minimized:!0},on:{show:function(){e.$emit("show",e.event)},hide:function(t){e.$emit("hide",e.event,t)}}},this.$slots.default):t(oe,{ref:"popup",props:{anchorClick:!1,touchPosition:!0},on:{show:this.__desktopOnShow,hide:this.__desktopOnHide}},this.$slots.default)},mounted:function(){var t=this;this.mobile?this.$nextTick(function(){t.target=t.$el.parentNode,t.target.addEventListener("touchstart",t.__mobileTouchStartHandler),["touchcancel","touchmove","touchend"].forEach(function(e){t.target.addEventListener(e,t.__mobileCleanup)})}):(this.target=this.$el.parentNode,this.target.addEventListener("contextmenu",this.show))},beforeDestroy:function(){var t=this;this.mobile?(this.target.removeEventListener("touchstart",this.__mobileTouchStartHandler),["touchcancel","touchmove","touchend"].forEach(function(e){t.target.removeEventListener(e,t.__mobileCleanup)})):this.target.removeEventListener("contextmenu",this.show)}},pi=function(t){var e=typeof t;return null===t||void 0===t||"number"===e||"string"===e||Ce(t)},fi={value:{validator:pi,required:!0},defaultValue:{type:[String,Number,Date],default:null},type:{type:String,default:"date",validator:function(t){return["date","time","datetime"].includes(t)}},color:{type:String,default:"primary"},dark:Boolean,min:{validator:pi,default:null},max:{validator:pi,default:null},headerLabel:String,firstDayOfWeek:Number,formatModel:{type:String,default:"auto",validator:function(t){return["auto","date","number","string"].includes(t)}},format24h:{type:[Boolean,Number],default:0,validator:function(t){return[!0,!1,0].includes(t)}},defaultView:{type:String,validator:function(t){return["year","month","day","hour","minute"].includes(t)}},minimal:Boolean},mi={format:String,okLabel:String,cancelLabel:String,displayValue:String},vi=864e5,gi=36e5,bi=6e4,_i=/\[((?:[^\]\\]|\\]|\\)*)\]|d{1,4}|M{1,4}|m{1,2}|w{1,2}|Qo|Do|D{1,4}|YY(?:YY)?|H{1,2}|h{1,2}|s{1,2}|S{1,3}|Z{1,2}|a{1,2}|[AQExX]/g,yi=/^[0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}:[0-9]{2}(.[0-9]{6})?$/;function wi(t,e){void 0===e&&(e="");var i=t>0?"-":"+",s=Math.abs(t),n=s%60;return i+Pt(Math.floor(s/60))+e+Pt(n)}function Ci(t,e){var i=new Date(t.getFullYear(),e,0,0,0,0,0).getDate();t.setMonth(e-1,Math.min(i,t.getDate()))}function ki(t){return new Date("string"==typeof t&&null!==yi.exec(t)?t.substring(0,23).replace(" ","T"):t)}function xi(t,e,i){var s=ki(t),n=i?1:-1;return Object.keys(e).forEach(function(t){if("month"!==t){var i="year"===t?"FullYear":$t("days"===t?"date":t);s["set"+i](s["get"+i]()+n*e[t])}else Ci(s,s.getMonth()+1+n*e.month)}),s}function Si(t){if("number"==typeof t)return!0;var e=Date.parse(t);return!1===isNaN(e)}function qi(t){var e=new Date(t.getFullYear(),t.getMonth(),t.getDate());e.setDate(e.getDate()-(e.getDay()+6)%7+3);var i=new Date(e.getFullYear(),0,4);i.setDate(i.getDate()-(i.getDay()+6)%7+3);var s=e.getTimezoneOffset()-i.getTimezoneOffset();e.setHours(e.getHours()-s);var n=(e-i)/(7*vi);return 1+Math.floor(n)}function $i(t,e,i){var s=ki(t),n="set"+(i?"UTC":"");return Object.keys(e).forEach(function(t){if("month"!==t){var i="year"===t?"FullYear":t.charAt(0).toUpperCase()+t.slice(1);s[""+n+i](e[t])}else Ci(s,e.month)}),s}function Ti(t,e){var i=ki(t);switch(e){case"year":i.setMonth(0);case"month":i.setDate(1);case"day":i.setHours(0);case"hour":i.setMinutes(0);case"minute":i.setSeconds(0);case"second":i.setMilliseconds(0)}return i}function Mi(t,e,i){return(t.getTime()-t.getTimezoneOffset()*bi-(e.getTime()-e.getTimezoneOffset()*bi))/i}function Pi(t,e,i){void 0===i&&(i="days");var s=ki(t),n=ki(e);switch(i){case"years":return s.getFullYear()-n.getFullYear();case"months":return 12*(s.getFullYear()-n.getFullYear())+s.getMonth()-n.getMonth();case"days":return Mi(Ti(s,"day"),Ti(n,"day"),vi);case"hours":return Mi(Ti(s,"hour"),Ti(n,"hour"),gi);case"minutes":return Mi(Ti(s,"minute"),Ti(n,"minute"),bi);case"seconds":return Mi(Ti(s,"second"),Ti(n,"second"),1e3)}}function Li(t){return Pi(t,Ti(t,"year"),"days")+1}function Bi(t){return Ce(t)?"date":"number"==typeof t?"number":"string"}function Ei(t,e,i){if(t||0===t)switch(e){case"date":return t;case"number":return t.getTime();default:return Ii(t,i)}}function Ni(t,e,i){var s=ki(t);if(e){var n=ki(e);if(so)return o}return s}function Oi(t,e,i){var s=ki(t),n=ki(e);if(void 0===i)return s.getTime()===n.getTime();switch(i){case"second":if(s.getSeconds()!==n.getSeconds())return!1;case"minute":if(s.getMinutes()!==n.getMinutes())return!1;case"hour":if(s.getHours()!==n.getHours())return!1;case"day":if(s.getDate()!==n.getDate())return!1;case"month":if(s.getMonth()!==n.getMonth())return!1;case"year":if(s.getFullYear()!==n.getFullYear())return!1;break;default:throw new Error("date isSameDate unknown unit "+i)}return!0}function zi(t){return new Date(t.getFullYear(),t.getMonth()+1,0).getDate()}function Di(t){if(t>=11&&t<=13)return t+"th";switch(t%10){case 1:return t+"st";case 2:return t+"nd";case 3:return t+"rd"}return t+"th"}var Ri={YY:function(t){return Pt(t.getFullYear(),4).substr(2)},YYYY:function(t){return Pt(t.getFullYear(),4)},M:function(t){return t.getMonth()+1},MM:function(t){return Pt(t.getMonth()+1)},MMM:function(t,e){return void 0===e&&(e={}),(e.monthNamesShort||u.lang.date.monthsShort)[t.getMonth()]},MMMM:function(t,e){return void 0===e&&(e={}),(e.monthNames||u.lang.date.months)[t.getMonth()]},Q:function(t){return Math.ceil((t.getMonth()+1)/3)},Qo:function(t){return Di(this.Q(t))},D:function(t){return t.getDate()},Do:function(t){return Di(t.getDate())},DD:function(t){return Pt(t.getDate())},DDD:function(t){return Li(t)},DDDD:function(t){return Pt(Li(t),3)},d:function(t){return t.getDay()},dd:function(t){return this.dddd(t).slice(0,2)},ddd:function(t,e){return void 0===e&&(e={}),(e.dayNamesShort||u.lang.date.daysShort)[t.getDay()]},dddd:function(t,e){return void 0===e&&(e={}),(e.dayNames||u.lang.date.days)[t.getDay()]},E:function(t){return t.getDay()||7},w:function(t){return qi(t)},ww:function(t){return Pt(qi(t))},H:function(t){return t.getHours()},HH:function(t){return Pt(t.getHours())},h:function(t){var e=t.getHours();return 0===e?12:e>12?e%12:e},hh:function(t){return Pt(this.h(t))},m:function(t){return t.getMinutes()},mm:function(t){return Pt(t.getMinutes())},s:function(t){return t.getSeconds()},ss:function(t){return Pt(t.getSeconds())},S:function(t){return Math.floor(t.getMilliseconds()/100)},SS:function(t){return Pt(Math.floor(t.getMilliseconds()/10))},SSS:function(t){return Pt(t.getMilliseconds(),3)},A:function(t){return this.H(t)<12?"AM":"PM"},a:function(t){return this.H(t)<12?"am":"pm"},aa:function(t){return this.H(t)<12?"a.m.":"p.m."},Z:function(t){return wi(t.getTimezoneOffset(),":")},ZZ:function(t){return wi(t.getTimezoneOffset())},X:function(t){return Math.floor(t.getTime()/1e3)},x:function(t){return t.getTime()}};function Ii(t,e,i){if(void 0===e&&(e="YYYY-MM-DDTHH:mm:ss.SSSZ"),0===t||t){var s=ki(t);return e.replace(_i,function(t,e){return t in Ri?Ri[t](s,i):void 0===e?t:e.split("\\]").join("]")})}}function Hi(t){return Ce(t)?new Date(t.getTime()):t}var Fi={isValid:Si,buildDate:function(t,e){return $i(new Date,t,e)},getDayOfWeek:function(t){var e=ki(t).getDay();return 0===e?7:e},getWeekOfYear:qi,isBetweenDates:function(t,e,i,s){void 0===s&&(s={});var n=ki(e).getTime(),o=ki(i).getTime(),r=ki(t).getTime();return s.inclusiveFrom&&n--,s.inclusiveTo&&o++,r>n&&r0;)e[i]=arguments[i+1];var s=ki(t);return e.forEach(function(t){s=Math.max(s,ki(t))}),s},getMinDate:function(t){for(var e=[],i=arguments.length-1;i-- >0;)e[i]=arguments[i+1];var s=ki(t);return e.forEach(function(t){s=Math.min(s,ki(t))}),s},getDateDiff:Pi,getDayOfYear:Li,inferDateFormat:Bi,convertDateToFormat:Ei,getDateBetween:Ni,isSameDate:Oi,daysInMonth:zi,formatter:Ri,formatDate:Ii,matchFormat:function(t){return void 0===t&&(t=""),t.match(_i)},clone:Hi},Ai=/^\d{4}[^\d]\d{2}[^\d]\d{2}/;var Qi={name:"QDatetimePicker",mixins:[{props:fi,computed:{computedValue:function(){return"date"===this.type&&"string"===this.formatModel&&Ai.test(this.value)?this.value.slice(0,10).split(/[^\d]/).join("/"):this.value},computedDefaultValue:function(){return"date"===this.type&&"string"===this.formatModel&&Ai.test(this.defaultValue)?this.defaultValue.slice(0,10).split(/[^\d]+/).join("/"):this.defaultValue},computedDateFormat:function(){if("date"===this.type&&"string"===this.formatModel)return"YYYY/MM/DD HH:mm:ss"},model:{get:function(){return Si(this.computedValue)?new Date(this.computedValue):this.computedDefaultValue?new Date(this.computedDefaultValue):Ti(new Date,"day")},set:function(t){var e=this,i=Ei(Ni(t,this.pmin,this.pmax),"auto"===this.formatModel?Bi(this.value):this.formatModel,this.computedDateFormat);this.$emit("input",i),this.$nextTick(function(){Oi(i,e.value)||e.$emit("change",i)})}},pmin:function(){return this.min?new Date(this.min):null},pmax:function(){return this.max?new Date(this.max):null},typeHasDate:function(){return"date"===this.type||"datetime"===this.type},typeHasTime:function(){return"time"===this.type||"datetime"===this.type},year:function(){return this.model.getFullYear()},month:function(){return this.model.getMonth()+1},day:function(){return this.model.getDate()},minute:function(){return this.model.getMinutes()},currentYear:function(){return(new Date).getFullYear()},yearInterval:function(){return{min:null!==this.pmin?this.pmin.getFullYear():(this.year||this.currentYear)-80,max:null!==this.pmax?this.pmax.getFullYear():(this.year||this.currentYear)+80}},monthInterval:function(){return{min:this.monthMin,max:null!==this.pmax&&this.pmax.getFullYear()===this.year?this.pmax.getMonth():11}},monthMin:function(){return null!==this.pmin&&this.pmin.getFullYear()===this.year?this.pmin.getMonth():0},daysInMonth:function(){return new Date(this.year,this.model.getMonth()+1,0).getDate()},editable:function(){return!this.disable&&!this.readonly},__needsBorder:function(){return!0}},methods:{toggleAmPm:function(){if(this.editable){var t=this.model.getHours(),e=this.am?12:-12;this.model=new Date(new Date(this.model).setHours(t+e))}},__parseTypeValue:function(t,e){return"month"===t?Mt(e,1,12):"date"===t?Mt(e,1,this.daysInMonth):"year"===t?Mt(e,this.yearInterval.min,this.yearInterval.max):"hour"===t?Mt(e,0,23):"minute"===t?Mt(e,0,59):void 0}}},Ue,ne],props:{defaultValue:[String,Number,Date],disable:Boolean,readonly:Boolean},directives:{Ripple:It},data:function(){return{view:this.__calcView(this.defaultView),dragging:!1,centerClockPos:0,fakeValue:{year:null,month:null}}},watch:{value:function(t){t||(this.view=["date","datetime"].includes(this.type)?"day":"hour")},view:function(){this.__scrollView(!0)},model:function(){this.fakeValue.month!==this.month&&(this.fakeValue.month=this.month,this.__scrollView()),this.fakeValue.year!==this.year&&(this.fakeValue.year=this.year,this.__scrollView())}},computed:{classes:function(){var t=[];return this.disable&&t.push("disabled"),this.readonly&&t.push("readonly"),this.dark&&t.push("q-datetime-dark"),this.minimal&&t.push("q-datetime-minimal"),this.color&&t.push("text-"+this.color),t},dateArrow:function(){var t=[this.$q.icon.datetime.arrowLeft,this.$q.icon.datetime.arrowRight];return this.$q.i18n.rtl?t.reverse():t},computedFormat24h:function(){return 0!==this.format24h?this.format24h:this.$q.i18n.date.format24h},computedFirstDayOfWeek:function(){return void 0!==this.firstDayOfWeek?this.firstDayOfWeek:this.$q.i18n.date.firstDayOfWeek},headerDayNames:function(){var t=this.$q.i18n.date.daysShort,e=this.computedFirstDayOfWeek;return e>0?t.slice(e,7).concat(t.slice(0,e)):t},fakeModel:function(){return new Date(this.fakeYear,this.fakeMonth-1,1)},fakeYear:function(){return this.fakeValue.year||this.year},fakeMonth:function(){return this.fakeValue.month||this.month},daysInMonth:function(){return new Date(this.fakeYear,this.fakeMonth,0).getDate()},monthString:function(){return""+this.$q.i18n.date.monthsShort[this.month-1]},monthStamp:function(){return this.$q.i18n.date.months[this.fakeMonth-1]+" "+this.fakeYear},weekDayString:function(){return this.headerLabel||this.$q.i18n.date.days[this.model.getDay()]},fillerDays:function(){var t=this.fakeModel.getDay()-this.computedFirstDayOfWeek;return t<0&&(t+=7),t},beforeMinDays:function(){if(null===this.pmin)return!1;var t=this.pmin.getFullYear(),e=this.pmin.getMonth()+1;return t===this.fakeYear&&e===this.fakeMonth?this.pmin.getDate()-1:(t>this.fakeYear||t===this.fakeYear&&e>this.fakeMonth)&&this.daysInMonth},afterMaxDays:function(){if(null===this.pmax)return!1;var t=this.pmax.getFullYear(),e=this.pmax.getMonth()+1;return t===this.fakeYear&&e===this.fakeMonth?this.daysInMonth-this.maxDay:(t0||t?{min:this.beforeMinDays>0?this.beforeMinDays+1:1,max:this.daysInMonth-t}:{min:1,max:this.daysInMonth}},hour:function(){var t=this.model.getHours();return this.computedFormat24h?t:function(t){return 0===t?12:t>=13?t-12:t}(t)},minute:function(){return this.model.getMinutes()},am:function(){return this.model.getHours()<=11},clockPointerStyle:function(){var t="minute"===this.view,e=t?60:12,i=["rotate("+(Math.round((t?this.minute:this.hour)*(360/e))-180)+"deg)"];return t||!this.computedFormat24h||this.hour>0&&this.hour<13||i.push("scale(.7, .7)"),{transform:i.join(" ")}},isValid:function(){return Si(this.value)},today:function(){var t=new Date;return Oi(t,this.fakeModel,"month")?t.getDate():-1}},methods:{setYear:function(t,e){this.editable&&(e||(this.view="month"),this.model=new Date(new Date(this.model).setFullYear(this.__parseTypeValue("year",t))))},setMonth:function(t,e){this.editable&&(e||(this.view="day"),this.model=$i(this.model,{month:t}))},moveFakeMonth:function(t){var e=this.fakeMonth+(t>0?1:-1),i=this.fakeYear;if(e<1?(e=12,i-=1):e>12&&(e=1,i+=1),null!==this.pmin&&t>0){var s=this.pmin.getFullYear(),n=this.pmin.getMonth()+1;io?(i=o,e=r):i===o&&e>r&&(e=r)}this.fakeValue.year=i,this.fakeValue.month=e},setDay:function(t,e,i,s){if(this.editable){if(i&&s){var n=$i(this.model,{month:s});n.setFullYear(this.__parseTypeValue("year",i)),n.setDate(this.__parseTypeValue("date",t)),this.model=n}else this.model=new Date(new Date(this.model).setDate(this.__parseTypeValue("date",t)));e||"date"!==this.type?e||(this.view="hour"):(this.$emit("canClose"),this.minimal&&this.setView(this.defaultView))}},setHour:function(t){this.editable&&(t=this.__parseTypeValue("hour",t),!this.computedFormat24h&&t<12&&!this.am&&(t+=12),this.model=new Date(new Date(this.model).setHours(t)))},setMinute:function(t){this.editable&&(this.model=new Date(new Date(this.model).setMinutes(this.__parseTypeValue("minute",t))))},setView:function(t){var e=this.__calcView(t);this.view!==e&&(this.view=e)},__calcView:function(t){switch(this.type){case"time":return["hour","minute"].includes(t)?t:"hour";case"date":return["year","month","day"].includes(t)?t:"day";default:return["year","month","day","hour","minute"].includes(t)?t:"day"}},__pad:function(t,e){return(t<10?e||"0":"")+t},__scrollView:function(t){var e=this;if("year"===this.view||"month"===this.view){t&&setTimeout(function(){e.__scrollView()},200);var i=this.$refs.selector,s=i?i.querySelector(".q-btn:not(.active)"):null,n=i?i.querySelector(".q-btn.active"):null,o=i?i.offsetHeight:0;this.$nextTick(function(){var t="year"===e.view?e.year-e.yearInterval.min:e.month-e.monthMin-1;o&&n&&(i.scrollTop=t*(s?s.offsetHeight:0)+(n.offsetHeight-o)/2)})}},__dragStart:function(t,e){H(t);var i=this.$refs.clock,s=A(i);this.centerClockPos={top:s.top+V(i)/2,left:s.left+j(i)/2},this.dragging=!0,this.__updateClock(t,e)},__dragMove:function(t){this.dragging&&(H(t),this.__updateClock(t))},__dragStop:function(t,e){H(t),this.dragging=!1,void 0!==t&&this.__updateClock(t,e),"minute"===this.view?(this.$emit("canClose"),this.minimal&&this.setView(this.defaultView)):this.view="minute"},__updateClock:function(t,e){if(void 0!==e)return this["hour"===this.view?"setHour":"setMinute"](e);var i=N(t),s=Math.abs(i.top-this.centerClockPos.top),n=Math.sqrt(Math.pow(Math.abs(i.top-this.centerClockPos.top),2)+Math.pow(Math.abs(i.left-this.centerClockPos.left),2)),o=Math.asin(s/n)*(180/Math.PI);if(o=i.top0||this.disable||this.readonly},on:{click:function(){e.moveFakeMonth(-1)}}}),t("div",{staticClass:"col q-datetime-month-stamp"},[this.monthStamp]),t(Ut,{staticClass:"q-datetime-arrow",attrs:{tabindex:-1},props:{round:!0,dense:!0,flat:!0,icon:this.dateArrow[1],repeatTimeout:this.__repeatTimeout,disable:this.afterMaxDays>0||this.disable||this.readonly},on:{click:function(){e.moveFakeMonth(1)}}})]),t("div",{staticClass:"q-datetime-weekdays row no-wrap items-center justify-start"},this.headerDayNames.map(function(e){return t("div",[e])})),t("div",{staticClass:"q-datetime-days row wrap items-center justify-start content-center"},i)])},__getClockView:function(t){var e=this,i=[];if("hour"===this.view){var s,n,o="";this.computedFormat24h?(s=0,n=24,o=" fmt24"):(s=1,n=13);for(var r=function(s){i.push(t("div",{staticClass:"q-datetime-clock-position"+o,class:["q-datetime-clock-pos-"+s,s===e.hour?"active":""],on:{"!mousedown":function(t){return e.__dragStart(t,s)},"!mouseup":function(t){return e.__dragStop(t,s)}}},[t("span",[s||"00"])]))},a=s;a0:null},ls.range.get=function(){var t=this.selection;if(t)return t.rangeCount?t.getRangeAt(0):null},ls.parent.get=function(){var t=this.range;if(t){var e=t.startContainer;return e.nodeType===document.ELEMENT_NODE?e:e.parentNode}},ls.blockParent.get=function(){var t=this.parent;if(t)return function t(e,i){if(i&&e===i)return null;var s=(window.getComputedStyle?window.getComputedStyle(e):e.currentStyle).display;return"block"===s||"table"===s?e:t(e.parentNode)}(t,this.el)},as.prototype.save=function(t){void 0===t&&(t=this.range),this._range=t},as.prototype.restore=function(t){void 0===t&&(t=this._range);var e=document.createRange(),i=document.getSelection();t?(e.setStart(t.startContainer,t.startOffset),e.setEnd(t.endContainer,t.endOffset),i.removeAllRanges(),i.addRange(e)):(i.selectAllChildren(this.el),i.collapseToEnd())},as.prototype.hasParent=function(t,e){var i=e?this.parent:this.blockParent;return!!i&&i.nodeName.toLowerCase()===t.toLowerCase()},as.prototype.hasParents=function(t){var e=this.parent;return!!e&&t.includes(e.nodeName.toLowerCase())},as.prototype.is=function(t,e){switch(t){case"formatBlock":return"DIV"===e&&this.parent===this.el||this.hasParent(e,"PRE"===e);case"link":return this.hasParent("A",!0);case"fontSize":return document.queryCommandValue(t)===e;case"fontName":var i=document.queryCommandValue(t);return i==='"'+e+'"'||i===e;case"fullscreen":return this.vm.inFullscreen;case void 0:return!1;default:var s=document.queryCommandState(t);return e?s===e:s}},as.prototype.getParentAttribute=function(t){if(this.parent)return this.parent.getAttribute(t)},as.prototype.can=function(t){if("outdent"===t)return this.hasParents(["blockquote","li"]);if("indent"===t){var e=!!this.parent&&this.parent.nodeName.toLowerCase();if("blockquote"===e)return!1;if("li"===e){var i=this.parent.previousSibling;return i&&"li"===i.nodeName.toLowerCase()}return!1}},as.prototype.apply=function(t,e,i){if(void 0===i&&(i=function(){}),"formatBlock"===t)["BLOCKQUOTE","H1","H2","H3","H4","H5","H6"].includes(e)&&this.is(t,e)&&(t="outdent",e=null),"PRE"===e&&this.is(t,"PRE")&&(e="P");else{if("print"===t){i();var s=window.open();return s.document.write("\n \n \n \n Print - "+document.title+"\n \n \n
"+this.el.innerHTML+"
\n \n \n "),s.print(),void s.close()}if("link"===t){var n=this.getParentAttribute("href");if(n)this.vm.editLinkUrl=n;else{var o=this.selectWord(this.selection),r=o?o.toString():"";if(!r.length)return;this.vm.editLinkUrl=rs.test(r)?r:"",document.execCommand("createLink",!1,""===this.vm.editLinkUrl?" ":this.vm.editLinkUrl)}return this.range.selectNodeContents(this.parent),void this.save()}if("fullscreen"===t)return this.vm.toggleFullscreen(),void i()}document.execCommand(t,!1,e),i()},as.prototype.selectWord=function(t){if(!t.isCollapsed)return t;var e=document.createRange();e.setStart(t.anchorNode,t.anchorOffset),e.setEnd(t.focusNode,t.focusOffset);var i=e.collapsed?["backward","forward"]:["forward","backward"];e.detach();var s=t.focusNode,n=t.focusOffset;return t.collapse(t.anchorNode,t.anchorOffset),t.modify("move",i[0],"character"),t.modify("move",i[1],"word"),t.extend(s,n),t.modify("extend",i[1],"character"),t.modify("extend",i[0],"word"),t},Object.defineProperties(as.prototype,ls);var cs=Object.prototype.toString,hs=Object.prototype.hasOwnProperty,us={};function ds(t){return null===t?String(t):us[cs.call(t)]||"object"}function ps(t){if(!t||"object"!==ds(t))return!1;if(t.constructor&&!hs.call(t,"constructor")&&!hs.call(t.constructor.prototype,"isPrototypeOf"))return!1;var e;for(e in t);return void 0===e||hs.call(t,e)}function fs(){var t,e,i,s,n,o,r=arguments,a=arguments[0]||{},l=1,c=arguments.length,h=!1;for("boolean"==typeof a&&(h=a,a=arguments[1]||{},l=2),Object(a)!==a&&"function"!==ds(a)&&(a={}),c===l&&(a=this,l--);l0},toolbarBackgroundClass:function(){if(this.toolbarBg)return"bg-"+this.toolbarBg},buttonProps:function(){return{outline:this.toolbarOutline,flat:this.toolbarFlat,push:this.toolbarPush,rounded:this.toolbarRounded,dense:!0,color:this.toolbarColor,disable:!this.editable}},buttonDef:function(){var t=this.$q.i18n.editor,e=this.$q.icon.editor;return{bold:{cmd:"bold",icon:e.bold,tip:t.bold,key:66},italic:{cmd:"italic",icon:e.italic,tip:t.italic,key:73},strike:{cmd:"strikeThrough",icon:e.strikethrough,tip:t.strikethrough,key:83},underline:{cmd:"underline",icon:e.underline,tip:t.underline,key:85},unordered:{cmd:"insertUnorderedList",icon:e.unorderedList,tip:t.unorderedList},ordered:{cmd:"insertOrderedList",icon:e.orderedList,tip:t.orderedList},subscript:{cmd:"subscript",icon:e.subscript,tip:t.subscript,htmlTip:"x2"},superscript:{cmd:"superscript",icon:e.superscript,tip:t.superscript,htmlTip:"x2"},link:{cmd:"link",icon:e.hyperlink,tip:t.hyperlink,key:76},fullscreen:{cmd:"fullscreen",icon:e.toggleFullscreen,tip:t.toggleFullscreen,key:70},quote:{cmd:"formatBlock",param:"BLOCKQUOTE",icon:e.quote,tip:t.quote,key:81},left:{cmd:"justifyLeft",icon:e.left,tip:t.left},center:{cmd:"justifyCenter",icon:e.center,tip:t.center},right:{cmd:"justifyRight",icon:e.right,tip:t.right},justify:{cmd:"justifyFull",icon:e.justify,tip:t.justify},print:{type:"no-state",cmd:"print",icon:e.print,tip:t.print,key:80},outdent:{type:"no-state",disable:function(t){return t.caret&&!t.caret.can("outdent")},cmd:"outdent",icon:e.outdent,tip:t.outdent},indent:{type:"no-state",disable:function(t){return t.caret&&!t.caret.can("indent")},cmd:"indent",icon:e.indent,tip:t.indent},removeFormat:{type:"no-state",cmd:"removeFormat",icon:e.removeFormat,tip:t.removeFormat},hr:{type:"no-state",cmd:"insertHorizontalRule",icon:e.hr,tip:t.hr},undo:{type:"no-state",cmd:"undo",icon:e.undo,tip:t.undo,key:90},redo:{type:"no-state",cmd:"redo",icon:e.redo,tip:t.redo,key:89},h1:{cmd:"formatBlock",param:"H1",icon:e.header,tip:t.header1,htmlTip:'

'+t.header1+"

"},h2:{cmd:"formatBlock",param:"H2",icon:e.header,tip:t.header2,htmlTip:'

'+t.header2+"

"},h3:{cmd:"formatBlock",param:"H3",icon:e.header,tip:t.header3,htmlTip:'

'+t.header3+"

"},h4:{cmd:"formatBlock",param:"H4",icon:e.header,tip:t.header4,htmlTip:'

'+t.header4+"

"},h5:{cmd:"formatBlock",param:"H5",icon:e.header,tip:t.header5,htmlTip:'
'+t.header5+"
"},h6:{cmd:"formatBlock",param:"H6",icon:e.header,tip:t.header6,htmlTip:'
'+t.header6+"
"},p:{cmd:"formatBlock",param:"DIV",icon:e.header,tip:t.paragraph},code:{cmd:"formatBlock",param:"PRE",icon:e.code,tip:""+t.code+""},"size-1":{cmd:"fontSize",param:"1",icon:e.size,tip:t.size1,htmlTip:''+t.size1+""},"size-2":{cmd:"fontSize",param:"2",icon:e.size,tip:t.size2,htmlTip:''+t.size2+""},"size-3":{cmd:"fontSize",param:"3",icon:e.size,tip:t.size3,htmlTip:''+t.size3+""},"size-4":{cmd:"fontSize",param:"4",icon:e.size,tip:t.size4,htmlTip:''+t.size4+""},"size-5":{cmd:"fontSize",param:"5",icon:e.size,tip:t.size5,htmlTip:''+t.size5+""},"size-6":{cmd:"fontSize",param:"6",icon:e.size,tip:t.size6,htmlTip:''+t.size6+""},"size-7":{cmd:"fontSize",param:"7",icon:e.size,tip:t.size7,htmlTip:''+t.size7+""}}},buttons:function(){var t=this,e=this.definitions||{},i=this.definitions||this.fonts?fs(!0,{},this.buttonDef,e,function(t,e,i,s){void 0===s&&(s={});var n=Object.keys(s);if(0===n.length)return{};var o={default_font:{cmd:"fontName",param:t,icon:i,tip:e}};return n.forEach(function(t){var e=s[t];o[t]={cmd:"fontName",param:e,icon:i,tip:e,htmlTip:''+e+""}}),o}(this.defaultFont,this.$q.i18n.editor.defaultFont,this.$q.icon.editor.font,this.fonts)):this.buttonDef;return this.toolbar.map(function(s){return s.map(function(s){if(s.options)return{type:"dropdown",icon:s.icon,label:s.label,fixedLabel:s.fixedLabel,fixedIcon:s.fixedIcon,highlight:s.highlight,list:s.list,options:s.options.map(function(t){return i[t]})};var n=i[s];return n?"no-state"===n.type||e[s]&&(void 0===n.cmd||t.buttonDef[n.cmd]&&"no-state"===t.buttonDef[n.cmd].type)?n:fs(!0,{type:"toggle"},n):{type:"slot",slot:s}})})},keys:function(){var t={},e=function(e){e.key&&(t[e.key]={cmd:e.cmd,param:e.param})};return this.buttons.forEach(function(t){t.forEach(function(t){t.options?t.options.forEach(e):e(t)})}),t},innerStyle:function(){return this.inFullscreen?this.contentStyle:[{minHeight:this.minHeight,height:this.height,maxHeight:this.maxHeight},this.contentStyle]},innerClass:function(){return[this.contentClass,{col:this.inFullscreen,"overflow-auto":this.inFullscreen||this.maxHeight}]}},data:function(){return{editWatcher:!0,editLinkUrl:null}},watch:{value:function(t){this.editWatcher?this.$refs.content.innerHTML=t:this.editWatcher=!0}},methods:{onInput:function(t){if(this.editWatcher){var e=this.$refs.content.innerHTML;e!==this.value&&(this.editWatcher=!1,this.$emit("input",e))}},onKeydown:function(t){var e=E(t);if(!t.ctrlKey)return this.refreshToolbar(),void(this.$q.platform.is.ie&&this.$nextTick(this.onInput));var i=this.keys[e];if(void 0!==i){var s=i.cmd,n=i.param;H(t),this.runCmd(s,n,!1),this.$q.platform.is.ie&&this.$nextTick(this.onInput)}},runCmd:function(t,e,i){var s=this;void 0===i&&(i=!0),this.focus(),this.caret.apply(t,e,function(){s.focus(),i&&s.refreshToolbar()})},refreshToolbar:function(){var t=this;setTimeout(function(){t.editLinkUrl=null,t.$forceUpdate()},1)},focus:function(){this.$refs.content.focus()},getContentEl:function(){return this.$refs.content}},created:function(){i||(document.execCommand("defaultParagraphSeparator",!1,"div"),this.defaultFont=window.getComputedStyle(document.body).fontFamily)},mounted:function(){var t=this;this.$nextTick(function(){t.$refs.content&&(t.caret=new as(t.$refs.content,t),t.$refs.content.innerHTML=t.value),t.$nextTick(t.refreshToolbar)})},render:function(t){var e,s=this;if(this.hasToolbar){var n={staticClass:"q-editor-toolbar row no-wrap scroll-x",class:[{"q-editor-toolbar-separator":!this.toolbarOutline&&!this.toolbarPush},this.toolbarBackgroundClass]};(e=[]).push(t("div",fs({key:"qedt_top"},n),[t("div",{staticClass:"row no-wrap q-editor-toolbar-padding fit items-center"},ns(t,this))])),null!==this.editLinkUrl&&e.push(t("div",fs({key:"qedt_btm"},n),[t("div",{staticClass:"row no-wrap q-editor-toolbar-padding fit items-center"},function(t,e){if(e.caret){var i=e.toolbarColor||e.toolbarTextColor,s=e.editLinkUrl,n=function(){e.caret.restore(),s!==e.editLinkUrl&&document.execCommand("createLink",!1,""===s?" ":s),e.editLinkUrl=null};return[t("div",{staticClass:"q-mx-xs",class:"text-"+i},[e.$q.i18n.editor.url+": "]),t(Ui,{key:"qedt_btm_input",staticClass:"q-ma-none q-pa-none col q-editor-input",props:{value:s,color:i,autofocus:!0,hideUnderline:!0},on:{input:function(t){s=t},keydown:function(t){switch(E(t)){case 13:return t.preventDefault(),n();case 27:e.caret.restore(),!e.editLinkUrl&&document.execCommand("unlink"),e.editLinkUrl=null}}}}),t(de,{key:"qedt_btm_grp",props:e.buttonProps},[t(Ut,{key:"qedt_btm_rem",attrs:{tabindex:-1},props:Object.assign({},e.buttonProps,{label:e.$q.i18n.label.remove,noCaps:!0}),on:{click:function(){e.caret.restore(),document.execCommand("unlink"),e.editLinkUrl=null}}}),t(Ut,{key:"qedt_btm_upd",props:Object.assign({},e.buttonProps,{label:e.$q.i18n.label.update,noCaps:!0}),on:{click:n}})])]}}(t,this))])),e=t("div",e)}return t("div",{staticClass:"q-editor",style:{height:this.inFullscreen?"100vh":null},class:{disabled:this.disable,fullscreen:this.inFullscreen,column:this.inFullscreen}},[e,t("div",{ref:"content",staticClass:"q-editor-content",style:this.innerStyle,class:this.innerClass,attrs:{contenteditable:this.editable},domProps:i?{innerHTML:this.value}:void 0,on:{input:this.onInput,keydown:this.onKeydown,click:this.refreshToolbar,blur:function(){s.caret.save()}}})])}},vs={props:{outline:Boolean,push:Boolean,flat:Boolean,color:String,textColor:String,glossy:Boolean}},gs={name:"QFab",mixins:[vs,P],provide:function(){var t=this;return{__qFabClose:function(e){return t.hide(e).then(function(){return t.$refs.trigger&&t.$refs.trigger.$el&&t.$refs.trigger.$el.focus(),e})}}},props:{icon:String,activeIcon:String,direction:{type:String,default:"right"},persistent:Boolean},watch:{$route:function(){!this.persistent&&this.hide()}},created:function(){this.value&&this.show()},render:function(t){return t("div",{staticClass:"q-fab z-fab row inline justify-center",class:{"q-fab-opened":this.showing}},[t(Ut,{ref:"trigger",props:{fab:!0,outline:this.outline,push:this.push,flat:this.flat,color:this.color,textColor:this.textColor,glossy:this.glossy},on:{click:this.toggle}},[this.$slots.tooltip,t(ut,{staticClass:"q-fab-icon absolute-full",props:{name:this.icon||this.$q.icon.fab.icon}}),t(ut,{staticClass:"q-fab-active-icon absolute-full",props:{name:this.activeIcon||this.$q.icon.fab.activeIcon}})]),t("div",{staticClass:"q-fab-actions flex no-wrap inline items-center",class:"q-fab-"+this.direction},this.$slots.default)])}},bs={name:"QFabAction",mixins:[vs],props:{icon:{type:String,required:!0}},inject:{__qFabClose:{default:function(){console.error("QFabAction needs to be child of QFab")}}},methods:{click:function(t){var e=this;this.__qFabClose().then(function(){e.$emit("click",t)})}},render:function(t){return t(Ut,{props:{fabMini:!0,outline:this.outline,push:this.push,flat:this.flat,color:this.color,textColor:this.textColor,glossy:this.glossy,icon:this.icon},on:{click:this.click}},this.$slots.default)}},_s={name:"QField",mixins:[ne],props:{inset:{type:String,validator:function(t){return["icon","label","full"].includes(t)}},label:String,count:{type:[Number,Boolean],default:!1},error:Boolean,errorLabel:String,warning:Boolean,warningLabel:String,helper:String,icon:String,iconColor:String,dark:Boolean,orientation:{type:String,validator:function(t){return["vertical","horizontal"].includes(t)}},labelWidth:{type:[Number,String],default:5,validator:function(t){var e=parseInt(t,10);return e>0&&e<13}}},data:function(){return{input:{}}},computed:{hasError:function(){return this.input.error||this.error},hasWarning:function(){return!this.hasError&&(this.input.warning||this.warning)},childHasLabel:function(){return this.input.floatLabel||this.input.stackLabel},isDark:function(){return this.input.dark||this.dark},insetIcon:function(){return["icon","full"].includes(this.inset)},hasNoInput:function(){return this.canRender&&(!this.input.$options||this.input.__needsBorder)},counter:function(){if(this.count){var t=this.input.length||"0";return Number.isInteger(this.count)?t+" / "+this.count:t}},classes:function(){return{"q-field-responsive":!this.isVertical&&!this.isHorizontal,"q-field-vertical":this.isVertical,"q-field-horizontal":this.isHorizontal,"q-field-floating":this.childHasLabel,"q-field-no-label":!this.label&&!this.$slots.label,"q-field-with-error":this.hasError,"q-field-with-warning":this.hasWarning,"q-field-dark":this.isDark,"q-field-no-input":this.hasNoInput}},computedLabelWidth:function(){return parseInt(this.labelWidth,10)},isVertical:function(){return"vertical"===this.orientation||12===this.computedLabelWidth},isHorizontal:function(){return"horizontal"===this.orientation},labelClasses:function(){return this.isVertical?"col-12":this.isHorizontal?"col-"+this.labelWidth:"col-xs-12 col-sm-"+this.labelWidth},inputClasses:function(){return this.isVertical?"col-xs-12":this.isHorizontal?"col":"col-xs-12 col-sm"},iconProps:function(){var t={name:this.icon};return!this.iconColor||this.hasError||this.hasWarning||(t.color=this.iconColor),t},insetHasLabel:function(){return["label","full"].includes(this.inset)}},provide:function(){return{__field:this}},methods:{__registerInput:function(t){this.input=t},__unregisterInput:function(t){t&&t!==this.input||(this.input={})},__getBottomContent:function(t){var e;return this.hasError&&(e=this.$slots["error-label"]||this.errorLabel)?t("div",{staticClass:"q-field-error col"},e):this.hasWarning&&(e=this.$slots["warning-label"]||this.warningLabel)?t("div",{staticClass:"q-field-warning col"},e):(e=this.$slots.helper||this.helper)?t("div",{staticClass:"q-field-helper col"},e):t("div",{staticClass:"col text-transparent"},["|"])},__hasBottom:function(){return this.$slots["error-label"]||this.errorLabel||this.$slots["warning-label"]||this.warningLabel||this.$slots.helper||this.helper||this.count}},render:function(t){var e=this.$slots.label||this.label;return t("div",{staticClass:"q-field row no-wrap items-start",class:this.classes},[this.icon?t(ut,{props:this.iconProps,staticClass:"q-field-icon q-field-margin"}):this.insetIcon?t("div",{staticClass:"q-field-icon"}):null,t("div",{staticClass:"row col"},[e||this.insetHasLabel?t("div",{staticClass:"q-field-label q-field-margin",class:this.labelClasses},[t("div",{staticClass:"q-field-label-inner row items-center"},[this.$slots.label||this.label])]):null,t("div",{staticClass:"q-field-content",class:this.inputClasses},[this.$slots.default,this.__hasBottom()?t("div",{staticClass:"q-field-bottom row no-wrap"},[this.__getBottomContent(t),this.counter?t("div",{staticClass:"q-field-counter col-auto"},[this.counter]):null]):null])])])}},ys={name:"QInfiniteScroll",props:{handler:{type:Function,required:!0},inline:Boolean,offset:{type:Number,default:0}},data:function(){return{index:0,fetching:!1,working:!0}},methods:{poll:function(){if(!this.fetching&&this.working){var t=V(this.scrollContainer),e=A(this.scrollContainer).top+t;A(this.element).top+V(this.element)-(this.offset||t)-1?"radial":"linear"},computedStyle:function(){return this.imgSrc?{"background-image":"url("+this.imgSrc+")"}:this.gradientType?{background:this.gradientType+"-gradient("+this.gradient+")"}:void 0}},render:function(t){return t(this.tag,{staticClass:"q-jumbotron",style:this.computedStyle,class:{"q-jumbotron-dark":this.dark}},this.$slots.default)}},ks={name:"QKnob",directives:{TouchPan:we},props:{value:Number,min:{type:Number,default:0},max:{type:Number,default:100},color:String,trackColor:{type:String,default:"grey-3"},lineWidth:{type:String,default:"6px"},size:{type:String,default:"100px"},step:{type:Number,default:1},decimals:Number,disable:Boolean,readonly:Boolean},computed:{classes:function(){var t=[];return this.disable&&t.push("disabled"),this.readonly||t.push("cursor-pointer"),this.color&&t.push("text-"+this.color),t},svgStyle:function(){return{"stroke-dasharray":"295.31px, 295.31px","stroke-dashoffset":295.31*(this.$q.i18n.rtl?-1:1)*(1-(this.model-this.min)/(this.max-this.min))+"px",transition:this.dragging?"":"stroke-dashoffset 0.6s ease 0s, stroke 0.6s ease"}},editable:function(){return!this.disable&&!this.readonly},computedDecimals:function(){return void 0!==this.decimals?this.decimals||0:(String(this.step).trim("0").split(".")[1]||"").length},computedStep:function(){return void 0!==this.decimals?1/Math.pow(10,this.decimals||0):this.step}},data:function(){return{model:this.value,dragging:!1}},watch:{value:function(t){var e=this;if(tthis.max)){var i=this.computedDecimals&&"number"==typeof t?parseFloat(t.toFixed(this.computedDecimals)):t;return void(i!==this.model&&(this.model=i))}this.model=this.max}this.$emit("input",this.model),this.$nextTick(function(){e.model!==e.value&&e.$emit("change",e.model)})}},methods:{__pan:function(t){this.editable&&(t.isFinal?this.__dragStop(t.evt):t.isFirst?this.__dragStart(t.evt):this.__dragMove(t.evt))},__dragStart:function(t){this.editable&&(H(t),this.centerPosition=this.__getCenter(),clearTimeout(this.timer),this.dragging=!0,this.__onInput(t))},__dragMove:function(t){this.dragging&&this.editable&&(H(t),this.__onInput(t,this.centerPosition))},__dragStop:function(t){var e=this;this.editable&&(H(t),this.timer=setTimeout(function(){e.dragging=!1},100),this.__onInput(t,this.centerPosition,!0))},__onKeyDown:function(t){var e=t.keyCode;if(this.editable&&[37,40,39,38].includes(e)){H(t);var i=t.ctrlKey?10*this.computedStep:this.computedStep,s=[37,40].includes(e)?-i:i;this.__onInputValue(Tt(this.model+s,this.min,this.max))}},__onKeyUp:function(t){var e=t.keyCode;this.editable&&[37,40,39,38].includes(e)&&this.__emitChange()},__onInput:function(t,e,i){if(void 0===e&&(e=this.__getCenter()),this.editable){var s=N(t),n=Math.abs(s.top-e.top),o=Math.sqrt(Math.pow(Math.abs(s.top-e.top),2)+Math.pow(Math.abs(s.left-e.left),2)),r=Math.asin(n/o)*(180/Math.PI);r=s.top=this.step/2?(l<0?-1:1)*this.step:0),this.min,this.max);this.__onInputValue(c,i)}},__onInputValue:function(t,e){this.computedDecimals&&(t=parseFloat(t.toFixed(this.computedDecimals))),this.model!==t&&(this.model=t),this.$emit("drag-value",t),this.value!==t&&(this.$emit("input",t),e&&this.__emitChange(t))},__emitChange:function(t){var e=this;void 0===t&&(t=this.model),this.$nextTick(function(){JSON.stringify(t)!==JSON.stringify(e.value)&&e.$emit("change",t)})},__getCenter:function(){var t=A(this.$el);return{top:t.top+V(this.$el)/2,left:t.left+j(this.$el)/2}}},render:function(t){var e=this;return t("div",{staticClass:"q-knob non-selectable",class:this.classes,style:{width:this.size,height:this.size}},[t("div",{on:{click:function(t){return!e.dragging&&e.__onInput(t,void 0,!0)}},directives:this.editable?[{name:"touch-pan",modifiers:{prevent:!0,stop:!0},value:this.__pan}]:null},[t("svg",{attrs:{viewBox:"0 0 100 100"}},[t("path",{attrs:{d:"M 50,50 m 0,-47 a 47,47 0 1 1 0,94 a 47,47 0 1 1 0,-94","fill-opacity":"0",stroke:"currentColor","stroke-width":this.lineWidth},class:"text-"+this.trackColor}),t("path",{attrs:{d:"M 50,50 m 0,-47 a 47,47 0 1 1 0,94 a 47,47 0 1 1 0,-94","fill-opacity":"0",stroke:"currentColor","stroke-linecap":"round","stroke-width":this.lineWidth},style:this.svgStyle})]),t("div",{staticClass:"q-knob-label row flex-center content-center",attrs:{tabindex:this.editable?0:-1},on:{keydown:this.__onKeyDown,keyup:this.__onKeyUp}},this.$slots.default||[t("span",[this.model])])])])}},xs={name:"QScrollObservable",props:{debounce:Number},render:function(){},data:function(){return{pos:0,dir:"down",dirChanged:!1,dirChangePos:0}},methods:{getPosition:function(){return{position:this.pos,direction:this.dir,directionChanged:this.dirChanged,inflexionPosition:this.dirChangePos}},trigger:function(t){!0===t||0===this.debounce?this.emit():this.timer||(this.timer=this.debounce?setTimeout(this.emit,this.debounce):requestAnimationFrame(this.emit))},emit:function(){var t=Math.max(0,G(this.target)),e=t-this.pos<0?"up":"down";this.dirChanged=this.dir!==e,this.dirChanged&&(this.dir=e,this.dirChangePos=this.pos),this.timer=null,this.pos=t,this.$emit("scroll",this.getPosition())}},mounted:function(){this.target=J(this.$el.parentNode),this.target.addEventListener("scroll",this.trigger,L.passive),this.trigger(!0)},beforeDestroy:function(){clearTimeout(this.timer),cancelAnimationFrame(this.timer),this.target.removeEventListener("scroll",this.trigger,L.passive)}},Ss={name:"QLayout",provide:function(){return{layout:this}},props:{container:Boolean,view:{type:String,default:"hhh lpr fff",validator:function(t){return/^(h|l)h(h|r) lpr (f|l)f(f|r)$/.test(t.toLowerCase())}}},data:function(){return{height:n?0:window.innerHeight,width:n||this.container?0:window.innerWidth,containerHeight:0,scrollbarWidth:n?0:et(),header:{size:0,offset:0,space:!1},right:{size:300,offset:0,space:!1},footer:{size:0,offset:0,space:!1},left:{size:300,offset:0,space:!1},scroll:{position:0,direction:"down"}}},computed:{rows:function(){var t=this.view.toLowerCase().split(" ");return{top:t[0].split(""),middle:t[1].split(""),bottom:t[2].split("")}},targetStyle:function(){var t;if(0!==this.scrollbarWidth)return(t={})[this.$q.i18n.rtl?"left":"right"]=this.scrollbarWidth+"px",t},targetChildStyle:function(){var t;if(0!==this.scrollbarWidth)return(t={})[this.$q.i18n.rtl?"right":"left"]=0,t[this.$q.i18n.rtl?"left":"right"]="-"+this.scrollbarWidth+"px",t.width="calc(100% + "+this.scrollbarWidth+"px)",t}},created:function(){this.instances={header:null,right:null,footer:null,left:null}},render:function(t){var e=t("div",{staticClass:"q-layout"},[t(xs,{on:{scroll:this.__onPageScroll}}),t(Ki,{on:{resize:this.__onPageResize}}),this.$slots.default]);return this.container?t("div",{staticClass:"q-layout-container relative-position overflow-hidden"},[t(Ki,{on:{resize:this.__onContainerResize}}),t("div",{staticClass:"absolute-full",style:this.targetStyle},[t("div",{staticClass:"overflow-auto",style:this.targetChildStyle},[e])])]):e},methods:{__animate:function(){var t=this;this.timer?clearTimeout(this.timer):document.body.classList.add("q-layout-animate"),this.timer=setTimeout(function(){document.body.classList.remove("q-layout-animate"),t.timer=null},150)},__onPageScroll:function(t){this.scroll=t,this.$emit("scroll",t)},__onPageResize:function(t){var e=t.height,i=t.width,s=!1;this.height!==e&&(s=!0,this.height=e,this.$emit("scrollHeight",e),this.__updateScrollbarWidth()),this.width!==i&&(s=!0,this.width=i),s&&this.$emit("resize",{height:e,width:i})},__onContainerResize:function(t){var e=t.height;this.containerHeight!==e&&(this.containerHeight=e,this.__updateScrollbarWidth())},__updateScrollbarWidth:function(){if(this.container){var t=this.height>this.containerHeight?et():0;this.scrollbarWidth!==t&&(this.scrollbarWidth=t)}}}},qs={name:"QLayoutDrawer",inject:{layout:{default:function(){console.error("QLayoutDrawer needs to be child of QLayout")}}},mixins:[P],directives:{TouchPan:we},props:{overlay:Boolean,side:{type:String,default:"left",validator:function(t){return["left","right"].includes(t)}},width:{type:Number,default:300},mini:Boolean,miniWidth:{type:Number,default:60},breakpoint:{type:Number,default:992},behavior:{type:String,validator:function(t){return["default","desktop","mobile"].includes(t)},default:"default"},showIfAbove:Boolean,contentStyle:Object,contentClass:[String,Object,Array],noHideOnRouteChange:Boolean,noSwipeOpen:Boolean,noSwipeClose:Boolean},data:function(){var t=this.showIfAbove||void 0===this.value||this.value,e="mobile"!==this.behavior&&this.breakpoint=this.layout.width,largeScreenState:t,mobileOpened:!1}},watch:{belowBreakpoint:function(t){this.mobileOpened||(t?(this.overlay||(this.largeScreenState=this.showing),this.hide(!1)):this.overlay||this[this.largeScreenState?"show":"hide"](!1))},side:function(t,e){this.layout[e].space=!1,this.layout[e].offset=0},behavior:function(t){this.__updateLocal("belowBreakpoint","mobile"===t||"desktop"!==t&&this.breakpoint>=this.layout.width)},breakpoint:function(t){this.__updateLocal("belowBreakpoint","mobile"===this.behavior||"desktop"!==this.behavior&&t>=this.layout.width)},"layout.width":function(t){this.__updateLocal("belowBreakpoint","mobile"===this.behavior||"desktop"!==this.behavior&&this.breakpoint>=t)},"layout.scrollbarWidth":function(){this.applyPosition(this.showing?0:void 0)},offset:function(t){this.__update("offset",t)},onLayout:function(t){this.$emit("on-layout",t),this.__update("space",t)},$route:function(){this.noHideOnRouteChange||(this.mobileOpened||this.onScreenOverlay)&&this.hide()},rightSide:function(){this.applyPosition()},size:function(t){this.applyPosition(),this.__update("size",t)},"$q.i18n.rtl":function(){this.applyPosition()},mini:function(){this.value&&this.layout.__animate()}},computed:{rightSide:function(){return"right"===this.side},offset:function(){return!this.showing||this.mobileOpened||this.overlay?0:this.size},size:function(){return this.isMini?this.miniWidth:this.width},fixed:function(){return this.overlay||this.layout.view.indexOf(this.rightSide?"R":"L")>-1},onLayout:function(){return this.showing&&!this.mobileView&&!this.overlay},onScreenOverlay:function(){return this.showing&&!this.mobileView&&this.overlay},backdropClass:function(){return{"no-pointer-events":!this.showing||!this.mobileView}},mobileView:function(){return this.belowBreakpoint||this.mobileOpened},headerSlot:function(){return!this.overlay&&(this.rightSide?"r"===this.layout.rows.top[2]:"l"===this.layout.rows.top[0])},footerSlot:function(){return!this.overlay&&(this.rightSide?"r"===this.layout.rows.bottom[2]:"l"===this.layout.rows.bottom[0])},belowClass:function(){return{fixed:!0,"on-top":!0,"q-layout-drawer-delimiter":this.fixed&&this.showing,"q-layout-drawer-mobile":!0,"top-padding":!0}},aboveClass:function(){return{fixed:this.fixed||!this.onLayout,"q-layout-drawer-mini":this.isMini,"q-layout-drawer-normal":!this.isMini,"q-layout-drawer-delimiter":this.fixed&&this.showing,"top-padding":this.headerSlot}},aboveStyle:function(){var t={};return this.layout.header.space&&!this.headerSlot&&(this.fixed?t.top=this.layout.header.offset+"px":this.layout.header.space&&(t.top=this.layout.header.size+"px")),this.layout.footer.space&&!this.footerSlot&&(this.fixed?t.bottom=this.layout.footer.offset+"px":this.layout.footer.space&&(t.bottom=this.layout.footer.size+"px")),t},computedStyle:function(){return[this.contentStyle,{width:this.size+"px"},this.mobileView?"":this.aboveStyle]},computedClass:function(){return["q-layout-drawer-"+this.side,this.layout.container?"overflow-auto":"scroll",this.contentClass,this.mobileView?this.belowClass:this.aboveClass]},stateDirection:function(){return(this.$q.i18n.rtl?-1:1)*(this.rightSide?1:-1)},isMini:function(){return this.mini&&!this.mobileView},onNativeEvents:function(){var t=this;if(!this.mobileView)return{"!click":function(e){t.$emit("click",e)},mouseover:function(e){t.$emit("mouseover",e)},mouseout:function(e){t.$emit("mouseout",e)}}}},methods:{applyPosition:function(t){var e=this;void 0===t?this.$nextTick(function(){t=e.showing?0:e.size,e.applyPosition(e.stateDirection*t)}):this.$refs.content&&(this.layout.container&&this.rightSide&&(this.mobileView||Math.abs(t)===this.size)&&(t+=this.stateDirection*this.layout.scrollbarWidth),this.$refs.content.style.transform="translateX("+t+"px)")},applyBackdrop:function(t){this.$refs.backdrop&&(this.$refs.backdrop.style.backgroundColor="rgba(0,0,0,"+.4*t+")")},__setScrollable:function(t){this.layout.container||document.body.classList[t?"add":"remove"]("q-body-drawer-toggle")},__openByTouch:function(t){if(this.belowBreakpoint){var e=this.size,i=Tt(t.distance.x,0,e);if(t.isFinal){var s=this.$refs.content,n=i>=Math.min(75,e);return s.classList.remove("no-transition"),void(n?this.show():(this.layout.__animate(),this.applyBackdrop(0),this.applyPosition(this.stateDirection*e),s.classList.remove("q-layout-drawer-delimiter")))}if(this.applyPosition((this.$q.i18n.rtl?!this.rightSide:this.rightSide)?Math.max(e-i,0):Math.min(0,i-e)),this.applyBackdrop(Tt(i/e,0,1)),t.isFirst){var o=this.$refs.content;o.classList.add("no-transition"),o.classList.add("q-layout-drawer-delimiter")}}},__closeByTouch:function(t){if(this.mobileOpened){var e=this.size,i=t.direction===this.side,s=(this.$q.i18n.rtl?!i:i)?Tt(t.distance.x,0,e):0;if(t.isFinal){var n=Math.abs(s)-1||this.layout.container},containerHeight:function(){return this.layout.container?this.layout.containerHeight:this.windowHeight},offset:function(){if(!this.canRender||!this.value)return 0;if(this.fixed)return this.revealed?this.size:0;var t=this.layout.scroll.position+this.containerHeight+this.size-this.layout.height;return t>0?t:0},computedClass:function(){return{"fixed-bottom":this.fixed,"absolute-bottom":!this.fixed,hidden:!this.value&&!this.fixed,"q-layout-footer-hidden":!this.canRender||!this.value||this.fixed&&!this.revealed}},computedStyle:function(){var t=this.layout.rows.bottom,e={};return"l"===t[0]&&this.layout.left.space&&(e[this.$q.i18n.rtl?"right":"left"]=this.layout.left.size+"px"),"r"===t[2]&&this.layout.right.space&&(e[this.$q.i18n.rtl?"left":"right"]=this.layout.right.size+"px"),e}},render:function(t){return t("footer",{staticClass:"q-layout-footer q-layout-marginal q-layout-transition",class:this.computedClass,style:this.computedStyle},[t(Ki,{props:{debounce:0},on:{resize:this.__onResize}}),!this.layout.container&&t($s,{props:{debounce:0},on:{resize:this.__onWindowResize}})||void 0,this.$slots.default])},created:function(){this.layout.instances.footer=this,this.__update("space",this.value),this.__update("offset",this.offset)},beforeDestroy:function(){this.layout.instances.footer===this&&(this.layout.instances.footer=null,this.__update("size",0),this.__update("offset",0),this.__update("space",!1))},methods:{__onResize:function(t){var e=t.height;this.__updateLocal("size",e),this.__update("size",e)},__onWindowResize:function(t){var e=t.height;this.__updateLocal("windowHeight",e)},__update:function(t,e){this.layout.footer[t]!==e&&(this.layout.footer[t]=e)},__updateLocal:function(t,e){this[t]!==e&&(this[t]=e)},__updateRevealed:function(){if(this.reveal){var t=this.layout.scroll,e=t.direction,i=t.position,s=t.inflexionPosition;this.__updateLocal("revealed","up"===e||i-s<100||this.layout.height-this.containerHeight-i-this.size<300)}}}},Ms={name:"QLayoutHeader",mixins:[ne],inject:{layout:{default:function(){console.error("QLayoutHeader needs to be child of QLayout")}}},props:{value:{type:Boolean,default:!0},reveal:Boolean,revealOffset:{type:Number,default:250}},data:function(){return{size:0,revealed:!0}},watch:{value:function(t){this.__update("space",t),this.__updateLocal("revealed",!0),this.layout.__animate()},offset:function(t){this.__update("offset",t)},reveal:function(t){t||this.__updateLocal("revealed",this.value)},revealed:function(t){this.layout.__animate(),this.$emit("reveal",t)},"layout.scroll":function(t){this.reveal&&this.__updateLocal("revealed","up"===t.direction||t.position<=this.revealOffset||t.position-t.inflexionPosition<100)}},computed:{fixed:function(){return this.reveal||this.layout.view.indexOf("H")>-1||this.layout.container},offset:function(){if(!this.canRender||!this.value)return 0;if(this.fixed)return this.revealed?this.size:0;var t=this.size-this.layout.scroll.position;return t>0?t:0},computedClass:function(){return{"fixed-top":this.fixed,"absolute-top":!this.fixed,"q-layout-header-hidden":!this.canRender||!this.value||this.fixed&&!this.revealed}},computedStyle:function(){var t=this.layout.rows.top,e={};return"l"===t[0]&&this.layout.left.space&&(e[this.$q.i18n.rtl?"right":"left"]=this.layout.left.size+"px"),"r"===t[2]&&this.layout.right.space&&(e[this.$q.i18n.rtl?"left":"right"]=this.layout.right.size+"px"),e}},render:function(t){return t("header",{staticClass:"q-layout-header q-layout-marginal q-layout-transition",class:this.computedClass,style:this.computedStyle},[t(Ki,{props:{debounce:0},on:{resize:this.__onResize}}),this.$slots.default])},created:function(){this.layout.instances.header=this,this.__update("space",this.value),this.__update("offset",this.offset)},beforeDestroy:function(){this.layout.instances.header===this&&(this.layout.instances.header=null,this.__update("size",0),this.__update("offset",0),this.__update("space",!1))},methods:{__onResize:function(t){var e=t.height;this.__updateLocal("size",e),this.__update("size",e)},__update:function(t,e){this.layout.header[t]!==e&&(this.layout.header[t]=e)},__updateLocal:function(t,e){this[t]!==e&&(this[t]=e)}}},Ps={name:"QPage",inject:{pageContainer:{default:function(){console.error("QPage needs to be child of QPageContainer")}},layout:{}},props:{padding:Boolean,styleFn:Function},computed:{style:function(){var t=(this.layout.header.space?this.layout.header.size:0)+(this.layout.footer.space?this.layout.footer.size:0);return"function"==typeof this.styleFn?this.styleFn(t):{minHeight:this.layout.container?this.layout.containerHeight-t+"px":t?"calc(100vh - "+t+"px)":"100vh"}},classes:function(){if(this.padding)return"layout-padding"}},render:function(t){return t("main",{staticClass:"q-layout-page",style:this.style,class:this.classes},this.$slots.default)}},Ls={name:"QPageContainer",inject:{layout:{default:function(){console.error("QPageContainer needs to be child of QLayout")}}},provide:{pageContainer:!0},computed:{style:function(){var t={};return this.layout.header.space&&(t.paddingTop=this.layout.header.size+"px"),this.layout.right.space&&(t["padding"+(this.$q.i18n.rtl?"Left":"Right")]=this.layout.right.size+"px"),this.layout.footer.space&&(t.paddingBottom=this.layout.footer.size+"px"),this.layout.left.space&&(t["padding"+(this.$q.i18n.rtl?"Right":"Left")]=this.layout.left.size+"px"),t}},render:function(t){return t("div",{staticClass:"q-layout-page-container q-layout-transition",style:this.style},this.$slots.default)}},Bs={name:"QPageSticky",inject:{layout:{default:function(){console.error("QPageSticky needs to be child of QLayout")}}},props:{position:{type:String,default:"bottom-right",validator:function(t){return["top-right","top-left","bottom-right","bottom-left","top","right","bottom","left"].includes(t)}},offset:{type:Array,validator:function(t){return 2===t.length}},expand:Boolean},computed:{attach:function(){var t=this.position;return{top:t.indexOf("top")>-1,right:t.indexOf("right")>-1,bottom:t.indexOf("bottom")>-1,left:t.indexOf("left")>-1,vertical:"top"===t||"bottom"===t,horizontal:"left"===t||"right"===t}},top:function(){return this.layout.header.offset},right:function(){return this.layout.right.offset},bottom:function(){return this.layout.footer.offset},left:function(){return this.layout.left.offset},computedStyle:function(){var t=this.attach,e=[],i=this.$q.i18n.rtl?-1:1;t.top&&this.top?e.push("translateY("+this.top+"px)"):t.bottom&&this.bottom&&e.push("translateY("+-this.bottom+"px)"),t.left&&this.left?e.push("translateX("+i*this.left+"px)"):t.right&&this.right&&e.push("translateX("+-i*this.right+"px)");var s=e.length?{transform:e.join(" ")}:{};return this.offset&&(s.margin=this.offset[1]+"px "+this.offset[0]+"px"),t.vertical?(this.left&&(s[this.$q.i18n.rtl?"right":"left"]=this.left+"px"),this.right&&(s[this.$q.i18n.rtl?"left":"right"]=this.right+"px")):t.horizontal&&(this.top&&(s.top=this.top+"px"),this.bottom&&(s.bottom=this.bottom+"px")),s},classes:function(){return["fixed-"+this.position,"q-page-sticky-"+(this.expand?"expand":"shrink")]}},render:function(t){return t("div",{staticClass:"q-page-sticky q-layout-transition row flex-center",class:this.classes,style:this.computedStyle},this.expand?this.$slots.default:[t("span",this.$slots.default)])}},Es={name:"QListHeader",props:{inset:Boolean},render:function(t){return t("div",{staticClass:"q-list-header",class:{"q-list-header-inset":this.inset}},this.$slots.default)}},Ns={name:"QModalLayout",inject:{__qmodal:{default:function(){console.error("QModalLayout needs to be child of QModal")}}},props:{headerStyle:[String,Object,Array],headerClass:[String,Object,Array],contentStyle:[String,Object,Array],contentClass:[String,Object,Array],footerStyle:[String,Object,Array],footerClass:[String,Object,Array]},watch:{__qmodal:function(t,e){e&&e.unregister(this),t&&t.register(this)}},mounted:function(){this.__qmodal&&this.__qmodal.register(this)},beforeDestroy:function(){this.__qmodal&&this.__qmodal.unregister(this)},render:function(t){var e=[];return(this.$slots.header||this.$slots.navigation)&&e.push(t("div",{staticClass:"q-layout-header",style:this.headerStyle,class:this.headerClass},[this.$slots.header,this.$slots.navigation])),e.push(t("div",{staticClass:"q-modal-layout-content col scroll",style:this.contentStyle,class:this.contentClass},this.$slots.default)),this.$slots.footer&&e.push(t("div",{staticClass:"q-layout-footer",style:this.footerStyle,class:this.footerClass},[this.$slots.footer,null])),t("div",{staticClass:"q-modal-layout col column no-wrap"},e)}},Os={name:"QNoSsr",mixins:[ne],props:{tag:{type:String,default:"div"},placeholder:String},render:function(t){if(this.canRender){var e=this.$slots.default;return e&&e.length>1?t(this.tag,e):e?e[0]:null}if(this.$slots.placeholder){var i=this.$slots.placeholder;return i&&i.length>1?t(this.tag,{staticClass:"q-no-ssr-placeholder"},i):i?i[0]:null}if(this.placeholder)return t(this.tag,{staticClass:"q-no-ssr-placeholder"},[this.placeholder])}},zs={name:"QPagination",props:{value:{type:Number,required:!0},min:{type:Number,default:1},max:{type:Number,required:!0},color:{type:String,default:"primary"},textColor:String,size:String,disable:Boolean,input:Boolean,boundaryLinks:{type:Boolean,default:null},boundaryNumbers:{type:Boolean,default:null},directionLinks:{type:Boolean,default:null},ellipses:{type:Boolean,default:null},maxPages:{type:Number,default:0,validator:function(t){return!(t<0)||(console.error("maxPages should not be negative"),!1)}}},data:function(){return{newPage:null}},watch:{min:function(t){this.model=this.value},max:function(t){this.model=this.value}},computed:{model:{get:function(){return this.value},set:function(t){var e=this;if(!this.disable&&t&&!isNaN(t)){var i=Tt(parseInt(t,10),this.min,this.max);this.$emit("input",i),this.$nextTick(function(){JSON.stringify(i)!==JSON.stringify(e.value)&&e.$emit("change",i)})}}},inputPlaceholder:function(){return this.model+" / "+this.max},__boundaryLinks:function(){return this.__getBool(this.boundaryLinks,this.input)},__boundaryNumbers:function(){return this.__getBool(this.boundaryNumbers,!this.input)},__directionLinks:function(){return this.__getBool(this.directionLinks,this.input)},__ellipses:function(){return this.__getBool(this.ellipses,!this.input)},icons:function(){var t=[this.$q.icon.pagination.first,this.$q.icon.pagination.prev,this.$q.icon.pagination.next,this.$q.icon.pagination.last];return this.$q.i18n.rtl?t.reverse():t}},methods:{set:function(t){this.model=t},setByOffset:function(t){this.model=this.model+t},__update:function(){this.model=this.newPage,this.newPage=null},__getBool:function(t,e){return[!0,!1].includes(t)?t:e},__getBtn:function(t,e,i){return e.props=Object.assign({color:this.color,flat:!0,size:this.size},i),t(Ut,e)}},render:function(t){var e=this,i=[],s=[],n=[];if(this.__boundaryLinks&&(i.push(this.__getBtn(t,{key:"bls",on:{click:function(){return e.set(e.min)}}},{disable:this.disable||this.value<=this.min,icon:this.icons[0]})),s.unshift(this.__getBtn(t,{key:"ble",on:{click:function(){return e.set(e.max)}}},{disable:this.disable||this.value>=this.max,icon:this.icons[3]}))),this.__directionLinks&&(i.push(this.__getBtn(t,{key:"bdp",on:{click:function(){return e.setByOffset(-1)}}},{disable:this.disable||this.value<=this.min,icon:this.icons[1]})),s.unshift(this.__getBtn(t,{key:"bdn",on:{click:function(){return e.setByOffset(1)}}},{disable:this.disable||this.value>=this.max,icon:this.icons[2]}))),this.input)n.push(t(Ui,{staticClass:"inline no-padding",style:{width:this.inputPlaceholder.length+"rem"},props:{type:"number",value:this.newPage,noNumberToggle:!0,min:this.min,max:this.max,color:this.color,placeholder:this.inputPlaceholder,disable:this.disable,hideUnderline:!0},on:{input:function(t){return e.newPage=t},keydown:function(t){return 13===E(t)&&e.__update()},blur:function(){return e.__update()}}}));else{var o=Math.max(this.maxPages,1+(this.__ellipses?2:0)+(this.__boundaryNumbers?2:0)),r=this.min,a=this.max,l=!1,c=!1,h=!1,u=!1;this.maxPages&&othis.min+(this.__boundaryNumbers?1:0)&&(l=!0,r+=1),this.__boundaryNumbers&&(u=!0,a-=1),this.__ellipses&&a=0&&t<=1}}},data:function(){return{scrolling:!1}},watch:{height:function(){this.__updatePos()}},methods:{__onResize:function(){this.scrollTarget&&(this.mediaHeight=this.media.naturalHeight||V(this.media),this.__updatePos())},__updatePos:function(){var t,e,i,s;if(this.scrollTarget===window?(t=0,i=e=window.innerHeight):i=(t=A(this.scrollTarget).top)+(e=V(this.scrollTarget)),(s=A(this.$el).top)+this.height>t&&sthis.distance?"pulled":"pull"}},__animateTo:function(t,e,i){var s=this;!i&&this.animationId&&cancelAnimationFrame(this.animating),this.pullPosition-=(this.pullPosition-t)/7,this.pullPosition-t>1?this.animating=requestAnimationFrame(function(){s.__animateTo(t,e,!0)}):this.animating=requestAnimationFrame(function(){s.pullPosition=t,s.animating=!1,e&&e()})},trigger:function(){var t=this;this.handler(function(){t.__animateTo(-65,function(){t.state="pull"})})},setScrollContainer:function(t){var e=this;this.$nextTick(function(){e.scrollContainer=t?e.$el.parentNode:J(e.$el)})}},mounted:function(){this.setScrollContainer(this.inline)},render:function(t){return t("div",{staticClass:"pull-to-refresh overflow-hidden-y"},[t("div",{staticClass:"pull-to-refresh-container",style:this.style,directives:this.disable?null:[{name:"touch-pan",modifiers:{vertical:!0,mightPrevent:!0},value:this.__pull}]},[t("div",{staticClass:"pull-to-refresh-message row flex-center",class:this.messageClass},[t(ut,{class:{"rotate-180":"pulled"===this.state},props:{name:this.$q.icon.pullToRefresh.arrow},directives:[{name:"show",value:"refreshing"!==this.state}]}),t(ut,{staticClass:"animate-spin",props:{name:this.refreshIcon||this.$q.icon.pullToRefresh.refresh},directives:[{name:"show",value:"refreshing"===this.state}]})," "+this.message]),this.$slots.default])])}},As=0,Qs=1,Vs=2,js={name:"QRange",mixins:[oi],props:{value:{type:Object,default:function(){return{min:0,max:0}},validator:function(t){return t.hasOwnProperty("min")&&t.hasOwnProperty("max")}},dragRange:Boolean,dragOnlyRange:Boolean,leftLabelColor:String,leftLabelValue:String,rightLabelColor:String,rightLabelValue:String},data:function(){return{model:Object.assign({},this.value),dragging:!1,currentMinPercentage:(this.value.min-this.min)/(this.max-this.min),currentMaxPercentage:(this.value.max-this.min)/(this.max-this.min)}},computed:{percentageMin:function(){return this.snap?(this.model.min-this.min)/(this.max-this.min):this.currentMinPercentage},percentageMax:function(){return this.snap?(this.model.max-this.min)/(this.max-this.min):this.currentMaxPercentage},activeTrackWidth:function(){return 100*(this.percentageMax-this.percentageMin)+"%"},leftDisplayValue:function(){return void 0!==this.leftLabelValue?this.leftLabelValue:this.model.min},rightDisplayValue:function(){return void 0!==this.rightLabelValue?this.rightLabelValue:this.model.max},leftTooltipColor:function(){return this.leftLabelColor||this.labelColor},rightTooltipColor:function(){return this.rightLabelColor||this.labelColor}},watch:{"value.min":function(t){this.model.min=t},"value.max":function(t){this.model.max=t},"model.min":function(t){this.dragging||(t>this.model.max&&(t=this.model.max),this.currentMinPercentage=(t-this.min)/(this.max-this.min))},"model.max":function(t){this.dragging||(tt&&this.__update({min:t}),this.model.max>t&&this.__update({max:t}),this.$nextTick(this.__validateProps)},step:function(){this.$nextTick(this.__validateProps)}},methods:{__getDragging:function(t){var e,i=this.$refs.handle,s=i.offsetWidth,n=(this.dragOnlyRange?-1:1)*this.$refs.handleMin.offsetWidth/(2*s),o={left:i.getBoundingClientRect().left,width:s,valueMin:this.model.min,valueMax:this.model.max,percentageMin:this.currentMinPercentage,percentageMax:this.currentMaxPercentage},r=ii(t,o,this.$q.i18n.rtl);return r=e.percentageMin?{minP:e.percentageMin,maxP:s,min:e.valueMin,max:n}:{minP:s,maxP:e.percentageMin,min:n,max:e.valueMin};break;case Qs:var o=s-e.offsetPercentage,r=Tt(e.percentageMin+o,0,1-e.rangePercentage),a=n-e.offsetModel,l=Tt(e.valueMin+a,this.min,this.max-e.rangeValue);i={minP:r,maxP:r+e.rangePercentage,min:parseFloat(l.toFixed(this.computedDecimals)),max:parseFloat((l+e.rangeValue).toFixed(this.computedDecimals))}}this.currentMinPercentage=i.minP,this.currentMaxPercentage=i.maxP,this.model={min:i.min,max:i.max}},__end:function(t,e){void 0===e&&(e=this.dragging),this.__move(t,e),this.currentMinPercentage=(this.model.min-this.min)/(this.max-this.min),this.currentMaxPercentage=(this.model.max-this.min)/(this.max-this.min)},__onKeyDown:function(t,e){var i=t.keyCode;if(this.editable&&[37,40,39,38].includes(i)){H(t);var s=this.computedDecimals,n=t.ctrlKey?10*this.computedStep:this.computedStep,o=[37,40].includes(i)?-n:n,r=s?parseFloat((this.model[e]+o).toFixed(s)):this.model[e]+o;this.model[e]=Tt(r,"min"===e?this.min:this.model.min,"max"===e?this.max:this.model.max),this.currentMinPercentage=(this.model.min-this.min)/(this.max-this.min),this.currentMaxPercentage=(this.model.max-this.min)/(this.max-this.min),this.__update()}},__onKeyUp:function(t,e){var i=t.keyCode;this.editable&&[37,40,39,38].includes(i)&&this.__update(!0)},__validateProps:function(){this.min>=this.max?console.error("Range error: min >= max",this.$el,this.min,this.max):si((this.max-this.min)/this.step,this.computedDecimals)?console.error("Range error: step must be a divisor of max - min",this.min,this.max,this.step):si((this.model.min-this.min)/this.step,this.computedDecimals)?console.error("Range error: step must be a divisor of initial value.min - min",this.model.min,this.min,this.step):si((this.model.max-this.min)/this.step,this.computedDecimals)&&console.error("Range error: step must be a divisor of initial value.max - min",this.model.max,this.max,this.step)},__getHandle:function(t,e,i,s,n,o,r){var a,l=this;return t("div",{ref:"handle"+i,staticClass:"q-slider-handle q-slider-handle-"+e,style:(a={},a[this.$q.i18n.rtl?"right":"left"]=100*n+"%",a.borderRadius=this.square?"0":"50%",a),class:[s?"handle-at-minimum":null,{dragging:this.dragging}],attrs:{tabindex:this.$q.platform.is.desktop?this.editable?0:-1:void 0},on:{keydown:function(t){return l.__onKeyDown(t,e)},keyup:function(t){return l.__onKeyUp(t,e)}}},[this.label||this.labelAlways?t(Ve,{props:{pointing:"down",square:!0,dense:!0,color:o},staticClass:"q-slider-label no-pointer-events",class:{"label-always":this.labelAlways}},[r]):null,t("div",{staticClass:"q-slider-ring"})])},__getContent:function(t){var e;return[t("div",{staticClass:"q-slider-track active-track",style:(e={},e[this.$q.i18n.rtl?"right":"left"]=100*this.percentageMin+"%",e.width=this.activeTrackWidth,e),class:{dragging:this.dragging,"track-draggable":this.dragRange||this.dragOnlyRange}}),this.__getHandle(t,"min","Min",!this.fillHandleAlways&&this.model.min===this.min,this.percentageMin,this.leftTooltipColor,this.leftDisplayValue),this.__getHandle(t,"max","Max",!1,this.percentageMax,this.rightTooltipColor,this.rightDisplayValue)]}}},Ws={name:"QRating",props:{value:Number,max:{type:Number,default:5},icon:String,color:String,size:String,readonly:Boolean,disable:Boolean},data:function(){return{mouseModel:0}},computed:{model:{get:function(){return this.value},set:function(t){var e=this;this.$emit("input",t),this.$nextTick(function(){JSON.stringify(t)!==JSON.stringify(e.value)&&e.$emit("change",t)})}},editable:function(){return!this.readonly&&!this.disable},classes:function(){var t=[];return this.disable&&t.push("disabled"),this.editable&&t.push("editable"),this.color&&t.push("text-"+this.color),t}},methods:{set:function(t){if(this.editable){var e=Tt(parseInt(t,10),1,this.max);this.model=this.model===e?0:e,this.mouseModel=0}},__setHoverValue:function(t){this.editable&&(this.mouseModel=t)}},render:function(t){for(var e=this,i=[],s=this.editable?0:-1,n=function(n){i.push(t("span",{key:n,ref:"rt"+n,attrs:{tabindex:s},on:{keydown:function(t){switch(E(t)){case 13:case 32:return e.set(n),H(t);case 37:case 40:return e.$refs["rt"+(n-1)]&&e.$refs["rt"+(n-1)].focus(),H(t);case 39:case 38:return e.$refs["rt"+(n+1)]&&e.$refs["rt"+(n+1)].focus(),H(t)}}}},[t(ut,{props:{name:e.icon||e.$q.icon.rating.icon},class:{active:!e.mouseModel&&e.model>=n||e.mouseModel&&e.mouseModel>=n,exselected:e.mouseModel&&e.model>=n&&e.mouseModel0&&e+this.containerHeight0&&e.scrollTop+this.containerHeight-1}var Js={name:"QSelect",mixins:[We,le],props:{filter:[Function,Boolean],filterPlaceholder:String,radio:Boolean,placeholder:String,separator:Boolean,value:{required:!0},multiple:Boolean,toggle:Boolean,chips:Boolean,options:{type:Array,required:!0,validator:function(t){return t.every(function(t){return"label"in t&&"value"in t})}},chipsColor:String,chipsBgColor:String,displayValue:String,popupMaxHeight:String,popupCover:{type:Boolean,default:!0}},data:function(){return{model:this.multiple&&Array.isArray(this.value)?this.value.slice():this.value,terms:"",focused:!1}},watch:{value:function(t){this.model=this.multiple&&Array.isArray(t)?t.slice():t},visibleOptions:function(){this.__keyboardCalcIndex()}},computed:{optModel:function(){var t=this;if(this.multiple)return this.model.length>0?this.options.map(function(e){return t.model.includes(e.value)}):this.options.map(function(t){return!1})},visibleOptions:function(){var t=this,e=this.options.map(function(t,e){return Object.assign({},t,{index:e})});if(this.filter&&this.terms.length){var i=this.terms.toLowerCase();e=e.filter(function(e){return t.filterFn(i,e)})}return e},keyboardMaxIndex:function(){return this.visibleOptions.length-1},filterFn:function(){return"boolean"==typeof this.filter?Ys:this.filter},actualValue:function(){var t=this;if(this.displayValue)return this.displayValue;if(!this.multiple){var e=this.options.find(function(e){return e.value===t.model});return e?e.label:""}var i=this.selectedOptions.map(function(t){return t.label});return i.length?i.join(", "):""},computedClearValue:function(){return void 0===this.clearValue?this.multiple?[]:null:this.clearValue},isClearable:function(){return this.editable&&this.clearable&&JSON.stringify(this.computedClearValue)!==JSON.stringify(this.model)},selectedOptions:function(){var t=this;if(this.multiple)return this.length>0?this.options.filter(function(e){return t.model.includes(e.value)}):[]},hasChips:function(){return this.multiple&&this.chips&&this.length>0},length:function(){return this.multiple?this.model.length:[null,void 0,""].includes(this.model)?0:1},additionalLength:function(){return this.displayValue&&this.displayValue.length>0}},methods:{togglePopup:function(){this.$refs.popover&&this[this.$refs.popover.showing?"hide":"show"]()},show:function(){if(this.__keyboardCalcIndex(),this.$refs.popover)return this.$refs.popover.show()},hide:function(){return this.$refs.popover?this.$refs.popover.hide():Promise.resolve()},reposition:function(){var t=this.$refs.popover;t&&t.showing&&this.$nextTick(function(){return t&&t.reposition()})},__keyboardCalcIndex:function(){var t=this;this.keyboardIndex=-1;var e=this.multiple?this.selectedOptions.map(function(t){return t.value}):[this.model];this.$nextTick(function(){var i=void 0===e?-1:Math.max(-1,t.visibleOptions.findIndex(function(t){return e.includes(t.value)}));i>-1&&(t.keyboardMoveDirection=!0,setTimeout(function(){t.keyboardMoveDirection=!1},500),t.__keyboardShow(i))})},__keyboardCustomKeyHandle:function(t,e){switch(t){case 27:this.$refs.popover.showing&&this.hide();break;case 13:case 32:this.$refs.popover.showing||this.show()}},__keyboardShowTrigger:function(){this.show()},__keyboardSetSelection:function(t){var e=this.visibleOptions[t];this.multiple?this.__toggleMultiple(e.value,e.disable):this.__singleSelect(e.value,e.disable)},__keyboardIsSelectableIndex:function(t){return t>-1&&t-1?this.$emit("remove",{index:s,value:i.splice(s,1)}):(this.$emit("add",{index:i.length,value:t}),i.push(t)),this.$emit("input",i)}},__emit:function(t){var e=this;this.$emit("input",t),this.$nextTick(function(){JSON.stringify(t)!==JSON.stringify(e.value)&&e.$emit("change",t)})},__setModel:function(t,e){this.model=t||(this.multiple?[]:null),this.$emit("input",this.model),!e&&this.$refs.popover&&this.$refs.popover.showing||this.__onClose(e)},__getChipTextColor:function(t){return this.chipsColor?this.chipsColor:this.isInvertedLight?this.invertedLight?t||this.color:"white":this.isInverted?t||(this.invertedLight?"grey-10":this.color):this.dark?t||this.color:"white"},__getChipBgColor:function(t){return this.chipsBgColor?this.chipsBgColor:this.isInvertedLight?this.invertedLight?"grey-10":t||this.color:this.isInverted?this.invertedLight?this.color:"white":this.dark?"white":t||this.color}},render:function(t){var e=this,i=[];if(this.hasChips){var s=t("div",{staticClass:"col row items-center q-input-chips",class:this.alignClass},this.selectedOptions.map(function(i,s){return t(Ve,{key:s,props:{small:!0,closable:e.editable&&!i.disable,color:e.__getChipBgColor(i.color),textColor:e.__getChipTextColor(i.color),icon:i.icon,iconRight:i.rightIcon,avatar:i.avatar},on:{hide:function(){e.__toggleMultiple(i.value,e.disable||i.disable)}},nativeOn:{click:function(t){t.stopPropagation()}}},[t("div",{domProps:{innerHTML:i.label}})])}));i.push(s)}else{var n=t("div",{staticClass:"col q-input-target ellipsis",class:this.fakeInputClasses,domProps:{innerHTML:this.fakeInputValue}});i.push(n)}return i.push(t(oe,{ref:"popover",staticClass:"column no-wrap",class:this.dark?"bg-dark":null,props:{cover:this.popupCover,keepOnScreen:!0,disable:!this.editable,anchorClick:!1,maxHeight:this.popupMaxHeight},slot:"after",on:{show:this.__onShow,hide:function(){e.__onClose(!0)}},nativeOn:{keydown:this.__keyboardHandleKey}},[this.filter&&t(Us,{ref:"filter",staticClass:"col-auto",style:"padding: 10px;",props:{value:this.terms,placeholder:this.filterPlaceholder||this.$q.i18n.label.filter,debounce:100,color:this.color,dark:this.dark,noParentField:!0,noIcon:!0},on:{input:function(t){e.terms=t,e.reposition()}}})||void 0,this.visibleOptions.length&&t(dt,{staticClass:"no-border scroll",props:{separator:this.separator,dark:this.dark}},this.visibleOptions.map(function(i,s){return t(ae,{key:s,class:[i.disable?"text-faded":"cursor-pointer",s===e.keyboardIndex?"q-select-highlight":"",i.disable?"":"cursor-pointer",i.className||""],props:{cfg:i,slotReplace:!0,active:e.multiple?void 0:e.value===i.value},nativeOn:{"!click":function(){var t=e.multiple?"__toggleMultiple":"__singleSelect";e[t](i.value,i.disable)},mouseenter:function(t){!i.disable&&e.__mouseEnterHandler(t,s)}}},[e.multiple?t(e.toggle?Ji:Qe,{slot:e.toggle?"right":"left",props:{keepColor:!0,color:i.color||e.color,dark:e.dark,value:e.optModel[i.index],disable:i.disable,noFocus:!0}}):e.radio&&t(Yi,{slot:"left",props:{keepColor:!0,color:i.color||e.color,dark:e.dark,value:e.value,val:i.value,disable:i.disable,noFocus:!0}})||void 0])}))||void 0])),this.isClearable&&i.push(t(ut,{slot:"after",staticClass:"q-if-control",props:{name:this.$q.icon.input["clear"+(this.isInverted?"Inverted":"")]},nativeOn:{click:this.clear}})),i.push(t(ut,this.readonly?{slot:"after"}:{slot:"after",staticClass:"q-if-control",props:{name:this.$q.icon.input.dropdown}})),t(Ye,{ref:"input",staticClass:"q-select",props:{prefix:this.prefix,suffix:this.suffix,stackLabel:this.stackLabel,floatLabel:this.floatLabel,error:this.error,warning:this.warning,disable:this.disable,readonly:this.readonly,inverted:this.inverted,invertedLight:this.invertedLight,dark:this.dark,hideUnderline:this.hideUnderline,before:this.before,after:this.after,color:this.color,noParentField:this.noParentField,focused:this.focused,focusable:!0,length:this.length,additionalLength:this.additionalLength},nativeOn:{click:this.togglePopup,focus:this.__onFocus,blur:this.__onBlur,keydown:this.__keyboardHandleKey}},i)}},Gs={name:"QSpinnerAudio",mixins:[jt],render:function(t){return t("svg",{staticClass:"q-spinner",class:this.classes,attrs:{fill:"currentColor",width:this.size,height:this.size,viewBox:"0 0 55 80",xmlns:"http://www.w3.org/2000/svg"}},[t("g",{attrs:{transform:"matrix(1 0 0 -1 0 80)"}},[t("rect",{attrs:{width:"10",height:"20",rx:"3"}},[t("animate",{attrs:{attributeName:"height",begin:"0s",dur:"4.3s",values:"20;45;57;80;64;32;66;45;64;23;66;13;64;56;34;34;2;23;76;79;20",calcMode:"linear",repeatCount:"indefinite"}})]),t("rect",{attrs:{x:"15",width:"10",height:"80",rx:"3"}},[t("animate",{attrs:{attributeName:"height",begin:"0s",dur:"2s",values:"80;55;33;5;75;23;73;33;12;14;60;80",calcMode:"linear",repeatCount:"indefinite"}})]),t("rect",{attrs:{x:"30",width:"10",height:"50",rx:"3"}},[t("animate",{attrs:{attributeName:"height",begin:"0s",dur:"1.4s",values:"50;34;78;23;56;23;34;76;80;54;21;50",calcMode:"linear",repeatCount:"indefinite"}})]),t("rect",{attrs:{x:"45",width:"10",height:"30",rx:"3"}},[t("animate",{attrs:{attributeName:"height",begin:"0s",dur:"2s",values:"30;45;13;80;56;72;45;76;34;23;67;30",calcMode:"linear",repeatCount:"indefinite"}})])])])}},Xs={name:"QSpinnerBall",mixins:[jt],render:function(t){return t("svg",{staticClass:"q-spinner",class:this.classes,attrs:{stroke:"currentColor",width:this.size,height:this.size,viewBox:"0 0 57 57",xmlns:"http://www.w3.org/2000/svg"}},[t("g",{attrs:{transform:"translate(1 1)","stroke-width":"2",fill:"none","fill-rule":"evenodd"}},[t("circle",{attrs:{cx:"5",cy:"50",r:"5"}},[t("animate",{attrs:{attributeName:"cy",begin:"0s",dur:"2.2s",values:"50;5;50;50",calcMode:"linear",repeatCount:"indefinite"}}),t("animate",{attrs:{attributeName:"cx",begin:"0s",dur:"2.2s",values:"5;27;49;5",calcMode:"linear",repeatCount:"indefinite"}})]),t("circle",{attrs:{cx:"27",cy:"5",r:"5"}},[t("animate",{attrs:{attributeName:"cy",begin:"0s",dur:"2.2s",from:"5",to:"5",values:"5;50;50;5",calcMode:"linear",repeatCount:"indefinite"}}),t("animate",{attrs:{attributeName:"cx",begin:"0s",dur:"2.2s",from:"27",to:"27",values:"27;49;5;27",calcMode:"linear",repeatCount:"indefinite"}})]),t("circle",{attrs:{cx:"49",cy:"50",r:"5"}},[t("animate",{attrs:{attributeName:"cy",begin:"0s",dur:"2.2s",values:"50;50;5;50",calcMode:"linear",repeatCount:"indefinite"}}),t("animate",{attrs:{attributeName:"cx",from:"49",to:"49",begin:"0s",dur:"2.2s",values:"49;5;27;49",calcMode:"linear",repeatCount:"indefinite"}})])])])}},Zs={name:"QSpinnerBars",mixins:[jt],render:function(t){return t("svg",{staticClass:"q-spinner",class:this.classes,attrs:{fill:"currentColor",width:this.size,height:this.size,viewBox:"0 0 135 140",xmlns:"http://www.w3.org/2000/svg"}},[t("rect",{attrs:{y:"10",width:"15",height:"120",rx:"6"}},[t("animate",{attrs:{attributeName:"height",begin:"0.5s",dur:"1s",values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}}),t("animate",{attrs:{attributeName:"y",begin:"0.5s",dur:"1s",values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"}})]),t("rect",{attrs:{x:"30",y:"10",width:"15",height:"120",rx:"6"}},[t("animate",{attrs:{attributeName:"height",begin:"0.25s",dur:"1s",values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}}),t("animate",{attrs:{attributeName:"y",begin:"0.25s",dur:"1s",values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"}})]),t("rect",{attrs:{x:"60",width:"15",height:"140",rx:"6"}},[t("animate",{attrs:{attributeName:"height",begin:"0s",dur:"1s",values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}}),t("animate",{attrs:{attributeName:"y",begin:"0s",dur:"1s",values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"}})]),t("rect",{attrs:{x:"90",y:"10",width:"15",height:"120",rx:"6"}},[t("animate",{attrs:{attributeName:"height",begin:"0.25s",dur:"1s",values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}}),t("animate",{attrs:{attributeName:"y",begin:"0.25s",dur:"1s",values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"}})]),t("rect",{attrs:{x:"120",y:"10",width:"15",height:"120",rx:"6"}},[t("animate",{attrs:{attributeName:"height",begin:"0.5s",dur:"1s",values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}}),t("animate",{attrs:{attributeName:"y",begin:"0.5s",dur:"1s",values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"}})])])}},tn={name:"QSpinnerCircles",mixins:[jt],render:function(t){return t("svg",{staticClass:"q-spinner",class:this.classes,attrs:{fill:"currentColor",width:this.size,height:this.size,viewBox:"0 0 135 135",xmlns:"http://www.w3.org/2000/svg"}},[t("path",{attrs:{d:"M67.447 58c5.523 0 10-4.477 10-10s-4.477-10-10-10-10 4.477-10 10 4.477 10 10 10zm9.448 9.447c0 5.523 4.477 10 10 10 5.522 0 10-4.477 10-10s-4.478-10-10-10c-5.523 0-10 4.477-10 10zm-9.448 9.448c-5.523 0-10 4.477-10 10 0 5.522 4.477 10 10 10s10-4.478 10-10c0-5.523-4.477-10-10-10zM58 67.447c0-5.523-4.477-10-10-10s-10 4.477-10 10 4.477 10 10 10 10-4.477 10-10z"}},[t("animateTransform",{attrs:{attributeName:"transform",type:"rotate",from:"0 67 67",to:"-360 67 67",dur:"2.5s",repeatCount:"indefinite"}})]),t("path",{attrs:{d:"M28.19 40.31c6.627 0 12-5.374 12-12 0-6.628-5.373-12-12-12-6.628 0-12 5.372-12 12 0 6.626 5.372 12 12 12zm30.72-19.825c4.686 4.687 12.284 4.687 16.97 0 4.686-4.686 4.686-12.284 0-16.97-4.686-4.687-12.284-4.687-16.97 0-4.687 4.686-4.687 12.284 0 16.97zm35.74 7.705c0 6.627 5.37 12 12 12 6.626 0 12-5.373 12-12 0-6.628-5.374-12-12-12-6.63 0-12 5.372-12 12zm19.822 30.72c-4.686 4.686-4.686 12.284 0 16.97 4.687 4.686 12.285 4.686 16.97 0 4.687-4.686 4.687-12.284 0-16.97-4.685-4.687-12.283-4.687-16.97 0zm-7.704 35.74c-6.627 0-12 5.37-12 12 0 6.626 5.373 12 12 12s12-5.374 12-12c0-6.63-5.373-12-12-12zm-30.72 19.822c-4.686-4.686-12.284-4.686-16.97 0-4.686 4.687-4.686 12.285 0 16.97 4.686 4.687 12.284 4.687 16.97 0 4.687-4.685 4.687-12.283 0-16.97zm-35.74-7.704c0-6.627-5.372-12-12-12-6.626 0-12 5.373-12 12s5.374 12 12 12c6.628 0 12-5.373 12-12zm-19.823-30.72c4.687-4.686 4.687-12.284 0-16.97-4.686-4.686-12.284-4.686-16.97 0-4.687 4.686-4.687 12.284 0 16.97 4.686 4.687 12.284 4.687 16.97 0z"}},[t("animateTransform",{attrs:{attributeName:"transform",type:"rotate",from:"0 67 67",to:"360 67 67",dur:"8s",repeatCount:"indefinite"}})])])}},en={name:"QSpinnerComment",mixins:[jt],render:function(t){return t("svg",{staticClass:"q-spinner",class:this.classes,attrs:{width:this.size,height:this.size,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100",preserveAspectRatio:"xMidYMid"}},[t("rect",{attrs:{x:"0",y:"0",width:"100",height:"100",fill:"none"}}),t("path",{attrs:{d:"M78,19H22c-6.6,0-12,5.4-12,12v31c0,6.6,5.4,12,12,12h37.2c0.4,3,1.8,5.6,3.7,7.6c2.4,2.5,5.1,4.1,9.1,4 c-1.4-2.1-2-7.2-2-10.3c0-0.4,0-0.8,0-1.3h8c6.6,0,12-5.4,12-12V31C90,24.4,84.6,19,78,19z",fill:"currentColor"}}),t("circle",{attrs:{cx:"30",cy:"47",r:"5",fill:"#fff"}},[t("animate",{attrs:{attributeName:"opacity",from:"0",to:"1",values:"0;1;1",keyTimes:"0;0.2;1",dur:"1s",repeatCount:"indefinite"}})]),t("circle",{attrs:{cx:"50",cy:"47",r:"5",fill:"#fff"}},[t("animate",{attrs:{attributeName:"opacity",from:"0",to:"1",values:"0;0;1;1",keyTimes:"0;0.2;0.4;1",dur:"1s",repeatCount:"indefinite"}})]),t("circle",{attrs:{cx:"70",cy:"47",r:"5",fill:"#fff"}},[t("animate",{attrs:{attributeName:"opacity",from:"0",to:"1",values:"0;0;1;1",keyTimes:"0;0.4;0.6;1",dur:"1s",repeatCount:"indefinite"}})])])}},sn={name:"QSpinnerCube",mixins:[jt],render:function(t){return t("svg",{staticClass:"q-spinner",class:this.classes,attrs:{width:this.size,height:this.size,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100",preserveAspectRatio:"xMidYMid"}},[t("rect",{attrs:{x:"0",y:"0",width:"100",height:"100",fill:"none"}}),t("g",{attrs:{transform:"translate(25 25)"}},[t("rect",{attrs:{x:"-20",y:"-20",width:"40",height:"40",fill:"currentColor",opacity:"0.9"}},[t("animateTransform",{attrs:{attributeName:"transform",type:"scale",from:"1.5",to:"1",repeatCount:"indefinite",begin:"0s",dur:"1s",calcMode:"spline",keySplines:"0.2 0.8 0.2 0.8",keyTimes:"0;1"}})])]),t("g",{attrs:{transform:"translate(75 25)"}},[t("rect",{attrs:{x:"-20",y:"-20",width:"40",height:"40",fill:"currentColor",opacity:"0.8"}},[t("animateTransform",{attrs:{attributeName:"transform",type:"scale",from:"1.5",to:"1",repeatCount:"indefinite",begin:"0.1s",dur:"1s",calcMode:"spline",keySplines:"0.2 0.8 0.2 0.8",keyTimes:"0;1"}})])]),t("g",{attrs:{transform:"translate(25 75)"}},[t("rect",{staticClass:"cube",attrs:{x:"-20",y:"-20",width:"40",height:"40",fill:"currentColor",opacity:"0.7"}},[t("animateTransform",{attrs:{attributeName:"transform",type:"scale",from:"1.5",to:"1",repeatCount:"indefinite",begin:"0.3s",dur:"1s",calcMode:"spline",keySplines:"0.2 0.8 0.2 0.8",keyTimes:"0;1"}})])]),t("g",{attrs:{transform:"translate(75 75)"}},[t("rect",{staticClass:"cube",attrs:{x:"-20",y:"-20",width:"40",height:"40",fill:"currentColor",opacity:"0.6"}},[t("animateTransform",{attrs:{attributeName:"transform",type:"scale",from:"1.5",to:"1",repeatCount:"indefinite",begin:"0.2s",dur:"1s",calcMode:"spline",keySplines:"0.2 0.8 0.2 0.8",keyTimes:"0;1"}})])])])}},nn={name:"QSpinnerDots",mixins:[jt],render:function(t){return t("svg",{staticClass:"q-spinner",class:this.classes,attrs:{fill:"currentColor",width:this.size,height:this.size,viewBox:"0 0 120 30",xmlns:"http://www.w3.org/2000/svg"}},[t("circle",{attrs:{cx:"15",cy:"15",r:"15"}},[t("animate",{attrs:{attributeName:"r",from:"15",to:"15",begin:"0s",dur:"0.8s",values:"15;9;15",calcMode:"linear",repeatCount:"indefinite"}}),t("animate",{attrs:{attributeName:"fill-opacity",from:"1",to:"1",begin:"0s",dur:"0.8s",values:"1;.5;1",calcMode:"linear",repeatCount:"indefinite"}})]),t("circle",{attrs:{cx:"60",cy:"15",r:"9","fill-opacity":".3"}},[t("animate",{attrs:{attributeName:"r",from:"9",to:"9",begin:"0s",dur:"0.8s",values:"9;15;9",calcMode:"linear",repeatCount:"indefinite"}}),t("animate",{attrs:{attributeName:"fill-opacity",from:".5",to:".5",begin:"0s",dur:"0.8s",values:".5;1;.5",calcMode:"linear",repeatCount:"indefinite"}})]),t("circle",{attrs:{cx:"105",cy:"15",r:"15"}},[t("animate",{attrs:{attributeName:"r",from:"15",to:"15",begin:"0s",dur:"0.8s",values:"15;9;15",calcMode:"linear",repeatCount:"indefinite"}}),t("animate",{attrs:{attributeName:"fill-opacity",from:"1",to:"1",begin:"0s",dur:"0.8s",values:"1;.5;1",calcMode:"linear",repeatCount:"indefinite"}})])])}},on={name:"QSpinnerFacebook",mixins:[jt],render:function(t){return t("svg",{staticClass:"q-spinner",class:this.classes,attrs:{width:this.size,height:this.size,viewBox:"0 0 100 100",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid"}},[t("g",{attrs:{transform:"translate(20 50)"}},[t("rect",{attrs:{x:"-10",y:"-30",width:"20",height:"60",fill:"currentColor",opacity:"0.6"}},[t("animateTransform",{attrs:{attributeName:"transform",type:"scale",from:"2",to:"1",begin:"0s",repeatCount:"indefinite",dur:"1s",calcMode:"spline",keySplines:"0.1 0.9 0.4 1",keyTimes:"0;1",values:"2;1"}})])]),t("g",{attrs:{transform:"translate(50 50)"}},[t("rect",{attrs:{x:"-10",y:"-30",width:"20",height:"60",fill:"currentColor",opacity:"0.8"}},[t("animateTransform",{attrs:{attributeName:"transform",type:"scale",from:"2",to:"1",begin:"0.1s",repeatCount:"indefinite",dur:"1s",calcMode:"spline",keySplines:"0.1 0.9 0.4 1",keyTimes:"0;1",values:"2;1"}})])]),t("g",{attrs:{transform:"translate(80 50)"}},[t("rect",{attrs:{x:"-10",y:"-30",width:"20",height:"60",fill:"currentColor",opacity:"0.9"}},[t("animateTransform",{attrs:{attributeName:"transform",type:"scale",from:"2",to:"1",begin:"0.2s",repeatCount:"indefinite",dur:"1s",calcMode:"spline",keySplines:"0.1 0.9 0.4 1",keyTimes:"0;1",values:"2;1"}})])])])}},rn={name:"QSpinnerGears",mixins:[jt],render:function(t){return t("svg",{staticClass:"q-spinner",class:this.classes,attrs:{width:this.size,height:this.size,viewBox:"0 0 100 100",preserveAspectRatio:"xMidYMid",xmlns:"http://www.w3.org/2000/svg"}},[t("g",{attrs:{transform:"translate(-20,-20)"}},[t("path",{attrs:{d:"M79.9,52.6C80,51.8,80,50.9,80,50s0-1.8-0.1-2.6l-5.1-0.4c-0.3-2.4-0.9-4.6-1.8-6.7l4.2-2.9c-0.7-1.6-1.6-3.1-2.6-4.5 L70,35c-1.4-1.9-3.1-3.5-4.9-4.9l2.2-4.6c-1.4-1-2.9-1.9-4.5-2.6L59.8,27c-2.1-0.9-4.4-1.5-6.7-1.8l-0.4-5.1C51.8,20,50.9,20,50,20 s-1.8,0-2.6,0.1l-0.4,5.1c-2.4,0.3-4.6,0.9-6.7,1.8l-2.9-4.1c-1.6,0.7-3.1,1.6-4.5,2.6l2.1,4.6c-1.9,1.4-3.5,3.1-5,4.9l-4.5-2.1 c-1,1.4-1.9,2.9-2.6,4.5l4.1,2.9c-0.9,2.1-1.5,4.4-1.8,6.8l-5,0.4C20,48.2,20,49.1,20,50s0,1.8,0.1,2.6l5,0.4 c0.3,2.4,0.9,4.7,1.8,6.8l-4.1,2.9c0.7,1.6,1.6,3.1,2.6,4.5l4.5-2.1c1.4,1.9,3.1,3.5,5,4.9l-2.1,4.6c1.4,1,2.9,1.9,4.5,2.6l2.9-4.1 c2.1,0.9,4.4,1.5,6.7,1.8l0.4,5.1C48.2,80,49.1,80,50,80s1.8,0,2.6-0.1l0.4-5.1c2.3-0.3,4.6-0.9,6.7-1.8l2.9,4.2 c1.6-0.7,3.1-1.6,4.5-2.6L65,69.9c1.9-1.4,3.5-3,4.9-4.9l4.6,2.2c1-1.4,1.9-2.9,2.6-4.5L73,59.8c0.9-2.1,1.5-4.4,1.8-6.7L79.9,52.6 z M50,65c-8.3,0-15-6.7-15-15c0-8.3,6.7-15,15-15s15,6.7,15,15C65,58.3,58.3,65,50,65z",fill:"currentColor"}},[t("animateTransform",{attrs:{attributeName:"transform",type:"rotate",from:"90 50 50",to:"0 50 50",dur:"1s",repeatCount:"indefinite"}})])]),t("g",{attrs:{transform:"translate(20,20) rotate(15 50 50)"}},[t("path",{attrs:{d:"M79.9,52.6C80,51.8,80,50.9,80,50s0-1.8-0.1-2.6l-5.1-0.4c-0.3-2.4-0.9-4.6-1.8-6.7l4.2-2.9c-0.7-1.6-1.6-3.1-2.6-4.5 L70,35c-1.4-1.9-3.1-3.5-4.9-4.9l2.2-4.6c-1.4-1-2.9-1.9-4.5-2.6L59.8,27c-2.1-0.9-4.4-1.5-6.7-1.8l-0.4-5.1C51.8,20,50.9,20,50,20 s-1.8,0-2.6,0.1l-0.4,5.1c-2.4,0.3-4.6,0.9-6.7,1.8l-2.9-4.1c-1.6,0.7-3.1,1.6-4.5,2.6l2.1,4.6c-1.9,1.4-3.5,3.1-5,4.9l-4.5-2.1 c-1,1.4-1.9,2.9-2.6,4.5l4.1,2.9c-0.9,2.1-1.5,4.4-1.8,6.8l-5,0.4C20,48.2,20,49.1,20,50s0,1.8,0.1,2.6l5,0.4 c0.3,2.4,0.9,4.7,1.8,6.8l-4.1,2.9c0.7,1.6,1.6,3.1,2.6,4.5l4.5-2.1c1.4,1.9,3.1,3.5,5,4.9l-2.1,4.6c1.4,1,2.9,1.9,4.5,2.6l2.9-4.1 c2.1,0.9,4.4,1.5,6.7,1.8l0.4,5.1C48.2,80,49.1,80,50,80s1.8,0,2.6-0.1l0.4-5.1c2.3-0.3,4.6-0.9,6.7-1.8l2.9,4.2 c1.6-0.7,3.1-1.6,4.5-2.6L65,69.9c1.9-1.4,3.5-3,4.9-4.9l4.6,2.2c1-1.4,1.9-2.9,2.6-4.5L73,59.8c0.9-2.1,1.5-4.4,1.8-6.7L79.9,52.6 z M50,65c-8.3,0-15-6.7-15-15c0-8.3,6.7-15,15-15s15,6.7,15,15C65,58.3,58.3,65,50,65z",fill:"currentColor"}},[t("animateTransform",{attrs:{attributeName:"transform",type:"rotate",from:"0 50 50",to:"90 50 50",dur:"1s",repeatCount:"indefinite"}})])])])}},an={name:"QSpinnerGrid",mixins:[jt],render:function(t){return t("svg",{staticClass:"q-spinner",class:this.classes,attrs:{fill:"currentColor",width:this.size,height:this.size,viewBox:"0 0 105 105",xmlns:"http://www.w3.org/2000/svg"}},[t("circle",{attrs:{cx:"12.5",cy:"12.5",r:"12.5"}},[t("animate",{attrs:{attributeName:"fill-opacity",begin:"0s",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"}})]),t("circle",{attrs:{cx:"12.5",cy:"52.5",r:"12.5","fill-opacity":".5"}},[t("animate",{attrs:{attributeName:"fill-opacity",begin:"100ms",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"}})]),t("circle",{attrs:{cx:"52.5",cy:"12.5",r:"12.5"}},[t("animate",{attrs:{attributeName:"fill-opacity",begin:"300ms",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"}})]),t("circle",{attrs:{cx:"52.5",cy:"52.5",r:"12.5"}},[t("animate",{attrs:{attributeName:"fill-opacity",begin:"600ms",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"}})]),t("circle",{attrs:{cx:"92.5",cy:"12.5",r:"12.5"}},[t("animate",{attrs:{attributeName:"fill-opacity",begin:"800ms",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"}})]),t("circle",{attrs:{cx:"92.5",cy:"52.5",r:"12.5"}},[t("animate",{attrs:{attributeName:"fill-opacity",begin:"400ms",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"}})]),t("circle",{attrs:{cx:"12.5",cy:"92.5",r:"12.5"}},[t("animate",{attrs:{attributeName:"fill-opacity",begin:"700ms",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"}})]),t("circle",{attrs:{cx:"52.5",cy:"92.5",r:"12.5"}},[t("animate",{attrs:{attributeName:"fill-opacity",begin:"500ms",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"}})]),t("circle",{attrs:{cx:"92.5",cy:"92.5",r:"12.5"}},[t("animate",{attrs:{attributeName:"fill-opacity",begin:"200ms",dur:"1s",values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"}})])])}},ln={name:"QSpinnerHearts",mixins:[jt],render:function(t){return t("svg",{staticClass:"q-spinner",class:this.classes,attrs:{fill:"currentColor",width:this.size,height:this.size,viewBox:"0 0 140 64",xmlns:"http://www.w3.org/2000/svg"}},[t("path",{attrs:{d:"M30.262 57.02L7.195 40.723c-5.84-3.976-7.56-12.06-3.842-18.063 3.715-6 11.467-7.65 17.306-3.68l4.52 3.76 2.6-5.274c3.716-6.002 11.47-7.65 17.304-3.68 5.84 3.97 7.56 12.054 3.842 18.062L34.49 56.118c-.897 1.512-2.793 1.915-4.228.9z","fill-opacity":".5"}},[t("animate",{attrs:{attributeName:"fill-opacity",begin:"0s",dur:"1.4s",values:"0.5;1;0.5",calcMode:"linear",repeatCount:"indefinite"}})]),t("path",{attrs:{d:"M105.512 56.12l-14.44-24.272c-3.716-6.008-1.996-14.093 3.843-18.062 5.835-3.97 13.588-2.322 17.306 3.68l2.6 5.274 4.52-3.76c5.84-3.97 13.593-2.32 17.308 3.68 3.718 6.003 1.998 14.088-3.842 18.064L109.74 57.02c-1.434 1.014-3.33.61-4.228-.9z","fill-opacity":".5"}},[t("animate",{attrs:{attributeName:"fill-opacity",begin:"0.7s",dur:"1.4s",values:"0.5;1;0.5",calcMode:"linear",repeatCount:"indefinite"}})]),t("path",{attrs:{d:"M67.408 57.834l-23.01-24.98c-5.864-6.15-5.864-16.108 0-22.248 5.86-6.14 15.37-6.14 21.234 0L70 16.168l4.368-5.562c5.863-6.14 15.375-6.14 21.235 0 5.863 6.14 5.863 16.098 0 22.247l-23.007 24.98c-1.43 1.556-3.757 1.556-5.188 0z"}})])}},cn={name:"QSpinnerHourglass",mixins:[jt],render:function(t){return t("svg",{staticClass:"q-spinner",class:this.classes,attrs:{width:this.size,height:this.size,viewBox:"0 0 100 100",preserveAspectRatio:"xMidYMid",xmlns:"http://www.w3.org/2000/svg"}},[t("g",[t("path",{staticClass:"glass",attrs:{fill:"none",stroke:"currentColor","stroke-width":"5","stroke-miterlimit":"10",d:"M58.4,51.7c-0.9-0.9-1.4-2-1.4-2.3s0.5-0.4,1.4-1.4 C70.8,43.8,79.8,30.5,80,15.5H70H30H20c0.2,15,9.2,28.1,21.6,32.3c0.9,0.9,1.4,1.2,1.4,1.5s-0.5,1.6-1.4,2.5 C29.2,56.1,20.2,69.5,20,85.5h10h40h10C79.8,69.5,70.8,55.9,58.4,51.7z"}}),t("clipPath",{attrs:{id:"uil-hourglass-clip1"}},[t("rect",{staticClass:"clip",attrs:{x:"15",y:"20",width:"70",height:"25"}},[t("animate",{attrs:{attributeName:"height",from:"25",to:"0",dur:"1s",repeatCount:"indefinite",vlaues:"25;0;0",keyTimes:"0;0.5;1"}}),t("animate",{attrs:{attributeName:"y",from:"20",to:"45",dur:"1s",repeatCount:"indefinite",vlaues:"20;45;45",keyTimes:"0;0.5;1"}})])]),t("clipPath",{attrs:{id:"uil-hourglass-clip2"}},[t("rect",{staticClass:"clip",attrs:{x:"15",y:"55",width:"70",height:"25"}},[t("animate",{attrs:{attributeName:"height",from:"0",to:"25",dur:"1s",repeatCount:"indefinite",vlaues:"0;25;25",keyTimes:"0;0.5;1"}}),t("animate",{attrs:{attributeName:"y",from:"80",to:"55",dur:"1s",repeatCount:"indefinite",vlaues:"80;55;55",keyTimes:"0;0.5;1"}})])]),t("path",{staticClass:"sand",attrs:{d:"M29,23c3.1,11.4,11.3,19.5,21,19.5S67.9,34.4,71,23H29z","clip-path":"url(#uil-hourglass-clip1)",fill:"currentColor"}}),t("path",{staticClass:"sand",attrs:{d:"M71.6,78c-3-11.6-11.5-20-21.5-20s-18.5,8.4-21.5,20H71.6z","clip-path":"url(#uil-hourglass-clip2)",fill:"currentColor"}}),t("animateTransform",{attrs:{attributeName:"transform",type:"rotate",from:"0 50 50",to:"180 50 50",repeatCount:"indefinite",dur:"1s",values:"0 50 50;0 50 50;180 50 50",keyTimes:"0;0.7;1"}})])])}},hn={name:"QSpinnerInfinity",mixins:[jt],render:function(t){return t("svg",{staticClass:"q-spinner",class:this.classes,attrs:{width:this.size,height:this.size,viewBox:"0 0 100 100",preserveAspectRatio:"xMidYMid"}},[t("path",{attrs:{d:"M24.3,30C11.4,30,5,43.3,5,50s6.4,20,19.3,20c19.3,0,32.1-40,51.4-40C88.6,30,95,43.3,95,50s-6.4,20-19.3,20C56.4,70,43.6,30,24.3,30z",fill:"none",stroke:"currentColor","stroke-width":"8","stroke-dasharray":"10.691205342610678 10.691205342610678","stroke-dashoffset":"0"}},[t("animate",{attrs:{attributeName:"stroke-dashoffset",from:"0",to:"21.382410685221355",begin:"0",dur:"2s",repeatCount:"indefinite",fill:"freeze"}})])])}},un={name:"QSpinnerIos",mixins:[jt],render:function(t){return t("svg",{staticClass:"q-spinner",class:this.classes,attrs:{width:this.size,height:this.size,stroke:"currentColor",fill:"currentColor",viewBox:"0 0 64 64"}},[t("g",{attrs:{"stroke-width":"4","stroke-linecap":"round"}},[t("line",{attrs:{y1:"17",y2:"29",transform:"translate(32,32) rotate(180)"}},[t("animate",{attrs:{attributeName:"stroke-opacity",dur:"750ms",values:"1;.85;.7;.65;.55;.45;.35;.25;.15;.1;0;1",repeatCount:"indefinite"}})]),t("line",{attrs:{y1:"17",y2:"29",transform:"translate(32,32) rotate(210)"}},[t("animate",{attrs:{attributeName:"stroke-opacity",dur:"750ms",values:"0;1;.85;.7;.65;.55;.45;.35;.25;.15;.1;0",repeatCount:"indefinite"}})]),t("line",{attrs:{y1:"17",y2:"29",transform:"translate(32,32) rotate(240)"}},[t("animate",{attrs:{attributeName:"stroke-opacity",dur:"750ms",values:".1;0;1;.85;.7;.65;.55;.45;.35;.25;.15;.1",repeatCount:"indefinite"}})]),t("line",{attrs:{y1:"17",y2:"29",transform:"translate(32,32) rotate(270)"}},[t("animate",{attrs:{attributeName:"stroke-opacity",dur:"750ms",values:".15;.1;0;1;.85;.7;.65;.55;.45;.35;.25;.15",repeatCount:"indefinite"}})]),t("line",{attrs:{y1:"17",y2:"29",transform:"translate(32,32) rotate(300)"}},[t("animate",{attrs:{attributeName:"stroke-opacity",dur:"750ms",values:".25;.15;.1;0;1;.85;.7;.65;.55;.45;.35;.25",repeatCount:"indefinite"}})]),t("line",{attrs:{y1:"17",y2:"29",transform:"translate(32,32) rotate(330)"}},[t("animate",{attrs:{attributeName:"stroke-opacity",dur:"750ms",values:".35;.25;.15;.1;0;1;.85;.7;.65;.55;.45;.35",repeatCount:"indefinite"}})]),t("line",{attrs:{y1:"17",y2:"29",transform:"translate(32,32) rotate(0)"}},[t("animate",{attrs:{attributeName:"stroke-opacity",dur:"750ms",values:".45;.35;.25;.15;.1;0;1;.85;.7;.65;.55;.45",repeatCount:"indefinite"}})]),t("line",{attrs:{y1:"17",y2:"29",transform:"translate(32,32) rotate(30)"}},[t("animate",{attrs:{attributeName:"stroke-opacity",dur:"750ms",values:".55;.45;.35;.25;.15;.1;0;1;.85;.7;.65;.55",repeatCount:"indefinite"}})]),t("line",{attrs:{y1:"17",y2:"29",transform:"translate(32,32) rotate(60)"}},[t("animate",{attrs:{attributeName:"stroke-opacity",dur:"750ms",values:".65;.55;.45;.35;.25;.15;.1;0;1;.85;.7;.65",repeatCount:"indefinite"}})]),t("line",{attrs:{y1:"17",y2:"29",transform:"translate(32,32) rotate(90)"}},[t("animate",{attrs:{attributeName:"stroke-opacity",dur:"750ms",values:".7;.65;.55;.45;.35;.25;.15;.1;0;1;.85;.7",repeatCount:"indefinite"}})]),t("line",{attrs:{y1:"17",y2:"29",transform:"translate(32,32) rotate(120)"}},[t("animate",{attrs:{attributeName:"stroke-opacity",dur:"750ms",values:".85;.7;.65;.55;.45;.35;.25;.15;.1;0;1;.85",repeatCount:"indefinite"}})]),t("line",{attrs:{y1:"17",y2:"29",transform:"translate(32,32) rotate(150)"}},[t("animate",{attrs:{attributeName:"stroke-opacity",dur:"750ms",values:"1;.85;.7;.65;.55;.45;.35;.25;.15;.1;0;1",repeatCount:"indefinite"}})])])])}},dn={name:"QSpinnerOval",mixins:[jt],render:function(t){return t("svg",{staticClass:"q-spinner",class:this.classes,attrs:{stroke:"currentColor",width:this.size,height:this.size,viewBox:"0 0 38 38",xmlns:"http://www.w3.org/2000/svg"}},[t("g",{attrs:{transform:"translate(1 1)","stroke-width":"2",fill:"none","fill-rule":"evenodd"}},[t("circle",{attrs:{"stroke-opacity":".5",cx:"18",cy:"18",r:"18"}}),t("path",{attrs:{d:"M36 18c0-9.94-8.06-18-18-18"}},[t("animateTransform",{attrs:{attributeName:"transform",type:"rotate",from:"0 18 18",to:"360 18 18",dur:"1s",repeatCount:"indefinite"}})])])])}},pn={name:"QSpinnerPie",mixins:[jt],render:function(t){return t("svg",{staticClass:"q-spinner",class:this.classes,attrs:{width:this.size,height:this.size,viewBox:"0 0 100 100",preserveAspectRatio:"xMidYMid",xmlns:"http://www.w3.org/2000/svg"}},[t("path",{attrs:{d:"M0 50A50 50 0 0 1 50 0L50 50L0 50",fill:"currentColor",opacity:"0.5"}},[t("animateTransform",{attrs:{attributeName:"transform",type:"rotate",from:"0 50 50",to:"360 50 50",dur:"0.8s",repeatCount:"indefinite"}})]),t("path",{attrs:{d:"M50 0A50 50 0 0 1 100 50L50 50L50 0",fill:"currentColor",opacity:"0.5"}},[t("animateTransform",{attrs:{attributeName:"transform",type:"rotate",from:"0 50 50",to:"360 50 50",dur:"1.6s",repeatCount:"indefinite"}})]),t("path",{attrs:{d:"M100 50A50 50 0 0 1 50 100L50 50L100 50",fill:"currentColor",opacity:"0.5"}},[t("animateTransform",{attrs:{attributeName:"transform",type:"rotate",from:"0 50 50",to:"360 50 50",dur:"2.4s",repeatCount:"indefinite"}})]),t("path",{attrs:{d:"M50 100A50 50 0 0 1 0 50L50 50L50 100",fill:"currentColor",opacity:"0.5"}},[t("animateTransform",{attrs:{attributeName:"transform",type:"rotate",from:"0 50 50",to:"360 50 50",dur:"3.2s",repeatCount:"indefinite"}})])])}},fn={name:"QSpinnerPuff",mixins:[jt],render:function(t){return t("svg",{staticClass:"q-spinner",class:this.classes,attrs:{stroke:"currentColor",width:this.size,height:this.size,viewBox:"0 0 44 44",xmlns:"http://www.w3.org/2000/svg"}},[t("g",{attrs:{fill:"none","fill-rule":"evenodd","stroke-width":"2"}},[t("circle",{attrs:{cx:"22",cy:"22",r:"1"}},[t("animate",{attrs:{attributeName:"r",begin:"0s",dur:"1.8s",values:"1; 20",calcMode:"spline",keyTimes:"0; 1",keySplines:"0.165, 0.84, 0.44, 1",repeatCount:"indefinite"}}),t("animate",{attrs:{attributeName:"stroke-opacity",begin:"0s",dur:"1.8s",values:"1; 0",calcMode:"spline",keyTimes:"0; 1",keySplines:"0.3, 0.61, 0.355, 1",repeatCount:"indefinite"}})]),t("circle",{attrs:{cx:"22",cy:"22",r:"1"}},[t("animate",{attrs:{attributeName:"r",begin:"-0.9s",dur:"1.8s",values:"1; 20",calcMode:"spline",keyTimes:"0; 1",keySplines:"0.165, 0.84, 0.44, 1",repeatCount:"indefinite"}}),t("animate",{attrs:{attributeName:"stroke-opacity",begin:"-0.9s",dur:"1.8s",values:"1; 0",calcMode:"spline",keyTimes:"0; 1",keySplines:"0.3, 0.61, 0.355, 1",repeatCount:"indefinite"}})])])])}},mn={name:"QSpinnerRadio",mixins:[jt],render:function(t){return t("svg",{staticClass:"q-spinner",class:this.classes,attrs:{width:this.size,height:this.size,viewBox:"0 0 100 100",preserveAspectRatio:"xMidYMid",xmlns:"http://www.w3.org/2000/svg"}},[t("g",{attrs:{transform:"scale(0.55)"}},[t("circle",{attrs:{cx:"30",cy:"150",r:"30",fill:"currentColor"}},[t("animate",{attrs:{attributeName:"opacity",from:"0",to:"1",dur:"1s",begin:"0",repeatCount:"indefinite",keyTimes:"0;0.5;1",values:"0;1;1"}})]),t("path",{attrs:{d:"M90,150h30c0-49.7-40.3-90-90-90v30C63.1,90,90,116.9,90,150z",fill:"currentColor"}},[t("animate",{attrs:{attributeName:"opacity",from:"0",to:"1",dur:"1s",begin:"0.1",repeatCount:"indefinite",keyTimes:"0;0.5;1",values:"0;1;1"}})]),t("path",{attrs:{d:"M150,150h30C180,67.2,112.8,0,30,0v30C96.3,30,150,83.7,150,150z",fill:"currentColor"}},[t("animate",{attrs:{attributeName:"opacity",from:"0",to:"1",dur:"1s",begin:"0.2",repeatCount:"indefinite",keyTimes:"0;0.5;1",values:"0;1;1"}})])])])}},vn={name:"QSpinnerRings",mixins:[jt],render:function(t){return t("svg",{staticClass:"q-spinner",class:this.classes,attrs:{stroke:"currentColor",width:this.size,height:this.size,viewBox:"0 0 45 45",xmlns:"http://www.w3.org/2000/svg"}},[t("g",{attrs:{fill:"none","fill-rule":"evenodd",transform:"translate(1 1)","stroke-width":"2"}},[t("circle",{attrs:{cx:"22",cy:"22",r:"6"}},[t("animate",{attrs:{attributeName:"r",begin:"1.5s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}}),t("animate",{attrs:{attributeName:"stroke-opacity",begin:"1.5s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}}),t("animate",{attrs:{attributeName:"stroke-width",begin:"1.5s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"}})]),t("circle",{attrs:{cx:"22",cy:"22",r:"6"}},[t("animate",{attrs:{attributeName:"r",begin:"3s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}}),t("animate",{attrs:{attributeName:"stroke-opacity",begin:"3s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}}),t("animate",{attrs:{attributeName:"stroke-width",begin:"3s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"}})]),t("circle",{attrs:{cx:"22",cy:"22",r:"8"}},[t("animate",{attrs:{attributeName:"r",begin:"0s",dur:"1.5s",values:"6;1;2;3;4;5;6",calcMode:"linear",repeatCount:"indefinite"}})])])])}},gn={name:"QSpinnerTail",mixins:[jt],render:function(t){return t("svg",{staticClass:"q-spinner",class:this.classes,attrs:{width:this.size,height:this.size,viewBox:"0 0 38 38",xmlns:"http://www.w3.org/2000/svg"}},[t("defs",[t("linearGradient",{attrs:{x1:"8.042%",y1:"0%",x2:"65.682%",y2:"23.865%",id:"a"}},[t("stop",{attrs:{"stop-color":"currentColor","stop-opacity":"0",offset:"0%"}}),t("stop",{attrs:{"stop-color":"currentColor","stop-opacity":".631",offset:"63.146%"}}),t("stop",{attrs:{"stop-color":"currentColor",offset:"100%"}})])]),t("g",{attrs:{transform:"translate(1 1)",fill:"none","fill-rule":"evenodd"}},[t("path",{attrs:{d:"M36 18c0-9.94-8.06-18-18-18",stroke:"url(#a)","stroke-width":"2"}},[t("animateTransform",{attrs:{attributeName:"transform",type:"rotate",from:"0 18 18",to:"360 18 18",dur:"0.9s",repeatCount:"indefinite"}})]),t("circle",{attrs:{fill:"currentColor",cx:"36",cy:"18",r:"1"}},[t("animateTransform",{attrs:{attributeName:"transform",type:"rotate",from:"0 18 18",to:"360 18 18",dur:"0.9s",repeatCount:"indefinite"}})])])])}},bn={name:"QStepTab",directives:{Ripple:It},props:["vm"],computed:{hasNavigation:function(){return!this.vm.__stepper.noHeaderNavigation},classes:function(){return{"step-error":this.vm.error,"step-active":this.vm.active,"step-done":this.vm.done,"step-navigation":this.vm.done&&this.hasNavigation,"step-waiting":this.vm.waiting,"step-disabled":this.vm.disable,"step-colored":this.vm.active||this.vm.done,"items-center":!this.vm.__stepper.vertical,"items-start":this.vm.__stepper.vertical,"q-stepper-first":this.vm.first,"q-stepper-last":this.vm.last}}},methods:{__select:function(){this.hasNavigation&&this.vm.select()}},render:function(t){var e=this.vm.stepIcon?t(ut,{props:{name:this.vm.stepIcon}}):t("span",[this.vm.innerOrder+1]);return t("div",{staticClass:"q-stepper-tab col-grow flex no-wrap relative-position",class:this.classes,on:{click:this.__select},directives:this.hasNavigation?[{name:"ripple",value:this.vm.done}]:null},[t("div",{staticClass:"q-stepper-dot row flex-center q-stepper-line relative-position"},[t("span",{staticClass:"row flex-center"},[e])]),this.vm.title?t("div",{staticClass:"q-stepper-label q-stepper-line relative-position"},[t("div",{staticClass:"q-stepper-title"},[this.vm.title]),t("div",{staticClass:"q-stepper-subtitle"},[this.vm.subtitle])]):null])}},_n={name:"QStep",inject:{__stepper:{default:function(){console.error("QStep needs to be child of QStepper")}}},props:{name:{type:[Number,String],default:function(){return Xt()}},default:Boolean,title:{type:String,required:!0},subtitle:String,icon:String,order:[Number,String],error:Boolean,activeIcon:String,errorIcon:String,doneIcon:String,disable:Boolean},watch:{order:function(){this.__stepper.__sortSteps()}},data:function(){return{innerOrder:0,first:!1,last:!1}},computed:{stepIcon:function(){var t=this.__stepper;return this.active?this.activeIcon||t.activeIcon||this.$q.icon.stepper.active:this.error?this.errorIcon||t.errorIcon||this.$q.icon.stepper.error:this.done&&!this.disable?this.doneIcon||t.doneIcon||this.$q.icon.stepper.done:this.icon},actualOrder:function(){return parseInt(this.order||this.innerOrder,10)},active:function(){return this.__stepper.step===this.name},done:function(){return!this.disable&&this.__stepper.currentOrder>this.innerOrder},waiting:function(){return!this.disable&&this.__stepper.currentOrders?"animate-fade-right":null}}},computed:{classes:function(){var t=["q-stepper-"+(this.vertical?"vertical":"horizontal"),"text-"+this.color];return this.contractable&&t.push("q-stepper-contractable"),t},hasSteps:function(){return this.steps.length>0},currentStep:function(){var t=this;if(this.hasSteps)return this.steps.find(function(e){return e.name===t.step})},currentOrder:function(){if(this.currentStep)return this.currentStep.innerOrder},length:function(){return this.steps.length}},methods:{goToStep:function(t){var e=this;this.step!==t&&void 0!==t&&(this.step=t,this.$emit("input",t),this.$emit("step",t),this.$nextTick(function(){JSON.stringify(t)!==JSON.stringify(e.value)&&e.$emit("change",t)}))},next:function(){this.__go(1)},previous:function(){this.__go(-1)},reset:function(){this.hasSteps&&this.goToStep(this.steps[0].name)},__go:function(t){var e,i=this.currentOrder;if(void 0===i){if(!this.hasSteps)return;e=this.steps[0].name}else{do{i+=t}while(i>=0&&ithis.length-1||this.steps[i].disable)return;e=this.steps[i].name}this.goToStep(e)},__sortSteps:function(){var t=this;this.steps.sort(function(t,e){return t.actualOrder-e.actualOrder});var e=this.steps.length-1;this.steps.forEach(function(t,i){t.innerOrder=i,t.first=0===i,t.last=i===e}),this.$nextTick(function(){t.steps.some(function(t){return t.active})||t.goToStep(t.steps[0].name)})},__registerStep:function(t){return this.steps.push(t),this.__sortSteps(),this},__unregisterStep:function(t){this.steps=this.steps.filter(function(e){return e!==t})}},created:function(){this.__sortSteps=se(this.__sortSteps)},render:function(t){return t("div",{staticClass:"q-stepper column overflow-hidden relative-position",class:this.classes},[this.vertical?null:t("div",{staticClass:"q-stepper-header row items-stretch justify-between shadow-1",class:{"alternative-labels":this.alternativeLabels}},this.steps.map(function(e){return t(bn,{key:e.name,props:{vm:e}})})),this.$slots.default])}},wn={directives:{Ripple:It},props:{label:String,icon:String,disable:Boolean,hidden:Boolean,hide:{type:String,default:""},name:{type:String,default:function(){return Xt()}},alert:Boolean,count:[Number,String],color:String,tabindex:Number},inject:{data:{default:function(){console.error("QTab/QRouteTab components need to be child of QTabs")}},selectTab:{}},watch:{active:function(t){t&&this.$emit("select",this.name)}},computed:{active:function(){return this.data.tabName===this.name},classes:function(){var t={active:this.active,hidden:this.hidden,disabled:this.disable,"q-tab-full":this.icon&&this.label,"q-tab-only-label":!this.icon&&this.label,"hide-none":!this.hide,"hide-icon":"icon"===this.hide,"hide-label":"label"===this.hide},e=this.data.inverted?this.color||this.data.textColor||this.data.color:this.color;return e&&(t["text-"+e]=!0),t},barStyle:function(){if(!this.active||!this.data.highlight)return"display: none;"},computedTabIndex:function(){return this.disable||this.active?-1:this.tabindex||0}},methods:{__getTabMeta:function(t){return this.count?[t(Ve,{staticClass:"q-tab-meta",props:{floating:!0}},[this.count])]:this.alert?[t("div",{staticClass:"q-tab-meta q-dot"})]:void 0},__getTabContent:function(t){var e=[];return this.icon&&e.push(t("div",{staticClass:"q-tab-icon-parent relative-position"},[t(ut,{staticClass:"q-tab-icon",props:{name:this.icon}}),this.__getTabMeta(t)])),this.label&&e.push(t("div",{staticClass:"q-tab-label-parent relative-position"},[t("div",{staticClass:"q-tab-label"},[this.label]),this.__getTabMeta(t)])),(e=e.concat(this.$slots.default)).push(t("div",{staticClass:"q-tabs-bar",style:this.barStyle,class:this.data.underlineClass})),e.push(t("div",{staticClass:"q-tab-focus-helper absolute-full",attrs:{tabindex:this.computedTabIndex}})),e}}},Cn={name:"QRouteTab",mixins:[wn,mt],inject:{selectTabRouter:{}},watch:{$route:function(){this.checkIfSelected()}},methods:{select:function(){this.$emit("click",this.name),this.disable||(this.$el.dispatchEvent(pt),this.selectTabRouter({value:this.name,selected:!0}))},checkIfSelected:function(){var t=this;this.$nextTick(function(){if(t.$el.classList.contains("q-router-link-exact-active"))t.selectTabRouter({value:t.name,selectable:!0,exact:!0});else if(t.$el.classList.contains("q-router-link-active")){var e=t.$router.resolve(t.to,void 0,t.append);t.selectTabRouter({value:t.name,selectable:!0,priority:e.href.length})}else t.active&&t.selectTabRouter({value:null})})}},mounted:function(){this.checkIfSelected()},render:function(t){var e=this;return t("router-link",{props:{tag:"a",to:this.to,exact:this.exact,append:this.append,replace:this.replace,event:"qrouterlinkclick",activeClass:"q-router-link-active",exactActiveClass:"q-router-link-exact-active"},attrs:{tabindex:-1},nativeOn:{click:this.select,keyup:function(t){return 13===t.keyCode&&e.select(t)}},staticClass:"q-link q-tab column flex-center relative-position",class:this.classes,directives:[{name:"ripple"}]},this.__getTabContent(t))}},kn={name:"QTab",mixins:[wn],props:{default:Boolean},methods:{select:function(){this.$emit("click",this.name),this.disable||this.selectTab(this.name)}},mounted:function(){this.default&&!this.disable&&this.select()},render:function(t){var e=this;return t("div",{staticClass:"q-tab column flex-center relative-position",class:this.classes,attrs:{"data-tab-name":this.name},on:{click:this.select,keyup:function(t){return 13===t.keyCode&&e.select(t)}},directives:[{name:"ripple"}]},this.__getTabContent(t))}},xn={name:"QTabPane",inject:{data:{default:function(){console.error("QTabPane needs to be child of QTabs")}}},props:{name:{type:String,required:!0},keepAlive:Boolean},data:function(){return{shown:!1}},computed:{active:function(){return this.data.tabName===this.name},classes:function(){return{hidden:!this.active,"animate-fade-left":"left"===this.data.direction,"animate-fade-right":"right"===this.data.direction}}},render:function(t){var e=t("div",{staticClass:"q-tab-pane",class:this.classes},this.$slots.default);if(this.keepAlive){if(!this.shown&&!this.active)return;return this.shown=!0,e}if(this.shown=this.active,this.active)return e}};function Sn(t){if(t)return"text-"+t}var qn={name:"QTabs",provide:function(){return{data:this.data,selectTab:this.selectTab,selectTabRouter:this.selectTabRouter}},directives:{TouchSwipe:He},props:{value:String,align:{type:String,default:"left",validator:function(t){return["left","center","right","justify"].includes(t)}},position:{type:String,default:"top",validator:function(t){return["top","bottom"].includes(t)}},color:{type:String,default:"primary"},textColor:String,inverted:Boolean,twoLines:Boolean,glossy:Boolean,animated:Boolean,swipeable:Boolean,panesContainerClass:String,underlineColor:String},data:function(){return{currentEl:null,posbar:{width:0,left:0},data:{highlight:!0,tabName:this.value||"",color:this.color,textColor:this.textColor,inverted:this.inverted,underlineClass:Sn(this.underlineColor),direction:null}}},watch:{value:function(t){this.selectTab(t)},color:function(t){this.data.color=t},textColor:function(t){this.data.textColor=t},inverted:function(t){this.data.inverted=t},underlineColor:function(t){this.data.underlineClass=Sn(t)}},computed:{classes:function(){return["q-tabs-position-"+this.position,"q-tabs-"+(this.inverted?"inverted":"normal"),this.twoLines?"q-tabs-two-lines":""]},innerClasses:function(){var t=["q-tabs-align-"+this.align];return this.glossy&&t.push("glossy"),this.inverted?t.push("text-"+(this.textColor||this.color)):(t.push("bg-"+this.color),t.push("text-"+(this.textColor||"white"))),t},posbarClasses:function(){var t=[];return this.inverted&&t.push("text-"+(this.textColor||this.color)),this.data.highlight&&t.push("highlight"),t}},methods:{go:function(t){var e=0;if(this.data.tabName){var i=this.$refs.scroller.querySelector('[data-tab-name="'+this.data.tabName+'"]');i&&(e=Array.prototype.indexOf.call(this.$refs.scroller.children,i))}var s=this.$refs.scroller.querySelectorAll("[data-tab-name]");(e+=t)>-1&&e-1){var c=this.buffer[l];n&&(c.exact=n),s&&(c.selectable=s),o&&(c.selected=o),r&&(c.priority=r)}else this.buffer.push(t);a&&(this.bufferTimer=setTimeout(function(){var t=e.buffer.find(function(t){return t.exact&&t.selected})||e.buffer.find(function(t){return t.selectable&&t.selected})||e.buffer.find(function(t){return t.exact})||e.buffer.filter(function(t){return t.selectable}).sort(function(t,e){return e.priority-t.priority})[0]||e.buffer[0];e.buffer.length=0,e.selectTab(t.value)},100))},__swipe:function(t){this.go("left"===t.direction?1:-1)},__repositionBar:function(){var t=this;clearTimeout(this.timer);var e=!1,i=this.$refs.posbar,s=this.currentEl;if(!1!==this.data.highlight&&(this.data.highlight=!1,e=!0),!s)return this.finalPosbar={width:0,left:0},void this.__setPositionBar(0,0);var n=i.parentNode.offsetLeft;e&&this.oldEl&&this.__setPositionBar(this.oldEl.getBoundingClientRect().width,this.oldEl.offsetLeft-n),this.timer=setTimeout(function(){var e=s.getBoundingClientRect().width,o=s.offsetLeft-n;i.classList.remove("contract"),t.oldEl=s,t.finalPosbar={width:e,left:o},t.__setPositionBar(t.posbar.left=this.$refs.scroller.scrollWidth?"add":"remove";this.$refs.leftScroll.classList[this.$refs.scroller.scrollLeft<=0?"add":"remove"]("disabled"),this.$refs.rightScroll.classList[t]("disabled")}},__getTabElByName:function(t){var e=this.$children.find(function(e){return e.name===t&&e.$el&&1===e.$el.nodeType});if(e)return e.$el},__findTabAndScroll:function(t,e){var i=this;setTimeout(function(){i.__scrollToTab(i.__getTabElByName(t),e)},200)},__scrollToTab:function(t,e){if(t&&this.scrollable){var i=this.$refs.scroller.getBoundingClientRect(),s=t.getBoundingClientRect(),n=s.width,o=s.left-i.left;o<0?e?this.$refs.scroller.scrollLeft+=o:this.__animScrollTo(this.$refs.scroller.scrollLeft+o):(o+=n-this.$refs.scroller.offsetWidth)>0&&(e?this.$refs.scroller.scrollLeft+=o:this.__animScrollTo(this.$refs.scroller.scrollLeft+o))}},__animScrollTo:function(t){var e=this;this.__stopAnimScroll(),this.__scrollTowards(t),this.scrollTimer=setInterval(function(){e.__scrollTowards(t)&&e.__stopAnimScroll()},5)},__scrollToStart:function(){this.__animScrollTo(0)},__scrollToEnd:function(){this.__animScrollTo(9999)},__stopAnimScroll:function(){clearInterval(this.scrollTimer)},__scrollTowards:function(t){var e=this.$refs.scroller.scrollLeft,i=t=t)&&(s=!0,e=t),this.$refs.scroller.scrollLeft=e,s}},render:function(t){return t("div",{staticClass:"q-tabs flex no-wrap overflow-hidden",class:this.classes},[t("div",{staticClass:"q-tabs-head row",ref:"tabs",class:this.innerClasses},[t("div",{ref:"scroller",staticClass:"q-tabs-scroller row no-wrap"},[this.$slots.title,t("div",{staticClass:"relative-position self-stretch q-tabs-global-bar-container",class:this.posbarClasses},[t("div",{ref:"posbar",staticClass:"q-tabs-bar q-tabs-global-bar",class:this.data.underlineClass,on:{transitionend:this.__updatePosbarTransition}})])]),t("div",{ref:"leftScroll",staticClass:"row flex-center q-tabs-left-scroll",on:{mousedown:this.__scrollToStart,touchstart:this.__scrollToStart,mouseup:this.__stopAnimScroll,mouseleave:this.__stopAnimScroll,touchend:this.__stopAnimScroll}},[t(ut,{props:{name:this.$q.icon.tabs.left}})]),t("div",{ref:"rightScroll",staticClass:"row flex-center q-tabs-right-scroll",on:{mousedown:this.__scrollToEnd,touchstart:this.__scrollToEnd,mouseup:this.__stopAnimScroll,mouseleave:this.__stopAnimScroll,touchend:this.__stopAnimScroll}},[t(ut,{props:{name:this.$q.icon.tabs.right}})])]),t("div",{staticClass:"q-tabs-panes",class:this.panesContainerClass,directives:this.swipeable?[{name:"touch-swipe",value:this.__swipe}]:null},this.$slots.default)])},created:function(){this.timer=null,this.scrollTimer=null,this.bufferTimer=null,this.buffer=[],this.scrollable=!this.$q.platform.is.desktop,this.__redraw=ts(this.__redraw,50),this.__updateScrollIndicator=ts(this.__updateScrollIndicator,50)},mounted:function(){var t=this;this.$nextTick(function(){t.$refs.scroller&&(t.$refs.scroller.addEventListener("scroll",t.__updateScrollIndicator,L.passive),window.addEventListener("resize",t.__redraw,L.passive),""!==t.data.tabName&&t.value&&t.selectTab(t.value),t.__redraw(),t.__findTabAndScroll(t.data.tabName,!0))})},beforeDestroy:function(){clearTimeout(this.timer),clearTimeout(this.bufferTimer),this.__stopAnimScroll(),this.$refs.scroller.removeEventListener("scroll",this.__updateScrollIndicator,L.passive),window.removeEventListener("resize",this.__redraw,L.passive),this.__redraw.cancel(),this.__updateScrollIndicator.cancel()}},$n={name:"QTh",props:{props:Object,autoWidth:Boolean},render:function(t){var e,i=this;if(!this.props)return t("td",{class:{"q-table-col-auto-width":this.autoWidth}},this.$slots.default);var s=this.$vnode.key,n=[].concat(this.$slots.default);if(s){if(!(e=this.props.colsMap[s]))return}else e=this.props.col;e.sortable&&n["right"===e.align?"unshift":"push"](t(ut,{props:{name:this.$q.icon.table.arrowUp},staticClass:e.__iconClass}));return t("th",{class:[e.__thClass,{"q-table-col-auto-width":this.autoWidth}],on:e.sortable?{click:function(){i.props.sort(e)}}:null},n)}};function Tn(t){return t.page<1&&(t.page=1),void 0!==t.rowsPerPage&&t.rowsPerPage<1&&(t.rowsPerPage=0),t}var Mn={name:"QTable",mixins:[Oe,{computed:{marginalsProps:function(){return{pagination:this.computedPagination,pagesNumber:this.pagesNumber,isFirstPage:this.isFirstPage,isLastPage:this.isLastPage,prevPage:this.prevPage,nextPage:this.nextPage,inFullscreen:this.inFullscreen,toggleFullscreen:this.toggleFullscreen}}},methods:{getTop:function(t){var e=this.$scopedSlots.top,i=this.$scopedSlots["top-left"],s=this.$scopedSlots["top-right"],n=this.$scopedSlots["top-selection"],o=this.hasSelectionMode&&n&&this.rowsSelectedNumber>0,r="q-table-top relative-position row items-center",a=[];return e?t("div",{staticClass:r},[e(this.marginalsProps)]):(o?a.push(n(this.marginalsProps)):i?a.push(t("div",{staticClass:"q-table-control"},[i(this.marginalsProps)])):this.title&&a.push(t("div",{staticClass:"q-table-control"},[t("div",{staticClass:"q-table-title"},this.title)])),s&&(a.push(t("div",{staticClass:"q-table-separator col"})),a.push(t("div",{staticClass:"q-table-control"},[s(this.marginalsProps)]))),0!==a.length?t("div",{staticClass:r},a):void 0)}}},{methods:{getTableHeader:function(t){var e=[this.getTableHeaderRow(t)];return this.loading&&e.push(t("tr",{staticClass:"q-table-progress animate-fade"},[t("td",{attrs:{colspan:"100%"}},[t(Hs,{props:{color:this.color,indeterminate:!0,height:"2px"}})])])),t("thead",e)},getTableHeaderRow:function(t){var e,i=this,s=this.$scopedSlots.header,n=this.$scopedSlots["header-cell"];if(s)return s(this.addTableHeaderRowMeta({header:!0,cols:this.computedCols,sort:this.sort,colsMap:this.computedColsMap}));e=n?function(t){return n({col:t,cols:i.computedCols,sort:i.sort,colsMap:i.computedColsMap})}:function(e){return t($n,{key:e.name,props:{props:{col:e,cols:i.computedCols,sort:i.sort,colsMap:i.computedColsMap}},style:e.style,class:e.classes},e.label)};var o=this.computedCols.map(e);return this.singleSelection&&!this.grid?o.unshift(t("th",{staticClass:"q-table-col-auto-width"},[" "])):this.multipleSelection&&o.unshift(t("th",{staticClass:"q-table-col-auto-width"},[t(Qe,{props:{color:this.color,value:this.someRowsSelected?null:this.allRowsSelected,dark:this.dark},on:{input:function(t){i.someRowsSelected&&(t=!1),i.__updateSelection(i.computedRows.map(function(t){return t[i.rowKey]}),i.computedRows,t)}}})])),t("tr",o)},addTableHeaderRowMeta:function(t){var e=this;return this.multipleSelection&&(Object.defineProperty(t,"selected",{get:function(){return e.someRowsSelected?"some":e.allRowsSelected},set:function(t){e.someRowsSelected&&(t=!1),e.__updateSelection(e.computedRows.map(function(t){return t[e.rowKey]}),e.computedRows,t)}}),t.partialSelected=this.someRowsSelected,t.multipleSelect=!0),t}}},{methods:{getTableBody:function(t){var e=this,i=this.$scopedSlots.body,s=this.$scopedSlots["body-cell"],n=this.$scopedSlots["top-row"],o=this.$scopedSlots["bottom-row"],r=[];return r=i?this.computedRows.map(function(t){var s=t[e.rowKey],n=e.isRowSelected(s);return i(e.addBodyRowMeta({key:s,row:t,cols:e.computedCols,colsMap:e.computedColsMap,__trClass:n?"selected":""}))}):this.computedRows.map(function(i){var n=i[e.rowKey],o=e.isRowSelected(n),r=s?e.computedCols.map(function(t){return s(e.addBodyCellMetaData({row:i,col:t}))}):e.computedCols.map(function(s){var n=e.$scopedSlots["body-cell-"+s.name];return n?n(e.addBodyCellMetaData({row:i,col:s})):t("td",{staticClass:s.__tdClass,style:s.style,class:s.classes},e.getCellValue(s,i))});return e.hasSelectionMode&&r.unshift(t("td",{staticClass:"q-table-col-auto-width"},[t(Qe,{props:{value:o,color:e.color,dark:e.dark},on:{input:function(t){e.__updateSelection([n],[i],t)}}})])),t("tr",{key:n,class:{selected:o}},r)}),n&&r.unshift(n({cols:this.computedCols})),o&&r.push(o({cols:this.computedCols})),t("tbody",r)},addBodyRowMeta:function(t){var e=this;return this.hasSelectionMode&&Object.defineProperty(t,"selected",{get:function(){return e.isRowSelected(t.key)},set:function(i){e.__updateSelection([t.key],[t.row],i)}}),Object.defineProperty(t,"expand",{get:function(){return!0===e.rowsExpanded[t.key]},set:function(i){e.$set(e.rowsExpanded,t.key,i)}}),t.cols=t.cols.map(function(i){var s=Object.assign({},i);return Object.defineProperty(s,"value",{get:function(){return e.getCellValue(i,t.row)}}),s}),t},addBodyCellMetaData:function(t){var e=this;return Object.defineProperty(t,"value",{get:function(){return e.getCellValue(t.col,t.row)}}),t},getCellValue:function(t,e){var i="function"==typeof t.field?t.field(e):e[t.field];return t.format?t.format(i):i}}},{computed:{navIcon:function(){var t=[this.$q.icon.table.prevPage,this.$q.icon.table.nextPage];return this.$q.i18n.rtl?t.reverse():t}},methods:{getBottom:function(t){if(!this.hideBottom){if(this.nothingToDisplay){var e=this.filter?this.noResultsLabel||this.$q.i18n.table.noResults:this.loading?this.loadingLabel||this.$q.i18n.table.loading:this.noDataLabel||this.$q.i18n.table.noData;return t("div",{staticClass:"q-table-bottom row items-center q-table-nodata"},[t(ut,{props:{name:this.$q.icon.table.warning}}),e])}var i=this.$scopedSlots.bottom;return t("div",{staticClass:"q-table-bottom row items-center",class:i?null:"justify-end"},i?[i(this.marginalsProps)]:this.getPaginationRow(t))}},getPaginationRow:function(t){var e=this,i=this.computedPagination.rowsPerPage,s=this.paginationLabel||this.$q.i18n.table.pagination,n=this.$scopedSlots.pagination;return[t("div",{staticClass:"q-table-control"},[t("div",[this.hasSelectionMode&&this.rowsSelectedNumber>0?(this.selectedRowsLabel||this.$q.i18n.table.selectedRecords)(this.rowsSelectedNumber):""])]),t("div",{staticClass:"q-table-separator col"}),this.rowsPerPageOptions.length>1&&t("div",{staticClass:"q-table-control"},[t("span",{staticClass:"q-table-bottom-item"},[this.rowsPerPageLabel||this.$q.i18n.table.recordsPerPage]),t(Js,{staticClass:"inline q-table-bottom-item",props:{color:this.color,value:i,options:this.computedRowsPerPageOptions,dark:this.dark,hideUnderline:!0},on:{input:function(t){e.setPagination({page:1,rowsPerPage:t})}}})])||void 0,t("div",{staticClass:"q-table-control"},[n?n(this.marginalsProps):[t("span",{staticClass:"q-table-bottom-item"},[i?s(this.firstRowIndex+1,Math.min(this.lastRowIndex,this.computedRowsNumber),this.computedRowsNumber):s(1,this.computedRowsNumber,this.computedRowsNumber)]),t(Ut,{props:{color:this.color,round:!0,icon:this.navIcon[0],dense:!0,flat:!0,disable:this.isFirstPage},on:{click:this.prevPage}}),t(Ut,{props:{color:this.color,round:!0,icon:this.navIcon[1],dense:!0,flat:!0,disable:this.isLastPage},on:{click:this.nextPage}})]])]}}},{props:{sortMethod:{type:Function,default:function(t,e,i){var s=this.columns.find(function(t){return t.name===e});if(null===s||void 0===s.field)return t;var n=i?-1:1,o="function"==typeof s.field?function(t){return s.field(t)}:function(t){return t[s.field]};return t.sort(function(t,e){var i,r=o(t),a=o(e);return null===r||void 0===r?-1*n:null===a||void 0===a?1*n:s.sort?s.sort(r,a)*n:ke(r)&&ke(a)?(r-a)*n:Ce(r)&&Ce(a)?function(t,e){return new Date(t)-new Date(e)}(r,a)*n:"boolean"==typeof r&&"boolean"==typeof a?(t-e)*n:(r=(i=[r,a].map(function(t){return(t+"").toLowerCase()}))[0])<(a=i[1])?-1*n:r===a?0:n})}}},computed:{columnToSort:function(){var t=this.computedPagination.sortBy;if(t)return this.columns.find(function(e){return e.name===t})||null}},methods:{sort:function(t){t===Object(t)&&(t=t.name);var e=this.computedPagination,i=e.sortBy,s=e.descending;i!==t?(i=t,s=!1):this.binaryStateSort?s=!s:s?i=null:s=!0,this.setPagination({sortBy:i,descending:s,page:1})}}},{props:{filter:[String,Object],filterMethod:{type:Function,default:function(t,e,i,s){void 0===i&&(i=this.computedCols),void 0===s&&(s=this.getCellValue);var n=e?e.toLowerCase():"";return t.filter(function(t){return i.some(function(e){return-1!==(s(e,t)+"").toLowerCase().indexOf(n)})})}}},watch:{filter:function(){var t=this;this.$nextTick(function(){t.setPagination({page:1},!0)})}}},{props:{pagination:Object,rowsPerPageOptions:{type:Array,default:function(){return[3,5,7,10,15,20,25,50,0]}}},data:function(){return{innerPagination:{sortBy:null,descending:!1,page:1,rowsPerPage:5}}},computed:{computedPagination:function(){return Tn(Object.assign({},this.innerPagination,this.pagination))},firstRowIndex:function(){var t=this.computedPagination;return(t.page-1)*t.rowsPerPage},lastRowIndex:function(){var t=this.computedPagination;return t.page*t.rowsPerPage},isFirstPage:function(){return 1===this.computedPagination.page},pagesNumber:function(){return Math.max(1,Math.ceil(this.computedRowsNumber/this.computedPagination.rowsPerPage))},isLastPage:function(){return 0===this.lastRowIndex||this.computedPagination.page>=this.pagesNumber},computedRowsPerPageOptions:function(){var t=this;return this.rowsPerPageOptions.map(function(e){return{label:0===e?t.$q.i18n.table.allRows:""+e,value:e}})}},watch:{pagesNumber:function(t,e){if(t!==e){var i=this.computedPagination.page;t&&!i?this.setPagination({page:1}):t1&&this.setPagination({page:t-1})},nextPage:function(){var t=this.computedPagination,e=t.page,i=t.rowsPerPage;this.lastRowIndex>0&&e*i0&&this.computedRows.every(function(e){return!0===t.selectedKeys[e[t.rowKey]]})},someRowsSelected:function(){var t=this;if(this.multipleSelection)return!this.allRowsSelected&&this.computedRows.some(function(e){return!0===t.selectedKeys[e[t.rowKey]]})},rowsSelectedNumber:function(){return this.selected.length}},methods:{isRowSelected:function(t){return!0===this.selectedKeys[t]},clearSelection:function(){this.$emit("update:selected",[])},__updateSelection:function(t,e,i){var s=this;this.singleSelection?this.$emit("update:selected",i?e:[]):this.$emit("update:selected",i?this.selected.concat(e):this.selected.filter(function(e){return!t.includes(e[s.rowKey])}))}}},{props:{visibleColumns:Array},computed:{computedCols:function(){var t=this,e=this.computedPagination,i=e.sortBy,s=e.descending;return(this.visibleColumns?this.columns.filter(function(e){return e.required||t.visibleColumns.includes(e.name)}):this.columns).map(function(t){return t.align=t.align||"right",t.__iconClass="q-table-sort-icon q-table-sort-icon-"+t.align,t.__thClass="text-"+t.align+(t.sortable?" sortable":"")+(t.name===i?" sorted "+(s?"sort-desc":""):""),t.__tdClass="text-"+t.align,t})},computedColsMap:function(){var t={};return this.computedCols.forEach(function(e){t[e.name]=e}),t}}},{data:function(){return{rowsExpanded:{}}}}],props:{data:{type:Array,default:function(){return[]}},rowKey:{type:String,default:"id"},color:{type:String,default:"grey-8"},grid:Boolean,dense:Boolean,columns:Array,loading:Boolean,title:String,hideHeader:Boolean,hideBottom:Boolean,dark:Boolean,separator:{type:String,default:"horizontal",validator:function(t){return["horizontal","vertical","cell","none"].includes(t)}},binaryStateSort:Boolean,noDataLabel:String,noResultsLabel:String,loadingLabel:String,selectedRowsLabel:Function,rowsPerPageLabel:String,paginationLabel:Function,tableStyle:{type:[String,Array,Object],default:""},tableClass:{type:[String,Array,Object],default:""}},computed:{computedData:function(){var t=this.data.slice().map(function(t,e){return t.__index=e,t});if(0===t.length)return{rowsNumber:0,rows:[]};if(this.isServerSide)return{rows:t};var e=this.computedPagination,i=e.sortBy,s=e.descending,n=e.rowsPerPage;this.filter&&(t=this.filterMethod(t,this.filter,this.computedCols,this.getCellValue)),this.columnToSort&&(t=this.sortMethod(t,i,s));var o=t.length;return n&&(t=t.slice(this.firstRowIndex,this.lastRowIndex)),{rowsNumber:o,rows:t}},computedRows:function(){return this.computedData.rows},computedRowsNumber:function(){return this.isServerSide?this.computedPagination.rowsNumber||0:this.computedData.rowsNumber},nothingToDisplay:function(){return 0===this.computedRows.length},isServerSide:function(){return void 0!==this.computedPagination.rowsNumber}},render:function(t){return t("div",{class:{"q-table-grid":this.grid,"q-table-container":!0,"q-table-dark":this.dark,"q-table-dense":this.dense,fullscreen:this.inFullscreen,scroll:this.inFullscreen}},[this.getTop(t),this.getBody(t),this.getBottom(t)])},methods:{requestServerInteraction:function(t){var e=this;this.$nextTick(function(){e.$emit("request",{pagination:t.pagination||e.computedPagination,filter:t.filter||e.filter,getCellValue:e.getCellValue})})},getBody:function(t){var e=this,i=!this.hideHeader;if(this.grid){var s=this.$scopedSlots.item;if(void 0!==s)return[i&&t("div",{staticClass:"q-table-middle scroll"},[t("table",{staticClass:"q-table"+(this.dark?" q-table-dark":"")},[this.getTableHeader(t)])])||null,t("div",{staticClass:"row"},this.computedRows.map(function(t){var i=t[e.rowKey],n=e.isRowSelected(i);return s(e.addBodyRowMeta({key:i,row:t,cols:e.computedCols,colsMap:e.computedColsMap,__trClass:n?"selected":""}))}))]}return t("div",{staticClass:"q-table-middle scroll",class:this.tableClass,style:this.tableStyle},[t("table",{staticClass:"q-table q-table-"+this.separator+"-separator"+(this.dark?" q-table-dark":"")},[i&&this.getTableHeader(t)||null,this.getTableBody(t)])])}}},Pn={name:"QTr",props:{props:Object},render:function(t){return t("tr",!this.props||this.props.header?{}:{class:this.props.__trClass},this.$slots.default)}},Ln={name:"QTd",props:{props:Object,autoWidth:Boolean},render:function(t){if(!this.props)return t("td",{class:{"q-table-col-auto-width":this.autoWidth}},this.$slots.default);var e,i=this.$vnode.key;if(i){if(!(e=this.props.colsMap[i]))return}else e=this.props.col;return t("td",{class:[e.__tdClass,{"q-table-col-auto-width":this.autoWidth}]},this.$slots.default)}},Bn={name:"QTableColumns",props:{value:{type:Array,required:!0},label:String,columns:{type:Array,required:!0},color:String,dark:Boolean},computed:{computedOptions:function(){return this.columns.filter(function(t){return!t.required}).map(function(t){return{value:t.name,label:t.label}})}},render:function(t){var e=this;return t(Js,{props:{multiple:!0,toggle:!0,value:this.value,options:this.computedOptions,displayValue:this.label||this.$q.i18n.table.columns,color:this.color,dark:this.dark,hideUnderline:!0},on:{input:function(t){e.$emit("input",t)},change:function(t){e.$emit("change",t)}}})}},En={name:"QTimeline",provide:function(){return{__timeline:this}},props:{color:{type:String,default:"primary"},responsive:Boolean,noHover:Boolean,dark:Boolean},render:function(t){return t("ul",{staticClass:"q-timeline",class:{"q-timeline-dark":this.dark,"q-timeline-responsive":this.responsive,"q-timeline-hover":!this.noHover}},this.$slots.default)}},Nn={name:"QTimelineEntry",inject:{__timeline:{default:function(){console.error("QTimelineEntry needs to be child of QTimeline")}}},props:{heading:Boolean,tag:{type:String,default:"h3"},side:{type:String,default:"right",validator:function(t){return["left","right"].includes(t)}},icon:String,color:String,title:String,subtitle:String},computed:{colorClass:function(){return"text-"+(this.color||this.__timeline.color)},classes:function(){return["q-timeline-entry-"+("left"===this.side?"left":"right"),this.icon?"q-timeline-entry-with-icon":""]}},render:function(t){return this.heading?t("div",{staticClass:"q-timeline-heading"},[t("div"),t("div"),t(this.tag,{staticClass:"q-timeline-heading-title"},this.$slots.default)]):t("li",{staticClass:"q-timeline-entry",class:this.classes},[this.$slots.subtitle||t("div",{staticClass:"q-timeline-subtitle"},[t("span",this.subtitle)]),t("div",{staticClass:"q-timeline-dot",class:this.colorClass},[this.icon?t(ut,{props:{name:this.icon}}):null]),t("div",{staticClass:"q-timeline-content"},(this.$slots.title||[t("h6",{staticClass:"q-timeline-title"},[this.title])]).concat(this.$slots.default))])}},On={name:"QToolbar",props:{color:{type:String,default:"primary"},textColor:String,inverted:Boolean,glossy:Boolean},computed:{classes:function(){var t=["q-toolbar-"+(this.inverted?"inverted":"normal")];return this.glossy&&t.push("glossy"),this.inverted?t.push("text-"+(this.textColor||this.color)):(t.push("bg-"+this.color),t.push("text-"+(this.textColor||"white"))),t}},render:function(t){return t("div",{staticClass:"q-toolbar row no-wrap items-center relative-position",class:this.classes},this.$slots.default)}},zn={name:"QToolbarTitle",props:{shrink:Boolean},render:function(t){return t("div",{staticClass:"q-toolbar-title",class:this.shrink?"col-auto":null},[this.$slots.default,this.$slots.subtitle?t("div",{staticClass:"q-toolbar-subtitle"},this.$slots.subtitle):null])}},Dn={name:"QTree",directives:{Ripple:It},props:{nodes:Array,nodeKey:{type:String,required:!0},labelKey:{type:String,default:"label"},color:{type:String,default:"grey"},controlColor:String,textColor:String,dark:Boolean,icon:String,tickStrategy:{type:String,default:"none",validator:function(t){return["none","strict","leaf","leaf-filtered"].includes(t)}},ticked:Array,expanded:Array,selected:{},defaultExpandAll:Boolean,accordion:Boolean,filter:String,filterMethod:{type:Function,default:function(t,e){var i=e.toLowerCase();return t[this.labelKey]&&t[this.labelKey].toLowerCase().indexOf(i)>-1}},duration:Number,noNodesLabel:String,noResultsLabel:String},computed:{hasRipple:function(){return!this.noRipple},classes:function(){return["text-"+this.color,{"q-tree-dark":this.dark}]},hasSelection:function(){return void 0!==this.selected},computedIcon:function(){return this.icon||this.$q.icon.tree.icon},computedControlColor:function(){return this.controlColor||this.color},contentClass:function(){return"text-"+(this.textColor||(this.dark?"white":"black"))},meta:function(){var t=this,e={},i=function(s,n){var o=s.tickStrategy||(n?n.tickStrategy:t.tickStrategy),r=s[t.nodeKey],a=s.children&&s.children.length>0,l=!a,c=!s.disabled&&t.hasSelection&&!1!==s.selectable,h=!s.disabled&&!1!==s.expandable,u="none"!==o,d="strict"===o,p="leaf-filtered"===o,f="leaf"===o||"leaf-filtered"===o,m=!s.disabled&&!1!==s.tickable;f&&m&&n&&!n.tickable&&(m=!1);var v=s.lazy;v&&t.lazy[r]&&(v=t.lazy[r]);var g={key:r,parent:n,isParent:a,isLeaf:l,lazy:v,disabled:s.disabled,link:c||h&&(a||!0===v),children:[],matchesFilter:!t.filter||t.filterMethod(s,t.filter),selected:r===t.selected&&c,selectable:c,expanded:!!a&&t.innerExpanded.includes(r),expandable:h,noTick:s.noTick||!d&&v&&"loaded"!==v,tickable:m,tickStrategy:o,hasTicking:u,strictTicking:d,leafFilteredTicking:p,leafTicking:f,ticked:d?t.innerTicked.includes(r):!!l&&t.innerTicked.includes(r)};if(e[r]=g,a&&(g.children=s.children.map(function(t){return i(t,g)}),t.filter&&(g.matchesFilter||(g.matchesFilter=g.children.some(function(t){return t.matchesFilter})),g.matchesFilter&&!g.noTick&&!g.disabled&&g.tickable&&p&&g.children.every(function(t){return!t.matchesFilter||t.noTick||!t.tickable})&&(g.tickable=!1)),g.matchesFilter&&(g.noTick||d||!g.children.every(function(t){return t.noTick})||(g.noTick=!0),f&&(g.ticked=!1,g.indeterminate=g.children.some(function(t){return t.indeterminate}),!g.indeterminate)))){var b=g.children.reduce(function(t,e){return e.ticked?t+1:t},0);b===g.children.length?g.ticked=!0:b>0&&(g.indeterminate=!0)}return g};return this.nodes.forEach(function(t){return i(t,null)}),e}},data:function(){return{lazy:{},innerTicked:this.ticked||[],innerExpanded:this.expanded||[]}},watch:{ticked:function(t){this.innerTicked=t},expanded:function(t){this.innerExpanded=t}},methods:{getNodeByKey:function(t){var e=this,i=[].reduce,s=function(n,o){return n||!o?n:Array.isArray(o)?i.call(Object(o),s,n):o[e.nodeKey]===t?o:o.children?s(null,o.children):void 0};return s(null,this.nodes)},getTickedNodes:function(){var t=this;return this.innerTicked.map(function(e){return t.getNodeByKey(e)})},getExpandedNodes:function(){var t=this;return this.innerExpanded.map(function(e){return t.getNodeByKey(e)})},isExpanded:function(t){return!(!t||!this.meta[t])&&this.meta[t].expanded},collapseAll:function(){void 0!==this.expanded?this.$emit("update:expanded",[]):this.innerExpanded=[]},expandAll:function(){var t=this,e=this.innerExpanded,i=function(s){s.children&&s.children.length>0&&!1!==s.expandable&&!0!==s.disabled&&(e.push(s[t.nodeKey]),s.children.forEach(i))};this.nodes.forEach(i),void 0!==this.expanded?this.$emit("update:expanded",e):this.innerExpanded=e},setExpanded:function(t,e,i,s){var n=this;if(void 0===i&&(i=this.getNodeByKey(t)),void 0===s&&(s=this.meta[t]),s.lazy&&"loaded"!==s.lazy){if("loading"===s.lazy)return;this.$set(this.lazy,t,"loading"),this.$emit("lazy-load",{node:i,key:t,done:function(e){n.lazy[t]="loaded",e&&(i.children=e),n.$nextTick(function(){var e=n.meta[t];e&&e.isParent&&n.__setExpanded(t,!0)})},fail:function(){n.$delete(n.lazy,t)}})}else s.isParent&&s.expandable&&this.__setExpanded(t,e)},__setExpanded:function(t,e){var i=this,s=this.innerExpanded,n=void 0!==this.expanded;if(n&&(s=s.slice()),e){if(this.accordion&&this.meta[t]){var o=[];this.meta[t].parent?this.meta[t].parent.children.forEach(function(e){e.key!==t&&e.expandable&&o.push(e.key)}):this.nodes.forEach(function(e){var s=e[i.nodeKey];s!==t&&o.push(s)}),o.length>0&&(s=s.filter(function(t){return!o.includes(t)}))}s=s.concat([t]).filter(function(t,e,i){return i.indexOf(t)===e})}else s=s.filter(function(e){return e!==t});n?this.$emit("update:expanded",s):this.innerExpanded=s},isTicked:function(t){return!(!t||!this.meta[t])&&this.meta[t].ticked},setTicked:function(t,e){var i=this.innerTicked,s=void 0!==this.ticked;s&&(i=i.slice()),i=e?i.concat(t).filter(function(t,e,i){return i.indexOf(t)===e}):i.filter(function(e){return!t.includes(e)}),s&&this.$emit("update:ticked",i)},__getSlotScope:function(t,e,i){var s=this,n={tree:this,node:t,key:i,color:this.color,dark:this.dark};return Object.defineProperty(n,"expanded",{get:function(){return e.expanded},set:function(t){t!==e.expanded&&s.setExpanded(i,t)}}),Object.defineProperty(n,"ticked",{get:function(){return e.ticked},set:function(t){t!==e.ticked&&s.setTicked([i],t)}}),n},__getChildren:function(t,e){var i=this;return(this.filter?e.filter(function(t){return i.meta[t[i.nodeKey]].matchesFilter}):e).map(function(e){return i.__getNode(t,e)})},__getNodeMedia:function(t,e){return e.icon?t(ut,{staticClass:"q-tree-icon q-mr-sm",props:{name:e.icon,color:e.iconColor}}):e.img||e.avatar?t("img",{staticClass:"q-tree-img q-mr-sm",class:{avatar:e.avatar},attrs:{src:e.img||e.avatar}}):void 0},__getNode:function(t,e){var i=this,s=e[this.nodeKey],n=this.meta[s],o=e.header&&this.$scopedSlots["header-"+e.header]||this.$scopedSlots["default-header"],r=n.isParent?this.__getChildren(t,e.children):[],a=r.length>0||n.lazy&&"loaded"!==n.lazy,l=e.body&&this.$scopedSlots["body-"+e.body]||this.$scopedSlots["default-body"],c=o||l?this.__getSlotScope(e,n,s):null;return l&&(l=t("div",{staticClass:"q-tree-node-body relative-position"},[t("div",{class:this.contentClass},[l(c)])])),t("div",{key:s,staticClass:"q-tree-node",class:{"q-tree-node-parent":a,"q-tree-node-child":!a}},[t("div",{staticClass:"q-tree-node-header relative-position row no-wrap items-center",class:{"q-tree-node-link":n.link,"q-tree-node-selected":n.selected,disabled:n.disabled},on:{click:function(){i.__onClick(e,n)}},directives:n.selectable?[{name:"ripple"}]:null},["loading"===n.lazy?t(Kt,{staticClass:"q-tree-node-header-media q-mr-xs",props:{color:this.computedControlColor}}):a?t(ut,{staticClass:"q-tree-arrow q-mr-xs transition-generic",class:{"q-tree-arrow-rotate":n.expanded},props:{name:this.computedIcon},nativeOn:{click:function(t){i.__onExpandClick(e,n,t)}}}):null,t("span",{staticClass:"row no-wrap items-center",class:this.contentClass},[n.hasTicking&&!n.noTick?t(Qe,{staticClass:"q-mr-xs",props:{value:n.indeterminate?null:n.ticked,color:this.computedControlColor,dark:this.dark,keepColor:!0,disable:!n.tickable},on:{input:function(t){i.__onTickedClick(e,n,t)}}}):null,o?o(c):[this.__getNodeMedia(t,e),t("span",e[this.labelKey])]])]),a?t(Xe,{props:{duration:this.duration}},[t("div",{directives:[{name:"show",value:n.expanded}],staticClass:"q-tree-node-collapsible",class:"text-"+this.color},[l,t("div",{staticClass:"q-tree-children",class:{disabled:n.disabled}},r)])]):l])},__onClick:function(t,e){this.hasSelection?e.selectable&&this.$emit("update:selected",e.key!==this.selected?e.key:null):this.__onExpandClick(t,e),"function"==typeof t.handler&&t.handler(t)},__onExpandClick:function(t,e,i){void 0!==i&&i.stopPropagation(),this.setExpanded(e.key,!e.expanded,t,e)},__onTickedClick:function(t,e,i){if(e.indeterminate&&i&&(i=!1),e.strictTicking)this.setTicked([e.key],i);else if(e.leafTicking){var s=[],n=function(t){t.isParent?(i||t.noTick||!t.tickable||s.push(t.key),t.leafTicking&&t.children.forEach(n)):t.noTick||!t.tickable||t.leafFilteredTicking&&!t.matchesFilter||s.push(t.key)};n(e),this.setTicked(s,i)}}},render:function(t){var e=this.__getChildren(t,this.nodes);return t("div",{staticClass:"q-tree relative-position",class:this.classes},0===e.length?this.filter?this.noResultsLabel||this.$q.i18n.tree.noResults:this.noNodesLabel||this.$q.i18n.tree.noNodes:e)},created:function(){this.defaultExpandAll&&this.expandAll()}};function Rn(t){t.__doneUploading=!1,t.__failed=!1,t.__uploaded=0,t.__progress=0}var In={name:"QUploader",mixins:[We],props:{name:{type:String,default:"file"},headers:Object,url:{type:String,required:!0},urlFactory:{type:Function,required:!1},uploadFactory:Function,additionalFields:{type:Array,default:function(){return[]}},noContentType:Boolean,method:{type:String,default:"POST"},filter:Function,extensions:String,multiple:Boolean,hideUploadButton:Boolean,hideUploadProgress:Boolean,noThumbnails:Boolean,autoExpand:Boolean,expandStyle:[Array,String,Object],expandClass:[Array,String,Object],withCredentials:Boolean,sendRaw:{type:Boolean,default:!1}},data:function(){return{queue:[],files:[],uploading:!1,uploadedSize:0,totalSize:0,xhrs:[],focused:!1,dnd:!1,expanded:!1}},computed:{queueLength:function(){return this.queue.length},hasExpandedContent:function(){return this.files.length>0},label:function(){var t=qt(this.totalSize);return this.uploading?this.progress.toFixed(2)+"% ("+qt(this.uploadedSize)+" / "+t+")":this.queueLength+" ("+t+")"},progress:function(){return this.totalSize?Math.min(99.99,this.uploadedSize/this.totalSize*100):0},addDisabled:function(){return this.disable||!this.multiple&&this.queueLength>=1},filesStyle:function(){if(this.maxHeight)return{maxHeight:this.maxHeight}},dndClass:function(){var t=["text-"+this.color];return this.isInverted&&t.push("inverted"),t},classes:function(){return{"q-uploader-expanded":this.expanded,"q-uploader-dark":this.dark,"q-uploader-files-no-border":this.isInverted||!this.hideUnderline}},progressColor:function(){return this.dark?"white":"grey"},computedExtensions:function(){if(this.extensions)return this.extensions.split(",").map(function(t){return(t=t.trim()).endsWith("/*")&&(t=t.slice(0,t.length-1)),t})}},watch:{hasExpandedContent:function(t){!1===t?this.expanded=!1:this.autoExpand&&(this.expanded=!0)}},methods:{add:function(t){t&&this.__add(null,t)},__onDragOver:function(t){H(t),this.dnd=!0},__onDragLeave:function(t){H(t),this.dnd=!1},__onDrop:function(t){H(t),this.dnd=!1;var e=t.dataTransfer.files;0!==e.length&&(e=this.multiple?e:[e[0]],this.__add(null,e))},__filter:function(t){var e=this;return Array.prototype.filter.call(t,function(t){return e.computedExtensions.some(function(e){return t.type.toUpperCase().startsWith(e.toUpperCase())||t.name.toUpperCase().endsWith(e.toUpperCase())})})},__add:function(t,e){var i=this;if(!this.addDisabled&&(e=Array.prototype.slice.call(e||t.target.files),!this.extensions||0!==(e=this.__filter(e)).length)){this.$refs.file.value="";var s=[];e=e.filter(function(t){return!i.queue.some(function(e){return t.name===e.name})}),"function"==typeof this.filter&&(e=this.filter(e)),(e=e.map(function(t){if(Rn(t),t.__size=qt(t.size),t.__timestamp=(new Date).getTime(),i.noThumbnails||!t.type.toUpperCase().startsWith("IMAGE"))i.queue.push(t);else{var e=new FileReader,n=new Promise(function(s,n){e.onload=function(e){var n=new Image;n.src=e.target.result,t.__img=n,i.queue.push(t),i.__computeTotalSize(),s(!0)},e.onerror=function(t){n(t)}});e.readAsDataURL(t),s.push(n)}return t})).length>0&&(this.files=this.files.concat(e),Promise.all(s).then(function(){i.$emit("add",e)}),this.__computeTotalSize())}},__computeTotalSize:function(){this.totalSize=this.queueLength?this.queue.map(function(t){return t.size}).reduce(function(t,e){return t+e}):0},__remove:function(t){var e=t.name,i=t.__doneUploading;this.uploading&&!i?(this.$emit("remove:abort",t,t.xhr),t.xhr&&t.xhr.abort(),this.uploadedSize-=t.__uploaded):this.$emit("remove:"+(i?"done":"cancel"),t,t.xhr),i||(this.queue=this.queue.filter(function(t){return t.name!==e})),t.__removed=!0,this.files=this.files.filter(function(t){return t.name!==e}),this.files.length||(this.uploading=!1),this.__computeTotalSize()},__pick:function(){!this.addDisabled&&this.$q.platform.is.mozilla&&this.$refs.file.click()},__getUploadPromise:function(t){var e=this;if(Rn(t),this.uploadFactory){var i=function(i){var s=i*t.size;e.uploadedSize+=s-t.__uploaded,t.__uploaded=s,t.__progress=Math.min(99,parseInt(100*i,10)),e.$forceUpdate()};return new Promise(function(s,n){e.uploadFactory(t,i).then(function(t){t.__doneUploading=!0,t.__progress=100,e.$emit("uploaded",t),e.$forceUpdate(),s(t)}).catch(function(i){t.__failed=!0,e.$emit("fail",t),e.$forceUpdate(),n(i)})})}var s=new FormData,n=new XMLHttpRequest;try{this.additionalFields.forEach(function(t){s.append(t.name,t.value)}),!0!==this.noContentType&&s.append("Content-Type",t.type||"application/octet-stream"),s.append(this.name,t)}catch(t){return}return t.xhr=n,new Promise(function(i,o){n.upload.addEventListener("progress",function(i){if(!t.__removed){i.percent=i.total?i.loaded/i.total:0;var s=i.percent*t.size;e.uploadedSize+=s-t.__uploaded,t.__uploaded=s,t.__progress=Math.min(99,parseInt(100*i.percent,10))}},!1),n.onreadystatechange=function(){n.readyState<4||(n.status&&n.status<400?(t.__doneUploading=!0,t.__progress=100,e.$emit("uploaded",t,n),i(t)):(t.__failed=!0,e.$emit("fail",t,n),o(n)))},n.onerror=function(){t.__failed=!0,e.$emit("fail",t,n),o(n)},(e.urlFactory?e.urlFactory(t):Promise.resolve(e.url)).then(function(i){n.open(e.method,i,!0),e.withCredentials&&(n.withCredentials=!0),e.headers&&Object.keys(e.headers).forEach(function(t){n.setRequestHeader(t,e.headers[t])}),e.xhrs.push(n),e.sendRaw?n.send(t):n.send(s)})})},pick:function(){this.addDisabled||this.$refs.file.click()},upload:function(){var t=this,e=this.queueLength;if(!this.disable&&0!==e){var i=0;this.uploadedSize=0,this.uploading=!0,this.xhrs=[],this.$emit("start");var s=function(){++i===e&&(t.uploading=!1,t.xhrs=[],t.queue=t.queue.filter(function(t){return!t.__doneUploading}),t.__computeTotalSize(),t.$emit("finish"))};this.queue.map(function(e){return t.__getUploadPromise(e)}).forEach(function(t){t.then(s).catch(s)})}},abort:function(){this.xhrs.forEach(function(t){t.abort()}),this.uploading=!1,this.$emit("abort")},reset:function(){this.abort(),this.files=[],this.queue=[],this.expanded=!1,this.__computeTotalSize(),this.$emit("reset")}},render:function(t){var e=this,i=[t("div",{staticClass:"col q-input-target ellipsis",class:this.alignClass},[this.label])];return this.uploading?i.push(this.$slots.loading?t("div",{slot:"after",staticClass:"q-if-end self-center q-if-control"},this.$slots.loading):t(Kt,{slot:"after",staticClass:"q-if-end self-center",props:{size:"24px"}}),t(ut,{slot:"after",staticClass:"q-if-end self-center q-if-control",props:{name:this.$q.icon.uploader["clear"+(this.isInverted?"Inverted":"")]},nativeOn:{click:this.abort}})):(i.push(t(ut,{slot:"after",staticClass:"q-uploader-pick-button self-center q-if-control relative-position overflow-hidden",props:{name:this.$q.icon.uploader.add},attrs:{disabled:this.addDisabled}},[t("input",{ref:"file",staticClass:"q-uploader-input absolute-full cursor-pointer",attrs:Object.assign({type:"file",accept:this.extensions},this.multiple?{multiple:!0}:{}),on:{change:this.__add}})])),this.hideUploadButton||i.push(t(ut,{slot:"after",staticClass:"q-if-control self-center",props:{name:this.$q.icon.uploader.upload},attrs:{disabled:0===this.queueLength},nativeOn:{click:this.upload}}))),this.hasExpandedContent&&i.push(t(ut,{slot:"after",staticClass:"q-if-control generic_transition self-center",class:{"rotate-180":this.expanded},props:{name:this.$q.icon.uploader.expand},nativeOn:{click:function(){e.expanded=!e.expanded}}})),t("div",{staticClass:"q-uploader relative-position",class:this.classes,on:{dragover:this.__onDragOver}},[t(Ye,{ref:"input",props:{prefix:this.prefix,suffix:this.suffix,stackLabel:this.stackLabel,floatLabel:this.floatLabel,error:this.error,warning:this.warning,readonly:this.readonly,inverted:this.inverted,invertedLight:this.invertedLight,dark:this.dark,hideUnderline:this.hideUnderline,before:this.before,after:this.after,color:this.color,align:this.align,noParentField:this.noParentField,length:this.queueLength,additionalLength:!0}},i),t(Xe,[t("div",{class:this.expandClass,style:this.expandStyle,directives:[{name:"show",value:this.expanded}]},[t(dt,{staticClass:"q-uploader-files q-py-none scroll",style:this.filesStyle,props:{dark:this.dark}},this.files.map(function(i){return t(_t,{key:i.name+i.__timestamp,staticClass:"q-uploader-file q-pa-xs"},[!e.hideUploadProgress&&t(Hs,{staticClass:"q-uploader-progress-bg absolute-full",props:{color:i.__failed?"negative":e.progressColor,percentage:i.__progress,height:"100%"}})||void 0,!e.hideUploadProgress&&t("div",{staticClass:"q-uploader-progress-text absolute"},[i.__progress+"%"])||void 0,t(yt,{props:i.__img?{image:i.__img.src}:{icon:e.$q.icon.uploader.file,color:e.color}}),t(Ct,{props:{label:i.name,sublabel:i.__size}}),t(yt,{props:{right:!0}},[t(Ge,{staticClass:"cursor-pointer",props:{icon:e.$q.icon.uploader[i.__doneUploading?"done":"clear"],color:e.color},nativeOn:{click:function(){e.__remove(i)}}})])])}))])]),this.dnd&&t("div",{staticClass:"q-uploader-dnd flex row items-center justify-center absolute-full",class:this.dndClass,on:{dragenter:H,dragover:H,dragleave:this.__onDragLeave,drop:this.__onDrop}})||void 0])}},Hn={name:"QVideo",props:{src:{type:String,required:!0}},computed:{iframeData:function(){return{attrs:{src:this.src,frameborder:"0",allowfullscreen:!0}}}},render:function(t){return t("div",{staticClass:"q-video"},[t("iframe",this.iframeData)])}},Fn=Object.freeze({QActionSheet:xt,QAjaxBar:zt,QAlert:Yt,QAutocomplete:ce,QBreadcrumbs:he,QBreadcrumbsEl:ue,QBtn:Ut,QBtnGroup:de,QBtnDropdown:pe,QBtnToggle:fe,QCard:me,QCardTitle:{name:"QCardTitle",render:function(t){return t("div",{staticClass:"q-card-primary q-card-container row no-wrap"},[t("div",{staticClass:"col column"},[t("div",{staticClass:"q-card-title"},this.$slots.default),t("div",{staticClass:"q-card-subtitle"},[this.$slots.subtitle])]),t("div",{staticClass:"col-auto self-center q-card-title-extra"},[this.$slots.right])])}},QCardMain:{name:"QCardMain",render:function(t){return t("div",{staticClass:"q-card-main q-card-container"},this.$slots.default)}},QCardActions:ve,QCardMedia:ge,QCardSeparator:be,QCarousel:ze,QCarouselSlide:De,QCarouselControl:Re,QChatMessage:Ie,QCheckbox:Qe,QChip:Ve,QChipsInput:Je,QCollapsible:ti,QColor:ui,QColorPicker:ci,QContextMenu:di,QDatetime:ji,QDatetimePicker:Qi,QDialog:Zi,QEditor:ms,QFab:gs,QFabAction:bs,QField:_s,QIcon:ut,QInfiniteScroll:ys,QInnerLoading:ws,QInput:Ui,QInputFrame:Ye,QJumbotron:Cs,QKnob:ks,QLayout:Ss,QLayoutDrawer:qs,QLayoutFooter:Ts,QLayoutHeader:Ms,QPage:Ps,QPageContainer:Ls,QPageSticky:Bs,QItem:_t,QItemSeparator:kt,QItemMain:Ct,QItemSide:yt,QItemTile:Ge,QItemWrapper:ae,QList:dt,QListHeader:Es,QModal:ht,QModalLayout:Ns,QNoSsr:Os,QResizeObservable:Ki,QScrollObservable:xs,QWindowResizeObservable:$s,QOptionGroup:Xi,QPagination:zs,QParallax:Ds,QPopover:oe,QPopupEdit:Rs,QProgress:Hs,QPullToRefresh:Fs,QRadio:Yi,QRange:js,QRating:Ws,QScrollArea:Ks,QSearch:Us,QSelect:Js,QSlideTransition:Xe,QSlider:ri,QSpinner:Kt,QSpinnerAudio:Gs,QSpinnerBall:Xs,QSpinnerBars:Zs,QSpinnerCircles:tn,QSpinnerComment:en,QSpinnerCube:sn,QSpinnerDots:nn,QSpinnerFacebook:on,QSpinnerGears:rn,QSpinnerGrid:an,QSpinnerHearts:ln,QSpinnerHourglass:cn,QSpinnerInfinity:hn,QSpinnerIos:un,QSpinnerMat:Wt,QSpinnerOval:dn,QSpinnerPie:pn,QSpinnerPuff:fn,QSpinnerRadio:mn,QSpinnerRings:vn,QSpinnerTail:gn,QStep:_n,QStepper:yn,QStepperNavigation:{name:"QStepperNavigation",render:function(t){return t("div",{staticClass:"q-stepper-nav order-last row items-center"},[this.$slots.left,t("div",{staticClass:"col"}),this.$slots.default])}},QRouteTab:Cn,QTab:kn,QTabPane:xn,QTabs:qn,QTable:Mn,QTh:$n,QTr:Pn,QTd:Ln,QTableColumns:Bn,QTimeline:En,QTimelineEntry:Nn,QToggle:Ji,QToolbar:On,QToolbarTitle:zn,QTooltip:es,QTree:Dn,QUploader:In,QVideo:Hn});function An(t,e){var i=e.value,s=(e.modifiers,t.__qbacktotop);if(i){if("number"==typeof i)return s.offset=i,void s.update();if(i&&Object(i)!==i)console.error("v-back-to-top requires an object {offset, duration} as parameter",t);else{if(i.offset){if("number"!=typeof i.offset)return void console.error("v-back-to-top requires a number as offset",t);s.offset=i.offset}if(i.duration){if("number"!=typeof i.duration)return void console.error("v-back-to-top requires a number as duration",t);s.duration=i.duration}s.update()}}else s.update()}var Qn={name:"back-to-top",bind:function(t){var e={offset:200,duration:300,updateNow:function(){var i=G(e.scrollTarget)<=e.offset;i!==t.classList.contains("hidden")&&t.classList[i?"add":"remove"]("hidden")},goToTop:function(){tt(e.scrollTarget,0,e.animate?e.duration:0)},goToTopKey:function(t){13===t.keyCode&&tt(e.scrollTarget,0,e.animate?e.duration:0)}};e.update=ts(e.updateNow,25),t.classList.add("hidden"),t.__qbacktotop=e},inserted:function(t,e){var i=t.__qbacktotop;i.scrollTarget=J(t),i.animate=e.modifiers.animate,An(t,e),i.scrollTarget.addEventListener("scroll",i.update,L.passive),window.addEventListener("resize",i.update,L.passive),t.addEventListener("click",i.goToTop),t.addEventListener("keyup",i.goToTopKey)},update:function(t,e){JSON.stringify(e.oldValue)!==JSON.stringify(e.value)?An(t,e):setTimeout(function(){t.__qbacktotop&&t.__qbacktotop.updateNow()},0)},unbind:function(t){var e=t.__qbacktotop;e&&(e.scrollTarget.removeEventListener("scroll",e.update,L.passive),window.removeEventListener("resize",e.update,L.passive),t.removeEventListener("click",e.goToTop),t.removeEventListener("keyup",e.goToTopKey),delete t.__qbacktotop)}},Vn={name:"go-back",bind:function(t,e,i){var s=e.value,n=e.modifiers,o={value:s,position:window.history.length-1,single:n.single};l.is.cordova?o.goBack=function(){i.context.$router.go(o.single?-1:o.position-window.history.length)}:o.goBack=function(){i.context.$router.replace(o.value)},o.goBackKey=function(t){13===t.keyCode&&o.goBack(t)},t.__qgoback=o,t.addEventListener("click",o.goBack),t.addEventListener("keyup",o.goBackKey)},update:function(t,e){e.oldValue!==e.value&&(t.__qgoback.value=e.value)},unbind:function(t){var e=t.__qgoback;e&&(t.removeEventListener("click",e.goBack),t.removeEventListener("keyup",e.goBackKey),delete t.__qgoback)}};function jn(t,e){var i=t.__qscrollfire;if("function"!=typeof e.value)return i.scrollTarget.removeEventListener("scroll",i.scroll),void console.error("v-scroll-fire requires a function as parameter",t);i.handler=e.value,"function"!=typeof e.oldValue&&(i.scrollTarget.addEventListener("scroll",i.scroll,L.passive),i.scroll())}var Wn={name:"scroll-fire",bind:function(t,e){var i={scroll:ts(function(){var e,s;i.scrollTarget===window?(s=t.getBoundingClientRect().bottom,e=window.innerHeight):(s=A(t).top+V(t),e=A(i.scrollTarget).top+V(i.scrollTarget)),s>0&&s0&&(["meta","link","script"].forEach(function(t){i[t].forEach(function(e){document.head.querySelector(t+'[data-qmeta="'+e+'"]').remove()})}),i.htmlAttr.filter(qo).forEach(function(t){document.documentElement.removeAttribute(t)}),i.bodyAttr.filter(So).forEach(function(t){document.body.removeAttribute(t)})),["meta","link","script"].forEach(function(t){var i=e[t];for(var s in i){var n=document.createElement(t);for(var o in i[s])"innerHTML"!==o&&n.setAttribute(o,i[s][o]);n.setAttribute("data-qmeta",s),"script"===t&&(n.innerHTML=i[s].innerHTML||""),document.head.appendChild(n)}}),Object.keys(e.htmlAttr).filter(qo).forEach(function(t){document.documentElement.setAttribute(t,e.htmlAttr[t]||"")}),Object.keys(e.bodyAttr).filter(So).forEach(function(t){document.body.setAttribute(t,e.bodyAttr[t]||"")}),this.$root.__currentMeta=s}function Mo(t){return function(e){var i=t[e];return e+(void 0!==i?'="'+i+'"':"")}}function Po(t,e){var i={title:"",titleTemplate:null,meta:{},link:{},htmlAttr:{},bodyAttr:{},noscript:{}};$o(t,i),ko(i);var s={"%%Q_HTML_ATTRS%%":Object.keys(i.htmlAttr).filter(qo).map(Mo(i.htmlAttr)).join(" "),"%%Q_HEAD_TAGS%%":function(t){var e="";return t.title&&(e+=""+t.title+""),["meta","link","script"].forEach(function(i){var s=t[i];for(var n in s){var o=Object.keys(s[n]).filter(function(t){return"innerHTML"!==t}).map(Mo(s[n]));e+="<"+i+" "+o.join(" ")+' data-qmeta="'+n+'">',"script"===i&&(e+=(s[n].innerHTML||"")+"<\/script>")}}),e}(i),"%%Q_BODY_ATTRS%%":Object.keys(i.bodyAttr).filter(So).map(Mo(i.bodyAttr)).join(" "),"%%Q_BODY_TAGS%%":Object.keys(i.noscript).map(function(t){return'"}).join("")+"` + } + } + }) + return output +} + +function getServerMeta (app, html) { + const meta = { + title: '', + titleTemplate: null, + meta: {}, + link: {}, + htmlAttr: {}, + bodyAttr: {}, + noscript: {} + } + + parseMeta(app, meta) + normalize(meta) + + const tokens = { + '%%Q_HTML_ATTRS%%': Object.keys(meta.htmlAttr) + .filter(htmlFilter) + .map(getAttr(meta.htmlAttr)) + .join(' '), + '%%Q_HEAD_TAGS%%': getHead(meta), + '%%Q_BODY_ATTRS%%': Object.keys(meta.bodyAttr) + .filter(bodyFilter) + .map(getAttr(meta.bodyAttr)) + .join(' '), + '%%Q_BODY_TAGS%%': Object.keys(meta.noscript) + .map(name => ``) + .join('') + + `` + } + + Object.keys(tokens).forEach(key => { + html = html.replace(key, tokens[key]) + }) + + return html +} + +function beforeCreate () { + if (this.$options.meta) { + if (typeof this.$options.meta === 'function') { + if (!this.$options.computed) { + this.$options.computed = {} + } + this.$options.computed.__qMeta = this.$options.meta + } + else { + this.__qMeta = this.$options.meta + } + } +} + +function triggerMeta () { + this.$options.meta && this.__qMetaUpdate() +} + +export default { + install ({ queues, Vue }) { + if (isSSR) { + Vue.prototype.$getMetaHTML = app => html => getServerMeta(app, html) + Vue.mixin({ beforeCreate }) + + queues.server.push((q, ctx) => { + ctx.ssr.Q_HTML_ATTRS += ' %%Q_HTML_ATTRS%%' + Object.assign(ctx.ssr, { + Q_HEAD_TAGS: '%%Q_HEAD_TAGS%%', + Q_BODY_ATTRS: '%%Q_BODY_ATTRS%%', + Q_BODY_TAGS: '%%Q_BODY_TAGS%%' + }) + }) + } + else { + ssrTakeover = fromSSR + + Vue.mixin({ + beforeCreate, + created () { + if (this.$options.meta) { + this.__qMetaUnwatch = this.$watch('__qMeta', this.__qMetaUpdate) + } + }, + activated: triggerMeta, + deactivated: triggerMeta, + beforeMount: triggerMeta, + destroyed () { + if (this.$options.meta) { + this.__qMetaUnwatch() + this.__qMetaUpdate() + } + }, + methods: { + __qMetaUpdate () { + clearTimeout(updateId) + updateId = setTimeout(updateClient.bind(this), 50) + } + } + }) + } + } +} diff --git a/node_modules/quasar-framework/src/plugins/notify.js b/node_modules/quasar-framework/src/plugins/notify.js new file mode 100644 index 0000000..b30b979 --- /dev/null +++ b/node_modules/quasar-framework/src/plugins/notify.js @@ -0,0 +1,190 @@ +import QAlert from '../components/alert/QAlert.js' +import uid from '../utils/uid.js' +import clone from '../utils/clone.js' +import { isSSR } from './platform.js' + +let defaults = {} + +const positionList = [ + 'top-left', 'top-right', + 'bottom-left', 'bottom-right', + 'top', 'bottom', 'left', 'right', 'center' +] + +function init ({ Vue }) { + const node = document.createElement('div') + document.body.appendChild(node) + + this.__vm = new Vue({ + name: 'QNotifications', + data: { + notifs: { + center: [], + left: [], + right: [], + top: [], + 'top-left': [], + 'top-right': [], + bottom: [], + 'bottom-left': [], + 'bottom-right': [] + } + }, + methods: { + add (config) { + if (!config) { + console.error('Notify: parameter required') + return false + } + + const notif = Object.assign( + {}, + defaults, + typeof config === 'string' + ? { message: config } + : clone(config) + ) + + if (notif.position) { + if (!positionList.includes(notif.position)) { + console.error(`Notify: wrong position: ${notif.position}`) + return false + } + } + else { + notif.position = 'bottom' + } + + notif.__uid = uid() + + if (notif.timeout === void 0) { + notif.timeout = 5000 + } + else { + const t = parseInt(notif.timeout, 10) + if (isNaN(t) || t < 0) { + console.error(`Notify: wrong timeout: ${ notif.timeout }`) + return false + } + notif.timeout = t + } + + const close = () => { + this.remove(notif) + } + + if (config.actions) { + notif.actions = config.actions.map(item => { + const + handler = item.handler, + action = clone(item) + + action.handler = typeof handler === 'function' + ? () => { + handler() + !item.noDismiss && close() + } + : () => close() + + return action + }) + } + + if (typeof config.onDismiss === 'function') { + notif.onDismiss = config.onDismiss + } + + if (notif.closeBtn) { + const btn = [{ + closeBtn: true, + label: notif.closeBtn, + handler: close + }] + notif.actions = notif.actions + ? notif.actions.concat(btn) + : btn + } + + if (notif.timeout > 0) { + notif.__timeout = setTimeout(() => { + close() + }, notif.timeout + /* show duration */ 1000) + } + + const action = notif.position.indexOf('top') > -1 ? 'unshift' : 'push' + this.notifs[notif.position][action](notif) + + return close + }, + remove (notif) { + if (notif.__timeout) { clearTimeout(notif.__timeout) } + + const index = this.notifs[notif.position].indexOf(notif) + if (index !== -1) { + const ref = this.$refs[`notif_${notif.__uid}`] + if (ref && ref.$el) { + const el = ref.$el + el.style.left = `${el.offsetLeft}px` + el.style.width = getComputedStyle(el).width + } + this.notifs[notif.position].splice(index, 1) + if (typeof notif.onDismiss === 'function') { + notif.onDismiss() + } + } + } + }, + render (h) { + return h('div', { staticClass: 'q-notifications' }, positionList.map(pos => { + const + vert = ['left', 'center', 'right'].includes(pos) ? 'center' : (pos.indexOf('top') > -1 ? 'top' : 'bottom'), + align = pos.indexOf('left') > -1 ? 'start' : (pos.indexOf('right') > -1 ? 'end' : 'center'), + classes = ['left', 'right'].includes(pos) ? `items-${pos === 'left' ? 'start' : 'end'} justify-center` : (pos === 'center' ? 'flex-center' : `items-${align}`) + + return h('transition-group', { + key: pos, + staticClass: `q-notification-list q-notification-list-${vert} fixed column ${classes}`, + tag: 'div', + props: { + name: `q-notification-${pos}`, + mode: 'out-in' + } + }, this.notifs[pos].map(notif => { + return h(QAlert, { + ref: `notif_${notif.__uid}`, + key: notif.__uid, + staticClass: 'q-notification', + props: notif + }, [ notif.message ]) + })) + })) + } + }) + + this.__vm.$mount(node) +} + +export default { + create (opts) { + if (isSSR) { return () => {} } + return this.__vm.add(opts) + }, + setDefaults (opts) { + Object.assign(defaults, opts) + }, + + install (args) { + if (isSSR) { + args.$q.notify = () => {} + args.$q.notify.setDefaults = () => {} + return + } + + init.call(this, args) + + args.cfg.notify && this.setDefaults(args.cfg.notify) + + args.$q.notify = this.create.bind(this) + args.$q.notify.setDefaults = this.setDefaults + } +} diff --git a/node_modules/quasar-framework/src/plugins/platform.js b/node_modules/quasar-framework/src/plugins/platform.js new file mode 100644 index 0000000..3409b48 --- /dev/null +++ b/node_modules/quasar-framework/src/plugins/platform.js @@ -0,0 +1,243 @@ +/* eslint-disable no-useless-escape */ +/* eslint-disable no-unused-expressions */ +/* eslint-disable no-mixed-operators */ + +export const isSSR = typeof window === 'undefined' +export let fromSSR = false +export let onSSR = isSSR + +function getMatch (userAgent, platformMatch) { + const match = /(edge)\/([\w.]+)/.exec(userAgent) || + /(opr)[\/]([\w.]+)/.exec(userAgent) || + /(vivaldi)[\/]([\w.]+)/.exec(userAgent) || + /(chrome)[\/]([\w.]+)/.exec(userAgent) || + /(iemobile)[\/]([\w.]+)/.exec(userAgent) || + /(version)(applewebkit)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(userAgent) || + /(webkit)[\/]([\w.]+).*(version)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(userAgent) || + /(webkit)[\/]([\w.]+)/.exec(userAgent) || + /(opera)(?:.*version|)[\/]([\w.]+)/.exec(userAgent) || + /(msie) ([\w.]+)/.exec(userAgent) || + userAgent.indexOf('trident') >= 0 && /(rv)(?::| )([\w.]+)/.exec(userAgent) || + userAgent.indexOf('compatible') < 0 && /(mozilla)(?:.*? rv:([\w.]+)|)/.exec(userAgent) || + [] + + return { + browser: match[5] || match[3] || match[1] || '', + version: match[2] || match[4] || '0', + versionNumber: match[4] || match[2] || '0', + platform: platformMatch[0] || '' + } +} + +function getPlatformMatch (userAgent) { + return /(ipad)/.exec(userAgent) || + /(ipod)/.exec(userAgent) || + /(windows phone)/.exec(userAgent) || + /(iphone)/.exec(userAgent) || + /(kindle)/.exec(userAgent) || + /(silk)/.exec(userAgent) || + /(android)/.exec(userAgent) || + /(win)/.exec(userAgent) || + /(mac)/.exec(userAgent) || + /(linux)/.exec(userAgent) || + /(cros)/.exec(userAgent) || + /(playbook)/.exec(userAgent) || + /(bb)/.exec(userAgent) || + /(blackberry)/.exec(userAgent) || + [] +} + +function getPlatform (userAgent) { + userAgent = (userAgent || navigator.userAgent || navigator.vendor || window.opera).toLowerCase() + + const + platformMatch = getPlatformMatch(userAgent), + matched = getMatch(userAgent, platformMatch), + browser = {} + + if (matched.browser) { + browser[matched.browser] = true + browser.version = matched.version + browser.versionNumber = parseInt(matched.versionNumber, 10) + } + + if (matched.platform) { + browser[matched.platform] = true + } + + // These are all considered mobile platforms, meaning they run a mobile browser + if (browser.android || browser.bb || browser.blackberry || browser.ipad || browser.iphone || + browser.ipod || browser.kindle || browser.playbook || browser.silk || browser['windows phone']) { + browser.mobile = true + } + + // Set iOS if on iPod, iPad or iPhone + if (browser.ipod || browser.ipad || browser.iphone) { + browser.ios = true + } + + if (browser['windows phone']) { + browser.winphone = true + delete browser['windows phone'] + } + + // These are all considered desktop platforms, meaning they run a desktop browser + if (browser.cros || browser.mac || browser.linux || browser.win) { + browser.desktop = true + } + + // Chrome, Opera 15+, Vivaldi and Safari are webkit based browsers + if (browser.chrome || browser.opr || browser.safari || browser.vivaldi) { + browser.webkit = true + } + + // IE11 has a new token so we will assign it msie to avoid breaking changes + if (browser.rv || browser.iemobile) { + matched.browser = 'ie' + browser.ie = true + } + + // Edge is officially known as Microsoft Edge, so rewrite the key to match + if (browser.edge) { + matched.browser = 'edge' + browser.edge = true + } + + // Blackberry browsers are marked as Safari on BlackBerry + if (browser.safari && browser.blackberry || browser.bb) { + matched.browser = 'blackberry' + browser.blackberry = true + } + + // Playbook browsers are marked as Safari on Playbook + if (browser.safari && browser.playbook) { + matched.browser = 'playbook' + browser.playbook = true + } + + // Opera 15+ are identified as opr + if (browser.opr) { + matched.browser = 'opera' + browser.opera = true + } + + // Stock Android browsers are marked as Safari on Android. + if (browser.safari && browser.android) { + matched.browser = 'android' + browser.android = true + } + + // Kindle browsers are marked as Safari on Kindle + if (browser.safari && browser.kindle) { + matched.browser = 'kindle' + browser.kindle = true + } + + // Kindle Silk browsers are marked as Safari on Kindle + if (browser.safari && browser.silk) { + matched.browser = 'silk' + browser.silk = true + } + + if (browser.vivaldi) { + matched.browser = 'vivaldi' + browser.vivaldi = true + } + + // Assign the name and platform variable + browser.name = matched.browser + browser.platform = matched.platform + + if (!isSSR) { + if (window.process && window.process.versions && window.process.versions.electron) { + browser.electron = true + } + else if (document.location.href.indexOf('chrome-extension://') === 0) { + browser.chromeExt = true + } + else if (window._cordovaNative || window.cordova) { + browser.cordova = true + } + + fromSSR = browser.cordova === void 0 && + browser.electron === void 0 && + !!document.querySelector('[data-server-rendered]') + + fromSSR && (onSSR = true) + } + + return browser +} + +let webStorage + +export function hasWebStorage () { + if (webStorage !== void 0) { + return webStorage + } + + try { + if (window.localStorage) { + webStorage = true + return true + } + } + catch (e) {} + + webStorage = false + return false +} + +function getClientProperties () { + return { + has: { + touch: (() => !!('ontouchstart' in document.documentElement) || window.navigator.msMaxTouchPoints > 0)(), + webStorage: hasWebStorage() + }, + within: { + iframe: window.self !== window.top + } + } +} + +export default { + has: { + touch: false, + webStorage: false + }, + within: { iframe: false }, + + parseSSR (/* ssrContext */ ssr) { + return ssr ? { + is: getPlatform(ssr.req.headers['user-agent']), + has: this.has, + within: this.within + } : { + is: getPlatform(), + ...getClientProperties() + } + }, + + install ($q, queues, Vue) { + if (isSSR) { + queues.server.push((q, ctx) => { + q.platform = this.parseSSR(ctx.ssr) + }) + return + } + + this.is = getPlatform() + + if (fromSSR) { + queues.takeover.push(q => { + onSSR = fromSSR = false + Object.assign(q.platform, getClientProperties()) + }) + Vue.util.defineReactive($q, 'platform', this) + } + else { + Object.assign(this, getClientProperties()) + $q.platform = this + } + } +} diff --git a/node_modules/quasar-framework/src/plugins/screen.js b/node_modules/quasar-framework/src/plugins/screen.js new file mode 100644 index 0000000..28b35ce --- /dev/null +++ b/node_modules/quasar-framework/src/plugins/screen.js @@ -0,0 +1,121 @@ +import { isSSR, fromSSR } from './platform.js' +import { listenOpts } from '../utils/event.js' +import debounce from '../utils/debounce.js' + +const SIZE_LIST = ['sm', 'md', 'lg', 'xl'] + +export default { + width: 0, + + sizes: { + sm: 576, + md: 768, + lg: 992, + xl: 1200 + }, + + lt: { + sm: true, + md: true, + lg: true, + xl: true + }, + gt: {}, + xs: true, + + setSizes () {}, + setDebounce () {}, + + install ({ $q, queues, Vue }) { + if (isSSR) { + $q.screen = this + return + } + + let update = resized => { + const + w = window.innerWidth, + s = this.sizes + + if (resized && w === this.width) { + return + } + + this.width = w + + this.gt.xs = w >= s.sm + this.gt.sm = w >= s.md + this.gt.md = w >= s.lg + this.gt.lg = w >= s.xl + this.lt.sm = w < s.sm + this.lt.md = w < s.md + this.lt.lg = w < s.lg + this.lt.xl = w < s.xl + this.xs = this.lt.sm + this.sm = this.gt.xs && this.lt.md + this.md = this.gt.sm && this.lt.lg + this.lg = this.gt.md && this.lt.xl + this.xl = w > s.xl + } + + let updateEvt, updateSizes = {}, updateDebounce + + this.setSizes = sizes => { + SIZE_LIST.forEach(name => { + if (sizes[name]) { + updateSizes[name] = sizes[name] + } + }) + } + this.setDebounce = deb => { + updateDebounce = deb + } + + const start = () => { + const style = getComputedStyle(document.body) + + // if css props available + if (style.getPropertyValue('--q-size-sm')) { + SIZE_LIST.forEach(name => { + this.sizes[name] = parseInt(style.getPropertyValue(`--q-size-${name}`), 10) + }) + } + + this.setSizes = sizes => { + SIZE_LIST.forEach(name => { + if (sizes[name]) { + this.sizes[name] = sizes[name] + } + }) + update() + } + this.setDebounce = delay => { + const fn = () => { update(true) } + updateEvt && window.removeEventListener('resize', updateEvt, listenOpts.passive) + updateEvt = delay > 0 + ? debounce(fn, delay) + : fn + window.addEventListener('resize', updateEvt, listenOpts.passive) + } + + this.setDebounce(updateDebounce || 100) + + if (Object.keys(updateSizes).length > 0) { + this.setSizes(updateSizes) + updateSizes = null + } + else { + update() + } + } + + if (fromSSR) { + queues.takeover.push(start) + } + else { + start() + } + + Vue.util.defineReactive($q, 'screen', this) + } +} diff --git a/node_modules/quasar-framework/src/plugins/session-storage.js b/node_modules/quasar-framework/src/plugins/session-storage.js new file mode 100644 index 0000000..8647fa3 --- /dev/null +++ b/node_modules/quasar-framework/src/plugins/session-storage.js @@ -0,0 +1,13 @@ +import { isSSR, hasWebStorage } from './platform.js' +import { getEmptyStorage, getStorage } from '../utils/web-storage.js' + +export default { + install ({ $q }) { + const storage = isSSR || !hasWebStorage + ? getEmptyStorage() + : getStorage('session') + + $q.sessionStorage = storage + Object.assign(this, storage) + } +} diff --git a/node_modules/quasar-framework/src/polyfills.js b/node_modules/quasar-framework/src/polyfills.js new file mode 100644 index 0000000..166f1d1 --- /dev/null +++ b/node_modules/quasar-framework/src/polyfills.js @@ -0,0 +1,171 @@ +/* eslint-disable no-extend-native, one-var, no-self-compare */ +import { isSSR } from './plugins/platform.js' + +function assign (target, firstSource) { + if (target === undefined || target === null) { + throw new TypeError('Cannot convert first argument to object') + } + + var to = Object(target) + for (var i = 1; i < arguments.length; i++) { + var nextSource = arguments[i] + if (nextSource === undefined || nextSource === null) { + continue + } + + var keysArray = Object.keys(Object(nextSource)) + for (var nextIndex = 0, len = keysArray.length; nextIndex < len; nextIndex++) { + var nextKey = keysArray[nextIndex] + var desc = Object.getOwnPropertyDescriptor(nextSource, nextKey) + if (desc !== undefined && desc.enumerable) { + to[nextKey] = nextSource[nextKey] + } + } + } + return to +} + +if (!Object.assign) { + Object.defineProperty(Object, 'assign', { + enumerable: false, + configurable: true, + writable: true, + value: assign + }) +} + +if (!Number.isInteger) { + Number.isInteger = function (value) { + return typeof value === 'number' && + isFinite(value) && + Math.floor(value) === value + } +} + +if (!Array.prototype.includes) { + Array.prototype.includes = function (searchEl, startFrom) { + 'use strict' + + let O = Object(this) + let len = parseInt(O.length, 10) || 0 + if (len === 0) { + return false + } + let n = parseInt(startFrom, 10) || 0 + let k + if (n >= 0) { + k = n + } + else { + k = len + n + if (k < 0) { k = 0 } + } + let curEl + while (k < len) { + curEl = O[k] + if (searchEl === curEl || + (searchEl !== searchEl && curEl !== curEl)) { // NaN !== NaN + return true + } + k++ + } + return false + } +} + +if (!String.prototype.startsWith) { + String.prototype.startsWith = function (str, position) { + position = position || 0 + return this.substr(position, str.length) === str + } +} + +if (!String.prototype.endsWith) { + String.prototype.endsWith = function (str, position) { + let subjectString = this.toString() + + if (typeof position !== 'number' || !isFinite(position) || Math.floor(position) !== position || position > subjectString.length) { + position = subjectString.length + } + position -= str.length + + let lastIndex = subjectString.indexOf(str, position) + + return lastIndex !== -1 && lastIndex === position + } +} + +if (!isSSR) { + if (typeof Element.prototype.matches !== 'function') { + Element.prototype.matches = Element.prototype.msMatchesSelector || Element.prototype.mozMatchesSelector || Element.prototype.webkitMatchesSelector || function matches (selector) { + let + element = this, + elements = (element.document || element.ownerDocument).querySelectorAll(selector), + index = 0 + + while (elements[index] && elements[index] !== element) { + ++index + } + + return Boolean(elements[index]) + } + } + + if (typeof Element.prototype.closest !== 'function') { + Element.prototype.closest = function closest (selector) { + let el = this + while (el && el.nodeType === 1) { + if (el.matches(selector)) { + return el + } + el = el.parentNode + } + return null + } + } + + // from:https://github.com/jserz/js_piece/blob/master/DOM/ChildNode/remove()/remove().md + (function (arr) { + arr.forEach(item => { + if (item.hasOwnProperty('remove')) { return } + Object.defineProperty(item, 'remove', { + configurable: true, + enumerable: true, + writable: true, + value () { + if (this.parentNode !== null) { + this.parentNode.removeChild(this) + } + } + }) + }) + })([Element.prototype, CharacterData.prototype, DocumentType.prototype]) +} + +if (!Array.prototype.find) { + Object.defineProperty(Array.prototype, 'find', { + value (predicate) { + 'use strict' + if (this == null) { + throw new TypeError('Array.prototype.find called on null or undefined') + } + if (typeof predicate !== 'function') { + throw new TypeError('predicate must be a function') + } + + let value + const + list = Object(this), + length = list.length >>> 0, + thisArg = arguments[1] + + for (let i = 0; i < length; i++) { + value = list[i] + if (predicate.call(thisArg, value, i, list)) { + return value + } + } + return undefined + } + }) +} diff --git a/node_modules/quasar-framework/src/ssr-update.js b/node_modules/quasar-framework/src/ssr-update.js new file mode 100644 index 0000000..eb585a0 --- /dev/null +++ b/node_modules/quasar-framework/src/ssr-update.js @@ -0,0 +1,33 @@ +import { $q, queues } from './install.js' + +const mixin = { + mounted () { + queues.takeover.forEach(run => { + run(this.$q) + }) + } +} + +export default function (ctx) { + if (ctx.ssr) { + const q = Object.assign({}, $q) + + Object.assign(ctx.ssr, { + Q_HEAD_TAGS: '', + Q_BODY_ATTRS: '', + Q_BODY_TAGS: '' + }) + + queues.server.forEach(run => { + run(q, ctx) + }) + + ctx.app.$q = q + } + else { + const mixins = ctx.app.mixins || [] + if (!mixins.includes(mixin)) { + ctx.app.mixins = mixins.concat(mixin) + } + } +} diff --git a/node_modules/quasar-framework/src/utils.js b/node_modules/quasar-framework/src/utils.js new file mode 100644 index 0000000..b926609 --- /dev/null +++ b/node_modules/quasar-framework/src/utils.js @@ -0,0 +1,38 @@ +import animate from './utils/animate.js' +import clone from './utils/clone.js' +import colors from './utils/colors.js' +import date from './utils/date.js' +import debounce from './utils/debounce.js' +import dom from './utils/dom.js' +import easing from './utils/easing.js' +import event from './utils/event.js' +import extend from './utils/extend.js' +import filter from './utils/filter.js' +import format from './utils/format.js' +import frameDebounce from './utils/frame-debounce.js' +import openURL from './utils/open-url.js' +import scroll from './utils/scroll.js' +import throttle from './utils/throttle.js' +import uid from './utils/uid.js' + +function noop () {} + +export { + animate, + clone, + colors, + date, + debounce, + dom, + easing, + event, + extend, + filter, + format, + frameDebounce, + noop, + openURL, + scroll, + throttle, + uid +} diff --git a/node_modules/quasar-framework/src/utils/animate.js b/node_modules/quasar-framework/src/utils/animate.js new file mode 100644 index 0000000..be30253 --- /dev/null +++ b/node_modules/quasar-framework/src/utils/animate.js @@ -0,0 +1,63 @@ +import uid from './uid.js' +import { linear } from './easing.js' + +let ids = {} + +export function start ({name, duration = 300, to, from, apply, done, cancel, easing}) { + let id = name + const start = new Date() + + if (id) { + stop(id) + } + else { + id = uid() + } + + const delta = easing || linear + const handler = () => { + let progress = ((new Date()) - start) / duration + if (progress > 1) { + progress = 1 + } + + const newPos = from + (to - from) * delta(progress) + apply(newPos, progress) + + if (progress === 1) { + delete ids[id] + done && done(newPos) + return + } + + anim.last = { + pos: newPos, + progress + } + anim.timer = requestAnimationFrame(handler) + } + + const anim = ids[id] = { + cancel, + timer: requestAnimationFrame(handler) + } + + return id +} + +export function stop (id) { + if (!id) { + return + } + let anim = ids[id] + if (anim && anim.timer) { + cancelAnimationFrame(anim.timer) + anim.cancel && anim.cancel(anim.last) + delete ids[id] + } +} + +export default { + start, + stop +} diff --git a/node_modules/quasar-framework/src/utils/clone.js b/node_modules/quasar-framework/src/utils/clone.js new file mode 100644 index 0000000..886df5a --- /dev/null +++ b/node_modules/quasar-framework/src/utils/clone.js @@ -0,0 +1,6 @@ +export default function (data) { + const s = JSON.stringify(data) + if (s) { + return JSON.parse(s) + } +} diff --git a/node_modules/quasar-framework/src/utils/colors.js b/node_modules/quasar-framework/src/utils/colors.js new file mode 100644 index 0000000..516517b --- /dev/null +++ b/node_modules/quasar-framework/src/utils/colors.js @@ -0,0 +1,236 @@ +export function rgbToHex ({ r, g, b, a }) { + const alpha = a !== void 0 + + r = Math.round(r) + g = Math.round(g) + b = Math.round(b) + + if ( + r > 255 || + g > 255 || + b > 255 || + (alpha && a > 100) + ) { + throw new TypeError('Expected 3 numbers below 256 (and optionally one below 100)') + } + + a = alpha + ? (Math.round(255 * a / 100) | 1 << 8).toString(16).slice(1) + : '' + + return '#' + ((b | g << 8 | r << 16) | 1 << 24).toString(16).slice(1) + a +} + +export function hexToRgb (hex) { + if (typeof hex !== 'string') { + throw new TypeError('Expected a string') + } + + hex = hex.replace(/^#/, '') + + if (hex.length === 3) { + hex = hex[0] + hex[0] + hex[1] + hex[1] + hex[2] + hex[2] + } + else if (hex.length === 4) { + hex = hex[0] + hex[0] + hex[1] + hex[1] + hex[2] + hex[2] + hex[3] + hex[3] + } + + let num = parseInt(hex, 16) + + return hex.length > 6 + ? {r: num >> 24 & 255, g: num >> 16 & 255, b: num >> 8 & 255, a: Math.round((num & 255) / 2.55)} + : {r: num >> 16, g: num >> 8 & 255, b: num & 255} +} + +export function hsvToRgb ({ h, s, v, a }) { + let r, g, b, i, f, p, q, t + s = s / 100 + v = v / 100 + + h = h / 360 + i = Math.floor(h * 6) + f = h * 6 - i + p = v * (1 - s) + q = v * (1 - f * s) + t = v * (1 - (1 - f) * s) + + switch (i % 6) { + case 0: + r = v + g = t + b = p + break + case 1: + r = q + g = v + b = p + break + case 2: + r = p + g = v + b = t + break + case 3: + r = p + g = q + b = v + break + case 4: + r = t + g = p + b = v + break + case 5: + r = v + g = p + b = q + break + } + + return { + r: Math.round(r * 255), + g: Math.round(g * 255), + b: Math.round(b * 255), + a + } +} + +export function rgbToHsv ({ r, g, b, a }) { + let + max = Math.max(r, g, b), min = Math.min(r, g, b), + d = max - min, + h, + s = (max === 0 ? 0 : d / max), + v = max / 255 + + switch (max) { + case min: + h = 0 + break + case r: + h = (g - b) + d * (g < b ? 6 : 0) + h /= 6 * d + break + case g: + h = (b - r) + d * 2 + h /= 6 * d + break + case b: + h = (r - g) + d * 4 + h /= 6 * d + break + } + + return { + h: Math.round(h * 360), + s: Math.round(s * 100), + v: Math.round(v * 100), + a + } +} + +const reRGBA = /^\s*rgb(a)?\s*\((\s*(\d+)\s*,\s*?){2}(\d+)\s*,?\s*([01]?\.?\d*?)?\s*\)\s*$/ + +export function textToRgb (color) { + if (typeof color !== 'string') { + throw new TypeError('Expected a string') + } + + const m = reRGBA.exec(color) + if (m) { + const rgb = { + r: Math.max(255, parseInt(m[2], 10)), + g: Math.max(255, parseInt(m[3], 10)), + b: Math.max(255, parseInt(m[4], 10)) + } + if (m[1]) { + rgb.a = Math.max(1, parseFloat(m[5])) + } + return rgb + } + return hexToRgb(color) +} + +/* works as darken if percent < 0 */ +export function lighten (color, percent) { + if (typeof color !== 'string') { + throw new TypeError('Expected a string as color') + } + if (typeof percent !== 'number') { + throw new TypeError('Expected a numeric percent') + } + + const rgb = textToRgb(color), + t = percent < 0 ? 0 : 255, + p = Math.abs(percent) / 100, + R = rgb.r, + G = rgb.g, + B = rgb.b + + return '#' + ( + 0x1000000 + (Math.round((t - R) * p) + R) * 0x10000 + + (Math.round((t - G) * p) + G) * 0x100 + + (Math.round((t - B) * p) + B) + ).toString(16).slice(1) +} + +export function luminosity (color) { + if (typeof color !== 'string' && (!color || color.r === void 0)) { + throw new TypeError('Expected a string or a {r, g, b} object as color') + } + + const + rgb = typeof color === 'string' ? textToRgb(color) : color, + r = rgb.r / 255, + g = rgb.g / 255, + b = rgb.b / 255, + R = r <= 0.03928 ? r / 12.92 : Math.pow((r + 0.055) / 1.055, 2.4), + G = g <= 0.03928 ? g / 12.92 : Math.pow((g + 0.055) / 1.055, 2.4), + B = b <= 0.03928 ? b / 12.92 : Math.pow((b + 0.055) / 1.055, 2.4) + return 0.2126 * R + 0.7152 * G + 0.0722 * B +} + +export function setBrand (color, value, element = document.body) { + if (typeof color !== 'string') { + throw new TypeError('Expected a string as color') + } + if (typeof value !== 'string') { + throw new TypeError('Expected a string as value') + } + if (!(element instanceof Element)) { + throw new TypeError('Expected a DOM element') + } + + element.style.setProperty(`--q-color-${color}`, value) + switch (color) { + case 'negative': + case 'warning': + element.style.setProperty(`--q-color-${color}-l`, lighten(value, 46)) + break + case 'light': + element.style.setProperty(`--q-color-${color}-d`, lighten(value, -10)) + } +} + +export function getBrand (color, element = document.body) { + if (typeof color !== 'string') { + throw new TypeError('Expected a string as color') + } + if (!(element instanceof Element)) { + throw new TypeError('Expected a DOM element') + } + + return getComputedStyle(element).getPropertyValue(`--q-color-${color}`).trim() || null +} + +export default { + rgbToHex, + hexToRgb, + hsvToRgb, + rgbToHsv, + textToRgb, + lighten, + luminosity, + setBrand, + getBrand +} diff --git a/node_modules/quasar-framework/src/utils/date.js b/node_modules/quasar-framework/src/utils/date.js new file mode 100644 index 0000000..e6cf365 --- /dev/null +++ b/node_modules/quasar-framework/src/utils/date.js @@ -0,0 +1,574 @@ +/* eslint no-fallthrough: 0 */ + +import { isDate, isString } from './is.js' +import { pad, capitalize } from './format.js' +import i18n from '../i18n.js' + +const + MILLISECONDS_IN_DAY = 86400000, + MILLISECONDS_IN_HOUR = 3600000, + MILLISECONDS_IN_MINUTE = 60000, + token = /\[((?:[^\]\\]|\\]|\\)*)\]|d{1,4}|M{1,4}|m{1,2}|w{1,2}|Qo|Do|D{1,4}|YY(?:YY)?|H{1,2}|h{1,2}|s{1,2}|S{1,3}|Z{1,2}|a{1,2}|[AQExX]/g, + reMySQLDateTimeStr = /^[0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}:[0-9]{2}(.[0-9]{6})?$/ + +function formatTimezone (offset, delimeter = '') { + const + sign = offset > 0 ? '-' : '+', + absOffset = Math.abs(offset), + hours = Math.floor(absOffset / 60), + minutes = absOffset % 60 + + return sign + pad(hours) + delimeter + pad(minutes) +} + +function setMonth (date, newMonth /* 1-based */) { + const + test = new Date(date.getFullYear(), newMonth, 0, 0, 0, 0, 0), + days = test.getDate() + + date.setMonth(newMonth - 1, Math.min(days, date.getDate())) +} + +function buildDateVal (d) { + return new Date(isString(d) && reMySQLDateTimeStr.exec(d) !== null ? d.substring(0, 23).replace(' ', 'T') : d) +} + +function getChange (date, mod, add) { + const + t = buildDateVal(date), + sign = (add ? 1 : -1) + + Object.keys(mod).forEach(key => { + if (key === 'month') { + setMonth(t, t.getMonth() + 1 + sign * mod.month) + return + } + + const op = key === 'year' + ? 'FullYear' + : capitalize(key === 'days' ? 'date' : key) + t[`set${op}`](t[`get${op}`]() + sign * mod[key]) + }) + return t +} + +export function isValid (date) { + if (typeof date === 'number') { + return true + } + const t = Date.parse(date) + return isNaN(t) === false +} + +export function buildDate (mod, utc) { + return adjustDate(new Date(), mod, utc) +} + +export function getDayOfWeek (date) { + const dow = buildDateVal(date).getDay() + return dow === 0 ? 7 : dow +} + +export function getWeekOfYear (date) { + // Remove time components of date + const thursday = new Date(date.getFullYear(), date.getMonth(), date.getDate()) + + // Change date to Thursday same week + thursday.setDate(thursday.getDate() - ((thursday.getDay() + 6) % 7) + 3) + + // Take January 4th as it is always in week 1 (see ISO 8601) + const firstThursday = new Date(thursday.getFullYear(), 0, 4) + + // Change date to Thursday same week + firstThursday.setDate(firstThursday.getDate() - ((firstThursday.getDay() + 6) % 7) + 3) + + // Check if daylight-saving-time-switch occurred and correct for it + const ds = thursday.getTimezoneOffset() - firstThursday.getTimezoneOffset() + thursday.setHours(thursday.getHours() - ds) + + // Number of weeks between target Thursday and first Thursday + const weekDiff = (thursday - firstThursday) / (MILLISECONDS_IN_DAY * 7) + return 1 + Math.floor(weekDiff) +} + +export function isBetweenDates (date, from, to, opts = {}) { + let + d1 = buildDateVal(from).getTime(), + d2 = buildDateVal(to).getTime(), + cur = buildDateVal(date).getTime() + + opts.inclusiveFrom && d1-- + opts.inclusiveTo && d2++ + + return cur > d1 && cur < d2 +} + +export function addToDate (date, mod) { + return getChange(date, mod, true) +} +export function subtractFromDate (date, mod) { + return getChange(date, mod, false) +} + +export function adjustDate (date, mod, utc) { + const + t = buildDateVal(date), + prefix = `set${utc ? 'UTC' : ''}` + + Object.keys(mod).forEach(key => { + if (key === 'month') { + setMonth(t, mod.month) + return + } + + const op = key === 'year' + ? 'FullYear' + : key.charAt(0).toUpperCase() + key.slice(1) + t[`${prefix}${op}`](mod[key]) + }) + return t +} + +export function startOfDate (date, unit) { + const t = buildDateVal(date) + switch (unit) { + case 'year': + t.setMonth(0) + case 'month': + t.setDate(1) + case 'day': + t.setHours(0) + case 'hour': + t.setMinutes(0) + case 'minute': + t.setSeconds(0) + case 'second': + t.setMilliseconds(0) + } + return t +} + +export function endOfDate (date, unit) { + const t = buildDateVal(date) + switch (unit) { + case 'year': + t.setMonth(11) + case 'month': + t.setDate(daysInMonth(date)) + case 'day': + t.setHours(23) + case 'hour': + t.setMinutes(59) + case 'minute': + t.setSeconds(59) + case 'second': + t.setMilliseconds(59) + } + return t +} + +export function getMaxDate (date, ...args) { + let t = buildDateVal(date) + args.forEach(d => { + t = Math.max(t, buildDateVal(d)) + }) + return t +} +export function getMinDate (date, ...args) { + let t = buildDateVal(date) + args.forEach(d => { + t = Math.min(t, buildDateVal(d)) + }) + return t +} + +function getDiff (t, sub, interval) { + return ( + (t.getTime() - t.getTimezoneOffset() * MILLISECONDS_IN_MINUTE) - + (sub.getTime() - sub.getTimezoneOffset() * MILLISECONDS_IN_MINUTE) + ) / interval +} + +export function getDateDiff (date, subtract, unit = 'days') { + let + t = buildDateVal(date), + sub = buildDateVal(subtract) + + switch (unit) { + case 'years': + return (t.getFullYear() - sub.getFullYear()) + + case 'months': + return (t.getFullYear() - sub.getFullYear()) * 12 + t.getMonth() - sub.getMonth() + + case 'days': + return getDiff(startOfDate(t, 'day'), startOfDate(sub, 'day'), MILLISECONDS_IN_DAY) + + case 'hours': + return getDiff(startOfDate(t, 'hour'), startOfDate(sub, 'hour'), MILLISECONDS_IN_HOUR) + + case 'minutes': + return getDiff(startOfDate(t, 'minute'), startOfDate(sub, 'minute'), MILLISECONDS_IN_MINUTE) + + case 'seconds': + return getDiff(startOfDate(t, 'second'), startOfDate(sub, 'second'), 1000) + } +} + +export function getDayOfYear (date) { + return getDateDiff(date, startOfDate(date, 'year'), 'days') + 1 +} + +export function inferDateFormat (example) { + if (isDate(example)) { + return 'date' + } + if (typeof example === 'number') { + return 'number' + } + + return 'string' +} + +export function convertDateToFormat (date, type, format) { + if (!date && date !== 0) { + return + } + + switch (type) { + case 'date': + return date + case 'number': + return date.getTime() + default: + return formatDate(date, format) + } +} + +export function getDateBetween (date, min, max) { + const t = buildDateVal(date) + + if (min) { + const low = buildDateVal(min) + if (t < low) { + return low + } + } + + if (max) { + const high = buildDateVal(max) + if (t > high) { + return high + } + } + + return t +} + +export function isSameDate (date, date2, unit) { + const + t = buildDateVal(date), + d = buildDateVal(date2) + + if (unit === void 0) { + return t.getTime() === d.getTime() + } + + switch (unit) { + case 'second': + if (t.getSeconds() !== d.getSeconds()) { + return false + } + case 'minute': // intentional fall-through + if (t.getMinutes() !== d.getMinutes()) { + return false + } + case 'hour': // intentional fall-through + if (t.getHours() !== d.getHours()) { + return false + } + case 'day': // intentional fall-through + if (t.getDate() !== d.getDate()) { + return false + } + case 'month': // intentional fall-through + if (t.getMonth() !== d.getMonth()) { + return false + } + case 'year': // intentional fall-through + if (t.getFullYear() !== d.getFullYear()) { + return false + } + break + default: + throw new Error(`date isSameDate unknown unit ${unit}`) + } + + return true +} + +export function daysInMonth (date) { + return (new Date(date.getFullYear(), date.getMonth() + 1, 0)).getDate() +} + +function getOrdinal (n) { + if (n >= 11 && n <= 13) { + return `${n}th` + } + switch (n % 10) { + case 1: return `${n}st` + case 2: return `${n}nd` + case 3: return `${n}rd` + } + return `${n}th` +} + +export const formatter = { + // Year: 00, 01, ..., 99 + YY (date) { + return pad(date.getFullYear(), 4).substr(2) + }, + + // Year: 1900, 1901, ..., 2099 + YYYY (date) { + return pad(date.getFullYear(), 4) + }, + + // Month: 1, 2, ..., 12 + M (date) { + return date.getMonth() + 1 + }, + + // Month: 01, 02, ..., 12 + MM (date) { + return pad(date.getMonth() + 1) + }, + + // Month Short Name: Jan, Feb, ... + MMM (date, opts = {}) { + return (opts.monthNamesShort || i18n.lang.date.monthsShort)[date.getMonth()] + }, + + // Month Name: January, February, ... + MMMM (date, opts = {}) { + return (opts.monthNames || i18n.lang.date.months)[date.getMonth()] + }, + + // Quarter: 1, 2, 3, 4 + Q (date) { + return Math.ceil((date.getMonth() + 1) / 3) + }, + + // Quarter: 1st, 2nd, 3rd, 4th + Qo (date) { + return getOrdinal(this.Q(date)) + }, + + // Day of month: 1, 2, ..., 31 + D (date) { + return date.getDate() + }, + + // Day of month: 1st, 2nd, ..., 31st + Do (date) { + return getOrdinal(date.getDate()) + }, + + // Day of month: 01, 02, ..., 31 + DD (date) { + return pad(date.getDate()) + }, + + // Day of year: 1, 2, ..., 366 + DDD (date) { + return getDayOfYear(date) + }, + + // Day of year: 001, 002, ..., 366 + DDDD (date) { + return pad(getDayOfYear(date), 3) + }, + + // Day of week: 0, 1, ..., 6 + d (date) { + return date.getDay() + }, + + // Day of week: Su, Mo, ... + dd (date) { + return this.dddd(date).slice(0, 2) + }, + + // Day of week: Sun, Mon, ... + ddd (date, opts = {}) { + return (opts.dayNamesShort || i18n.lang.date.daysShort)[date.getDay()] + }, + + // Day of week: Sunday, Monday, ... + dddd (date, opts = {}) { + return (opts.dayNames || i18n.lang.date.days)[date.getDay()] + }, + + // Day of ISO week: 1, 2, ..., 7 + E (date) { + return date.getDay() || 7 + }, + + // Week of Year: 1 2 ... 52 53 + w (date) { + return getWeekOfYear(date) + }, + + // Week of Year: 01 02 ... 52 53 + ww (date) { + return pad(getWeekOfYear(date)) + }, + + // Hour: 0, 1, ... 23 + H (date) { + return date.getHours() + }, + + // Hour: 00, 01, ..., 23 + HH (date) { + return pad(date.getHours()) + }, + + // Hour: 1, 2, ..., 12 + h (date) { + const hours = date.getHours() + if (hours === 0) { + return 12 + } + if (hours > 12) { + return hours % 12 + } + return hours + }, + + // Hour: 01, 02, ..., 12 + hh (date) { + return pad(this.h(date)) + }, + + // Minute: 0, 1, ..., 59 + m (date) { + return date.getMinutes() + }, + + // Minute: 00, 01, ..., 59 + mm (date) { + return pad(date.getMinutes()) + }, + + // Second: 0, 1, ..., 59 + s (date) { + return date.getSeconds() + }, + + // Second: 00, 01, ..., 59 + ss (date) { + return pad(date.getSeconds()) + }, + + // 1/10 of second: 0, 1, ..., 9 + S (date) { + return Math.floor(date.getMilliseconds() / 100) + }, + + // 1/100 of second: 00, 01, ..., 99 + SS (date) { + return pad(Math.floor(date.getMilliseconds() / 10)) + }, + + // Millisecond: 000, 001, ..., 999 + SSS (date) { + return pad(date.getMilliseconds(), 3) + }, + + // Meridiem: AM, PM + A (date) { + return this.H(date) < 12 ? 'AM' : 'PM' + }, + + // Meridiem: am, pm + a (date) { + return this.H(date) < 12 ? 'am' : 'pm' + }, + + // Meridiem: a.m., p.m + aa (date) { + return this.H(date) < 12 ? 'a.m.' : 'p.m.' + }, + + // Timezone: -01:00, +00:00, ... +12:00 + Z (date) { + return formatTimezone(date.getTimezoneOffset(), ':') + }, + + // Timezone: -0100, +0000, ... +1200 + ZZ (date) { + return formatTimezone(date.getTimezoneOffset()) + }, + + // Seconds timestamp: 512969520 + X (date) { + return Math.floor(date.getTime() / 1000) + }, + + // Milliseconds timestamp: 512969520900 + x (date) { + return date.getTime() + } +} + +export function formatDate (val, mask = 'YYYY-MM-DDTHH:mm:ss.SSSZ', opts) { + if (val !== 0 && !val) { + return + } + + let date = buildDateVal(val) + + return mask.replace(token, function (match, text) { + if (match in formatter) { + return formatter[match](date, opts) + } + return text === void 0 + ? match + : text.split('\\]').join(']') + }) +} + +export function matchFormat (format = '') { + return format.match(token) +} + +export function clone (value) { + return isDate(value) ? new Date(value.getTime()) : value +} + +export default { + isValid, + buildDate, + getDayOfWeek, + getWeekOfYear, + isBetweenDates, + addToDate, + subtractFromDate, + adjustDate, + startOfDate, + endOfDate, + getMaxDate, + getMinDate, + getDateDiff, + getDayOfYear, + inferDateFormat, + convertDateToFormat, + getDateBetween, + isSameDate, + daysInMonth, + formatter, + formatDate, + matchFormat, + clone +} diff --git a/node_modules/quasar-framework/src/utils/debounce.js b/node_modules/quasar-framework/src/utils/debounce.js new file mode 100644 index 0000000..bfe8208 --- /dev/null +++ b/node_modules/quasar-framework/src/utils/debounce.js @@ -0,0 +1,24 @@ +export default function (fn, wait = 250, immediate) { + let timeout + + function debounced (...args) { + const later = () => { + timeout = null + if (!immediate) { + fn.apply(this, args) + } + } + + clearTimeout(timeout) + if (immediate && !timeout) { + fn.apply(this, args) + } + timeout = setTimeout(later, wait) + } + + debounced.cancel = () => { + clearTimeout(timeout) + } + + return debounced +} diff --git a/node_modules/quasar-framework/src/utils/dom.js b/node_modules/quasar-framework/src/utils/dom.js new file mode 100644 index 0000000..c8b6e00 --- /dev/null +++ b/node_modules/quasar-framework/src/utils/dom.js @@ -0,0 +1,65 @@ +export function offset (el) { + if (!el || el === window) { + return {top: 0, left: 0} + } + let {top, left} = el.getBoundingClientRect() + + return {top, left} +} + +export function style (el, property) { + return window.getComputedStyle(el).getPropertyValue(property) +} + +export function height (el) { + if (el === window) { + return window.innerHeight + } + return parseFloat(style(el, 'height')) +} + +export function width (el) { + if (el === window) { + return window.innerWidth + } + return parseFloat(style(el, 'width')) +} + +export function css (element, css) { + let style = element.style + + Object.keys(css).forEach(prop => { + style[prop] = css[prop] + }) +} + +export function ready (fn) { + if (typeof fn !== 'function') { + return + } + + if (document.readyState !== 'loading') { + return fn() + } + + document.addEventListener('DOMContentLoaded', fn, false) +} + +const prefix = ['-webkit-', '-moz-', '-ms-', '-o-'] +export function cssTransform (val) { + let o = {transform: val} + prefix.forEach(p => { + o[p + 'transform'] = val + }) + return o +} + +export default { + offset, + style, + height, + width, + css, + ready, + cssTransform +} diff --git a/node_modules/quasar-framework/src/utils/easing.js b/node_modules/quasar-framework/src/utils/easing.js new file mode 100644 index 0000000..51bdc5a --- /dev/null +++ b/node_modules/quasar-framework/src/utils/easing.js @@ -0,0 +1,70 @@ +export const linear = t => t + +export const easeInQuad = t => t * t +export const easeOutQuad = t => t * (2 - t) +export const easeInOutQuad = t => t < 0.5 + ? 2 * t * t + : -1 + (4 - 2 * t) * t + +export const easeInCubic = t => t ** 3 +export const easeOutCubic = t => 1 + (t - 1) ** 3 +export const easeInOutCubic = t => t < 0.5 + ? 4 * t ** 3 + : 1 + (t - 1) * (2 * t - 2) ** 2 + +export const easeInQuart = t => t ** 4 +export const easeOutQuart = t => 1 - (t - 1) ** 4 +export const easeInOutQuart = t => t < 0.5 + ? 8 * t ** 4 + : 1 - 8 * (t - 1) ** 4 + +export const easeInQuint = t => t ** 5 +export const easeOutQuint = t => 1 + (t - 1) ** 5 +export const easeInOutQuint = t => t < 0.5 + ? 16 * t ** 5 + : 1 + 16 * (t - 1) ** 5 + +export const easeInCirc = t => -1 * Math.sqrt(1 - t ** 2) + 1 +export const easeOutCirc = t => Math.sqrt(-1 * (t - 2) * t) +export const easeInOutCirc = t => t < 0.5 + ? 0.5 * (1 - Math.sqrt(1 - 4 * t * t)) + : 0.5 * (1 + Math.sqrt(-3 + 8 * t - 4 * t * t)) + +export const overshoot = t => -1 * (Math.E ** (-6.3 * t)) * (Math.cos(5 * t)) + 1 + +/* -- Material Design curves -- */ + +/** + * Faster ease in, slower ease out + */ +export const standard = t => t < 0.4031 + ? 12 * t ** 4 + : 1 / 1290 * (11 * Math.sqrt(-40000 * t * t + 80000 * t - 23359) - 129) + +export const decelerate = easeOutCubic +export const accelerate = easeInCubic +export const sharp = easeInOutQuad + +export default { + linear, + easeInQuad, + easeOutQuad, + easeInOutQuad, + easeInCubic, + easeOutCubic, + easeInOutCubic, + easeInQuart, + easeOutQuart, + easeInOutQuart, + easeInQuint, + easeOutQuint, + easeInOutQuint, + easeInCirc, + easeOutCirc, + easeInOutCirc, + overshoot, + standard, + decelerate, + accelerate, + sharp +} diff --git a/node_modules/quasar-framework/src/utils/escape-key.js b/node_modules/quasar-framework/src/utils/escape-key.js new file mode 100644 index 0000000..96303d3 --- /dev/null +++ b/node_modules/quasar-framework/src/utils/escape-key.js @@ -0,0 +1,35 @@ +import Platform from '../plugins/platform.js' + +let handlers = [] + +export default { + __installed: false, + __install () { + this.__installed = true + window.addEventListener('keyup', evt => { + if (handlers.length === 0) { + return + } + + if (evt.which === 27 || evt.keyCode === 27) { + handlers[handlers.length - 1]() + } + }) + }, + + register (handler) { + if (Platform.is.desktop) { + if (!this.__installed) { + this.__install() + } + + handlers.push(handler) + } + }, + + pop () { + if (Platform.is.desktop) { + handlers.pop() + } + } +} diff --git a/node_modules/quasar-framework/src/utils/event.js b/node_modules/quasar-framework/src/utils/event.js new file mode 100644 index 0000000..7bf3dc4 --- /dev/null +++ b/node_modules/quasar-framework/src/utils/event.js @@ -0,0 +1,153 @@ +export const listenOpts = {} +Object.defineProperty(listenOpts, 'passive', { + configurable: true, + get () { + let passive + + try { + var opts = Object.defineProperty({}, 'passive', { + get () { + passive = { passive: true } + } + }) + window.addEventListener('qtest', null, opts) + window.removeEventListener('qtest', null, opts) + } + catch (e) {} + + listenOpts.passive = passive + return passive + }, + set (val) { + Object.defineProperty(this, 'passive', { + value: val + }) + } +}) + +export function leftClick (e) { + return e.button === 0 +} + +export function middleClick (e) { + return e.button === 1 +} + +export function rightClick (e) { + return e.button === 2 +} + +export function getEventKey (e) { + return e.which || e.keyCode +} + +export function position (e) { + let posx, posy + + if (e.touches && e.touches[0]) { + e = e.touches[0] + } + else if (e.changedTouches && e.changedTouches[0]) { + e = e.changedTouches[0] + } + + if (e.clientX || e.clientY) { + posx = e.clientX + posy = e.clientY + } + else if (e.pageX || e.pageY) { + posx = e.pageX - document.body.scrollLeft - document.documentElement.scrollLeft + posy = e.pageY - document.body.scrollTop - document.documentElement.scrollTop + } + else { + const offset = targetElement(e).getBoundingClientRect() + posx = ((offset.right - offset.left) / 2) + offset.left + posy = ((offset.bottom - offset.top) / 2) + offset.top + } + + return { + top: posy, + left: posx + } +} + +export function targetElement (e) { + let target + + if (e.target) { + target = e.target + } + else if (e.srcElement) { + target = e.srcElement + } + + // defeat Safari bug + if (target.nodeType === 3) { + target = target.parentNode + } + + return target +} + +export function getEventPath (e) { + if (e.path) { + return e.path + } + if (e.composedPath) { + return e.composedPath() + } + + const path = [] + let el = e.target + + while (el) { + path.push(el) + + if (el.tagName === 'HTML') { + path.push(document) + path.push(window) + return path + } + + el = el.parentElement + } +} + +// Reasonable defaults +const + LINE_HEIGHT = 40, + PAGE_HEIGHT = 800 + +export function getMouseWheelDistance (e) { + let x = e.deltaX, y = e.deltaY + + if ((x || y) && e.deltaMode) { + const multiplier = e.deltaMode === 1 ? LINE_HEIGHT : PAGE_HEIGHT + x *= multiplier + y *= multiplier + } + + if (e.shiftKey && !x) { + [y, x] = [x, y] + } + + return { x, y } +} + +export function stopAndPrevent (e) { + e.preventDefault() + e.stopPropagation() +} + +export default { + listenOpts, + leftClick, + middleClick, + rightClick, + getEventKey, + position, + targetElement, + getEventPath, + getMouseWheelDistance, + stopAndPrevent +} diff --git a/node_modules/quasar-framework/src/utils/extend.js b/node_modules/quasar-framework/src/utils/extend.js new file mode 100644 index 0000000..a293b7a --- /dev/null +++ b/node_modules/quasar-framework/src/utils/extend.js @@ -0,0 +1,83 @@ +let + toString = Object.prototype.toString, + hasOwn = Object.prototype.hasOwnProperty, + class2type = {} + +'Boolean Number String Function Array Date RegExp Object'.split(' ').forEach(name => { + class2type['[object ' + name + ']'] = name.toLowerCase() +}) + +function type (obj) { + return obj === null ? String(obj) : class2type[toString.call(obj)] || 'object' +} + +function isPlainObject (obj) { + if (!obj || type(obj) !== 'object') { + return false + } + + if (obj.constructor && + !hasOwn.call(obj, 'constructor') && + !hasOwn.call(obj.constructor.prototype, 'isPrototypeOf')) { + return false + } + + let key + for (key in obj) {} + + return key === undefined || hasOwn.call(obj, key) +} + +export default function extend () { + let + options, name, src, copy, copyIsArray, clone, + target = arguments[0] || {}, + i = 1, + length = arguments.length, + deep = false + + if (typeof target === 'boolean') { + deep = target + target = arguments[1] || {} + i = 2 + } + + if (Object(target) !== target && type(target) !== 'function') { + target = {} + } + + if (length === i) { + target = this + i-- + } + + for (; i < length; i++) { + if ((options = arguments[i]) !== null) { + for (name in options) { + src = target[name] + copy = options[name] + + if (target === copy) { + continue + } + + if (deep && copy && (isPlainObject(copy) || (copyIsArray = type(copy) === 'array'))) { + if (copyIsArray) { + copyIsArray = false + clone = src && type(src) === 'array' ? src : [] + } + else { + clone = src && isPlainObject(src) ? src : {} + } + + target[name] = extend(deep, clone, copy) + } + else if (copy !== undefined) { + target[name] = copy + } + } + } + } + + return target +} diff --git a/node_modules/quasar-framework/src/utils/filter.js b/node_modules/quasar-framework/src/utils/filter.js new file mode 100644 index 0000000..614d526 --- /dev/null +++ b/node_modules/quasar-framework/src/utils/filter.js @@ -0,0 +1,4 @@ +export default function (terms, {field, list}) { + const token = terms.toLowerCase() + return list.filter(item => ('' + item[field]).toLowerCase().startsWith(token)) +} diff --git a/node_modules/quasar-framework/src/utils/format.js b/node_modules/quasar-framework/src/utils/format.js new file mode 100644 index 0000000..7d0f540 --- /dev/null +++ b/node_modules/quasar-framework/src/utils/format.js @@ -0,0 +1,53 @@ +const units = ['B', 'kB', 'MB', 'GB', 'TB', 'PB'] + +export function humanStorageSize (bytes) { + let u = 0 + + while (parseInt(bytes, 10) >= 1024 && u < units.length - 1) { + bytes /= 1024 + ++u + } + + return `${bytes.toFixed(1)} ${units[u]}` +} + +export function capitalize (str) { + return str.charAt(0).toUpperCase() + str.slice(1) +} + +export function between (v, min, max) { + if (max <= min) { + return min + } + return Math.min(max, Math.max(min, v)) +} + +export function normalizeToInterval (v, min, max) { + if (max <= min) { + return min + } + + const size = (max - min + 1) + + let index = min + (v - min) % size + if (index < min) { + index = size + index + } + + return index === 0 ? 0 : index // fix for (-a % a) => -0 +} + +export function pad (v, length = 2, char = '0') { + let val = '' + v + return val.length >= length + ? val + : new Array(length - val.length + 1).join(char) + val +} + +export default { + humanStorageSize, + capitalize, + between, + normalizeToInterval, + pad +} diff --git a/node_modules/quasar-framework/src/utils/frame-debounce.js b/node_modules/quasar-framework/src/utils/frame-debounce.js new file mode 100644 index 0000000..4abe981 --- /dev/null +++ b/node_modules/quasar-framework/src/utils/frame-debounce.js @@ -0,0 +1,20 @@ +export default function (fn) { + let wait = false, frame + + function debounced (...args) { + if (wait) { return } + + wait = true + frame = requestAnimationFrame(() => { + fn.apply(this, args) + wait = false + }) + } + + debounced.cancel = () => { + window.cancelAnimationFrame(frame) + wait = false + } + + return debounced +} diff --git a/node_modules/quasar-framework/src/utils/is.js b/node_modules/quasar-framework/src/utils/is.js new file mode 100644 index 0000000..83ec90f --- /dev/null +++ b/node_modules/quasar-framework/src/utils/is.js @@ -0,0 +1,28 @@ +export function isPrintableChar (v) { + return (v > 47 && v < 58) || // number keys + v === 32 || v === 13 || // spacebar & return key(s) (if you want to allow carriage returns) + (v > 64 && v < 91) || // letter keys + (v > 95 && v < 112) || // numpad keys + (v > 185 && v < 193) || // ;=,-./` (in order) + (v > 218 && v < 223) +} + +export function isObject (v) { + return Object(v) === v +} + +export function isDate (v) { + return Object.prototype.toString.call(v) === '[object Date]' +} + +export function isRegexp (v) { + return Object.prototype.toString.call(v) === '[object RegExp]' +} + +export function isNumber (v) { + return typeof v === 'number' && isFinite(v) +} + +export function isString (v) { + return typeof v === 'string' +} diff --git a/node_modules/quasar-framework/src/utils/modal-fn.js b/node_modules/quasar-framework/src/utils/modal-fn.js new file mode 100644 index 0000000..556bc57 --- /dev/null +++ b/node_modules/quasar-framework/src/utils/modal-fn.js @@ -0,0 +1,43 @@ +import { isSSR } from '../plugins/platform.js' + +export default function (Component, Vue) { + return ({ className, ...props }, resolver) => { + return new Promise((resolve, reject) => { + if (isSSR) { return resolve() } + + const node = document.createElement('div') + document.body.appendChild(node) + + const + ok = data => { + resolve(data) + vm.$destroy() + }, + cancel = reason => { + reject(reason || new Error()) + vm.$destroy() + } + + const vm = new Vue({ + el: node, + data () { + return { props } + }, + render: h => h(Component, { + ref: 'modal', + props, + 'class': className, + on: { + ok, + cancel + } + }), + mounted () { + this.$refs.modal.show() + } + }) + + resolver && resolver.then(ok, cancel) + }) + } +} diff --git a/node_modules/quasar-framework/src/utils/open-url.js b/node_modules/quasar-framework/src/utils/open-url.js new file mode 100644 index 0000000..f689dfd --- /dev/null +++ b/node_modules/quasar-framework/src/utils/open-url.js @@ -0,0 +1,19 @@ +import Platform from '../plugins/platform.js' + +export default (url, reject) => { + if (Platform.is.cordova && navigator && navigator.app) { + return navigator.app.loadUrl(url, { + openExternal: true + }) + } + + let win = window.open(url, '_blank') + + if (win) { + win.focus() + return win + } + else { + reject && reject() + } +} diff --git a/node_modules/quasar-framework/src/utils/popup.js b/node_modules/quasar-framework/src/utils/popup.js new file mode 100644 index 0000000..c4e345b --- /dev/null +++ b/node_modules/quasar-framework/src/utils/popup.js @@ -0,0 +1,169 @@ +import { position as eventPosition } from './event.js' +import { getScrollbarWidth } from './scroll.js' + +export function getAnchorPosition (el, offset) { + let + {top, left, right, bottom} = el.getBoundingClientRect(), + a = { + top, + left, + width: el.offsetWidth, + height: el.offsetHeight + } + + if (offset) { + a.top -= offset[1] + a.left -= offset[0] + if (bottom) { + bottom += offset[1] + } + if (right) { + right += offset[0] + } + a.width += offset[0] + a.height += offset[1] + } + + a.right = right || a.left + a.width + a.bottom = bottom || a.top + a.height + a.middle = a.left + ((a.right - a.left) / 2) + a.center = a.top + ((a.bottom - a.top) / 2) + + return a +} + +export function getTargetPosition (el) { + return { + top: 0, + center: el.offsetHeight / 2, + bottom: el.offsetHeight, + left: 0, + middle: el.offsetWidth / 2, + right: el.offsetWidth + } +} + +export function repositionIfNeeded (anchor, target, selfOrigin, anchorOrigin, targetPosition, cover) { + const margin = getScrollbarWidth() + let { innerHeight, innerWidth } = window + // don't go bellow scrollbars + innerHeight -= margin + innerWidth -= margin + + if (targetPosition.top < 0 || targetPosition.top + target.bottom > innerHeight) { + if (selfOrigin.vertical === 'center') { + targetPosition.top = anchor[selfOrigin.vertical] > innerHeight / 2 ? innerHeight - target.bottom : 0 + targetPosition.maxHeight = Math.min(target.bottom, innerHeight) + } + else if (anchor[selfOrigin.vertical] > innerHeight / 2) { + const anchorY = Math.min(innerHeight, anchorOrigin.vertical === 'center' ? anchor.center : (anchorOrigin.vertical === selfOrigin.vertical ? anchor.bottom : anchor.top)) + targetPosition.maxHeight = Math.min(target.bottom, anchorY) + targetPosition.top = Math.max(0, anchorY - targetPosition.maxHeight) + } + else { + targetPosition.top = anchorOrigin.vertical === 'center' ? anchor.center : (anchorOrigin.vertical === selfOrigin.vertical ? anchor.top : anchor.bottom) + targetPosition.maxHeight = Math.min(target.bottom, innerHeight - targetPosition.top) + } + } + + if (targetPosition.left < 0 || targetPosition.left + target.right > innerWidth) { + targetPosition.maxWidth = Math.min(target.right, innerWidth) + if (selfOrigin.horizontal === 'middle') { + targetPosition.left = anchor[selfOrigin.horizontal] > innerWidth / 2 ? innerWidth - target.right : 0 + } + else if (cover) { + targetPosition.left = targetPosition.left < 0 ? 0 : innerWidth - target.right + } + else if (anchor[selfOrigin.horizontal] > innerWidth / 2) { + const anchorY = Math.min(innerWidth, anchorOrigin.horizontal === 'middle' ? anchor.center : (anchorOrigin.horizontal === selfOrigin.horizontal ? anchor.right : anchor.left)) + targetPosition.maxWidth = Math.min(target.right, anchorY) + targetPosition.left = Math.max(0, anchorY - targetPosition.maxWidth) + } + else { + targetPosition.left = anchorOrigin.horizontal === 'middle' ? anchor.center : (anchorOrigin.horizontal === selfOrigin.horizontal ? anchor.left : anchor.right) + targetPosition.maxWidth = Math.min(target.right, innerWidth - targetPosition.left) + } + } + + return targetPosition +} + +export function parseHorizTransformOrigin (pos) { + return pos === 'middle' ? 'center' : pos +} + +export function setPosition ({el, animate, anchorEl, anchorOrigin, selfOrigin, maxHeight, event, anchorClick, touchPosition, offset, touchOffset, cover}) { + let anchor + el.style.maxHeight = maxHeight || '65vh' + el.style.maxWidth = '100vw' + + if (event && (!anchorClick || touchPosition)) { + const {top, left} = eventPosition(event) + anchor = {top, left, width: 1, height: 1, right: left + 1, center: top, middle: left, bottom: top + 1} + } + else { + if (touchOffset) { + const + { top: anchorTop, left: anchorLeft } = anchorEl.getBoundingClientRect(), + top = anchorTop + touchOffset.top, + left = anchorLeft + touchOffset.left + anchor = {top, left, width: 1, height: 1, right: left + 1, center: top, middle: left, bottom: top + 1} + } + else { + anchor = getAnchorPosition(anchorEl, offset) + } + } + + let target = getTargetPosition(el) + let targetPosition = { + top: anchor[anchorOrigin.vertical] - target[selfOrigin.vertical], + left: anchor[anchorOrigin.horizontal] - target[selfOrigin.horizontal] + } + + targetPosition = repositionIfNeeded(anchor, target, selfOrigin, anchorOrigin, targetPosition, cover) + + el.style.top = Math.max(0, targetPosition.top) + 'px' + el.style.left = Math.max(0, targetPosition.left) + 'px' + if (targetPosition.maxHeight) { + el.style.maxHeight = `${targetPosition.maxHeight}px` + } + if (targetPosition.maxWidth) { + el.style.maxWidth = `${targetPosition.maxWidth}px` + } + + if (animate) { + const directions = targetPosition.top < anchor.top ? ['up', 'down'] : ['down', 'up'] + el.classList.add(`animate-popup-${directions[0]}`) + el.classList.remove(`animate-popup-${directions[1]}`) + } +} + +export function positionValidator (pos) { + let parts = pos.split(' ') + if (parts.length !== 2) { + return false + } + if (!['top', 'center', 'bottom'].includes(parts[0])) { + console.error('Anchor/Self position must start with one of top/center/bottom') + return false + } + if (!['left', 'middle', 'right'].includes(parts[1])) { + console.error('Anchor/Self position must end with one of left/middle/right') + return false + } + return true +} + +export function offsetValidator (val) { + if (!val) { return true } + if (val.length !== 2) { return false } + if (typeof val[0] !== 'number' || typeof val[1] !== 'number') { + return false + } + return true +} + +export function parsePosition (pos) { + let parts = pos.split(' ') + return {vertical: parts[0], horizontal: parts[1]} +} diff --git a/node_modules/quasar-framework/src/utils/prevent-scroll.js b/node_modules/quasar-framework/src/utils/prevent-scroll.js new file mode 100644 index 0000000..f69c9dd --- /dev/null +++ b/node_modules/quasar-framework/src/utils/prevent-scroll.js @@ -0,0 +1,57 @@ +import { getEventPath, stopAndPrevent } from './event.js' +import { hasScrollbar } from './scroll.js' +import Platform from '../plugins/platform.js' + +let registered = 0 + +function onWheel (e) { + if (shouldPreventScroll(e)) { + stopAndPrevent(e) + } +} + +function shouldPreventScroll (e) { + if (e.target === document.body || e.target.classList.contains('q-layout-backdrop')) { + return true + } + + const + path = getEventPath(e), + shift = e.shiftKey && !e.deltaX, + scrollY = !shift && Math.abs(e.deltaX) <= Math.abs(e.deltaY), + delta = shift || scrollY ? e.deltaY : e.deltaX + + for (let index = 0; index < path.length; index++) { + const el = path[index] + + if (hasScrollbar(el, scrollY)) { + return scrollY + ? ( + delta < 0 && el.scrollTop === 0 + ? true + : delta > 0 && el.scrollTop + el.clientHeight === el.scrollHeight + ) + : ( + delta < 0 && el.scrollLeft === 0 + ? true + : delta > 0 && el.scrollLeft + el.clientWidth === el.scrollWidth + ) + } + } + + return true +} + +export default function (register) { + registered += register ? 1 : -1 + if (registered > 1) { return } + + const action = register ? 'add' : 'remove' + + if (Platform.is.mobile) { + document.body.classList[action]('q-body-prevent-scroll') + } + else if (Platform.is.desktop) { + window[`${action}EventListener`]('wheel', onWheel) + } +} diff --git a/node_modules/quasar-framework/src/utils/router-link.js b/node_modules/quasar-framework/src/utils/router-link.js new file mode 100644 index 0000000..00b19f8 --- /dev/null +++ b/node_modules/quasar-framework/src/utils/router-link.js @@ -0,0 +1,37 @@ +import { isSSR } from '../plugins/platform.js' + +export const routerLinkEventName = 'qrouterlinkclick' + +let evt = null + +if (!isSSR) { + try { + evt = new Event(routerLinkEventName) + } + catch (e) { + // IE doesn't support `new Event()`, so...` + evt = document.createEvent('Event') + evt.initEvent(routerLinkEventName, true, false) + } +} + +export const routerLinkProps = { + to: [String, Object], + exact: Boolean, + append: Boolean, + replace: Boolean, + event: [String, Array], + activeClass: String, + exactActiveClass: String +} + +export { evt as routerLinkEvent } + +export const RouterLinkMixin = { + props: routerLinkProps, + data () { + return { + routerLinkEventName + } + } +} diff --git a/node_modules/quasar-framework/src/utils/scroll.js b/node_modules/quasar-framework/src/utils/scroll.js new file mode 100644 index 0000000..43da936 --- /dev/null +++ b/node_modules/quasar-framework/src/utils/scroll.js @@ -0,0 +1,133 @@ +import { css } from './dom.js' + +export function getScrollTarget (el) { + return el.closest('.scroll,.scroll-y,.overflow-auto') || window +} + +export function getScrollHeight (el) { + return (el === window ? document.body : el).scrollHeight +} + +export function getScrollPosition (scrollTarget) { + if (scrollTarget === window) { + return window.pageYOffset || window.scrollY || document.body.scrollTop || 0 + } + return scrollTarget.scrollTop +} + +export function getHorizontalScrollPosition (scrollTarget) { + if (scrollTarget === window) { + return window.pageXOffset || window.scrollX || document.body.scrollLeft || 0 + } + return scrollTarget.scrollLeft +} + +export function animScrollTo (el, to, duration) { + const pos = getScrollPosition(el) + + if (duration <= 0) { + if (pos !== to) { + setScroll(el, to) + } + return + } + + requestAnimationFrame(() => { + const newPos = pos + (to - pos) / Math.max(16, duration) * 16 + setScroll(el, newPos) + if (newPos !== to) { + animScrollTo(el, to, duration - 16) + } + }) +} + +function setScroll (scrollTarget, offset) { + if (scrollTarget === window) { + document.documentElement.scrollTop = offset + document.body.scrollTop = offset + return + } + scrollTarget.scrollTop = offset +} + +export function setScrollPosition (scrollTarget, offset, duration) { + if (duration) { + animScrollTo(scrollTarget, offset, duration) + return + } + setScroll(scrollTarget, offset) +} + +let size +export function getScrollbarWidth () { + if (size !== undefined) { + return size + } + + const + inner = document.createElement('p'), + outer = document.createElement('div') + + css(inner, { + width: '100%', + height: '200px' + }) + css(outer, { + position: 'absolute', + top: '0px', + left: '0px', + visibility: 'hidden', + width: '200px', + height: '150px', + overflow: 'hidden' + }) + + outer.appendChild(inner) + + document.body.appendChild(outer) + + let w1 = inner.offsetWidth + outer.style.overflow = 'scroll' + let w2 = inner.offsetWidth + + if (w1 === w2) { + w2 = outer.clientWidth + } + + outer.remove() + size = w1 - w2 + + return size +} + +export function hasScrollbar (el, onY = true) { + if (!el || el.nodeType !== Node.ELEMENT_NODE) { + return false + } + + return onY + ? ( + el.scrollHeight > el.clientHeight && ( + el.classList.contains('scroll') || + el.classList.contains('overflow-auto') || + ['auto', 'scroll'].includes(window.getComputedStyle(el)['overflow-y']) + ) + ) + : ( + el.scrollWidth > el.clientWidth && ( + el.classList.contains('scroll') || + el.classList.contains('overflow-auto') || + ['auto', 'scroll'].includes(window.getComputedStyle(el)['overflow-x']) + ) + ) +} + +export default { + getScrollTarget, + getScrollHeight, + getScrollPosition, + animScrollTo, + setScrollPosition, + getScrollbarWidth, + hasScrollbar +} diff --git a/node_modules/quasar-framework/src/utils/sort.js b/node_modules/quasar-framework/src/utils/sort.js new file mode 100644 index 0000000..109eb5e --- /dev/null +++ b/node_modules/quasar-framework/src/utils/sort.js @@ -0,0 +1,20 @@ +export function sortString (a, b) { + if (typeof a !== 'string') { + throw new TypeError('The value for sorting must be a String') + } + return a.localeCompare(b) +} + +export function sortNumber (a, b) { + return a - b +} + +export function sortDate (a, b) { + return (new Date(a)) - (new Date(b)) +} + +export function sortBoolean (a, b) { + return a && !b + ? -1 + : (!a && b ? 1 : 0) +} diff --git a/node_modules/quasar-framework/src/utils/throttle.js b/node_modules/quasar-framework/src/utils/throttle.js new file mode 100644 index 0000000..b90793b --- /dev/null +++ b/node_modules/quasar-framework/src/utils/throttle.js @@ -0,0 +1,17 @@ +export default function (fn, limit = 250) { + let wait = false + let result + + return function (...args) { + if (wait) { + return result + } + + wait = true + result = fn.apply(this, args) + setTimeout(() => { + wait = false + }, limit) + return result + } +} diff --git a/node_modules/quasar-framework/src/utils/uid.js b/node_modules/quasar-framework/src/utils/uid.js new file mode 100644 index 0000000..099797f --- /dev/null +++ b/node_modules/quasar-framework/src/utils/uid.js @@ -0,0 +1,10 @@ +function s4 () { + return Math.floor((1 + Math.random()) * 0x10000) + .toString(16) + .substring(1) +} + +export default function () { + return s4() + s4() + '-' + s4() + '-' + s4() + '-' + + s4() + '-' + s4() + s4() + s4() +} diff --git a/node_modules/quasar-framework/src/utils/web-storage.js b/node_modules/quasar-framework/src/utils/web-storage.js new file mode 100644 index 0000000..e14a8e7 --- /dev/null +++ b/node_modules/quasar-framework/src/utils/web-storage.js @@ -0,0 +1,122 @@ +function encode (value) { + if (Object.prototype.toString.call(value) === '[object Date]') { + return '__q_date|' + value.toUTCString() + } + if (Object.prototype.toString.call(value) === '[object RegExp]') { + return '__q_expr|' + value.source + } + if (typeof value === 'number') { + return '__q_numb|' + value + } + if (typeof value === 'boolean') { + return '__q_bool|' + (value ? '1' : '0') + } + if (typeof value === 'string') { + return '__q_strn|' + value + } + if (typeof value === 'function') { + return '__q_strn|' + value.toString() + } + if (value === Object(value)) { + return '__q_objt|' + JSON.stringify(value) + } + + // hmm, we don't know what to do with it, + // so just return it as is + return value +} + +function decode (value) { + let type, length, source + + length = value.length + if (length < 9) { + // then it wasn't encoded by us + return value + } + + type = value.substr(0, 8) + source = value.substring(9) + + switch (type) { + case '__q_date': + return new Date(source) + + case '__q_expr': + return new RegExp(source) + + case '__q_numb': + return Number(source) + + case '__q_bool': + return Boolean(source === '1') + + case '__q_strn': + return '' + source + + case '__q_objt': + return JSON.parse(source) + + default: + // hmm, we reached here, we don't know the type, + // then it means it wasn't encoded by us, so just + // return whatever value it is + return value + } +} + +export function getEmptyStorage () { + const fn = () => {} + + return { + has: fn, + get: { + length: fn, + item: fn, + index: fn, + all: fn + }, + set: fn, + remove: fn, + clear: fn, + isEmpty: fn + } +} + +export function getStorage (type) { + const + webStorage = window[type + 'Storage'], + get = key => { + const item = webStorage.getItem(key) + return item + ? decode(item) + : null + } + + return { + has: key => webStorage.getItem(key) !== null, + get: { + length: () => webStorage.length, + item: get, + index: index => { + if (index < webStorage.length) { + return get(webStorage.key(index)) + } + }, + all: () => { + let result = {}, key, len = webStorage.length + + for (let i = 0; i < len; i++) { + key = webStorage.key(i) + result[key] = get(key) + } + + return result + } + }, + set: (key, value) => { webStorage.setItem(key, encode(value)) }, + remove: key => { webStorage.removeItem(key) }, + clear: () => { webStorage.clear() }, + isEmpty: () => webStorage.length === 0 + } +} diff --git a/node_modules/quasar-framework/src/vue-plugin.js b/node_modules/quasar-framework/src/vue-plugin.js new file mode 100644 index 0000000..4acada9 --- /dev/null +++ b/node_modules/quasar-framework/src/vue-plugin.js @@ -0,0 +1,16 @@ +import install from './install.js' +import { version } from '../package.json' +import i18n from './i18n.js' +import icons from './icons.js' +import ssrUpdate from './ssr-update.js' + +const theme = process.env.THEME + +export default { + version, + install, + i18n, + icons, + theme, + ssrUpdate +}