@sparkle-learning/core 0.0.35 → 0.0.36
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{auth.service-4b584cd7.js → PrivateRoute-074c584e.js} +30 -0
- package/dist/cjs/{sparkle-export-lessons_6.cjs.entry.js → header-mobile-collapse_61.cjs.entry.js} +11600 -2714
- package/dist/cjs/index.cjs.js +5 -6
- package/dist/cjs/ion-card-title.cjs.entry.js +30 -0
- package/dist/cjs/ion-textarea.cjs.entry.js +248 -0
- package/dist/cjs/ion-toggle.cjs.entry.js +177 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/sparkle-core.cjs.js +1 -1
- package/dist/cjs/sparkle-feed-post.cjs.entry.js +120 -0
- package/dist/cjs/sparkle-feedback.cjs.entry.js +1 -2
- package/dist/cjs/sparkle-quiz-v1.cjs.entry.js +105 -0
- package/dist/cjs/sparkle-quiz.cjs.entry.js +54 -40
- package/dist/cjs/student.service-2e58f237.js +78 -0
- package/dist/collection/collection-manifest.json +2 -1
- package/dist/collection/components/sparkle-quiz/{sparkle-quiz.css → sparkle-quiz/sparkle-quiz.css} +0 -0
- package/dist/collection/components/sparkle-quiz/sparkle-quiz/sparkle-quiz.js +326 -0
- package/dist/collection/components/sparkle-quiz/sparkle-quiz-v1.css +48 -0
- package/dist/collection/components/sparkle-quiz/{sparkle-quiz.js → sparkle-quiz-v1.js} +4 -4
- package/dist/esm/{auth.service-79389d86.js → PrivateRoute-c5441f35.js} +33 -4
- package/dist/esm/{active-router-9843e205.js → active-router-fc9e4e06.js} +1 -1
- package/dist/esm/{animation-d98d3e81.js → animation-12377cb3.js} +1 -1
- package/dist/esm/{app-globals-08edc964.js → app-globals-3f0347b0.js} +1 -1
- package/dist/esm/{auth.store-b812b34b.js → auth.store-dba2c2da.js} +2 -2
- package/dist/esm/compass-svg.entry.js +1 -1
- package/dist/esm/context-consumer.entry.js +1 -1
- package/dist/esm/course-select.entry.js +1 -1
- package/dist/esm/{facilitator.service-7babc526.js → facilitator.service-b0292f7f.js} +2 -2
- package/dist/esm/{feed.service-80fbe79d.js → feed.service-8fbe4ce3.js} +3 -3
- package/dist/esm/{framework-delegate-9b329182.js → framework-delegate-3e634a5c.js} +1 -1
- package/dist/esm/{haptic-3a76a65c.js → haptic-522f76f2.js} +1 -1
- package/dist/esm/{sparkle-export-lessons_6.entry.js → header-mobile-collapse_61.entry.js} +11501 -2670
- package/dist/esm/{helpers-94a5855b.js → helpers-bf0e23d6.js} +1 -1
- package/dist/esm/{httpService-b2b7a1ad.js → httpService-7b75b095.js} +2 -2
- package/dist/esm/{icons-16f1a80b.js → icons-9b62a1ec.js} +2 -2
- package/dist/esm/{index-478745be.js → index-2b84cad2.js} +4 -4
- package/dist/esm/{index-4ec6b9c2.js → index-4044fde9.js} +1 -1
- package/dist/esm/{index-230a26c9.js → index-45fec1e7.js} +1 -1
- package/dist/esm/{index-c23a1826.js → index-5e8971ae.js} +2 -2
- package/dist/esm/{index-9db08224.js → index-c04b9ed5.js} +1 -1
- package/dist/esm/{index-95307148.js → index-cded2d87.js} +3 -3
- package/dist/esm/{index.es-1c3b1ef3.js → index.es-e0c0f891.js} +2 -2
- package/dist/esm/index.js +7 -8
- package/dist/esm/{input-shims-ce5c01df.js → input-shims-671d8d9f.js} +2 -2
- package/dist/esm/ion-accordion-group.entry.js +2 -2
- package/dist/esm/ion-accordion.entry.js +4 -4
- package/dist/esm/ion-action-sheet_4.entry.js +8 -8
- package/dist/esm/ion-app.entry.js +5 -5
- package/dist/esm/ion-back-button.entry.js +4 -4
- package/dist/esm/ion-backdrop.entry.js +2 -2
- package/dist/esm/ion-badge.entry.js +2 -2
- package/dist/esm/ion-breadcrumb.entry.js +4 -4
- package/dist/esm/ion-breadcrumbs.entry.js +2 -2
- package/dist/esm/ion-buttons_3.entry.js +2 -2
- package/dist/esm/ion-card-header.entry.js +2 -2
- package/dist/esm/ion-card-subtitle.entry.js +2 -2
- package/dist/esm/ion-card-title.entry.js +26 -0
- package/dist/esm/ion-chip.entry.js +2 -2
- package/dist/esm/ion-content_2.entry.js +4 -4
- package/dist/esm/ion-datetime-button.entry.js +3 -3
- package/dist/esm/ion-datetime.entry.js +4 -4
- package/dist/esm/ion-fab-button.entry.js +4 -4
- package/dist/esm/ion-fab-list.entry.js +2 -2
- package/dist/esm/ion-fab.entry.js +2 -2
- package/dist/esm/ion-footer.entry.js +4 -4
- package/dist/esm/ion-img.entry.js +3 -3
- package/dist/esm/ion-infinite-scroll-content.entry.js +2 -2
- package/dist/esm/ion-infinite-scroll.entry.js +4 -4
- package/dist/esm/ion-item-divider.entry.js +2 -2
- package/dist/esm/ion-item-group.entry.js +2 -2
- package/dist/esm/ion-item-option.entry.js +2 -2
- package/dist/esm/ion-item-options.entry.js +3 -3
- package/dist/esm/ion-item-sliding.entry.js +4 -4
- package/dist/esm/ion-loading.entry.js +5 -5
- package/dist/esm/ion-menu-button.entry.js +7 -7
- package/dist/esm/ion-menu-toggle.entry.js +6 -6
- package/dist/esm/ion-menu.entry.js +6 -6
- package/dist/esm/ion-modal.entry.js +8 -8
- package/dist/esm/ion-nav-link.entry.js +1 -1
- package/dist/esm/ion-nav.entry.js +6 -6
- package/dist/esm/ion-picker-column-internal_2.entry.js +4 -4
- package/dist/esm/ion-picker-column.entry.js +4 -4
- package/dist/esm/ion-picker.entry.js +5 -5
- package/dist/esm/ion-progress-bar.entry.js +3 -3
- package/dist/esm/ion-refresher-content.entry.js +3 -3
- package/dist/esm/ion-refresher.entry.js +6 -6
- package/dist/esm/ion-reorder-group.entry.js +5 -5
- package/dist/esm/ion-reorder.entry.js +3 -3
- package/dist/esm/ion-route-redirect.entry.js +1 -1
- package/dist/esm/ion-route.entry.js +1 -1
- package/dist/esm/ion-router-link.entry.js +2 -2
- package/dist/esm/ion-router-outlet.entry.js +6 -6
- package/dist/esm/ion-router.entry.js +2 -2
- package/dist/esm/ion-searchbar.entry.js +4 -4
- package/dist/esm/ion-segment-button.entry.js +3 -3
- package/dist/esm/ion-segment.entry.js +3 -3
- package/dist/esm/ion-select_2.entry.js +4 -4
- package/dist/esm/ion-skeleton-text.entry.js +2 -2
- package/dist/esm/ion-slide.entry.js +2 -2
- package/dist/esm/ion-slides.entry.js +3 -3
- package/dist/esm/ion-split-pane.entry.js +2 -2
- package/dist/esm/ion-tab-bar.entry.js +2 -2
- package/dist/esm/ion-tab-button.entry.js +2 -2
- package/dist/esm/ion-tab.entry.js +3 -3
- package/dist/esm/ion-tabs.entry.js +1 -1
- package/dist/esm/ion-textarea.entry.js +244 -0
- package/dist/esm/ion-thumbnail.entry.js +2 -2
- package/dist/esm/ion-toast.entry.js +5 -5
- package/dist/esm/ion-toggle.entry.js +173 -0
- package/dist/esm/ion-virtual-scroll.entry.js +2 -2
- package/dist/esm/{ionic-global-293e882b.js → ionic-global-4903e23e.js} +1 -1
- package/dist/esm/{ios.transition-7cd34deb.js → ios.transition-131d64fe.js} +4 -4
- package/dist/esm/loader.js +4 -4
- package/dist/esm/{md.transition-2589a5b1.js → md.transition-f6126011.js} +4 -4
- package/dist/esm/{menu-toggle-util-f92ba2f0.js → menu-toggle-util-bace8ae6.js} +1 -1
- package/dist/esm/{overlays-dfa730c8.js → overlays-3b4dca92.js} +3 -3
- package/dist/esm/{purify-79af871f.js → purify-85bfcc69.js} +1 -1
- package/dist/esm/sparkle-animation-player.entry.js +2 -2
- package/dist/esm/sparkle-character-intro.entry.js +1 -1
- package/dist/esm/sparkle-code.entry.js +2 -2
- package/dist/esm/sparkle-compass-post.entry.js +1 -1
- package/dist/esm/sparkle-compass.entry.js +1 -1
- package/dist/esm/sparkle-core.js +4 -4
- package/dist/esm/sparkle-emoji.entry.js +1 -1
- package/dist/esm/sparkle-facilitator-notes-form.entry.js +7 -7
- package/dist/esm/sparkle-feed-post.entry.js +116 -0
- package/dist/esm/sparkle-feedback.entry.js +7 -8
- package/dist/esm/sparkle-goal-form.entry.js +8 -8
- package/dist/esm/sparkle-gww-comment-list.entry.js +1 -1
- package/dist/esm/sparkle-gww-graph.entry.js +1 -1
- package/dist/esm/sparkle-intro.entry.js +1 -1
- package/dist/esm/sparkle-lower-content-nav.entry.js +1 -1
- package/dist/esm/sparkle-menu-collapsible.entry.js +2 -2
- package/dist/esm/sparkle-modal-image.entry.js +1 -1
- package/dist/esm/sparkle-notfound-page.entry.js +1 -1
- package/dist/esm/sparkle-overlay.entry.js +1 -1
- package/dist/esm/sparkle-poll.entry.js +1 -1
- package/dist/esm/sparkle-quiz-container.entry.js +1 -1
- package/dist/esm/sparkle-quiz-feedback_5.entry.js +1 -1
- package/dist/esm/sparkle-quiz-v1.entry.js +101 -0
- package/dist/esm/sparkle-quiz.entry.js +55 -41
- package/dist/esm/sparkle-select.entry.js +1 -1
- package/dist/esm/sparkle-sidebar.entry.js +1 -1
- package/dist/esm/sparkle-tab.entry.js +1 -1
- package/dist/esm/sparkle-table-of-contents.entry.js +1 -1
- package/dist/esm/sparkle-tabs.entry.js +1 -1
- package/dist/esm/sparkle-youtube.entry.js +1 -1
- package/dist/esm/{status-tap-79b6199d.js → status-tap-dde52787.js} +3 -3
- package/dist/esm/stencil-async-content.entry.js +1 -1
- package/dist/esm/stencil-route-title.entry.js +2 -2
- package/dist/esm/stencil-router-prompt.entry.js +2 -2
- package/dist/esm/{student.service-0caed0f4.js → student.service-0746418b.js} +19 -3
- package/dist/esm/{swipe-back-ad7a0361.js → swipe-back-7847a0c1.js} +1 -1
- package/dist/esm/{util-a831d09d.js → util-6ef753e9.js} +1 -1
- package/dist/sparkle-core/index.esm.js +1 -1
- package/dist/sparkle-core/p-00d10dc9.js +4 -0
- package/dist/sparkle-core/p-0147266a.js +1 -0
- package/dist/sparkle-core/{p-9ef14088.entry.js → p-04c7b276.entry.js} +1 -1
- package/dist/sparkle-core/{p-fde96f7c.js → p-05c032dd.js} +1 -1
- package/dist/sparkle-core/{p-4af496a8.entry.js → p-06642405.entry.js} +1 -1
- package/dist/sparkle-core/p-0664370b.entry.js +1 -0
- package/dist/sparkle-core/{p-0b92326d.entry.js → p-06c7d0f2.entry.js} +1 -1
- package/dist/sparkle-core/p-077c732b.js +4 -0
- package/dist/sparkle-core/{p-3c752205.entry.js → p-0ad5c123.entry.js} +1 -1
- package/dist/sparkle-core/p-0afa3a4d.entry.js +1 -0
- package/dist/sparkle-core/{p-e6d39f6e.entry.js → p-0c3f3ea6.entry.js} +1 -1
- package/dist/sparkle-core/{p-8cbe019a.entry.js → p-0f1c5899.entry.js} +1 -1
- package/dist/sparkle-core/{p-767c9db8.entry.js → p-0fa3fd63.entry.js} +1 -1
- package/dist/sparkle-core/p-11356b03.entry.js +1 -0
- package/dist/sparkle-core/{p-506f3c5f.js → p-12dd96d7.js} +2 -2
- package/dist/sparkle-core/p-162bff1a.entry.js +1 -0
- package/dist/sparkle-core/p-1b1ba156.entry.js +1 -0
- package/dist/sparkle-core/{p-966817ec.js → p-1d4c7c11.js} +1 -1
- package/dist/sparkle-core/p-1e125ca5.entry.js +1 -0
- package/dist/sparkle-core/{p-b00d0a47.entry.js → p-1e4782af.entry.js} +1 -1
- package/dist/sparkle-core/p-1e4f65ee.entry.js +1 -0
- package/dist/sparkle-core/{p-1394cbb8.js → p-2033cd86.js} +2 -2
- package/dist/sparkle-core/{p-3ef53ebf.entry.js → p-214d1229.entry.js} +1 -1
- package/dist/sparkle-core/p-23aca7ca.js +4 -0
- package/dist/sparkle-core/p-24cb9a33.entry.js +1 -0
- package/dist/sparkle-core/{p-bae8cd7d.entry.js → p-27fbabc3.entry.js} +1 -1
- package/dist/sparkle-core/{p-d220a642.entry.js → p-2ba70507.entry.js} +1 -1
- package/dist/sparkle-core/{p-4c9e010d.entry.js → p-2c1ca854.entry.js} +1 -1
- package/dist/sparkle-core/p-2d9659e2.entry.js +1 -0
- package/dist/sparkle-core/{p-23d713e2.js → p-2f569553.js} +1 -1
- package/dist/sparkle-core/{p-c9f474d0.js → p-2ff67662.js} +2 -2
- package/dist/sparkle-core/{p-136b93d5.entry.js → p-30b810d1.entry.js} +1 -1
- package/dist/sparkle-core/p-32f4e565.entry.js +1 -0
- package/dist/sparkle-core/{p-7b21bd70.entry.js → p-352677e6.entry.js} +1 -1
- package/dist/sparkle-core/p-370609ba.entry.js +1 -0
- package/dist/sparkle-core/{p-bd2c8e30.entry.js → p-377b04c2.entry.js} +2 -2
- package/dist/sparkle-core/{p-fea20ec2.entry.js → p-38b7cf68.entry.js} +1 -1
- package/dist/sparkle-core/{p-c5eb4404.entry.js → p-3963e02b.entry.js} +1 -1
- package/dist/sparkle-core/{p-9b4979b5.entry.js → p-39712c56.entry.js} +1 -1
- package/dist/sparkle-core/p-3a965828.entry.js +1 -0
- package/dist/sparkle-core/{p-3810777d.js → p-3de0e00c.js} +1 -1
- package/dist/sparkle-core/p-4053ecdb.entry.js +1 -0
- package/dist/sparkle-core/p-462bffba.js +1 -0
- package/dist/sparkle-core/{p-308517b3.js → p-48f72e63.js} +2 -2
- package/dist/sparkle-core/{p-a05871e6.js → p-4c6a7e52.js} +1 -1
- package/dist/sparkle-core/{p-d6637b48.entry.js → p-5096739e.entry.js} +1 -1
- package/dist/sparkle-core/p-5322c920.entry.js +1 -0
- package/dist/sparkle-core/{p-34d93a39.entry.js → p-54dd894f.entry.js} +1 -1
- package/dist/sparkle-core/{p-085eb951.entry.js → p-564e64fc.entry.js} +1 -1
- package/dist/sparkle-core/{p-d0d0e5e5.entry.js → p-5893bbe5.entry.js} +1 -1
- package/dist/sparkle-core/{p-351b82a8.entry.js → p-58e4bbe5.entry.js} +1 -1
- package/dist/sparkle-core/p-590266d6.entry.js +1 -0
- package/dist/sparkle-core/{p-b8ba8164.entry.js → p-594a6982.entry.js} +1 -1
- package/dist/sparkle-core/{p-34ebfc8a.entry.js → p-5c435d5a.entry.js} +1 -1
- package/dist/sparkle-core/{p-a19b42f0.js → p-5cad23f1.js} +1 -1
- package/dist/sparkle-core/p-5efc6566.js +1 -0
- package/dist/sparkle-core/{p-7b3d1457.js → p-600cf6a3.js} +1 -1
- package/dist/sparkle-core/{p-16b7974e.entry.js → p-601397df.entry.js} +1 -1
- package/dist/sparkle-core/{p-dff8325e.js → p-604a7987.js} +1 -1
- package/dist/sparkle-core/{p-58f74119.entry.js → p-616941c6.entry.js} +1 -1
- package/dist/sparkle-core/{p-fe214d79.entry.js → p-6316d124.entry.js} +1 -1
- package/dist/sparkle-core/p-63f71ada.entry.js +1 -0
- package/dist/sparkle-core/p-641bfc92.entry.js +1 -0
- package/dist/sparkle-core/{p-ea4a9f0d.entry.js → p-69487d90.entry.js} +1 -1
- package/dist/sparkle-core/{p-9a383065.entry.js → p-6faa194c.entry.js} +2 -2
- package/dist/sparkle-core/{p-df5efe0d.entry.js → p-6ffd2420.entry.js} +1 -1
- package/dist/sparkle-core/{p-c48352cf.js → p-73721c84.js} +1 -1
- package/dist/sparkle-core/p-74864276.entry.js +1 -0
- package/dist/sparkle-core/p-80d6b0e6.entry.js +1 -0
- package/dist/sparkle-core/p-81714d94.entry.js +1 -0
- package/dist/sparkle-core/p-8492a765.entry.js +1 -0
- package/dist/sparkle-core/p-859563db.entry.js +1 -0
- package/dist/sparkle-core/p-865f36a8.entry.js +1 -0
- package/dist/sparkle-core/{p-280e938d.js → p-86ed13f0.js} +1 -1
- package/dist/sparkle-core/{p-01743e3e.js → p-871106e0.js} +1 -1
- package/dist/sparkle-core/p-894ff7e6.entry.js +1 -0
- package/dist/sparkle-core/p-8a41b502.entry.js +1 -0
- package/dist/sparkle-core/p-8c74cbb6.entry.js +1 -0
- package/dist/sparkle-core/{p-5979f253.entry.js → p-9289cdbc.entry.js} +1 -1
- package/dist/sparkle-core/{p-4bd4dab2.js → p-935e7cfc.js} +1 -1
- package/dist/sparkle-core/{p-6ae9c743.entry.js → p-975b99ee.entry.js} +1 -1
- package/dist/sparkle-core/p-99ee9919.js +1 -0
- package/dist/sparkle-core/{p-0127a61a.entry.js → p-9abbd715.entry.js} +1 -1
- package/dist/sparkle-core/{p-4338e1e3.js → p-9d894ed4.js} +1 -1
- package/dist/sparkle-core/{p-3fd92216.entry.js → p-9e309b3e.entry.js} +1 -1
- package/dist/sparkle-core/p-9e7fee8f.entry.js +1 -0
- package/dist/sparkle-core/{p-d6a3a639.entry.js → p-9ebf0537.entry.js} +1 -1
- package/dist/sparkle-core/p-a102341e.entry.js +1 -0
- package/dist/sparkle-core/{p-06af1bc8.entry.js → p-a2638250.entry.js} +1 -1
- package/dist/sparkle-core/{p-e1743d82.entry.js → p-a2ebcf0a.entry.js} +1 -1
- package/dist/sparkle-core/{p-ba775d8e.entry.js → p-a98d7ebe.entry.js} +1 -1
- package/dist/sparkle-core/p-af3cc111.entry.js +1 -0
- package/dist/sparkle-core/{p-1c2aee9c.js → p-b0603d19.js} +1 -1
- package/dist/sparkle-core/p-b3f375fb.entry.js +1 -0
- package/dist/sparkle-core/p-b5f3e1bf.entry.js +1 -0
- package/dist/sparkle-core/{p-3d2c0e24.entry.js → p-b96f3c84.entry.js} +2 -2
- package/dist/sparkle-core/{p-ed3dfd89.js → p-bd80ff43.js} +2 -2
- package/dist/sparkle-core/p-be64105c.entry.js +1 -0
- package/dist/sparkle-core/{p-defeaa5c.entry.js → p-c0533c23.entry.js} +1 -1
- package/dist/sparkle-core/p-c2990b24.entry.js +1 -0
- package/dist/sparkle-core/p-c3cadfc6.entry.js +1 -0
- package/dist/sparkle-core/{p-5a3de051.entry.js → p-c60b29bd.entry.js} +2 -2
- package/dist/sparkle-core/p-cabfbf22.entry.js +1 -0
- package/dist/sparkle-core/p-cc518c36.entry.js +1 -0
- package/dist/sparkle-core/{p-0c603495.entry.js → p-ce4b22f7.entry.js} +1 -1
- package/dist/sparkle-core/p-cffd4817.entry.js +1 -0
- package/dist/sparkle-core/{p-9cd95e7e.entry.js → p-d0adf726.entry.js} +1 -1
- package/dist/sparkle-core/p-d20e4fcf.entry.js +1 -0
- package/dist/sparkle-core/p-d24e53ab.entry.js +1 -0
- package/dist/sparkle-core/p-d288e6c1.entry.js +1 -0
- package/dist/sparkle-core/{p-785f1879.entry.js → p-d601810e.entry.js} +1 -1
- package/dist/sparkle-core/{p-27075abe.js → p-d68092b7.js} +1 -1
- package/dist/sparkle-core/p-de4deb61.entry.js +1 -0
- package/dist/sparkle-core/{p-d5b8302f.entry.js → p-e249aebf.entry.js} +1 -1
- package/dist/sparkle-core/p-e3e36ce9.entry.js +1 -0
- package/dist/sparkle-core/{p-fdb9a613.entry.js → p-e421d638.entry.js} +1 -1
- package/dist/sparkle-core/{p-c8ad5a5b.entry.js → p-e686d8b5.entry.js} +2 -2
- package/dist/sparkle-core/{p-8d630960.js → p-e8073714.js} +1 -1
- package/dist/sparkle-core/p-e863bf1d.entry.js +1 -0
- package/dist/sparkle-core/{p-efe37368.entry.js → p-e8988989.entry.js} +1 -1
- package/dist/sparkle-core/{p-6a337ad1.entry.js → p-ea962e1b.entry.js} +1 -1
- package/dist/sparkle-core/p-eaf76d1d.entry.js +352 -0
- package/dist/sparkle-core/p-ebd4354b.entry.js +1 -0
- package/dist/sparkle-core/{p-6a5ace01.js → p-ee1e0eb4.js} +1 -1
- package/dist/sparkle-core/{p-1701723e.entry.js → p-ef4edc48.entry.js} +1 -1
- package/dist/sparkle-core/{p-a6c1a55a.entry.js → p-fb0ca75e.entry.js} +1 -1
- package/dist/sparkle-core/{p-0798d46a.entry.js → p-fb757951.entry.js} +1 -1
- package/dist/sparkle-core/{p-ea7d7a3b.js → p-fbccd30c.js} +1 -1
- package/dist/sparkle-core/p-fd8d0738.entry.js +4 -0
- package/dist/sparkle-core/{p-63d8a5b7.entry.js → p-fda95b6e.entry.js} +1 -1
- package/dist/sparkle-core/{p-3eb56165.entry.js → p-fe6dc976.entry.js} +1 -1
- package/dist/sparkle-core/{p-f63a13d8.entry.js → p-ff0e0d4e.entry.js} +1 -1
- package/dist/sparkle-core/sparkle-core.esm.js +1 -1
- package/dist/types/components/sparkle-quiz/sparkle-quiz/sparkle-quiz.d.ts +42 -0
- package/dist/types/components/sparkle-quiz/sparkle-quiz-v1.d.ts +41 -0
- package/dist/types/components/sparkle-quiz/sparkle-quiz.d.ts +36 -36
- package/dist/types/components.d.ts +37 -1
- package/package.json +1 -1
- package/dist/cjs/PrivateRoute-4abc9d29.js +0 -35
- package/dist/cjs/dom-utils-b8befdd5.js +0 -63
- package/dist/cjs/header-mobile-collapse_2.cjs.entry.js +0 -112
- package/dist/cjs/index-70e63f5b.js +0 -3071
- package/dist/cjs/injectHistory-7206bbb9.js +0 -9
- package/dist/cjs/ion-avatar_16.cjs.entry.js +0 -1907
- package/dist/cjs/ion-checkbox_4.cjs.entry.js +0 -360
- package/dist/cjs/ion-col_3.cjs.entry.js +0 -159
- package/dist/cjs/ion-range.cjs.entry.js +0 -515
- package/dist/cjs/ion-text.cjs.entry.js +0 -24
- package/dist/cjs/match-path-84c9f7ca.js +0 -511
- package/dist/cjs/sparkle-card_3.cjs.entry.js +0 -91
- package/dist/cjs/sparkle-course-root.cjs.entry.js +0 -146
- package/dist/cjs/sparkle-dropdown.cjs.entry.js +0 -61
- package/dist/cjs/sparkle-facilitator-header_19.cjs.entry.js +0 -2130
- package/dist/cjs/sparkle-goal-progress.cjs.entry.js +0 -19
- package/dist/cjs/sparkle-gww-item.cjs.entry.js +0 -74
- package/dist/cjs/sparkle-menu-toggle_3.cjs.entry.js +0 -236
- package/dist/cjs/sparkle-validation-error.cjs.entry.js +0 -21
- package/dist/cjs/stencil-route-link.cjs.entry.js +0 -77
- package/dist/cjs/stencil-router-redirect.cjs.entry.js +0 -32
- package/dist/cjs/student.service-d48f1c99.js +0 -61
- package/dist/cjs/user.store-8a049c4e.js +0 -21
- package/dist/esm/PrivateRoute-530ef873.js +0 -33
- package/dist/esm/dom-utils-8e73e88b.js +0 -55
- package/dist/esm/header-mobile-collapse_2.entry.js +0 -107
- package/dist/esm/index-ab1c6a9f.js +0 -3067
- package/dist/esm/injectHistory-4bfff188.js +0 -7
- package/dist/esm/ion-avatar_16.entry.js +0 -1888
- package/dist/esm/ion-checkbox_4.entry.js +0 -353
- package/dist/esm/ion-col_3.entry.js +0 -153
- package/dist/esm/ion-range.entry.js +0 -511
- package/dist/esm/ion-text.entry.js +0 -20
- package/dist/esm/match-path-36fdf5c7.js +0 -499
- package/dist/esm/sparkle-card_3.entry.js +0 -85
- package/dist/esm/sparkle-course-root.entry.js +0 -142
- package/dist/esm/sparkle-dropdown.entry.js +0 -57
- package/dist/esm/sparkle-facilitator-header_19.entry.js +0 -2108
- package/dist/esm/sparkle-goal-progress.entry.js +0 -15
- package/dist/esm/sparkle-gww-item.entry.js +0 -70
- package/dist/esm/sparkle-menu-toggle_3.entry.js +0 -230
- package/dist/esm/sparkle-validation-error.entry.js +0 -17
- package/dist/esm/stencil-route-link.entry.js +0 -73
- package/dist/esm/stencil-router-redirect.entry.js +0 -28
- package/dist/esm/user.store-8477642a.js +0 -19
- package/dist/sparkle-core/p-0d7cceaa.entry.js +0 -1
- package/dist/sparkle-core/p-0d813026.entry.js +0 -1
- package/dist/sparkle-core/p-11ed6b7f.entry.js +0 -1
- package/dist/sparkle-core/p-122427b7.entry.js +0 -1
- package/dist/sparkle-core/p-12c4f45c.entry.js +0 -1
- package/dist/sparkle-core/p-14340143.entry.js +0 -4
- package/dist/sparkle-core/p-14a06a91.entry.js +0 -1
- package/dist/sparkle-core/p-16c81890.entry.js +0 -1
- package/dist/sparkle-core/p-1728ead7.js +0 -1
- package/dist/sparkle-core/p-17aef6f9.js +0 -1
- package/dist/sparkle-core/p-180857a2.entry.js +0 -1
- package/dist/sparkle-core/p-1acc7870.entry.js +0 -1
- package/dist/sparkle-core/p-1cd4c3cc.entry.js +0 -1
- package/dist/sparkle-core/p-21d9833d.js +0 -1
- package/dist/sparkle-core/p-25c13612.entry.js +0 -1
- package/dist/sparkle-core/p-2699868a.entry.js +0 -1
- package/dist/sparkle-core/p-2bd4c60e.js +0 -1
- package/dist/sparkle-core/p-2c89a6c2.entry.js +0 -1
- package/dist/sparkle-core/p-3227afcb.entry.js +0 -1
- package/dist/sparkle-core/p-363a2d6d.js +0 -4
- package/dist/sparkle-core/p-36c48760.entry.js +0 -1
- package/dist/sparkle-core/p-384911d7.entry.js +0 -1
- package/dist/sparkle-core/p-3b618eda.entry.js +0 -1
- package/dist/sparkle-core/p-442eadcf.entry.js +0 -1
- package/dist/sparkle-core/p-4d0dfbc9.js +0 -1
- package/dist/sparkle-core/p-4e0502b8.entry.js +0 -4
- package/dist/sparkle-core/p-524a6174.entry.js +0 -1
- package/dist/sparkle-core/p-53aac9d7.entry.js +0 -1
- package/dist/sparkle-core/p-56700a40.entry.js +0 -1
- package/dist/sparkle-core/p-5722be24.entry.js +0 -1
- package/dist/sparkle-core/p-58389020.entry.js +0 -348
- package/dist/sparkle-core/p-5a850731.entry.js +0 -1
- package/dist/sparkle-core/p-5dcf33fb.entry.js +0 -1
- package/dist/sparkle-core/p-5e8fa1ac.entry.js +0 -1
- package/dist/sparkle-core/p-5ef50959.js +0 -1
- package/dist/sparkle-core/p-615b8f64.entry.js +0 -1
- package/dist/sparkle-core/p-76206f80.entry.js +0 -1
- package/dist/sparkle-core/p-76a6e202.entry.js +0 -1
- package/dist/sparkle-core/p-788735b9.entry.js +0 -1
- package/dist/sparkle-core/p-8e42e634.entry.js +0 -1
- package/dist/sparkle-core/p-8e56f9ee.entry.js +0 -1
- package/dist/sparkle-core/p-8ed0cefb.entry.js +0 -1
- package/dist/sparkle-core/p-9484e34b.entry.js +0 -1
- package/dist/sparkle-core/p-969e98e5.entry.js +0 -1
- package/dist/sparkle-core/p-98f3925b.js +0 -4
- package/dist/sparkle-core/p-99231c00.js +0 -4
- package/dist/sparkle-core/p-9dc42d70.entry.js +0 -1
- package/dist/sparkle-core/p-9eea81f2.js +0 -1
- package/dist/sparkle-core/p-a111c567.entry.js +0 -1
- package/dist/sparkle-core/p-a2f7c751.entry.js +0 -1
- package/dist/sparkle-core/p-a458b415.entry.js +0 -1
- package/dist/sparkle-core/p-ab3a8f5e.entry.js +0 -1
- package/dist/sparkle-core/p-ac0e4d8c.entry.js +0 -1
- package/dist/sparkle-core/p-b2827978.entry.js +0 -1
- package/dist/sparkle-core/p-bb3e3482.entry.js +0 -1
- package/dist/sparkle-core/p-bb575dba.entry.js +0 -1
- package/dist/sparkle-core/p-ca0edc9b.entry.js +0 -1
- package/dist/sparkle-core/p-cb04b18a.entry.js +0 -1
- package/dist/sparkle-core/p-d38a2511.entry.js +0 -1
- package/dist/sparkle-core/p-d5ba8e80.entry.js +0 -1
- package/dist/sparkle-core/p-d6788642.entry.js +0 -1
- package/dist/sparkle-core/p-d86f8633.entry.js +0 -1
- package/dist/sparkle-core/p-df5cfa7f.entry.js +0 -1
- package/dist/sparkle-core/p-e09de7ac.js +0 -1
- package/dist/sparkle-core/p-e28a106d.entry.js +0 -1
- package/dist/sparkle-core/p-e566c0b3.entry.js +0 -1
- package/dist/sparkle-core/p-f187d129.entry.js +0 -1
- package/dist/sparkle-core/p-f5e7bfa5.js +0 -1
- package/dist/sparkle-core/p-fe3a7bca.js +0 -1
- package/dist/sparkle-core/p-ff26d891.entry.js +0 -1
@@ -1 +1 @@
|
|
1
|
-
import{r as n,h as a,H as t}from"./p-
|
1
|
+
import{r as n,h as a,H as t}from"./p-ee1e0eb4.js";import{g as i}from"./p-871106e0.js";import{c as o}from"./p-0e4de1d0.js";const d=class{constructor(a){n(this,a)}render(){const n=i(this);return a(t,{class:o(this.color,{[n]:!0})},a("slot",null))}};d.style={ios:":host{--background:var(--ion-color-primary, #3880ff);--color:var(--ion-color-primary-contrast, #fff);--padding-top:3px;--padding-end:8px;--padding-bottom:3px;--padding-start:8px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:inline-block;min-width:10px;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);font-size:13px;font-weight:bold;line-height:1;text-align:center;white-space:nowrap;contain:content;vertical-align:baseline}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(:empty){display:none}:host{border-radius:10px}",md:":host{--background:var(--ion-color-primary, #3880ff);--color:var(--ion-color-primary-contrast, #fff);--padding-top:3px;--padding-end:8px;--padding-bottom:3px;--padding-start:8px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:inline-block;min-width:10px;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);font-size:13px;font-weight:bold;line-height:1;text-align:center;white-space:nowrap;contain:content;vertical-align:baseline}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(:empty){display:none}:host{--padding-top:3px;--padding-end:4px;--padding-bottom:4px;--padding-start:4px;border-radius:4px}"};export{d as ion_badge}
|
@@ -0,0 +1 @@
|
|
1
|
+
import{r as t,h as i,c as s,e}from"./p-ee1e0eb4.js";import{g as a}from"./p-5d409601.js";import{S as o}from"./p-935e7cfc.js";class n{constructor(){this.pItems={}}fromSrt(t,i){var s=!!i;(t=(t=t.replace(/\r/g,"")).split(/(\d+)\n(\d{2}:\d{2}:\d{2},\d{3}) --> (\d{2}:\d{2}:\d{2},\d{3})/g)).shift();for(var e={},a=0;a<t.length;a+=4)e[s?this.timeS(t[a+1].trim()):t[a+1].trim()]=t[a+3].trim();return e}toSrt(t){if(!(t instanceof Array))return"";for(var i="",s=0;s<t.length;s++){var e=t[s];isNaN(e.startTime)||isNaN(e.endTime)||(e.startTime=this.msTime(parseInt(e.startTime,10)),e.endTime=this.msTime(parseInt(e.endTime,10))),i+=e.id+"\r\n",i+=e.startTime+" --\x3e "+e.endTime+"\r\n",i+=e.text.replace("\n","\r\n")+"\r\n\r\n"}return i}timeS(t){var i=/(\d+):(\d{2}):(\d{2}),(\d{3})/.exec(t);if(null===i)return 0;for(var s=1;s<5;s++)i[s]=parseInt(i[s],10).toString(),isNaN(parseInt(i[s],10))&&(i[s]="0");return 3600*parseInt(i[1],10)+60*parseInt(i[2],10)+parseInt(i[3],10)+Math.floor(parseInt(i[4],10)/1e3)}msTime(t){var i=[36e5,6e4,1e3],s=[];for(var e in i){var a=(t/i[e]>>0).toString();a.length<2&&(a="0"+a),t%=i[e],s.push(a)}var o=t.toString();if(o.length<3)for(let t=0;t<=3-o.length;t++)o="0"+o;return s.join(":")+","+o}}const r=class{constructor(i){t(this,i),this.showCaption=!1,this.paused=!0,this.dataLoaded=!1,this.currentProgressWidth=0,this.captionText="",this.firstFramePath="",this.isBusy=!1,this.animationVideoProgress="0",this.captionData={}}closedCaptionChange(t){this.showCaption=!this.showCaption}onClassRoomModeChanged(t){this.classMode=t.detail}componentWillLoad(){this.classMode=a(o.LOCALSTORAGE_CLASSROOM_MODE);const t=document.createElement("script");this.firstFramePath=this.src.replace(".js",".png"),t.src=this.src,document.body.appendChild(t),this.readTextFile(this.src.replace(".js",".srt")),this.rergisterSoundControls()}readTextFile(t){let i=this;var s=new XMLHttpRequest;s.open("GET",t,!1),s.onreadystatechange=function(){if(4===s.readyState&&(200===s.status||0==s.status)){var t=s.responseText,e=new n;i.captionData=e.fromSrt(t,!0)}},s.send(null)}isScriptLoaded(t){for(var i=document.getElementsByTagName("script"),s=i.length;s--;)if(i[s].getAttribute("src")==t)return!0;return!1}rergisterSoundControls(){window.playSound=t=>(this.sound&&this.sound.stop(),this.sound=createjs.Sound.play(t,{interrupt:createjs.Sound.INTERRUPT_EARLY,loop:0,volume:1}),this.sound),window.resetToStart=()=>{console.log("reset"),this.rewindAnimationToStart()}}startLoading(){this.isBusy=!0,this.paused=!1}doneLoading(){this.isBusy=!1,this.dataLoaded=!0,this.paused=!1}handleFileLoad(t){var i=this.comp.getImages();t&&"image"==t.item.type&&(i[t.item.id]=t.result)}handleQueueProgress(t){return t=>{this.animationVideoProgress=t.loaded?(100*t.loaded).toFixed(0):"0",1==t.loaded&&this.doneLoading()}}handleComplete(t){for(var i=this.comp.getSpriteSheet(),s=t.target,e=this.library.ssMetadata,a=0;a<e.length;a++)i[e[a].name]=new createjs.SpriteSheet({images:[s.getResult(e[a].name)],frames:e[a].frames});var o=this.src.substring(this.src.lastIndexOf("/")+1,this.src.lastIndexOf("."));this.exportRoot=new this.library[o],this.stage=new this.library.Stage(this.canvas),this.makeResponsive(!0,"both",!1,1),AdobeAn.compositionLoaded(this.library.properties.id),this.stage.addChild(this.exportRoot),createjs.Ticker.framerate=this.library.properties.fps,createjs.Ticker.paused=!1,createjs.Ticker.addEventListener("tick",this.stage),createjs.Ticker.addEventListener("tick",(t=>{this.tickHandler(t)})),console.log(createjs.Ticker)}loadAnimation(){this.startLoading(),createjs.Sound.initializeDefaultPlugins()&&(this.canvas=this.el.querySelector(".video-canvas"),this.anim_container=this.el.querySelector(".canvas-container"),this.comp=AdobeAn.getComposition(this.composition),this.canvas.style.width="100%",console.log(this.canvas.offsetWidth),this.canvas.style.height=this.canvas.offsetWidth+"px",this.anim_container.style.height=this.canvas.offsetWidth+"px",this.library=this.comp.getLibrary(),this.loader=new createjs.LoadQueue(!1),this.loader.setMaxConnections(3),this.loader.maintainScriptOrder=!0,this.loader.installPlugin(createjs.Sound),this.loader.addEventListener("complete",(t=>{this.handleComplete(t)})),this.loader.addEventListener("fileload",(t=>{this.handleFileLoad(t)})),this.loader.addEventListener("progress",this.handleQueueProgress(this)),this.loader.loadManifest(this.library.properties.manifest,!0,this.src.substring(0,this.src.lastIndexOf("/")+1)))}playButtonAction(){this.dataLoaded?this.playPauseAnimation():this.loadAnimation()}playPauseAnimation(){createjs.Ticker.paused?this.playAnimation():this.pauseAnimation()}async playAnimation(){if(null!=this.loader&&this.loader.close(),createjs&&createjs.Ticker){let t=!1,i=this.sound;i&&(i.paused=t),createjs.Ticker.paused=t,createjs.Ticker.addEventListener("tick",this.stage),this.paused=t}}async pauseAnimation(){if(null!=this.loader&&this.loader.close(),createjs&&createjs.Ticker){let t=!0,i=this.sound;i&&(i.paused=t),createjs.Ticker.paused=t,createjs.Ticker.removeEventListener("tick",this.stage),this.paused=t}}disconnectedCallback(){this.pauseAnimation(),createjs.Sound.removeAllSounds()}async classRoomModeChanged(t){this.classMode=t}async destroyAnimation(){this.pauseAnimation()}makeResponsive(t,i,s,e){window.addEventListener("resize",(()=>this.resizeCanvas(t,i,s,e))),this.resizeCanvas(t,i,s,e)}resizeCanvas(t,i,s,e){var a,o,n=1,r=this.library.properties.width,h=this.library.properties.height,l=window.innerWidth,c=window.innerHeight,d=window.devicePixelRatio||1,p=l/r,u=c/h,m=1;t&&("width"==i&&a==l||"height"==i&&o==c?m=n:s?1==e?m=Math.min(p,u):2==e&&(m=Math.max(p,u)):(l<r||c<h)&&(m=Math.min(p,u)));var g=this.el.querySelector(".canvas-container");this.canvas.width=r*d*m,this.canvas.height=h*d*m,this.canvas.style.width="100%",this.canvas.style.height=this.canvas.offsetWidth+"px",g.style.height=this.canvas.offsetWidth+"px",this.stage.scaleX=d*m,this.stage.scaleY=d*m,a=l,o=c,n=m,this.sizeOfCanvas=this.canvas.offsetWidth;var v=this.el.querySelector(".progressBar");this.sizeofProgressBar=v.offsetWidth,this.stage.tickOnUpdate=!1,this.stage.update(),this.stage.tickOnUpdate=!0}tickHandler(t){t.paused||(this.timeline=this.stage.children[0].timeline,this.captionData[Math.floor(this.timeline.position/this.library.properties.fps)]&&(this.captionText=this.captionData[Math.floor(this.timeline.position/this.library.properties.fps)]),this.timeline.position%10==0&&(this.currentProgressWidth=parseFloat((this.timeline.position/this.timeline.duration*this.sizeofProgressBar).toFixed(0))))}rewindAnimationTo(t){let i=this.sound;i&&(i.paused=!0);let s=this.stage.children[0],e=s.timeline;t<0&&(t=0),t>e.duration&&(t=e.duration-10),this.paused?(s.gotoAndStop(t),this.stage.update(),i&&!i.getPaused()&&(createjs.Ticker.paused=!0)):(s.gotoAndPlay(t),createjs.Ticker.paused=!1)}rewindAnimationToStart(){this.paused=!0,this.rewindAnimationTo(0)}rewindAnimation(t){t.stopPropagation();let i=Math.round(t.offsetX/this.sizeofProgressBar*this.stage.children[0].timeline.duration);this.rewindAnimationTo(i)}rewind5Sec(){this.rewindAnimationTo(this.stage.children[0].timeline.position-5*this.library.properties.fps)}fastForward5Sec(){this.rewindAnimationTo(this.stage.children[0].timeline.position+5*this.library.properties.fps)}muteVolume(){let t=this.sound;t&&(t.volume=0)}downVolume(){let t=this.sound;t&&t._getVolume()>.9&&(t.volume=t._getVolume()-.1)}upVolume(){let t=this.sound;t&&t._getVolume()<1&&(t.volume=t._getVolume()+.1)}render(){return i("div",{class:"cavase-main-container"},i("div",{class:"canvas-container",id:"canvas-container"},this.classMode?"":i("div",null,i("canvas",{class:"video-canvas",onClick:()=>this.playButtonAction()}),this.showCaption?i("div",{class:"caption"},this.captionText):""),this.dataLoaded?"":i("img",{class:"frame-img",src:this.firstFramePath}),this.classMode?i("img",{class:"overlay-img",src:s("./assets/play-button-disabled-overlay.png")}):"",!this.classMode&&this.paused?i("img",{class:"overlay-img",onClick:()=>this.playButtonAction(),src:s("./assets/play-button-overlay.png")}):"",this.isBusy?i("div",{class:"loading-container"},i("div",{class:"uil-ring-css"},i("div",null),i("a",null,"Loading ",this.animationVideoProgress,"%"))):""),this.dataLoaded?i("div",{class:"navControls"},i("div",{class:"progressBar",onClick:t=>this.rewindAnimation(t)},i("div",{class:"currentProgress",style:{width:this.currentProgressWidth+"px"}})),i("div",{class:"button-panel"},i("ion-button",{size:"small",color:"transperant",onClick:()=>this.rewind5Sec()}," ",i("ion-icon",{name:"play-back-outline"})," "),i("ion-button",{size:"small",color:"transperant",onClick:()=>this.playButtonAction()}," ",i("ion-icon",this.paused?{name:"pause-outline"}:{name:"play-outline"})),i("ion-button",{size:"small",color:"transperant",onClick:()=>this.fastForward5Sec()}," ",i("ion-icon",{name:"play-forward-outline"})))):"",this.dataLoaded&&this.captionText?i("div",{class:"closed-caption"},i("ion-item",{lines:"none"},i("ion-label",null,"Closed Caption"),i("ion-toggle",{slot:"end",color:"primary",checked:this.showCaption}))):"")}static get assetsDirs(){return["assets"]}get el(){return e(this)}};r.style='.video-canvas{position:absolute;display:block;background-color:#f5f5f5;width:auto}.closed-caption{justify-content:flex-end;width:100%;display:flex}sparkle-animation-player{width:100%;margin:0 auto}.caption{position:absolute;bottom:0px;color:white;text-align:center;width:100%;text-shadow:1px 1px 2px #e50539}.canvas-container{width:680px;height:680px;background-color:#f5f5f5;border-radius:10px;position:relative}.frame-img{position:absolute;display:block;max-width:100%;width:100%;height:auto}.overlay-img{position:absolute;z-index:9999;top:0px;display:block;max-width:100%;width:100%;height:auto}.button-panel{display:flex;justify-content:center}ion-icon{color:var(--ion-color-primary)}.navControls{width:680px;background:transparent;border-radius:10px;position:relative;padding-top:15px;display:flex;flex-direction:column;align-items:center}.navControls .progressBar{flex:100%;border-radius:20px;position:relative;left:0;right:0;height:4px;background-color:rgba(205, 205, 205, 0.7);width:100%}.navControls .progressBar .currentProgress{border-radius:20px;position:absolute;height:25px;background-color:var(--ion-color-primary);transition:width 0.5s;width:100%}.navControls .progressBar .currentProgress:before{position:absolute;top:50%;right:4px;content:" ";display:block;width:12px;height:12px;margin-top:-10px;background:#e5053a;border-radius:10px;border:4px solid #d9d4d4;z-index:10}#dom_overlay_container{pointer-events:none;overflow:hidden;position:absolute;left:0px;top:0px;display:block}.cavase-main-container{width:100%;display:flex;flex-wrap:wrap;justify-content:center;padding:15px;background-position:center;background-size:cover;background-repeat:no-repeat}.loading-container{height:100%;display:flex;justify-content:center;align-items:center}.uil-ring-css{position:absolute}ion-button{--ion-color-base:transparent;--ion-color-contrast:var(--ion-color-primary);--box-shadow:none !important}@media screen and (min-width: 760px){.navControls{flex-direction:row}.navControls .progressBar{height:24px;flex:75%;width:75%}.button-panel{flex:25%;width:25%}}';export{r as sparkle_animation_player}
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import{MENU_BACK_BUTTON_PRIORITY as t}from"./p-add30d46.js";import{c as n}from"./p-
|
1
|
+
import{MENU_BACK_BUTTON_PRIORITY as t}from"./p-add30d46.js";import{c as n}from"./p-d68092b7.js";import{g as r}from"./p-871106e0.js";import{c as a}from"./p-48f72e63.js";
|
2
2
|
/*!
|
3
3
|
* (C) Ionic http://ionicframework.com - MIT License
|
4
|
-
*/const e=t=>a().duration(t?400:300),s=t=>{let n,s;const o=t.width+8,i=a(),c=a();t.isEndSide?(n=o+"px",s="0px"):(n=-o+"px",s="0px"),i.addElement(t.menuInnerEl).fromTo("transform",`translateX(${n})`,`translateX(${s})`);const p="ios"===r(t),u=p?.2:.25;return c.addElement(t.backdropEl).fromTo("opacity",.01,u),e(p).addAnimation([i,c])},o=t=>{let n,s;const o=r(t),i=t.width;t.isEndSide?(n=-i+"px",s=i+"px"):(n=i+"px",s=-i+"px");const c=a().addElement(t.menuInnerEl).fromTo("transform",`translateX(${s})`,"translateX(0px)"),p=a().addElement(t.contentEl).fromTo("transform","translateX(0px)",`translateX(${n})`),u=a().addElement(t.backdropEl).fromTo("opacity",.01,.32);return e("ios"===o).addAnimation([c,p,u])},i=t=>{const n=r(t),s=t.width*(t.isEndSide?-1:1)+"px",o=a().addElement(t.contentEl).fromTo("transform","translateX(0px)",`translateX(${s})`);return e("ios"===n).addAnimation(o)},c=(()=>{const r=new Map,a=[],e=async t=>{if(await
|
4
|
+
*/const e=t=>a().duration(t?400:300),s=t=>{let n,s;const o=t.width+8,i=a(),c=a();t.isEndSide?(n=o+"px",s="0px"):(n=-o+"px",s="0px"),i.addElement(t.menuInnerEl).fromTo("transform",`translateX(${n})`,`translateX(${s})`);const p="ios"===r(t),u=p?.2:.25;return c.addElement(t.backdropEl).fromTo("opacity",.01,u),e(p).addAnimation([i,c])},o=t=>{let n,s;const o=r(t),i=t.width;t.isEndSide?(n=-i+"px",s=i+"px"):(n=i+"px",s=-i+"px");const c=a().addElement(t.menuInnerEl).fromTo("transform",`translateX(${s})`,"translateX(0px)"),p=a().addElement(t.contentEl).fromTo("transform","translateX(0px)",`translateX(${n})`),u=a().addElement(t.backdropEl).fromTo("opacity",.01,.32);return e("ios"===o).addAnimation([c,p,u])},i=t=>{const n=r(t),s=t.width*(t.isEndSide?-1:1)+"px",o=a().addElement(t.contentEl).fromTo("transform","translateX(0px)",`translateX(${s})`);return e("ios"===n).addAnimation(o)},c=(()=>{const r=new Map,a=[],e=async t=>{if(await d(),"start"===t||"end"===t){return w((n=>n.side===t&&!n.disabled))||w((n=>n.side===t))}if(null!=t)return w((n=>n.menuId===t));return w((t=>!t.disabled))||(a.length>0?a[0].el:void 0)},c=async()=>(await d(),m()),p=(t,n)=>{r.set(t,n)},u=t=>{const n=t.side;a.filter((r=>r.side===n&&r!==t)).forEach((t=>t.disabled=!0))},m=()=>w((t=>t._isOpen)),l=()=>a.some((t=>t.isAnimating)),w=t=>{const n=a.find(t);if(void 0!==n)return n.el},d=()=>Promise.all(Array.from(document.querySelectorAll("ion-menu")).map((t=>new Promise((r=>n(t,r))))));return p("reveal",i),p("push",o),p("overlay",s),"undefined"!=typeof document&&document.addEventListener("ionBackButton",(n=>{const r=m();r&&n.detail.register(t,(()=>r.close()))})),{registerAnimation:p,get:e,getMenus:async()=>(await d(),a.map((t=>t.el))),getOpen:c,isEnabled:async t=>{const n=await e(t);return!!n&&!n.disabled},swipeGesture:async(t,n)=>{const r=await e(n);return r&&(r.swipeGesture=t),r},isAnimating:async()=>(await d(),l()),isOpen:async t=>{if(null!=t){const n=await e(t);return void 0!==n&&n.isOpen()}return void 0!==await c()},enable:async(t,n)=>{const r=await e(n);return r&&(r.disabled=!t),r},toggle:async t=>{const n=await e(t);return!!n&&n.toggle()},close:async t=>{const n=await(void 0!==t?e(t):c());return void 0!==n&&n.close()},open:async t=>{const n=await e(t);return!!n&&n.open()},_getOpenSync:m,_createAnimation:(t,n)=>{const a=r.get(t);if(!a)throw new Error("animation not registered");return a(n)},_register:t=>{a.indexOf(t)<0&&(t.disabled||u(t),a.push(t))},_unregister:t=>{const n=a.indexOf(t);n>-1&&a.splice(n,1)},_setOpen:async(t,n,r)=>{if(l())return!1;if(n){const n=await c();n&&t.el!==n&&await n.setOpen(!1,!1)}return t._setOpen(n,r)},_setActiveMenu:u}})();
|
5
5
|
/*!
|
6
6
|
* (C) Ionic http://ionicframework.com - MIT License
|
7
7
|
*/export{c as m}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as t,h as r,H as i}from"./p-
|
1
|
+
import{r as t,h as r,H as i}from"./p-ee1e0eb4.js";import{g as o}from"./p-871106e0.js";import{o as e,c as n}from"./p-0e4de1d0.js";const s=class{constructor(r){t(this,r),this.routerDirection="forward",this.onClick=t=>{e(this.href,t,this.routerDirection,this.routerAnimation)}}render(){const t=o(this),e={href:this.href,rel:this.rel,target:this.target};return r(i,{onClick:this.onClick,class:n(this.color,{[t]:!0,"ion-activatable":!0})},r("a",Object.assign({},e),r("slot",null)))}};s.style=":host{--background:transparent;--color:var(--ion-color-primary, #3880ff);background:var(--background);color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}a{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit}";export{s as ion_router_link}
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import{c as t}from"./p-48f72e63.js";import{g as o}from"./p-00d10dc9.js";import"./p-d68092b7.js";import"./p-ee1e0eb4.js";
|
2
|
+
/*!
|
3
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
4
|
+
*/const r=(r,e)=>{const i="back"===e.direction,a=e.leavingEl,s=o(e.enteringEl),p=s.querySelector("ion-toolbar"),n=t();if(n.addElement(s).fill("both").beforeRemoveClass("ion-page-invisible"),i?n.duration(e.duration||200).easing("cubic-bezier(0.47,0,0.745,0.715)"):n.duration(e.duration||280).easing("cubic-bezier(0.36,0.66,0.04,1)").fromTo("transform","translateY(40px)","translateY(0px)").fromTo("opacity",.01,1),p){const o=t();o.addElement(p),n.addAnimation(o)}if(a&&i){n.duration(e.duration||200).easing("cubic-bezier(0.47,0,0.745,0.715)");const r=t();r.addElement(o(a)).onFinish((t=>{1===t&&r.elements.length>0&&r.elements[0].style.setProperty("display","none")})).fromTo("transform","translateY(0px)","translateY(40px)").fromTo("opacity",1,0),n.addAnimation(r)}return n};export{r as mdTransitionAnimation}
|
@@ -0,0 +1 @@
|
|
1
|
+
import{r as i,i as t,h as o,e,H as n}from"./p-ee1e0eb4.js";import{g as s}from"./p-871106e0.js";import{n as r}from"./p-d68092b7.js";const d=class{constructor(o){i(this,o),this.ionSwipe=t(this,"ionSwipe",7),this.side="end"}async fireSwipeEvent(){this.ionSwipe.emit({side:this.side})}render(){const i=s(this),t=r(this.side);return o(n,{class:{[i]:!0,[`item-options-${i}`]:!0,"item-options-start":!t,"item-options-end":t}})}get el(){return e(this)}};d.style={ios:"ion-item-options{top:0;right:0;justify-content:flex-end;display:none;position:absolute;height:100%;font-size:14px;user-select:none;z-index:1}[dir=rtl] ion-item-options,:host-context([dir=rtl]) ion-item-options{justify-content:flex-start}[dir=rtl] ion-item-options:not(.item-options-end),:host-context([dir=rtl]) ion-item-options:not(.item-options-end){right:auto;left:0;justify-content:flex-end}.item-options-start{right:auto;left:0;justify-content:flex-start}[dir=rtl] .item-options-start,:host-context([dir=rtl]) .item-options-start{justify-content:flex-end}.item-options-start ion-item-option:first-child{padding-right:var(--ion-safe-area-left)}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.item-options-start ion-item-option:first-child{padding-right:unset;-webkit-padding-end:var(--ion-safe-area-left);padding-inline-end:var(--ion-safe-area-left)}}.item-options-end ion-item-option:last-child{padding-right:var(--ion-safe-area-right)}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.item-options-end ion-item-option:last-child{padding-right:unset;-webkit-padding-end:var(--ion-safe-area-right);padding-inline-end:var(--ion-safe-area-right)}}[dir=rtl] .item-sliding-active-slide.item-sliding-active-options-start ion-item-options:not(.item-options-end),:host-context([dir=rtl]) .item-sliding-active-slide.item-sliding-active-options-start ion-item-options:not(.item-options-end){width:100%;visibility:visible}.item-sliding-active-slide ion-item-options{display:flex;visibility:hidden}.item-sliding-active-slide.item-sliding-active-options-start .item-options-start,.item-sliding-active-slide.item-sliding-active-options-end ion-item-options:not(.item-options-start){width:100%;visibility:visible}.item-options-ios{border-bottom-width:0;border-bottom-style:solid;border-bottom-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, #c8c7cc)))}.item-options-ios.item-options-end{border-bottom-width:0.55px}.list-ios-lines-none .item-options-ios{border-bottom-width:0}.list-ios-lines-full .item-options-ios,.list-ios-lines-inset .item-options-ios.item-options-end{border-bottom-width:0.55px}",md:"ion-item-options{top:0;right:0;justify-content:flex-end;display:none;position:absolute;height:100%;font-size:14px;user-select:none;z-index:1}[dir=rtl] ion-item-options,:host-context([dir=rtl]) ion-item-options{justify-content:flex-start}[dir=rtl] ion-item-options:not(.item-options-end),:host-context([dir=rtl]) ion-item-options:not(.item-options-end){right:auto;left:0;justify-content:flex-end}.item-options-start{right:auto;left:0;justify-content:flex-start}[dir=rtl] .item-options-start,:host-context([dir=rtl]) .item-options-start{justify-content:flex-end}.item-options-start ion-item-option:first-child{padding-right:var(--ion-safe-area-left)}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.item-options-start ion-item-option:first-child{padding-right:unset;-webkit-padding-end:var(--ion-safe-area-left);padding-inline-end:var(--ion-safe-area-left)}}.item-options-end ion-item-option:last-child{padding-right:var(--ion-safe-area-right)}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.item-options-end ion-item-option:last-child{padding-right:unset;-webkit-padding-end:var(--ion-safe-area-right);padding-inline-end:var(--ion-safe-area-right)}}[dir=rtl] .item-sliding-active-slide.item-sliding-active-options-start ion-item-options:not(.item-options-end),:host-context([dir=rtl]) .item-sliding-active-slide.item-sliding-active-options-start ion-item-options:not(.item-options-end){width:100%;visibility:visible}.item-sliding-active-slide ion-item-options{display:flex;visibility:hidden}.item-sliding-active-slide.item-sliding-active-options-start .item-options-start,.item-sliding-active-slide.item-sliding-active-options-end ion-item-options:not(.item-options-start){width:100%;visibility:visible}.item-options-md{border-bottom-width:0;border-bottom-style:solid;border-bottom-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))))}.list-md-lines-none .item-options-md{border-bottom-width:0}.list-md-lines-full .item-options-md,.list-md-lines-inset .item-options-md.item-options-end{border-bottom-width:1px}"};export{d as ion_item_options}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as i,h as t,H as r}from"./p-
|
1
|
+
import{r as i,h as t,H as r}from"./p-ee1e0eb4.js";import{g as n}from"./p-871106e0.js";import{c as o}from"./p-0e4de1d0.js";const a=class{constructor(t){i(this,t),this.outline=!1,this.disabled=!1}render(){const i=n(this);return t(r,{"aria-disabled":this.disabled?"true":null,class:o(this.color,{[i]:!0,"chip-outline":this.outline,"chip-disabled":this.disabled,"ion-activatable":!0})},t("slot",null),"md"===i&&t("ion-ripple-effect",null))}};a.style={ios:":host{--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.12);--color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.87);border-radius:16px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:4px;margin-right:4px;margin-top:4px;margin-bottom:4px;padding-left:12px;padding-right:12px;padding-top:7px;padding-bottom:7px;display:inline-flex;position:relative;align-items:center;height:32px;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);font-size:14px;line-height:1;cursor:pointer;overflow:hidden;vertical-align:middle;box-sizing:border-box}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host{margin-left:unset;margin-right:unset;-webkit-margin-start:4px;margin-inline-start:4px;-webkit-margin-end:4px;margin-inline-end:4px}}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px}}:host(.chip-disabled){cursor:default;opacity:0.4;pointer-events:none}:host(.ion-color){background:rgba(var(--ion-color-base-rgb), 0.08);color:var(--ion-color-shade)}:host(.ion-color:focus){background:rgba(var(--ion-color-base-rgb), 0.12)}:host(.ion-color.ion-activated){background:rgba(var(--ion-color-base-rgb), 0.16)}:host(.chip-outline){border-width:1px;border-style:solid}:host(.chip-outline){border-color:rgba(0, 0, 0, 0.32);background:transparent}:host(.chip-outline.ion-color){border-color:rgba(var(--ion-color-base-rgb), 0.32)}:host(.chip-outline:not(.ion-color):focus){background:rgba(0, 0, 0, 0.04)}:host(.chip-outline.ion-activated:not(.ion-color)){background:rgba(0, 0, 0, 0.08)}::slotted(ion-icon){font-size:20px}:host(:not(.ion-color)) ::slotted(ion-icon){color:rgba(0, 0, 0, 0.54)}::slotted(ion-icon:first-child){margin-left:-4px;margin-right:8px;margin-top:-4px;margin-bottom:-4px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){::slotted(ion-icon:first-child){margin-left:unset;margin-right:unset;-webkit-margin-start:-4px;margin-inline-start:-4px;-webkit-margin-end:8px;margin-inline-end:8px}}::slotted(ion-icon:last-child){margin-left:8px;margin-right:-4px;margin-top:-4px;margin-bottom:-4px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){::slotted(ion-icon:last-child){margin-left:unset;margin-right:unset;-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:-4px;margin-inline-end:-4px}}::slotted(ion-avatar){width:24px;height:24px}::slotted(ion-avatar:first-child){margin-left:-8px;margin-right:8px;margin-top:-4px;margin-bottom:-4px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){::slotted(ion-avatar:first-child){margin-left:unset;margin-right:unset;-webkit-margin-start:-8px;margin-inline-start:-8px;-webkit-margin-end:8px;margin-inline-end:8px}}::slotted(ion-avatar:last-child){margin-left:8px;margin-right:-8px;margin-top:-4px;margin-bottom:-4px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){::slotted(ion-avatar:last-child){margin-left:unset;margin-right:unset;-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:-8px;margin-inline-end:-8px}}:host(:focus){outline:none}:host(:focus){--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.16)}:host(.ion-activated){--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2)}@media (any-hover: hover){:host(:hover){--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.16)}:host(.ion-color:hover){background:rgba(var(--ion-color-base-rgb), 0.12)}:host(.chip-outline:not(.ion-color):hover){background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.04)}}",md:":host{--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.12);--color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.87);border-radius:16px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:4px;margin-right:4px;margin-top:4px;margin-bottom:4px;padding-left:12px;padding-right:12px;padding-top:7px;padding-bottom:7px;display:inline-flex;position:relative;align-items:center;height:32px;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);font-size:14px;line-height:1;cursor:pointer;overflow:hidden;vertical-align:middle;box-sizing:border-box}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host{margin-left:unset;margin-right:unset;-webkit-margin-start:4px;margin-inline-start:4px;-webkit-margin-end:4px;margin-inline-end:4px}}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px}}:host(.chip-disabled){cursor:default;opacity:0.4;pointer-events:none}:host(.ion-color){background:rgba(var(--ion-color-base-rgb), 0.08);color:var(--ion-color-shade)}:host(.ion-color:focus){background:rgba(var(--ion-color-base-rgb), 0.12)}:host(.ion-color.ion-activated){background:rgba(var(--ion-color-base-rgb), 0.16)}:host(.chip-outline){border-width:1px;border-style:solid}:host(.chip-outline){border-color:rgba(0, 0, 0, 0.32);background:transparent}:host(.chip-outline.ion-color){border-color:rgba(var(--ion-color-base-rgb), 0.32)}:host(.chip-outline:not(.ion-color):focus){background:rgba(0, 0, 0, 0.04)}:host(.chip-outline.ion-activated:not(.ion-color)){background:rgba(0, 0, 0, 0.08)}::slotted(ion-icon){font-size:20px}:host(:not(.ion-color)) ::slotted(ion-icon){color:rgba(0, 0, 0, 0.54)}::slotted(ion-icon:first-child){margin-left:-4px;margin-right:8px;margin-top:-4px;margin-bottom:-4px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){::slotted(ion-icon:first-child){margin-left:unset;margin-right:unset;-webkit-margin-start:-4px;margin-inline-start:-4px;-webkit-margin-end:8px;margin-inline-end:8px}}::slotted(ion-icon:last-child){margin-left:8px;margin-right:-4px;margin-top:-4px;margin-bottom:-4px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){::slotted(ion-icon:last-child){margin-left:unset;margin-right:unset;-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:-4px;margin-inline-end:-4px}}::slotted(ion-avatar){width:24px;height:24px}::slotted(ion-avatar:first-child){margin-left:-8px;margin-right:8px;margin-top:-4px;margin-bottom:-4px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){::slotted(ion-avatar:first-child){margin-left:unset;margin-right:unset;-webkit-margin-start:-8px;margin-inline-start:-8px;-webkit-margin-end:8px;margin-inline-end:8px}}::slotted(ion-avatar:last-child){margin-left:8px;margin-right:-8px;margin-top:-4px;margin-bottom:-4px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){::slotted(ion-avatar:last-child){margin-left:unset;margin-right:unset;-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:-8px;margin-inline-end:-8px}}:host(:focus){outline:none}:host(:focus){--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.16)}:host(.ion-activated){--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2)}@media (any-hover: hover){:host(:hover){--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.16)}:host(.ion-color:hover){background:rgba(var(--ion-color-base-rgb), 0.12)}:host(.chip-outline:not(.ion-color):hover){background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.04)}}"};export{a as ion_chip}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as o,h as t,H as r}from"./p-
|
1
|
+
import{r as o,h as t,H as r}from"./p-ee1e0eb4.js";import{g as i}from"./p-871106e0.js";import{c as a}from"./p-0e4de1d0.js";const n=class{constructor(t){o(this,t)}render(){const o=i(this);return t(r,{role:"heading","aria-level":"3",class:a(this.color,{"ion-inherit-color":!0,[o]:!0})},t("slot",null))}};n.style={ios:":host{display:block;position:relative;color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-color-step-600, #666666);margin-left:0;margin-right:0;margin-top:0;margin-bottom:4px;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-size:12px;font-weight:700;letter-spacing:0.4px;text-transform:uppercase}",md:":host{display:block;position:relative;color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-color-step-550, #737373);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-size:14px;font-weight:500}"};export{n as ion_card_subtitle}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as t,
|
1
|
+
import{r as t,i as s,w as i,h as e,H as o,e as n}from"./p-ee1e0eb4.js";import{c as r,g as a}from"./p-871106e0.js";import{q as h}from"./p-d68092b7.js";import{i as l}from"./p-506221fe.js";import{c,h as d}from"./p-0e4de1d0.js";const u=class{constructor(i){t(this,i),this.ionChange=s(this,"ionChange",7),this.ionSelect=s(this,"ionSelect",7),this.ionStyle=s(this,"ionStyle",7),this.didInit=!1,this.activated=!1,this.disabled=!1,this.scrollable=!1,this.swipeGesture=!0,this.selectOnFocus=!1,this.onClick=t=>{const s=t.target,i=this.checked;"ION-SEGMENT"!==s.tagName&&(this.value=s.value,!this.scrollable&&this.swipeGesture||(i?this.checkButton(i,s):this.setCheckedClasses()),this.checked=s)},this.getSegmentButton=t=>{const s=this.getButtons().filter((t=>!t.disabled)),i=s.findIndex((t=>t===document.activeElement));switch(t){case"first":return s[0];case"last":return s[s.length-1];case"next":return s[i+1]||s[0];case"previous":return s[i-1]||s[s.length-1];default:return null}}}colorChanged(t,s){(void 0===s&&void 0!==t||void 0!==s&&void 0===t)&&this.emitStyle()}swipeGestureChanged(){this.gestureChanged()}valueChanged(t,s){this.ionSelect.emit({value:t}),(""!==s||this.didInit)&&(this.activated?this.valueAfterGesture=t:this.ionChange.emit({value:t}))}disabledChanged(){this.gestureChanged();const t=this.getButtons();for(const s of t)s.disabled=this.disabled}gestureChanged(){this.gesture&&this.gesture.enable(!this.scrollable&&!this.disabled&&this.swipeGesture)}connectedCallback(){this.emitStyle()}componentWillLoad(){this.emitStyle()}async componentDidLoad(){this.setCheckedClasses(),this.ensureFocusable(),this.gesture=(await import("./p-e9431eeb.js")).createGesture({el:this.el,gestureName:"segment",gesturePriority:100,threshold:0,passive:!1,onStart:t=>this.onStart(t),onMove:t=>this.onMove(t),onEnd:t=>this.onEnd(t)}),this.gestureChanged(),this.disabled&&this.disabledChanged(),this.didInit=!0}onStart(t){this.activate(t)}onMove(t){this.setNextIndex(t)}onEnd(t){this.setActivated(!1);const s=this.setNextIndex(t,!0);t.event.stopImmediatePropagation(),s&&this.addRipple(t);const i=this.valueAfterGesture;void 0!==i&&(this.ionChange.emit({value:i}),this.valueAfterGesture=void 0)}getButtons(){return Array.from(this.el.querySelectorAll("ion-segment-button"))}addRipple(t){if(!r.getBoolean("animated",!0)||!r.getBoolean("rippleEffect",!0))return;const s=this.getButtons().find((t=>t.value===this.value)),i=(s.shadowRoot||s).querySelector("ion-ripple-effect");if(!i)return;const{x:e,y:o}=h(t.event);i.addRipple(e,o).then((t=>t()))}setActivated(t){this.getButtons().forEach((s=>{t?s.classList.add("segment-button-activated"):s.classList.remove("segment-button-activated")})),this.activated=t}activate(t){const s=t.event.target,i=this.getButtons().find((t=>t.value===this.value));"ION-SEGMENT-BUTTON"===s.tagName&&(i||(this.value=s.value,this.setCheckedClasses()),this.value===s.value&&this.setActivated(!0))}getIndicator(t){return(t.shadowRoot||t).querySelector(".segment-button-indicator")}checkButton(t,s){const e=this.getIndicator(t),o=this.getIndicator(s);if(null===e||null===o)return;const n=e.getBoundingClientRect(),r=o.getBoundingClientRect(),a=`translate3d(${n.left-r.left}px, 0, 0) scaleX(${n.width/r.width})`;i((()=>{o.classList.remove("segment-button-indicator-animated"),o.style.setProperty("transform",a),o.getBoundingClientRect(),o.classList.add("segment-button-indicator-animated"),o.style.setProperty("transform","")})),this.value=s.value,this.setCheckedClasses()}setCheckedClasses(){const t=this.getButtons(),s=t.findIndex((t=>t.value===this.value))+1;this.checked=t.find((t=>t.value===this.value));for(const s of t)s.classList.remove("segment-button-after-checked");s<t.length&&t[s].classList.add("segment-button-after-checked")}setNextIndex(t,s=!1){const i=l(this.el),e=this.activated,o=this.getButtons(),n=o.findIndex((t=>t.value===this.value)),r=o[n];let a,h;if(-1===n)return;const c=r.getBoundingClientRect(),d=c.left,u=c.width,g=t.currentX,m=c.top+c.height/2,b=this.el.getRootNode().elementFromPoint(g,m);if(e&&!s){if(i?g>d+u:g<d){const t=n-1;t>=0&&(h=t)}else if((i?g<d:g>d+u)&&e&&!s){const t=n+1;t<o.length&&(h=t)}void 0===h||o[h].disabled||(a=o[h])}if(!e&&s&&(a=b),null!=a){if("ION-SEGMENT"===a.tagName)return!1;r!==a&&this.checkButton(r,a)}return!0}emitStyle(){this.ionStyle.emit({segment:!0})}onKeyDown(t){const s=l(this.el);let i,e=this.selectOnFocus;switch(t.key){case"ArrowRight":t.preventDefault(),i=this.getSegmentButton(s?"previous":"next");break;case"ArrowLeft":t.preventDefault(),i=this.getSegmentButton(s?"next":"previous");break;case"Home":t.preventDefault(),i=this.getSegmentButton("first");break;case"End":t.preventDefault(),i=this.getSegmentButton("last");break;case" ":case"Enter":t.preventDefault(),i=document.activeElement,e=!0}i&&(e&&this.checkButton(this.checked||i,i),i.focus())}ensureFocusable(){var t;void 0===this.value&&(null===(t=this.getButtons()[0])||void 0===t||t.setAttribute("tabindex","0"))}render(){const t=a(this);return e(o,{role:"tablist",onClick:this.onClick,class:c(this.color,{[t]:!0,"in-toolbar":d("ion-toolbar",this.el),"in-toolbar-color":d("ion-toolbar[color]",this.el),"segment-activated":this.activated,"segment-disabled":this.disabled,"segment-scrollable":this.scrollable})},e("slot",null))}get el(){return n(this)}static get watchers(){return{color:["colorChanged"],swipeGesture:["swipeGestureChanged"],value:["valueChanged"],disabled:["disabledChanged"]}}};u.style={ios:":host{--ripple-color:currentColor;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:flex;position:relative;align-items:stretch;justify-content:center;width:100%;background:var(--background);font-family:var(--ion-font-family, inherit);text-align:center;contain:paint;user-select:none}:host(.segment-scrollable){justify-content:start;width:auto;overflow-x:auto}:host(.segment-scrollable::-webkit-scrollbar){display:none}:host{--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.065);border-radius:8px;overflow:hidden;z-index:0}:host(.ion-color){background:rgba(var(--ion-color-base-rgb), 0.065)}:host(.in-toolbar){margin-left:auto;margin-right:auto;margin-top:0;margin-bottom:0;width:auto}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host(.in-toolbar){margin-left:unset;margin-right:unset;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto}}:host(.in-toolbar:not(.ion-color)){background:var(--ion-toolbar-segment-background, var(--background))}:host(.in-toolbar-color:not(.ion-color)){background:rgba(var(--ion-color-contrast-rgb), 0.11)}",md:":host{--ripple-color:currentColor;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:flex;position:relative;align-items:stretch;justify-content:center;width:100%;background:var(--background);font-family:var(--ion-font-family, inherit);text-align:center;contain:paint;user-select:none}:host(.segment-scrollable){justify-content:start;width:auto;overflow-x:auto}:host(.segment-scrollable::-webkit-scrollbar){display:none}:host{--background:transparent}:host(.segment-scrollable) ::slotted(ion-segment-button){min-width:auto}"};export{u as ion_segment}
|
@@ -0,0 +1 @@
|
|
1
|
+
import{r as i,i as e,h as t,H as s,e as o}from"./p-ee1e0eb4.js";import{g as r}from"./p-871106e0.js";const n={xs:"(min-width: 0px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)",never:""},d=class{constructor(t){i(this,t),this.ionSplitPaneVisible=e(this,"ionSplitPaneVisible",7),this.visible=!1,this.disabled=!1,this.when=n.lg}visibleChanged(i){const e={visible:i,isPane:this.isPane.bind(this)};this.ionSplitPaneVisible.emit(e)}async connectedCallback(){"undefined"!=typeof customElements&&await customElements.whenDefined("ion-split-pane"),this.styleChildren(),this.updateState()}disconnectedCallback(){this.rmL&&(this.rmL(),this.rmL=void 0)}updateState(){if(this.rmL&&(this.rmL(),this.rmL=void 0),this.disabled)return void(this.visible=!1);const i=this.when;if("boolean"==typeof i)return void(this.visible=i);const e=n[i]||i;if(0!==e.length){if(window.matchMedia){const i=i=>{this.visible=i.matches},t=window.matchMedia(e);t.addListener(i),this.rmL=()=>t.removeListener(i),this.visible=t.matches}}else this.visible=!1}isPane(i){return!!this.visible&&i.parentElement===this.el&&i.classList.contains("split-pane-side")}styleChildren(){const i=this.contentId,e=this.el.children,t=this.el.childElementCount;let s=!1;for(let o=0;o<t;o++){const t=e[o],r=void 0!==i&&t.id===i;if(r){if(s)return void console.warn("split pane cannot have more than one main node");s=!0}a(t,r)}s||console.warn("split pane does not have a specified main node")}render(){const i=r(this);return t(s,{class:{[i]:!0,[`split-pane-${i}`]:!0,"split-pane-visible":this.visible}},t("slot",null))}get el(){return o(this)}static get watchers(){return{visible:["visibleChanged"],disabled:["updateState"],when:["updateState"]}}},a=(i,e)=>{let t,s;e?(t="split-pane-main",s="split-pane-side"):(t="split-pane-side",s="split-pane-main");const o=i.classList;o.add(t),o.remove(s)};d.style={ios:":host{--side-width:100%;left:0;right:0;top:0;bottom:0;display:flex;position:absolute;flex-direction:row;flex-wrap:nowrap;contain:strict}::slotted(ion-menu.menu-pane-visible){flex:0 1 auto;width:var(--side-width);min-width:var(--side-min-width);max-width:var(--side-max-width)}:host(.split-pane-visible) ::slotted(.split-pane-side),:host(.split-pane-visible) ::slotted(.split-pane-main){left:0;right:0;top:0;bottom:0;position:relative;box-shadow:none !important;z-index:0}:host(.split-pane-visible) ::slotted(.split-pane-main){flex:1}:host(.split-pane-visible) ::slotted(.split-pane-side:not(ion-menu)),:host(.split-pane-visible) ::slotted(ion-menu.split-pane-side.menu-enabled){display:flex;flex-shrink:0}::slotted(.split-pane-side:not(ion-menu)){display:none}:host(.split-pane-visible) ::slotted(.split-pane-side){order:-1}:host(.split-pane-visible) ::slotted(.split-pane-side[side=end]){order:1}:host{--border:0.55px solid var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, #c8c7cc)));--side-min-width:270px;--side-max-width:28%}:host(.split-pane-visible) ::slotted(.split-pane-side){border-left:0;border-right:var(--border);border-top:0;border-bottom:0;min-width:var(--side-min-width);max-width:var(--side-max-width)}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host(.split-pane-visible) ::slotted(.split-pane-side){border-left:unset;border-right:unset;-webkit-border-start:0;border-inline-start:0;-webkit-border-end:var(--border);border-inline-end:var(--border)}}:host(.split-pane-visible) ::slotted(.split-pane-side[side=end]){border-left:var(--border);border-right:0;border-top:0;border-bottom:0;min-width:var(--side-min-width);max-width:var(--side-max-width)}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host(.split-pane-visible) ::slotted(.split-pane-side[side=end]){border-left:unset;border-right:unset;-webkit-border-start:var(--border);border-inline-start:var(--border);-webkit-border-end:0;border-inline-end:0}}",md:":host{--side-width:100%;left:0;right:0;top:0;bottom:0;display:flex;position:absolute;flex-direction:row;flex-wrap:nowrap;contain:strict}::slotted(ion-menu.menu-pane-visible){flex:0 1 auto;width:var(--side-width);min-width:var(--side-min-width);max-width:var(--side-max-width)}:host(.split-pane-visible) ::slotted(.split-pane-side),:host(.split-pane-visible) ::slotted(.split-pane-main){left:0;right:0;top:0;bottom:0;position:relative;box-shadow:none !important;z-index:0}:host(.split-pane-visible) ::slotted(.split-pane-main){flex:1}:host(.split-pane-visible) ::slotted(.split-pane-side:not(ion-menu)),:host(.split-pane-visible) ::slotted(ion-menu.split-pane-side.menu-enabled){display:flex;flex-shrink:0}::slotted(.split-pane-side:not(ion-menu)){display:none}:host(.split-pane-visible) ::slotted(.split-pane-side){order:-1}:host(.split-pane-visible) ::slotted(.split-pane-side[side=end]){order:1}:host{--border:1px solid var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))));--side-min-width:270px;--side-max-width:28%}:host(.split-pane-visible) ::slotted(.split-pane-side){border-left:0;border-right:var(--border);border-top:0;border-bottom:0;min-width:var(--side-min-width);max-width:var(--side-max-width)}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host(.split-pane-visible) ::slotted(.split-pane-side){border-left:unset;border-right:unset;-webkit-border-start:0;border-inline-start:0;-webkit-border-end:var(--border);border-inline-end:var(--border)}}:host(.split-pane-visible) ::slotted(.split-pane-side[side=end]){border-left:var(--border);border-right:0;border-top:0;border-bottom:0;min-width:var(--side-min-width);max-width:var(--side-max-width)}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host(.split-pane-visible) ::slotted(.split-pane-side[side=end]){border-left:unset;border-right:unset;-webkit-border-start:var(--border);border-inline-start:var(--border);-webkit-border-end:0;border-inline-end:0}}"};export{d as ion_split_pane}
|
@@ -1 +1 @@
|
|
1
|
-
import{d as t,f as e}from"./p-6a5ace01.js";var r=function(t,e){return function(){for(var r=new Array(arguments.length),n=0;n<r.length;n++)r[n]=arguments[n];return t.apply(e,r)}},n=Object.prototype.toString;function o(t){return Array.isArray(t)}function i(t){return void 0===t}function u(t){return"[object ArrayBuffer]"===n.call(t)}function a(t){return null!==t&&"object"==typeof t}function f(t){if("[object Object]"!==n.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function c(t){return"[object Function]"===n.call(t)}function p(t,e){if(null!=t)if("object"!=typeof t&&(t=[t]),o(t))for(var r=0,n=t.length;r<n;r++)e.call(null,t[r],r,t);else for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.call(null,t[i],i,t)}var y={isArray:o,isArrayBuffer:u,isBuffer:function(t){return null!==t&&!i(t)&&null!==t.constructor&&!i(t.constructor)&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)},isFormData:function(t){return"[object FormData]"===n.call(t)},isArrayBufferView:function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&u(t.buffer)},isString:function(t){return"string"==typeof t},isNumber:function(t){return"number"==typeof t},isObject:a,isPlainObject:f,isUndefined:i,isDate:function(t){return"[object Date]"===n.call(t)},isFile:function(t){return"[object File]"===n.call(t)},isBlob:function(t){return"[object Blob]"===n.call(t)},isFunction:c,isStream:function(t){return a(t)&&c(t.pipe)},isURLSearchParams:function(t){return"[object URLSearchParams]"===n.call(t)},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&"undefined"!=typeof window&&"undefined"!=typeof document},forEach:p,merge:function t(){var e={};function r(r,n){e[n]=f(e[n])&&f(r)?t(e[n],r):f(r)?t({},r):o(r)?r.slice():r}for(var n=0,i=arguments.length;n<i;n++)p(arguments[n],r);return e},extend:function(t,e,n){return p(e,(function(e,o){t[o]=n&&"function"==typeof e?r(e,n):e})),t},trim:function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")},stripBOM:function(t){return 65279===t.charCodeAt(0)&&(t=t.slice(1)),t}};function s(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var l=function(t,e,r){if(!e)return t;var n;if(r)n=r(e);else if(y.isURLSearchParams(e))n=e.toString();else{var o=[];y.forEach(e,(function(t,e){null!=t&&(y.isArray(t)?e+="[]":t=[t],y.forEach(t,(function(t){y.isDate(t)?t=t.toISOString():y.isObject(t)&&(t=JSON.stringify(t)),o.push(s(e)+"="+s(t))})))})),n=o.join("&")}if(n){var i=t.indexOf("#");-1!==i&&(t=t.slice(0,i)),t+=(-1===t.indexOf("?")?"?":"&")+n}return t};function d(){this.handlers=[]}d.prototype.use=function(t,e,r){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1},d.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},d.prototype.forEach=function(t){y.forEach(this.handlers,(function(e){null!==e&&t(e)}))};var b=d,v=function(t,e){y.forEach(t,(function(r,n){n!==e&&n.toUpperCase()===e.toUpperCase()&&(t[e]=r,delete t[n])}))},m=function(t,e,r,n,o){return t.config=e,r&&(t.code=r),t.request=n,t.response=o,t.isAxiosError=!0,t.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},t},h={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},g=function(t,e,r,n,o){var i=new Error(t);return m(i,e,r,n,o)},j=y.isStandardBrowserEnv()?{write:function(t,e,r,n,o,i){var u=[];u.push(t+"="+encodeURIComponent(e)),y.isNumber(r)&&u.push("expires="+new Date(r).toGMTString()),y.isString(n)&&u.push("path="+n),y.isString(o)&&u.push("domain="+o),!0===i&&u.push("secure"),document.cookie=u.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}},S=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"],A=y.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function n(t){var n=t;return e&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return t=n(window.location.href),function(e){var r=y.isString(e)?n(e):e;return r.protocol===t.protocol&&r.host===t.host}}():function(){return!0};function w(t){this.message=t}w.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},w.prototype.__CANCEL__=!0;var O=w,P={"Content-Type":"application/x-www-form-urlencoded"};function E(t,e){!y.isUndefined(t)&&y.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var R,F={transitional:h,adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(R=function(t){return new Promise((function(e,r){var n,o=t.data,i=t.headers,u=t.responseType;function a(){t.cancelToken&&t.cancelToken.unsubscribe(n),t.signal&&t.signal.removeEventListener("abort",n)}y.isFormData(o)&&delete i["Content-Type"];var f=new XMLHttpRequest;if(t.auth){var c=t.auth.username||"",p=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";i.Authorization="Basic "+btoa(c+":"+p)}var s,d,b=(d=t.url,(s=t.baseURL)&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(d)?function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}(s,d):d);function v(){if(f){var n,o,i,c,p,s="getAllResponseHeaders"in f?(n=f.getAllResponseHeaders(),p={},n?(y.forEach(n.split("\n"),(function(t){if(c=t.indexOf(":"),o=y.trim(t.substr(0,c)).toLowerCase(),i=y.trim(t.substr(c+1)),o){if(p[o]&&S.indexOf(o)>=0)return;p[o]="set-cookie"===o?(p[o]?p[o]:[]).concat([i]):p[o]?p[o]+", "+i:i}})),p):p):null;!function(t,e,r){var n=r.config.validateStatus;r.status&&n&&!n(r.status)?e(g("Request failed with status code "+r.status,r.config,null,r.request,r)):t(r)}((function(t){e(t),a()}),(function(t){r(t),a()}),{data:u&&"text"!==u&&"json"!==u?f.response:f.responseText,status:f.status,statusText:f.statusText,headers:s,config:t,request:f}),f=null}}if(f.open(t.method.toUpperCase(),l(b,t.params,t.paramsSerializer),!0),f.timeout=t.timeout,"onloadend"in f?f.onloadend=v:f.onreadystatechange=function(){f&&4===f.readyState&&(0!==f.status||f.responseURL&&0===f.responseURL.indexOf("file:"))&&setTimeout(v)},f.onabort=function(){f&&(r(g("Request aborted",t,"ECONNABORTED",f)),f=null)},f.onerror=function(){r(g("Network Error",t,null,f)),f=null},f.ontimeout=function(){var e=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),r(g(e,t,(t.transitional||h).clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",f)),f=null},y.isStandardBrowserEnv()){var m=(t.withCredentials||A(b))&&t.xsrfCookieName?j.read(t.xsrfCookieName):void 0;m&&(i[t.xsrfHeaderName]=m)}"setRequestHeader"in f&&y.forEach(i,(function(t,e){void 0===o&&"content-type"===e.toLowerCase()?delete i[e]:f.setRequestHeader(e,t)})),y.isUndefined(t.withCredentials)||(f.withCredentials=!!t.withCredentials),u&&"json"!==u&&(f.responseType=t.responseType),"function"==typeof t.onDownloadProgress&&f.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&f.upload&&f.upload.addEventListener("progress",t.onUploadProgress),(t.cancelToken||t.signal)&&(n=function(t){f&&(r(!t||t&&t.type?new O("canceled"):t),f.abort(),f=null)},t.cancelToken&&t.cancelToken.subscribe(n),t.signal&&(t.signal.aborted?n():t.signal.addEventListener("abort",n))),o||(o=null),f.send(o)}))}),R),transformRequest:[function(t,e){return v(e,"Accept"),v(e,"Content-Type"),y.isFormData(t)||y.isArrayBuffer(t)||y.isBuffer(t)||y.isStream(t)||y.isFile(t)||y.isBlob(t)?t:y.isArrayBufferView(t)?t.buffer:y.isURLSearchParams(t)?(E(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):y.isObject(t)||e&&"application/json"===e["Content-Type"]?(E(e,"application/json"),function(t){if(y.isString(t))try{return(0,JSON.parse)(t),y.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(0,JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){var e=this.transitional||F.transitional,r=!(e&&e.silentJSONParsing)&&"json"===this.responseType;if(r||e&&e.forcedJSONParsing&&y.isString(t)&&t.length)try{return JSON.parse(t)}catch(t){if(r){if("SyntaxError"===t.name)throw m(t,this,"E_JSON_PARSE");throw t}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};y.forEach(["delete","get","head"],(function(t){F.headers[t]={}})),y.forEach(["post","put","patch"],(function(t){F.headers[t]=y.merge(P)}));var x=F,I=function(t,e,r){var n=this||x;return y.forEach(r,(function(r){t=r.call(n,t,e)})),t},M=function(t){return!(!t||!t.__CANCEL__)};function U(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new O("canceled")}var k=function(t){return U(t),t.headers=t.headers||{},t.data=I.call(t,t.data,t.headers,t.transformRequest),t.headers=y.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),y.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]})),(t.adapter||x.adapter)(t).then((function(e){return U(t),e.data=I.call(t,e.data,e.headers,t.transformResponse),e}),(function(e){return M(e)||(U(t),e&&e.response&&(e.response.data=I.call(t,e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))},N=function(t,e){e=e||{};var r={};function n(t,e){return y.isPlainObject(t)&&y.isPlainObject(e)?y.merge(t,e):y.isPlainObject(e)?y.merge({},e):y.isArray(e)?e.slice():e}function o(r){return y.isUndefined(e[r])?y.isUndefined(t[r])?void 0:n(void 0,t[r]):n(t[r],e[r])}function i(t){if(!y.isUndefined(e[t]))return n(void 0,e[t])}function u(r){return y.isUndefined(e[r])?y.isUndefined(t[r])?void 0:n(void 0,t[r]):n(void 0,e[r])}function a(r){return r in e?n(t[r],e[r]):r in t?n(void 0,t[r]):void 0}var f={url:i,method:i,data:i,baseURL:u,transformRequest:u,transformResponse:u,paramsSerializer:u,timeout:u,timeoutMessage:u,withCredentials:u,adapter:u,responseType:u,xsrfCookieName:u,xsrfHeaderName:u,onUploadProgress:u,onDownloadProgress:u,decompress:u,maxContentLength:u,maxBodyLength:u,transport:u,httpAgent:u,httpsAgent:u,cancelToken:u,socketPath:u,responseEncoding:u,validateStatus:a};return y.forEach(Object.keys(t).concat(Object.keys(e)),(function(t){var e=f[t]||o,n=e(t);y.isUndefined(n)&&e!==a||(r[t]=n)})),r},B={};["object","boolean","number","function","string","symbol"].forEach((function(t,e){B[t]=function(r){return typeof r===t||"a"+(e<1?"n ":" ")+t}}));var T={};B.transitional=function(t,e,r){function n(t,e){return"[Axios v0.26.1] Transitional option '"+t+"'"+e+(r?". "+r:"")}return function(r,o,i){if(!1===t)throw new Error(n(o," has been removed"+(e?" in "+e:"")));return e&&!T[o]&&(T[o]=!0,console.warn(n(o," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(r,o,i)}};var C={assertOptions:function(t,e,r){if("object"!=typeof t)throw new TypeError("options must be an object");for(var n=Object.keys(t),o=n.length;o-- >0;){var i=n[o],u=e[i];if(u){var a=t[i],f=void 0===a||u(a,i,t);if(!0!==f)throw new TypeError("option "+i+" must be "+f)}else if(!0!==r)throw Error("Unknown option "+i)}},validators:B},W=C.validators;function D(t){this.defaults=t,this.interceptors={request:new b,response:new b}}D.prototype.request=function(t,e){"string"==typeof t?(e=e||{}).url=t:e=t||{},(e=N(this.defaults,e)).method=e.method?e.method.toLowerCase():this.defaults.method?this.defaults.method.toLowerCase():"get";var r=e.transitional;void 0!==r&&C.assertOptions(r,{silentJSONParsing:W.transitional(W.boolean),forcedJSONParsing:W.transitional(W.boolean),clarifyTimeoutError:W.transitional(W.boolean)},!1);var n=[],o=!0;this.interceptors.request.forEach((function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(o=o&&t.synchronous,n.unshift(t.fulfilled,t.rejected))}));var i,u=[];if(this.interceptors.response.forEach((function(t){u.push(t.fulfilled,t.rejected)})),!o){var a=[k,void 0];for(Array.prototype.unshift.apply(a,n),a=a.concat(u),i=Promise.resolve(e);a.length;)i=i.then(a.shift(),a.shift());return i}for(var f=e;n.length;){var c=n.shift(),p=n.shift();try{f=c(f)}catch(t){p(t);break}}try{i=k(f)}catch(t){return Promise.reject(t)}for(;u.length;)i=i.then(u.shift(),u.shift());return i},D.prototype.getUri=function(t){return t=N(this.defaults,t),l(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},y.forEach(["delete","get","head","options"],(function(t){D.prototype[t]=function(e,r){return this.request(N(r||{},{method:t,url:e,data:(r||{}).data}))}})),y.forEach(["post","put","patch"],(function(t){D.prototype[t]=function(e,r,n){return this.request(N(n||{},{method:t,url:e,data:r}))}}));var _=D;function $(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var r=this;this.promise.then((function(t){if(r._listeners){var e,n=r._listeners.length;for(e=0;e<n;e++)r._listeners[e](t);r._listeners=null}})),this.promise.then=function(t){var e,n=new Promise((function(t){r.subscribe(t),e=t})).then(t);return n.cancel=function(){r.unsubscribe(e)},n},t((function(t){r.reason||(r.reason=new O(t),e(r.reason))}))}$.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},$.prototype.subscribe=function(t){this.reason?t(this.reason):this._listeners?this._listeners.push(t):this._listeners=[t]},$.prototype.unsubscribe=function(t){if(this._listeners){var e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}},$.source=function(){var t;return{token:new $((function(e){t=e})),cancel:t}};var q=$,G=function t(e){var n=new _(e),o=r(_.prototype.request,n);return y.extend(o,_.prototype,n),y.extend(o,n),o.create=function(r){return t(N(e,r))},o}(x);G.Axios=_,G.Cancel=O,G.CancelToken=q,G.isCancel=M,G.VERSION="0.26.1",G.all=function(t){return Promise.all(t)},G.spread=function(t){return function(e){return t.apply(null,e)}},G.isAxiosError=function(t){return y.isObject(t)&&!0===t.isAxiosError};var J=G;J.default=G;var L="undefined"!=typeof Symbol&&Symbol,z="Function.prototype.bind called on incompatible ",H=Array.prototype.slice,V=Object.prototype.toString,X=Function.prototype.bind||function(t){var e=this;if("function"!=typeof e||"[object Function]"!==V.call(e))throw new TypeError(z+e);for(var r,n=H.call(arguments,1),o=function(){if(this instanceof r){var o=e.apply(this,n.concat(H.call(arguments)));return Object(o)===o?o:this}return e.apply(t,n.concat(H.call(arguments)))},i=Math.max(0,e.length-n.length),u=[],a=0;a<i;a++)u.push("$"+a);if(r=Function("binder","return function ("+u.join(",")+"){ return binder.apply(this,arguments); }")(o),e.prototype){var f=function(){};f.prototype=e.prototype,r.prototype=new f,f.prototype=null}return r},K=X.call(Function.call,Object.prototype.hasOwnProperty),Q=SyntaxError,Y=Function,Z=TypeError,tt=function(t){try{return Y('"use strict"; return ('+t+").constructor;")()}catch(t){}},et=Object.getOwnPropertyDescriptor,rt=function(){throw new Z},nt=et?function(){try{return rt}catch(t){try{return et(arguments,"callee").get}catch(t){return rt}}}():rt,ot="function"==typeof L&&"function"==typeof Symbol&&"symbol"==typeof L("foo")&&"symbol"==typeof Symbol("bar")&&function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var t={},e=Symbol("test"),r=Object(e);if("string"==typeof e)return!1;if("[object Symbol]"!==Object.prototype.toString.call(e))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(e in t[e]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var n=Object.getOwnPropertySymbols(t);if(1!==n.length||n[0]!==e)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(t,e);if(42!==o.value||!0!==o.enumerable)return!1}return!0}(),it=Object.getPrototypeOf||function(t){return t.__proto__},ut={},at="undefined"==typeof Uint8Array?void 0:it(Uint8Array),ft={"%AggregateError%":"undefined"==typeof AggregateError?void 0:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?void 0:ArrayBuffer,"%ArrayIteratorPrototype%":ot?it([][Symbol.iterator]()):void 0,"%AsyncFromSyncIteratorPrototype%":void 0,"%AsyncFunction%":ut,"%AsyncGenerator%":ut,"%AsyncGeneratorFunction%":ut,"%AsyncIteratorPrototype%":ut,"%Atomics%":"undefined"==typeof Atomics?void 0:Atomics,"%BigInt%":"undefined"==typeof BigInt?void 0:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?void 0:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?void 0:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?void 0:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?void 0:FinalizationRegistry,"%Function%":Y,"%GeneratorFunction%":ut,"%Int8Array%":"undefined"==typeof Int8Array?void 0:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?void 0:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?void 0:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":ot?it(it([][Symbol.iterator]())):void 0,"%JSON%":"object"==typeof JSON?JSON:void 0,"%Map%":"undefined"==typeof Map?void 0:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&ot?it((new Map)[Symbol.iterator]()):void 0,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?void 0:Promise,"%Proxy%":"undefined"==typeof Proxy?void 0:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?void 0:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?void 0:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&ot?it((new Set)[Symbol.iterator]()):void 0,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?void 0:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":ot?it(""[Symbol.iterator]()):void 0,"%Symbol%":ot?Symbol:void 0,"%SyntaxError%":Q,"%ThrowTypeError%":nt,"%TypedArray%":at,"%TypeError%":Z,"%Uint8Array%":"undefined"==typeof Uint8Array?void 0:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?void 0:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?void 0:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?void 0:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?void 0:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?void 0:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?void 0:WeakSet},ct=function t(e){var r;if("%AsyncFunction%"===e)r=tt("async function () {}");else if("%GeneratorFunction%"===e)r=tt("function* () {}");else if("%AsyncGeneratorFunction%"===e)r=tt("async function* () {}");else if("%AsyncGenerator%"===e){var n=t("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===e){var o=t("%AsyncGenerator%");o&&(r=it(o.prototype))}return ft[e]=r,r},pt={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},yt=X.call(Function.call,Array.prototype.concat),st=X.call(Function.apply,Array.prototype.splice),lt=X.call(Function.call,String.prototype.replace),dt=X.call(Function.call,String.prototype.slice),bt=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,vt=/\\(\\)?/g,mt=function(t){var e=dt(t,0,1),r=dt(t,-1);if("%"===e&&"%"!==r)throw new Q("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==e)throw new Q("invalid intrinsic syntax, expected opening `%`");var n=[];return lt(t,bt,(function(t,e,r,o){n[n.length]=r?lt(o,vt,"$1"):e||t})),n},ht=function(t,e){var r,n=t;if(K(pt,n)&&(n="%"+(r=pt[n])[0]+"%"),K(ft,n)){var o=ft[n];if(o===ut&&(o=ct(n)),void 0===o&&!e)throw new Z("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:o}}throw new Q("intrinsic "+t+" does not exist!")},gt=function(t,e){if("string"!=typeof t||0===t.length)throw new Z("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof e)throw new Z('"allowMissing" argument must be a boolean');var r=mt(t),n=r.length>0?r[0]:"",o=ht("%"+n+"%",e),i=o.name,u=o.value,a=!1,f=o.alias;f&&(n=f[0],st(r,yt([0,1],f)));for(var c=1,p=!0;c<r.length;c+=1){var y=r[c],s=dt(y,0,1),l=dt(y,-1);if(('"'===s||"'"===s||"`"===s||'"'===l||"'"===l||"`"===l)&&s!==l)throw new Q("property names with quotes must have matching quotes");if("constructor"!==y&&p||(a=!0),K(ft,i="%"+(n+="."+y)+"%"))u=ft[i];else if(null!=u){if(!(y in u)){if(!e)throw new Z("base intrinsic for "+t+" exists, but the property is not available.");return}if(et&&c+1>=r.length){var d=et(u,y);u=(p=!!d)&&"get"in d&&!("originalValue"in d.get)?d.get:u[y]}else p=K(u,y),u=u[y];p&&!a&&(ft[i]=u)}}return u},jt="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function St(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function At(t,e,r){return t(r={path:e,exports:{},require:function(){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}()}},r.exports),r.exports}function wt(t){if(t.__esModule)return t;var e=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(t).forEach((function(r){var n=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(e,r,n.get?n:{enumerable:!0,get:function(){return t[r]}})})),e}var Ot=At((function(t){var e=gt("%Function.prototype.apply%"),r=gt("%Function.prototype.call%"),n=gt("%Reflect.apply%",!0)||X.call(r,e),o=gt("%Object.getOwnPropertyDescriptor%",!0),i=gt("%Object.defineProperty%",!0),u=gt("%Math.max%");if(i)try{i({},"a",{value:1})}catch(t){i=null}t.exports=function(t){var e=n(X,r,arguments);if(o&&i){var a=o(e,"length");a.configurable&&i(e,"length",{value:1+u(0,t.length-(arguments.length-1))})}return e};var a=function(){return n(X,e,arguments)};i?i(t.exports,"apply",{value:a}):t.exports.apply=a})),Pt=Ot(gt("String.prototype.indexOf")),Et=function(t,e){var r=gt(t,!!e);return"function"==typeof r&&Pt(t,".prototype.")>-1?Ot(r):r};const Rt=wt(Object.freeze({__proto__:null,default:{}}));var Ft="function"==typeof Map&&Map.prototype,xt=Object.getOwnPropertyDescriptor&&Ft?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,It=Ft&&xt&&"function"==typeof xt.get?xt.get:null,Mt=Ft&&Map.prototype.forEach,Ut="function"==typeof Set&&Set.prototype,kt=Object.getOwnPropertyDescriptor&&Ut?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,Nt=Ut&&kt&&"function"==typeof kt.get?kt.get:null,Bt=Ut&&Set.prototype.forEach,Tt="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,Ct="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,Wt="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,Dt=Boolean.prototype.valueOf,_t=Object.prototype.toString,$t=Function.prototype.toString,qt=String.prototype.match,Gt=String.prototype.slice,Jt=String.prototype.replace,Lt=String.prototype.toUpperCase,zt=String.prototype.toLowerCase,Ht=RegExp.prototype.test,Vt=Array.prototype.concat,Xt=Array.prototype.join,Kt=Array.prototype.slice,Qt=Math.floor,Yt="function"==typeof BigInt?BigInt.prototype.valueOf:null,Zt=Object.getOwnPropertySymbols,te="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,ee="function"==typeof Symbol&&"object"==typeof Symbol.iterator,re="function"==typeof Symbol&&Symbol.toStringTag&&(Symbol,1)?Symbol.toStringTag:null,ne=Object.prototype.propertyIsEnumerable,oe=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null);function ie(t,e){if(t===1/0||t===-1/0||t!=t||t&&t>-1e3&&t<1e3||Ht.call(/e/,e))return e;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof t){var n=t<0?-Qt(-t):Qt(t);if(n!==t){var o=String(n),i=Gt.call(e,o.length+1);return Jt.call(o,r,"$&_")+"."+Jt.call(Jt.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return Jt.call(e,r,"$&_")}var ue=Rt.custom,ae=ue&&se(ue)?ue:null,fe=function t(e,r,n,o){var i=r||{};if(de(i,"quoteStyle")&&"single"!==i.quoteStyle&&"double"!==i.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(de(i,"maxStringLength")&&("number"==typeof i.maxStringLength?i.maxStringLength<0&&i.maxStringLength!==1/0:null!==i.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var u=!de(i,"customInspect")||i.customInspect;if("boolean"!=typeof u&&"symbol"!==u)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(de(i,"indent")&&null!==i.indent&&"\t"!==i.indent&&!(parseInt(i.indent,10)===i.indent&&i.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(de(i,"numericSeparator")&&"boolean"!=typeof i.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var a=i.numericSeparator;if(void 0===e)return"undefined";if(null===e)return"null";if("boolean"==typeof e)return e?"true":"false";if("string"==typeof e)return me(e,i);if("number"==typeof e){if(0===e)return 1/0/e>0?"0":"-0";var f=String(e);return a?ie(e,f):f}if("bigint"==typeof e){var c=String(e)+"n";return a?ie(e,c):c}var p=void 0===i.depth?5:i.depth;if(void 0===n&&(n=0),n>=p&&p>0&&"object"==typeof e)return ye(e)?"[Array]":"[Object]";var y,s=function(t,e){var r;if("\t"===t.indent)r="\t";else{if(!("number"==typeof t.indent&&t.indent>0))return null;r=Xt.call(Array(t.indent+1)," ")}return{base:r,prev:Xt.call(Array(e+1),r)}}(i,n);if(void 0===o)o=[];else if(ve(o,e)>=0)return"[Circular]";function l(e,r,u){if(r&&(o=Kt.call(o)).push(r),u){var a={depth:i.depth};return de(i,"quoteStyle")&&(a.quoteStyle=i.quoteStyle),t(e,a,n+1,o)}return t(e,i,n+1,o)}if("function"==typeof e){var d=function(t){if(t.name)return t.name;var e=qt.call($t.call(t),/^function\s*([\w$]+)/);return e?e[1]:null}(e),b=we(e,l);return"[Function"+(d?": "+d:" (anonymous)")+"]"+(b.length>0?" { "+Xt.call(b,", ")+" }":"")}if(se(e)){var v=ee?Jt.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):te.call(e);return"object"!=typeof e||ee?v:ge(v)}if((y=e)&&"object"==typeof y&&("undefined"!=typeof HTMLElement&&y instanceof HTMLElement||"string"==typeof y.nodeName&&"function"==typeof y.getAttribute)){for(var m="<"+zt.call(String(e.nodeName)),h=e.attributes||[],g=0;g<h.length;g++)m+=" "+h[g].name+"="+ce(pe(h[g].value),"double",i);return m+=">",e.childNodes&&e.childNodes.length&&(m+="..."),m+"</"+zt.call(String(e.nodeName))+">"}if(ye(e)){if(0===e.length)return"[]";var j=we(e,l);return s&&!function(t){for(var e=0;e<t.length;e++)if(ve(t[e],"\n")>=0)return!1;return!0}(j)?"["+Ae(j,s)+"]":"[ "+Xt.call(j,", ")+" ]"}if(function(t){return!("[object Error]"!==be(t)||re&&"object"==typeof t&&re in t)}(e)){var S=we(e,l);return"cause"in e&&!ne.call(e,"cause")?"{ ["+String(e)+"] "+Xt.call(Vt.call("[cause]: "+l(e.cause),S),", ")+" }":0===S.length?"["+String(e)+"]":"{ ["+String(e)+"] "+Xt.call(S,", ")+" }"}if("object"==typeof e&&u){if(ae&&"function"==typeof e[ae])return e[ae]();if("symbol"!==u&&"function"==typeof e.inspect)return e.inspect()}if(function(t){if(!It||!t||"object"!=typeof t)return!1;try{It.call(t);try{Nt.call(t)}catch(t){return!0}return t instanceof Map}catch(t){}return!1}(e)){var A=[];return Mt.call(e,(function(t,r){A.push(l(r,e,!0)+" => "+l(t,e))})),Se("Map",It.call(e),A,s)}if(function(t){if(!Nt||!t||"object"!=typeof t)return!1;try{Nt.call(t);try{It.call(t)}catch(t){return!0}return t instanceof Set}catch(t){}return!1}(e)){var w=[];return Bt.call(e,(function(t){w.push(l(t,e))})),Se("Set",Nt.call(e),w,s)}if(function(t){if(!Tt||!t||"object"!=typeof t)return!1;try{Tt.call(t,Tt);try{Ct.call(t,Ct)}catch(t){return!0}return t instanceof WeakMap}catch(t){}return!1}(e))return je("WeakMap");if(function(t){if(!Ct||!t||"object"!=typeof t)return!1;try{Ct.call(t,Ct);try{Tt.call(t,Tt)}catch(t){return!0}return t instanceof WeakSet}catch(t){}return!1}(e))return je("WeakSet");if(function(t){if(!Wt||!t||"object"!=typeof t)return!1;try{return Wt.call(t),!0}catch(t){}return!1}(e))return je("WeakRef");if(function(t){return!("[object Number]"!==be(t)||re&&"object"==typeof t&&re in t)}(e))return ge(l(Number(e)));if(function(t){if(!t||"object"!=typeof t||!Yt)return!1;try{return Yt.call(t),!0}catch(t){}return!1}(e))return ge(l(Yt.call(e)));if(function(t){return!("[object Boolean]"!==be(t)||re&&"object"==typeof t&&re in t)}(e))return ge(Dt.call(e));if(function(t){return!("[object String]"!==be(t)||re&&"object"==typeof t&&re in t)}(e))return ge(l(String(e)));if(!function(t){return!("[object Date]"!==be(t)||re&&"object"==typeof t&&re in t)}(e)&&!function(t){return!("[object RegExp]"!==be(t)||re&&"object"==typeof t&&re in t)}(e)){var O=we(e,l),P=oe?oe(e)===Object.prototype:e instanceof Object||e.constructor===Object,E=e instanceof Object?"":"null prototype",R=!P&&re&&Object(e)===e&&re in e?Gt.call(be(e),8,-1):E?"Object":"",F=(P||"function"!=typeof e.constructor?"":e.constructor.name?e.constructor.name+" ":"")+(R||E?"["+Xt.call(Vt.call([],R||[],E||[]),": ")+"] ":"");return 0===O.length?F+"{}":s?F+"{"+Ae(O,s)+"}":F+"{ "+Xt.call(O,", ")+" }"}return String(e)};function ce(t,e,r){var n="double"===(r.quoteStyle||e)?'"':"'";return n+t+n}function pe(t){return Jt.call(String(t),/"/g,""")}function ye(t){return!("[object Array]"!==be(t)||re&&"object"==typeof t&&re in t)}function se(t){if(ee)return t&&"object"==typeof t&&t instanceof Symbol;if("symbol"==typeof t)return!0;if(!t||"object"!=typeof t||!te)return!1;try{return te.call(t),!0}catch(t){}return!1}var le=Object.prototype.hasOwnProperty||function(t){return t in this};function de(t,e){return le.call(t,e)}function be(t){return _t.call(t)}function ve(t,e){if(t.indexOf)return t.indexOf(e);for(var r=0,n=t.length;r<n;r++)if(t[r]===e)return r;return-1}function me(t,e){if(t.length>e.maxStringLength){var r=t.length-e.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return me(Gt.call(t,0,e.maxStringLength),e)+n}return ce(Jt.call(Jt.call(t,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,he),"single",e)}function he(t){var e=t.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return r?"\\"+r:"\\x"+(e<16?"0":"")+Lt.call(e.toString(16))}function ge(t){return"Object("+t+")"}function je(t){return t+" { ? }"}function Se(t,e,r,n){return t+" ("+e+") {"+(n?Ae(r,n):Xt.call(r,", "))+"}"}function Ae(t,e){if(0===t.length)return"";var r="\n"+e.prev+e.base;return r+Xt.call(t,","+r)+"\n"+e.prev}function we(t,e){var r=ye(t),n=[];if(r){n.length=t.length;for(var o=0;o<t.length;o++)n[o]=de(t,o)?e(t[o],t):""}var i,u="function"==typeof Zt?Zt(t):[];if(ee){i={};for(var a=0;a<u.length;a++)i["$"+u[a]]=u[a]}for(var f in t)de(t,f)&&(r&&String(Number(f))===f&&f<t.length||ee&&i["$"+f]instanceof Symbol||(Ht.call(/[^\w$]/,f)?n.push(e(f,t)+": "+e(t[f],t)):n.push(f+": "+e(t[f],t))));if("function"==typeof Zt)for(var c=0;c<u.length;c++)ne.call(t,u[c])&&n.push("["+e(u[c])+"]: "+e(t[u[c]],t));return n}var Oe=gt("%TypeError%"),Pe=gt("%WeakMap%",!0),Ee=gt("%Map%",!0),Re=Et("WeakMap.prototype.get",!0),Fe=Et("WeakMap.prototype.set",!0),xe=Et("WeakMap.prototype.has",!0),Ie=Et("Map.prototype.get",!0),Me=Et("Map.prototype.set",!0),Ue=Et("Map.prototype.has",!0),ke=function(t,e){for(var r,n=t;null!==(r=n.next);n=r)if(r.key===e)return n.next=r.next,r.next=t.next,t.next=r,r},Ne=function(){var t,e,r,n={assert:function(t){if(!n.has(t))throw new Oe("Side channel does not contain "+fe(t))},get:function(n){if(Pe&&n&&("object"==typeof n||"function"==typeof n)){if(t)return Re(t,n)}else if(Ee){if(e)return Ie(e,n)}else if(r)return function(t,e){var r=ke(t,e);return r&&r.value}(r,n)},has:function(n){if(Pe&&n&&("object"==typeof n||"function"==typeof n)){if(t)return xe(t,n)}else if(Ee){if(e)return Ue(e,n)}else if(r)return function(t,e){return!!ke(t,e)}(r,n);return!1},set:function(n,o){Pe&&n&&("object"==typeof n||"function"==typeof n)?(t||(t=new Pe),Fe(t,n,o)):Ee?(e||(e=new Ee),Me(e,n,o)):(r||(r={key:{},next:null}),function(t,e,r){var n=ke(t,e);n?n.value=r:t.next={key:e,next:t.next,value:r}}(r,n,o))}};return n},Be=String.prototype.replace,Te=/%20/g,Ce={default:"RFC3986",formatters:{RFC1738:function(t){return Be.call(t,Te,"+")},RFC3986:function(t){return String(t)}},RFC1738:"RFC1738",RFC3986:"RFC3986"},We=Object.prototype.hasOwnProperty,De=Array.isArray,_e=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),$e=function(t,e){for(var r=e&&e.plainObjects?Object.create(null):{},n=0;n<t.length;++n)void 0!==t[n]&&(r[n]=t[n]);return r},qe={arrayToObject:$e,assign:function(t,e){return Object.keys(e).reduce((function(t,r){return t[r]=e[r],t}),t)},combine:function(t,e){return[].concat(t,e)},compact:function(t){for(var e=[{obj:{o:t},prop:"o"}],r=[],n=0;n<e.length;++n)for(var o=e[n],i=o.obj[o.prop],u=Object.keys(i),a=0;a<u.length;++a){var f=u[a],c=i[f];"object"==typeof c&&null!==c&&-1===r.indexOf(c)&&(e.push({obj:i,prop:f}),r.push(c))}return function(t){for(;t.length>1;){var e=t.pop(),r=e.obj[e.prop];if(De(r)){for(var n=[],o=0;o<r.length;++o)void 0!==r[o]&&n.push(r[o]);e.obj[e.prop]=n}}}(e),t},decode:function(t,e,r){var n=t.replace(/\+/g," ");if("iso-8859-1"===r)return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch(t){return n}},encode:function(t,e,r,n,o){if(0===t.length)return t;var i=t;if("symbol"==typeof t?i=Symbol.prototype.toString.call(t):"string"!=typeof t&&(i=String(t)),"iso-8859-1"===r)return escape(i).replace(/%u[0-9a-f]{4}/gi,(function(t){return"%26%23"+parseInt(t.slice(2),16)+"%3B"}));for(var u="",a=0;a<i.length;++a){var f=i.charCodeAt(a);45===f||46===f||95===f||126===f||f>=48&&f<=57||f>=65&&f<=90||f>=97&&f<=122||o===Ce.RFC1738&&(40===f||41===f)?u+=i.charAt(a):f<128?u+=_e[f]:f<2048?u+=_e[192|f>>6]+_e[128|63&f]:f<55296||f>=57344?u+=_e[224|f>>12]+_e[128|f>>6&63]+_e[128|63&f]:(f=65536+((1023&f)<<10|1023&i.charCodeAt(a+=1)),u+=_e[240|f>>18]+_e[128|f>>12&63]+_e[128|f>>6&63]+_e[128|63&f])}return u},isBuffer:function(t){return!(!t||"object"!=typeof t||!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t)))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},maybeMap:function(t,e){if(De(t)){for(var r=[],n=0;n<t.length;n+=1)r.push(e(t[n]));return r}return e(t)},merge:function t(e,r,n){if(!r)return e;if("object"!=typeof r){if(De(e))e.push(r);else{if(!e||"object"!=typeof e)return[e,r];(n&&(n.plainObjects||n.allowPrototypes)||!We.call(Object.prototype,r))&&(e[r]=!0)}return e}if(!e||"object"!=typeof e)return[e].concat(r);var o=e;return De(e)&&!De(r)&&(o=$e(e,n)),De(e)&&De(r)?(r.forEach((function(r,o){if(We.call(e,o)){var i=e[o];i&&"object"==typeof i&&r&&"object"==typeof r?e[o]=t(i,r,n):e.push(r)}else e[o]=r})),e):Object.keys(r).reduce((function(e,o){var i=r[o];return e[o]=We.call(e,o)?t(e[o],i,n):i,e}),o)}};const Ge=t=>!("isConnected"in t)||t.isConnected,Je=(()=>{let t;return(...e)=>{t&&clearTimeout(t),t=setTimeout((()=>{t=0,(t=>{for(let e of t.keys())t.set(e,t.get(e).filter(Ge))})(...e)}),2e3)}})(),Le=(r,n)=>{const o=((t,e=((t,e)=>t!==e))=>{let r=new Map(Object.entries(null!=t?t:{}));const n={dispose:[],get:[],set:[],reset:[]},o=()=>{r=new Map(Object.entries(null!=t?t:{})),n.reset.forEach((t=>t()))},i=t=>(n.get.forEach((e=>e(t))),r.get(t)),u=(t,o)=>{const i=r.get(t);e(o,i,t)&&(r.set(t,o),n.set.forEach((e=>e(t,o,i))))},a="undefined"==typeof Proxy?{}:new Proxy(t,{get:(t,e)=>i(e),ownKeys:()=>Array.from(r.keys()),getOwnPropertyDescriptor:()=>({enumerable:!0,configurable:!0}),has:(t,e)=>r.has(e),set:(t,e,r)=>(u(e,r),!0)}),f=(t,e)=>(n[t].push(e),()=>{((t,e)=>{const r=t.indexOf(e);r>=0&&(t[r]=t[t.length-1],t.length--)})(n[t],e)});return{state:a,get:i,set:u,on:f,onChange:(e,r)=>{const n=f("set",((t,n)=>{t===e&&r(n)})),o=f("reset",(()=>r(t[e])));return()=>{n(),o()}},use:(...t)=>{const e=t.reduce(((t,e)=>(e.set&&t.push(f("set",e.set)),e.get&&t.push(f("get",e.get)),e.reset&&t.push(f("reset",e.reset)),e.dispose&&t.push(f("dispose",e.dispose)),t)),[]);return()=>e.forEach((t=>t()))},dispose:()=>{n.dispose.forEach((t=>t())),o()},reset:o,forceUpdate:t=>{const e=r.get(t);n.set.forEach((r=>r(t,e,e)))}}})(r,n);return o.use((()=>{if("function"!=typeof t)return{};const r=new Map;return{dispose:()=>r.clear(),get:e=>{const n=t();n&&((t,e,r)=>{const n=t.get(e);n?n.includes(r)||n.push(r):t.set(e,[r])})(r,e,n)},set:t=>{const n=r.get(t);n&&r.set(t,n.filter(e)),Je(r)},reset:()=>{r.forEach((t=>t.forEach(e))),Je(r)}}})()),o},{state:ze,onChange:He,reset:Ve}=Le({toc:void 0}),Xe={state:ze,onChange:He,reset:Ve},{state:Ke,onChange:Qe,reset:Ye}=Le({authUser:null,bearer:"Bearer ",isAuthenticated:!1,loading:!1});Qe("authUser",(t=>{Ke.bearer=`Bearer ${t?t.JWToken:""}`,Ke.isAuthenticated=t&&!!t.Id}));const Ze={state:Ke,onChange:Qe,reset:Ye};export{Ze as A,Xe as T,J as a,At as b,Le as c,jt as d,Ce as f,St as g,Ne as s,qe as u}
|
1
|
+
import{d as t,f as e}from"./p-ee1e0eb4.js";var r=function(t,e){return function(){for(var r=new Array(arguments.length),n=0;n<r.length;n++)r[n]=arguments[n];return t.apply(e,r)}},n=Object.prototype.toString;function o(t){return Array.isArray(t)}function i(t){return void 0===t}function u(t){return"[object ArrayBuffer]"===n.call(t)}function a(t){return null!==t&&"object"==typeof t}function f(t){if("[object Object]"!==n.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function c(t){return"[object Function]"===n.call(t)}function p(t,e){if(null!=t)if("object"!=typeof t&&(t=[t]),o(t))for(var r=0,n=t.length;r<n;r++)e.call(null,t[r],r,t);else for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.call(null,t[i],i,t)}var y={isArray:o,isArrayBuffer:u,isBuffer:function(t){return null!==t&&!i(t)&&null!==t.constructor&&!i(t.constructor)&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)},isFormData:function(t){return"[object FormData]"===n.call(t)},isArrayBufferView:function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&u(t.buffer)},isString:function(t){return"string"==typeof t},isNumber:function(t){return"number"==typeof t},isObject:a,isPlainObject:f,isUndefined:i,isDate:function(t){return"[object Date]"===n.call(t)},isFile:function(t){return"[object File]"===n.call(t)},isBlob:function(t){return"[object Blob]"===n.call(t)},isFunction:c,isStream:function(t){return a(t)&&c(t.pipe)},isURLSearchParams:function(t){return"[object URLSearchParams]"===n.call(t)},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&"undefined"!=typeof window&&"undefined"!=typeof document},forEach:p,merge:function t(){var e={};function r(r,n){e[n]=f(e[n])&&f(r)?t(e[n],r):f(r)?t({},r):o(r)?r.slice():r}for(var n=0,i=arguments.length;n<i;n++)p(arguments[n],r);return e},extend:function(t,e,n){return p(e,(function(e,o){t[o]=n&&"function"==typeof e?r(e,n):e})),t},trim:function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")},stripBOM:function(t){return 65279===t.charCodeAt(0)&&(t=t.slice(1)),t}};function s(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var l=function(t,e,r){if(!e)return t;var n;if(r)n=r(e);else if(y.isURLSearchParams(e))n=e.toString();else{var o=[];y.forEach(e,(function(t,e){null!=t&&(y.isArray(t)?e+="[]":t=[t],y.forEach(t,(function(t){y.isDate(t)?t=t.toISOString():y.isObject(t)&&(t=JSON.stringify(t)),o.push(s(e)+"="+s(t))})))})),n=o.join("&")}if(n){var i=t.indexOf("#");-1!==i&&(t=t.slice(0,i)),t+=(-1===t.indexOf("?")?"?":"&")+n}return t};function d(){this.handlers=[]}d.prototype.use=function(t,e,r){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1},d.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},d.prototype.forEach=function(t){y.forEach(this.handlers,(function(e){null!==e&&t(e)}))};var b=d,v=function(t,e){y.forEach(t,(function(r,n){n!==e&&n.toUpperCase()===e.toUpperCase()&&(t[e]=r,delete t[n])}))},m=function(t,e,r,n,o){return t.config=e,r&&(t.code=r),t.request=n,t.response=o,t.isAxiosError=!0,t.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},t},h={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},g=function(t,e,r,n,o){var i=new Error(t);return m(i,e,r,n,o)},j=y.isStandardBrowserEnv()?{write:function(t,e,r,n,o,i){var u=[];u.push(t+"="+encodeURIComponent(e)),y.isNumber(r)&&u.push("expires="+new Date(r).toGMTString()),y.isString(n)&&u.push("path="+n),y.isString(o)&&u.push("domain="+o),!0===i&&u.push("secure"),document.cookie=u.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}},S=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"],A=y.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function n(t){var n=t;return e&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return t=n(window.location.href),function(e){var r=y.isString(e)?n(e):e;return r.protocol===t.protocol&&r.host===t.host}}():function(){return!0};function w(t){this.message=t}w.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},w.prototype.__CANCEL__=!0;var O=w,P={"Content-Type":"application/x-www-form-urlencoded"};function E(t,e){!y.isUndefined(t)&&y.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var R,F={transitional:h,adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(R=function(t){return new Promise((function(e,r){var n,o=t.data,i=t.headers,u=t.responseType;function a(){t.cancelToken&&t.cancelToken.unsubscribe(n),t.signal&&t.signal.removeEventListener("abort",n)}y.isFormData(o)&&delete i["Content-Type"];var f=new XMLHttpRequest;if(t.auth){var c=t.auth.username||"",p=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";i.Authorization="Basic "+btoa(c+":"+p)}var s,d,b=(d=t.url,(s=t.baseURL)&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(d)?function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}(s,d):d);function v(){if(f){var n,o,i,c,p,s="getAllResponseHeaders"in f?(n=f.getAllResponseHeaders(),p={},n?(y.forEach(n.split("\n"),(function(t){if(c=t.indexOf(":"),o=y.trim(t.substr(0,c)).toLowerCase(),i=y.trim(t.substr(c+1)),o){if(p[o]&&S.indexOf(o)>=0)return;p[o]="set-cookie"===o?(p[o]?p[o]:[]).concat([i]):p[o]?p[o]+", "+i:i}})),p):p):null;!function(t,e,r){var n=r.config.validateStatus;r.status&&n&&!n(r.status)?e(g("Request failed with status code "+r.status,r.config,null,r.request,r)):t(r)}((function(t){e(t),a()}),(function(t){r(t),a()}),{data:u&&"text"!==u&&"json"!==u?f.response:f.responseText,status:f.status,statusText:f.statusText,headers:s,config:t,request:f}),f=null}}if(f.open(t.method.toUpperCase(),l(b,t.params,t.paramsSerializer),!0),f.timeout=t.timeout,"onloadend"in f?f.onloadend=v:f.onreadystatechange=function(){f&&4===f.readyState&&(0!==f.status||f.responseURL&&0===f.responseURL.indexOf("file:"))&&setTimeout(v)},f.onabort=function(){f&&(r(g("Request aborted",t,"ECONNABORTED",f)),f=null)},f.onerror=function(){r(g("Network Error",t,null,f)),f=null},f.ontimeout=function(){var e=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),r(g(e,t,(t.transitional||h).clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",f)),f=null},y.isStandardBrowserEnv()){var m=(t.withCredentials||A(b))&&t.xsrfCookieName?j.read(t.xsrfCookieName):void 0;m&&(i[t.xsrfHeaderName]=m)}"setRequestHeader"in f&&y.forEach(i,(function(t,e){void 0===o&&"content-type"===e.toLowerCase()?delete i[e]:f.setRequestHeader(e,t)})),y.isUndefined(t.withCredentials)||(f.withCredentials=!!t.withCredentials),u&&"json"!==u&&(f.responseType=t.responseType),"function"==typeof t.onDownloadProgress&&f.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&f.upload&&f.upload.addEventListener("progress",t.onUploadProgress),(t.cancelToken||t.signal)&&(n=function(t){f&&(r(!t||t&&t.type?new O("canceled"):t),f.abort(),f=null)},t.cancelToken&&t.cancelToken.subscribe(n),t.signal&&(t.signal.aborted?n():t.signal.addEventListener("abort",n))),o||(o=null),f.send(o)}))}),R),transformRequest:[function(t,e){return v(e,"Accept"),v(e,"Content-Type"),y.isFormData(t)||y.isArrayBuffer(t)||y.isBuffer(t)||y.isStream(t)||y.isFile(t)||y.isBlob(t)?t:y.isArrayBufferView(t)?t.buffer:y.isURLSearchParams(t)?(E(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):y.isObject(t)||e&&"application/json"===e["Content-Type"]?(E(e,"application/json"),function(t){if(y.isString(t))try{return(0,JSON.parse)(t),y.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(0,JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){var e=this.transitional||F.transitional,r=!(e&&e.silentJSONParsing)&&"json"===this.responseType;if(r||e&&e.forcedJSONParsing&&y.isString(t)&&t.length)try{return JSON.parse(t)}catch(t){if(r){if("SyntaxError"===t.name)throw m(t,this,"E_JSON_PARSE");throw t}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};y.forEach(["delete","get","head"],(function(t){F.headers[t]={}})),y.forEach(["post","put","patch"],(function(t){F.headers[t]=y.merge(P)}));var x=F,I=function(t,e,r){var n=this||x;return y.forEach(r,(function(r){t=r.call(n,t,e)})),t},M=function(t){return!(!t||!t.__CANCEL__)};function U(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new O("canceled")}var k=function(t){return U(t),t.headers=t.headers||{},t.data=I.call(t,t.data,t.headers,t.transformRequest),t.headers=y.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),y.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]})),(t.adapter||x.adapter)(t).then((function(e){return U(t),e.data=I.call(t,e.data,e.headers,t.transformResponse),e}),(function(e){return M(e)||(U(t),e&&e.response&&(e.response.data=I.call(t,e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))},N=function(t,e){e=e||{};var r={};function n(t,e){return y.isPlainObject(t)&&y.isPlainObject(e)?y.merge(t,e):y.isPlainObject(e)?y.merge({},e):y.isArray(e)?e.slice():e}function o(r){return y.isUndefined(e[r])?y.isUndefined(t[r])?void 0:n(void 0,t[r]):n(t[r],e[r])}function i(t){if(!y.isUndefined(e[t]))return n(void 0,e[t])}function u(r){return y.isUndefined(e[r])?y.isUndefined(t[r])?void 0:n(void 0,t[r]):n(void 0,e[r])}function a(r){return r in e?n(t[r],e[r]):r in t?n(void 0,t[r]):void 0}var f={url:i,method:i,data:i,baseURL:u,transformRequest:u,transformResponse:u,paramsSerializer:u,timeout:u,timeoutMessage:u,withCredentials:u,adapter:u,responseType:u,xsrfCookieName:u,xsrfHeaderName:u,onUploadProgress:u,onDownloadProgress:u,decompress:u,maxContentLength:u,maxBodyLength:u,transport:u,httpAgent:u,httpsAgent:u,cancelToken:u,socketPath:u,responseEncoding:u,validateStatus:a};return y.forEach(Object.keys(t).concat(Object.keys(e)),(function(t){var e=f[t]||o,n=e(t);y.isUndefined(n)&&e!==a||(r[t]=n)})),r},B={};["object","boolean","number","function","string","symbol"].forEach((function(t,e){B[t]=function(r){return typeof r===t||"a"+(e<1?"n ":" ")+t}}));var T={};B.transitional=function(t,e,r){function n(t,e){return"[Axios v0.26.1] Transitional option '"+t+"'"+e+(r?". "+r:"")}return function(r,o,i){if(!1===t)throw new Error(n(o," has been removed"+(e?" in "+e:"")));return e&&!T[o]&&(T[o]=!0,console.warn(n(o," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(r,o,i)}};var C={assertOptions:function(t,e,r){if("object"!=typeof t)throw new TypeError("options must be an object");for(var n=Object.keys(t),o=n.length;o-- >0;){var i=n[o],u=e[i];if(u){var a=t[i],f=void 0===a||u(a,i,t);if(!0!==f)throw new TypeError("option "+i+" must be "+f)}else if(!0!==r)throw Error("Unknown option "+i)}},validators:B},W=C.validators;function D(t){this.defaults=t,this.interceptors={request:new b,response:new b}}D.prototype.request=function(t,e){"string"==typeof t?(e=e||{}).url=t:e=t||{},(e=N(this.defaults,e)).method=e.method?e.method.toLowerCase():this.defaults.method?this.defaults.method.toLowerCase():"get";var r=e.transitional;void 0!==r&&C.assertOptions(r,{silentJSONParsing:W.transitional(W.boolean),forcedJSONParsing:W.transitional(W.boolean),clarifyTimeoutError:W.transitional(W.boolean)},!1);var n=[],o=!0;this.interceptors.request.forEach((function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(o=o&&t.synchronous,n.unshift(t.fulfilled,t.rejected))}));var i,u=[];if(this.interceptors.response.forEach((function(t){u.push(t.fulfilled,t.rejected)})),!o){var a=[k,void 0];for(Array.prototype.unshift.apply(a,n),a=a.concat(u),i=Promise.resolve(e);a.length;)i=i.then(a.shift(),a.shift());return i}for(var f=e;n.length;){var c=n.shift(),p=n.shift();try{f=c(f)}catch(t){p(t);break}}try{i=k(f)}catch(t){return Promise.reject(t)}for(;u.length;)i=i.then(u.shift(),u.shift());return i},D.prototype.getUri=function(t){return t=N(this.defaults,t),l(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},y.forEach(["delete","get","head","options"],(function(t){D.prototype[t]=function(e,r){return this.request(N(r||{},{method:t,url:e,data:(r||{}).data}))}})),y.forEach(["post","put","patch"],(function(t){D.prototype[t]=function(e,r,n){return this.request(N(n||{},{method:t,url:e,data:r}))}}));var _=D;function $(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var r=this;this.promise.then((function(t){if(r._listeners){var e,n=r._listeners.length;for(e=0;e<n;e++)r._listeners[e](t);r._listeners=null}})),this.promise.then=function(t){var e,n=new Promise((function(t){r.subscribe(t),e=t})).then(t);return n.cancel=function(){r.unsubscribe(e)},n},t((function(t){r.reason||(r.reason=new O(t),e(r.reason))}))}$.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},$.prototype.subscribe=function(t){this.reason?t(this.reason):this._listeners?this._listeners.push(t):this._listeners=[t]},$.prototype.unsubscribe=function(t){if(this._listeners){var e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}},$.source=function(){var t;return{token:new $((function(e){t=e})),cancel:t}};var q=$,G=function t(e){var n=new _(e),o=r(_.prototype.request,n);return y.extend(o,_.prototype,n),y.extend(o,n),o.create=function(r){return t(N(e,r))},o}(x);G.Axios=_,G.Cancel=O,G.CancelToken=q,G.isCancel=M,G.VERSION="0.26.1",G.all=function(t){return Promise.all(t)},G.spread=function(t){return function(e){return t.apply(null,e)}},G.isAxiosError=function(t){return y.isObject(t)&&!0===t.isAxiosError};var J=G;J.default=G;var L="undefined"!=typeof Symbol&&Symbol,z="Function.prototype.bind called on incompatible ",H=Array.prototype.slice,V=Object.prototype.toString,X=Function.prototype.bind||function(t){var e=this;if("function"!=typeof e||"[object Function]"!==V.call(e))throw new TypeError(z+e);for(var r,n=H.call(arguments,1),o=function(){if(this instanceof r){var o=e.apply(this,n.concat(H.call(arguments)));return Object(o)===o?o:this}return e.apply(t,n.concat(H.call(arguments)))},i=Math.max(0,e.length-n.length),u=[],a=0;a<i;a++)u.push("$"+a);if(r=Function("binder","return function ("+u.join(",")+"){ return binder.apply(this,arguments); }")(o),e.prototype){var f=function(){};f.prototype=e.prototype,r.prototype=new f,f.prototype=null}return r},K=X.call(Function.call,Object.prototype.hasOwnProperty),Q=SyntaxError,Y=Function,Z=TypeError,tt=function(t){try{return Y('"use strict"; return ('+t+").constructor;")()}catch(t){}},et=Object.getOwnPropertyDescriptor,rt=function(){throw new Z},nt=et?function(){try{return rt}catch(t){try{return et(arguments,"callee").get}catch(t){return rt}}}():rt,ot="function"==typeof L&&"function"==typeof Symbol&&"symbol"==typeof L("foo")&&"symbol"==typeof Symbol("bar")&&function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var t={},e=Symbol("test"),r=Object(e);if("string"==typeof e)return!1;if("[object Symbol]"!==Object.prototype.toString.call(e))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(e in t[e]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var n=Object.getOwnPropertySymbols(t);if(1!==n.length||n[0]!==e)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(t,e);if(42!==o.value||!0!==o.enumerable)return!1}return!0}(),it=Object.getPrototypeOf||function(t){return t.__proto__},ut={},at="undefined"==typeof Uint8Array?void 0:it(Uint8Array),ft={"%AggregateError%":"undefined"==typeof AggregateError?void 0:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?void 0:ArrayBuffer,"%ArrayIteratorPrototype%":ot?it([][Symbol.iterator]()):void 0,"%AsyncFromSyncIteratorPrototype%":void 0,"%AsyncFunction%":ut,"%AsyncGenerator%":ut,"%AsyncGeneratorFunction%":ut,"%AsyncIteratorPrototype%":ut,"%Atomics%":"undefined"==typeof Atomics?void 0:Atomics,"%BigInt%":"undefined"==typeof BigInt?void 0:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?void 0:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?void 0:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?void 0:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?void 0:FinalizationRegistry,"%Function%":Y,"%GeneratorFunction%":ut,"%Int8Array%":"undefined"==typeof Int8Array?void 0:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?void 0:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?void 0:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":ot?it(it([][Symbol.iterator]())):void 0,"%JSON%":"object"==typeof JSON?JSON:void 0,"%Map%":"undefined"==typeof Map?void 0:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&ot?it((new Map)[Symbol.iterator]()):void 0,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?void 0:Promise,"%Proxy%":"undefined"==typeof Proxy?void 0:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?void 0:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?void 0:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&ot?it((new Set)[Symbol.iterator]()):void 0,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?void 0:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":ot?it(""[Symbol.iterator]()):void 0,"%Symbol%":ot?Symbol:void 0,"%SyntaxError%":Q,"%ThrowTypeError%":nt,"%TypedArray%":at,"%TypeError%":Z,"%Uint8Array%":"undefined"==typeof Uint8Array?void 0:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?void 0:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?void 0:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?void 0:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?void 0:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?void 0:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?void 0:WeakSet},ct=function t(e){var r;if("%AsyncFunction%"===e)r=tt("async function () {}");else if("%GeneratorFunction%"===e)r=tt("function* () {}");else if("%AsyncGeneratorFunction%"===e)r=tt("async function* () {}");else if("%AsyncGenerator%"===e){var n=t("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===e){var o=t("%AsyncGenerator%");o&&(r=it(o.prototype))}return ft[e]=r,r},pt={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},yt=X.call(Function.call,Array.prototype.concat),st=X.call(Function.apply,Array.prototype.splice),lt=X.call(Function.call,String.prototype.replace),dt=X.call(Function.call,String.prototype.slice),bt=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,vt=/\\(\\)?/g,mt=function(t){var e=dt(t,0,1),r=dt(t,-1);if("%"===e&&"%"!==r)throw new Q("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==e)throw new Q("invalid intrinsic syntax, expected opening `%`");var n=[];return lt(t,bt,(function(t,e,r,o){n[n.length]=r?lt(o,vt,"$1"):e||t})),n},ht=function(t,e){var r,n=t;if(K(pt,n)&&(n="%"+(r=pt[n])[0]+"%"),K(ft,n)){var o=ft[n];if(o===ut&&(o=ct(n)),void 0===o&&!e)throw new Z("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:o}}throw new Q("intrinsic "+t+" does not exist!")},gt=function(t,e){if("string"!=typeof t||0===t.length)throw new Z("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof e)throw new Z('"allowMissing" argument must be a boolean');var r=mt(t),n=r.length>0?r[0]:"",o=ht("%"+n+"%",e),i=o.name,u=o.value,a=!1,f=o.alias;f&&(n=f[0],st(r,yt([0,1],f)));for(var c=1,p=!0;c<r.length;c+=1){var y=r[c],s=dt(y,0,1),l=dt(y,-1);if(('"'===s||"'"===s||"`"===s||'"'===l||"'"===l||"`"===l)&&s!==l)throw new Q("property names with quotes must have matching quotes");if("constructor"!==y&&p||(a=!0),K(ft,i="%"+(n+="."+y)+"%"))u=ft[i];else if(null!=u){if(!(y in u)){if(!e)throw new Z("base intrinsic for "+t+" exists, but the property is not available.");return}if(et&&c+1>=r.length){var d=et(u,y);u=(p=!!d)&&"get"in d&&!("originalValue"in d.get)?d.get:u[y]}else p=K(u,y),u=u[y];p&&!a&&(ft[i]=u)}}return u},jt="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function St(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function At(t,e,r){return t(r={path:e,exports:{},require:function(){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}()}},r.exports),r.exports}function wt(t){if(t.__esModule)return t;var e=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(t).forEach((function(r){var n=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(e,r,n.get?n:{enumerable:!0,get:function(){return t[r]}})})),e}var Ot=At((function(t){var e=gt("%Function.prototype.apply%"),r=gt("%Function.prototype.call%"),n=gt("%Reflect.apply%",!0)||X.call(r,e),o=gt("%Object.getOwnPropertyDescriptor%",!0),i=gt("%Object.defineProperty%",!0),u=gt("%Math.max%");if(i)try{i({},"a",{value:1})}catch(t){i=null}t.exports=function(t){var e=n(X,r,arguments);if(o&&i){var a=o(e,"length");a.configurable&&i(e,"length",{value:1+u(0,t.length-(arguments.length-1))})}return e};var a=function(){return n(X,e,arguments)};i?i(t.exports,"apply",{value:a}):t.exports.apply=a})),Pt=Ot(gt("String.prototype.indexOf")),Et=function(t,e){var r=gt(t,!!e);return"function"==typeof r&&Pt(t,".prototype.")>-1?Ot(r):r};const Rt=wt(Object.freeze({__proto__:null,default:{}}));var Ft="function"==typeof Map&&Map.prototype,xt=Object.getOwnPropertyDescriptor&&Ft?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,It=Ft&&xt&&"function"==typeof xt.get?xt.get:null,Mt=Ft&&Map.prototype.forEach,Ut="function"==typeof Set&&Set.prototype,kt=Object.getOwnPropertyDescriptor&&Ut?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,Nt=Ut&&kt&&"function"==typeof kt.get?kt.get:null,Bt=Ut&&Set.prototype.forEach,Tt="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,Ct="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,Wt="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,Dt=Boolean.prototype.valueOf,_t=Object.prototype.toString,$t=Function.prototype.toString,qt=String.prototype.match,Gt=String.prototype.slice,Jt=String.prototype.replace,Lt=String.prototype.toUpperCase,zt=String.prototype.toLowerCase,Ht=RegExp.prototype.test,Vt=Array.prototype.concat,Xt=Array.prototype.join,Kt=Array.prototype.slice,Qt=Math.floor,Yt="function"==typeof BigInt?BigInt.prototype.valueOf:null,Zt=Object.getOwnPropertySymbols,te="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,ee="function"==typeof Symbol&&"object"==typeof Symbol.iterator,re="function"==typeof Symbol&&Symbol.toStringTag&&(Symbol,1)?Symbol.toStringTag:null,ne=Object.prototype.propertyIsEnumerable,oe=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null);function ie(t,e){if(t===1/0||t===-1/0||t!=t||t&&t>-1e3&&t<1e3||Ht.call(/e/,e))return e;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof t){var n=t<0?-Qt(-t):Qt(t);if(n!==t){var o=String(n),i=Gt.call(e,o.length+1);return Jt.call(o,r,"$&_")+"."+Jt.call(Jt.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return Jt.call(e,r,"$&_")}var ue=Rt.custom,ae=ue&&se(ue)?ue:null,fe=function t(e,r,n,o){var i=r||{};if(de(i,"quoteStyle")&&"single"!==i.quoteStyle&&"double"!==i.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(de(i,"maxStringLength")&&("number"==typeof i.maxStringLength?i.maxStringLength<0&&i.maxStringLength!==1/0:null!==i.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var u=!de(i,"customInspect")||i.customInspect;if("boolean"!=typeof u&&"symbol"!==u)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(de(i,"indent")&&null!==i.indent&&"\t"!==i.indent&&!(parseInt(i.indent,10)===i.indent&&i.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(de(i,"numericSeparator")&&"boolean"!=typeof i.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var a=i.numericSeparator;if(void 0===e)return"undefined";if(null===e)return"null";if("boolean"==typeof e)return e?"true":"false";if("string"==typeof e)return me(e,i);if("number"==typeof e){if(0===e)return 1/0/e>0?"0":"-0";var f=String(e);return a?ie(e,f):f}if("bigint"==typeof e){var c=String(e)+"n";return a?ie(e,c):c}var p=void 0===i.depth?5:i.depth;if(void 0===n&&(n=0),n>=p&&p>0&&"object"==typeof e)return ye(e)?"[Array]":"[Object]";var y,s=function(t,e){var r;if("\t"===t.indent)r="\t";else{if(!("number"==typeof t.indent&&t.indent>0))return null;r=Xt.call(Array(t.indent+1)," ")}return{base:r,prev:Xt.call(Array(e+1),r)}}(i,n);if(void 0===o)o=[];else if(ve(o,e)>=0)return"[Circular]";function l(e,r,u){if(r&&(o=Kt.call(o)).push(r),u){var a={depth:i.depth};return de(i,"quoteStyle")&&(a.quoteStyle=i.quoteStyle),t(e,a,n+1,o)}return t(e,i,n+1,o)}if("function"==typeof e){var d=function(t){if(t.name)return t.name;var e=qt.call($t.call(t),/^function\s*([\w$]+)/);return e?e[1]:null}(e),b=we(e,l);return"[Function"+(d?": "+d:" (anonymous)")+"]"+(b.length>0?" { "+Xt.call(b,", ")+" }":"")}if(se(e)){var v=ee?Jt.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):te.call(e);return"object"!=typeof e||ee?v:ge(v)}if((y=e)&&"object"==typeof y&&("undefined"!=typeof HTMLElement&&y instanceof HTMLElement||"string"==typeof y.nodeName&&"function"==typeof y.getAttribute)){for(var m="<"+zt.call(String(e.nodeName)),h=e.attributes||[],g=0;g<h.length;g++)m+=" "+h[g].name+"="+ce(pe(h[g].value),"double",i);return m+=">",e.childNodes&&e.childNodes.length&&(m+="..."),m+"</"+zt.call(String(e.nodeName))+">"}if(ye(e)){if(0===e.length)return"[]";var j=we(e,l);return s&&!function(t){for(var e=0;e<t.length;e++)if(ve(t[e],"\n")>=0)return!1;return!0}(j)?"["+Ae(j,s)+"]":"[ "+Xt.call(j,", ")+" ]"}if(function(t){return!("[object Error]"!==be(t)||re&&"object"==typeof t&&re in t)}(e)){var S=we(e,l);return"cause"in e&&!ne.call(e,"cause")?"{ ["+String(e)+"] "+Xt.call(Vt.call("[cause]: "+l(e.cause),S),", ")+" }":0===S.length?"["+String(e)+"]":"{ ["+String(e)+"] "+Xt.call(S,", ")+" }"}if("object"==typeof e&&u){if(ae&&"function"==typeof e[ae])return e[ae]();if("symbol"!==u&&"function"==typeof e.inspect)return e.inspect()}if(function(t){if(!It||!t||"object"!=typeof t)return!1;try{It.call(t);try{Nt.call(t)}catch(t){return!0}return t instanceof Map}catch(t){}return!1}(e)){var A=[];return Mt.call(e,(function(t,r){A.push(l(r,e,!0)+" => "+l(t,e))})),Se("Map",It.call(e),A,s)}if(function(t){if(!Nt||!t||"object"!=typeof t)return!1;try{Nt.call(t);try{It.call(t)}catch(t){return!0}return t instanceof Set}catch(t){}return!1}(e)){var w=[];return Bt.call(e,(function(t){w.push(l(t,e))})),Se("Set",Nt.call(e),w,s)}if(function(t){if(!Tt||!t||"object"!=typeof t)return!1;try{Tt.call(t,Tt);try{Ct.call(t,Ct)}catch(t){return!0}return t instanceof WeakMap}catch(t){}return!1}(e))return je("WeakMap");if(function(t){if(!Ct||!t||"object"!=typeof t)return!1;try{Ct.call(t,Ct);try{Tt.call(t,Tt)}catch(t){return!0}return t instanceof WeakSet}catch(t){}return!1}(e))return je("WeakSet");if(function(t){if(!Wt||!t||"object"!=typeof t)return!1;try{return Wt.call(t),!0}catch(t){}return!1}(e))return je("WeakRef");if(function(t){return!("[object Number]"!==be(t)||re&&"object"==typeof t&&re in t)}(e))return ge(l(Number(e)));if(function(t){if(!t||"object"!=typeof t||!Yt)return!1;try{return Yt.call(t),!0}catch(t){}return!1}(e))return ge(l(Yt.call(e)));if(function(t){return!("[object Boolean]"!==be(t)||re&&"object"==typeof t&&re in t)}(e))return ge(Dt.call(e));if(function(t){return!("[object String]"!==be(t)||re&&"object"==typeof t&&re in t)}(e))return ge(l(String(e)));if(!function(t){return!("[object Date]"!==be(t)||re&&"object"==typeof t&&re in t)}(e)&&!function(t){return!("[object RegExp]"!==be(t)||re&&"object"==typeof t&&re in t)}(e)){var O=we(e,l),P=oe?oe(e)===Object.prototype:e instanceof Object||e.constructor===Object,E=e instanceof Object?"":"null prototype",R=!P&&re&&Object(e)===e&&re in e?Gt.call(be(e),8,-1):E?"Object":"",F=(P||"function"!=typeof e.constructor?"":e.constructor.name?e.constructor.name+" ":"")+(R||E?"["+Xt.call(Vt.call([],R||[],E||[]),": ")+"] ":"");return 0===O.length?F+"{}":s?F+"{"+Ae(O,s)+"}":F+"{ "+Xt.call(O,", ")+" }"}return String(e)};function ce(t,e,r){var n="double"===(r.quoteStyle||e)?'"':"'";return n+t+n}function pe(t){return Jt.call(String(t),/"/g,""")}function ye(t){return!("[object Array]"!==be(t)||re&&"object"==typeof t&&re in t)}function se(t){if(ee)return t&&"object"==typeof t&&t instanceof Symbol;if("symbol"==typeof t)return!0;if(!t||"object"!=typeof t||!te)return!1;try{return te.call(t),!0}catch(t){}return!1}var le=Object.prototype.hasOwnProperty||function(t){return t in this};function de(t,e){return le.call(t,e)}function be(t){return _t.call(t)}function ve(t,e){if(t.indexOf)return t.indexOf(e);for(var r=0,n=t.length;r<n;r++)if(t[r]===e)return r;return-1}function me(t,e){if(t.length>e.maxStringLength){var r=t.length-e.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return me(Gt.call(t,0,e.maxStringLength),e)+n}return ce(Jt.call(Jt.call(t,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,he),"single",e)}function he(t){var e=t.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return r?"\\"+r:"\\x"+(e<16?"0":"")+Lt.call(e.toString(16))}function ge(t){return"Object("+t+")"}function je(t){return t+" { ? }"}function Se(t,e,r,n){return t+" ("+e+") {"+(n?Ae(r,n):Xt.call(r,", "))+"}"}function Ae(t,e){if(0===t.length)return"";var r="\n"+e.prev+e.base;return r+Xt.call(t,","+r)+"\n"+e.prev}function we(t,e){var r=ye(t),n=[];if(r){n.length=t.length;for(var o=0;o<t.length;o++)n[o]=de(t,o)?e(t[o],t):""}var i,u="function"==typeof Zt?Zt(t):[];if(ee){i={};for(var a=0;a<u.length;a++)i["$"+u[a]]=u[a]}for(var f in t)de(t,f)&&(r&&String(Number(f))===f&&f<t.length||ee&&i["$"+f]instanceof Symbol||(Ht.call(/[^\w$]/,f)?n.push(e(f,t)+": "+e(t[f],t)):n.push(f+": "+e(t[f],t))));if("function"==typeof Zt)for(var c=0;c<u.length;c++)ne.call(t,u[c])&&n.push("["+e(u[c])+"]: "+e(t[u[c]],t));return n}var Oe=gt("%TypeError%"),Pe=gt("%WeakMap%",!0),Ee=gt("%Map%",!0),Re=Et("WeakMap.prototype.get",!0),Fe=Et("WeakMap.prototype.set",!0),xe=Et("WeakMap.prototype.has",!0),Ie=Et("Map.prototype.get",!0),Me=Et("Map.prototype.set",!0),Ue=Et("Map.prototype.has",!0),ke=function(t,e){for(var r,n=t;null!==(r=n.next);n=r)if(r.key===e)return n.next=r.next,r.next=t.next,t.next=r,r},Ne=function(){var t,e,r,n={assert:function(t){if(!n.has(t))throw new Oe("Side channel does not contain "+fe(t))},get:function(n){if(Pe&&n&&("object"==typeof n||"function"==typeof n)){if(t)return Re(t,n)}else if(Ee){if(e)return Ie(e,n)}else if(r)return function(t,e){var r=ke(t,e);return r&&r.value}(r,n)},has:function(n){if(Pe&&n&&("object"==typeof n||"function"==typeof n)){if(t)return xe(t,n)}else if(Ee){if(e)return Ue(e,n)}else if(r)return function(t,e){return!!ke(t,e)}(r,n);return!1},set:function(n,o){Pe&&n&&("object"==typeof n||"function"==typeof n)?(t||(t=new Pe),Fe(t,n,o)):Ee?(e||(e=new Ee),Me(e,n,o)):(r||(r={key:{},next:null}),function(t,e,r){var n=ke(t,e);n?n.value=r:t.next={key:e,next:t.next,value:r}}(r,n,o))}};return n},Be=String.prototype.replace,Te=/%20/g,Ce={default:"RFC3986",formatters:{RFC1738:function(t){return Be.call(t,Te,"+")},RFC3986:function(t){return String(t)}},RFC1738:"RFC1738",RFC3986:"RFC3986"},We=Object.prototype.hasOwnProperty,De=Array.isArray,_e=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),$e=function(t,e){for(var r=e&&e.plainObjects?Object.create(null):{},n=0;n<t.length;++n)void 0!==t[n]&&(r[n]=t[n]);return r},qe={arrayToObject:$e,assign:function(t,e){return Object.keys(e).reduce((function(t,r){return t[r]=e[r],t}),t)},combine:function(t,e){return[].concat(t,e)},compact:function(t){for(var e=[{obj:{o:t},prop:"o"}],r=[],n=0;n<e.length;++n)for(var o=e[n],i=o.obj[o.prop],u=Object.keys(i),a=0;a<u.length;++a){var f=u[a],c=i[f];"object"==typeof c&&null!==c&&-1===r.indexOf(c)&&(e.push({obj:i,prop:f}),r.push(c))}return function(t){for(;t.length>1;){var e=t.pop(),r=e.obj[e.prop];if(De(r)){for(var n=[],o=0;o<r.length;++o)void 0!==r[o]&&n.push(r[o]);e.obj[e.prop]=n}}}(e),t},decode:function(t,e,r){var n=t.replace(/\+/g," ");if("iso-8859-1"===r)return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch(t){return n}},encode:function(t,e,r,n,o){if(0===t.length)return t;var i=t;if("symbol"==typeof t?i=Symbol.prototype.toString.call(t):"string"!=typeof t&&(i=String(t)),"iso-8859-1"===r)return escape(i).replace(/%u[0-9a-f]{4}/gi,(function(t){return"%26%23"+parseInt(t.slice(2),16)+"%3B"}));for(var u="",a=0;a<i.length;++a){var f=i.charCodeAt(a);45===f||46===f||95===f||126===f||f>=48&&f<=57||f>=65&&f<=90||f>=97&&f<=122||o===Ce.RFC1738&&(40===f||41===f)?u+=i.charAt(a):f<128?u+=_e[f]:f<2048?u+=_e[192|f>>6]+_e[128|63&f]:f<55296||f>=57344?u+=_e[224|f>>12]+_e[128|f>>6&63]+_e[128|63&f]:(f=65536+((1023&f)<<10|1023&i.charCodeAt(a+=1)),u+=_e[240|f>>18]+_e[128|f>>12&63]+_e[128|f>>6&63]+_e[128|63&f])}return u},isBuffer:function(t){return!(!t||"object"!=typeof t||!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t)))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},maybeMap:function(t,e){if(De(t)){for(var r=[],n=0;n<t.length;n+=1)r.push(e(t[n]));return r}return e(t)},merge:function t(e,r,n){if(!r)return e;if("object"!=typeof r){if(De(e))e.push(r);else{if(!e||"object"!=typeof e)return[e,r];(n&&(n.plainObjects||n.allowPrototypes)||!We.call(Object.prototype,r))&&(e[r]=!0)}return e}if(!e||"object"!=typeof e)return[e].concat(r);var o=e;return De(e)&&!De(r)&&(o=$e(e,n)),De(e)&&De(r)?(r.forEach((function(r,o){if(We.call(e,o)){var i=e[o];i&&"object"==typeof i&&r&&"object"==typeof r?e[o]=t(i,r,n):e.push(r)}else e[o]=r})),e):Object.keys(r).reduce((function(e,o){var i=r[o];return e[o]=We.call(e,o)?t(e[o],i,n):i,e}),o)}};const Ge=t=>!("isConnected"in t)||t.isConnected,Je=(()=>{let t;return(...e)=>{t&&clearTimeout(t),t=setTimeout((()=>{t=0,(t=>{for(let e of t.keys())t.set(e,t.get(e).filter(Ge))})(...e)}),2e3)}})(),Le=(r,n)=>{const o=((t,e=((t,e)=>t!==e))=>{let r=new Map(Object.entries(null!=t?t:{}));const n={dispose:[],get:[],set:[],reset:[]},o=()=>{r=new Map(Object.entries(null!=t?t:{})),n.reset.forEach((t=>t()))},i=t=>(n.get.forEach((e=>e(t))),r.get(t)),u=(t,o)=>{const i=r.get(t);e(o,i,t)&&(r.set(t,o),n.set.forEach((e=>e(t,o,i))))},a="undefined"==typeof Proxy?{}:new Proxy(t,{get:(t,e)=>i(e),ownKeys:()=>Array.from(r.keys()),getOwnPropertyDescriptor:()=>({enumerable:!0,configurable:!0}),has:(t,e)=>r.has(e),set:(t,e,r)=>(u(e,r),!0)}),f=(t,e)=>(n[t].push(e),()=>{((t,e)=>{const r=t.indexOf(e);r>=0&&(t[r]=t[t.length-1],t.length--)})(n[t],e)});return{state:a,get:i,set:u,on:f,onChange:(e,r)=>{const n=f("set",((t,n)=>{t===e&&r(n)})),o=f("reset",(()=>r(t[e])));return()=>{n(),o()}},use:(...t)=>{const e=t.reduce(((t,e)=>(e.set&&t.push(f("set",e.set)),e.get&&t.push(f("get",e.get)),e.reset&&t.push(f("reset",e.reset)),e.dispose&&t.push(f("dispose",e.dispose)),t)),[]);return()=>e.forEach((t=>t()))},dispose:()=>{n.dispose.forEach((t=>t())),o()},reset:o,forceUpdate:t=>{const e=r.get(t);n.set.forEach((r=>r(t,e,e)))}}})(r,n);return o.use((()=>{if("function"!=typeof t)return{};const r=new Map;return{dispose:()=>r.clear(),get:e=>{const n=t();n&&((t,e,r)=>{const n=t.get(e);n?n.includes(r)||n.push(r):t.set(e,[r])})(r,e,n)},set:t=>{const n=r.get(t);n&&r.set(t,n.filter(e)),Je(r)},reset:()=>{r.forEach((t=>t.forEach(e))),Je(r)}}})()),o},{state:ze,onChange:He,reset:Ve}=Le({toc:void 0}),Xe={state:ze,onChange:He,reset:Ve},{state:Ke,onChange:Qe,reset:Ye}=Le({authUser:null,bearer:"Bearer ",isAuthenticated:!1,loading:!1});Qe("authUser",(t=>{Ke.bearer=`Bearer ${t?t.JWToken:""}`,Ke.isAuthenticated=t&&!!t.Id}));const Ze={state:Ke,onChange:Qe,reset:Ye};export{Ze as A,Xe as T,J as a,jt as b,At as c,Le as d,Ce as f,St as g,Ne as s,qe as u}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import{g as o,c as n}from"./p-
|
1
|
+
import{g as o,c as n}from"./p-871106e0.js";import{OVERLAY_BACK_BUTTON_PRIORITY as t}from"./p-add30d46.js";import{c as e,f as i,a,r,g as s}from"./p-d68092b7.js";
|
2
2
|
/*!
|
3
3
|
* (C) Ionic http://ionicframework.com - MIT License
|
4
|
-
*/let d=0;const c=new WeakMap,l=o=>({create:n=>b(o,n),dismiss:(n,t,e)=>j(document,n,t,o,e),getTop:async()=>k(document,o)}),u=l("ion-alert"),p=l("ion-action-sheet"),v=l("ion-modal"),m=l("ion-popover"),f=l("ion-toast"),y=o=>{"undefined"!=typeof document&&g(document);const n=d++;o.overlayIndex=n,o.hasAttribute("id")||(o.id=`ion-overlay-${n}`)},b=(o,n)=>"undefined"!=typeof window&&void 0!==window.customElements?window.customElements.whenDefined(o).then((()=>{const t=document.createElement(o);return t.classList.add("overlay-hidden"),Object.assign(t,Object.assign(Object.assign({},n),{hasController:!0})),T(document).appendChild(t),new Promise((o=>e(t,o)))})):Promise.resolve(),w='[tabindex]:not([tabindex^="-"]), input:not([type=hidden]):not([tabindex^="-"]), textarea:not([tabindex^="-"]), button:not([tabindex^="-"]), select:not([tabindex^="-"]), .ion-focusable:not([tabindex^="-"])',h=(o,n)=>{let t=o.querySelector(w);const e=null==t?void 0:t.shadowRoot;e&&(t=e.querySelector(w)||t),t?i(t):n.focus()},x=(o,n)=>{const t=Array.from(o.querySelectorAll(w));let e=t.length>0?t[t.length-1]:null;const i=null==e?void 0:e.shadowRoot;i&&(e=i.querySelector(w)||e),e?e.focus():n.focus()},g=o=>{0===d&&(d=1,o.addEventListener("focus",(n=>{((o,n)=>{const t=k(n,"ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker,ion-popover"),e=o.target;t&&e&&(t.classList.contains("ion-disable-focus-trap")||(t.shadowRoot?(()=>{if(t.contains(e))t.lastFocus=e;else{const o=t.lastFocus;h(t,t),o===n.activeElement&&x(t,t),t.lastFocus=n.activeElement}})():(()=>{if(t===e)t.lastFocus=void 0;else{const o=s(t);if(!o.contains(e))return;const i=o.querySelector(".ion-overlay-wrapper");if(!i)return;if(i.contains(e))t.lastFocus=e;else{const o=t.lastFocus;h(i,t),o===n.activeElement&&x(i,t),t.lastFocus=n.activeElement}}})()))})(n,o)}),!0),o.addEventListener("ionBackButton",(n=>{const e=k(o);(null==e?void 0:e.backdropDismiss)&&n.detail.register(t,(()=>e.dismiss(void 0,N)))})),o.addEventListener("keyup",(n=>{if("Escape"===n.key){const n=k(o);(null==n?void 0:n.backdropDismiss)&&n.dismiss(void 0,N)}})))},j=(o,n,t,e,i)=>{const a=k(o,e,i);return a?a.dismiss(n,t):Promise.reject("overlay does not exist")},k=(o,n,t)=>{const e=((o,n)=>(void 0===n&&(n="ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker,ion-popover,ion-toast"),Array.from(o.querySelectorAll(n)).filter((o=>o.overlayIndex>0))))(o,n).filter((o=>!o.classList.contains("overlay-hidden")));return void 0===t?e[e.length-1]:e.find((o=>o.id===t))},O=(o=!1)=>{const n=T(document).querySelector("ion-router-outlet, ion-nav, #ion-view-container-root");n&&(o?n.setAttribute("aria-hidden","true"):n.removeAttribute("aria-hidden"))},P=async(t,e,i,a,r)=>{var s,d;if(t.presented)return;O(!0),t.presented=!0,t.willPresent.emit(),null===(s=t.willPresentShorthand)||void 0===s||s.emit();const c=o(t),l=t.enterAnimation?t.enterAnimation:n.get(e,"ios"===c?i:a);await z(t,l,t.el,r)&&(t.didPresent.emit(),null===(d=t.didPresentShorthand)||void 0===d||d.emit()),"ION-TOAST"!==t.el.tagName&&A(t.el),!t.keyboardClose||null!==document.activeElement&&t.el.contains(document.activeElement)||t.el.focus()},A=async o=>{let n=document.activeElement;if(!n)return;const t=null==n?void 0:n.shadowRoot;t&&(n=t.querySelector(w)||n),await o.onDidDismiss(),n.focus()},B=async(t,e,i,a,r,s,d)=>{var l,u;if(!t.presented)return!1;O(!1),t.presented=!1;try{t.el.style.setProperty("pointer-events","none"),t.willDismiss.emit({data:e,role:i}),null===(l=t.willDismissShorthand)||void 0===l||l.emit({data:e,role:i});const p=o(t),v=t.leaveAnimation?t.leaveAnimation:n.get(a,"ios"===p?r:s);"gesture"!==i&&await z(t,v,t.el,d),t.didDismiss.emit({data:e,role:i}),null===(u=t.didDismissShorthand)||void 0===u||u.emit({data:e,role:i}),c.delete(t),t.el.classList.add("overlay-hidden"),t.el.style.removeProperty("pointer-events")}catch(o){console.error(o)}return t.el.remove(),!0},T=o=>o.querySelector("ion-app")||o.body,z=async(o,t,e,i)=>{e.classList.remove("overlay-hidden");const a=t(o.el,i);o.animated&&n.getBoolean("animated",!0)||a.duration(0),o.keyboardClose&&a.beforeAddWrite((()=>{const o=e.ownerDocument.activeElement;(null==o?void 0:o.matches("input,ion-input, ion-textarea"))&&o.blur()}));const r=c.get(o)||[];return c.set(o,[...r,a]),await a.play(),!0},C=(o,n)=>{let t;const e=new Promise((o=>t=o));return E(o,n,(o=>{t(o.detail)})),e},E=(o,n,t)=>{const e=i=>{r(o,n,e),t(i)};a(o,n,e)},G=o=>"cancel"===o||o===N,I=o=>o(),M=(o,t)=>{if("function"==typeof o)return n.get("_zoneGate",I)((()=>{try{return o(t)}catch(o){throw o}}))},N="backdrop";export{N as B,
|
4
|
+
*/let d=0;const c=new WeakMap,l=o=>({create:n=>b(o,n),dismiss:(n,t,e)=>j(document,n,t,o,e),getTop:async()=>k(document,o)}),u=l("ion-alert"),p=l("ion-action-sheet"),v=l("ion-modal"),m=l("ion-popover"),f=l("ion-toast"),y=o=>{"undefined"!=typeof document&&g(document);const n=d++;o.overlayIndex=n,o.hasAttribute("id")||(o.id=`ion-overlay-${n}`)},b=(o,n)=>"undefined"!=typeof window&&void 0!==window.customElements?window.customElements.whenDefined(o).then((()=>{const t=document.createElement(o);return t.classList.add("overlay-hidden"),Object.assign(t,Object.assign(Object.assign({},n),{hasController:!0})),T(document).appendChild(t),new Promise((o=>e(t,o)))})):Promise.resolve(),w='[tabindex]:not([tabindex^="-"]), input:not([type=hidden]):not([tabindex^="-"]), textarea:not([tabindex^="-"]), button:not([tabindex^="-"]), select:not([tabindex^="-"]), .ion-focusable:not([tabindex^="-"])',h=(o,n)=>{let t=o.querySelector(w);const e=null==t?void 0:t.shadowRoot;e&&(t=e.querySelector(w)||t),t?i(t):n.focus()},x=(o,n)=>{const t=Array.from(o.querySelectorAll(w));let e=t.length>0?t[t.length-1]:null;const i=null==e?void 0:e.shadowRoot;i&&(e=i.querySelector(w)||e),e?e.focus():n.focus()},g=o=>{0===d&&(d=1,o.addEventListener("focus",(n=>{((o,n)=>{const t=k(n,"ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker,ion-popover"),e=o.target;t&&e&&(t.classList.contains("ion-disable-focus-trap")||(t.shadowRoot?(()=>{if(t.contains(e))t.lastFocus=e;else{const o=t.lastFocus;h(t,t),o===n.activeElement&&x(t,t),t.lastFocus=n.activeElement}})():(()=>{if(t===e)t.lastFocus=void 0;else{const o=s(t);if(!o.contains(e))return;const i=o.querySelector(".ion-overlay-wrapper");if(!i)return;if(i.contains(e))t.lastFocus=e;else{const o=t.lastFocus;h(i,t),o===n.activeElement&&x(i,t),t.lastFocus=n.activeElement}}})()))})(n,o)}),!0),o.addEventListener("ionBackButton",(n=>{const e=k(o);(null==e?void 0:e.backdropDismiss)&&n.detail.register(t,(()=>e.dismiss(void 0,N)))})),o.addEventListener("keyup",(n=>{if("Escape"===n.key){const n=k(o);(null==n?void 0:n.backdropDismiss)&&n.dismiss(void 0,N)}})))},j=(o,n,t,e,i)=>{const a=k(o,e,i);return a?a.dismiss(n,t):Promise.reject("overlay does not exist")},k=(o,n,t)=>{const e=((o,n)=>(void 0===n&&(n="ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker,ion-popover,ion-toast"),Array.from(o.querySelectorAll(n)).filter((o=>o.overlayIndex>0))))(o,n).filter((o=>!o.classList.contains("overlay-hidden")));return void 0===t?e[e.length-1]:e.find((o=>o.id===t))},O=(o=!1)=>{const n=T(document).querySelector("ion-router-outlet, ion-nav, #ion-view-container-root");n&&(o?n.setAttribute("aria-hidden","true"):n.removeAttribute("aria-hidden"))},P=async(t,e,i,a,r)=>{var s,d;if(t.presented)return;O(!0),t.presented=!0,t.willPresent.emit(),null===(s=t.willPresentShorthand)||void 0===s||s.emit();const c=o(t),l=t.enterAnimation?t.enterAnimation:n.get(e,"ios"===c?i:a);await z(t,l,t.el,r)&&(t.didPresent.emit(),null===(d=t.didPresentShorthand)||void 0===d||d.emit()),"ION-TOAST"!==t.el.tagName&&A(t.el),!t.keyboardClose||null!==document.activeElement&&t.el.contains(document.activeElement)||t.el.focus()},A=async o=>{let n=document.activeElement;if(!n)return;const t=null==n?void 0:n.shadowRoot;t&&(n=t.querySelector(w)||n),await o.onDidDismiss(),n.focus()},B=async(t,e,i,a,r,s,d)=>{var l,u;if(!t.presented)return!1;O(!1),t.presented=!1;try{t.el.style.setProperty("pointer-events","none"),t.willDismiss.emit({data:e,role:i}),null===(l=t.willDismissShorthand)||void 0===l||l.emit({data:e,role:i});const p=o(t),v=t.leaveAnimation?t.leaveAnimation:n.get(a,"ios"===p?r:s);"gesture"!==i&&await z(t,v,t.el,d),t.didDismiss.emit({data:e,role:i}),null===(u=t.didDismissShorthand)||void 0===u||u.emit({data:e,role:i}),c.delete(t),t.el.classList.add("overlay-hidden"),t.el.style.removeProperty("pointer-events")}catch(o){console.error(o)}return t.el.remove(),!0},T=o=>o.querySelector("ion-app")||o.body,z=async(o,t,e,i)=>{e.classList.remove("overlay-hidden");const a=t(o.el,i);o.animated&&n.getBoolean("animated",!0)||a.duration(0),o.keyboardClose&&a.beforeAddWrite((()=>{const o=e.ownerDocument.activeElement;(null==o?void 0:o.matches("input,ion-input, ion-textarea"))&&o.blur()}));const r=c.get(o)||[];return c.set(o,[...r,a]),await a.play(),!0},C=(o,n)=>{let t;const e=new Promise((o=>t=o));return E(o,n,(o=>{t(o.detail)})),e},E=(o,n,t)=>{const e=i=>{r(o,n,e),t(i)};a(o,n,e)},G=o=>"cancel"===o||o===N,I=o=>o(),M=(o,t)=>{if("function"==typeof o)return n.get("_zoneGate",I)((()=>{try{return o(t)}catch(o){throw o}}))},N="backdrop";export{N as B,u as a,P as b,c,B as d,C as e,m as f,k as g,p as h,G as i,h as j,v as m,y as p,M as s,f as t}
|